/* ============================================================
   CORINA WU McFADEN — shared styles
   Dark + cream gallery, grotesque + mono, bordered buttons.
   FONT SWAP: to use a different display face (e.g. a licensed
   Helvetica/Neue Haas), change --grotesk below and the <link>
   in the <head> of index.html and case.html.
   ============================================================ */

:root {
  /* Theme: "Forest & Gold" — deep forest-green ground, near-white copy,
     gold rules. (--cream is the legacy name for the primary TEXT colour.) */
  --bg:          #01261C;   /* deep forest green — page ground */
  --bg-2:        #062E1F;   /* panels / nav / wells — sits close to --bg so it
                               doesn't lift the field; gold borders keep pills legible */
  --cream:       #F2F2F2;   /* copy */
  --cream-dim:   rgba(242, 242, 242, 0.62);
  --cream-faint: rgba(242, 242, 242, 0.42);
  --line:        rgba(166, 127, 55, 0.35);  /* #A67F37 gold — rules */
  --line-mid:    rgba(166, 127, 55, 0.65);  /* stronger gold — buttons */

  --grotesk: "Archivo", Helvetica, Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 100%;
  --gutter: clamp(20px, 4vw, 60px);
  --radius: 3px;            /* shared corner radius: buttons, tags, filter bar */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--grotesk);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--cream); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

/* ---------- shared atoms ---------- */
.mono {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  padding: 13px 17px;
  background: transparent;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s;
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.btn .arr { font-size: 13px; }

.tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 5px 9px;
  white-space: nowrap;
}

/* ---------- nav ---------- */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 18px var(--gutter);
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
  width: min(760px, calc(100vw - 32px));
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 22px;
}
.nav .wordmark {
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: var(--grotesk);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.nav .links {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav .links-left  { flex: 1; justify-content: flex-start; min-width: 0; }
.nav .links-right { flex: 1; justify-content: flex-end;   min-width: 0; }
.nav .links a { position: relative; color: var(--cream-dim); transition: color .25s; }
.nav .links a:hover, .nav .links a.active { color: var(--cream); }

.get-in-touch {
  pointer-events: auto;
  position: fixed;
  top: 18px; right: var(--gutter);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 18px 12px 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.get-in-touch .dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #A67F37, #A6763C);   /* both palette golds */
  display: grid; place-items: center;
  font-weight: 800; font-size: 12px; color: var(--bg);
  font-family: var(--grotesk);
}
@media (max-width: 760px) {
  .get-in-touch { display: none; }
  /* phone nav: just the name (left) and Contact (right) */
  .nav { gap: 8px; padding: 11px 16px; width: calc(100vw - 20px); }
  .nav .links-left, .nav .nav-store { display: none; }
  .nav .links { font-size: 11px; }
  .nav .wordmark { font-size: 14px; }
}

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: clamp(60px, 12vh, 140px) var(--gutter) 0;
}
.foot-inner { max-width: var(--maxw); margin: 0 auto; }
.foot h2 {
  font-family: var(--grotesk);
  font-weight: 800;
  font-size: clamp(34px, 6.4vw, 90px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.foot .lead { margin-top: 24px; max-width: 44ch; color: var(--cream-dim); font-size: clamp(16px,1.6vw,20px); }
.foot-links {
  margin-top: clamp(32px,6vh,52px);
  display: flex; flex-wrap: wrap; gap: 14px 26px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
}
.foot-links a { border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color .25s; }
.foot-links a:hover { border-color: var(--cream); }
.colophon {
  max-width: var(--maxw); margin: clamp(48px,8vh,80px) auto 0;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cream-faint);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
