/* ============================================================
   Anat Karmon-Presser — production stylesheet (static build)
   Tokens + components merged into one file for Cloudflare Pages.
   Generated from colors_and_type.css + ui_kits/website/kit.css
   ============================================================ */

/* ---------- Local Font Loading ---------- */
@font-face {
  font-family: 'Varela Round';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/varela-round-v21-hebrew_latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/rubik-v31-hebrew_latin-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/rubik-v31-hebrew_latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/rubik-v31-hebrew_latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/rubik-v31-hebrew_latin-700.woff2') format('woff2');
}

/* ============================================================
   Anat Karmon-Presser — Design System
   Colors & Type foundations
   ------------------------------------------------------------
   Source of truth extracted from the original WordPress/Elementor
   site (Elementor Kit-7 global variables) + the brand watercolour
   illustration palette.

   Fonts: Varela Round (display / headings — rounded, warm),
          Rubik (body / UI — clean, excellent Hebrew support).
   Both loaded from Google Fonts (see <link> in HTML). The original
   site embedded these same families as woff2.
   ============================================================ */

:root {
  /* ---------- BRAND CORE (from Elementor Kit-7) ---------- */
  --clay:        #DC8E74; /* accent — warm terracotta, primary brand colour */
  --sage:        #507176; /* secondary — muted teal/sage, calming */
  --ink:         #01001E; /* text — near-black navy */
  --paper:       #FFFFFF; /* primary surface */
  --mist:        #E8E8E6; /* warm light grey — section tint */

  /* ---------- CLAY SCALE (terracotta) ---------- */
  --clay-50:   oklch(0.97 0.012 45);
  --clay-100:  oklch(0.93 0.030 45);
  --clay-200:  oklch(0.88 0.050 44);
  --clay-300:  oklch(0.82 0.072 43);
  --clay-400:  #E3A78F;            /* lighter clay */
  --clay-500:  #DC8E74;            /* = --clay (brand accent) */
  --clay-600:  #C9785D;            /* hover */
  --clay-700:  #A85F47;            /* pressed / deep */
  --clay-800:  oklch(0.45 0.075 42);

  /* ---------- SAGE SCALE (teal) ---------- */
  --sage-50:   oklch(0.97 0.008 190);
  --sage-100:  oklch(0.93 0.018 190);
  --sage-200:  oklch(0.86 0.028 192);
  --sage-300:  oklch(0.75 0.038 193);
  --sage-400:  #6E8C90;
  --sage-500:  #507176;            /* = --sage */
  --sage-600:  #415C61;            /* hover */
  --sage-700:  #34494D;            /* deep */

  /* ---------- WATERCOLOUR ACCENTS (from the art motifs) ---------- */
  --wc-coral:   #E89A87;
  --wc-peach:   #F0B89A;
  --wc-mustard: #E9B949;
  --wc-slate:   #7A98A0;
  --wc-brown:   #A6694B;
  --wc-stone:   #BBB4AC;

  /* ---------- WARM NEUTRALS ---------- */
  --neutral-0:    #FFFFFF;
  --neutral-50:   #FBFAF8; /* warmest off-white page bg */
  --neutral-100:  #F4F2EE;
  --neutral-200:  #E8E8E6; /* = --mist */
  --neutral-300:  #D8D6D1;
  --neutral-400:  #B4B1AB;
  --neutral-500:  #8C8A85;
  --neutral-600:  #63615D;
  --neutral-700:  #45443F;
  --neutral-800:  #2A2A33;
  --neutral-900:  #01001E; /* = --ink */

  /* ---------- SEMANTIC ---------- */
  --bg:            var(--neutral-50);
  --bg-tint:       var(--neutral-100);
  --surface:       var(--neutral-0);
  --border:        var(--neutral-300);
  --border-soft:   var(--neutral-200);

  --fg:            var(--ink);              /* primary text */
  --fg-muted:      var(--neutral-600);      /* secondary text */
  --fg-subtle:     var(--neutral-500);      /* captions / meta */
  --fg-on-clay:    #FFFFFF;
  --fg-on-sage:    #FFFFFF;

  --accent:        var(--clay-500);
  --accent-hover:  var(--clay-600);
  --accent-press:  var(--clay-700);
  --link:          var(--clay-600);

  --focus-ring:    color-mix(in oklch, var(--sage-500) 55%, transparent);

  /* ---------- TYPE FAMILIES ---------- */
  --font-display: "Varela Round", "Rubik", system-ui, sans-serif;
  --font-body:    "Rubik", "Varela Round", system-ui, sans-serif;

  /* ---------- TYPE SCALE (fluid, RTL Hebrew-friendly) ---------- */
  --text-xs:    0.8125rem;   /* 13px — meta */
  --text-sm:    0.9375rem;   /* 15px */
  --text-base:  1.0625rem;   /* 17px — body */
  --text-lg:    1.1875rem;   /* 19px */
  --text-xl:    1.5rem;      /* 24px */
  --text-2xl:   clamp(1.75rem, 1.3rem + 1.8vw, 2.25rem); /* @kind other */
  --text-3xl:   clamp(2.25rem, 1.6rem + 2.6vw, 3rem); /* @kind other */
  --text-4xl:   clamp(2.75rem, 1.9rem + 3.6vw, 4.25rem); /* @kind other */

  --leading-tight:   1.15;
  --leading-snug:    1.3;
  --leading-normal:  1.65;   /* Hebrew body reads best with airy leading */

  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-bold:     700;

  /* ---------- RADIUS ---------- */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --radius-pill: 999px;
  --radius-blob: 42% 58% 56% 44% / 48% 42% 58% 52%; /* organic blob mask */

  /* ---------- SHADOWS (soft, warm-tinted) ---------- */
  --shadow-xs:  0 1px 2px rgba(1, 0, 30, 0.05);
  --shadow-sm:  0 2px 8px rgba(1, 0, 30, 0.06);
  --shadow-md:  0 8px 24px rgba(1, 0, 30, 0.08);
  --shadow-lg:  0 18px 48px rgba(1, 0, 30, 0.10);
  --shadow-clay: 0 12px 32px rgba(220, 142, 116, 0.28);

  /* ---------- SPACING ---------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ---------- MOTION ---------- */
  --ease-soft:  cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-out:   cubic-bezier(0, 0.33, 0.07, 1.03); /* @kind other */
  --dur-fast:   180ms; /* @kind other */
  --dur-med:    340ms; /* @kind other */
  --dur-slow:   700ms; /* @kind other */

  --maxw: 1140px; /* original container width */
}

/* ============================================================
   SEMANTIC TYPE — apply with these classes or as base elements
   ============================================================ */
.ds-h1, h1.ds {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  color: var(--fg);
}
.ds-h2, h2.ds {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: var(--text-3xl);
  line-height: var(--leading-snug);
  color: var(--fg);
}
.ds-h3, h3.ds {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
  color: var(--fg);
}
.ds-h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  color: var(--fg);
}
.ds-lead {
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: var(--fg-muted);
}
.ds-body {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--fg);
}
.ds-eyebrow {
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: none; /* Hebrew has no case */
  color: var(--accent);
}
.ds-meta {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: var(--text-xs);
  color: var(--fg-subtle);
}


/* =================== COMPONENTS =================== */
/* ==========================================================
   Anat KP — Website UI kit styles
   Relies on tokens from ../../colors_and_type.css
   RTL-first (logical properties throughout).
   ========================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  font-weight: var(--weight-light);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
::selection { background: var(--clay-200); color: var(--ink); }

.akp-container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.akp-section { position: relative; padding-block: clamp(56px, 9vw, 120px); overflow: clip; }
.akp-section--tint { background: #F1EBE4; }

/* ---------- Typography helpers ---------- */
.akp-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: var(--text-sm); font-weight: var(--weight-medium);
  letter-spacing: .04em; color: var(--accent);
}
.akp-eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--clay-100); }
.akp-h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-4xl); line-height: 1.12; letter-spacing: -.01em; margin: 0; }
.akp-h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-3xl); line-height: 1.2; margin: 0 0 .4em; }
.akp-h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); line-height: 1.3; margin: 0; }
.akp-lead { font-size: var(--text-lg); color: var(--fg-muted); line-height: var(--leading-normal); max-width: 56ch; }
.akp-p { margin: 0 0 1.1em; max-width: 62ch; }
.akp-p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.akp-btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: var(--text-base);
  border: none; cursor: pointer; border-radius: var(--radius-pill);
  padding: 14px 26px; line-height: 1; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-soft),
              background var(--dur-fast) var(--ease-soft),
              box-shadow var(--dur-fast) var(--ease-soft),
              color var(--dur-fast) var(--ease-soft);
}
.akp-btn--sm { padding: 10px 18px; font-size: var(--text-sm); }
.akp-btn--lg { padding: 17px 32px; font-size: var(--text-lg); }
.akp-btn__icon { display: inline-flex; }
.akp-btn--primary { background: var(--accent); color: var(--fg-on-clay); box-shadow: var(--shadow-clay); }
.akp-btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.akp-btn--primary:active { background: var(--accent-press); transform: translateY(0) scale(.985); }
.akp-btn--ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--clay-300); }
.akp-btn--ghost:hover { background: var(--clay-50); transform: translateY(-2px); }
.akp-btn--ghost:active { transform: scale(.985); }
.akp-btn--sage { background: var(--sage-500); color: var(--fg-on-sage); box-shadow: 0 12px 32px rgba(80,113,118,.25); }
.akp-btn--sage:hover { background: var(--sage-600); transform: translateY(-2px); }
.akp-btn:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

/* ---------- Header ---------- */
.akp-header {
  position: sticky; top: 0; z-index: 50;
  transition: background var(--dur-med) var(--ease-soft), box-shadow var(--dur-med), padding var(--dur-med);
  padding-block: 18px;
}
.akp-header--scrolled { background: color-mix(in srgb, var(--neutral-50) 82%, transparent); backdrop-filter: blur(14px) saturate(1.1); box-shadow: 0 1px 0 var(--border-soft), var(--shadow-sm); padding-block: 11px; }
.akp-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.akp-brand { display: flex; align-items: center; gap: 12px; }
.akp-brand__mark { width: 40px; height: 40px; border-radius: var(--radius-blob); background: linear-gradient(135deg, var(--clay-400), var(--sage-400)); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-size: 18px; box-shadow: var(--shadow-sm); }
.akp-brand__name { font-family: var(--font-display); font-size: var(--text-lg); color: var(--ink); line-height: 1.05; }
.akp-brand__role { display: block; font-family: var(--font-body); font-size: var(--text-xs); font-weight: 400; color: var(--fg-subtle); }
.akp-nav { display: flex; align-items: center; gap: 4px; }
.akp-nav a {
  position: relative; color: var(--fg); font-weight: 400; font-size: var(--text-base);
  padding: 8px 14px; border-radius: var(--radius-pill); transition: color var(--dur-fast), background var(--dur-fast);
}
.akp-nav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: center; transition: transform var(--dur-med) var(--ease-soft); }
.akp-nav a:hover { color: var(--accent); }
.akp-nav a:hover::after, .akp-nav a.is-active::after { transform: scaleX(1); }
.akp-header__actions { display: flex; align-items: center; gap: 10px; }
.akp-iconbtn {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--sage-600); display: grid; place-items: center; cursor: pointer;
  transition: all var(--dur-fast) var(--ease-soft);
}
.akp-iconbtn:hover { border-color: var(--sage-400); color: var(--sage-700); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.akp-iconbtn:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.akp-burger { display: none; }

/* ---------- Hero ---------- */
.akp-hero { position: relative; padding-block: clamp(48px, 8vw, 96px) clamp(80px, 11vw, 150px); overflow: clip; }
.akp-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.akp-hero__eyebrow { margin-bottom: 22px; }
.akp-hero__title { margin: 0; }
.akp-hero__title .t1 { display: block; font-family: var(--font-display); font-size: var(--text-4xl); line-height: 1.05; color: var(--ink); letter-spacing: -.01em; }
.akp-hero__title .t2 { display: block; font-family: var(--font-display); font-size: clamp(1.4rem,1rem+1.8vw,2rem); color: var(--clay-600); margin-top: .15em; }
.akp-hero__lead { margin: 24px 0 34px; font-size: var(--text-lg); color: var(--fg-muted); max-width: 46ch; }
.akp-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.akp-hero__inner { position: relative; z-index: 2; }
.akp-hero__art { position: relative; z-index: 1; }
.akp-hero__chips { display: flex; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.akp-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-pill); padding: 8px 15px; font-size: var(--text-sm); color: var(--fg-muted); box-shadow: var(--shadow-xs); }
.akp-chip svg { color: var(--sage-500); }

/* Hero variant A — organic blob portrait */
.akp-hero__portrait { position: relative; width: min(100%, 460px); margin-inline: auto; pointer-events: none; }
.akp-hero__portrait img { display: block; width: 100%; height: auto; }
.akp-hero__art-bg { position: absolute; inset: -8% -6% -10% -8%; z-index: -1; }
.akp-hero__art-bg img { width: 100%; opacity: .92; }
.akp-floatcard {
  position: absolute; background: var(--surface); border-radius: var(--radius-md); padding: 13px 17px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 11px; font-size: var(--text-sm);
}
.akp-floatcard__ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }

/* Hero variant B — centered, large illustration band */
.akp-hero--centered .akp-hero__inner { text-align: center; max-width: 760px; margin-inline: auto; position: relative; z-index: 2; }
.akp-hero--centered .akp-hero__title .t1,
.akp-hero--centered .akp-hero__title .t2 { text-align: center; }
.akp-hero--centered .akp-hero__lead { margin-inline: auto; }
.akp-hero--centered .akp-hero__cta { justify-content: center; }
.akp-hero--centered .akp-hero__deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.akp-hero--centered .akp-hero__deco img { position: absolute; }

/* Wave section dividers (from the original brand wave motif) */
.akp-divider { line-height: 0; width: 100%; overflow: hidden; background: var(--neutral-50); }
.akp-divider svg { display: block; width: 100%; height: clamp(40px, 5.5vw, 78px); }
.akp-divider .shape-fill { fill: #F1EBE4; }

/* ---------- About ---------- */
.akp-about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.akp-about__content { position: relative; z-index: 2; }
.akp-about__art { position: relative; z-index: 1; }
.akp-about__art img.main { width: min(100%, 440px); pointer-events: none; }
.akp-callout {
  margin-top: 28px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--clay-50), var(--sage-50));
  border: 1px solid var(--clay-200); padding: 24px 26px;
  display: flex; gap: 16px; align-items: flex-start;
}
.akp-callout__ic { width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--clay-500); color: #fff; display: grid; place-items: center; flex: none; box-shadow: var(--shadow-clay); }
.akp-callout h4 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); color: var(--ink); }
.akp-callout p { margin: 0; color: var(--fg-muted); font-size: var(--text-base); }

/* ---------- Approach cards ---------- */
.akp-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.akp-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow-xs);
  transition: transform var(--dur-med) var(--ease-soft), box-shadow var(--dur-med), border-color var(--dur-med);
}
.akp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--clay-200); }
.akp-card__ic { width: 54px; height: 54px; border-radius: var(--radius-md); display: grid; place-items: center; margin-bottom: 18px; }
.akp-card h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); margin: 0 0 8px; }
.akp-card p { margin: 0; font-size: var(--text-sm); color: var(--fg-muted); line-height: 1.55; }
.akp-card__tag { font-size: var(--text-xs); color: var(--fg-subtle); font-weight: 500; letter-spacing: .03em; }

/* ---------- Treatment areas ---------- */
.akp-areas__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,6vw,72px); align-items: center; }
.akp-arealist { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.akp-areaitem {
  display: flex; align-items: center; gap: 14px; background: var(--surface);
  border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 16px 18px;
  transition: transform var(--dur-fast) var(--ease-soft), border-color var(--dur-fast), background var(--dur-fast);
}
.akp-areaitem:hover { transform: translateX(-6px); border-color: var(--sage-300); background: var(--sage-50); }
.akp-areaitem__dot { width: 30px; height: 30px; border-radius: 64% 36% 47% 53% / 42% 58% 42% 58%; flex: none; transition: border-radius var(--dur-med) var(--ease-soft), transform var(--dur-med) var(--ease-soft); }
.akp-areaitem:nth-of-type(2) .akp-areaitem__dot { border-radius: 38% 62% 63% 37% / 56% 44% 56% 44%; }
.akp-areaitem:nth-of-type(3) .akp-areaitem__dot { border-radius: 55% 45% 38% 62% / 48% 63% 37% 52%; }
.akp-areaitem:nth-of-type(4) .akp-areaitem__dot { border-radius: 47% 53% 60% 40% / 62% 42% 58% 38%; }
.akp-areaitem:nth-of-type(5) .akp-areaitem__dot { border-radius: 62% 38% 45% 55% / 40% 55% 45% 60%; }
.akp-areaitem:nth-of-type(6) .akp-areaitem__dot { border-radius: 42% 58% 56% 44% / 58% 38% 62% 42%; }
.akp-areaitem:hover .akp-areaitem__dot { transform: rotate(-8deg) scale(1.08); }
.akp-areaitem span { font-size: var(--text-base); color: var(--fg); }
.akp-areas__feature {
  border-radius: var(--radius-xl); padding: 34px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--sage-600), var(--sage-700)); color: #fff;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.akp-areas__feature h3 { font-family: var(--font-display); font-size: var(--text-2xl); margin: 0 0 12px; color:#fff; }
.akp-areas__feature p { margin: 0 0 8px; color: rgba(255,255,255,.86); font-size: var(--text-base); }
.akp-areas__feature .badge { display:inline-flex; align-items:center; gap:8px; margin-top:18px; background: rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.28); border-radius: var(--radius-pill); padding:9px 16px; font-size: var(--text-sm); font-weight:500; }
.akp-areas__feature .blobdeco { position: absolute; inset-block-start: -20%; inset-inline-end: -12%; width: 240px; opacity: .22; mix-blend-mode: screen; z-index: -1; pointer-events: none; }

/* ---------- Contact ---------- */
.akp-contact__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px,5vw,56px); }
.akp-form { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-xl); padding: clamp(24px,4vw,40px); box-shadow: var(--shadow-sm); }
.akp-field { margin-bottom: 20px; }
.akp-field label { display: block; font-size: var(--text-sm); font-weight: 500; color: var(--fg); margin-bottom: 8px; }
.akp-field input, .akp-field textarea {
  width: 100%; font-family: var(--font-body); font-size: var(--text-base); color: var(--fg);
  background: var(--neutral-50); border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 16px; transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.akp-field textarea { resize: vertical; min-height: 120px; }
.akp-field input:focus, .akp-field textarea:focus { outline: none; border-color: var(--clay-400); background: var(--surface); box-shadow: 0 0 0 4px var(--clay-100); }
.akp-field--error input, .akp-field--error textarea { border-color: #C0533C; background: #FCF1ee; }
.akp-field__err { color: #B0492F; font-size: var(--text-xs); margin-top: 6px; display: none; }
.akp-field--error .akp-field__err { display: block; }
.akp-form__success { background: var(--sage-50); border: 1px solid var(--sage-300); color: var(--sage-700); border-radius: var(--radius-md); padding: 16px 18px; display: flex; gap: 10px; align-items: center; font-size: var(--text-base); margin-bottom: 18px; }

.akp-contactcard { background: linear-gradient(160deg, var(--clay-500), var(--clay-700)); color: #fff; border-radius: var(--radius-xl); padding: clamp(26px, 4vw, 38px); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; }
.akp-contactcard h3 { font-family: var(--font-display); font-size: var(--text-xl); margin: 0 0 4px; color: #fff; }
.akp-contactcard__sub { color: rgba(255,255,255,.82); font-size: var(--text-sm); margin: 0 0 24px; }
.akp-contactrow { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.18); }
.akp-contactrow:first-of-type { border-top: none; }
.akp-contactrow__ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.akp-contactrow b { display: block; font-weight: 500; font-size: var(--text-base); }
.akp-contactrow span { color: rgba(255,255,255,.78); font-size: var(--text-sm); }
.akp-contactrow a { color: #fff; }
.akp-contactcard .blobdeco { position: absolute; inset-block-end: -18%; inset-inline-start: -14%; width: 220px; opacity: .25; z-index: -1; pointer-events: none; }

/* ---------- Footer ---------- */
.akp-footer { background: var(--ink); color: rgba(255,255,255,.7); padding-block: 44px; }
.akp-footer__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.akp-footer__brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-display); }
.akp-footer a { color: rgba(255,255,255,.78); }
.akp-footer a:hover { color: var(--clay-400); }
.akp-footer__meta { font-size: var(--text-sm); }

/* ---------- Accessibility panel ---------- */
.akp-a11y { position: fixed; top: 0; left: 0; height: 100%; width: 320px; max-width: 88vw; background: var(--surface); box-shadow: var(--shadow-lg); z-index: 100; transform: translateX(-101%); transition: transform var(--dur-med) var(--ease-soft); padding: 28px 24px; overflow-y: auto; }
.akp-a11y.is-open { transform: translateX(0); }
.akp-a11y__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.akp-a11y__head h3 { font-family: var(--font-display); margin: 0; font-size: var(--text-lg); }
.akp-a11y__group { margin-bottom: 22px; }
.akp-a11y__group > p { font-size: var(--text-xs); color: var(--fg-subtle); font-weight: 500; margin: 0 0 10px; letter-spacing: .03em; }
.akp-a11y__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.akp-a11y__opt { border: 1.5px solid var(--border); background: var(--surface); border-radius: var(--radius-sm); padding: 9px 13px; font-family: var(--font-body); font-size: var(--text-sm); color: var(--fg); cursor: pointer; transition: all var(--dur-fast); display: inline-flex; align-items: center; gap: 7px; }
.akp-a11y__opt:hover { border-color: var(--sage-400); }
.akp-a11y__opt.is-on { background: var(--sage-500); border-color: var(--sage-500); color: #fff; }
.akp-scrim { position: fixed; inset: 0; background: rgba(1,0,30,.32); backdrop-filter: blur(2px); z-index: 99; opacity: 0; visibility: hidden; transition: opacity var(--dur-med); }
.akp-scrim.is-open { opacity: 1; visibility: visible; }

/* Accessibility classes applied to <html> */
html.a11y-contrast { filter: contrast(1.3); }
html.a11y-grayscale { filter: grayscale(1); }
html.a11y-bigtext { font-size: 118%; }
html.a11y-underline a { text-decoration: underline !important; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--dur-slow) var(--ease-soft), transform var(--dur-slow) var(--ease-soft); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .akp-hero__grid, .akp-about__grid, .akp-areas__grid, .akp-contact__grid { grid-template-columns: 1fr; }
  .akp-cards { grid-template-columns: repeat(2, 1fr); }
  .akp-hero__art { order: -1; }
  .akp-about__art { order: -1; max-width: 420px; }
  .akp-nav { display: none; }
  .akp-burger { display: grid; }
}
@media (max-width: 560px) {
  .akp-cards { grid-template-columns: 1fr; }
  .akp-brand__role { display: none; }
  .akp-footer__row { flex-direction: column; text-align: center; }
}

/* Mobile nav drawer */
.akp-mobnav { position: fixed; inset: 0 0 auto 0; background: var(--surface); box-shadow: var(--shadow-lg); z-index: 60; padding: 84px 28px 32px; transform: translateY(-100%); transition: transform var(--dur-med) var(--ease-soft); }
.akp-mobnav.is-open { transform: translateY(0); }
.akp-mobnav a { display: block; padding: 15px 4px; font-family: var(--font-display); font-size: var(--text-xl); color: var(--ink); border-bottom: 1px solid var(--border-soft); }
.akp-mobnav a:last-child { border-bottom: none; }

/* ===================== WhatsApp contact (redesign) ===================== */
.akp-btn--wa { background: #25D366; color: #fff; box-shadow: 0 12px 32px rgba(80,113,118,.32); }
.akp-btn--wa:hover { background: #20BA5A; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(80,113,118,.42); }
.akp-btn--wa:active { transform: scale(.985); }

.akp-contactpanel { position: relative; overflow: hidden; max-width: 780px; margin-inline: auto; text-align: center;
  background: linear-gradient(160deg, var(--surface), var(--neutral-100)); border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 54px); box-shadow: var(--shadow-md); isolation: isolate; }
.akp-contactpanel .blobdeco { position: absolute; inset-block-start: -18%; inset-inline-start: -10%; width: 240px; opacity: .5; pointer-events: none; z-index: -1; }
.akp-contactpanel__body { position: relative; z-index: 1; }
.akp-contactpanel .akp-eyebrow { display: inline-flex; justify-content: center; }
.akp-contactpanel .akp-lead { margin-inline: auto; }
.akp-contact__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.akp-contact__hint { margin-top: 18px; font-size: var(--text-sm); color: var(--fg-subtle); }
.akp-contact__hint span { color: var(--fg-muted); }
.akp-contact__facts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.akp-contact__facts .akp-chip svg { color: var(--sage-500); }

/* Floating WhatsApp action button */
.akp-wa-fab { position: fixed; bottom: 22px; left: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: var(--sage-500); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(80,113,118,.42);
  transition: transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft); }
.akp-wa-fab:hover { transform: scale(1.08); background: var(--sage-600); box-shadow: 0 14px 40px rgba(80,113,118,.52); }
.akp-wa-fab:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.akp-wa-fab svg { position: relative; z-index: 1; }
.akp-wa-fab__ring { position: absolute; inset: 0; border-radius: 50%; background: var(--sage-500); opacity: .4; animation: waPulse 2.6s var(--ease-soft) infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .4; } 70% { transform: scale(1.75); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .akp-wa-fab__ring { animation: none; display: none; } }
@media (max-width: 560px) { .akp-wa-fab { width: 54px; height: 54px; bottom: 16px; left: 16px; } }
