/* 720 Ink Studio — site-v7. Written for these four pages; no base, kit or framework.
   Every colour is sampled from the studio's flash sheet (assets/flash-sheet.jpg); origins in NOTES.md. */

@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* the masked figure's robe and its wash, sampled down the drawing */
  --ground: #1d1d1d;   /* robe, y=760 */
  --deep: #141414;     /* robe, darkest quartile — footer field */
  --lift: #2d2d2d;     /* wash, y=840 — secondary button, table stripe */
  --step: #3c3c3c;     /* wash, y=860 — table rule */
  --muted: #a9a9a9;    /* wash foot, y=960 — secondary text (7.6:1 on ground) */
  --ink: #ededed;      /* the sheet's paper white stepped down for text on dark */
  --paper: #ffffff;    /* the paper — only ever the sheet itself */
  /* the balloon */
  --red: #b61117;      /* median of the balloon's reds — the action, nothing else */
  --red-hover: #c0070d;/* the balloon's lit side (lower quartile by luminance) */

  --font: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --s-small: 0.875rem;                        /* 14 */
  --s-body: 1.0625rem;                        /* 17 */
  --s-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); /* 18–21 */
  --s-h2: clamp(1.375rem, 1.25rem + 0.6vw, 1.75rem);      /* 22–28 */
  --s-h1: clamp(2rem, 1.7rem + 1.4vw, 2.75rem);           /* 32–44, never above 44 */

  --margin: clamp(20px, 4vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--s-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd, figure, table { margin: 0; }
h1 { font-size: var(--s-h1); line-height: 1.08; font-weight: 700; letter-spacing: -0.015em; }
h2 { font-size: var(--s-h2); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
h1, h2, h3, caption { text-wrap: balance; }
p { max-width: 62ch; text-wrap: pretty; }
a { touch-action: manipulation; }
.lead { font-size: var(--s-lead); line-height: 1.45; }
.muted { color: var(--muted); }

a { color: var(--ink); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-thickness: 2px; } }
:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }

.skip {
  position: absolute; left: var(--margin); top: -100px;
  background: var(--paper); color: var(--ground); padding: 12px 16px; font-weight: 700; z-index: 10;
}
.skip:focus { top: 8px; }

.wrap {
  width: 100%; max-width: calc(var(--max) + 2 * var(--margin)); margin-inline: auto;
  padding-left: max(var(--margin), env(safe-area-inset-left));
  padding-right: max(var(--margin), env(safe-area-inset-right));
}

/* ---- header: the name at reading size, three links ---- */
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px;
}
.name {
  font-weight: 700; font-size: 1.125rem; letter-spacing: 0; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav { display: flex; gap: 4px; list-style: none; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center;
  padding-inline: 10px; text-decoration: none; font-weight: 500;
}
@media (hover: hover) and (pointer: fine) { .nav a:hover { text-decoration: underline; } }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---- actions ---- */
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 20px;
  font-weight: 700; font-size: var(--s-body); line-height: 1.2; text-decoration: none;
  border-radius: 0;
  touch-action: manipulation;
  transition: background-color 120ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.btn-call { background: var(--red); color: var(--paper); }
.btn-text { background: var(--lift); color: var(--ink); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn-call:hover { background: var(--red-hover); }
  .btn-text:hover { background: var(--step); }
}
.links { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; padding: 0; }
.links a, .textlink { display: inline-flex; align-items: center; min-height: 44px; }

/* ---- the sheet, as an object on the ground ---- */
.sheet { background: var(--paper); align-self: start; }
.sheet img { width: 100%; aspect-ratio: 1; }

/* ---- hours: a plain table at reading size ---- */
.hours { border-collapse: collapse; width: 100%; max-width: 26rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--step); font-size: var(--s-body); }
.hours th { font-weight: 500; padding-right: 24px; }
.hours td { text-align: right; }
.hours caption { text-align: left; font-size: var(--s-h2); font-weight: 700; line-height: 1.2; padding-bottom: 8px; }

main { padding-bottom: clamp(64px, 9vw, 120px); }

/* ---- Home ---- */
.home-hero {
  display: grid; gap: 24px 64px; padding-top: 8px;
  grid-template-columns: 1fr;
  grid-template-areas: "sheet" "intro" "hours";
}
.home-hero .sheet { grid-area: sheet; }
.home-hero .intro { grid-area: intro; display: grid; gap: 16px; align-content: start; }
.home-hero .week { grid-area: hours; padding-top: 24px; }
@media (min-width: 900px) {
  .home-hero {
    grid-template-columns: min(56%, calc(100svh - 120px), 640px) 1fr;
    grid-template-areas: "sheet intro" "sheet hours";
    grid-template-rows: auto 1fr;
    padding-top: 16px;
  }
  .home-hero .week { padding-top: 16px; }
}

/* ---- inner pages ---- */
.page-head { padding-top: 24px; display: grid; gap: 16px; }
.section { padding-top: clamp(48px, 7vw, 96px); }

/* Flash: the sheet beside the intro, then each design at its own size */
.flash-top { display: grid; gap: 24px 64px; padding-top: 24px; align-items: start; }
.flash-top .intro { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .flash-top { grid-template-columns: 1fr minmax(0, 480px); }
}
.designs { list-style: none; padding: 0; display: grid; gap: clamp(56px, 8vw, 96px); }
.design { display: grid; gap: 16px 48px; align-items: start; }
@media (min-width: 760px) {
  .design { grid-template-columns: 420px 1fr; }
}
.design figure { background: transparent; }
/* each crop keeps its size on the sheet: native pixels on desktop, one shared 0.85 scale on phones */
.design img { --s: 0.85; width: calc(var(--w) * var(--s)); max-width: 100%; background: var(--paper); }
@media (min-width: 760px) { .design img { --s: 1; } }
.d-balloon img { --w: 252px; }
.d-hands img   { --w: 397px; }
.d-skull img   { --w: 257px; }
.d-clown img   { --w: 264px; }
.d-masked img  { --w: 199px; }
.d-spirits img { --w: 297px; }
.design h3 { font-size: var(--s-h2); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.design .text { display: grid; gap: 10px; align-content: start; }
.design .place { color: var(--muted); }

/* Visit */
.visit-grid { display: grid; gap: 40px 64px; padding-top: 32px; }
@media (min-width: 760px) { .visit-grid { grid-template-columns: 1fr 1fr; } }
.visit-grid address { font-style: normal; font-size: var(--s-lead); line-height: 1.45; }
.visit-grid .block { display: grid; gap: 8px; align-content: start; }
.visit-grid .block + .block { margin-top: 24px; }
.tel { font-size: var(--s-lead); }

/* Book */
.ways { display: grid; gap: 40px 48px; padding-top: 32px; }
@media (min-width: 900px) { .ways { grid-template-columns: 1.3fr 1fr 1fr; } }
.ways section { display: grid; gap: 12px; align-content: start; }

/* ---- footer: the name once, the stamp small ---- */
.site-foot { background: var(--deep); }
.site-foot .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap;
  padding-top: 28px; padding-bottom: max(28px, env(safe-area-inset-bottom));
}
.site-foot p { font-weight: 700; }
.site-foot img { width: 40px; height: 40px; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: background-color 120ms ease; }
  .btn:active { transform: none; }
}

/* ---- credit (footer, the standing standard) ---- */
.credit { display: inline-flex; align-items: center; gap: 10px; }
.site-foot .credit img { width: auto; height: 30px; }
.credit span { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* ---- home design tiles ---- */
.tilegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; }
.tile { display: grid; gap: 8px; text-decoration: none; }
.tile img { width: 100%; height: 180px; object-fit: cover; object-position: center; background: var(--paper); }
.tile span { font-weight: 700; }
@media (min-width: 760px) { .tilegrid { grid-template-columns: repeat(3, 1fr); } .tile img { height: 220px; } }

/* ---- booking flow ---- */
.flow section { padding-top: 28px; }
.flow h2 .step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lift); color: var(--ink); font-size: var(--s-small); margin-right: 8px; vertical-align: 3px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.choice { display: inline-flex; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; background: var(--lift); font-weight: 700; cursor: pointer; }
.choice input:checked + span { background: var(--paper); color: var(--ground); }
.choice input:focus-visible + span { outline: 3px solid var(--paper); outline-offset: 3px; }
.pickgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; margin-top: 16px; }
.pick { display: grid; gap: 8px; cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick img { width: 100%; height: 160px; object-fit: cover; background: var(--paper); }
.pick span { font-weight: 700; }
.pick input:checked ~ span { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.pick input:checked ~ img { outline: 3px solid var(--red); outline-offset: 2px; }
.pick input:focus-visible ~ img { outline: 3px solid var(--paper); outline-offset: 2px; }
@media (min-width: 760px) { .pickgrid { grid-template-columns: repeat(3, 1fr); } }
.field { margin-top: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; background: var(--lift); color: var(--ink); border: 1px solid var(--step); padding: 12px 14px; font: inherit; border-radius: 0; }
.fieldrow { display: grid; gap: 0 16px; }
@media (min-width: 760px) { .fieldrow { grid-template-columns: 1fr 1fr; } }
.review { background: var(--lift); padding: 18px; margin-top: 14px; }
.review-label { font-weight: 700; margin-bottom: 8px; }
.review-body { white-space: pre-line; }

/* ---- work galleries ---- */
.workgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; }
.workgrid figure { display: grid; gap: 8px; }
.workgrid img { width: 100%; height: 220px; object-fit: cover; }
.workgrid figcaption { color: var(--muted); font-size: var(--s-small); font-weight: 600; }
@media (min-width: 760px) { .workgrid { grid-template-columns: repeat(4, 1fr); } .workgrid img { height: 260px; } }
.sent-note { margin-top: 14px; font-weight: 700; }

/* ---- v10: hero photo, custom steps, legal links ---- */
.hero-photo img { width: 100%; height: 46vh; min-height: 260px; object-fit: cover; object-position: center 30%; }
.steplist { display: grid; gap: 12px; list-style: none; padding: 0; counter-reset: none; }
.steplist li { background: var(--lift); padding: 14px 16px; }
.legal-links { padding-top: 0; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.legal-links p { font-weight: 600; font-size: var(--s-small); }
.legal-links a { color: var(--muted); }

/* ================= v11 professional layer =================
   Benchmarks: Bang Bang NYC (tracked-caps display + detail register,
   one filled action, sections separated by air) and Three Kings Tattoo
   (restraint, small-caps labelling, generous margins). Facts, structure,
   legal set and the form are untouched; this layer is presentation only. */

/* type: a larger, tracked display register */
h1 { font-size: clamp(2.5rem, 2.05rem + 2.3vw, 4rem); line-height: 1.02; font-weight: 650; letter-spacing: 0.005em; }
h2 { font-size: 1.3rem; line-height: 1.25; font-weight: 650; text-transform: uppercase; letter-spacing: 0.13em; }
.lead { line-height: 1.55; }
.page-head { padding-top: clamp(40px, 6vw, 64px); }

/* header: the name and nav in the label register */
.name { text-transform: uppercase; letter-spacing: 0.09em; font-size: 1rem; }
.nav a { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 600; }

/* hero: subdued photograph, the type leads */
.hero { position: relative; }
.hero-photo img { height: 54vh; min-height: 300px; filter: brightness(0.66); }
.hero-type { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 4px; }
.hero-type h1 { text-transform: uppercase; letter-spacing: 0.04em; }
.hero-addr { margin-top: 8px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--ink); }

/* actions: one filled, the rest ghost */
.btn { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.92rem; min-height: 52px; padding: 12px 24px; }
.btn-text { background: transparent; border: 1px solid var(--step); }
@media (hover: hover) and (pointer: fine) { .btn-text:hover { background: var(--lift); } }

/* sections: air, not boxes */
.section { padding-top: clamp(56px, 9vw, 88px); }
.workgrid { gap: 16px; }
.workgrid figcaption { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.76rem; font-weight: 600; }
.steplist li { background: transparent; border-top: 1px solid var(--step); padding: 16px 2px; }
.steplist li strong { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; }

/* data register: hours in the detail face */
.hours th { text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.82rem; color: var(--muted); }
.hours th, .hours td { padding: 11px 0; }

/* form polish: fields on the ground with a hairline; choices as ghosts */
.field input, .field textarea, .field select { background: var(--ground); border-color: var(--step); }
.choice span { background: transparent; border: 1px solid var(--step); }
.choice input:checked + span { border-color: var(--paper); }

/* footer: the name in the label register */
.site-foot p { text-transform: uppercase; letter-spacing: 0.09em; }
.legal-links p { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.76rem; }
.credit span { text-transform: none; letter-spacing: 0; }

/* v11 fix: the tracked header name never wraps; nav tightens on phones */
.name { white-space: nowrap; }
@media (max-width: 480px) {
  .name { font-size: 0.92rem; }
  .nav a { padding-inline: 7px; letter-spacing: 0.07em; }
}
@media (max-width: 480px) {
  .btn { font-size: 0.84rem; letter-spacing: 0.06em; padding: 12px 18px; }
}
