/* ============================================================
   MY FOREVER NAILS — Design System
   Palette: warm white + antique gold. Clinical, editorial, premium.
   ============================================================ */
:root{
  --paper:#FCFBF8;
  --white:#FFFFFF;
  --cream:#F6F2EA;
  --cream-2:#F1E9DA;
  --ink:#211F1B;
  --body:#4C473F;
  --muted:#79736A;

  --gold:#B0893F;
  --gold-deep:#846127;
  --gold-soft:#D9C193;
  --gold-tint:rgba(176,137,63,.12);
  --champagne:#EFE6D2;
  --line:#EAE3D4;
  --line-strong:#E0D7C4;
  --line-gold:rgba(176,137,63,.30);
  --gold-gradient:linear-gradient(120deg,#D6B46B 0%,#B0893F 58%,#8E6B2E 100%);

  --danger:#8C3A21;
  --danger-bg:#FBEEE7;
  --danger-line:rgba(140,58,33,.28);
  --info-bg:#F3EEE3;
  --info-line:rgba(176,137,63,.28);

  --shadow-sm:0 1px 2px rgba(33,31,27,.05), 0 1px 3px rgba(33,31,27,.04);
  --shadow-md:0 12px 32px -12px rgba(33,31,27,.14);
  --shadow-lg:0 30px 60px -24px rgba(33,31,27,.22);

  --r:6px;
  --r-lg:14px;
  --r-pill:999px;
  --header-h:68px;

  --serif:'Cormorant Garamond','Cormorant',Georgia,'Times New Roman',serif;
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--body);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
body.nav-open{overflow:hidden;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
::selection{background:var(--champagne);color:var(--ink);}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:3px;}

h1,h2,h3{margin:0;color:var(--ink);font-weight:500;letter-spacing:-.01em;line-height:1.08;}
p{margin:0;}

/* Anchored sections must clear the sticky header when jumped to. */
:target,[id]{scroll-margin-top:calc(var(--header-h) + 1.25rem);}

/* ---------- Skip link (accessibility) ---------- */
.skip-link{
  position:absolute;left:.75rem;top:-100px;z-index:200;
  padding:.7rem 1.1rem;border-radius:var(--r);
  background:var(--ink);color:#fff;
  font-size:.85rem;font-weight:600;letter-spacing:.04em;
  transition:top .2s ease;
}
.skip-link:focus{top:.75rem;}
/* <main> is focusable only as a skip-link target; it needs no focus ring. */
main:focus{outline:none;}

/* ---------- Layout ---------- */
.container{width:100%;max-width:1180px;margin-inline:auto;padding-inline:clamp(1.25rem,4vw,2rem);}
.container--narrow{max-width:780px;}
.container--form{max-width:840px;}
.section{padding-block:clamp(4.5rem,9vw,8rem);}
.section--paper{background:var(--cream);border-block:1px solid var(--line);}
[hidden]{display:none !important;}

.topbar{height:3px;background:var(--gold-gradient);}

/* ---------- Shared type ---------- */
.eyebrow{
  display:inline-flex;align-items:center;gap:.7rem;
  margin:0 0 1.1rem;
  font-family:var(--sans);font-size:.72rem;font-weight:600;
  letter-spacing:.22em;text-transform:uppercase;color:var(--gold-deep);
}
.eyebrow::before{content:"";width:26px;height:1px;background:var(--gold);opacity:.7;}
.eyebrow--center{justify-content:center;}
.eyebrow--center::before{display:none;}

.section__head{max-width:720px;margin:0 auto clamp(2.5rem,5vw,3.75rem);text-align:center;}
.section__head .eyebrow{justify-content:center;}
.section__title{font-family:var(--serif);font-size:clamp(2rem,4.2vw,3.15rem);}
.section__intro{margin-top:1.1rem;font-size:1.075rem;line-height:1.7;color:var(--body);}

.flourish{display:flex;align-items:center;justify-content:center;gap:.85rem;margin:0 auto;color:var(--gold);}
.flourish::before,.flourish::after{content:"";width:52px;height:1px;background:linear-gradient(90deg,transparent,var(--line-gold));}
.flourish::after{background:linear-gradient(90deg,var(--line-gold),transparent);}
.flourish span{width:6px;height:6px;transform:rotate(45deg);background:var(--gold);}

/* ---------- Buttons ---------- */
.btn{
  --btn-bg:transparent;
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.95rem 1.85rem;
  font-family:var(--sans);font-size:.82rem;font-weight:600;
  letter-spacing:.09em;text-transform:uppercase;
  border-radius:var(--r);border:1px solid transparent;
  cursor:pointer;transition:transform .25s ease,box-shadow .25s ease,background .25s ease,color .25s ease,border-color .25s ease;
  white-space:nowrap;line-height:1;
}
.btn--primary{
  background:var(--gold-gradient);color:#fff;
  box-shadow:0 10px 24px -12px rgba(132,97,39,.65);
}
.btn--primary:hover{transform:translateY(-2px);box-shadow:0 16px 30px -12px rgba(132,97,39,.6);}
.btn--ghost{background:transparent;color:var(--ink);border-color:var(--line-strong);}
.btn--ghost:hover{border-color:var(--gold);color:var(--gold-deep);background:var(--gold-tint);transform:translateY(-2px);}
.btn--sm{padding:.7rem 1.25rem;font-size:.74rem;}
.btn--block{width:100%;padding-block:1.1rem;font-size:.85rem;}
.btn[disabled]{opacity:.6;cursor:progress;transform:none;}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(252,251,248,.82);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .3s ease,background .3s ease,box-shadow .3s ease;
}
/* Browsers without backdrop-filter get a solid bar rather than see-through text. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .site-header{background:rgba(252,251,248,.98);}
}
.site-header.is-scrolled{border-bottom-color:var(--line);box-shadow:0 4px 20px -14px rgba(33,31,27,.4);}
.header__inner{position:relative;display:flex;align-items:center;justify-content:space-between;height:var(--header-h);}
.brand{display:inline-flex;align-items:center;gap:.6rem;}
.brand__mark{width:22px;height:26px;flex:none;}
.brand__name{font-family:var(--serif);font-size:1.3rem;font-weight:600;letter-spacing:.005em;color:var(--ink);}

.nav{display:flex;align-items:center;gap:clamp(1.1rem,2vw,2.1rem);}
.nav a:not(.btn){
  position:relative;font-size:.86rem;font-weight:500;color:var(--body);letter-spacing:.01em;
  padding:.35rem 0;transition:color .2s ease;
}
.nav a:not(.btn)::after{
  content:"";position:absolute;left:0;right:100%;bottom:-2px;height:1px;
  background:var(--gold);transition:right .28s ease;
}
.nav a:not(.btn):hover{color:var(--ink);}
.nav a:not(.btn):hover::after{right:0;}

.nav-toggle{
  display:none;flex-direction:column;justify-content:center;gap:5px;
  width:44px;height:44px;padding:0 10px;margin-right:-10px;
  background:none;border:0;cursor:pointer;
}
.nav-toggle span{display:block;height:1.6px;width:100%;background:var(--ink);border-radius:2px;transition:transform .3s ease,opacity .2s ease;}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6.6px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.6px) rotate(-45deg);}

@media (max-width:899px){
  .nav-toggle{display:flex;}
  .nav{
    position:absolute;top:calc(100% + 1px);left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--white);border-top:1px solid var(--line);
    box-shadow:var(--shadow-lg);
    padding:.25rem clamp(1.25rem,4vw,2rem) 1.4rem;
    opacity:0;visibility:hidden;transform:translateY(-10px);
    transition:opacity .26s ease,transform .26s ease,visibility .26s;
  }
  .nav.is-open{opacity:1;visibility:visible;transform:translateY(0);}
  .nav a:not(.btn){padding:1rem .25rem;border-bottom:1px solid var(--line);font-size:.95rem;}
  .nav a:not(.btn)::after{display:none;}
  .nav__cta{margin-top:1.1rem;width:100%;}
}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;padding-block:clamp(3.5rem,9vw,7rem) clamp(4rem,9vw,7.5rem);}
.hero::before{
  content:"";position:absolute;top:-18%;right:-10%;width:60%;height:120%;
  background:radial-gradient(closest-side,rgba(217,193,147,.28),transparent 70%);
  pointer-events:none;z-index:0;
}
.hero__ornament{
  position:absolute;right:clamp(-60px,-4vw,-20px);top:50%;transform:translateY(-50%);
  width:min(46vw,420px);color:var(--gold);opacity:.06;z-index:0;pointer-events:none;
}
.hero__inner{position:relative;z-index:1;max-width:760px;}
.hero__title{
  font-family:var(--serif);font-weight:500;
  font-size:clamp(2.8rem,7vw,5rem);line-height:1.02;letter-spacing:-.015em;
  margin-bottom:1.5rem;
}
.hero__title em{
  font-style:italic;font-weight:500;
  background:var(--gold-gradient);-webkit-background-clip:text;background-clip:text;
  color:var(--gold-deep);-webkit-text-fill-color:transparent;
}
.hero__lead{font-size:clamp(1.075rem,2vw,1.3rem);line-height:1.62;color:var(--body);max-width:600px;}
.hero__actions{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2.25rem;}
.hero__trust{
  margin-top:2.5rem;padding-top:1.6rem;border-top:1px solid var(--line);
  font-size:.8rem;letter-spacing:.02em;color:var(--muted);
}

/* ---------- Grid + cards ---------- */
.grid{display:grid;gap:clamp(1rem,2.4vw,1.5rem);}
.grid--4{grid-template-columns:1fr;}
@media(min-width:600px){.grid--4{grid-template-columns:1fr 1fr;}}
@media(min-width:980px){.grid--4{grid-template-columns:repeat(4,1fr);}}

.card{
  background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:clamp(1.5rem,2.4vw,1.9rem);
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--line-gold);}
.card__icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:52px;height:52px;margin-bottom:1.25rem;border-radius:12px;
  background:var(--gold-tint);color:var(--gold-deep);
}
.card__icon svg{width:26px;height:26px;}
.card h3{font-family:var(--sans);font-size:1.075rem;font-weight:600;letter-spacing:0;margin-bottom:.5rem;color:var(--ink);}
.card p{font-size:.95rem;line-height:1.62;color:var(--body);}

/* ---------- Mission ---------- */
.section--mission{position:relative;background:var(--paper);}
.mission{position:relative;text-align:center;padding:clamp(2.5rem,5vw,3.5rem) clamp(1.25rem,4vw,2.5rem);}
.mission::before{
  content:"\201C";position:absolute;top:clamp(-1.4rem,-3vw,-.4rem);left:50%;transform:translateX(-50%);
  font-family:var(--serif);font-size:clamp(5rem,12vw,8rem);line-height:1;color:var(--gold-soft);opacity:.5;
}
.mission__quote{
  margin:0;position:relative;z-index:1;
  font-family:var(--serif);font-weight:400;font-style:italic;
  font-size:clamp(1.5rem,3.4vw,2.35rem);line-height:1.42;color:var(--ink);letter-spacing:-.005em;
}
.mission__by{margin-top:1.9rem;font-size:.78rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-deep);}
.mission__rule{width:64px;height:2px;background:var(--gold-gradient);margin:2rem auto 0;border-radius:2px;}

/* ---------- Collection ---------- */
.products{display:grid;gap:clamp(1rem,2.4vw,1.5rem);grid-template-columns:1fr;}
@media(min-width:560px){.products{grid-template-columns:1fr 1fr;}}
@media(min-width:900px){.products{grid-template-columns:repeat(3,1fr);}}
.product{
  background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:0;text-align:center;overflow:hidden;
  display:flex;flex-direction:column;
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.product:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);border-color:var(--line-gold);}

/* The photographs are trimmed to a white surround, so they sit directly on
   the white card with no visible plate — only the tray appears to float. */
.product__visual{
  padding:clamp(.9rem,1.6vw,1.2rem) 0;
  border-bottom:1px solid var(--line);
  background:var(--white);
  overflow:hidden;
}
.product__visual img{
  width:100%;height:auto;
  transition:transform .45s cubic-bezier(.22,.61,.36,1);
}
.product:hover .product__visual img{transform:scale(1.035);}

.product__body{
  display:flex;flex-direction:column;flex:1;
  padding:clamp(1.5rem,2.4vw,1.9rem) clamp(1.75rem,2.6vw,2.25rem) clamp(1.75rem,2.6vw,2.25rem);
}
.product__code{font-size:.72rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--gold-deep);}
.product__name{font-family:var(--serif);font-size:1.7rem;font-weight:600;margin:.35rem 0 .7rem;}
.product__desc{font-size:.95rem;line-height:1.6;color:var(--body);flex:1;}
.product__foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.6rem;padding-top:1.4rem;border-top:1px solid var(--line);}
.product__price{font-family:var(--serif);font-size:1.7rem;font-weight:600;color:var(--ink);}
.products__note{text-align:center;margin-top:clamp(2rem,4vw,3rem);font-size:.85rem;letter-spacing:.02em;color:var(--muted);}

/* ---------- Order row swatch ----------
   A square crop of the same product photograph, used beside each shade in
   the procurement order builder. */
.order-row__swatch{
  width:46px;height:46px;flex:none;
  border-radius:var(--r);
  border:1px solid var(--line);
  object-fit:cover;
  background:var(--white);
}

/* ---------- The System ---------- */
.system__grid{display:grid;gap:clamp(1.75rem,3.5vw,3rem);grid-template-columns:1fr;align-items:start;}
@media(min-width:880px){.system__grid{grid-template-columns:1.05fr .95fr;}}
.steps{list-style:none;margin:0;padding:0;display:grid;gap:1.4rem;}
.step{display:flex;gap:1.25rem;align-items:flex-start;}
.step__num{
  font-family:var(--serif);font-size:1.9rem;font-weight:600;line-height:1;
  color:var(--gold);flex:none;width:2.6rem;
  background:var(--gold-gradient);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.step h3{font-family:var(--sans);font-size:1.05rem;font-weight:600;margin-bottom:.3rem;}
.step p{font-size:.95rem;line-height:1.6;color:var(--body);}
.step + .step{padding-top:1.4rem;border-top:1px solid var(--line);}

.kit{background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(1.75rem,3vw,2.5rem);box-shadow:var(--shadow-sm);}
.kit__title{font-family:var(--serif);font-size:1.65rem;font-weight:600;margin:.2rem 0 1.4rem;}
.kit__list{list-style:none;margin:0;padding:0;display:grid;gap:.9rem;}
.kit__list li{
  position:relative;padding-left:2rem;font-size:.98rem;color:var(--body);line-height:1.5;
}
.kit__list li::before{
  content:"";position:absolute;left:0;top:.05em;width:1.25rem;height:1.25rem;
  background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0893F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- Procurement ---------- */
.section--procurement{background:linear-gradient(180deg,var(--cream) 0%,var(--paper) 100%);border-top:1px solid var(--line);}
.portal{
  background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg);
  padding:clamp(1.5rem,4vw,3rem);
}
.portal__secure{
  display:flex;align-items:flex-start;gap:.85rem;
  padding:1rem 1.15rem;margin-bottom:2rem;
  background:var(--gold-tint);border:1px solid var(--line-gold);border-radius:var(--r);
  font-size:.85rem;line-height:1.5;color:var(--body);
}
.portal__secure svg{width:20px;height:20px;flex:none;color:var(--gold-deep);margin-top:.1rem;}

.field-group{padding-block:1.7rem;border-top:1px solid var(--line);}
.field-group:first-of-type{border-top:0;padding-top:0;}
.field-group__label{
  font-size:.72rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-deep);
  margin-bottom:1.15rem;
}
.field{margin-bottom:1.1rem;}
.field:last-child{margin-bottom:0;}
.field-row{display:grid;gap:1.1rem;grid-template-columns:1fr;}
@media(min-width:560px){.field-row{grid-template-columns:1fr 1fr;}}
.field label{display:block;font-size:.85rem;font-weight:500;color:var(--ink);margin-bottom:.45rem;}
.field .opt{color:var(--muted);font-weight:400;}
.field input,.field textarea{
  width:100%;font-family:var(--sans);font-size:.98rem;color:var(--ink);
  padding:.8rem .95rem;background:var(--paper);
  border:1px solid var(--line-strong);border-radius:var(--r);
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.field input::placeholder,.field textarea::placeholder{color:#a49d90;}
.field input:hover,.field textarea:hover{border-color:var(--line-gold);}
.field input:focus,.field textarea:focus{
  outline:none;
  background:var(--white);
  border-color:var(--gold);
  box-shadow:0 0 0 3px var(--gold-tint);
}
.field textarea{resize:vertical;min-height:3.2rem;}
.field__hint{display:block;margin-top:.5rem;font-size:.8rem;color:var(--muted);line-height:1.45;}

/* order builder */
.order-list{display:grid;gap:.75rem;}
.order-row{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  padding:.9rem 1.05rem;background:var(--paper);border:1px solid var(--line-strong);border-radius:var(--r);
  transition:border-color .3s ease,box-shadow .3s ease,background .3s ease;
}
.order-row.is-flash{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-tint);background:var(--white);}
.order-row__info{display:flex;align-items:center;gap:.9rem;min-width:0;}
.order-row__name{font-size:.95rem;font-weight:600;color:var(--ink);line-height:1.2;}
.order-row__name span{display:block;font-family:var(--sans);font-size:.8rem;font-weight:400;color:var(--muted);letter-spacing:.02em;}
.order-row__price{font-size:.82rem;color:var(--muted);margin-top:.15rem;}
.stepper{display:inline-flex;align-items:center;border:1px solid var(--line-strong);border-radius:var(--r-pill);background:var(--white);overflow:hidden;}
.stepper__btn{
  width:2.3rem;height:2.3rem;border:0;background:none;cursor:pointer;
  font-size:1.2rem;color:var(--gold-deep);line-height:1;display:grid;place-items:center;
  transition:background .2s ease;
}
.stepper__btn:hover{background:var(--gold-tint);}
.stepper__input{
  width:2.6rem;text-align:center;border:0;background:none;
  font-family:var(--sans);font-size:1rem;font-weight:600;color:var(--ink);
  -moz-appearance:textfield;appearance:textfield;padding:0;
}
.stepper__input::-webkit-outer-spin-button,.stepper__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.stepper__input:focus{outline:none;}
.stepper:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-tint);}
.order-total{
  display:flex;align-items:center;justify-content:space-between;
  margin-top:1.1rem;padding-top:1.1rem;border-top:1px dashed var(--line-strong);
  font-size:.9rem;color:var(--body);
}
.order-total__value{font-family:var(--serif);font-size:1.55rem;font-weight:600;color:var(--ink);}

.consent{display:flex;gap:.75rem;align-items:flex-start;margin-top:1.7rem;font-size:.88rem;line-height:1.5;color:var(--body);cursor:pointer;}
.consent input{margin-top:.2rem;width:1.05rem;height:1.05rem;flex:none;accent-color:var(--gold);}
.consent a{color:var(--gold-deep);font-weight:500;border-bottom:1px solid var(--line-gold);}

.form-status{margin-top:1.4rem;padding:.85rem 1.1rem;border-radius:var(--r);font-size:.9rem;line-height:1.5;}
.form-status--error{background:var(--danger-bg);border:1px solid var(--danger-line);color:var(--danger);}
.form-status--info{background:var(--info-bg);border:1px solid var(--info-line);color:var(--gold-deep);}
.form-status a{font-weight:600;border-bottom:1px solid currentColor;}
.form-submit{margin-top:1.7rem;}
.form-foot{margin-top:1rem;text-align:center;font-size:.8rem;color:var(--muted);}

.form-success{text-align:center;padding:clamp(1rem,3vw,2rem) .5rem;}
.form-success svg{width:56px;height:56px;color:var(--gold);margin-bottom:1.1rem;margin-inline:auto;}
.form-success h3{font-family:var(--serif);font-size:2rem;font-weight:600;margin-bottom:.75rem;}
.form-success p{font-size:1rem;line-height:1.65;color:var(--body);max-width:460px;margin:0 auto;}
.form-success__mail{margin-top:1.1rem;font-size:.9rem;}
.form-success__mail a{color:var(--gold-deep);font-weight:600;border-bottom:1px solid var(--line-gold);}

/* ---------- Long-form pages (privacy / terms / 404) ---------- */
.page-hero{padding-block:clamp(3rem,7vw,5rem) clamp(1.5rem,3vw,2.5rem);}
.page-hero__title{font-family:var(--serif);font-size:clamp(2.2rem,5vw,3.4rem);}
.page-hero__meta{margin-top:1rem;font-size:.85rem;letter-spacing:.02em;color:var(--muted);}

.prose{padding-bottom:clamp(4rem,8vw,6rem);}
.prose h2{
  font-family:var(--serif);font-size:clamp(1.5rem,3vw,2rem);font-weight:600;
  margin:2.75rem 0 .9rem;padding-top:1.75rem;border-top:1px solid var(--line);
}
.prose h2:first-of-type{border-top:0;padding-top:0;margin-top:1.5rem;}
.prose h3{font-family:var(--sans);font-size:1.05rem;font-weight:600;margin:1.75rem 0 .5rem;}
.prose p,.prose li{font-size:1rem;line-height:1.75;color:var(--body);}
.prose p + p{margin-top:1rem;}
.prose ul{margin:1rem 0 0;padding-left:1.35rem;display:grid;gap:.55rem;}
.prose li::marker{color:var(--gold);}
.prose a{color:var(--gold-deep);font-weight:500;border-bottom:1px solid var(--line-gold);}
.prose a:hover{border-bottom-color:var(--gold);}
.prose strong{color:var(--ink);font-weight:600;}
.prose__note{
  margin-top:1.5rem;padding:1.1rem 1.25rem;
  background:var(--gold-tint);border:1px solid var(--line-gold);border-radius:var(--r);
  font-size:.92rem;line-height:1.65;
}

.notfound{text-align:center;padding-block:clamp(5rem,14vw,9rem);}
.notfound__code{
  font-family:var(--serif);font-size:clamp(5rem,18vw,10rem);line-height:1;font-weight:600;
  background:var(--gold-gradient);-webkit-background-clip:text;background-clip:text;
  color:var(--gold-deep);-webkit-text-fill-color:transparent;
}
.notfound h1{font-family:var(--serif);font-size:clamp(1.8rem,4vw,2.6rem);margin-top:1rem;}
.notfound p{margin:1.1rem auto 0;max-width:460px;font-size:1.05rem;line-height:1.7;}
.notfound .hero__actions{justify-content:center;}

/* ---------- Footer ---------- */
.site-footer{background:var(--ink);color:#D8D2C6;}
.footer__inner{display:grid;gap:2.5rem;padding-block:clamp(3rem,6vw,4.5rem);grid-template-columns:1fr;}
@media(min-width:760px){.footer__inner{grid-template-columns:1.2fr 1fr;}}
.brand--footer .brand__name{color:#fff;}
.footer__tag{margin-top:1rem;font-family:var(--serif);font-size:1.3rem;font-style:italic;color:#EFE9DD;max-width:340px;line-height:1.4;}
.footer__cols{display:grid;gap:2rem;grid-template-columns:1fr;}
@media(min-width:460px){.footer__cols{grid-template-columns:auto 1fr;gap:3rem;}}
.footer__nav{display:flex;flex-direction:column;gap:.7rem;}
.footer__nav a{font-size:.9rem;color:#C9C2B4;transition:color .2s ease;width:fit-content;}
.footer__nav a:hover{color:var(--gold-soft);}
.footer__label{font-size:.7rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-soft);margin-bottom:.7rem;}
.footer__contact a{font-size:.95rem;color:#fff;border-bottom:1px solid rgba(217,193,147,.4);padding-bottom:1px;}
.footer__note{margin-top:1rem;font-size:.82rem;line-height:1.55;color:#A8A295;max-width:280px;}
.footer__base{border-top:1px solid rgba(255,255,255,.08);}
.footer__base-inner{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;justify-content:space-between;padding-block:1.4rem;font-size:.78rem;color:#9A9487;}
.footer__legal{display:flex;gap:1.25rem;}
.footer__legal a{transition:color .2s ease;}
.footer__legal a:hover{color:var(--gold-soft);}

/* ---------- Reveal animation ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.22,.61,.36,1),transform .7s cubic-bezier(.22,.61,.36,1);}
.reveal.is-visible{opacity:1;transform:none;}
.reveal:nth-child(2){transition-delay:.06s;}
.reveal:nth-child(3){transition-delay:.12s;}
.reveal:nth-child(4){transition-delay:.18s;}

/* If JavaScript never runs, content must still be visible. */
.no-js .reveal{opacity:1;transform:none;}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .reveal{opacity:1;transform:none;transition:none;}
  *{transition-duration:.001ms !important;animation-duration:.001ms !important;}
}

/* ---------- Print ---------- */
@media print{
  .site-header,.nav-toggle,.hero__ornament,.skip-link,.btn,.form-submit{display:none !important;}
  body{background:#fff;color:#000;}
  .section{padding-block:1.5rem;}
  .card,.product,.portal,.kit{box-shadow:none;border-color:#ccc;}
}
