:root {
  --cream: #F7F3EE;
  --cream-deep: #EFE6DA;
  --ink: #2C2A26;
  --ink-soft: #56504A;
  --terra: #A9502F;
  --terra-deep: #8E3F24;
  --terra-soft: #F3CFBB;
  --sage: #8A9B7A;
  --sage-deep: #5C6B50;
  --sand: #E5D9C5;
  --glass: rgba(255, 255, 255, 0.66);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --line: rgba(44, 42, 38, 0.12);
  --shadow: 0 20px 50px rgba(44, 42, 38, 0.08);
  --shadow-deep: 0 34px 80px rgba(44, 42, 38, 0.14);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Letter Gothic Std", "Courier New", monospace;
  --ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(48vw 48vw at 10% 6%, rgba(163, 177, 138, 0.20), transparent 68%),
    radial-gradient(44vw 44vw at 92% 18%, rgba(217, 197, 169, 0.34), transparent 66%),
    radial-gradient(40vw 40vw at 70% 92%, rgba(163, 177, 138, 0.16), transparent 70%);
  filter: blur(24px);
  animation: liquid-breathe 20s ease-in-out infinite alternate;
}

strong, p { color: inherit; }
b, em, i, small, span, li, label, legend, figcaption, dt, dd, th, td { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--terra-deep); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--terra); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  overflow-wrap: break-word;
  word-break: normal;
  font-weight: 600;
  color: inherit;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1.1em; overflow-wrap: break-word; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.1rem; }
li { margin-bottom: 0.5rem; }

button { font-family: inherit; }

::selection { background: var(--sand); color: var(--ink); }

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

.page-canvas {
  position: relative;
  z-index: 1;
  padding-top: 74px;
}

.shell {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.shell-narrow { width: min(860px, 100% - 2.5rem); }

.section-pad { padding: 4.5rem 0; }
.section-pad-tight { padding: 3rem 0; }
.section-sand { background: var(--sand); color: var(--ink); }
.section-ink { background: var(--ink); color: var(--cream); }
.section-ink a { color: var(--terra-soft); }
.section-ink a:hover { color: #FFFFFF; }
.section-ink .eyebrow { color: var(--terra-soft); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin: 0 0 1.2rem;
  display: block;
}

.display-title {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  margin-bottom: 0.5em;
}

.section-title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin-bottom: 0.6em;
}

.section-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

.section-ink .section-subtitle { color: rgba(247, 243, 238, 0.78); }

.italic-accent { font-style: italic; color: var(--terra); }
.section-ink .italic-accent { color: var(--terra-soft); }

.lead-paragraph {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 64ch;
}

.section-ink .lead-paragraph { color: rgba(247, 243, 238, 0.8); }

.dock-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 66px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.dock-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(247, 243, 238, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.dock-bar {
  position: relative;
  z-index: 340;
  height: 66px;
  padding: 0 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dock-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
}

.brand-mark svg { width: 20px; height: 20px; display: block; }

.brand-words { display: flex; flex-direction: column; line-height: 1.12; }

.brand-domain {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-owner {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.dock-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass-strong);
  color: var(--ink);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

.dock-shell.is-open .toggle-line:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.dock-shell.is-open .toggle-line:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.dock-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 86vw);
  height: 100vh;
  z-index: 320;
  padding: 5.5rem 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(247, 243, 238, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-right: 1px solid var(--line);
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
  overflow-y: auto;
}

.dock-shell.is-open .dock-nav {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.45s var(--ease), visibility 0s linear 0s;
}

.dock-scrim {
  position: fixed;
  inset: 0;
  z-index: 310;
  background: rgba(44, 42, 38, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.dock-shell.is-open .dock-scrim { opacity: 1; pointer-events: auto; }

body.nav-locked { overflow: hidden; }

.dock-links { margin: 0; padding: 0; list-style: none; }

.dock-links li { margin-bottom: 0.2rem; }

.dock-links a {
  display: inline-block;
  padding: 0.55rem 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: transform 0.4s var(--ease), color 0.3s ease, border-color 0.3s ease;
}

.dock-links a:hover {
  transform: translateX(6px);
  color: var(--terra-deep);
  border-bottom-color: var(--terra);
}

.dock-contact {
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.dock-phone, .dock-mail { display: block; color: var(--ink); font-weight: 500; }
.dock-phone:hover, .dock-mail:hover { color: var(--terra-deep); }
.dock-hours { margin: 0.7rem 0 0; font-size: 0.8rem; letter-spacing: 0.04em; }

@media (min-width: 1200px) {
  .page-canvas { padding-top: 0; margin-left: 280px; }
  .dock-shell {
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: 280px;
    height: 100vh;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    background: transparent;
  }
  .dock-shell::before {
    background: rgba(255, 255, 255, 0.52);
  }
  .dock-bar {
    height: auto;
    padding: 1.8rem 1.6rem 1rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }
  .dock-toggle { display: none; }
  .dock-nav {
    position: static;
    width: auto;
    height: auto;
    padding: 1rem 1.6rem 2.2rem;
    transform: none;
    visibility: visible;
    transition: none;
    background: transparent;
    border-right: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex: 1 1 auto;
  }
  .dock-scrim { display: none; }
}

.button {
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.45s var(--ease), box-shadow 0.35s ease, background-color 0.3s ease, color 0.3s ease;
}

.button:hover { transform: translateY(-3px); }

.btn-terra {
  background: var(--terra);
  color: #FFF6F0;
  border-color: var(--terra);
  box-shadow: 0 12px 28px rgba(169, 80, 47, 0.28);
}

.btn-terra:hover { background: var(--terra-deep); border-color: var(--terra-deep); color: #FFF6F0; }

.btn-ink {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn-ink:hover { background: #191816; border-color: #191816; color: var(--cream); }

.btn-ghost {
  background: var(--glass-strong);
  color: var(--ink);
  border-color: rgba(44, 42, 38, 0.28);
}

.btn-ghost:hover { background: #FFFFFF; color: var(--terra-deep); border-color: var(--terra); }

.section-ink .btn-ghost { background: rgba(247, 243, 238, 0.1); color: var(--cream); border-color: rgba(247, 243, 238, 0.4); }
.section-ink .btn-ghost:hover { background: rgba(247, 243, 238, 0.2); color: #FFFFFF; border-color: var(--terra-soft); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

.glass-panel {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  color: var(--ink);
}

.hero-stage { position: relative; padding: 3rem 0 4.5rem; overflow: hidden; }

.hero-grid { display: grid; gap: 2.5rem; }

.hero-copy { position: relative; z-index: 2; }

.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 0.98;
  margin-bottom: 0.45em;
}

.hero-note {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-media { position: relative; }

.hero-media figure { margin: 0; }

.hero-media img {
  width: 100%;
  border-radius: 42% 58% 46% 54% / 52% 44% 56% 48%;
  box-shadow: var(--shadow-deep);
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.6s var(--ease-soft);
}

.hero-media figcaption {
  margin-top: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  border-radius: 42% 58% 46% 54% / 52% 44% 56% 48%;
  background: linear-gradient(180deg, rgba(44, 42, 38, 0.12), rgba(44, 42, 38, 0.32));
  pointer-events: none;
}

.float-stamp {
  position: absolute;
  right: 0;
  bottom: -1.4rem;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
  padding: 1rem;
  box-shadow: var(--shadow-deep);
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 3.5rem; }
  .hero-stage { padding: 4.5rem 0 6rem; }
}

@media (min-width: 1200px) {
  .float-stamp { right: -0.5rem; }
}

.split-grid { display: grid; gap: 2.5rem; }

.problem-list { display: grid; gap: 1.2rem; margin: 2rem 0 0; }

.problem-item {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
  color: var(--ink);
}

.problem-item h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.problem-item p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

@media (min-width: 900px) {
  .split-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
  .split-grid.is-offset { grid-template-columns: 0.85fr 1.15fr; }
}

.service-grid { display: grid; gap: 1.6rem; }

.service-card {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.45s ease;
}

.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-deep); }

.service-figure { position: relative; overflow: hidden; }

.service-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease-soft);
}

.service-card:hover .service-figure img { transform: scale(1.06); }

.service-figure figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(247, 243, 238, 0.92);
  color: var(--ink);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1 1 auto; }

.service-body h3 { font-size: 1.7rem; margin-bottom: 0.5rem; }

.service-body p { color: var(--ink-soft); font-size: 0.98rem; }

.price-tag {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--terra-deep);
  margin: 0.2rem 0 0.3rem;
}

.price-note { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 1.2rem; }

.card-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: auto; }

.card-actions .button { min-height: 44px; padding: 0.6rem 1.2rem; font-size: 0.92rem; }

@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.coverflow { position: relative; padding: 1rem 0 3rem; }

.coverflow-stage {
  position: relative;
  height: 610px;
  overflow: hidden;
  touch-action: pan-y;
}

.coverflow-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(320px, 82vw);
  margin-left: calc(min(320px, 82vw) / -2);
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.65s var(--ease-soft), opacity 0.5s ease;
}

.coverflow-slide img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }

.coverflow-slide .slide-copy { padding: 1.2rem 1.3rem 1.5rem; }
.coverflow-slide h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.coverflow-slide p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.6rem; }

.coverflow-arrows { display: flex; gap: 0.8rem; justify-content: center; margin-top: 1rem; }

.coverflow-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(44, 42, 38, 0.24);
  background: var(--glass-strong);
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background-color 0.3s ease, color 0.3s ease;
}

.coverflow-arrow:hover { background: var(--terra); color: #FFF6F0; border-color: var(--terra); transform: translateY(-3px); }

.story-grid { display: flex; flex-direction: column; gap: 1rem; }

.story-cell {
  position: relative;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 1.5rem;
  color: var(--ink);
  overflow: hidden;
}

.story-cell img { border-radius: 18px; width: 100%; object-fit: cover; aspect-ratio: 16 / 10; }

.story-cell h3 { font-size: 1.5rem; margin: 0.8rem 0 0.4rem; }
.story-cell p { color: var(--ink-soft); margin-bottom: 0; }

.story-cell.is-open { background: #FFFFFF; }

@media (min-width: 900px) {
  .story-grid { flex-direction: row; min-height: 480px; }
  .story-cell { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.4rem; transition: flex-grow 0.6s var(--ease), background-color 0.4s ease; }
  .story-cell:hover { flex-grow: 2.6; background: #FFFFFF; }
  .story-cell img { margin-top: auto; }
}

.stack-wrap { position: relative; display: grid; gap: 1.4rem; }

.stack-card {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.5rem;
  color: var(--ink);
  display: grid;
  gap: 1.2rem;
  box-shadow: var(--shadow);
  transition: transform 0.6s var(--ease), box-shadow 0.45s ease;
}

.stack-card img { width: 100%; border-radius: 20px; aspect-ratio: 16 / 10; object-fit: cover; }
.stack-card h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.stack-card p { color: var(--ink-soft); margin-bottom: 0.8rem; }

.stack-meta { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra-deep); }

@media (min-width: 900px) {
  .stack-card { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
  .stack-card img { aspect-ratio: 4 / 3; }
}

.reveal-list { display: flex; flex-direction: column; gap: 0.8rem; }

.reveal-row {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 243, 238, 0.18);
  border-radius: 22px;
  padding: 1.3rem 1.4rem;
  color: var(--cream);
  transition: background-color 0.4s ease, transform 0.5s var(--ease);
}

.reveal-row h3 { font-size: 1.5rem; margin-bottom: 0.3rem; color: var(--cream); }
.reveal-row p { color: rgba(247, 243, 238, 0.78); margin: 0; }

.reveal-index { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--terra-soft); margin-right: 0.8rem; }

.quote-stack { display: grid; gap: 1.4rem; }

.quote-card {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 1.6rem;
  color: var(--ink);
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow);
  animation: float-card 7s ease-in-out infinite alternate;
}

.quote-card:nth-child(2) { animation-duration: 9s; animation-delay: 0.8s; }
.quote-card:nth-child(3) { animation-duration: 8s; animation-delay: 1.6s; }

.quote-card img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }

.quote-text { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; margin: 0; color: var(--ink); }
.quote-name { font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }

@media (min-width: 900px) {
  .quote-stack { display: flex; align-items: center; }
  .quote-card { flex: 1 1 0; }
  .quote-card:nth-child(2) { transform: translateY(-18px); }
  .quote-card:nth-child(3) { transform: translateY(16px); }
}

.qa-list { display: grid; gap: 1rem; }

.qa-panel {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  color: var(--ink);
  transition: box-shadow 0.4s ease, transform 0.5s var(--ease);
}

.qa-panel.is-open { box-shadow: var(--shadow); }

.qa-trigger {
  width: 100%;
  min-height: 64px;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.32rem;
  color: var(--ink);
}

.qa-trigger .qa-mark { font-family: var(--mono); font-size: 1.2rem; color: var(--terra-deep); flex: 0 0 auto; }

.qa-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-soft);
}

.qa-body p { margin: 0; padding: 0 1.4rem 1.4rem; color: var(--ink-soft); font-size: 0.98rem; }

.contact-layout { display: grid; gap: 2rem; }

.contact-card {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 1.7rem;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-card h2, .contact-card h3 { margin-bottom: 0.6rem; }
.contact-list { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.contact-list li { margin-bottom: 0.9rem; }
.contact-list strong { display: block; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra-deep); font-weight: 600; }
.contact-list span, .contact-list a { font-size: 1rem; color: var(--ink); }

.business-card-line {
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink);
}

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: start; }
  .contact-card { transform: translateX(10px); }
}

.booking-form {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 1.7rem;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-field { margin-bottom: 1.1rem; }

.form-field label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terra-deep);
  margin-bottom: 0.45rem;
}

.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(44, 42, 38, 0.28);
  border-radius: 14px;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field textarea { min-height: 130px; resize: vertical; }

.form-field input::placeholder, .form-field textarea::placeholder, .form-field select::placeholder { color: #7C746C; }

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(169, 80, 47, 0.16);
  outline: none;
}

.form-field input:invalid:not(:placeholder-shown), .form-field textarea:invalid:not(:placeholder-shown) { border-color: #9B3B2E; }

.form-note { font-size: 0.82rem; color: var(--ink-soft); margin: 0.9rem 0 0; }

.form-status { margin-top: 1rem; font-size: 0.95rem; color: var(--ink); min-height: 1.4em; }
.form-status.is-error { color: #9B3B2E; }
.form-status.is-success { color: var(--sage-deep); }

.page-hero {
  padding: 2.6rem 0 3.2rem;
  background: linear-gradient(160deg, rgba(229, 217, 197, 0.75), rgba(247, 243, 238, 0.2));
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.page-hero .hero-title { font-size: clamp(2.3rem, 6vw, 4.2rem); margin-bottom: 0.4em; }

.crumbs { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra-deep); margin-bottom: 1rem; }

.number-grid { display: grid; gap: 1.4rem; }

.number-card {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 1.6rem;
  color: var(--ink);
}

.number-card .step-number { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--terra); display: block; margin-bottom: 0.3rem; }
.number-card h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.number-card p { color: var(--ink-soft); margin-bottom: 0; }

@media (min-width: 760px) { .number-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .number-grid { grid-template-columns: repeat(3, 1fr); } }

.price-table { width: 100%; border-collapse: collapse; background: var(--glass-strong); border-radius: 22px; overflow: hidden; color: var(--ink); }
.price-table th, .price-table td { padding: 0.95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.price-table th { background: var(--ink); color: var(--cream); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }
.price-table td:last-child { font-family: var(--serif); font-size: 1.2rem; color: var(--terra-deep); }
.price-table tr:last-child td { border-bottom: 0; }

.table-scroll { overflow-x: auto; border-radius: 22px; }

.stat-row { display: grid; gap: 1rem; }

.stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(247, 243, 238, 0.16);
  border-radius: 24px;
  padding: 1.4rem;
  color: var(--cream);
}

.stat-box .stat-value { font-family: var(--serif); font-size: 2.4rem; color: var(--terra-soft); display: block; line-height: 1; }
.stat-box p { margin: 0.4rem 0 0; color: rgba(247, 243, 238, 0.76); font-size: 0.9rem; }

.stat-row.is-light .stat-box {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  color: var(--ink);
}

.stat-row.is-light .stat-box .stat-value { color: var(--terra-deep); }
.stat-row.is-light .stat-box p { color: var(--ink-soft); }

@media (min-width: 700px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }

.legal-body { font-size: 1.02rem; color: var(--ink); }
.legal-body h2 { font-size: 1.9rem; margin-top: 2.2rem; }
.legal-body h3 { font-size: 1.3rem; margin-top: 1.6rem; }
.legal-body ul { margin-bottom: 1.3rem; }
.legal-body li { color: var(--ink-soft); }
.legal-lead { font-size: 1.08rem; color: var(--ink-soft); }

.legal-index { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.legal-index a { display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--cream-deep); color: var(--ink); font-size: 0.84rem; border: 1px solid var(--line); }
.legal-index a:hover { background: var(--terra-soft); color: var(--terra-deep); }

.thank-panel { text-align: center; padding: 4rem 1.5rem; }
.thank-panel .thank-mark { font-size: 3rem; color: var(--terra); margin-bottom: 0.6rem; }

.cta-band {
  background: var(--ink);
  color: var(--cream);
  border-radius: 36px;
  padding: 3rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-deep);
}

.cta-band h2 { color: var(--cream); font-size: clamp(2rem, 4.5vw, 3.2rem); }
.cta-band p { color: rgba(247, 243, 238, 0.8); max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.footer-top { padding: 3.2rem 0 2.2rem; }

.footer-grid { display: grid; gap: 2.2rem; }

.footer-brand p { color: var(--ink-soft); font-size: 0.95rem; max-width: 34ch; margin-top: 1rem; }

.footer-col h3 { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terra-deep); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: var(--ink); font-size: 0.94rem; }
.footer-col a:hover { color: var(--terra-deep); }
.footer-col address { font-style: normal; color: var(--ink-soft); font-size: 0.94rem; }

.footer-base { border-top: 1px solid var(--line); padding: 1.4rem 0 2rem; }
.footer-base-line { display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; align-items: center; justify-content: space-between; font-size: 0.84rem; color: var(--ink-soft); }
.footer-base-line p { margin: 0; color: var(--ink-soft); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; }
.footer-legal-links a { color: var(--ink-soft); font-size: 0.84rem; }
.footer-legal-links a:hover { color: var(--terra-deep); }
.footer-card-line { width: 100%; margin: 1.2rem 0 0; padding: 0.9rem 1rem; background: var(--cream-deep); border: 1px solid var(--line); border-radius: 16px; font-size: 0.8rem; color: var(--ink-soft); }

@media (min-width: 820px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
}

.cookie-consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 500;
  max-width: 620px;
  padding: 1.2rem 1.3rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-deep);
  color: var(--ink);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cookie-consent-banner p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 0.9rem; }
.cookie-consent-banner a { text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.cookie-actions .button { min-height: 44px; padding: 0.55rem 1.15rem; font-size: 0.88rem; }

@media (min-width: 700px) {
  .cookie-consent-banner { left: 1.5rem; bottom: 1.5rem; right: auto; }
}

.menu-grid { display: grid; gap: 1.4rem; }

.menu-card {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 1.5rem;
  color: var(--ink);
}

.menu-card h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.menu-card ol { margin: 0; padding-left: 1.2rem; }
.menu-card li { color: var(--ink-soft); margin-bottom: 0.5rem; }
.menu-card li strong { color: var(--ink); }

.ingredient-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.ingredient-cloud span { padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--cream-deep); border: 1px solid var(--line); font-size: 0.86rem; color: var(--ink); }

.portfolio-grid { display: grid; gap: 1.5rem; }

.portfolio-item {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.45s ease;
}

.portfolio-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }
.portfolio-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.portfolio-copy { padding: 1.4rem 1.5rem 1.7rem; }
.portfolio-copy h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.portfolio-copy p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.6rem; }
.portfolio-copy .stack-meta { display: block; margin-bottom: 0.5rem; }

@media (min-width: 700px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.timeline { position: relative; padding-left: 1.6rem; margin: 2rem 0 0; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--sand); }
.timeline-item { position: relative; margin-bottom: 1.8rem; }
.timeline-item::before { content: ""; position: absolute; left: -1.6rem; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--terra); }
.timeline-year { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra-deep); }
.timeline-item h3 { font-size: 1.4rem; margin: 0.3rem 0 0.3rem; }
.timeline-item p { color: var(--ink-soft); margin: 0; }

.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.35;
  color: var(--ink);
  border-left: 3px solid var(--terra);
  padding-left: 1.4rem;
  margin: 2rem 0;
}

.faq-cta { margin-top: 1.6rem; font-size: 0.96rem; color: var(--ink-soft); }
.faq-cta a { text-decoration: underline; }

.note-strip {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem 1.3rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.note-strip p { margin: 0; color: var(--ink-soft); }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.tag-row li { padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--sand); color: var(--ink); font-size: 0.84rem; margin: 0; }

.fade-in { transition: opacity 0.8s var(--ease-soft); }
.reveal-ready .fade-in { opacity: 0; }
.reveal-ready .fade-in.is-visible { opacity: 1; }

@keyframes liquid-breathe {
  0% { opacity: 0.75; transform: scale(1) translate3d(0, 0, 0); }
  100% { opacity: 1; transform: scale(1.08) translate3d(-2%, 2%, 0); }
}

@keyframes float-card {
  0% { transform: translateY(-6px); }
  100% { transform: translateY(10px); }
}


.layout-intro {
  text-align: center;
  max-width: min(760px, 100%);
  margin: 0 auto 2.6rem;
}

.layout-intro-narrow {
  text-align: center;
  max-width: min(700px, 100%);
  margin: 0 auto 2.6rem;
}

.layout-intro-left {
  max-width: min(720px, 100%);
  margin-bottom: 2.4rem;
}

.section-subtitle-center { margin-inline: auto; }

.media-panel { padding: 1.4rem; margin: 0; }
.media-panel-spaced { margin-top: 1.6rem; }
.media-panel img { border-radius: 22px; }

.media-caption {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-top: 0.9rem;
}

.stack-gap { margin-top: 1.2rem; }
.stat-gap { margin-top: 2rem; }
.note-gap { margin-top: 1.4rem; }
.lead-small { font-size: 0.98rem; }

.menu-grid-wide {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.split-grid > *,
.hero-grid > *,
.footer-grid > *,
.stat-row > *,
.stack-wrap > *,
.stack-card > *,
.menu-grid > *,
.number-grid > *,
.service-grid > *,
.portfolio-grid > *,
.contact-layout > *,
.qa-list > *,
.problem-list > *,
.story-grid > *,
.coverflow-stage,
.table-scroll { min-width: 0; }

.dock-phone,
.dock-mail,
.contact-list a,
.contact-list span,
.contact-list address,
.business-card-line,
.footer-card-line,
.form-note,
.note-strip { overflow-wrap: anywhere; }

.contact-list address { font-style: normal; }

@media (max-width: 560px) {
  .shell, .shell-narrow { width: calc(100% - 1.6rem); }
  .section-pad { padding: 3rem 0; }
  .section-pad-tight { padding: 2.2rem 0; }
  .page-canvas { padding-top: 66px; }
  .page-hero { padding: 2rem 0 2.4rem; }
  .eyebrow { letter-spacing: 0.18em; }
  .hero-note { letter-spacing: 0.12em; font-size: 0.68rem; }
  .hero-title { font-size: clamp(2.2rem, 8.5vw, 3rem); }
  .section-title { font-size: clamp(1.8rem, 6.5vw, 2.4rem); }
  .float-stamp { width: 104px; height: 104px; font-size: 0.58rem; padding: 0.8rem; }
  .coverflow-stage { height: 520px; }
  .coverflow-slide {
    width: min(300px, 86vw);
    margin-left: calc(min(300px, 86vw) / -2);
  }
  .button { padding: 0.78rem 1.15rem; font-size: 0.95rem; }
  .btn-row { gap: 0.7rem; }
  .dock-bar { padding: 0 0.8rem; }
  .dock-nav { padding: 5rem 1.2rem 1.6rem; }
  .quote-card,
  .problem-item,
  .service-body,
  .story-cell,
  .stack-card,
  .menu-card,
  .number-card,
  .portfolio-copy,
  .contact-card,
  .booking-form { padding: 1.15rem 1.15rem 1.35rem; }
  .cta-band { padding: 2rem 1.1rem; border-radius: 26px; }
  .cookie-consent-banner {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
  }
  .timeline { padding-left: 1.3rem; }
  .timeline::before { left: 5px; }
  .timeline-item::before { left: -1.3rem; }
  .price-table th,
  .price-table td { padding: 0.7rem 0.75rem; font-size: 0.85rem; }
  .legal-body { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-ready .fade-in { opacity: 1; transform: none; }
}
