/* ==========================================================================
   ANSS — shared styles (tokens, reset, nav, footer, utilities)
   Breakpoints mirror the Framer project:
     Desktop  ≥ 1440px  (fixed 1440 compositions, centered)
     Phone    < 1440px  (fluid, designed at 390px)
   ========================================================================== */

:root {
  /* Color tokens (from Framer) */
  --paper: #F8EAE4;        /* Paper / Blush */
  --ink: #0A0A0A;          /* Ink */
  --orange: #FB5915;       /* Orange */
  --signal: #F80607;       /* Signal Red */
  --deep-red: #810001;     /* Deep Red */
  --muted: #6B6963;        /* Muted */
  --sketch: #E8E5E0;       /* Sketch Paper */
  --brand: #F45831;        /* Section orange */

  /* Fonts */
  --f-display: "Big Shoulders", "Big Shoulders Display", Impact, sans-serif;
  --f-head: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-hand: "Gochi Hand", cursive;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.3, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Icons */
.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 16px;
  background: var(--brand);
  transition: transform 0.4s var(--ease-out), background-color 0.25s ease;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__links { display: none; }
.nav__logo { width: 94px; height: 32px; flex: none; }
.nav__logo img { width: 100%; height: 100%; }
.nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.nav__hours { display: none; }

.pill {
  display: inline-flex; align-items: center;
  padding: 12px 22px; border-radius: 999px;
  background: #fff; color: var(--ink);
  font: 600 16px/1.2 var(--f-body);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.pill:hover { background: #000; color: #fff; }

.talk {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 22px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font: 600 16px/1.2 var(--f-body);
}
.talk__arrow {
  width: 34px; height: 34px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--orange); color: #000;
}

@media (min-width: 1440px) {
  .nav { height: 96px; padding: 0 24px; }
  .nav__links { display: flex; flex: 1 1 0; gap: 8px; align-items: center; }
  .nav__logo { width: 111.4px; height: 37.86px; }
  .nav__right { flex: 1 1 0; }
  .nav__hours {
    display: block;
    font: 500 15px/1.15 var(--f-body);
    color: var(--paper);
  }
}

/* ---------- Section label (mono) ---------- */
.label-row {
  display: flex; gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--ink);
  font: 400 13px/1.2 var(--f-mono);
}
.label-row__n { color: var(--signal); }
.label-row__t { letter-spacing: 0.12em; }

/* ---------- Thumbnail strip ---------- */
.strip {
  height: 34px; width: 100%;
  background: var(--strip) center / cover no-repeat;
}

/* Portrait reveal (engraving → real photo under the brush) */
.reveal { position: relative; overflow: hidden; touch-action: pan-y; cursor: crosshair; }
.reveal > img, .reveal > canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; user-select: none;
}

/* ---------- Section label (generic) ---------- */
.lbl {
  display: flex; gap: 16px; padding-bottom: 12px;
  font: 400 13px/1.3 var(--f-mono);
  color: var(--lbl-t, var(--ink));
}
.lbl__n { color: var(--lbl-n, var(--signal)); }
.lbl__t { letter-spacing: 0.12em; }
.lbl--line { box-shadow: inset 0 -1.5px 0 var(--lbl-b, var(--ink)); }

/* ---------- Swirl texture ---------- */
.swirl {
  position: absolute; inset: 0; z-index: 0;
  background: #000; opacity: var(--swirl-o, 0.09); pointer-events: none;
  -webkit-mask: url('/assets/img/7ehRA2Gz63JG1YM7lRhOSmz09eA.png') top left / 264px repeat;
          mask: url('/assets/img/7ehRA2Gz63JG1YM7lRhOSmz09eA.png') top left / 264px repeat;
}

/* ---------- Appear on scroll (Framer "appear" effect) ---------- */
[data-appear] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-appear].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-appear] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Footer / Contact ---------- */
.footer {
  display: flex; flex-direction: column; align-items: center;
  padding: 72px 20px 0;
  background: var(--paper);
  overflow: clip;
}
.footer > * { width: 100%; }
.footer__top {
  display: flex; flex-direction: column; gap: 16px;
  padding: 36px 0 60px;
}
.footer__message { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.footer__headline {
  font: 900 52px/0.86 var(--f-display);
  text-transform: uppercase;
}
.footer__headline em { font-style: normal; color: var(--signal); }
.footer__email {
  font: 800 19px/1.2 var(--f-head);
  letter-spacing: -0.03em;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 0.06em;
  overflow-wrap: anywhere;
}
.cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 24px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font: 700 17px/1.2 var(--f-body);
  transition: transform 0.35s var(--spring);
}
.cta:hover { transform: scale(1.03); }
.cta__arrow {
  width: 42px; height: 42px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--signal); color: #000;
}
.cta__arrow .icon { width: 18px; height: 18px; }
.footer__art { display: flex; justify-content: flex-end; width: 100%; }
.footer__art img {
  width: 100%; height: 350px; object-fit: contain;
  mix-blend-mode: multiply;
}
.footer__info {
  display: flex; flex-direction: column; gap: 24px;
  padding: 30px 0 40px;
  border-top: 1.5px solid var(--ink);
}
.footer__info dl { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__info dt {
  font: 400 11px/1.2 var(--f-mono);
  letter-spacing: 0.1em; color: var(--muted);
}
.footer__info dd { margin: 0; font: 600 17px/1.2 var(--f-body); }
.footer__info a:hover { text-decoration: underline; }
.footer__wordmark {
  display: block;
  font: 900 150px/0.82 var(--f-display);
  color: var(--brand);
  text-align: center;
}
.footer__colophon {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 0 24px;
  border-top: 1.5px solid rgba(10, 10, 10, 0.3);
  font: 400 11px/1.3 var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (min-width: 1440px) {
  .footer { padding: 96px 48px 0; }
  .footer > * { width: 1344px; }
  .footer__top { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 0; }
  .footer__message { flex: 1 1 0; }
  .footer__headline { font-size: 104px; }
  .footer__email { font-size: 60px; }
  .footer__art { width: 440px; flex: none; }
  .footer__art img { width: 440px; height: 440px; object-fit: cover; }
  .footer__info { display: grid; grid-template-columns: repeat(4, 1fr); }
  .footer__wordmark { width: 1335px; font-size: 560px; }
  .footer__colophon { flex-direction: row; justify-content: space-between; gap: 0; }
}
