@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600&display=swap');

@layer reset, tokens, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { min-height: 100vh; overflow-x: hidden; }
  img { max-width: 100%; display: block; height: auto; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; border: none; background: none; }
  ul { list-style: none; }
  input, textarea { font: inherit; }
  svg { display: block; }
}

@layer tokens {
  :root {
    --color-primary: #1F5C4E;
    --color-primary-dark: #123D33;
    --color-primary-light: #3F8573;
    --color-secondary: #E2662F;
    --color-secondary-light: #F08A52;
    --color-accent: #F0A93E;
    --color-accent-light: #F7CB80;
    --color-cream: #FBF6EC;
    --color-cream-deep: #F1E6D3;
    --color-ink: #2B2620;
    --color-ink-soft: #5B5347;
    --color-white-soft: #FFFDF9;

    --gradient-hero: linear-gradient(135deg, #123D33 0%, #1F5C4E 32%, #C7562B 78%, #F0A93E 100%);
    --gradient-cta: linear-gradient(120deg, #1F5C4E 0%, #E2662F 100%);
    --gradient-soft: linear-gradient(160deg, #FBF6EC 0%, #F1E6D3 100%);
    --gradient-text: linear-gradient(120deg, var(--color-secondary), var(--color-accent));

    --space-3xs: .25rem;
    --space-2xs: .5rem;
    --space-xs: .75rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --radius-xs: 10px;
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 40px;
    --radius-blob-1: 42% 58% 63% 37% / 45% 41% 59% 55%;
    --radius-blob-2: 60% 40% 33% 67% / 55% 62% 38% 45%;

    --shadow-sm: 0 2px 8px rgba(43,38,32,.07), 0 1px 2px rgba(43,38,32,.09);
    --shadow-md: 0 14px 30px rgba(43,38,32,.10), 0 4px 10px rgba(43,38,32,.08);
    --shadow-lg: 0 30px 60px -15px rgba(31,92,78,.35), 0 14px 26px rgba(43,38,32,.14);

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;

    --ease: cubic-bezier(.22,1,.36,1);
  }
}

@layer layout {
  html, body { background: var(--color-cream); color: var(--color-ink); font-family: var(--font-body); line-height: 1.65; }
  .u-container { width: min(1200px, 92%); margin-inline: auto; }
  .u-container--narrow { width: min(820px, 92%); margin-inline: auto; }
  .space-section { padding-block: var(--space-3xl); position: relative; }
  .space-section--tight { padding-block: var(--space-xl); }
  .space-section--roomy { padding-block: var(--space-3xl) calc(var(--space-3xl) + var(--space-lg)); }
  .space-card { padding: var(--space-lg); }
  .u-grid { display: grid; gap: var(--space-lg); }
  .u-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .u-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .u-grid-5 { grid-template-columns: repeat(5, 1fr); }
  @media (max-width: 980px) {
    .u-grid-4, .u-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .u-grid-2 { grid-template-columns: 1fr; }
  }
  @media (max-width: 600px) {
    .u-grid-4, .u-grid-5, .u-grid-2 { grid-template-columns: 1fr; }
  }
}

@layer components {

  
  .text-display {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.01em;
    font-size: clamp(2.2rem, 5.4vw, 4rem);
    color: var(--color-ink);
  }
  .text-display--gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .text-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    color: var(--color-ink);
  }
  .text-subheading {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    color: var(--color-primary);
  }
  .text-body { font-size: 1.05rem; color: var(--color-ink-soft); line-height: 1.75; }
  .text-caption { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--color-secondary); font-weight: 600; }
  .text-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-heading); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }

  
  .surface { background: var(--color-cream); }
  .surface-raised { background: var(--color-white-soft); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
  .surface-inset { background: var(--color-cream-deep); }
  .surface-dark { background: var(--gradient-hero); color: var(--color-white-soft); }

  
  .action-primary {
    display: inline-flex; align-items: center; gap: .6rem;
    background: var(--gradient-cta);
    color: var(--color-white-soft);
    font-family: var(--font-heading); font-weight: 600; font-size: .98rem;
    padding: .95rem 1.9rem;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s var(--ease);
    min-height: 44px;
  }
  .action-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); filter: brightness(1.05); }
  .action-primary--sm { padding: .65rem 1.3rem; font-size: .88rem; box-shadow: var(--shadow-sm); }

  .action-ghost {
    display: inline-flex; align-items: center; gap: .6rem;
    background: transparent;
    border: 1.5px solid currentColor;
    color: var(--color-primary);
    font-family: var(--font-heading); font-weight: 600; font-size: .98rem;
    padding: .9rem 1.85rem;
    border-radius: 999px;
    transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
    min-height: 44px;
  }
  .action-ghost:hover { background: var(--color-primary); color: var(--color-white-soft); transform: translateY(-3px); }
  .action-ghost--sm { padding: .6rem 1.2rem; font-size: .85rem; }
  .action-ghost--light { color: var(--color-white-soft); }
  .action-ghost--light:hover { background: var(--color-white-soft); color: var(--color-primary-dark); }

  
  .nav-shell { position: fixed; top: 0; left: 0; right: 0; z-index: 500; transition: background .4s var(--ease); }
  .nav-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem clamp(1.2rem, 4vw, 3rem);
    background: transparent;
    transition: background .4s var(--ease), padding .4s var(--ease);
  }
  .nav-shell--on-light .nav-bar { color: var(--color-ink); }
  .nav-shell--on-dark .nav-bar { color: var(--color-white-soft); }
  .nav-shell.is-scrolled .nav-bar { background: rgba(251,246,236,.88); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); color: var(--color-ink); }

  .nav-logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; }
  .nav-logo__img { width: 36px; height: 36px; }

  .nav-links ul { display: flex; align-items: center; gap: 1.9rem; }
  .nav-links a { font-family: var(--font-heading); font-weight: 500; font-size: .95rem; position: relative; padding: .3rem 0; transition: opacity .3s var(--ease); }
  .nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px;
    background: var(--color-secondary); transition: width .35s var(--ease);
  }
  .nav-links a:hover::after { width: 100%; }
  .nav-links__has-sub { position: relative; }
  .nav-links__sub {
    position: absolute; top: 130%; left: 50%; transform: translateX(-50%) translateY(-8px);
    background: var(--color-white-soft); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
    min-width: 220px; padding: .6rem; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav-links__has-sub:hover .nav-links__sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .nav-links__sub li a { color: var(--color-ink); display: block; padding: .55rem .7rem; border-radius: var(--radius-xs); }
  .nav-links__sub li a:hover { background: var(--color-cream-deep); }
  .nav-links__sub li a::after { display: none; }

  .nav-progress { height: 3px; background: transparent; }
  .nav-progress span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--color-secondary), var(--color-accent)); transition: width .1s linear; }

  .nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .5rem; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .nav-toggle span { width: 24px; height: 2.5px; background: currentColor; border-radius: 3px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu { max-height: 0; overflow: hidden; background: var(--color-white-soft); transition: max-height .45s var(--ease); }
  .mobile-menu.is-open { max-height: 70vh; overflow-y: auto; }
  .mobile-menu__list { padding: .5rem 1.2rem 1.2rem; }
  .mobile-menu__row { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; border-bottom: 1px solid var(--color-cream-deep); }
  .mobile-menu__row a { font-family: var(--font-heading); font-weight: 600; color: var(--color-ink); font-size: 1rem; flex: 1; padding: .3rem 0; min-height: 44px; display: flex; align-items: center; }
  .mobile-menu__chevron { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--color-secondary); transition: transform .35s var(--ease); }
  .mobile-menu__item--has-sub.is-expanded .mobile-menu__chevron { transform: rotate(180deg); }
  .mobile-menu__sub { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); padding-left: .8rem; }
  .mobile-menu__item--has-sub.is-expanded .mobile-menu__sub { max-height: 260px; }
  .mobile-menu__sub li a { display: block; padding: .65rem 0; color: var(--color-ink-soft); font-size: .93rem; min-height: 44px; display:flex; align-items:center; }

  @media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
  }

  
  .breadcrumb-bar { padding: 6.5rem clamp(1.2rem, 4vw, 3rem) 0; }
  .breadcrumb-trail { font-family: var(--font-body); font-size: .88rem; color: var(--color-ink-soft); display: inline-flex; align-items: center; gap: .4rem; }
  .breadcrumb-trail__cursor { display: inline-block; width: 1px; height: 1em; background: var(--color-secondary); animation: blink 1s step-end infinite; }
  @keyframes blink { 50% { opacity: 0; } }

  
  .hero { position: relative; padding: 9rem clamp(1.2rem, 4vw, 3rem) var(--space-3xl); overflow: hidden; color: var(--color-white-soft); background: var(--gradient-hero); isolation: isolate; }
  .hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-2xl); align-items: center; position: relative; z-index: 2; }
  .hero__eyebrow { color: var(--color-accent-light); }
  .hero__eyebrow i { color: var(--color-accent-light); }
  .hero__title { margin-block: 1.2rem 1.4rem; color: var(--color-white-soft); }
  .hero__text { color: rgba(255,253,249,.86); font-size: 1.12rem; max-width: 42ch; margin-bottom: var(--space-lg); }
  .hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .hero__figure { position: relative; border-radius: var(--radius-blob-1); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
  .hero__figure img { width: 100%; height: 100%; object-fit: cover; }
  .hero__figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(18,61,51,.15), rgba(226,102,47,.28)); }

  .blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; z-index: 0; pointer-events: none; }
  .blob--1 { width: 420px; height: 420px; background: radial-gradient(circle, var(--color-accent), transparent 70%); top: -120px; right: -100px; border-radius: var(--radius-blob-1); }
  .blob--2 { width: 320px; height: 320px; background: radial-gradient(circle, var(--color-secondary-light), transparent 70%); bottom: -140px; left: -80px; border-radius: var(--radius-blob-2); }
  .blob--soft { position: absolute; opacity: .35; z-index: 0; filter: blur(40px); pointer-events: none; }

  @media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero { padding-top: 7.5rem; }
  }

  
  .gradient-fade { position: relative; height: 140px; margin-top: -140px; z-index: 1; background: linear-gradient(180deg, rgba(18,61,51,0) 0%, var(--color-cream) 100%); pointer-events: none; }
  .gradient-fade--to-dark { background: linear-gradient(180deg, rgba(251,246,236,0) 0%, #123D33 100%); }
  .gradient-fade--to-light { background: linear-gradient(180deg, rgba(18,61,51,0) 0%, var(--color-cream) 100%); }

  
  .section-head { max-width: 700px; margin-bottom: var(--space-xl); }
  .section-head--center { margin-inline: auto; text-align: center; }
  .section-head .text-caption { margin-bottom: .7rem; display: inline-block; }

  
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
  .split__figure { position: relative; border-radius: var(--radius-blob-2); overflow: hidden; box-shadow: var(--shadow-md); }
  .split__figure img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
  .split--reverse { direction: rtl; }
  .split--reverse > * { direction: ltr; }
  @media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse { direction: ltr; } }

  
  .module-card {
    background: var(--color-white-soft); border-radius: var(--radius-md); padding: var(--space-lg);
    box-shadow: var(--shadow-sm); border: 1px solid rgba(31,92,78,.06);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    position: relative; overflow: hidden;
  }
  .module-card::before {
    content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; border-radius: 50%;
    background: var(--gradient-cta); opacity: .12;
  }
  .module-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
  .module-card__icon {
    width: 56px; height: 56px; border-radius: var(--radius-blob-1); display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)); color: var(--color-white-soft);
    font-size: 1.3rem; margin-bottom: 1.1rem;
  }
  .module-card__number { position: absolute; top: var(--space-lg); right: var(--space-lg); font-family: var(--font-heading); font-weight: 800; font-size: 2.2rem; color: var(--color-cream-deep); z-index: 0; }
  .module-card h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; color: var(--color-ink); position: relative; z-index: 1; }
  .module-card p { color: var(--color-ink-soft); font-size: .97rem; position: relative; z-index: 1; }

  
  .workflow { position: relative; }
  .workflow__list { display: flex; flex-direction: column; gap: 0; position: relative; }
  .workflow__step { display: grid; grid-template-columns: 70px 1fr; gap: var(--space-md); padding-bottom: var(--space-xl); position: relative; }
  .workflow__step:last-child { padding-bottom: 0; }
  .workflow__marker { position: relative; display: flex; flex-direction: column; align-items: center; }
  .workflow__marker span {
    width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--color-white-soft); color: var(--color-secondary); font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem;
    box-shadow: var(--shadow-md); border: 2px solid var(--color-accent);
  }
  .workflow__marker::after { content: ''; position: absolute; top: 56px; bottom: -8px; width: 2px; background: repeating-linear-gradient(180deg, var(--color-accent-light) 0 6px, transparent 6px 12px); }
  .workflow__step:last-child .workflow__marker::after { display: none; }
  .workflow__body h3 { font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-white-soft); margin-bottom: .4rem; }
  .workflow__body p { color: rgba(255,253,249,.8); font-size: .97rem; max-width: 60ch; }

  
  .audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
  .audience-card { padding: var(--space-lg) var(--space-md); border-radius: var(--radius-md); background: var(--color-cream-deep); text-align: left; position: relative; }
  .audience-card i { color: var(--color-secondary); font-size: 1.4rem; margin-bottom: .8rem; }
  .audience-card p { color: var(--color-ink-soft); font-size: .95rem; }
  @media (max-width: 980px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .audience-grid { grid-template-columns: 1fr; } }

  
  .materials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
  .material-card { background: var(--color-white-soft); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
  .material-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
  .material-card__top { padding: var(--space-md); }
  .material-card__top i { font-size: 1.5rem; color: var(--color-primary); margin-bottom: .6rem; display: block; }
  .material-card__top h4 { font-family: var(--font-heading); font-size: 1.02rem; margin-bottom: .4rem; }
  .material-card__top p { font-size: .9rem; color: var(--color-ink-soft); }
  @media (max-width: 980px) { .materials-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .materials-grid { grid-template-columns: 1fr; } }

  
  .cta-minimal { text-align: center; padding: var(--space-3xl) clamp(1.2rem, 4vw, 3rem); background: var(--gradient-cta); color: var(--color-white-soft); position: relative; overflow: hidden; }
  .cta-minimal h2 { color: var(--color-white-soft); margin-bottom: 1rem; }
  .cta-minimal p { color: rgba(255,253,249,.85); max-width: 50ch; margin: 0 auto var(--space-lg); font-size: 1.05rem; }

  
  .page-header { position: relative; padding: 9rem clamp(1.2rem, 4vw, 3rem) var(--space-2xl); background: var(--gradient-hero); color: var(--color-white-soft); overflow: hidden; }
  .page-header__inner { max-width: 760px; position: relative; z-index: 2; }
  .page-header .breadcrumb-trail { color: rgba(255,253,249,.75); }
  .page-header .breadcrumb-trail__cursor { background: var(--color-accent-light); }
  .page-header h1 { color: var(--color-white-soft); margin-block: 1rem 1rem; }
  .page-header p { color: rgba(255,253,249,.85); font-size: 1.08rem; max-width: 56ch; }

  
  .chapter { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-2xl); align-items: center; padding-block: var(--space-2xl); border-bottom: 1px solid var(--color-cream-deep); }
  .chapter:last-child { border-bottom: none; }
  .chapter--reverse { direction: rtl; }
  .chapter--reverse > * { direction: ltr; }
  .chapter__figure { border-radius: var(--radius-blob-1); overflow: hidden; box-shadow: var(--shadow-md); }
  .chapter__figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
  .chapter__index { font-family: var(--font-heading); font-weight: 800; font-size: .95rem; color: var(--color-secondary); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; display: block; }
  @media (max-width: 900px) { .chapter, .chapter--reverse { grid-template-columns: 1fr; direction: ltr; } }

  
  .demo-player { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
  .demo-player img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
  .demo-player__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
  .demo-player__play span { width: 78px; height: 78px; border-radius: 50%; background: rgba(251,246,236,.92); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--color-secondary); box-shadow: var(--shadow-md); transition: transform .3s var(--ease); }
  .demo-player:hover .demo-player__play span { transform: scale(1.08); }

  .module-list { display: flex; flex-direction: column; gap: 1rem; }
  .module-list__item { display: grid; grid-template-columns: 60px 1fr; gap: var(--space-md); background: var(--color-white-soft); border-radius: var(--radius-md); padding: var(--space-md); box-shadow: var(--shadow-sm); }
  .module-list__num { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; color: var(--color-accent); }
  .module-list__item h4 { font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: .3rem; }
  .module-list__item p { color: var(--color-ink-soft); font-size: .93rem; }

  
  .resource-block { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; padding-block: var(--space-2xl); }
  .resource-block__figure { border-radius: var(--radius-blob-2); overflow: hidden; box-shadow: var(--shadow-md); }
  .resource-block__figure img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
  .resource-block ul { display: flex; flex-direction: column; gap: .7rem; margin-top: 1rem; }
  .resource-block ul li { display: flex; gap: .6rem; font-size: .96rem; color: var(--color-ink-soft); }
  .resource-block ul li i { color: var(--color-primary); margin-top: .2rem; }
  @media (max-width: 900px) { .resource-block { grid-template-columns: 1fr; } }

  
  .contact-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
  .contact-split__map { position: relative; min-height: 340px; }
  .contact-split__map iframe { width: 100%; height: 100%; border: 0; filter: saturate(1.05); }
  .contact-split__form { padding: var(--space-2xl) clamp(1.2rem, 5vw, 4rem); background: var(--color-cream); }
  .form-field { margin-bottom: 1.3rem; }
  .form-field label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: .9rem; margin-bottom: .45rem; color: var(--color-ink); }
  .form-field input, .form-field textarea {
    width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--color-cream-deep);
    background: var(--color-white-soft); font-size: .97rem; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
    min-height: 44px;
  }
  .form-field textarea { min-height: 130px; resize: vertical; }
  .form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 4px rgba(226,102,47,.12); }
  .form-field--check { display: flex; align-items: flex-start; gap: .65rem; }
  .form-field--check input { width: 20px; height: 20px; min-height: unset; margin-top: .15rem; accent-color: var(--color-secondary); }
  .form-field--check label { font-family: var(--font-body); font-weight: 400; font-size: .88rem; color: var(--color-ink-soft); }
  .iti { width: 100%; }
  #phone { width: 100%; }
  @media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } .contact-split__map { min-height: 300px; } }

  .response-note { background: var(--color-cream-deep); border-radius: var(--radius-md); padding: var(--space-lg); display: flex; gap: 1rem; align-items: flex-start; margin-top: var(--space-lg); }
  .response-note i { font-size: 1.3rem; color: var(--color-primary); margin-top: .2rem; }
  .response-note p { color: var(--color-ink-soft); font-size: .93rem; }

  
  .site-footer { color: var(--color-white-soft); background: linear-gradient(120deg, #123D33, #1F5C4E); }
  .site-footer__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); padding: var(--space-lg) clamp(1.2rem, 4vw, 3rem); flex-wrap: wrap; }
  .site-footer__brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-heading); font-weight: 700; }
  .site-footer__logo { width: 32px; height: 32px; }
  .site-footer__links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
  .site-footer__links a { font-size: .88rem; opacity: .85; transition: opacity .3s var(--ease); }
  .site-footer__links a:hover { opacity: 1; }
  .site-footer__contact { display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; }
  .site-footer__contact a, .site-footer__contact span { display: flex; align-items: center; gap: .5rem; opacity: .9; }
  .site-footer__bar { border-top: 1px solid rgba(255,253,249,.15); padding: 1rem clamp(1.2rem, 4vw, 3rem); text-align: center; }
  .site-footer__bar p { font-size: .8rem; opacity: .75; }
  @media (max-width: 900px) { .site-footer__row { flex-direction: column; align-items: flex-start; } }

  
  .cookie-consent { position: fixed; bottom: 1.2rem; right: 1.2rem; z-index: 900; max-width: 340px; transform: translateY(140%); opacity: 0; transition: transform .55s var(--ease), opacity .5s var(--ease); }
  .cookie-consent.is-visible { transform: translateY(0); opacity: 1; }
  .cookie-consent.is-hiding { transform: translateY(140%); opacity: 0; }
  .cookie-consent__card { padding: 1.4rem; border-radius: var(--radius-md); background: var(--color-white-soft); box-shadow: var(--shadow-lg); }
  .cookie-consent__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--gradient-cta); color: var(--color-white-soft); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: .8rem; }
  .cookie-consent__text { font-size: .87rem; color: var(--color-ink-soft); margin-bottom: 1rem; }
  .cookie-consent__actions { display: flex; flex-direction: column; gap: .6rem; }
  .cookie-consent__link { font-size: .82rem; color: var(--color-primary); font-weight: 600; text-align: center; padding: .3rem; min-height: 44px; }
  .cookie-consent__panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
  .cookie-consent__panel:not([hidden]) { max-height: 400px; margin-top: .8rem; }
  .cookie-consent__toggle-row { display: flex; align-items: center; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--color-cream-deep); font-size: .87rem; }
  .cookie-toggle { position: relative; display: inline-block; width: 42px; height: 24px; }
  .cookie-toggle input { opacity: 0; width: 0; height: 0; }
  .cookie-toggle__slider { position: absolute; inset: 0; background: var(--color-cream-deep); border-radius: 999px; transition: background .3s var(--ease); }
  .cookie-toggle__slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: var(--color-white-soft); border-radius: 50%; transition: transform .3s var(--ease); box-shadow: var(--shadow-sm); }
  .cookie-toggle input:checked + .cookie-toggle__slider { background: var(--color-primary); }
  .cookie-toggle input:checked + .cookie-toggle__slider::before { transform: translateX(18px); }
  .cookie-toggle--disabled { opacity: .55; }
  .cookie-consent__more { display: block; text-align: center; margin-top: .8rem; font-size: .78rem; color: var(--color-ink-soft); text-decoration: underline; }

  
  .legal-content { max-width: 780px; margin: 0 auto; }
  .legal-content h2 { font-family: var(--font-heading); font-size: 1.3rem; margin-block: 2.2rem .8rem; color: var(--color-primary); }
  .legal-content h3 { font-family: var(--font-heading); font-size: 1.1rem; margin-block: 1.6rem .6rem; color: var(--color-ink); }
  .legal-content p, .legal-content li { color: var(--color-ink-soft); font-size: .98rem; margin-bottom: .8rem; }
  .legal-content ul { padding-left: 1.3rem; list-style: disc; }
  .legal-content table { width: 100%; border-collapse: collapse; margin-block: 1rem; }
  .legal-content table th, .legal-content table td { text-align: left; padding: .7rem; border-bottom: 1px solid var(--color-cream-deep); font-size: .9rem; }
  .legal-meta { font-size: .85rem; color: var(--color-secondary); font-weight: 600; margin-bottom: 1.5rem; }

  
  .envelope-scene { display: flex; flex-direction: column; align-items: center; padding: var(--space-2xl) 1rem; text-align: center; }
  .envelope { position: relative; width: 180px; height: 120px; margin-bottom: 2.5rem; }
  .envelope__body { position: absolute; inset: 0; background: var(--color-white-soft); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); overflow: hidden; }
  .envelope__body::before, .envelope__body::after {
    content: ''; position: absolute; width: 0; height: 0; border-style: solid;
  }
  .envelope__body::before { bottom: 0; left: 0; border-width: 0 0 60px 90px; border-color: transparent transparent var(--color-cream-deep) transparent; }
  .envelope__body::after { bottom: 0; right: 0; border-width: 60px 90px 0 0; border-color: transparent transparent transparent var(--color-cream-deep); }
  .envelope__flap {
    position: absolute; top: 0; left: 0; width: 100%; height: 0; border-style: solid;
    border-width: 60px 90px 0 90px; border-color: var(--color-secondary) transparent transparent transparent;
    transform-origin: top; transform: rotateX(0deg); animation: flapOpen 2.2s var(--ease) forwards;
    z-index: 3;
  }
  .envelope__letter {
    position: absolute; left: 50%; bottom: 8px; width: 130px; height: 90px; background: var(--color-white-soft);
    border-radius: 6px; box-shadow: var(--shadow-sm); transform: translate(-50%, 10px) scale(.9);
    animation: letterRise 2.2s var(--ease) forwards; z-index: 2; padding: 10px;
  }
  .envelope__letter span { display: block; height: 6px; background: var(--color-cream-deep); border-radius: 3px; margin-bottom: 8px; }
  .envelope__letter span:nth-child(2) { width: 70%; }
  @keyframes flapOpen { 0% { transform: rotateX(0deg); } 45%, 100% { transform: rotateX(180deg); } }
  @keyframes letterRise { 0%, 40% { transform: translate(-50%, 10px) scale(.9); opacity: 0; } 75% { opacity: 1; } 100% { transform: translate(-50%, -70px) scale(1); opacity: 1; } }
  .envelope-scene h1 { margin-bottom: .8rem; }
  .envelope-scene p { max-width: 46ch; color: var(--color-ink-soft); }
}

@layer utilities {
  .u-mt-lg { margin-top: var(--space-lg); }
  .u-mt-xl { margin-top: var(--space-xl); }
  .u-mb-md { margin-bottom: var(--space-md); }
  .u-center { text-align: center; }
  .u-relative { position: relative; z-index: 2; }
  .u-hide-mobile { display: block; }
  @media (max-width: 700px) { .u-hide-mobile { display: none; } }
}