:root {
  --cream: #f7efe3;
  --paper: #fffaf1;
  --beige: #e7d4ba;
  --terracotta: #b96745;
  --sage: #8b9a7a;
  --espresso: #2d1c14;
  --coffee: #5f3827;
  --ink: #211610;
  --muted: #765f50;
  --line: rgba(68, 42, 28, 0.18);
  --shadow: 0 24px 70px rgba(52, 31, 18, 0.16);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(185, 103, 69, 0.1), transparent 28rem),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 48%, #efe0ca 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem clamp(1rem, 4vw, 3.5rem);
  color: var(--paper);
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease, color 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 250, 241, 0.94);
  color: var(--espresso);
  box-shadow: 0 14px 40px rgba(43, 27, 18, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 0.08rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.nav-button)::after {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover::after {
  opacity: 0.7;
  transform: scaleX(1);
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-button {
  background: var(--terracotta);
  color: #fff7ed;
}

.button:hover,
.nav-button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--terracotta);
  color: #fff9ef;
  box-shadow: 0 12px 30px rgba(95, 56, 39, 0.22);
}

.button-secondary {
  border-color: rgba(255, 250, 241, 0.66);
  color: var(--paper);
}

.button-quiet {
  border-color: var(--line);
  color: var(--coffee);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin: 0.28rem auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.hero,
.final-cta {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
}

.hero {
  min-height: max(680px, 78vh);
  padding: clamp(7rem, 10vh, 8rem) 0 clamp(9.5rem, 15vh, 11.5rem);
}

.hero-media,
.cta-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(33, 22, 16, 0.7) 0%, rgba(45, 28, 20, 0.38) 50%, rgba(45, 28, 20, 0.12) 100%),
    linear-gradient(180deg, rgba(22, 12, 8, 0.18), rgba(22, 12, 8, 0.42));
}

.hero-content,
.final-cta-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 2rem));
  margin-left: clamp(1rem, 7vw, 6rem);
}

.hero-content {
  width: min(880px, calc(100% - 2rem));
}

.hero h1,
.final-cta h2,
.intro-copy h2,
.section-heading h2,
.atmosphere h2,
.hours h2,
.visit h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(4rem, 7.5vw, 8rem);
  text-wrap: balance;
}

.hero-copy {
  max-width: 560px;
  margin: 1.75rem 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  color: rgba(255, 250, 241, 0.9);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: #efc5a7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero .button-row {
  margin-top: 2.35rem;
}

.trust-strip {
  position: absolute;
  right: clamp(1rem, 4vw, 3.5rem);
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  left: clamp(1rem, 4vw, 3.5rem);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.24);
  background: rgba(45, 28, 20, 0.34);
  backdrop-filter: blur(18px);
}

.trust-strip span {
  padding: 1rem;
  border-right: 1px solid rgba(255, 250, 241, 0.18);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.trust-strip span:last-child {
  border-right: 0;
}

.section-padding {
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1rem, 4vw, 3.5rem);
}

.section-label {
  max-width: 1180px;
  margin: 0 auto 1.2rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro-grid,
.menu-layout,
.atmosphere,
.hours,
.visit {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(94, 58, 38, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.62), rgba(185, 103, 69, 0.18)),
    var(--beige);
  box-shadow: var(--shadow);
}

.hero-media,
.cta-media {
  position: absolute;
  inset: 0;
  border: 0;
  box-shadow: none;
}

.image-frame img,
.hero-media img,
.cta-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-exterior {
  object-position: center;
}

.photo-interior {
  object-position: center;
}

.photo-flat-white,
.photo-cinnamon,
.photo-brunch,
.photo-window,
.photo-pastry,
.photo-coffee-pour {
  object-position: center;
}

.intro-image {
  aspect-ratio: 4 / 5;
}

.intro-copy {
  max-width: 510px;
}

.intro-copy h2,
.section-heading h2,
.atmosphere h2,
.hours h2,
.visit h2,
.final-cta h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.intro-copy p,
.section-heading p,
.atmosphere p,
.visit p,
.final-cta p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.13rem);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto clamp(2.3rem, 5vw, 4rem);
  text-align: center;
}

.section-heading.compact {
  width: min(900px, 100%);
}

.menu-section {
  position: relative;
  background: rgba(255, 250, 241, 0.48);
}

.menu-section::before,
.reviews::before {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(94, 58, 38, 0.12);
  content: "";
  pointer-events: none;
}

.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.menu-list {
  border-top: 1px solid var(--line);
}

.menu-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.menu-item span {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.55rem);
  line-height: 1.1;
}

.menu-item strong {
  color: var(--coffee);
  font-size: 1rem;
}

.menu-accent {
  position: sticky;
  top: 7rem;
}

.accent-large {
  aspect-ratio: 4 / 5;
}

.menu-accent p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.2;
}

.featured-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-rows: auto auto;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

.feature-card {
  margin: 0;
}

.feature-card .image-frame {
  aspect-ratio: 4 / 3;
}

.feature-card-large {
  grid-row: span 2;
}

.feature-card-large .image-frame {
  aspect-ratio: 4 / 5;
}

.feature-card-tall .image-frame {
  aspect-ratio: 4 / 3;
}

figcaption {
  margin-top: 0.9rem;
  color: var(--coffee);
  font-size: 0.94rem;
  font-weight: 700;
}

.atmosphere {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.atmosphere-copy {
  max-width: 500px;
}

.atmosphere-images {
  position: relative;
}

.atmosphere-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-left: auto;
}

.gallery-section {
  background: #281910;
  color: var(--paper);
}

.gallery-section .section-heading p {
  color: rgba(255, 250, 241, 0.74);
}

.gallery-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  box-shadow: none;
}

.gallery-item img {
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-window {
  grid-column: span 8;
  aspect-ratio: 16 / 9;
}

.gallery-pastry,
.gallery-pour,
.gallery-cinnamon,
.gallery-brunch {
  grid-column: span 4;
}

.gallery-pastry,
.gallery-cinnamon,
.gallery-brunch {
  aspect-ratio: 4 / 3;
}

.gallery-pour {
  aspect-ratio: 4 / 5;
}

.reviews {
  position: relative;
}

.review-list {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.review {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stars {
  color: var(--terracotta);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
}

.review p {
  margin: 1rem 0 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.25;
}

.review span {
  color: var(--muted);
  font-weight: 800;
}

.hours {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.hours-list {
  border-top: 1px solid var(--line);
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.92rem 0;
  border-bottom: 1px solid var(--line);
}

.hours-list span {
  color: var(--muted);
}

.hours-list strong {
  color: var(--espresso);
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}

.visit-copy address {
  margin-top: 1.4rem;
  color: var(--coffee);
  font-style: normal;
  font-weight: 800;
}

.location-panel {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid rgba(94, 58, 38, 0.2);
  background:
    linear-gradient(135deg, rgba(45, 28, 20, 0.9), rgba(95, 56, 39, 0.78)),
    var(--coffee);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.location-panel::before {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 250, 241, 0.22);
  content: "";
}

.panel-kicker {
  position: relative;
  z-index: 1;
  color: #efc5a7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.location-panel h3 {
  position: relative;
  z-index: 1;
  margin: 0.55rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.location-panel p,
.location-lines {
  position: relative;
  z-index: 1;
  color: rgba(255, 250, 241, 0.78);
}

.location-lines {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 250, 241, 0.2);
  font-weight: 700;
}

.final-cta {
  min-height: 68vh;
}

.final-cta-content {
  max-width: 690px;
  padding: clamp(6rem, 10vw, 9rem) 0;
}

.final-cta p {
  color: rgba(255, 250, 241, 0.86);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 2rem;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  background: #20140f;
  color: rgba(255, 250, 241, 0.78);
}

.site-footer h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.site-footer strong,
.site-footer a {
  color: var(--paper);
}

.site-footer p {
  margin: 0.6rem 0 0;
}

.credit {
  color: rgba(255, 250, 241, 0.56);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 4.8rem;
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0;
    padding: 0.8rem;
    border: 1px solid rgba(94, 58, 38, 0.16);
    background: rgba(255, 250, 241, 0.98);
    color: var(--espresso);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.8rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.95rem 0.8rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-button {
    margin-top: 0.6rem;
    border-bottom: 0;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip span:nth-child(2) {
    border-right: 0;
  }

  .trust-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 250, 241, 0.18);
  }

  .intro-grid,
  .menu-layout,
  .atmosphere,
  .hours,
  .visit {
    grid-template-columns: 1fr;
  }

  .menu-accent {
    position: static;
  }

  .atmosphere-images {
    width: min(720px, 100%);
  }

  .accent-large {
    aspect-ratio: 16 / 10;
  }

  .review-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 0.8rem 1rem;
  }

  .brand small {
    display: none;
  }

  .hero,
  .final-cta {
    min-height: 92vh;
  }

  .hero {
    min-height: auto;
    padding: 6.5rem 0 13.75rem;
  }

  .hero-content,
  .final-cta-content {
    width: calc(100% - 2rem);
    margin: 0 auto;
  }

  .hero-content {
    padding-top: 0;
  }

  .final-cta-content {
    padding-top: 5.6rem;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(2.8rem, 12vw, 4.6rem);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button {
    min-height: 3.2rem;
  }

  .trust-strip {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    padding: 0.7rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 241, 0.18);
    font-size: 0.82rem;
  }

  .trust-strip span:last-child {
    border-bottom: 0;
  }

  .section-padding {
    padding: 4rem 1rem;
  }

  .section-heading {
    text-align: left;
  }

  .intro-image {
    aspect-ratio: 4 / 3;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    grid-row: auto;
  }

  .feature-card-large .image-frame,
  .feature-card .image-frame,
  .feature-card-tall .image-frame {
    aspect-ratio: 4 / 3;
  }

  .atmosphere-main {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-item,
  .gallery-window,
  .gallery-pastry,
  .gallery-pour,
  .gallery-cinnamon,
  .gallery-brunch {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-pour {
    aspect-ratio: 4 / 5;
  }

  .hours-list div,
  .menu-item {
    align-items: flex-start;
  }

  .menu-item span {
    font-size: 1.55rem;
  }

  .location-panel {
    min-height: 360px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .menu-section.section-padding,
  .reviews.section-padding {
    padding-right: 40px;
    padding-left: 40px;
  }

  .menu-section .section-heading,
  .reviews .section-heading {
    margin-bottom: 24px;
    padding: 30px 0;
  }

  .menu-section .eyebrow,
  .reviews .eyebrow,
  .section-label {
    margin-bottom: 20px;
  }

  .menu-section .section-heading h2,
  .reviews .section-heading h2 {
    margin-bottom: 22px;
  }

  .menu-section .section-heading p,
  .reviews .section-heading p {
    margin-top: 0;
  }

  .menu-list {
    border-top: 1px solid var(--line);
  }

  .menu-item {
    gap: 1.25rem;
    padding: 23px 24px;
  }

  .menu-accent p,
  figcaption {
    margin-top: 0;
    padding: 24px;
  }

  .review {
    padding: 28px;
  }

  .stars {
    margin-bottom: 24px;
  }

  .review p {
    margin: 0 0 24px;
  }
}

@media (max-width: 430px) {
  .brand-mark {
    width: 2.3rem;
    height: 2.3rem;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(33, 22, 16, 0.44), rgba(33, 22, 16, 0.86)),
      linear-gradient(90deg, rgba(33, 22, 16, 0.68), rgba(33, 22, 16, 0.26));
  }

  .hero-copy {
    font-size: 1rem;
  }
}
