:root {
  --white: #ffffff;
  --warm-white: #f7f7f2;
  --ink: #1a1a17;
  --muted: #65635d;
  --green: #173c2e;
  --green-hover: #24533f;
  --petal: #efd1cc;
  --gold: #d1a12e;
  --line: #d9d9d1;
  --display: "Playfair Display", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
  --header-height: 78px;
  --content-width: 1440px;
  --gutter: 64px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: -9999px;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--green);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(330px, 1fr);
  align-items: center;
  width: min(100%, var(--content-width));
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 40px;
}

.wordmark {
  width: fit-content;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.desktop-nav,
.header-actions,
.hero-actions,
.visit-actions {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 40px;
}

.desktop-nav a,
.instagram-link,
.footer-main nav a {
  position: relative;
  min-height: 44px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
}

.desktop-nav a::after,
.instagram-link::after,
.footer-main nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  transition: transform 200ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.instagram-link:hover::after,
.instagram-link:focus-visible::after,
.footer-main nav a:hover::after,
.footer-main nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  justify-content: flex-end;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease,
    transform 180ms ease;
}

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

.button-primary {
  background: var(--green);
  color: var(--white);
}

.button-primary:hover {
  background: var(--green-hover);
}

.button-light {
  background: var(--white);
  color: var(--green);
}

.button-light:hover {
  background: var(--petal);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button-ghost:hover {
  background: var(--white);
  color: var(--green);
}

.button-outline {
  border-color: var(--ink);
  background: var(--white);
}

.button-outline:hover {
  border-color: var(--green);
  background: var(--warm-white);
  color: var(--green);
}

.menu-toggle,
.mobile-menu,
.mobile-quick-actions {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(80svh - var(--header-height));
  overflow: hidden;
  background: var(--green);
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background: rgba(11, 25, 19, 0.48);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(80svh - var(--header-height));
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 72px var(--gutter) 74px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero h1,
.section-intro h2,
.story-copy h2,
.visit-copy h2,
.offering h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: 82px;
  line-height: 1.03;
}

.hero-content > p {
  max-width: 590px;
  margin: 26px 0 0;
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 32px;
  gap: 12px;
}

.hero-meta {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.hero-meta span + span::before {
  margin-right: 26px;
  color: var(--gold);
  content: "•";
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 30px;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.scroll-cue span:last-child {
  font-size: 18px;
}

.offerings {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 2fr);
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 72px var(--gutter) 128px;
  gap: 64px;
}

.section-intro {
  align-self: center;
}

.section-intro h2,
.story-copy h2,
.visit-copy h2 {
  font-size: 56px;
  line-height: 1.12;
}

.accent-line {
  display: block;
  width: 42px;
  height: 3px;
  margin: 24px 0;
  background: var(--gold);
}

.section-intro p,
.story-copy p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
}

.offering-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.offering {
  min-width: 0;
}

.offering img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.offering:nth-child(3) img {
  object-position: 47% center;
}

.offering h3 {
  margin-top: 20px;
  font-size: 28px;
  line-height: 1.2;
}

.offering p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cafe-story {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(420px, 2fr);
  min-height: 680px;
  background: var(--warm-white);
}

.story-image {
  min-height: 680px;
  margin: 0;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  display: flex;
  padding: 90px 72px;
  flex-direction: column;
  justify-content: center;
}

.story-copy p + p {
  margin-top: 18px;
}

.text-link {
  width: fit-content;
  min-height: 44px;
  margin-top: 30px;
  border-bottom: 1px solid var(--ink);
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
}

.text-link:hover {
  border-color: var(--green);
  color: var(--green);
}

.visit {
  display: grid;
  grid-template-columns: minmax(450px, 0.85fr) minmax(0, 1.15fr);
  min-height: 700px;
}

.visit-copy {
  display: flex;
  padding: 92px var(--gutter);
  flex-direction: column;
  justify-content: center;
}

.visit-details {
  display: grid;
  margin: 8px 0 0;
  gap: 25px;
}

.visit-details div {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}

.visit-details dt,
.visit-details dd {
  margin: 0;
}

.visit-details dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.visit-details dd {
  font-size: 15px;
}

.visit-details a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.visit-actions {
  margin-top: 30px;
  gap: 12px;
}

.visit-image {
  min-height: 700px;
  margin: 0;
  overflow: hidden;
}

.visit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 54px var(--gutter) 36px;
}

.footer-main,
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-main {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.footer-main nav {
  display: flex;
  gap: 34px;
}

.footer-meta {
  padding-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

.footer-meta p,
.demo-note {
  margin: 0;
}

.demo-note {
  max-width: 760px;
  margin-top: 16px;
  color: #77746c;
  font-size: 12px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  :root {
    --gutter: 36px;
  }

  .header-inner {
    grid-template-columns: minmax(180px, 1fr) auto minmax(250px, 1fr);
    gap: 24px;
  }

  .desktop-nav {
    gap: 26px;
  }

  .instagram-link {
    display: none;
  }

  .hero h1 {
    max-width: 650px;
    font-size: 68px;
  }

  .offerings {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-intro p {
    max-width: 620px;
  }

  .cafe-story {
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  }

  .story-copy {
    padding: 72px 28px;
  }

  .story-copy h2 {
    font-size: 40px;
  }

  .visit {
    grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 70px;
    --gutter: 24px;
  }

  body {
    padding-bottom: 64px;
  }

  .site-header {
    height: var(--header-height);
    background: var(--white);
    backdrop-filter: none;
  }

  .header-inner {
    display: flex;
    padding: 0 var(--gutter);
    justify-content: space-between;
  }

  .wordmark {
    font-size: 30px;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }

  .menu-toggle span {
    width: 23px;
    height: 2px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 99;
    inset: var(--header-height) 0 0;
    padding: 28px var(--gutter) 40px;
    background: var(--white);
  }

  .mobile-menu:not([hidden]) {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu nav a {
    display: flex;
    min-height: 58px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 30px;
  }

  .mobile-menu .button {
    margin-top: auto;
  }

  .hero,
  .hero-content {
    min-height: calc(88svh - var(--header-height));
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background: rgba(11, 25, 19, 0.54);
  }

  .hero-content {
    padding-top: 54px;
    padding-bottom: 74px;
  }

  .hero h1 {
    max-width: 610px;
    font-size: 58px;
  }

  .hero-content > p {
    max-width: 520px;
    font-size: 17px;
  }

  .scroll-cue {
    right: var(--gutter);
    bottom: 20px;
  }

  .offerings {
    padding-top: 84px;
    padding-bottom: 96px;
  }

  .section-intro h2,
  .story-copy h2,
  .visit-copy h2 {
    font-size: 48px;
  }

  .offering-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 46px;
  }

  .offering:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 11px);
  }

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

  .story-image,
  .visit-image {
    min-height: 500px;
  }

  .story-copy,
  .visit-copy {
    padding: 72px var(--gutter);
  }

  .visit-image {
    order: -1;
  }

  .footer-main {
    align-items: flex-start;
    gap: 30px;
  }

  .footer-main nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 28px;
  }

  .mobile-quick-actions {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    height: 64px;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--green);
    color: var(--white);
  }

  .mobile-quick-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
  }

  .mobile-quick-actions a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.24);
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 20px;
  }

  .hero,
  .hero-content {
    min-height: 580px;
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-content {
    justify-content: flex-end;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.06;
  }

  .hero-content > p {
    margin-top: 20px;
    font-size: 16px;
  }

  .hero-actions,
  .visit-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .visit-actions .button {
    width: 100%;
  }

  .hero-meta {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .offerings {
    padding-top: 72px;
    padding-bottom: 78px;
    gap: 40px;
  }

  .section-intro h2,
  .story-copy h2,
  .visit-copy h2 {
    font-size: 42px;
  }

  .offering-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .offering:last-child {
    grid-column: auto;
    max-width: none;
  }

  .offering h3 {
    font-size: 26px;
  }

  .story-image,
  .visit-image {
    min-height: 360px;
  }

  .story-copy,
  .visit-copy {
    padding-top: 60px;
    padding-bottom: 64px;
  }

  .visit-details div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .site-footer {
    padding-top: 46px;
  }

  .footer-main,
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main nav {
    width: 100%;
  }

  .footer-meta {
    gap: 4px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
