@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; display: flex; flex-direction: column; }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  ul, ol { list-style: none; }
  button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
  input, textarea, select { font: inherit; color: inherit; }
}

@layer tokens {
  :root {
    --clr-bg: #faf8f4;
    --clr-bg-alt: #f1ece2;
    --clr-ink: #1c1a17;
    --clr-ink-soft: #5c564c;
    --clr-ink-faint: #8a8377;
    --clr-accent: #a8672f;
    --clr-accent-2: #7c5a3a;
    --clr-accent-soft: #e7d3bb;
    --clr-line: rgba(28,26,23,.14);
    --clr-line-strong: rgba(28,26,23,.3);
    --clr-white: #fffdfa;

    --fs-hero: clamp(2.6rem, 4vw + 1.6rem, 5.6rem);
    --fs-pg: clamp(2.2rem, 2.6vw + 1.4rem, 3.4rem);
    --fs-h1: clamp(2rem, 2.2vw + 1.2rem, 3rem);
    --fs-h2: clamp(1.5rem, 1.4vw + 1rem, 2.2rem);
    --fs-h3: clamp(1.15rem, .5vw + 1rem, 1.4rem);
    --fs-lg: 1.15rem;
    --fs-body: 1rem;
    --fs-sm: .875rem;
    --fs-xs: .75rem;

    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --shadow-sm: 0 1px 2px rgba(28,26,23,.07), 0 1px 1px rgba(28,26,23,.04);
    --shadow-md: 0 10px 26px -10px rgba(28,26,23,.2), 0 3px 8px -2px rgba(28,26,23,.1);
    --shadow-lg: 0 30px 70px -22px rgba(28,26,23,.32), 0 10px 24px -8px rgba(28,26,23,.16);

    --dur: .35s;
    --ease: cubic-bezier(.4,0,.2,1);

    --pad-sec: clamp(4rem, 8vw, 8rem);
    --max-w: 1240px;
  }
}

@layer layout {
  body { background: var(--clr-bg); color: var(--clr-ink); font-family: 'Epilogue', sans-serif; font-weight: 400; line-height: 1.65; }
  main { flex: 1; overflow-x: hidden; }
  .sec-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
  .sec { padding: var(--pad-sec) 0; position: relative; }
  .sec-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  @media (max-width: 860px) {
    .sec-split { grid-template-columns: 1fr; }
    .sec-split-rev-mob .sec-split-img { order: -1; }
  }
}

@layer components {

  
  .hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 500; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); background: transparent; border-bottom: 1px solid transparent; }
  .hdr.hdr-scrolled, .hdr.hdr-solid { background: rgba(250, 248, 244, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--clr-line); box-shadow: var(--shadow-sm); }
  .hdr-inner { max-width: var(--max-w); margin: 0 auto; padding: 1.1rem clamp(1.25rem, 5vw, 3rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
  .hdr-logo { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; color: var(--clr-ink); }
  .hdr-logo em { font-style: normal; font-weight: 400; color: var(--clr-accent); }
  .hdr-nav { display: flex; gap: clamp(1rem, 2vw, 2.2rem); }
  .hdr-nav a { font-size: .92rem; font-weight: 500; padding-bottom: 4px; border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
  .hdr-nav a:hover, .hdr-nav a.active { border-color: var(--clr-accent); color: var(--clr-accent-2); }
  .hdr-cta { border: 1px solid var(--clr-ink); padding: .6rem 1.3rem; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 600; transition: all var(--dur) var(--ease); }
  .hdr-cta:hover { background: var(--clr-ink); color: var(--clr-white); }
  .hdr-burger { display: none; width: 28px; height: 20px; flex-direction: column; justify-content: space-between; }
  .hdr-burger span { display: block; height: 1.5px; background: var(--clr-ink); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }

  @media (max-width: 900px) {
    .hdr-nav, .hdr-cta { display: none; }
    .hdr-burger { display: flex; }
  }

  
  .hdr-mob { position: fixed; inset: 0; z-index: 900; background: linear-gradient(160deg, var(--clr-ink) 0%, var(--clr-accent-2) 100%); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease); }
  .hdr-mob.open { opacity: 1; visibility: visible; }
  .hdr-mob-nav { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
  .hdr-mob-nav a { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 600; color: var(--clr-white); opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .hdr-mob.open .hdr-mob-nav a { opacity: 1; transform: translateY(0); }
  .hdr-mob.open .hdr-mob-nav a:nth-child(1){ transition-delay: .08s; }
  .hdr-mob.open .hdr-mob-nav a:nth-child(2){ transition-delay: .14s; }
  .hdr-mob.open .hdr-mob-nav a:nth-child(3){ transition-delay: .2s; }
  .hdr-mob.open .hdr-mob-nav a:nth-child(4){ transition-delay: .26s; }
  .hdr-mob.open .hdr-mob-nav a:nth-child(5){ transition-delay: .32s; }
  .hdr-mob-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2rem; color: var(--clr-white); line-height: 1; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }

  
  .brd { background: var(--clr-bg-alt); border-bottom: 1px solid var(--clr-line); padding-top: 78px; }
  .brd-inner { max-width: var(--max-w); margin: 0 auto; padding: .8rem clamp(1.25rem, 5vw, 3rem); display: flex; gap: .5rem; font-size: .82rem; color: var(--clr-ink-soft); }
  .brd-inner a { color: var(--clr-ink-soft); border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease); }
  .brd-inner a:hover { border-color: var(--clr-ink-soft); }
  .brd-inner span:last-child { color: var(--clr-ink); font-weight: 500; }

  
  .hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: 5rem; }
  .hero-media { position: absolute; inset: 0; z-index: 1; }
  .hero-media img { width: 100%; height: 100%; object-fit: cover; }
  .hero-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(28,26,23,.55) 0%, rgba(28,26,23,.35) 40%, rgba(28,26,23,.85) 100%); }
  .hero-inner { position: relative; z-index: 3; max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); color: var(--clr-white); }
  .hero-eyebrow { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; border-left: 1px solid var(--clr-accent-soft); padding-left: .8rem; margin-bottom: 1.6rem; color: var(--clr-accent-soft); }
  .hero-title { font-size: var(--fs-hero); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; margin-bottom: 1.6rem; }
  .hero-title span { font-weight: 400; color: var(--clr-accent-soft); display: inline-block; }
  .hero-sub { max-width: 560px; font-size: 1.08rem; color: rgba(255,253,250,.86); margin-bottom: 2.2rem; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
  .hero-scroll { position: absolute; bottom: 1.6rem; right: clamp(1.25rem, 5vw, 3rem); z-index: 3; color: rgba(255,253,250,.7); font-size: .78rem; display: flex; align-items: center; gap: .5rem; letter-spacing: .05em; }
  .hero-scroll span { width: 1px; height: 26px; background: rgba(255,253,250,.5); display: block; }

  
  .btn { display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.7rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; transition: all var(--dur) var(--ease); min-height: 44px; }
  .btn-fill { background: var(--clr-ink); color: var(--clr-white); border: 1px solid var(--clr-ink); }
  .btn-fill:hover { background: transparent; color: var(--clr-ink); box-shadow: var(--shadow-md); }
  .btn-line { border: 1px solid rgba(255,253,250,.55); color: var(--clr-white); }
  .btn-line:hover { background: rgba(255,253,250,.12); border-color: var(--clr-white); }
  .btn-fill-inv { background: var(--clr-accent); color: var(--clr-white); border: 1px solid var(--clr-accent); }
  .btn-fill-inv:hover { background: transparent; color: var(--clr-accent); }

  
  .sec-kicker { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--clr-accent-2); margin-bottom: .8rem; padding-left: .7rem; border-left: 1px solid var(--clr-accent); }
  .sec-title { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.015em; margin-bottom: 1.4rem; max-width: 780px; }
  .sec-lead { max-width: 640px; color: var(--clr-ink-soft); margin-bottom: 2.5rem; font-size: 1.05rem; }
  .sec-split-txt p { margin-bottom: 1rem; color: var(--clr-ink-soft); max-width: 560px; }
  .sec-split-txt .sec-close { color: var(--clr-ink); font-weight: 600; font-size: .95rem; border-top: 1px solid var(--clr-line); padding-top: 1rem; margin-top: 1.4rem; max-width: 480px; }
  .sec-split-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
  .sec-close-lg { font-weight: 600; font-size: 1rem; border-top: 1px solid var(--clr-line); padding-top: 1.4rem; margin-top: 3rem; max-width: 520px; }
  .sec-intro { background: var(--clr-bg); }

  
  .crd-casc { display: flex; flex-direction: column; margin-top: 2rem; }
  .crd { background: var(--clr-white); border: 1px solid var(--clr-line); border-radius: var(--radius-lg); padding: 2.2rem clamp(1.5rem, 3vw, 2.6rem); max-width: 660px; position: relative; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
  .crd:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
  .crd-casc .crd:nth-child(1) { z-index: 4; }
  .crd-casc .crd:nth-child(2) { z-index: 3; margin-left: 6%; margin-top: -2.2rem; }
  .crd-casc .crd:nth-child(3) { z-index: 2; margin-left: 14%; margin-top: -2.2rem; }
  .crd-casc .crd:nth-child(4) { z-index: 1; margin-left: 22%; margin-top: -2.2rem; }
  @media (max-width: 760px) {
    .crd-casc .crd:nth-child(n) { margin-left: 0; margin-top: 1.2rem; max-width: 100%; }
    .crd-casc .crd:first-child { margin-top: 0; }
  }
  .crd-ico { width: 46px; height: 46px; border: 1px solid var(--clr-line-strong); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; color: var(--clr-accent); margin-bottom: 1.3rem; }
  .crd-ttl { font-size: var(--fs-h3); font-weight: 700; margin-bottom: .8rem; letter-spacing: -.01em; }
  .crd-txt { color: var(--clr-ink-soft); margin-bottom: 1rem; }
  .crd-close { font-size: .9rem; font-weight: 600; border-top: 1px solid var(--clr-line); padding-top: .9rem; }

  
  .sec-proc { background: var(--clr-bg-alt); border-top: 1px solid var(--clr-line); border-bottom: 1px solid var(--clr-line); }
  .proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 2.5rem; position: relative; }
  .proc::before { content: ''; position: absolute; top: 24px; left: 6%; right: 6%; height: 1px; background: repeating-linear-gradient(to right, var(--clr-line-strong) 0, var(--clr-line-strong) 6px, transparent 6px, transparent 12px); z-index: 0; }
  @media (max-width: 900px) { .proc { grid-template-columns: 1fr 1fr; } .proc::before{ display:none; } }
  @media (max-width: 560px) { .proc { grid-template-columns: 1fr; } }
  .proc-item { position: relative; z-index: 1; background: var(--clr-bg-alt); padding-top: .2rem; }
  .proc-num { display: inline-block; font-size: .82rem; font-weight: 700; color: var(--clr-white); background: var(--clr-ink); width: 26px; height: 26px; border-radius: 50%; text-align: center; line-height: 26px; margin-bottom: 1.2rem; }
  .proc-ico { width: 48px; height: 48px; border: 1px solid var(--clr-line-strong); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--clr-accent); margin-bottom: 1.1rem; background: var(--clr-white); }
  .proc-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; }
  .proc-item p { color: var(--clr-ink-soft); font-size: .93rem; }

  
  .sec-para { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; padding: 6rem 0; }
  .sec-para-media { position: absolute; inset: 0; z-index: 1; }
  .sec-para-media img { width: 100%; height: 100%; object-fit: cover; }
  .sec-para-overlay { position: absolute; inset: 0; z-index: 2; background: rgba(28,26,23,.68); }
  .sec-para-content { position: relative; z-index: 3; color: var(--clr-white); text-align: center; margin: 0 auto; }
  .sec-para-quote { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 1.2rem; }
  .sec-para-note { color: rgba(255,253,250,.8); max-width: 520px; margin: 0 auto; }

  
  .arts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
  @media (max-width: 760px) { .arts-grid { grid-template-columns: 1fr; } }
  .arts-crd { border: 1px solid var(--clr-line); border-radius: var(--radius-lg); overflow: hidden; background: var(--clr-white); transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); display: block; }
  .arts-crd:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
  .arts-img { aspect-ratio: 16/10; overflow: hidden; }
  .arts-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
  .arts-crd:hover .arts-img img { transform: scale(1.05); }
  .arts-body { padding: 1.6rem 1.8rem; }
  .arts-body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
  .arts-body p { color: var(--clr-ink-soft); font-size: .93rem; margin-bottom: 1.1rem; }
  .arts-link { font-size: .88rem; font-weight: 600; color: var(--clr-accent-2); }

  
  .sec-cta { background: var(--clr-ink); color: var(--clr-white); }
  .sec-cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
  .sec-cta-inner h2 { font-size: var(--fs-h2); font-weight: 700; margin-bottom: 1rem; }
  .sec-cta-inner p { color: rgba(255,253,250,.75); margin-bottom: 2rem; }

  
  .pg-hero { padding: 5rem 0 3.5rem; border-bottom: 1px solid var(--clr-line); background: var(--clr-bg-alt); }
  .pg-hero-sm { padding: 3.5rem 0 2.8rem; }
  .pg-hero-inner { max-width: 820px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
  .pg-hero-title { font-size: var(--fs-pg); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin-bottom: 1.2rem; }
  .pg-hero-sub { color: var(--clr-ink-soft); font-size: 1.05rem; max-width: 640px; }

  
  .num-list { display: flex; flex-direction: column; gap: 2.2rem; margin-top: 2rem; }
  .num-item { display: grid; grid-template-columns: 60px 1fr; gap: 1.5rem; border-top: 1px solid var(--clr-line); padding-top: 1.8rem; }
  .num-item:first-child { border-top: none; padding-top: 0; }
  .num-mark { font-size: 1.5rem; font-weight: 700; color: var(--clr-accent); font-family: 'Epilogue', serif; }
  .num-item h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; }
  .num-item p { color: var(--clr-ink-soft); max-width: 620px; }

  
  .sec-split-rev { background: var(--clr-bg-alt); border-top: 1px solid var(--clr-line); border-bottom: 1px solid var(--clr-line); }

  
  .fl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin-top: 2rem; }
  @media (max-width: 900px) { .fl-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .fl-grid { grid-template-columns: 1fr; } }
  .fl-item { border: 1px solid var(--clr-line); border-radius: var(--radius-md); padding: 1.8rem; background: var(--clr-white); transition: box-shadow var(--dur) var(--ease); }
  .fl-item:hover { box-shadow: var(--shadow-sm); }
  .fl-num { font-size: .85rem; font-weight: 700; color: var(--clr-accent-2); border-bottom: 1px solid var(--clr-line); padding-bottom: .8rem; margin-bottom: 1rem; }
  .fl-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; }
  .fl-item p { color: var(--clr-ink-soft); font-size: .92rem; }

  
  .frm { display: flex; flex-direction: column; gap: 1.3rem; }
  .frm-row { display: flex; flex-direction: column; gap: .5rem; }
  .frm-row label { font-size: .88rem; font-weight: 600; }
  .frm-row label span, .frm-check label span { color: var(--clr-accent); }
  .frm-row input, .frm-row textarea, .frm-row select { border: 1px solid var(--clr-line-strong); border-radius: var(--radius-sm); padding: .85rem 1rem; background: var(--clr-white); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); font-size: .96rem; min-height: 44px; }
  .frm-row textarea { min-height: 130px; resize: vertical; }
  .frm-row input:focus, .frm-row textarea:focus, .frm-row select:focus { outline: none; border-color: var(--clr-accent); box-shadow: 0 0 0 3px var(--clr-accent-soft); }
  .frm-check { display: flex; align-items: flex-start; gap: .7rem; font-size: .88rem; color: var(--clr-ink-soft); }
  .frm-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--clr-accent); flex-shrink: 0; }
  .frm-check a { text-decoration: underline; color: var(--clr-ink); }
  .frm .btn { align-self: flex-start; margin-top: .5rem; }
  .sec-split-note { margin-top: 1.4rem; border-left: 1px solid var(--clr-accent); padding: .9rem 1.2rem; background: var(--clr-bg-alt); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: .88rem; color: var(--clr-ink-soft); }

  
  .sec-info { background: var(--clr-bg-alt); border-top: 1px solid var(--clr-line); }
  .sec-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
  @media (max-width: 900px) { .sec-info-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .sec-info-grid { grid-template-columns: 1fr; } }
  .info-crd { background: var(--clr-white); border: 1px solid var(--clr-line); border-radius: var(--radius-md); padding: 1.8rem; text-align: left; }
  .info-crd h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
  .info-crd p { color: var(--clr-ink-soft); font-size: .92rem; }
  .info-crd a { color: var(--clr-accent-2); font-weight: 600; }

  .sec-map { padding-top: 0; }
  .map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--clr-line); box-shadow: var(--shadow-md); }

  
  .lgl { padding: 3.5rem 0 6rem; }
  .lgl-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); display: grid; grid-template-columns: 260px 1fr; gap: 3.5rem; align-items: start; }
  @media (max-width: 900px) { .lgl-inner { grid-template-columns: 1fr; } }
  .lgl-toc { position: sticky; top: 100px; border-right: 1px solid var(--clr-line); padding-right: 1.5rem; display: flex; flex-direction: column; gap: .2rem; }
  .lgl-toc-lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--clr-ink-faint); margin-bottom: .8rem; }
  .lgl-toc a { font-size: .9rem; color: var(--clr-ink-soft); padding: .5rem 0; border-left: 1px solid transparent; padding-left: .8rem; transition: all var(--dur) var(--ease); }
  .lgl-toc a:hover, .lgl-toc a.active { color: var(--clr-ink); border-left-color: var(--clr-accent); }
  .lgl-toc-toggle { display: none; width: 100%; border: 1px solid var(--clr-line-strong); border-radius: var(--radius-sm); padding: .9rem 1.1rem; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 1.5rem; }
  @media (max-width: 900px) {
    .lgl-toc-toggle { display: flex; }
    .lgl-toc { display: none; position: static; border-right: none; padding-right: 0; border: 1px solid var(--clr-line); border-radius: var(--radius-md); padding: 1rem 1.2rem; margin-bottom: 1.5rem; }
    .lgl-toc.open { display: flex; }
  }
  .lgl-updated { font-size: .85rem; color: var(--clr-ink-faint); margin-bottom: .6rem; }
  .lgl-content h1 { font-size: var(--fs-h1); font-weight: 700; margin-bottom: 2.5rem; letter-spacing: -.015em; }
  .lgl-content section { margin-bottom: 2.6rem; scroll-margin-top: 100px; }
  .lgl-content h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: .9rem; border-bottom: 1px solid var(--clr-line); padding-bottom: .6rem; }
  .lgl-content p { color: var(--clr-ink-soft); margin-bottom: .9rem; max-width: 700px; }

  
  .thx { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6rem 1.5rem; }
  .thx-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--clr-accent); transform: scale(0); animation: dotPop .5s var(--ease) forwards; margin-bottom: 2rem; }
  .thx-title { font-size: var(--fs-h1); font-weight: 700; opacity: 0; animation: fadeUp .6s var(--ease) forwards; animation-delay: .5s; margin-bottom: 1rem; }
  .thx-sub { color: var(--clr-ink-soft); max-width: 480px; opacity: 0; animation: fadeUp .6s var(--ease) forwards; animation-delay: .8s; margin-bottom: 1.6rem; }
  .thx-link { font-weight: 600; color: var(--clr-accent-2); border-bottom: 1px solid var(--clr-accent-2); opacity: 0; animation: fadeUp .6s var(--ease) forwards; animation-delay: 1.1s; display: inline-flex; gap: .5rem; align-items: center; }
  @keyframes dotPop { to { transform: scale(1); } }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

  
  .ftr { background: var(--clr-ink); color: rgba(255,253,250,.85); margin-top: auto; }
  .ftr-bar { height: 4px; background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-soft), var(--clr-accent)); }
  .ftr-inner { max-width: var(--max-w); margin: 0 auto; padding: 4rem clamp(1.25rem, 5vw, 3rem) 3rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
  @media (max-width: 860px) { .ftr-inner { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .ftr-inner { grid-template-columns: 1fr; } }
  .ftr-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,253,250,.5); margin-bottom: 1.1rem; }
  .ftr-col a, .ftr-col p { display: block; font-size: .92rem; color: rgba(255,253,250,.78); margin-bottom: .7rem; transition: color var(--dur) var(--ease); }
  .ftr-col a:hover { color: var(--clr-accent-soft); }
  .ftr-brand p { max-width: 300px; color: rgba(255,253,250,.6); }
  .ftr-bottom { border-top: 1px solid rgba(255,253,250,.12); padding: 1.4rem clamp(1.25rem, 5vw, 3rem); text-align: center; }
  .ftr-bottom p { font-size: .82rem; color: rgba(255,253,250,.5); }
}

@layer utilities {
  .cookie-consent { position: fixed; bottom: 1.2rem; left: 1.2rem; z-index: 1000; width: min(360px, calc(100vw - 2.4rem)); background: var(--clr-white); border: 1px solid var(--clr-line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.4rem; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .cookie-consent.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .cookie-consent h4 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
  .cookie-consent p { font-size: .85rem; color: var(--clr-ink-soft); margin-bottom: 1rem; }
  .cookie-consent p a { text-decoration: underline; color: var(--clr-ink); }
  .cookie-actions { display: flex; flex-direction: column; gap: .6rem; }
  .cookie-actions button { padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 600; min-height: 44px; transition: all var(--dur) var(--ease); }
  .cookie-accept { background: var(--clr-ink); color: var(--clr-white); }
  .cookie-accept:hover { background: var(--clr-accent-2); }
  .cookie-reject { border: 1px solid var(--clr-line-strong); }
  .cookie-reject:hover { border-color: var(--clr-ink); }
  .cookie-custom-toggle { font-size: .82rem; text-decoration: underline; color: var(--clr-ink-soft); text-align: left; padding: .3rem 0; }
  .cookie-custom { display: none; flex-direction: column; gap: .7rem; border-top: 1px solid var(--clr-line); margin-top: .8rem; padding-top: .8rem; }
  .cookie-custom.open { display: flex; }
  .cookie-cat { display: flex; align-items: center; justify-content: space-between; font-size: .85rem; }
  .cookie-cat span.tag { font-size: .74rem; color: var(--clr-ink-faint); }
  .cookie-save { background: var(--clr-accent); color: var(--clr-white); margin-top: .4rem; }
  .cookie-save:hover { background: var(--clr-accent-2); }
  .switch { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
  .switch input { opacity: 0; width: 0; height: 0; }
  .switch .slider { position: absolute; inset: 0; background: var(--clr-line-strong); border-radius: 20px; transition: background var(--dur) var(--ease); cursor: pointer; }
  .switch .slider::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: var(--clr-white); border-radius: 50%; transition: transform var(--dur) var(--ease); }
  .switch input:checked + .slider { background: var(--clr-accent); }
  .switch input:checked + .slider::before { transform: translateX(18px); }
  .switch input:disabled + .slider { opacity: .5; cursor: not-allowed; }

  [data-aos] { will-change: transform, opacity; }
}