@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: optional;
  src: url(/uv-assets.php?font=cormorant-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: optional;
  src: url(/uv-assets.php?font=inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
    :root {
      --cream:       #f8f5ef;
      --ink:         #1c1208;
      --muted:       #68584a;
      --border:      #e2d8cf;
      --border-warm: #d4be97;
      --accent:      #c4894e;
      font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
      color: var(--ink);
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; background: var(--cream); }
    body { margin: 0; min-width: 0; overflow-x: clip; background: transparent; }
    a { color: inherit; }

    /* ── Fixed illustrated background — spans entire page scroll ── */
    .bg-slides {
      position: fixed; inset: 0; z-index: -1; pointer-events: none;
    }
    .bg-slide {
      position: absolute; inset: 0;
      background-size: auto 148%;
      background-position: center 28%;
      background-repeat: no-repeat;
      animation: bg-fade 24s linear infinite;
      will-change: opacity;
    }
    .bg-slide:nth-child(1) { background-image: url('/uv-assets.php?image=bg1&w=1200'); animation-delay:   0s; }
    .bg-slide:nth-child(2) { background-image: url('/uv-assets.php?image=bg2&w=1200'); animation-delay: -18s; }
    .bg-slide:nth-child(3) { background-image: url('/uv-assets.php?image=bg3&w=1200'); animation-delay: -12s; }
    .bg-slide:nth-child(4) { background-image: url('/uv-assets.php?image=bg4&w=1200'); animation-delay:  -6s; }
    @keyframes bg-fade {
      0%, 20.83% { opacity: 1; }
      25%        { opacity: 0; }
      95.83%     { opacity: 0; }
      100%       { opacity: 1; }
    }

    /* ── Hero ── */
    .hero {
      position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
    }
    /* Light overlay on hero — art very visible */
    .hero-overlay {
      position: absolute; inset: 0; z-index: 0;
      background: linear-gradient(
        to bottom,
        rgba(248,245,239,.20) 0%,
        rgba(248,245,239,.08) 32%,
        rgba(248,245,239,.22) 65%,
        rgba(248,245,239,.78) 100%
      );
    }
    .hero-inner {
      position: relative; z-index: 1;
      min-height: 100vh; min-height: 100svh;
      display: flex; flex-direction: column;
      width: min(960px, calc(100% - 80px)); margin: 0 auto;
    }
    .hero-header { flex-shrink: 0; padding: 30px 0; }
    .brand {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: 1rem; font-weight: 600; letter-spacing: .06em;
      color: var(--ink); text-decoration: none;
      text-shadow: 0 0 16px rgba(248,245,239,.95);
    }
    .hero-copy {
      flex: 1; display: flex; flex-direction: column; justify-content: center;
      padding: clamp(28px, 4vw, 56px) clamp(24px, 3.5vw, 48px) clamp(32px, 5vw, 68px);
      background: rgba(248,245,239,.42);
      backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
      border-radius: 18px;
      margin: clamp(12px,2vw,24px) 0;
    }
    .eyebrow {
      font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
      color: var(--accent); margin: 0 0 1.8rem;
    }
    h1 {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: clamp(2.9rem, 7vw, 6.4rem);
      font-weight: 300; line-height: 1.04; letter-spacing: -.022em;
      margin: 0 0 2rem; max-width: 820px; color: var(--ink);
      text-shadow: 0 0 48px rgba(248,245,239,.9), 0 0 96px rgba(248,245,239,.55);
    }
    .lead {
      max-width: 500px; margin: 0;
      color: var(--ink); font-size: clamp(.96rem, 1.8vw, 1.14rem);
      line-height: 1.65; font-weight: 400;
    }
    .hero-note {
      margin-top: 2.6rem;
      display: inline-flex; align-items: center; gap: .7rem;
      color: var(--ink); font-size: .82rem; font-weight: 500;
    }
    .pulse {
      width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
      background: var(--accent); box-shadow: 0 0 0 5px rgba(196,137,78,.14);
      animation: pulse 3s ease-in-out infinite;
    }
    @keyframes pulse {0%,100%{opacity:.6;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}
    .scroll-cue { flex-shrink: 0; display: flex; justify-content: center; padding-bottom: 32px; }
    .scroll-line {
      width: 1px; height: 36px;
      background: linear-gradient(to bottom, rgba(196,137,78,.55), transparent);
      animation: scroll-drop 2.4s ease-in-out infinite;
    }
    @keyframes scroll-drop {
      0%,100% { opacity: .4; transform: scaleY(.65); transform-origin: top; }
      55%     { opacity: 1; transform: scaleY(1); }
    }

    /* ── Stages section — transparent so art shows behind cards ── */
    .stages-section {
      position: relative; z-index: 1;
      padding: clamp(52px, 8vw, 96px) 0 clamp(60px, 8vw, 120px);
      background: rgba(248,245,239,.48);
    }
    .shell { width: min(960px, calc(100% - 80px)); margin: 0 auto; }
    .section-head {
      display: flex; align-items: baseline; justify-content: space-between;
      gap: 1rem; margin-bottom: 32px;
    }
    h2 {
      font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
      font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 800; letter-spacing: .14em;
      text-transform: uppercase; margin: 0; color: var(--ink);
    }
    .section-note { margin: 0; color: var(--ink); font-size: .86rem; font-weight: 500; }
    .stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

    /* Cards — each with its own illustrated background */
    .stage {
      padding: 18px 16px 14px;
      border: 1px solid rgba(228,219,209,.7);
      border-radius: 14px;
      background: rgba(255,255,255,.78);
      backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
      display: flex; flex-direction: column; gap: 10px;
      cursor: default; overflow: hidden; position: relative;
      transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }
    /* Subtle illustrated layer inside each card */
    .stage::before {
      content: ''; position: absolute; inset: 0;
      background-size: cover; opacity: .18;
      border-radius: inherit; pointer-events: none;
      transition: opacity .3s ease;
    }
    .stage:hover::before { opacity: .28; }
    .stage:hover {
      transform: translateY(-3px);
      box-shadow: 0 18px 44px rgba(28,18,8,.09);
      border-color: rgba(212,190,151,.6);
    }
    /* Per-card images — different scene for each stage */
    .stages > :nth-child(1) .stage::before { background-image: url('/uv-assets.php?image=bg2&w=640'); background-position: center 38%; }
    .stages > :nth-child(2) .stage::before { background-image: url('/uv-assets.php?image=bg1&w=640'); background-position: center 30%; }
    .stages > :nth-child(3) .stage::before { background-image: url('/uv-assets.php?image=bg3&w=640'); background-position: center 40%; }
    .stages > :nth-child(4) .stage::before { background-image: url('/uv-assets.php?image=bg4&w=640'); background-position: center 55%; }
    .stages > :nth-child(5) .stage::before { background-image: url('/uv-assets.php?image=bg1&w=640'); background-position: 40% 65%; }
    .stages > :nth-child(6) .stage::before { background-image: url('/uv-assets.php?image=bg2&w=640'); background-position: 72% 45%; }

    .stage-link { text-decoration: none; cursor: pointer; display: block; }
    .stage-link .stage {
      border-color: rgba(212,190,151,.8);
      background: rgba(255,255,255,.82);
    }
    .stage-link .stage:hover {
      border-color: var(--accent);
      box-shadow: 0 18px 44px rgba(196,137,78,.14);
    }
    /* Touch press */
    .stage-link:active .stage, .stage:active {
      transform: scale(0.97); box-shadow: none;
      transition: transform .1s ease;
    }
    .stage-name, .stage-status { position: relative; z-index: 1; }
    .stage-name {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em;
      color: var(--ink); line-height: 1.2;
    }
    .stage-status { font-size: .72rem; font-weight: 500; color: var(--ink); line-height: 1; }
    .stage-link .stage-status { color: var(--accent); font-weight: 600; }

    /* ── Footer ── */
    footer {
      position: relative; z-index: 1; isolation: isolate;
      background: var(--cream); border-top: 1px solid var(--border);
      padding: 24px 0 36px; color: var(--ink); font-size: .76rem; font-weight: 500;
    }

    /* ── Skip link ── */
    .skip {
      position: absolute; left: -999px; top: 0; z-index: 9;
      padding: .7rem 1rem; background: var(--ink); color: #fff;
      border-radius: 8px; text-decoration: none; font-size: .86rem;
    }
    .skip:focus { left: 1rem; }

    /* ── Responsive ── */
    @media (max-width: 740px) {
      .hero-inner, .shell { width: calc(100% - 48px); }
      .hero-header { padding: 22px 0; }
      .stages { grid-template-columns: repeat(2, 1fr); gap: 8px; }
      .stage { padding: 14px 13px 11px; gap: 8px; border-radius: 12px; }
      .stage-name { font-size: 1.08rem; }
      .section-head { display: block; }
      .section-note { margin-top: .4rem; }
    }
    @media (max-width: 530px) {
      .hero-copy { text-align: center; align-items: center; }
      .hero-note { justify-content: center; }
      h1 { font-weight: 400; max-width: 100%; }
      .lead { max-width: 100%; }
    }
    @media (max-width: 430px) {
      .hero-inner, .shell { width: calc(100% - 40px); }
      .stages { grid-template-columns: 1fr; gap: 7px; }
      .stage {
        flex-direction: row; align-items: center;
        justify-content: space-between; gap: 10px;
        padding: 12px 14px 10px;
      }
      .stage-name { font-size: 1rem; }
    }
    @media (prefers-reduced-motion: reduce) {
      .bg-slide { animation: none; opacity: 0; }
      .bg-slide:nth-child(1) { opacity: 1; }
      .pulse, .scroll-line { animation: none; }
    }
  
:root{--space-1:.5rem;--space-2:1rem;--space-3:1.5rem;--space-4:2rem;--radius:12px;--shadow:0 12px 36px #1c120814;--focus:#71421f;color-scheme:light}
body{min-height:100svh;display:flex;flex-direction:column}main{flex:1}footer{margin-top:auto}.legal-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.3rem;margin-top:1rem}.legal-nav a,.legal-nav button{font:inherit;font-size:.78rem;color:#594838}.legal-nav button{border:0;background:none;text-decoration:underline;cursor:pointer;padding:0;min-height:32px}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--focus);outline-offset:5px}a:hover{color:#71421f}a:active{color:#39200e}button:disabled{opacity:.6;cursor:not-allowed}.skip:focus{z-index:10000}
.hero-action{align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;margin-top:1.3rem;padding:.8rem 1.1rem;background:var(--ink);color:var(--cream);border-radius:var(--radius);font-size:.85rem;text-decoration:none}.hero-action:hover{background:#51351f;color:white}.hero-action:active{transform:translateY(1px)}
.legal-page header{padding:2rem 0}.legal-content{max-width:760px;margin:2rem auto 4rem;padding:0 24px;line-height:1.75;overflow-wrap:anywhere}.legal-content h1{font-size:clamp(2.3rem,7vw,4rem);line-height:1.1;max-width:none;margin:1rem 0 2rem}.legal-content h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.7rem;line-height:1.3;margin:2rem 0 .6rem}.legal-content p,.legal-content li{font-size:.95rem}.legal-content table{border-collapse:collapse;width:100%;font-size:.85rem}.legal-content th,.legal-content td{text-align:left;border:1px solid var(--border);padding:.65rem;vertical-align:top}.legal-content a{text-underline-offset:3px}
.cc{position:fixed;z-index:9999;bottom:20px;left:20px;width:min(470px,calc(100% - 40px));max-height:calc(100svh - 40px);overflow:auto;padding:22px;border:1px solid var(--border-warm);border-radius:var(--radius);background:var(--cream);color:var(--ink);box-shadow:var(--shadow);font-size:.85rem;line-height:1.55}.cc h2{font:600 1.1rem Inter, sans-serif;margin:0 0 .6rem}.cc p{margin:.6rem 0 1rem}.cc-actions{display:flex;gap:8px;flex-wrap:wrap}.cc button{background:transparent;border:1px solid #786048;border-radius:8px;color:var(--ink);padding:.65rem .8rem;min-height:44px;font:500 .82rem Inter,sans-serif;cursor:pointer;flex:1}.cc button:hover{background:#e9dfcf}.cc label{display:flex;align-items:center;gap:10px;margin:1rem 0}.cc input{width:20px;height:20px;accent-color:var(--ink)}
@media(max-width:600px){.bg-slide:nth-child(1){background-image:url('/uv-assets.php?image=bg1&w=640')}.bg-slide:nth-child(2){background-image:url('/uv-assets.php?image=bg2&w=640')}.bg-slide:nth-child(3){background-image:url('/uv-assets.php?image=bg3&w=640')}.bg-slide:nth-child(4){background-image:url('/uv-assets.php?image=bg4&w=640')}.stage{background-size:cover}.hero-action{align-self:center}.cc{bottom:10px;left:10px;width:calc(100% - 20px);padding:18px}.legal-content table{font-size:.75rem}.legal-content td,.legal-content th{padding:.4rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.bg-slide{will-change:auto}}
