/* Corner Cuts — site styles
   Tokens come from Jeff's own material: the charcoal backdrop in his photos,
   the red of his logo, the cool grey of the clipper. One typeface (Archivo
   variable) in two widths: expanded for headlines, normal for everything else. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 99%;
  ascent-override: 88%;
  descent-override: 20%;
  line-gap-override: 0%;
}

:root {
  --paper: #f2f2f0;
  --paper-2: #e7e8e6;
  --paper-3: #dcdedb;
  --ink: #141518;
  --ink-2: #4a4c52;
  --ink-3: #6b6e75;
  --chair: #1a1c21;
  --chair-2: #22252b;
  --chair-3: #2b2f36;
  --on-chair: #f4f4f2;
  --on-chair-2: #b8bbc1;
  --red: #e11d26;      /* logo red: large text and marks on dark */
  --red-ink: #c8102e;  /* buttons and small accents on paper */
  --red-deep: #a30d25;
  --focus: var(--red-ink);

  --font: "Archivo", "Archivo Fallback", Arial, Helvetica, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 9vw, 112px);

  --r-sm: 6px;
  --r-md: 10px;
  --r-img: 4px;

  --ease-out: cubic-bezier(.2, 0, 0, 1);
  --fast: 160ms;
  --base: 240ms;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; }
@media (max-width: 719px) { html { scroll-padding-top: 16px; scroll-padding-bottom: 96px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.hero :focus-visible, .work :focus-visible, .site-foot :focus-visible { outline-color: var(--red); }

.skip {
  position: absolute; left: 12px; top: -60px;
  padding: 10px 14px; background: var(--ink); color: var(--on-chair);
  border-radius: var(--r-sm); font-weight: 600; z-index: 100;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* ---------- Type ---------- */
.display, h1, h2 {
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 0.98;
}
h1 { font-size: clamp(2.75rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; }
.lede { font-size: 1.125rem; color: var(--ink-2); max-width: 56ch; }
.section-head { margin-bottom: 2rem; }
.section-head h2 + .lede { margin-top: 0.9rem; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 1.25rem;
  font: inherit; font-weight: 700; text-decoration: none; letter-spacing: 0.01em;
  border-radius: var(--r-sm); border: 2px solid transparent;
  transition: transform var(--fast) var(--ease-out), background-color var(--fast), border-color var(--fast);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 0 1.6rem; font-size: 1.0625rem; }
.btn-red { background: var(--red-ink); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { background: transparent; color: var(--on-chair); border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); }

.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 1px;
}
.text-link::after, .svc-book::after { content: " \2192"; }
.text-link:hover { color: var(--red-ink); }
.work .text-link:hover { color: var(--red); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--paper-3);
}
@supports (backdrop-filter: blur(1px)) {
  .site-head { backdrop-filter: blur(10px); }
  @media (prefers-reduced-transparency: reduce) { .site-head { background: var(--paper); backdrop-filter: none; } }
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: auto; height: 54px; }
.site-nav { display: flex; gap: 0.25rem; justify-content: center; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem;
  font-weight: 600; text-decoration: none; color: var(--ink-2); border-radius: var(--r-sm);
}
.site-nav a:hover { color: var(--ink); background: var(--paper-2); }
.head-book { min-width: 92px; }

@media (max-width: 719px) {
  /* On phones the header scrolls away; the bottom Book bar takes over. */
  .site-head { position: static; grid-template-columns: 1fr auto; row-gap: 2px; padding-bottom: 4px; }
  .brand img { height: 40px; }
  .head-book { order: 2; }
  .site-nav { order: 3; grid-column: 1 / -1; justify-content: flex-start; margin-inline: -6px; overflow-x: auto; }
  .site-nav a { padding: 0 0.7rem; min-height: 44px; font-size: 0.95rem; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 70% at 70% -10%, rgba(255,255,255,.07), transparent 60%),
    var(--chair);
  color: var(--on-chair);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--wrap); margin-inline: auto; padding: clamp(40px, 7vw, 96px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(24px, 5vw, 64px);
}
.hero h1 { max-width: 11ch; }
.deck { margin-top: 1.25rem; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--on-chair-2); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hours-line {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem;
  margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 0.95rem; color: var(--on-chair-2);
}
.hours-line strong { color: var(--on-chair); font-weight: 700; }
.hero-art img { width: 100%; max-width: 560px; margin-inline: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-width: min(78vw, 420px); }
  .hero h1 { max-width: none; }
}

/* ---------- Cuts (the menu) ---------- */
.plus-inline { color: var(--red-ink); font-weight: 800; }

.menu-foot { margin-top: 1.5rem; color: var(--ink-2); font-size: 0.97rem; }
.how {
  display: grid; gap: 0.7rem;
  margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--paper-3);
}
.how div { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 0.2rem 1.5rem; align-items: baseline; }
.how dt { font-weight: 800; font-stretch: 112%; letter-spacing: -0.005em; font-size: 0.97rem; }
.how dd { margin: 0; color: var(--ink-2); font-size: 0.95rem; max-width: 62ch; }
@media (max-width: 719px) { .how div { grid-template-columns: 1fr; } }

.tabs-rail { position: sticky; top: 74px; z-index: 10; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); background: var(--paper); }
@media (max-width: 719px) {
  /* All seven tabs visible at once: two rows, nothing pinned. */
  .tabs-rail { position: static; }
  .tabs { flex-wrap: wrap; overflow: visible; gap: 0.4rem; }
  .tab { min-height: 42px; padding: 0 0.9rem; }
  .tab-all { margin-left: 0; }
}
.tabs {
  display: flex; gap: 0.35rem; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  padding: 0.5rem 0 0.75rem; border-bottom: 1px solid var(--paper-3);
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; scroll-snap-align: start;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  border-radius: 999px; border: 1.5px solid var(--paper-3);
  font-weight: 700; text-decoration: none; color: var(--ink-2); background: transparent; white-space: nowrap;
  transition: background-color var(--fast), color var(--fast), border-color var(--fast);
}
.tab:hover { border-color: var(--ink-3); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--on-chair); border-color: var(--ink); }
.tab-all { margin-left: auto; }

.panel { padding-top: 1.75rem; scroll-margin-top: 150px; }
@media (max-width: 719px) { .panel { scroll-margin-top: 16px; } }
.panel-title { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.panel-title span { font-size: 0.95rem; font-weight: 500; color: var(--ink-3); }
.panel-note { color: var(--ink-2); margin: -0.5rem 0 1.1rem; max-width: 60ch; }
.panel-start .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .panel-start .svc-grid { grid-template-columns: 1fr; } }
.panel-start .svc-note { font-size: 1rem; color: var(--ink); }
/* With JS, only the selected panel shows. Without JS every panel stays visible. */
.js .panel[hidden] { display: none; }
.js .panel { animation: panel-in var(--base) var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .panel { animation: fade-in var(--base); } @keyframes fade-in { from { opacity: 0; } } }

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
@media (max-width: 719px) { .svc-grid { grid-template-columns: 1fr; } }

.svc {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main meta" "book book";
  gap: 0.5rem 1rem; align-items: start;
  padding: 1.1rem 1.2rem 1rem;
  background: #fff; border-radius: var(--r-md);
  box-shadow: 0 1px 0 rgba(20,21,24,.06), 0 10px 24px -18px rgba(20,21,24,.25);
  transition: transform var(--fast) var(--ease-out), box-shadow var(--fast);
}
.svc:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(20,21,24,.06), 0 16px 28px -16px rgba(20,21,24,.3); }
.svc-main { grid-area: main; display: grid; gap: 0.2rem; }
.svc-tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--red-ink); }
.svc-name { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.svc-note { color: var(--ink-2); font-size: 0.95rem; }
.svc-deposit {
  margin-top: 0.35rem; justify-self: start;
  font-size: 0.8rem; font-weight: 700; color: var(--red-deep);
  padding: 3px 8px; border-radius: 4px; background: #fbe9eb;
}
.svc-meta { grid-area: meta; text-align: right; }
.svc-price { font-size: 1.75rem; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1; }
.svc-price sup { font-size: 0.6em; color: var(--red-ink); vertical-align: 0.45em; margin-left: 1px; }
.svc-price-text { font-size: 1.05rem; font-weight: 700; }
.svc-time { font-size: 0.85rem; color: var(--ink-3); margin-top: 0.3rem; }
.svc-book {
  grid-area: book; justify-self: end;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem; margin-right: -0.75rem;
  font-weight: 700; text-decoration: none; color: var(--red-ink);
}
.svc-book:hover { color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; }

.price-table { width: 100%; max-width: 760px; border-collapse: collapse; margin-bottom: 1.5rem; }
.price-table th, .price-table td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--paper-3); vertical-align: top; }
.price-table thead th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); border-bottom: 2px solid var(--ink); }
.price-table .num { text-align: right; white-space: nowrap; }
.price-table tbody td:first-child { font-weight: 600; }
.price-table small { display: block; font-size: 0.8rem; font-weight: 500; color: var(--red-deep); }
.price-table .group th { padding-top: 1.4rem; font-stretch: 112%; font-weight: 800; font-size: 1.05rem; border-bottom: 1px solid var(--ink); }
.table-foot { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 1.25rem; }

/* ---------- Work ---------- */
.work { background: var(--chair); color: var(--on-chair); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.work-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-img); background: var(--chair-2); }
@media (max-width: 719px) {
  .work-grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .work-grid li { flex: 0 0 72%; scroll-snap-align: start; }
}

/* ---------- Jeff ---------- */
.jeff-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.jeff-figure { margin: 0; }
.jeff-figure img { width: 100%; border-radius: var(--r-md); box-shadow: 0 24px 40px -28px rgba(20,21,24,.6); }
.jeff-copy h2 { margin-bottom: 1rem; }
.jeff-copy > p { font-size: 1.125rem; color: var(--ink-2); max-width: 54ch; }
.quote { margin: 0; }
.quote p { font-size: 1.05rem; line-height: 1.5; }
.quote footer { margin-top: 0.5rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.quote-lead { margin-top: 2.25rem; position: relative; padding-left: 2.4rem; }
.quote-lead::before {
  content: "\201C"; position: absolute; left: -0.1rem; top: -0.35em;
  font-size: 4.5rem; font-weight: 800; font-stretch: 125%; line-height: 1; color: var(--red-ink);
}
.quote-lead p { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; font-stretch: 108%; letter-spacing: -0.01em; line-height: 1.3; }
.quote-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--paper-3); }
@media (max-width: 860px) { .jeff-grid { grid-template-columns: 1fr; } .jeff-figure { max-width: 520px; } }
@media (max-width: 600px) { .quote-pair { grid-template-columns: 1fr; } }

/* ---------- Visit ---------- */
.visit { background: var(--paper-2); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.visit h2 { margin-bottom: 1.5rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours th, .hours td { padding: 0.55rem 0; border-bottom: 1px solid var(--paper-3); text-align: left; font-size: 1.05rem; }
.hours th { font-weight: 700; width: 4.5rem; }
.hours td { font-weight: 500; }
.hours .closed th, .hours .closed td { color: var(--ink-2); font-weight: 500; }
.open-at { font-weight: 800; color: var(--red-ink); }
.addr { font-style: normal; margin: 1.5rem 0 0.75rem; line-height: 1.5; }
.visit-policy h3 { margin-bottom: 1rem; }
.policy { margin: 0; display: grid; gap: 1.1rem; }
.policy div { display: grid; gap: 0.2rem; }
.policy dt { font-weight: 800; }
.policy dd { margin: 0; color: var(--ink-2); }
.policy a { color: var(--red-ink); font-weight: 600; }
.visit-policy .btn { margin-top: 1.75rem; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--chair); color: var(--on-chair-2); padding-block: 2.5rem; }
.foot-grid { display: grid; grid-template-columns: auto 1fr; gap: 1rem 2rem; align-items: center; }
.foot-logo { height: 56px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; justify-self: end; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.6rem; color: var(--on-chair); font-weight: 600; text-decoration: none; }
.foot-links a:hover { color: var(--red); }
.foot-meta { grid-column: 1 / -1; font-size: 0.9rem; line-height: 1.6; }
.foot-demo { color: var(--on-chair-2); } /* preview build only: remove at launch */
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; } .foot-links { justify-self: start; margin-left: -0.6rem; } }

/* ---------- Mobile Book bar ---------- */
.book-bar { display: none; }
@media (max-width: 719px) {
  /* Sticky to the bottom of the viewport; sits in flow after the footer at page end. */
  .book-bar {
    display: block; position: sticky; bottom: 0; z-index: 30;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--paper); border-top: 1px solid var(--paper-3);
    transition: transform var(--base) var(--ease-out);
  }
  .book-bar .btn { width: 100%; }
  .js .book-bar { transition: transform var(--base) var(--ease-out), visibility 0s linear 0s; }
  .js .book-bar:not(.is-visible) { transform: translateY(110%); visibility: hidden; transition-delay: 0s, var(--base); }
}

/* ---------- Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn, .svc, .tab, .book-bar { transition: none; }
  .svc:hover { transform: none; }
}
@media (prefers-contrast: more) {
  .svc { box-shadow: none; border: 1.5px solid var(--ink); }
  .tab { border-color: var(--ink-2); }
}
@media (forced-colors: active) {
  .btn, .tab, .svc { border: 2px solid ButtonText; }
  .tab[aria-selected="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
}
