:root {
  --bg: #f5f1ea;
  --surface: #f8f5ef;
  --text: #22201d;
  --muted: #6f685f;
  --accent: #8a7a67;
  --border: #d8d0c6;
  --max-width: 1160px;
  --serif: Georgia, 'Times New Roman', ui-serif, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid #5f5346;
  outline-offset: 3px;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.96;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  max-width: 14ch;
}

h3 {
  font-size: 1.3rem;
}

.container {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 241, 234, 0.98);
  border-bottom: 1px solid rgba(216, 208, 198, 0.9);
}

.topbar,
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 1.5rem;
  align-items: center;
}

.topbar {
  padding: 1.15rem 0;
}

.wordmark,
.footer-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.utility,
.section-label,
.step-number,
.appointment-note,
.visual-note,
.site-nav,
.footer-nav,
.contact-details span {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.utility,
.visual-note,
.appointment-note {
  margin: 0;
}

.site-nav,
.footer-nav,
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a,
.footer-nav a {
  position: relative;
}

.site-nav a::after,
.footer-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

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

.site-nav a:focus-visible::after,
.footer-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--border);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  background: var(--text);
  color: var(--surface);
  border-color: var(--text);
}

.button-primary:hover {
  background: #34302a;
}

.button-secondary {
  background: transparent;
}

.button-secondary:hover {
  background: rgba(216, 208, 198, 0.28);
}

.button:focus-visible {
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(95, 83, 70, 0.14);
}

.hero,
.section,
.section-narrow {
  padding: 5.5rem 0;
}

#services,
#process,
#about,
#contact {
  scroll-margin-top: 6.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.8fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: #5f584f;
  letter-spacing: 0.08em;
}

.hero-text,
.narrow-copy p,
.split-copy p,
.service-item p,
.process-step p {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-copy {
  padding-top: 1rem;
}

.hero-note {
  color: var(--muted);
  max-width: 34rem;
}

.hero-visual {
  margin: 0;
  min-height: 34rem;
  padding: 1.15rem;
  border: 1px solid var(--border);
  background: #f1ebe1;
  display: grid;
  gap: 0.9rem;
  align-content: space-between;
  box-shadow: 0 18px 40px -34px rgba(58, 45, 33, 0.36);
}

.hero-artwork,
.media-card img,
.media-card video {
  display: block;
  width: 100%;
  height: auto;
}

.hero-artwork {
  min-height: 29rem;
  object-fit: cover;
  border: 1px solid rgba(138, 122, 103, 0.28);
  background: #eadfce;
}

.narrow-copy {
  max-width: 42rem;
}

.bordered-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  margin-bottom: 2.5rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}

.service-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-item:nth-child(odd) {
  padding-right: 2rem;
}

.service-item:nth-child(even) {
  padding-left: 2rem;
  border-left: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.process-section {
  background: linear-gradient(to bottom, rgba(245, 241, 234, 0.98), rgba(241, 235, 225, 0.72));
}

.process-intro {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.process-step {
  padding: 1.25rem 1rem 1.1rem;
  border: 1px solid var(--border);
  background: rgba(250, 247, 242, 0.82);
  box-shadow: 0 16px 32px -30px rgba(58, 45, 33, 0.22);
}

.process-step .step-number {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.trust-section {
  background: rgba(242, 236, 227, 0.7);
}

.trust-grid,
.practical-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.1fr);
  gap: 2.25rem;
  align-items: start;
}

.trust-copy p,
.practical-copy p {
  max-width: 34rem;
}

.trust-points,
.practical-list {
  display: grid;
  gap: 1rem;
}

.trust-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.practical-list {
  grid-template-columns: 1fr;
}

.trust-card,
.practical-item {
  padding: 1.1rem 1rem 1rem;
  border: 1px solid var(--border);
  background: rgba(250, 247, 242, 0.9);
}

.trust-card h3,
.practical-item h3 {
  margin-bottom: 0.55rem;
}

.trust-card p,
.practical-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.practical-section {
  padding-top: 1.5rem;
  background: rgba(247, 244, 239, 0.42);
}

.practical-list {
  gap: 0;
  border-top: 1px solid var(--border);
}

.practical-item {
  padding: 1.15rem 0 1.1rem 1.15rem;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  position: relative;
}

.practical-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 2px;
  height: calc(100% - 2.4rem);
  background: rgba(138, 122, 103, 0.35);
}

.visual-story {
  background: rgba(248, 245, 239, 0.55);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.story-copy p {
  max-width: 36rem;
}

.story-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.media-card {
  margin: 0;
  padding: 0.9rem;
  border: 1px solid var(--border);
  background: rgba(250, 247, 242, 0.92);
  box-shadow: 0 16px 35px -30px rgba(58, 45, 33, 0.25);
}

.media-card figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.media-video {
  grid-column: 1 / -1;
}

.media-card video,
.media-card img {
  border: 1px solid rgba(138, 122, 103, 0.22);
  background: #ece4d7;
}

.media-video video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-detail img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.media-dining img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.motion-float,
.motion-drift,
.reveal-rise {
  animation-duration: 1.1s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}

.motion-float {
  animation-name: floatIn, ambientFloat;
  animation-duration: 1s, 8s;
  animation-delay: 0s, 1s;
  animation-iteration-count: 1, infinite;
}

.motion-drift {
  animation-name: riseIn, driftStill;
  animation-duration: 1s, 11s;
  animation-delay: 0s, 1.2s;
  animation-iteration-count: 1, infinite;
}

.reveal-rise {
  animation-name: riseIn;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ambientFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes driftStill {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

.split-copy {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.local-note {
  background: rgba(248, 245, 239, 0.75);
}

.about-merge h2 {
  max-width: 11ch;
}

.contact-details {
  margin: 2rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.contact-section {
  background: rgba(242, 236, 227, 0.78);
}

.contact-section .split-copy {
  align-items: start;
}

.contact-lead {
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-actions {
  align-items: center;
  margin-top: 1.35rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(138, 122, 103, 0.28);
}

.contact-actions .button {
  min-width: 14rem;
}

.contact-details p {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-details a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
}

.site-footer p {
  color: var(--muted);
}

@media (max-width: 920px) {
  .topbar,
  .footer-grid,
  .hero-grid,
  .split-copy,
  .process-grid,
  .service-list,
  .trust-grid,
  .practical-grid,
  .trust-points,
  .practical-list,
  .story-grid,
  .story-media-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

  .header-cta {
    justify-self: start;
  }

  .service-item:nth-child(odd),
  .service-item:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

  .hero-visual {
    min-height: 24rem;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .section-narrow {
    padding: 4.5rem 0;
  }

  .container {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  h1 {
    font-size: clamp(2.8rem, 11vw, 4rem);
    line-height: 1.02;
    max-width: 13ch;
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
    line-height: 1.08;
    max-width: 12ch;
  }

  .hero-text,
  .narrow-copy p,
  .split-copy p,
  .service-item p,
  .process-intro,
  .process-step p,
  .trust-card p,
  .practical-item p,
  .story-copy p,
  .contact-lead {
    font-size: 1rem;
    line-height: 1.72;
  }

  .site-nav {
    gap: 0.6rem 1rem;
  }

  .hero-actions,
  .contact-actions {
    gap: 0.85rem;
  }

  .hero-actions .button,
  .contact-actions .button,
  .header-cta {
    width: 100%;
  }

  .process-grid,
  .trust-points,
  .story-media-grid {
    gap: 1.25rem;
  }

  .process-step,
  .trust-card,
  .media-card {
    padding: 1.2rem;
  }

  .practical-item {
    padding: 1.3rem 0 1.2rem 1.2rem;
  }

  .hero-visual {
    padding: 0.9rem;
  }
}

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

  .motion-float,
  .motion-drift,
  .reveal-rise {
    animation: none !important;
  }
}
