@font-face {
  font-family: Fraunces;
  src: url("./assets/fraunces-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url("./assets/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color: #292620;
  background: #faf8f5;
  font-family: Geist, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
main { min-width: 0; }
.content-width { width: min(100% - 40px, 1280px); margin-inline: auto; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #20211f;
  color: white;
}
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 53% 50%; z-index: -2; }
.hero-shade { z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.15) 55%, rgba(0,0,0,.3)); }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; }
.wordmark { font: 400 24px Fraunces, Georgia, serif; text-decoration: none; }
.header-login { border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 4px; font-size: 14px; font-weight: 600; text-decoration: none; }
.header-login:hover { border-color: white; }
.hero-content { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; padding-block: 80px 56px; }
.eyebrow { margin: 0 0 16px; color: #bb6449; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.hero-eyebrow { color: rgba(255,255,255,.8); font-size: 12px; }
h1, h2 { margin: 0; font-family: Fraunces, Georgia, serif; font-weight: 400; }
h1 { font-size: 80px; line-height: 1; }
h2 { max-width: 680px; font-size: 32px; line-height: 1.15; }
.hero-lead { max-width: 680px; margin: 20px 0 0; font-size: 20px; line-height: 1.35; }
.hero-detail { max-width: 560px; margin: 12px 0 0; color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; border-radius: 999px; padding: 12px 24px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform 300ms ease, background-color 300ms ease, box-shadow 300ms ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-primary { background: rgba(255,255,255,.95); color: #292620; box-shadow: 0 12px 24px rgba(0,0,0,.12); }
.button-primary:hover { background: white; box-shadow: 0 18px 28px rgba(0,0,0,.16); }
.button-secondary { border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.1); color: white; backdrop-filter: blur(4px); }
.button-secondary:hover { background: rgba(255,255,255,.2); }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.section { padding-block: 96px; }
.section-divider { border-bottom: 1px solid rgba(41,38,32,.08); }
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 80px; }
.body-copy { max-width: 660px; margin: 24px 0 0; color: #706b65; font-size: 18px; line-height: 1.75; }
.section-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cafe-image { object-position: center 62%; }
.capabilities { background: white; }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 40px; border-top: 1px solid rgba(41,38,32,.08); padding-top: 32px; }
.capability-grid h3 { margin: 0; font-size: 18px; }
.capability-grid p { margin: 12px 0 0; color: #706b65; line-height: 1.75; }
.ledger-note { max-width: 680px; margin: 40px 0 0; color: #706b65; font-size: 14px; line-height: 1.7; }
.final-cta { background: #292620; color: white; }
.final-cta .eyebrow { color: rgba(255,255,255,.7); }
.final-cta .body-copy { color: rgba(255,255,255,.72); }
.final-layout { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.final-layout .button { flex-shrink: 0; }
footer { padding-block: 28px; color: #706b65; font-size: 14px; }

@media (min-width: 640px) {
  .content-width { width: min(100% - 80px, 1280px); }
  .hero { min-height: 720px; }
  .site-header { padding-block: 32px; }
  .hero-content { padding-bottom: 80px; }
  h1 { font-size: 128px; }
  h2 { font-size: 48px; }
  .hero-lead { font-size: 30px; }
}
@media (min-width: 1024px) { .hero { min-height: 760px; } }
@media (max-width: 767px) {
  .section { padding-block: 64px; }
  .two-column { grid-template-columns: 1fr; gap: 40px; }
  .body-copy { font-size: 16px; }
  .capability-grid { grid-template-columns: 1fr; gap: 28px; }
  .final-layout { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover, .button:active { transform: none; }
}

@keyframes leave-site { to { opacity: 0; transform: translateY(-8px); } }
body.leaving { animation: leave-site 180ms ease-in forwards; }
@media (prefers-reduced-motion: reduce) { body.leaving { animation: none; } }
