/* =====================================================================
   VANCE FLOORS — Editorial earth-tone aesthetic
   Display: Fraunces · Body: DM Sans
===================================================================== */

:root {
  /* Color */
  --bone:      #f3ecdf;
  --bone-2:    #ece2cf;
  --bone-3:    #e3d6bd;
  --ink:       #1c140e;
  --ink-2:     #3a2c20;
  --ink-soft:  #6f5c4b;
  --rust:      #a04a28;
  --rust-deep: #7c3919;
  --moss:      #3e4a32;
  --line:      rgba(28, 20, 14, 0.12);
  --line-soft: rgba(28, 20, 14, 0.06);

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
  --sans:  "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  /* Layout */
  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* =================== Reset =================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* Subtle paper texture (CSS-only) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background-image:
    radial-gradient(rgba(28, 20, 14, 0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
  opacity: 0.35;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--bone);
  padding: 12px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* =================== NAV =================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bone) 88%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-mark {
  width: 28px; height: 28px;
  display: inline-flex; color: var(--rust);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  font-variation-settings: "opsz" 14, "SOFT" 30;
  letter-spacing: -0.01em;
}
.logo-meta {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
  font-weight: 500;
}

.nav-links {
  justify-self: center;
  display: flex; gap: 28px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--rust);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: var(--bone);
  padding: 14px 26px;
  font-size: 15px;
}
.btn-primary:hover { background: var(--rust-deep); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--line);
  padding: 13px 22px; font-size: 15px;
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-call {
  background: var(--rust); color: var(--bone);
  padding: 9px 14px 9px 18px;
  display: inline-flex; align-items: baseline; gap: 8px;
  font-size: 13.5px;
}
.btn-call:hover { background: var(--rust-deep); }
.btn-call .btn-call-label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.8;
}
.btn-call .btn-call-num { font-variant-numeric: tabular-nums; font-weight: 500; }

.nav-toggle { display: none; }

/* =================== HERO =================== */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(56px, 7vw, 100px);
  max-width: var(--maxw);
  margin: 0 auto;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  grid-template-areas:
    "eyebrow card"
    "title   card"
    "lede    card"
    "actions card";
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: clamp(18px, 2.5vw, 36px);
  align-items: start;
  z-index: 2;
}
.hero-eyebrow { grid-area: eyebrow; }
.hero-title   { grid-area: title; }
.hero-lede    { grid-area: lede; }
.hero-actions { grid-area: actions; align-self: end; }
.hero-card    { grid-area: card; align-self: center; justify-self: end; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
  animation: rise .9s var(--ease) both;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.18);
  animation: pulse 2.5s ease-in-out infinite;
  transition: background .3s var(--ease);
}
.hero-eyebrow .eyebrow-sep {
  color: var(--ink-soft);
  opacity: 0.55;
}
.hero-eyebrow.is-closed .dot {
  background: #c98a3a;
  box-shadow: 0 0 0 4px rgba(201, 138, 58, 0.18);
  animation: pulse-amber 2.5s ease-in-out infinite;
}
.hero-eyebrow.is-closing-soon .dot {
  background: #d8a13a;
  animation-duration: 1.4s;
}
@keyframes pulse-amber {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201, 138, 58, 0.20); }
  50%      { box-shadow: 0 0 0 8px rgba(201, 138, 58, 0); }
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(48px, 9vw, 138px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 1s var(--ease) forwards;
}
.hero-title .line-1 { animation-delay: .15s; }
.hero-title .line-2 { animation-delay: .28s; padding-left: clamp(24px, 6vw, 90px); }
.hero-title .line-3 { animation-delay: .41s; }
.hero-title .line-4 { animation-delay: .54s; padding-left: clamp(24px, 8vw, 130px); }
.hero-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--rust);
  font-weight: 300;
}
.hero-title .year {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 300;
  color: var(--moss);
}

.hero-lede {
  max-width: 540px;
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.55;
  color: var(--ink-2);
  animation: rise 1s var(--ease) .7s both;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  animation: rise 1s var(--ease) .85s both;
}

/* Hero quick-facts card */
.hero-card {
  width: 100%;
  max-width: 320px;
  background: var(--bone-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--rust);
  padding: 22px 24px;
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 30px 50px -28px rgba(28, 20, 14, 0.25);
  animation: rise 1.2s var(--ease) 1s both;
  transform: rotate(1.5deg);
}
.hero-card dl { margin: 0; display: grid; gap: 14px; }
.hero-card dl > div {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px;
}
.hero-card dl > div:last-child { border: none; padding-bottom: 0; }
.hero-card dt {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
}
.hero-card dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px; font-weight: 500;
  font-variation-settings: "opsz" 14;
  color: var(--ink);
}
.hero-card-foot {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--serif); font-style: italic;
  font-size: 13.5px; line-height: 1.5;
  color: var(--ink-2);
  font-variation-settings: "opsz" 14, "SOFT" 80;
}

/* Decorative wood-strata at bottom of hero */
.hero-strata {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  display: flex; flex-direction: column;
  z-index: 1;
  pointer-events: none;
}
.strata { display: block; height: 4px; }
.strata-1 { background: var(--rust); opacity: 0.9; height: 6px; }
.strata-2 { background: var(--ink-2); opacity: 0.85; height: 3px; }
.strata-3 { background: var(--moss); opacity: 0.75; height: 7px; }
.strata-4 { background: var(--rust-deep); opacity: 0.6; height: 2px; }
.strata-5 { background: var(--bone-3); height: 10px; }

/* =================== MARQUEE =================== */
.marquee {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  padding: 24px 0;
  border-top: 1px solid rgba(243, 236, 223, 0.1);
  border-bottom: 1px solid rgba(243, 236, 223, 0.1);
  overflow: hidden;
  display: flex; align-items: center;
  gap: 30px;
}
.marquee-label {
  flex-shrink: 0;
  padding-left: var(--gutter);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500; color: var(--bone-3);
}
.marquee-label::after {
  content: "→";
  margin-left: 12px;
  display: inline-block;
}
.marquee-track {
  flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}
.marquee-row {
  display: flex; gap: 22px;
  width: max-content;
  font-family: var(--serif);
  font-style: italic; font-weight: 400;
  font-size: 22px;
  font-variation-settings: "opsz" 24, "SOFT" 80;
  white-space: nowrap;
  animation: scroll 32s linear infinite;
  will-change: transform;
}
.marquee-row span:nth-child(even) {
  color: var(--rust);
  font-weight: 700;
}
.marquee:hover .marquee-row,
.marquee:focus-within .marquee-row {
  animation-play-state: paused;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =================== SECTION HEADS =================== */
.section-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: clamp(40px, 5vw, 70px);
  position: relative;
}
.kicker {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rust); font-weight: 500;
  margin-bottom: 18px;
  font-feature-settings: "tnum";
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 96, "SOFT" 40;
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 18ch;
  color: var(--ink);
}
.section-sub {
  margin-top: 22px;
  max-width: 56ch;
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* =================== ABOUT =================== */
.about {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}
.about-body {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "lead  photo"
    "text  photo";
  column-gap: clamp(32px, 5vw, 72px);
  row-gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.about-col-lead { grid-area: lead; }
.about-col-text { grid-area: text; }
.about-photo    { grid-area: photo; align-self: stretch; }
.about-col-lead .lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 72, "SOFT" 100;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.about-col-text p {
  font-size: 17px;
  margin: 0 0 18px;
  color: var(--ink-2);
}
.about-col-text strong { color: var(--ink); font-weight: 600; }
.about-stats {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.about-stats li { display: flex; flex-direction: column; gap: 4px; }
.about-stats span {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  font-variation-settings: "opsz" 48, "SOFT" 30;
  letter-spacing: -0.02em;
  color: var(--rust);
}
.about-stats small {
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* About photo — storefront pairing */
.about-photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bone-2);
  box-shadow: 0 30px 60px -30px rgba(28, 20, 14, 0.25);
  overflow: hidden;
  position: relative;
}
.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: sepia(0.15) saturate(0.95) contrast(1.02);
  transition: filter 600ms var(--ease), transform 1200ms var(--ease);
}
.about-photo:hover img {
  filter: sepia(0.02) saturate(1.05) contrast(1.04);
  transform: scale(1.04);
}
.about-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bone);
  background: linear-gradient(
    to top,
    rgba(28, 20, 14, 0.72) 0%,
    rgba(28, 20, 14, 0.0)  100%
  );
}

/* =================== PRODUCTS =================== */
.products {
  background: var(--bone-2);
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.product {
  background: var(--bone-2);
  padding: 28px 26px 30px;
  display: flex; flex-direction: column;
  gap: 20px;
  transition: background .3s var(--ease);
}
.product:hover { background: var(--bone); }
.product:hover .swatch { transform: scale(1.04) rotate(-1deg); }

.swatch {
  width: 100%; aspect-ratio: 4 / 3;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  transition: transform .5s var(--ease);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 6px 16px -10px rgba(28, 20, 14, 0.4);
}

/* Swatches built entirely from CSS — no images */
.swatch-wood {
  background:
    linear-gradient(105deg, transparent 49%, rgba(28, 20, 14, 0.18) 49.5%, rgba(28, 20, 14, 0.18) 50%, transparent 50.5%),
    repeating-linear-gradient(105deg,
      #6b3a1c 0px, #794319 12px, #6b3a1c 22px, #5c3014 36px,
      #794319 48px, #8a4d20 60px, #6b3a1c 74px);
  background-size: 100% 100%, 100% 32%;
  background-position: center, 0 0;
  background-repeat: no-repeat, repeat-y;
}
.swatch-laminate {
  background:
    repeating-linear-gradient(95deg,
      #b08a5e 0px, #a07c50 18px, #b89571 30px, #9c7044 50px,
      #c0986a 64px, #a07c50 82px);
}
.swatch-lvp {
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 47px, rgba(28, 20, 14, 0.18) 47px, rgba(28, 20, 14, 0.18) 48px),
    linear-gradient(120deg, #6e6055, #847462 50%, #6e6055);
}
.swatch-carpet {
  background:
    radial-gradient(circle at 30% 30%, #b09680 0 4px, transparent 5px),
    radial-gradient(circle at 70% 60%, #9c8268 0 4px, transparent 5px),
    radial-gradient(circle at 50% 80%, #d4bb9f 0 3px, transparent 4px),
    radial-gradient(circle at 20% 70%, #b8a085 0 3px, transparent 4px),
    radial-gradient(circle at 85% 25%, #c4ab92 0 3px, transparent 4px),
    #b39a80;
  background-size: 18px 18px;
}
.swatch-vinyl {
  background:
    linear-gradient(135deg, #d8d0c2 25%, transparent 25%) 0 0,
    linear-gradient(225deg, #d8d0c2 25%, transparent 25%) 0 0,
    linear-gradient(315deg, #d8d0c2 25%, transparent 25%) 0 0,
    linear-gradient(45deg, #d8d0c2 25%, transparent 25%) 0 0,
    #c4baa8;
  background-size: 28px 28px;
}
.swatch-tile {
  background:
    linear-gradient(#dad2c1 1.5px, transparent 1.5px) 0 0,
    linear-gradient(90deg, #dad2c1 1.5px, transparent 1.5px) 0 0,
    linear-gradient(135deg, #6c7867 0%, #88927c 50%, #6c7867 100%);
  background-size: 56px 56px, 56px 56px, 100% 100%;
}
.swatch-water {
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 50px, rgba(255, 255, 255, 0.18) 50px, rgba(255, 255, 255, 0.18) 51px),
    radial-gradient(ellipse at 30% 40%, rgba(255, 255, 255, 0.3), transparent 60%),
    linear-gradient(110deg, #4a6b7a, #3a5868 60%, #2c4856);
}
.swatch-remnant {
  background:
    linear-gradient(90deg, #c08766 0 33%, transparent 33%),
    linear-gradient(90deg, transparent 33%, #b8a07c 33% 66%, transparent 66%),
    linear-gradient(90deg, transparent 66%, #8e7656 66%);
  background-color: #a08066;
}

.product h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.product p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* =================== CLIENTS (editorial table) =================== */
.clients {
  padding: clamp(80px, 10vw, 140px) 0;
}
.client-table {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  border-top: 1px solid var(--ink);
}
.client-row {
  display: grid;
  grid-template-columns: 60px 280px 1fr;
  gap: 30px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .3s var(--ease), background .3s var(--ease);
  position: relative;
}
.client-row:hover {
  padding-left: 12px;
}
.client-row::after {
  content: "→";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%) translateX(-10px);
  color: var(--rust);
  opacity: 0;
  transition: all .3s var(--ease);
  font-size: 22px;
}
.client-row:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

.client-num {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 48, "SOFT" 100;
  font-weight: 300;
  font-size: 32px;
  color: var(--rust);
}
.client-title h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.client-body p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 60ch;
}

/* =================== REVIEWS =================== */
.reviews {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.reviews .section-head h2 { color: var(--bone); }
.reviews .kicker { color: var(--bone-3); }
.review-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}
.review {
  margin: 0;
  padding: 32px 28px;
  background: rgba(243, 236, 223, 0.05);
  border: 1px solid rgba(243, 236, 223, 0.12);
  border-radius: 4px;
}
.review-feature {
  background: var(--rust);
  border-color: var(--rust);
  transform: translateY(20px);
}
.review blockquote {
  margin: 0;
}
.review p {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: "opsz" 72, "SOFT" 100;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: var(--bone);
}
.review p::before { content: "“"; opacity: 0.5; margin-right: 2px; }
.review p::after { content: "”"; opacity: 0.5; margin-left: 2px; }
.review figcaption {
  display: flex; flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(243, 236, 223, 0.18);
  padding-top: 18px;
}
.stars { color: #f5b942; letter-spacing: 0.05em; font-size: 14px; }
.review-feature .stars { color: var(--bone); }
.cite {
  font-size: 13px; font-weight: 500;
  color: var(--bone-3);
  letter-spacing: 0.02em;
}
.cite span { color: rgba(243, 236, 223, 0.5); font-weight: 400; }
.review-feature .cite { color: var(--bone); }
.review-feature .cite span { color: rgba(243, 236, 223, 0.7); }

/* =================== VISIT =================== */
.visit {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bone);
}
.visit-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.visit-info { display: grid; gap: 36px; }
.visit-block {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.visit-block h3 {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.visit-block p {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}
.visit-block .quiet {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 10px;
}
.link {
  font-size: 14px; font-weight: 500;
  color: var(--rust);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color .2s var(--ease);
}
.link:hover { color: var(--rust-deep); }

.hours {
  width: 100%;
  border-collapse: collapse;
  font-feature-settings: "tnum";
  font-family: var(--sans);
}
.hours tr { border-bottom: 1px solid var(--line); }
.hours th, .hours td {
  text-align: left;
  padding: 11px 0;
  font-weight: 500; font-size: 15px;
  color: var(--ink);
}
.hours td { text-align: right; color: var(--ink-2); font-weight: 400; }
.hours tr.closed th, .hours tr.closed td { color: var(--ink-soft); }
.hours tr.is-today {
  position: relative;
}
.hours tr.is-today th,
.hours tr.is-today td {
  color: var(--ink);
  font-weight: 600;
}
.hours tr.is-today th {
  padding-left: 14px;
  position: relative;
}
.hours tr.is-today th::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 4px; height: 22px;
  background: var(--rust);
  border-radius: 2px;
  transform: translateY(-50%);
}
.hours tr.is-today td::after {
  content: "Today";
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bone);
  background: var(--rust);
  border-radius: 999px;
  vertical-align: middle;
}

.big-phone {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-block;
  font-feature-settings: "tnum";
  transition: color .2s var(--ease);
}
.big-phone:hover { color: var(--rust); }

.visit-map {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bone-2);
  box-shadow: 0 30px 60px -30px rgba(28, 20, 14, 0.25);
}
.visit-map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

/* =================== FOOTER =================== */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 70px 0 28px;
}
.footer .logo { color: var(--bone); }
.footer .logo-mark { color: var(--rust); }
.footer .logo-meta { color: rgba(243, 236, 223, 0.5); }
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  margin: 18px 0 0;
  max-width: 38ch;
  font-size: 14px;
  color: rgba(243, 236, 223, 0.7);
  line-height: 1.55;
}
.footer-col h4 {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-3);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer-col p {
  margin: 0 0 6px;
  font-size: 14.5px;
  color: rgba(243, 236, 223, 0.85);
  line-height: 1.6;
}
.footer-col a:hover { color: var(--rust); }
.footer-base {
  max-width: var(--maxw);
  margin: 60px auto 0;
  padding: 22px var(--gutter) 0;
  border-top: 1px solid rgba(243, 236, 223, 0.12);
  display: flex; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(243, 236, 223, 0.55);
  letter-spacing: 0.04em;
}

/* =================== ANIMATIONS =================== */
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =================== Reveal on scroll =================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in {
  opacity: 1; transform: none;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
  .review-feature { grid-column: span 2; transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "lede"
      "actions"
      "card";
    row-gap: clamp(20px, 3vw, 32px);
  }
  .hero-card {
    margin-top: 8px;
    max-width: 420px;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .nav-inner {
    grid-template-columns: auto 1fr auto auto;
    gap: 10px;
  }
  .logo-meta { display: none; }

  /* Show the phone number, drop the "Call" label — number is the action */
  .btn-call {
    padding: 9px 14px;
    justify-self: end;
  }
  .btn-call .btn-call-label { display: none; }
  .btn-call .btn-call-num {
    font-size: 13px;
    font-variant-numeric: tabular-nums;
  }

  .nav-links {
    justify-self: auto;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: var(--bone);
    padding: 14px var(--gutter) 24px;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px -24px rgba(28, 20, 14, 0.35);
    transform: translateY(-20px);
    opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
    z-index: 60;
    font-size: 17px;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a {
    padding: 14px 4px;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 18px;
    font-variation-settings: "opsz" 24, "SOFT" 30;
    color: var(--ink);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }

  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    padding: 8px;
  }
  .nav-toggle span {
    width: 22px; height: 2px; background: var(--ink);
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero-title .line-2 { padding-left: 16px; }
  .hero-title .line-4 { padding-left: 32px; }

  .about-body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lead"
      "photo"
      "text";
  }
  .about-stats { grid-template-columns: 1fr; gap: 14px; }

  .product-grid { grid-template-columns: 1fr 1fr; }

  .client-row {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    row-gap: 8px;
  }
  .client-num { grid-row: span 2; }
  .client-body { grid-column: 2; }
  .client-body p { font-size: 15px; }

  .review-grid { grid-template-columns: 1fr; }
  .review-feature { grid-column: 1; }

  .visit-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 6px; }
}

@media (max-width: 480px) {
  .hero-title .line-2 { padding-left: 8px; }
  .hero-title .line-4 { padding-left: 16px; }
  .product { padding: 22px 20px 24px; }
  .product-grid { grid-template-columns: 1fr; }
}
