/* ============================================================
   site.css — shared chrome for kiyanaknox.com
   Linked by BOTH index.html and shop.html so the two pages cannot
   drift apart. Page-specific styles stay inline in each page.
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   Palette is contrast-checked. --clay is the AA-compliant
   interactive color; --clay-soft is decorative ONLY (large
   display type, borders, icons) and must never carry small text.
   ============================================================ */
:root{
  --bone:#FAF6F1;
  --linen:#F0E8DF;
  --white:#FFFFFF;
  --espresso:#2B2320;
  --clay:#A85F45;
  --clay-deep:#8A4A33;
  --clay-soft:#C1755A;
  --sage:#8A9A85;
  --sage-deep:#5A6854;
  --gold:#C9A66B;
  --err:#8E3B2F;

  --wrap:1200px;
  --gut:24px;
  --sect:clamp(72px,10vw,140px);
  --shadow:0 2px 12px rgba(43,35,32,.06);
  --shadow-lift:0 10px 28px rgba(43,35,32,.10);
  --hair:1px solid rgba(201,166,107,.45);
  --ease:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--bone);color:var(--espresso);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  font-size:clamp(1rem,1.05vw,1.125rem);line-height:1.65;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:'Fraunces','Georgia',serif;font-weight:600;
  letter-spacing:-.02em;line-height:1.1;margin:0 0 .6em;
}
h1{font-size:clamp(2.4rem,6vw,4.4rem);line-height:1.04}
h2{font-size:clamp(1.9rem,4vw,3rem)}
h3{font-size:clamp(1.15rem,1.7vw,1.4rem);line-height:1.25}
p{margin:0 0 1.1em;max-width:68ch}
a{color:var(--clay);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--clay-deep)}
img{max-width:100%;display:block}
ul{margin:0;padding:0;list-style:none}

:is(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:2px solid var(--clay);outline-offset:2px;border-radius:2px;
}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gut)}
@media(min-width:900px){:root{--gut:48px}}

.sect{padding-block:var(--sect)}
.sect--linen{background:var(--linen)}
/* max-width:none matters: .eyebrow is a <p>, so the global p{max-width:68ch}
   above would cap its box. Inside a centred section the text then centres
   within that narrow box and sits visibly left of everything else. */
.eyebrow{
  font-size:.74rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  color:var(--sage-deep);margin:0 0 1rem;max-width:none;
}
.lede{font-size:clamp(1.05rem,1.4vw,1.22rem);color:rgba(43,35,32,.82)}
.center{text-align:center}
.center p{margin-inline:auto}

.skip{
  position:absolute;left:-9999px;top:0;z-index:999;
  background:var(--espresso);color:var(--bone);padding:.75rem 1.25rem;
}
.skip:focus{left:8px;top:8px}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-family:'Inter',sans-serif;font-size:.95rem;font-weight:600;letter-spacing:.01em;
  padding:.95rem 1.7rem;border-radius:4px;border:1.5px solid transparent;
  cursor:pointer;text-decoration:none;transition:all .2s var(--ease);
  min-height:48px;
}
.btn--primary{background:var(--clay);color:var(--bone)}
.btn--primary:hover{background:var(--clay-deep);color:var(--bone);transform:translateY(-1px);box-shadow:var(--shadow-lift)}
.btn--ghost{background:transparent;color:var(--espresso);border-color:rgba(43,35,32,.3)}
.btn--ghost:hover{border-color:var(--espresso);background:rgba(43,35,32,.04);color:var(--espresso)}
.btn--onDark{background:var(--clay);color:#fff}
.btn--onDark:hover{background:var(--clay-soft);color:#fff}
.btn--ghostDark{background:transparent;color:var(--bone);border-color:rgba(250,246,241,.4)}
.btn--ghostDark:hover{border-color:var(--bone);background:rgba(250,246,241,.08);color:var(--bone)}
.btn--block{width:100%}


/* ---------- header ---------- */
.hdr{
  position:fixed;inset:0 0 auto;z-index:100;
  transition:background .3s var(--ease),border-color .3s var(--ease),box-shadow .3s var(--ease);
  border-bottom:1px solid transparent;
}
.hdr.is-stuck{background:rgba(250,246,241,.94);backdrop-filter:blur(10px);border-bottom-color:rgba(201,166,107,.45)}
.hdr__in{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:76px}
.mark{
  font-family:'Fraunces',serif;font-weight:600;font-size:1.02rem;
  letter-spacing:.17em;text-transform:uppercase;color:var(--espresso);text-decoration:none;
}
.nav{display:none}
/* Six links plus a CTA button need ~980px before they fit without
   crowding the wordmark — keep the burger until then. */
@media(min-width:980px){
  .nav{display:flex;align-items:center;gap:1.4rem}
  .nav a{
    color:var(--espresso);text-decoration:none;font-size:.88rem;font-weight:500;
    letter-spacing:.02em;position:relative;padding-block:.35rem;
  }
  .nav a::after{
    content:'';position:absolute;left:0;bottom:0;width:0;height:1px;
    background:var(--clay);transition:width .25s var(--ease);
  }
  .nav a:hover::after{width:100%}
  .nav a.is-quiet{opacity:.62;font-weight:400}
  .nav a.is-quiet:hover{opacity:1}
}
@media(min-width:1180px){.nav{gap:2rem}}
.burger{
  display:grid;place-items:center;width:48px;height:48px;
  background:none;border:0;cursor:pointer;padding:0;
}
.burger span{display:block;width:24px;height:1.5px;background:var(--espresso);transition:transform .25s var(--ease),opacity .2s}
.burger span+span{margin-top:6px}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
@media(min-width:980px){.burger{display:none}}

.sheet{
  position:fixed;inset:0;z-index:95;background:var(--bone);
  display:grid;place-items:center;
  opacity:0;visibility:hidden;transition:opacity .3s var(--ease),visibility .3s;
}
.sheet.is-open{opacity:1;visibility:visible}
.sheet ul{display:grid;gap:.4rem;text-align:center}
.sheet a{
  font-family:'Fraunces',serif;font-size:clamp(1.7rem,7vw,2.3rem);
  color:var(--espresso);text-decoration:none;display:block;padding:.4rem 1rem;
}
.sheet a:hover{color:var(--clay)}


/* ---------- footer ---------- */
.ftr{background:var(--espresso);color:var(--bone);padding-block:clamp(3rem,5vw,4rem) 0}
.ftr__grid{display:grid;gap:2.5rem;padding-bottom:2.5rem}
@media(min-width:800px){.ftr__grid{grid-template-columns:1.15fr .85fr 1.3fr;gap:2rem}}
.ftr .mark{color:var(--bone);display:inline-block;margin-bottom:.85rem}
.ftr__tag{font-size:.82rem;color:rgba(250,246,241,.62);margin:0;max-width:34ch}
.ftr h4{
  font-family:'Inter',sans-serif;font-size:.68rem;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:rgba(250,246,241,.5);margin:0 0 1rem;
}
.ftr__nav{display:grid;gap:.6rem}
/* :not(.soc) matters. The footer's pills are <a> elements too, and ".ftr a"
   (specificity 0,1,1) outranks ".soc" (0,1,0) — so without this exclusion the
   cream footer link colour wins and the platform names vanish against the
   white pill. The hover underline would land on them as well. */
.ftr a:not(.soc){color:rgba(250,246,241,.82);text-decoration:none;font-size:.88rem}
.ftr a:not(.soc):hover{color:var(--bone);text-decoration:underline;text-underline-offset:3px}

/* ---------- social pills ----------
   Pill = icon slot + always-visible platform name. The official icons live
   in assets/social/ and are NOT bundled (see that folder's README). Because
   the name is text, a missing icon just collapses its slot and the pill still
   reads correctly — no placeholder letters needed. */
.social{display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 1rem;padding:0;list-style:none}
.soc{
  display:inline-flex;align-items:center;gap:.55rem;
  padding:.62rem 1.2rem;border-radius:100px;min-height:44px;
  font-size:.9rem;font-weight:500;line-height:1;text-decoration:none;
  background:var(--white);border:1px solid rgba(43,35,32,.12);color:var(--espresso);
  transition:background .2s var(--ease),border-color .2s var(--ease),transform .15s var(--ease);
}
.soc:hover{background:var(--linen);border-color:rgba(43,35,32,.28);color:var(--espresso);transform:translateY(-1px)}
.soc__i{display:grid;place-items:center;width:19px;height:19px;flex:0 0 auto}
.soc__i img{width:100%;height:100%;object-fit:contain}
.soc.is-empty .soc__i{display:none}

/* 2x2 grid at ~125% of the base size. Used in both the contact block and the
   footer so the two read as the same component.

   The pill stays LIGHT in both places, including on the dark footer. That is
   deliberate: the icons are the brands' full-colour marks, and TikTok's tile
   and Facebook's badge are near-black — on an espresso background they all but
   vanish. A light pill lets every mark read at full colour on either surface.

   min-width:0 is required — grid items default to min-width:auto, so a pill
   wider than its track overflows and collides with its neighbour. */
.social--grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.55rem;max-width:360px;
}
.social--grid .soc{
  min-width:0;justify-content:center;
  font-size:1.06rem;padding:.78rem 1.05rem;min-height:55px;gap:.6rem;
}
.social--grid .soc__i{width:26px;height:26px}

.ftr__btm{
  border-top:1px solid rgba(250,246,241,.15);padding-block:1.5rem;
  display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;justify-content:space-between;
  font-size:.76rem;color:rgba(250,246,241,.5);
}
.ftr__btm p{margin:0}


/* ---------- scroll reveal ---------- */
.rv{opacity:0;transform:translateY(20px);transition:opacity .5s var(--ease),transform .5s var(--ease)}
.rv.is-in{opacity:1;transform:none}

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