/* Parramore Stylin' — tokens from design/DESIGN.md.
   Palette built by the HSL procedure (amber, hue 36; warm neutrals,
   hue 40). Calibration: skill-issue-in (serif in two voices, paper +
   sheet), emilkowal-ski (warm ink/paper, gap jumps), linear-app
   (staircase math). System faces only; no external requests. */
:root {
  --paper: #f6f2ea;
  --sheet: #fdfbf7;
  --surface: #efe9dc;
  --ink-1: #221d15;
  --ink-2: #514739;
  --ink-3: #7d7261;
  --accent: #975f0c;
  --accent-dark: #7b4e0a;
  --accent-soft: #f9e5c7;
  --accent-band: #eeae4f;
  --band: #211a12;
  --band-ink: #f7f2e7;
  --band-muted: #bdb09a;
  --line: rgba(34, 29, 21, 0.14);
  --line-band: rgba(247, 242, 231, 0.22);
  --font-display: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1200px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--ink-3) var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink-1);
}

a {
  color: inherit;
  touch-action: manipulation;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--ink-1);
  outline-offset: 3px;
}

.band a:focus-visible,
.band .button:focus-visible {
  outline-color: var(--band-ink);
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 24px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 40;
  padding: 12px 16px;
  background: var(--ink-1);
  color: var(--sheet);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Sheet on the paper frame ---------- */

.sheet {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--sheet);
  box-shadow: 0 24px 64px rgba(33, 26, 18, 0.18);
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-row {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 52px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink-1);
  color: var(--sheet);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
}

.brand-mark .apos {
  color: var(--accent-band);
  margin-left: 1px;
}

.brand-words {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-1);
}

.brand-sub {
  margin-top: 3px;
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 500;
}

.site-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin: 0 -10px;
  padding: 0 10px;
  color: var(--ink-1);
  font-weight: 500;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: var(--ink-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease-out);
}

/* ---------- Buttons: one style, soft radius ---------- */

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--sheet);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
  transition: background-color 150ms ease, transform 120ms var(--ease-out);
}

.button:active {
  transform: scale(0.98);
}

.button-inv {
  background: var(--band-ink);
  color: var(--band);
}

.header-row .button {
  min-height: 48px;
  padding: 0 18px;
  font-size: 0.95rem;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    background: var(--accent-dark);
  }

  .button-inv:hover {
    background: #ffffff;
  }

  .site-nav a:hover::after {
    transform: scaleX(1);
  }

  .arrow-link:hover .arrow {
    transform: translateX(3px);
  }
}

.arrow {
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}

.arrow-link {
  text-underline-offset: 4px;
}

/* ---------- Hero: category, then the name set large ---------- */

.hero-inner {
  padding: 96px 0 104px;
}

.hero h1 {
  max-width: 21ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink-1);
  text-wrap: balance;
}

/* Boldness is spent here: the name at display scale, its apostrophe
   in the one accent. */
.hero-name {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 9vw, 8.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.02;
  color: var(--ink-1);
  white-space: nowrap;
}

.hero-name .apos {
  color: var(--accent);
}

.hero-sub {
  max-width: 560px;
  margin: 32px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  line-height: 1.5;
}

.hero-action {
  margin: 40px 0 0;
}

/* The one entrance: hero content rises once on load. */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner [data-enter] {
  animation: rise 560ms var(--ease-out) backwards;
}

.hero-inner [data-enter]:nth-child(2) {
  animation-delay: 70ms;
}

.hero-inner [data-enter]:nth-child(3) {
  animation-delay: 140ms;
}

.hero-inner [data-enter]:nth-child(4) {
  animation-delay: 210ms;
}

/* ---------- Sections ---------- */

.section {
  padding: 96px 0;
}

.section h2 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink-1);
}

/* ---------- Visit ---------- */

.visit {
  padding-top: 0;
}

.visit-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
  align-items: stretch;
}

.visit-panel {
  padding: 48px;
  background: var(--surface);
  border-radius: var(--radius);
}

.visit-panel p {
  margin: 0;
}

.visit-address {
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-1);
}

.visit-address a {
  text-decoration: none;
}

.visit-phone {
  margin-top: 20px;
  font-size: 1.25rem;
  line-height: 1.5;
}

.visit-phone a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 600;
  color: var(--ink-1);
  text-underline-offset: 4px;
}

.visit-directions {
  margin-top: 12px;
  font-size: 1rem;
}

.visit-directions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 500;
  color: var(--ink-1);
}

.visit-proof {
  margin: 0;
  align-self: center;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-1);
}

/* ---------- The shop: statement, figures, record ---------- */

.shop {
  border-top: 1px solid var(--line);
}

.statement {
  max-width: 24ch;
  margin: 48px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.4vw, 3.375rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink-1);
  text-wrap: balance;
}

.figures {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.figure {
  padding-top: 24px;
  border-top: 2px solid var(--ink-1);
}

.figure p {
  margin: 0;
}

.figure-num {
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
}

.figure-cap {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-2);
}

.shop-text {
  margin-top: 64px;
  max-width: 620px;
}

.shop-text p {
  margin: 0 0 16px;
  font-size: 1.15rem;
  line-height: 1.55;
}

.shop-text p:last-child {
  margin-bottom: 0;
}

/* ---------- Close: the dark field, earned last ---------- */

.band {
  background: var(--band);
  color: var(--band-ink);
}

.close {
  padding: 96px 0 64px;
  overflow: hidden;
}

.close h2 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.close-line {
  margin: 24px 0 0;
  color: var(--band-muted);
  font-size: 1.15rem;
}

.close-action {
  margin: 36px 0 0;
}

.close-name {
  margin: 64px 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10.6vw, 9.375rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  white-space: nowrap;
}

.close-name .apos {
  color: var(--accent-band);
}

/* ---------- Footer: columns ---------- */

.site-footer {
  padding: 72px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-1);
}

.footer-col p {
  margin: 0 0 6px;
  line-height: 1.5;
}

.footer-col a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-left: -8px;
  padding: 0 8px;
  color: var(--ink-1);
  font-weight: 500;
  text-underline-offset: 4px;
}

.legal-row {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-row p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.88rem;
}

/* ---------- Phone bar ---------- */

.phone-bar {
  display: none;
}

/* ---------- Small screens ---------- */

@media (max-width: 820px) {
  body {
    font-size: 16px;
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .sheet {
    box-shadow: none;
  }

  .wrap {
    width: min(var(--wrap), calc(100% - 36px));
  }

  .header-row {
    min-height: 74px;
    gap: 16px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .brand-name {
    font-size: 1.28rem;
  }

  .brand-sub {
    font-size: 0.78rem;
  }

  .site-nav {
    display: none;
  }

  .header-row .button {
    margin-left: auto;
    padding: 0 2px;
    font-size: 0.8rem;
    letter-spacing: -0.01em;
    /* Critique r1, issue 3: unfilled on phone — the sticky bar's
       call is the one filled action per viewport. */
    background: transparent;
    color: var(--ink-1);
    white-space: nowrap;
  }

  .hero-inner {
    padding: 56px 0 64px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10.5vw, 3.4rem);
  }

  .hero-name {
    margin-top: 24px;
    font-size: clamp(3rem, 17.5vw, 4.5rem);
    white-space: normal;
  }

  .hero-sub {
    margin-top: 24px;
  }

  .hero-action {
    margin-top: 32px;
  }

  .hero-action .button {
    /* Critique r1, issue 3: text link on phone, not a second fill. */
    width: auto;
    background: transparent;
    color: var(--accent-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 5px;
    justify-content: flex-start;
    padding: 0;
  }

  .section {
    padding: 64px 0;
  }

  .visit {
    padding-top: 0;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .visit-panel {
    padding: 24px;
  }

  .visit-address,
  .visit-phone {
    font-size: 1.125rem;
  }

  .statement {
    margin-top: 36px;
  }

  .figures {
    margin-top: 48px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .figure {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
  }

  .figure:last-child {
    border-bottom: 1px solid var(--line);
  }

  .figure-num {
    min-width: 108px;
    font-size: 2.25rem;
  }

  .figure-cap {
    margin-top: 0;
  }

  .shop-text {
    margin-top: 48px;
  }

  .close {
    padding-top: 64px;
  }

  .close-action .button {
    width: 100%;
  }

  .close-name {
    margin-top: 48px;
    font-size: clamp(3rem, 15.5vw, 4.6rem);
    white-space: normal;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .phone-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--sheet);
    border-top: 1px solid var(--line);
  }

  .phone-bar .button {
    min-height: 52px;
    padding: 0 12px;
    font-size: 0.95rem;
  }

  .phone-call {
    flex: 1.35;
  }

  .phone-directions {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(34, 29, 21, 0.35);
    color: var(--ink-1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-inner [data-enter] {
    animation: none;
  }

  .button,
  .site-nav a::after,
  .arrow {
    transition: none;
  }

  .button:active {
    transform: none;
  }
}
