:root {
  --background: 36 45% 92%;
  --surface: 38 47% 96%;
  --foreground: 20 38% 13%;
  --muted: 24 14% 40%;
  --line: 25 20% 72%;
  --primary: 17 46% 31%;
  --primary-deep: 18 48% 20%;
  --accent: 28 62% 49%;
  --accent-soft: 33 62% 72%;
  --olive: 82 16% 31%;
  --light: 42 47% 91%;
  --on-dark: 39 43% 91%;
  --shadow: 19 44% 10%;
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Fira Sans", Arial, sans-serif;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.20'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 10px 16px;
  color: hsl(var(--surface));
  background: hsl(var(--foreground));
}

.skip-link:focus {
  transform: translateY(0);
}

.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 {
  width: min(calc(100% - 64px), var(--container));
  height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid hsl(var(--line));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand__mark {
  width: 24px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand__name i {
  color: hsl(var(--primary));
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a,
.header-cta {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: hsl(var(--primary));
  transition: right 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.header-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid hsl(var(--foreground));
  border-radius: 50%;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.header-cta:hover span {
  color: hsl(var(--surface));
  background: hsl(var(--foreground));
  transform: rotate(45deg);
}

.menu-toggle {
  display: none;
  border: 0;
  padding: 8px;
  background: transparent;
}

.hero {
  width: min(calc(100% - 64px), var(--container));
  min-height: 710px;
  margin: 0 auto;
  padding: 54px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: hsl(var(--primary));
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: block;
  width: 30px;
  height: 1px;
  background: currentColor;
}

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

h1,
h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

h1 {
  font-size: clamp(52px, 5.2vw, 78px);
}

h1 em,
h2 em {
  color: hsl(var(--primary));
  font-weight: 400;
}

.hero__intro {
  max-width: 520px;
  margin: 30px 0 32px;
  color: hsl(var(--muted));
  font-size: 17px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

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

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

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

.text-link {
  padding-bottom: 3px;
  border-bottom: 1px solid hsl(var(--line));
  font-size: 13px;
  font-weight: 500;
}

.text-link span {
  margin-left: 8px;
}

.hero__details {
  margin-top: 58px;
  padding-top: 22px;
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 26px;
  border-top: 1px solid hsl(var(--line));
}

.hero__details > div {
  display: grid;
  gap: 3px;
}

.detail-label,
.visit-card__label {
  color: hsl(var(--muted));
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__details strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
}

.hero__visual {
  position: relative;
  padding: 0 24px 28px 0;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 34px 0 0 42px;
  border: 1px solid hsl(var(--accent-soft));
}

.image-frame {
  position: relative;
  overflow: hidden;
}

.image-frame--hero {
  height: 558px;
  box-shadow: 20px 24px 50px hsl(var(--shadow) / 0.18);
}

.image-frame--hero::after,
.story__image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, hsl(var(--shadow) / 0.26));
}

.image-frame--hero img {
  height: 100%;
  object-fit: cover;
  object-position: 49% center;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero__visual:hover img {
  transform: scale(1.02);
}

.roast-note {
  position: absolute;
  left: -34px;
  bottom: 0;
  z-index: 2;
  width: 258px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: hsl(var(--on-dark));
  background: hsl(var(--primary-deep));
  box-shadow: 10px 12px 30px hsl(var(--shadow) / 0.2);
}

.roast-note svg {
  width: 29px;
  flex: 0 0 auto;
  fill: none;
  stroke: hsl(var(--accent-soft));
  stroke-width: 1.5;
}

.roast-note div {
  display: grid;
}

.roast-note span {
  color: hsl(var(--accent-soft));
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.roast-note strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
}

.hero__number {
  position: absolute;
  right: 37px;
  top: 14px;
  z-index: 2;
  color: hsl(var(--surface));
  font-size: 10px;
  letter-spacing: 0.14em;
}

.ticker {
  overflow: hidden;
  color: hsl(var(--on-dark));
  background: hsl(var(--primary-deep));
}

.ticker__track {
  min-width: max-content;
  min-height: 72px;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  font-family: var(--font-display);
  font-size: 20px;
}

.ticker__track i {
  color: hsl(var(--accent));
  font-family: var(--font-body);
  font-size: 11px;
  font-style: normal;
}

.section-shell {
  width: min(calc(100% - 64px), var(--container));
  margin: 0 auto;
}

.menu-section {
  padding-top: 112px;
  padding-bottom: 112px;
}

.section-heading {
  margin-bottom: 58px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: end;
  gap: 90px;
}

h2 {
  font-size: clamp(45px, 4.4vw, 66px);
}

.section-heading > p {
  max-width: 380px;
  margin-bottom: 4px;
  color: hsl(var(--muted));
  font-size: 15px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid hsl(var(--line));
  border-bottom: 1px solid hsl(var(--line));
}

.menu-card {
  min-height: 390px;
  padding: 26px 30px 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid hsl(var(--line));
}

.menu-card:last-child {
  border-right: 0;
}

.menu-card--accent {
  color: hsl(var(--on-dark));
  background: hsl(var(--primary));
  transform: translateY(-14px);
  box-shadow: 12px 18px 30px hsl(var(--shadow) / 0.12);
}

.menu-card__number {
  color: hsl(var(--muted));
  font-size: 10px;
  letter-spacing: 0.12em;
}

.menu-card--accent .menu-card__number,
.menu-card--accent p,
.menu-card--accent .menu-card__footer span {
  color: hsl(var(--on-dark) / 0.68);
}

.menu-card__icon {
  height: 88px;
  margin: 14px 0 12px;
  display: flex;
  align-items: center;
  color: hsl(var(--primary));
  font-family: var(--font-display);
  font-size: 38px;
}

.menu-card--accent .menu-card__icon {
  color: hsl(var(--accent-soft));
}

.menu-card h3 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
}

.menu-card p {
  max-width: 310px;
  color: hsl(var(--muted));
  font-size: 14px;
  line-height: 1.7;
}

.menu-card__footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid currentColor;
  font-size: 10px;
}

.menu-card__footer span {
  color: hsl(var(--muted));
  text-transform: uppercase;
}

.menu-card__footer strong {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 500;
}

.menu-download {
  margin-top: 38px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-download__line {
  height: 1px;
  background: hsl(var(--line));
  transition: background 220ms ease;
}

.menu-download:hover .menu-download__line {
  background: hsl(var(--primary));
}

.story-section {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  background: hsl(var(--primary-deep));
}

.story__image {
  position: relative;
  min-height: 720px;
}

.story__image img {
  height: 100%;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  z-index: 2;
  left: 34px;
  bottom: 22px;
  margin: 0;
  color: hsl(var(--on-dark));
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-caption span {
  margin-right: 18px;
  color: hsl(var(--accent-soft));
}

.story__copy {
  max-width: 590px;
  padding: 98px 78px;
  align-self: center;
  color: hsl(var(--on-dark));
}

.eyebrow--light {
  color: hsl(var(--accent-soft));
}

.story__copy h2 em {
  color: hsl(var(--accent-soft));
}

.story__lead {
  margin: 30px 0 18px;
  color: hsl(var(--on-dark));
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.45;
}

.story__copy > p:not(.eyebrow):not(.story__lead) {
  color: hsl(var(--on-dark) / 0.66);
  font-size: 14px;
}

blockquote {
  margin: 30px 0 34px;
  padding: 2px 0 2px 18px;
  border-left: 1px solid hsl(var(--accent));
  color: hsl(var(--accent-soft));
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
}

.button--light {
  border-color: hsl(var(--on-dark) / 0.5);
  color: hsl(var(--on-dark));
}

.button--light:hover {
  color: hsl(var(--primary-deep));
  background: hsl(var(--on-dark));
}

.visit-section {
  padding-top: 112px;
  padding-bottom: 112px;
}

.visit__heading {
  margin-bottom: 52px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  border-top: 1px solid hsl(var(--line));
  border-bottom: 1px solid hsl(var(--line));
}

.visit-card {
  min-height: 210px;
  padding: 30px 30px 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid hsl(var(--line));
}

.visit-card:last-child {
  border-right: 0;
}

.visit-card--address {
  color: hsl(var(--on-dark));
  background: hsl(var(--olive));
}

.visit-card--address .visit-card__label {
  color: hsl(var(--on-dark) / 0.66);
}

.visit-card h3 {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.3;
}

.visit-card p,
.visit-card a {
  margin: auto 0 0;
  font-size: 12px;
}

.visit-card a {
  width: max-content;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-weight: 500;
}

.site-footer {
  padding: 60px max(32px, calc((100% - var(--container)) / 2));
  color: hsl(var(--on-dark));
  background: hsl(var(--foreground));
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-bottom: 46px;
  border-bottom: 1px solid hsl(var(--on-dark) / 0.2);
}

.brand--footer .brand__name i {
  color: hsl(var(--accent-soft));
}

.footer__top p {
  margin: 0;
  color: hsl(var(--on-dark) / 0.56);
  font-family: var(--font-display);
  font-style: italic;
}

.footer__socials {
  justify-self: end;
  display: flex;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__socials a:hover {
  color: hsl(var(--accent-soft));
}

.footer__bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  color: hsl(var(--on-dark) / 0.48);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal--delay {
  transition-delay: 140ms;
}

.reveal--delay-small {
  transition-delay: 90ms;
}

.reveal--delay-more {
  transition-delay: 180ms;
}

@media (max-width: 1080px) {
  .site-header,
  .hero,
  .section-shell {
    width: min(calc(100% - 48px), var(--container));
  }

  .hero {
    min-height: 650px;
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
    gap: 38px;
  }

  .image-frame--hero {
    height: 500px;
  }

  .story__copy {
    padding: 70px 52px;
  }

  .story-section,
  .story__image {
    min-height: 650px;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 76px;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    z-index: 50;
    padding: 26px 24px;
    display: grid;
    gap: 20px;
    transform: translateY(-130%);
    background: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--line));
    transition: transform 260ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: grid;
    gap: 5px;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 25px;
    height: 1px;
    background: hsl(var(--foreground));
    transition: transform 220ms ease;
  }

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

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

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 48px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__copy {
    max-width: 620px;
  }

  .hero__visual {
    max-width: 650px;
    margin-left: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .menu-card,
  .menu-card:last-child {
    min-height: 310px;
    border-right: 0;
    border-bottom: 1px solid hsl(var(--line));
  }

  .menu-card--accent {
    transform: none;
  }

  .story-section {
    grid-template-columns: 1fr;
  }

  .story__image {
    min-height: 520px;
  }

  .story__copy {
    max-width: 680px;
  }

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

  .visit-card--address {
    grid-column: 1 / -1;
  }

  .footer__top {
    grid-template-columns: 1fr auto;
  }

  .footer__top p {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section-shell {
    width: calc(100% - 36px);
  }

  h1 {
    font-size: clamp(46px, 14vw, 61px);
  }

  h2 {
    font-size: 44px;
  }

  .hero {
    padding: 38px 0 54px;
  }

  .hero__intro {
    font-size: 16px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero__details {
    margin-top: 42px;
    grid-template-columns: 1fr 1.35fr;
    gap: 14px;
  }

  .hero__details strong {
    font-size: 14px;
  }

  .hero__visual {
    margin-left: 0;
    padding-right: 10px;
  }

  .image-frame--hero {
    height: 440px;
  }

  .image-frame--hero img {
    object-position: 60% center;
  }

  .hero__visual::before {
    inset: 24px 0 0 22px;
  }

  .roast-note {
    left: -7px;
    width: 228px;
    padding: 14px 16px;
  }

  .ticker__track {
    justify-content: flex-start;
    gap: 24px;
    overflow: hidden;
    font-size: 17px;
  }

  .menu-section,
  .visit-section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .menu-card {
    padding-inline: 20px;
  }

  .menu-download {
    align-items: start;
  }

  .story__image {
    min-height: 430px;
  }

  .story__copy {
    padding: 72px 24px;
  }

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

  .visit-card--address {
    grid-column: auto;
  }

  .visit-card {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid hsl(var(--line));
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__socials {
    justify-self: start;
  }

  .footer__bottom {
    gap: 12px;
    flex-direction: column;
  }
}

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

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

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