:root {
  --bg: #ffffff;
  --text: #050505;
  --muted: #6f6f6f;
  --line: #e8e8e8;
  --soft: #f5f5f2;
  --soft-dark: #ebebe6;
  --max: 1180px;
  --pad: clamp(18px, 4vw, 56px);
  --display: "Averia Serif Libre", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

figure {
  margin: 0;
}

button, input, select, textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3,
.brand-name {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

h1 {
  max-width: none;
  font-size: clamp(52px, 8.1vw, 112px);
}

h2 {
  max-width: 760px;
  font-size: clamp(32px, 4.8vw, 68px);
}

h3 {
  font-size: clamp(24px, 2.7vw, 36px);
}

p {
  max-width: 680px;
}

.mobile-break {
  display: none;
}

.desktop-space {
  display: inline-block;
  width: 0.18em;
}

.hero-title-last {
  margin-left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px var(--pad);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  flex: 0 0 auto;
  width: clamp(34px, 3.4vw, 44px);
  height: clamp(34px, 3.4vw, 44px);
  object-fit: contain;
}

.brand-name {
  font-size: clamp(22px, 2.2vw, 28px);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: clamp(4px, 1.5vw, 18px);
  color: var(--muted);
}

.lang-button {
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease;
}

.lang-button:hover,
.lang-button:focus-visible,
.lang-button.is-active {
  color: var(--text);
}

.section-pad {
  width: min(100%, calc(var(--max) + var(--pad) * 2));
  margin-inline: auto;
  padding: clamp(54px, 8vw, 112px) var(--pad);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(70px, 8vw, 126px);
}

.hero-copy {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  width: 100%;
}

.hero h1 {
  white-space: nowrap;
}

.hero-title-part {
  display: inline-block;
}


.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-lines {
  display: grid;
  gap: 6px;
  font-size: clamp(19px, 1.8vw, 28px);
  line-height: 1.22;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0,0,0,0.05);
  pointer-events: none;
}

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

.hero-visuals {
  overflow: visible;
  padding-bottom: clamp(36px, 5vw, 72px);
}

.hero-photo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  align-items: start;
}

.hero-photo {
  min-height: 0;
  aspect-ratio: 3 / 4;
}

.hero-photo:nth-child(1) { margin-top: 34px; }
.hero-photo:nth-child(2) { margin-top: 0; }
.hero-photo:nth-child(3) { margin-top: 52px; }
.hero-photo:nth-child(4) { margin-top: 18px; }
.hero-photo:nth-child(5) { margin-top: 72px; }

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
}

.intro p,
.instagram p,
.coffee .section-head p,
.waitlist p {
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(30px, 5vw, 70px);
}

.section-head.wide p {
  max-width: 780px;
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  min-height: 300px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
}

.info-card h3 {
  margin-bottom: 28px;
}

.info-card p,
.info-card dd,
.info-card dt {
  font-size: clamp(17px, 1.4vw, 21px);
}

.hours-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.hours-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hours-list dt {
  color: var(--muted);
}

.hours-list dd {
  margin: 0;
  text-align: right;
}

.text-link,
.footer-links a,
.embed-topline a {
  display: inline-flex;
  width: fit-content;
  margin-top: 24px;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, 1fr);
  gap: 18px;
}

.gallery-grid .media-frame {
  min-height: 220px;
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

.instagram {
  row-gap: clamp(22px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.instagram-feed-panel {
  grid-column: 1 / -1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: fit-content;
  padding: 14px 22px;
  color: #fff;
  background: var(--text);
  border: 1px solid var(--text);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.secondary {
  margin-top: 28px;
  color: var(--text);
  background: transparent;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: #fff;
  background: var(--text);
}

.embed-card {
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
}

.embed-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
}

.embed-topline a {
  margin-top: 0;
}

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

.social-grid .media-frame {
  aspect-ratio: 1;
}

.coffee-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.coffee-card {
  display: grid;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
}

.coffee-card:hover,
.coffee-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--text);
  outline: none;
}

.coffee-image {
  aspect-ratio: 4 / 5;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.coffee-card-copy {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.coffee-card-copy h3 {
  font-size: clamp(26px, 2.2vw, 34px);
}

.coffee-card-copy p {
  color: var(--muted);
  font-size: 15px;
}

.coffee-type {
  display: inline-flex;
  width: fit-content;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.waitlist-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
  padding: clamp(28px, 5vw, 62px);
  background: var(--soft);
  border: 1px solid var(--line);
}

.waitlist-card > div:first-child {
  display: grid;
  gap: 18px;
}

.waitlist-form {
  display: grid;
  gap: 16px;
}

.waitlist-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.waitlist-form input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
}

.waitlist-form label span {
  color: var(--muted);
  font-weight: 500;
}

.waitlist-form input:focus {
  border-color: var(--text);
  outline: none;
}

.hidden {
  display: none;
}

.come-by-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.come-by-copy {
  display: grid;
  gap: 18px;
}

.come-by h2 {
  max-width: 680px;
}

.come-by-images {
  position: relative;
  min-height: clamp(420px, 52vw, 620px);
}

.portrait-image {
  position: absolute;
  width: min(70%, 330px);
  min-height: 0;
  aspect-ratio: 3 / 4;
}

.portrait-one {
  top: 0;
  left: 0;
}

.portrait-two {
  right: 0;
  bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 12px;
}

.footer-links a {
  margin-top: 0;
}

.site-footer {
  padding: 28px var(--pad);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
  text-align: center;
}

.site-footer a {
  color: var(--muted);
  border-bottom: 1px solid currentColor;
}

.footer-separator {
  margin: 0 6px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: var(--pad);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  max-height: min(88svh, 760px);
  overflow: auto;
  background: var(--bg);
  border: 1px solid var(--text);
  box-shadow: 0 30px 90px rgba(0,0,0,0.12);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.lightbox-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1fr);
}

.lightbox-image {
  min-height: 560px;
  border: 0;
  border-right: 1px solid var(--line);
}

.lightbox-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(28px, 5vw, 62px);
}

.lightbox-copy h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 0.98;
}

.taste-notes {
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 24px);
}

.coffee-details {
  display: grid;
  gap: 0;
  margin: 12px 0 10px;
  border-top: 1px solid var(--line);
}

.coffee-details div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.coffee-details dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coffee-details dd {
  margin: 0;
}

@media (max-width: 960px) {
  .section-grid,
  .waitlist-card,
  .lightbox-grid {
    grid-template-columns: 1fr;
  }

  .coffee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lightbox-image {
    min-height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: clamp(21px, 7vw, 27px);
  }

  h1 {
    font-size: clamp(52px, 15vw, 88px);
  }

  .hero h1 {
    white-space: normal;
  }

  .desktop-space {
    display: none;
  }

  .mobile-break {
    display: block;
  }

  .hero-visuals {
    width: auto;
    margin-inline: calc(var(--pad) * -1);
    overflow: hidden;
    padding-bottom: 8px;
  }

  .hero-photo-strip {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    overflow-x: auto;
    padding: 0 var(--pad) 36px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .hero-photo-strip::-webkit-scrollbar {
    display: none;
  }

  .hero-photo-strip {
    scrollbar-width: none;
  }

  .hero-photo {
    flex: 0 0 min(72vw, 330px);
    scroll-snap-align: center;
  }

  .hero-photo:nth-child(1) { margin-top: 20px; }
  .hero-photo:nth-child(2) { margin-top: 0; }
  .hero-photo:nth-child(3) { margin-top: 34px; }
  .hero-photo:nth-child(4) { margin-top: 10px; }
  .hero-photo:nth-child(5) { margin-top: 44px; }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 16px;
    font-size: 12px;
  }

  .language-switcher {
    margin-left: auto;
  }

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

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

  .embed-card {
    padding: 14px;
  }

  .hours-list div {
    display: grid;
    gap: 4px;
  }

  .hours-list dd {
    text-align: left;
  }

  .waitlist-card {
    padding: 22px;
  }

  .come-by-grid {
    grid-template-columns: 1fr;
  }

  .come-by-images {
    min-height: 500px;
  }

  .portrait-image {
    width: 72%;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

.success-nav {
  margin-left: auto;
}

.success-page {
  min-height: calc(100svh - 84px);
  display: grid;
  align-content: center;
  gap: 28px;
}

.success-page h1 {
  font-size: clamp(56px, 8.7vw, 124px);
}

.success-page p:not(.eyebrow) {
  color: var(--muted);
  font-size: 20px;
}
