@font-face {
  font-family: "Josefin Sans";
  src: url("/josefin-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("/raleway.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Sacramento";
  src: url("/sacramento.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --hangar-black: #1b1916;
  --cockpit-cream: #f4eee3;
  --crema-gold: #c49a3c;
  --copper-foil: #b87333;
  --kingston-slate: #3a4d58;
  --pnw-fog: #e8e2d8;
  --black-soft: #24211d;
  --black-glass: rgb(27 25 22 / 78%);
  --cream-muted: rgb(244 238 227 / 68%);
  --line-dark: rgb(27 25 22 / 18%);
  --line-light: rgb(244 238 227 / 18%);
  --page: min(1240px, calc(100vw - 64px));
  --header-height: 82px;
  --display: "Josefin Sans", "Helvetica Neue", sans-serif;
  --body: "Raleway", "Helvetica Neue", sans-serif;
  --script: "Sacramento", cursive;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--hangar-black);
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--hangar-black);
  color: var(--cockpit-cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  background: var(--cockpit-cream);
  color: var(--hangar-black);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

.page-frame {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.glass-surface {
  border: 1px solid rgb(244 238 227 / 16%);
  background: var(--black-glass);
  box-shadow: 0 20px 60px rgb(0 0 0 / 18%), inset 0 1px 0 rgb(255 255 255 / 8%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
}

.nav-shell {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  width: var(--page);
  min-height: var(--header-height);
  margin-inline: auto;
  padding: 8px 20px;
  pointer-events: auto;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled .nav-shell {
  border-color: rgb(184 115 51 / 42%);
  background: rgb(27 25 22 / 92%);
  box-shadow: 0 16px 48px rgb(0 0 0 / 32%), inset 0 1px 0 rgb(255 255 255 / 7%);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
}

.brand img {
  width: 166px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 44px);
}

.desktop-nav a,
.nav-utility a,
.menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  background: none;
  color: rgb(244 238 227 / 78%);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  cursor: pointer;
}

.desktop-nav a::after,
.nav-utility a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--copper-foil);
  content: "";
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.nav-utility a:hover {
  color: var(--cockpit-cream);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after,
.nav-utility a:hover::after {
  transform: scaleX(1);
}

.nav-commerce {
  color: var(--crema-gold) !important;
}

.nav-utility {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-utility a:last-child {
  border-left: 1px solid var(--line-light);
  padding-left: 20px;
}

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

.hero {
  position: relative;
  min-height: max(760px, 100svh);
  isolation: isolate;
  overflow: hidden;
  background: var(--hangar-black);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 54% 52%;
  filter: saturate(.8) contrast(1.04) brightness(.78);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(27 25 22 / 98%) 0%, rgb(27 25 22 / 86%) 31%, rgb(27 25 22 / 35%) 62%, rgb(27 25 22 / 10%) 100%),
    linear-gradient(0deg, rgb(27 25 22 / 72%) 0%, transparent 36%, rgb(27 25 22 / 18%) 100%);
}

.hero::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--copper-foil);
  content: "";
  opacity: .72;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: max(760px, 100svh);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  padding-top: calc(var(--header-height) + 52px);
  padding-bottom: 92px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--copper-foil);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: var(--crema-gold);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(64px, 6.2vw, 96px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .88;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5.4vw, 78px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .94;
}

.script-line {
  margin-bottom: 18px;
  color: var(--copper-foil);
  font-family: var(--script);
  font-size: clamp(27px, 2.7vw, 40px);
  line-height: 1;
}

.hero-intro {
  max-width: 500px;
  margin-bottom: 28px;
  color: rgb(244 238 227 / 76%);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 24px 11px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  border-color: var(--copper-foil);
  background: var(--copper-foil);
  color: var(--hangar-black);
}

.button-primary:hover {
  border-color: var(--crema-gold);
  background: var(--crema-gold);
}

.button-secondary {
  border-color: rgb(244 238 227 / 64%);
  background: rgb(27 25 22 / 28%);
  color: var(--cockpit-cream);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.button-secondary:hover {
  border-color: var(--crema-gold);
  background: rgb(27 25 22 / 64%);
}

.button-shop {
  border-color: var(--cockpit-cream);
  background: var(--cockpit-cream);
  color: var(--hangar-black);
}

.button-shop:hover {
  border-color: var(--crema-gold);
  background: var(--crema-gold);
}

.hero-secondary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding-inline: 10px;
  color: rgb(244 238 227 / 82%);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-secondary-link:hover {
  color: var(--crema-gold);
}

.hero-featured {
  position: relative;
  display: grid;
  height: 580px;
  grid-template-rows: 52px minmax(0, 1fr) auto;
  align-self: center;
  overflow: hidden;
  border-color: rgb(196 154 60 / 34%);
  background: rgb(27 25 22 / 70%);
  transition: transform 260ms cubic-bezier(.2, .7, .2, 1), border-color 260ms ease, background-color 260ms ease;
}

.hero-featured:hover {
  transform: translateY(-6px);
  border-color: rgb(196 154 60 / 72%);
  background: rgb(27 25 22 / 82%);
}

.hero-featured-label {
  display: flex;
  align-items: center;
  padding: 4px 24px 0;
  color: var(--crema-gold);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 28px 30px rgb(0 0 0 / 36%));
  transition: transform 500ms cubic-bezier(.2, .7, .2, 1);
}

.hero-featured:hover img {
  transform: translateY(-5px) scale(1.025);
}

.hero-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgb(244 238 227 / 14%);
  padding: 18px 22px;
}

.hero-featured-footer > span:first-child {
  display: grid;
  gap: 3px;
}

.hero-featured-footer strong {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero-featured-footer small {
  color: var(--cream-muted);
  font-size: 11px;
}

.hero-coordinate {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 25px;
  margin: 0;
  color: rgb(244 238 227 / 50%);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
}

.flight-path {
  position: relative;
  background: var(--cockpit-cream);
  color: var(--hangar-black);
}

.flight-path::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  border-top: 1px solid rgb(27 25 22 / 16%);
  content: "";
}

.flight-path-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-right: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.roast-manifest {
  border-top: 1px solid var(--line-light);
  background: var(--hangar-black);
  padding-block: clamp(84px, 10vw, 140px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: clamp(40px, 8vw, 110px);
  margin-bottom: clamp(48px, 6vw, 82px);
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading-copy {
  max-width: 430px;
}

.section-heading-copy p {
  color: var(--cream-muted);
}

.roast-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.roast-card {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border-right: 1px solid var(--line-light);
  padding: 24px 26px 26px;
  background: var(--black-soft);
  transition: background-color 240ms ease;
}

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

.roast-card:hover {
  background: #2b2722;
}

.roast-card-featured {
  background: var(--kingston-slate);
}

.roast-card-featured:hover {
  background: #435965;
}

.roast-card-number {
  color: var(--crema-gold);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.roast-card img {
  width: 100%;
  height: clamp(280px, 33vw, 430px);
  padding: 30px clamp(10px, 2vw, 36px) 10px;
  object-fit: contain;
  filter: drop-shadow(0 26px 30px rgb(0 0 0 / 30%));
  transition: transform 500ms cubic-bezier(.2, .7, .2, 1);
}

.roast-card:hover img {
  transform: translateY(-8px) scale(1.025);
}

.roast-card-copy {
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--line-light);
  padding-top: 20px;
}

.roast-card-copy strong {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
  text-transform: uppercase;
}

.roast-card-copy small {
  color: var(--cream-muted);
  font-size: 11px;
}

.family-story {
  display: grid;
  min-height: 760px;
  grid-template-columns: 58% 42%;
  background: var(--cockpit-cream);
  color: var(--hangar-black);
}

.family-story-media {
  min-height: 680px;
  margin: 0;
  overflow: hidden;
  background: var(--pnw-fog);
}

.family-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transition: scale 700ms cubic-bezier(.2, .7, .2, 1);
}

.family-story-copy {
  display: flex;
  align-items: center;
  padding: clamp(50px, 8vw, 112px);
}

.family-story-copy > div {
  max-width: 500px;
}

.family-story-copy p:not(.eyebrow):not(.script-line) {
  color: rgb(27 25 22 / 68%);
}

.flight-path-item {
  position: relative;
  display: grid;
  min-height: 210px;
  grid-template-columns: 56px 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  border-right: 1px solid var(--line-dark);
  padding: 38px 34px 30px;
  transition: background-color 180ms ease, color 180ms ease;
}

.flight-path-item:last-child {
  border-right: 0;
}

.flight-path-item::before {
  position: absolute;
  z-index: 1;
  top: calc(50% - 5px);
  left: -5px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--copper-foil);
  background: var(--cockpit-cream);
  content: "";
  rotate: 45deg;
}

.flight-path-item:first-child::before {
  left: 24px;
}

.flight-path-item:hover {
  background: var(--pnw-fog);
}

.flight-number {
  color: var(--copper-foil);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}

.flight-path-item strong {
  align-self: end;
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: .98;
  text-transform: uppercase;
}

.flight-action {
  grid-column: 2;
  align-self: end;
  color: var(--kingston-slate);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.editorial {
  display: grid;
  min-height: 720px;
  grid-template-columns: 42% 58%;
  border-top: 1px solid var(--line-light);
  background: var(--hangar-black);
}

.editorial-craft {
  grid-template-columns: 58% 42%;
  background: var(--cockpit-cream);
  color: var(--hangar-black);
}

.editorial-copy {
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vw, 120px);
}

.editorial-copy > div {
  max-width: 510px;
}

.editorial-copy p:not(.eyebrow):not(.subhead) {
  max-width: 440px;
  color: var(--cream-muted);
}

.editorial-craft .editorial-copy p:not(.eyebrow) {
  color: rgb(27 25 22 / 68%);
}

.subhead {
  margin-top: -12px;
  margin-bottom: 24px;
  color: var(--crema-gold);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.shipping-note {
  margin: 26px 0 18px;
  color: var(--crema-gold) !important;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.editorial-media {
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: var(--black-soft);
}

.editorial-media img,
.flight-log-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 700ms cubic-bezier(.2, .7, .2, 1), filter 700ms ease;
}

.editorial-product .editorial-media img {
  object-position: 48% center;
}

.editorial-craft .editorial-media img {
  object-position: center 56%;
}

.image-reveal:hover img {
  scale: 1.025;
}

.text-link {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 0;
  padding: 0 32px 0 0;
  background: none;
  color: var(--copper-foil);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: right 180ms ease;
}

.text-link:hover::after {
  right: -12px;
}

.text-button {
  margin-right: 28px;
}

.flight-log {
  position: relative;
  overflow: hidden;
  background: var(--kingston-slate);
}

.flight-log::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 1px;
  background: rgb(244 238 227 / 14%);
  content: "";
}

.flight-log-grid {
  display: grid;
  min-height: 770px;
  grid-template-columns: 38% 62%;
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  padding-block: clamp(76px, 10vw, 142px);
}

.flight-log-copy {
  position: relative;
  z-index: 2;
}

.flight-log-copy p:not(.eyebrow) {
  max-width: 420px;
  color: rgb(244 238 227 / 72%);
}

.flight-log-media {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(244 238 227 / 16%);
  background: var(--black-soft);
  box-shadow: 26px 28px 0 rgb(27 25 22 / 18%);
}

.flight-log-media > img {
  position: absolute;
  inset: 0;
  object-position: center 40%;
  filter: sepia(.12) contrast(1.02);
}

.flight-log-media figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 7px;
  border-top: 1px solid rgb(244 238 227 / 18%);
  padding: 22px 26px;
  background: rgb(27 25 22 / 88%);
  color: rgb(244 238 227 / 78%);
  font-size: 12px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.flight-log-media figcaption strong {
  display: inline-block;
  min-width: 110px;
  color: var(--crema-gold);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.roast-club-cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgb(184 115 51 / 55%);
  border-bottom: 1px solid rgb(184 115 51 / 55%);
  background: var(--hangar-black);
}

.roast-club-cta::after {
  position: absolute;
  top: -210px;
  right: -100px;
  width: 500px;
  height: 500px;
  border: 1px solid rgb(196 154 60 / 15%);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgb(196 154 60 / 3%), 0 0 0 140px rgb(196 154 60 / 2%);
  content: "";
}

.roast-club-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 80px;
  padding-block: clamp(84px, 11vw, 150px);
}

.roast-club-grid h2 {
  margin-bottom: 0;
}

.roast-club-copy {
  max-width: 430px;
}

.roast-club-copy p {
  color: var(--cream-muted);
}

.visit-strip {
  background: var(--cockpit-cream);
  color: var(--hangar-black);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 64px;
  padding-block: 58px;
}

.visit-grid h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 39px);
}

.visit-grid p {
  margin-bottom: 0;
  color: rgb(27 25 22 / 66%);
}

.visit-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer {
  border-top: 1px solid var(--line-light);
  background: #151311;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 64px;
  padding-block: 80px;
}

.footer-brand img {
  width: 190px;
  height: auto;
  margin-bottom: 22px;
}

.footer-brand p {
  color: var(--cream-muted);
  font-family: var(--script);
  font-size: 26px;
}

.footer-brand .footer-address {
  display: inline-block;
  margin-top: 18px;
  color: var(--cream-muted);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.65;
}

.footer-brand .footer-address a {
  display: inline-block;
  padding-block: 10px;
  color: var(--crema-gold);
  text-underline-offset: 4px;
}

.footer-brand .footer-address:hover {
  color: var(--crema-gold);
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-grid nav a {
  min-height: 34px;
  color: var(--cream-muted);
  font-size: 14px;
}

.footer-grid nav a:hover {
  color: var(--crema-gold);
}

.footer-heading {
  margin-bottom: 12px;
  color: var(--copper-foil);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
  padding-block: 22px;
  color: rgb(244 238 227 / 46%);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mobile-actions {
  display: none;
}

.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .7, .2, 1);
}

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

/* Craft-roaster direction: quiet technical marks and measured material reveals. */
.craft-roaster-home .nav-shell {
  position: relative;
}

.craft-roaster-home .nav-shell::after {
  position: absolute;
  right: 20px;
  bottom: -1px;
  left: 20px;
  height: 1px;
  transform: scaleX(.08);
  transform-origin: left;
  background: linear-gradient(90deg, var(--copper-foil), transparent);
  content: "";
  transition: transform 520ms cubic-bezier(.2, .7, .2, 1);
}

.craft-roaster-home .site-header.is-scrolled .nav-shell::after {
  transform: scaleX(1);
}

.craft-roaster-home .reveal::after {
  position: absolute;
  top: 22px;
  right: max(20px, calc((100vw - 1240px) / 2));
  z-index: 3;
  color: rgb(184 115 51 / 58%);
  content: "ROAST LOG  " attr(data-craft-index);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  pointer-events: none;
  text-transform: uppercase;
}

.craft-roaster-home .roast-card {
  position: relative;
  overflow: hidden;
}

.craft-roaster-home .roast-card::before {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--copper-foil), transparent 76%);
  content: "";
  pointer-events: none;
  transition: transform 420ms cubic-bezier(.2, .7, .2, 1);
}

.craft-roaster-home .roast-card:is(:hover, :focus-visible)::before {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: no-preference) {
  .craft-roaster-home .reveal {
    clip-path: inset(0 0 12% 0);
    transition: opacity 560ms ease, transform 680ms cubic-bezier(.2, .7, .2, 1), clip-path 760ms cubic-bezier(.2, .7, .2, 1);
  }

  .craft-roaster-home .reveal.is-visible {
    clip-path: inset(0);
  }
}

@media (max-width: 700px) {
  .craft-roaster-home .reveal::after { display: none; }
}

@media (max-width: 1080px) {
  :root {
    --page: min(100% - 40px, 1240px);
  }

  .nav-shell {
    grid-template-columns: 180px 1fr auto;
  }

  .desktop-nav {
    gap: 18px;
  }

  .nav-utility a:first-child {
    display: none;
  }

  .editorial-copy {
    padding: 64px 48px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 42px;
  }

  .hero-intro {
    max-width: 450px;
  }

  .flight-log-grid {
    grid-template-columns: 40% 60%;
    gap: 48px;
  }
}

@media (max-width: 860px) {
  :root {
    --page: min(100% - 32px, 760px);
    --header-height: 68px;
  }

  .site-header {
    top: 10px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    min-height: var(--header-height);
    padding: 7px 14px;
  }

  .brand img {
    width: 142px;
    max-height: 50px;
  }

  .desktop-nav,
  .nav-utility {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    min-width: 54px;
    justify-content: flex-end;
    padding: 0;
  }

  .mobile-menu {
    position: absolute;
    top: calc(var(--header-height) + 12px);
    right: 16px;
    left: 16px;
    display: grid;
    max-height: calc(100svh - 110px);
    overflow-y: auto;
    pointer-events: auto;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    display: flex;
    min-height: 58px;
    align-items: center;
    border-bottom: 1px solid var(--line-light);
    padding: 0 20px;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .mobile-menu .nav-commerce {
    color: var(--crema-gold);
  }

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

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-featured {
    display: none;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgb(27 25 22 / 94%) 0%, rgb(27 25 22 / 72%) 56%, rgb(27 25 22 / 24%) 100%),
      linear-gradient(0deg, rgb(27 25 22 / 84%) 0%, rgb(27 25 22 / 18%) 50%, rgb(27 25 22 / 28%) 100%);
  }

  h1 {
    font-size: clamp(58px, 12vw, 92px);
  }

  .flight-path-grid {
    grid-template-columns: 1fr;
  }

  .flight-path::before {
    top: 0;
    bottom: 0;
    left: 43px;
    width: 1px;
    height: auto;
    border: 0;
    background: rgb(27 25 22 / 16%);
  }

  .flight-path-item {
    min-height: 152px;
    grid-template-columns: 62px 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    padding: 26px 30px;
  }

  .flight-path-item:last-child {
    border-bottom: 0;
  }

  .flight-path-item::before,
  .flight-path-item:first-child::before {
    top: 40px;
    left: 38px;
  }

  .editorial,
  .editorial-craft {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .roast-grid {
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .roast-card {
    scroll-snap-align: start;
  }

  .roast-card img {
    height: 320px;
  }

  .family-story {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .family-story-media {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .family-story-copy {
    padding: 70px max(32px, calc((100vw - 760px) / 2));
  }

  .editorial-media,
  .editorial-craft .editorial-media {
    order: 1;
    width: 100%;
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .editorial-copy,
  .editorial-craft .editorial-copy {
    order: 2;
    padding: 70px max(32px, calc((100vw - 760px) / 2));
  }

  .flight-log::before {
    display: none;
  }

  .flight-log-grid {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 50px;
  }

  .flight-log-media {
    min-height: auto;
    aspect-ratio: 4 / 3;
    box-shadow: 14px 16px 0 rgb(27 25 22 / 18%);
  }

  .roast-club-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 36px;
  }

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

  .visit-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 620px) {
  :root {
    --page: calc(100% - 28px);
  }

  body {
    padding-bottom: 68px;
  }

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

  .hero-content {
    justify-content: flex-end;
    padding-top: 130px;
    padding-bottom: 78px;
  }

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

  .hero-shade {
    background:
      linear-gradient(0deg, rgb(27 25 22 / 98%) 0%, rgb(27 25 22 / 88%) 36%, rgb(27 25 22 / 24%) 78%, rgb(27 25 22 / 32%) 100%);
  }

  h1 {
    font-size: clamp(52px, 16vw, 76px);
    line-height: .91;
  }

  h2 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
  }

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

  .hero-secondary-link {
    min-height: 48px;
    padding-inline: 0;
  }

  .hero-coordinate {
    display: none;
  }

  .editorial-copy,
  .editorial-craft .editorial-copy {
    padding: 58px 24px 66px;
  }

  .editorial-media,
  .editorial-craft .editorial-media {
    aspect-ratio: 1 / 1;
  }

  .editorial-product .editorial-media img {
    object-position: 50% center;
  }

  .roast-manifest {
    padding-block: 70px;
  }

  .roast-grid {
    grid-template-columns: repeat(3, minmax(82vw, 1fr));
    margin-right: -14px;
  }

  .roast-card {
    padding: 22px;
  }

  .roast-card img {
    height: 330px;
  }

  .family-story-media {
    aspect-ratio: 4 / 5;
  }

  .family-story-media img {
    object-position: 50% 52%;
  }

  .family-story-copy {
    padding: 58px 24px 66px;
  }

  .flight-log-grid {
    width: 100%;
    padding: 70px 22px 86px;
  }

  .flight-log-media {
    aspect-ratio: 3 / 4;
  }

  .flight-log-media > img {
    object-position: 58% center;
  }

  .flight-log-media figcaption {
    padding: 17px 18px;
    font-size: 11px;
  }

  .flight-log-media figcaption strong {
    display: block;
  }

  .text-button {
    display: flex;
    margin-right: 0;
  }

  .roast-club-grid {
    padding-block: 78px;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    padding-block: 52px;
  }

  .visit-actions {
    grid-column: auto;
    flex-direction: column;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
    padding-block: 64px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .mobile-actions {
    position: fixed;
    z-index: 60;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid rgb(244 238 227 / 20%);
    background: rgb(27 25 22 / 88%);
    box-shadow: 0 12px 36px rgb(0 0 0 / 36%);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .mobile-actions .button {
    min-width: 0;
    min-height: 52px;
    padding-inline: 12px;
  }

  .mobile-actions .button-secondary {
    border-color: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

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

  .button:hover,
  .image-reveal:hover img {
    transform: none;
    scale: 1;
  }
}
