:root {
  --ink: #1a1a18;
  --ink-soft: #242421;
  --paper: #f4f0e8;
  --warm: #e8dfd0;
  --line: rgba(26, 26, 24, 0.16);
  --line-light: rgba(255, 255, 255, 0.2);
  --muted: #77746d;
  --muted-light: #aaa69e;
  --teal: #4d6d6c;
  --berry: #b85a58;
  --shell: 1240px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ink); font-family: "Manrope", ui-sans-serif, system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, h3, p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.045em; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1; }
h3 { font-size: 1.25rem; line-height: 1.2; }
p { color: var(--muted); }

.shell { width: min(calc(100% - 96px), var(--shell)); margin-inline: auto; }
.section-paper, .section-warm, .section-ink { position: relative; overflow: hidden; }
.section-paper { background: var(--paper); }
.section-warm { background: var(--warm); }
.section-ink { background: var(--ink); color: #fff; }
.eyebrow { color: currentColor; font-size: 0.75rem; line-height: 1rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.section-ink .eyebrow, .site-footer .eyebrow { color: var(--muted-light); }
.body-copy { max-width: 35rem; font-size: 1.125rem; line-height: 1.65; }
.section-intro { max-width: 22rem; font-size: 1rem; line-height: 1.6; }
.skip-link { position: fixed; z-index: 20; top: 0.5rem; left: 0.5rem; padding: 0.75rem 1rem; border-radius: 999px; background: var(--paper); color: var(--ink); transform: translateY(-150%); transition: transform 180ms ease-out; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 10; top: 1.5rem; left: 0; width: 100%; color: #fff; }
.nav-shell { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 3.75rem; padding: 0.5rem 0.5rem 0.5rem 0.75rem; border: 1px solid rgba(255, 255, 255, 0.23); border-radius: 999px; background: rgba(20, 20, 18, 0.7); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; min-width: max-content; }
.brand-mark { display: grid; width: 2.375rem; height: 2.375rem; place-items: center; border: 1px solid rgba(255, 255, 255, 0.58); border-radius: 50%; font-size: 1rem; font-weight: 700; letter-spacing: -0.06em; }
.brand-copy { display: grid; gap: 0.05rem; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1; }
.brand-copy small { color: var(--muted-light); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 1.5rem; color: #d7d5cf; font-size: 0.875rem; font-weight: 600; }
.desktop-nav a, .mobile-menu a { transition: color 180ms ease-out, transform 180ms ease-out; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .mobile-menu a:hover, .mobile-menu a:focus-visible { color: #fff; }
.desktop-nav a[aria-current="page"] { color: #fff; }
.nav-social { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.65rem 0.9rem; border: 1px solid var(--line-light); border-radius: 999px; color: #fff; }
.menu-toggle { display: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
.menu-toggle span { display: block; width: 1rem; height: 1px; margin: 0.34rem auto; background: var(--ink); transition: transform 350ms var(--ease), margin 350ms var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { margin-block: 0; transform: translateY(0.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { margin-block: 0; transform: translateY(-0.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 1; min-height: 100svh; padding: 8rem 1.5rem 2rem; background: rgba(24, 24, 22, 0.97); }
.mobile-menu:not([hidden]) { animation: menu-in 350ms var(--ease) both; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-1rem); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu nav { display: grid; gap: 0.75rem; }
.mobile-menu a { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid var(--line-light); color: #f6f1e8; font-size: 2.25rem; font-weight: 700; letter-spacing: -0.05em; }
.mobile-menu p { margin-top: 2rem; color: var(--muted-light); font-size: 0.875rem; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); height: 92svh; min-height: 92svh; background: var(--ink); color: #fff; }
.hero-copy { grid-area: 1 / 1; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 0; padding: 9rem 0 4.5rem; }
.hero-copy .eyebrow { margin-bottom: 1.5rem; color: #bbb8ae; }
.hero-title { max-width: 40rem; font-size: clamp(3.75rem, 6.8vw, 6.5rem); line-height: 0.93; color: #fff; }
.hero-lede { max-width: 28rem; margin-top: 2rem; color: #bab7ae; font-size: 1.125rem; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3rem; padding: 0.5rem 0.75rem; border: 1px solid transparent; border-radius: 999px; font-size: 1rem; font-weight: 700; transition: transform 180ms ease-out, background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(0.98); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: #fff; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--teal); }
.text-link { display: inline-flex; align-items: center; gap: 0.55rem; width: max-content; border-bottom: 1px solid currentColor; padding-bottom: 0.2rem; font-size: 0.875rem; font-weight: 700; transition: gap 180ms ease-out, color 180ms ease-out; }
.text-link:hover { gap: 0.8rem; }
.text-link-light { color: #e9e4d9; }
.text-link-dark { color: var(--ink); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.65rem 1.25rem; margin-top: 5rem; color: #88857c; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; }
.hero-meta span + span::before { content: "•"; margin-right: 1.25rem; color: var(--teal); }
.hero-media { grid-area: 1 / 1; position: relative; height: 100%; min-height: 0; overflow: hidden; background: #272725; }
.hero-media::before { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(90deg, rgba(21, 21, 19, 0.76) 0%, rgba(21, 21, 19, 0.42) 38%, rgba(21, 21, 19, 0.08) 78%), linear-gradient(0deg, rgba(21, 21, 19, 0.58) 0%, rgba(21, 21, 19, 0.08) 46%, rgba(21, 21, 19, 0.12) 100%); pointer-events: none; }
.hero-media::after { position: absolute; inset: 0; content: ""; background: rgba(21, 21, 19, 0.06); pointer-events: none; }
.hero-media img { height: 100%; object-fit: cover; object-position: center 58%; }
.hero-media-note { position: absolute; right: 1.5rem; bottom: 1.5rem; z-index: 2; display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.85rem; background: rgba(20, 20, 18, 0.74); color: #f4f0e8; font-size: 0.75rem; font-weight: 600; }

.intro { padding: 8rem 0 9rem; }
.intro-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; }
.section-marker { display: flex; align-items: flex-start; gap: 1rem; }
.section-marker .eyebrow { color: var(--teal); }
.marker-line { width: 2.5rem; height: 1px; margin-top: 0.45rem; background: var(--teal); }
.tagline { max-width: 48rem; font-size: clamp(2.75rem, 6vw, 6rem); line-height: 0.97; }
.tagline [data-word] { color: rgba(26, 26, 24, 0.22); transition: color 750ms var(--ease); }
.tagline [data-word].is-visible { color: var(--ink); }
.intro-copy .body-copy { margin-top: 3rem; }
.intro-copy .text-link { margin-top: 2rem; }

.menu-section { padding: 8rem 0 5rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.section-heading h2 { max-width: 46rem; margin-top: 1.25rem; }
.section-heading-light h2 { color: #f4f0e8; }
.section-heading-light .section-intro { color: #aaa69e; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 4rem; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.menu-card { min-width: 0; border-right: 1px solid var(--line-light); }
.menu-card:last-child { border-right: 0; }
.menu-card-image { aspect-ratio: 1 / 0.82; overflow: hidden; background: #2b2b28; }
.menu-card-image img { height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.menu-card:hover .menu-card-image img { transform: scale(1.04); }
.menu-card-content { padding: 1.75rem 1.5rem 2rem; }
.menu-card-content .eyebrow { color: var(--muted-light); }
.menu-card-content h3 { margin-top: 1.25rem; color: #f4f0e8; }
.menu-card-content p:last-child { margin-top: 1rem; color: #aaa69e; font-size: 0.9375rem; line-height: 1.65; }
.menu-note { padding-top: 1.25rem; color: #aaa69e; font-size: 0.75rem; }

.coffee-section { padding: 8rem 0; }
.coffee-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); align-items: center; gap: clamp(3rem, 9vw, 9rem); }
.coffee-image { position: relative; max-width: 36rem; }
.coffee-image::before { position: absolute; z-index: 0; top: 1.5rem; right: -1.5rem; width: 55%; height: 55%; content: ""; background: var(--teal); opacity: 0.15; }
.coffee-image img { position: relative; z-index: 1; aspect-ratio: 1 / 1.04; object-fit: cover; }
.image-tag { position: absolute; z-index: 2; right: -0.75rem; bottom: 1.5rem; padding: 0.75rem 1rem; background: var(--ink); color: var(--paper); font-size: 0.75rem; font-weight: 700; }
.coffee-copy h2 { max-width: 34rem; margin-top: 1.25rem; }
.coffee-copy .body-copy { margin-top: 2rem; }
.coffee-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.coffee-list span { padding: 0.55rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 0.75rem; font-weight: 700; }
.coffee-copy .text-link { margin-top: 2.5rem; }

.gallery-section { padding: 8rem 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: 1rem; margin-top: 4rem; }
.gallery-item { position: relative; grid-column: span 4; min-width: 0; margin: 0; overflow: hidden; background: #d4c6b4; }
.gallery-featured, .gallery-featured.gallery-landscape { grid-column: span 7; aspect-ratio: 4 / 3; }
.gallery-storefront { grid-column: span 5; aspect-ratio: 1 / 1; }
.gallery-portrait { grid-column: span 4; margin-top: 3rem; aspect-ratio: 3 / 4; }
.gallery-landscape { grid-column: span 4; aspect-ratio: 4 / 3; }
.gallery-square { aspect-ratio: 1 / 1; }
.gallery-item img { height: 100%; object-fit: cover; object-position: center; transition: transform 700ms var(--ease); }
.gallery-featured img { object-position: center 48%; }
.gallery-people img { object-position: center 42%; }
.gallery-atmosphere img { object-position: center 50%; }
.gallery-food-detail img { object-position: center 48%; }
.gallery-item figcaption { position: absolute; right: 0.75rem; bottom: 0.75rem; left: 0.75rem; width: max-content; max-width: calc(100% - 1.5rem); padding: 0.45rem 0.6rem; background: rgba(20, 20, 18, 0.78); color: var(--paper); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; }
.gallery-item:hover img { transform: scale(1.025); }

.visit-section { padding: 8rem 0; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.visit-copy h2 { max-width: 30rem; margin-top: 1.25rem; }
.visit-copy > .body-copy { margin-top: 2rem; }
.visit-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.visit-details > div { display: grid; align-content: start; gap: 0.6rem; }
.detail-label { color: var(--teal); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.visit-details strong, .visit-details a { font-size: 0.875rem; line-height: 1.55; }
.visit-details a { border-bottom: 1px solid var(--line); width: max-content; }
.visit-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.5rem; }
.visit-image { position: relative; overflow: hidden; }
.visit-image img { aspect-ratio: 1.16 / 1; object-fit: cover; object-position: center; }
.visit-caption { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem; background: rgba(20, 20, 18, 0.78); color: var(--paper); font-size: 0.75rem; font-weight: 600; }

.faq-section { padding: 8rem 0; }
.faq-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(3rem, 9vw, 9rem); }
.faq-intro h2 { margin-top: 1.25rem; color: #f4f0e8; }
.faq-intro > p:not(.eyebrow) { max-width: 23rem; margin-top: 1.5rem; color: #aaa69e; }
.faq-intro .text-link { margin-top: 2rem; }
.faq-list { border-top: 1px solid var(--line-light); }
.faq-list details { border-bottom: 1px solid var(--line-light); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; color: #f4f0e8; cursor: pointer; font-size: 1.125rem; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--muted-light); font-size: 1.5rem; font-weight: 400; transition: transform 180ms ease-out; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 36rem; padding: 0 2rem 1.25rem 0; color: #aaa69e; font-size: 0.9375rem; }

.closing-section { padding: 8rem 0; }
.closing-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.closing-inner h2 { margin-top: 1rem; }

.site-footer { padding: 4rem 0 1.5rem; background: #131312; color: #f4f0e8; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr; gap: 3rem; }
.brand-footer .brand-mark { border-color: rgba(255, 255, 255, 0.4); }
.footer-note { max-width: 18rem; margin-top: 1.5rem; color: #aaa69e; font-size: 0.875rem; }
.footer-links { display: grid; align-content: start; gap: 0.75rem; color: #aaa69e; font-size: 0.875rem; }
.footer-links a { transition: color 180ms ease-out; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1rem; border-top: 1px solid var(--line-light); color: #77746d; font-size: 0.75rem; }
.footer-bottom span:last-child { display: flex; gap: 1rem; }
.footer-bottom a:hover { color: #fff; }

.legal-page { background: var(--ink); }
.legal-header { padding: 1.5rem 0; background: var(--ink); color: #fff; }
.legal-main { min-height: calc(100svh - 6rem); padding: 8rem 0; }
.legal-copy { max-width: 48rem; }
.legal-copy h1 { margin-top: 1rem; font-size: clamp(3rem, 8vw, 6rem); line-height: 0.95; }
.legal-copy h2 { margin-top: 3rem; font-size: 2rem; }
.legal-copy p:not(.eyebrow) { max-width: 38rem; margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.7; }
.legal-copy a:not(.button):not(.text-link) { border-bottom: 1px solid var(--line); }
.legal-copy .text-link, .legal-copy .button { margin-top: 2.5rem; }

.reveal { opacity: 0; transform: translateY(2rem); filter: blur(0.3rem); transition: opacity 800ms var(--ease), transform 800ms var(--ease), filter 800ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 140ms; }
.hero .reveal { opacity: 1; transform: none; filter: none; animation: hero-in 800ms var(--ease) both; }
.hero-copy .reveal:nth-child(1) { animation-delay: 100ms; }
.hero-copy .reveal:nth-child(2) { animation-delay: 180ms; }
.hero-copy .reveal:nth-child(3) { animation-delay: 260ms; }
.hero-copy .reveal:nth-child(4) { animation-delay: 340ms; }
.hero-copy .reveal:nth-child(5) { animation-delay: 420ms; }
@keyframes hero-in { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: translateY(0); } }

:focus-visible { outline: 2px solid var(--berry); outline-offset: 4px; }

@media (max-width: 960px) {
  .shell { width: min(calc(100% - 64px), var(--shell)); }
  .desktop-nav { gap: 1rem; }
  .hero-copy { padding-inline: 0; }
  .hero-title { font-size: clamp(3.5rem, 7vw, 5.5rem); }
  .intro-grid, .visit-grid, .faq-grid { gap: 3rem; }
  .gallery-grid { gap: 0.75rem; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 40px), var(--shell)); }
  .site-header { top: 0.75rem; }
  .nav-shell { min-height: 3.5rem; padding-left: 0.5rem; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero { height: 90svh; min-height: 90svh; }
  .hero-copy { height: 100%; min-height: 0; padding: 7rem 0 2.5rem; }
  .hero-media { height: 100%; min-height: 0; }
  .hero-media img { object-position: 54% 58%; }
  .hero-media-note { display: none; }
  .hero-title { max-width: 22rem; font-size: clamp(3.25rem, 15vw, 5rem); }
  .hero-lede { max-width: 22rem; font-size: 1rem; }
  .hero-meta { margin-top: 3rem; }
  .hero-meta span + span::before { margin-right: 0.7rem; }
  .intro, .menu-section, .coffee-section, .gallery-section, .visit-section, .faq-section, .closing-section { padding: 5rem 0; }
  .intro-grid, .coffee-grid, .visit-grid, .faq-grid, .closing-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; }
  .section-marker { margin-bottom: 1.25rem; }
  .tagline { font-size: clamp(2.75rem, 13vw, 4.25rem); }
  .intro-copy .body-copy { margin-top: 2rem; }
  .section-heading { display: grid; gap: 1.5rem; }
  .section-heading h2 { margin-top: 1rem; }
  .menu-grid { grid-template-columns: 1fr; gap: 0; margin-top: 3rem; }
  .menu-card { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .menu-card:last-child { border-bottom: 0; }
  .menu-card-image { aspect-ratio: 1.25 / 1; }
  .menu-card-content { padding-inline: 0; }
  .coffee-grid { gap: 3rem; }
  .coffee-image { max-width: calc(100% - 0.75rem); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 3rem; }
  .gallery-item, .gallery-storefront, .gallery-portrait, .gallery-landscape { grid-column: span 1; margin-top: 0; }
  .gallery-featured, .gallery-featured.gallery-landscape, .gallery-storefront, .gallery-people, .gallery-atmosphere { grid-column: span 2; }
  .gallery-section .section-heading h2 { max-width: 20rem; }
  .gallery-item figcaption { right: 0.5rem; bottom: 0.5rem; left: 0.5rem; max-width: calc(100% - 1rem); padding: 0.35rem 0.45rem; font-size: 0.62rem; }
  .visit-details { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .visit-details > div:first-child { grid-column: span 2; }
  .visit-actions { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .closing-inner { align-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1rem; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero .reveal { animation: none; }
  .tagline [data-word] { color: var(--ink); }
}
