/* ==========================================================================
   SLOW BAR COFFEE — single-card editorial hero
   Pure HTML + CSS. No JavaScript.
   ========================================================================== */

:root {
  --aksen: #005437;
  --kertas: #FDFAF7;
  --tinta: #1A1A1A;
  --redup: #6B6B6B;
  --garis: #E8E0D8;
  --putih: #FFFFFF;
  --nav-h: 64px;
  --serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Karla", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* derived */
  --halaman: #F3F0EA;
  --aksen-gelap: #00432C;
  --aksen-tipis: rgba(0, 84, 55, 0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.12, 1);
  --ease-out: cubic-bezier(0.16, 0.84, 0.24, 1);

  --card-r: 28px;
  --media-r: 18px;
  --tab-r: 18px;
  --gutter: clamp(24px, 3vw, 44px);
  --pad-y: 6vh;
  --pad-x: 4vw;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding:
    max(var(--pad-y), env(safe-area-inset-top))
    max(var(--pad-x), env(safe-area-inset-right))
    max(var(--pad-y), env(safe-area-inset-bottom))
    max(var(--pad-x), env(safe-area-inset-left));
  background: var(--halaman);
  color: var(--tinta);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--aksen);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Card
   ========================================================================== */

.card {
  position: relative;
  width: min(92vw, 1440px);
  /* capped so very tall screens don't turn the photo into a narrow sliver */
  min-height: min(88vh, 980px);
  display: grid;
  grid-template-rows: var(--nav-h) 1fr;
  padding: 0 var(--gutter);
  background: var(--kertas);
  border: 1px solid var(--garis);
  border-radius: var(--card-r);
  box-shadow:
    0 1px 2px rgba(26, 26, 26, 0.03),
    0 30px 70px -40px rgba(70, 48, 26, 0.22);
  overflow: hidden;
  isolation: isolate;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nav-h);
  border-bottom: 1px solid var(--garis);
}

.logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  animation: fade 0.9s var(--ease) 0.1s both;
}

.logo__img {
  width: 36px;
  height: 36px;
  flex: none;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__sub {
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--aksen);
}

.logo__mark {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 21px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tinta);
}

.nav__links {
  display: flex;
  gap: clamp(24px, 3vw, 44px);
  animation: fade 0.9s var(--ease) 0.25s both;
}

.nav__links a {
  position: relative;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tinta);
  transition: color 0.4s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--aksen);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.nav__links a:hover { color: var(--aksen); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__links .ext { font-size: 0.95em; color: var(--aksen); }

/* Order — the one nav item that asks for attention: a tinted pill with a live dot */
.nav__links .nav__order {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -6px 0;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(0, 84, 55, 0.09);
  color: var(--aksen);
  font-weight: 600;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.nav__links .nav__order::after { display: none; }

.nav__links .nav__order:hover {
  background: var(--aksen);
  color: var(--putih);
}

.nav__links .nav__order:hover .ext,
.nav__links .nav__order:hover .nav__order-dot { color: inherit; background: var(--putih); }

.nav__links .nav__order:hover .ext { background: none; }

.nav__order-dot {
  position: relative;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aksen);
}

/* a slow ripple — calm, but enough to catch the eye */
.nav__order-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--aksen);
  animation: ripple 2.4s var(--ease-out) 1.6s infinite;
}

.nav__links .nav__order:hover .nav__order-dot::before { background: var(--putih); }

/* Home is marked while no panel is open */
.card:not(:has(.panel:target)) .nav__links a[href="#top"] { color: var(--aksen); }
.card:not(:has(.panel:target)) .nav__links a[href="#top"]::after { transform: scaleX(1); }

/* the open panel's link stays marked */
.card:has(#about:target)      .nav__links a[href="#about"],
.card:has(#experience:target) .nav__links a[href="#experience"],
.card:has(#location:target)   .nav__links a[href="#location"] { color: var(--aksen); }

.card:has(#about:target)      .nav__links a[href="#about"]::after,
.card:has(#experience:target) .nav__links a[href="#experience"]::after,
.card:has(#location:target)   .nav__links a[href="#location"]::after { transform: scaleX(1); }

.nav__links .nav__links-cta { display: none; }

.nav__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--aksen);
  color: var(--putih);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-color 0.4s var(--ease);
  animation: fade 0.9s var(--ease) 0.25s both;
}

.nav__cta:hover { background: var(--aksen-gelap); }

.arrow {
  display: inline-block;
  transition: transform 0.45s var(--ease);
}

.nav__cta:hover .arrow,
.btn--primary:hover .arrow { transform: translateX(4px); }

/* Mobile menu buttons (hidden on desktop) */
.nav__burger { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr) 48px;
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "copy media rail"
    "meta media rail";
  column-gap: 0;
  padding: 28px 0 var(--gutter);
  min-height: 0;
}

/* ---- Photograph -------------------------------------------------------- */

.hero__media {
  grid-area: media;
  position: relative;
  margin: 0;
  min-height: 440px;
  border-radius: var(--media-r);
  overflow: hidden;
  background: #D9CFC2;
  animation: media-in 1.6s var(--ease) 0.3s both;
}

.hero__media picture {
  position: absolute;
  inset: 0;
  animation: settle 2.6s var(--ease-out) 0.3s both;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% 52%;
  transform: scale(1);
  transition: transform 2.4s var(--ease-out);
}

/* the only "movement" on the photo: a slow, slight drift on hover */
.hero__media:hover img { transform: scale(1.025) translate3d(-0.6%, -0.4%, 0); }

/* ---- Copy -------------------------------------------------------------- */

.hero__copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* top padding keeps a clear square for the bean ring above the eyebrow */
  padding: 128px 32px 24px 0;
}

/* Cream "tabs" — the copy is set on paper that cuts into the photograph */
.tab {
  display: inline-block;
  background: var(--kertas);
}

.eyebrow {
  display: flex;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--aksen);
  animation: rise 0.9s var(--ease) 0.45s both;
}

.eyebrow .tab {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  padding: 6px 16px 6px 0;
  border-radius: 0 var(--tab-r) 0 0;
}

.eyebrow .tab::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--aksen);
}

.eyebrow i { font-style: normal; color: var(--redup); }

.headline {
  width: max-content;
  margin: 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  /* follows width, but never outgrows a short screen */
  font-size: clamp(2rem, min(6.6vw, 12.5vh), 7.1rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--tinta);
}

.headline .line { display: block; }

.headline .tab {
  overflow: hidden;
  padding: 0.06em 0.26em 0.04em 0;
  vertical-align: top;
}

.headline .tab { border-radius: 0 var(--tab-r) var(--tab-r) 0; }

.headline .reveal {
  display: inline-block;
  animation: reveal 1.2s var(--ease-out) 0.55s both;
}

.headline .line--accent .reveal { animation-delay: 0.72s; }

.headline em {
  font-style: italic;
  font-weight: 340;
  letter-spacing: -0.015em;
  color: var(--aksen);
}

.lede {
  max-width: 34ch;
  margin: 30px 0 38px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  color: var(--redup);
  animation: rise 1s var(--ease) 1s both;
}

/* ---- Buttons ----------------------------------------------------------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 1s var(--ease) 1.2s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--aksen);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}

.btn--primary { background: var(--aksen); color: var(--putih); }
.btn--primary:hover { background: var(--aksen-gelap); border-color: var(--aksen-gelap); }

.btn--ghost { background: transparent; color: var(--aksen); }
.btn--ghost:hover { background: var(--aksen-tipis); }

/* ---- Supporting 3D object: a single coffee bean ----------------------- */

.orbit {
  grid-area: copy;
  align-self: start;
  justify-self: end;
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  margin: 8px 40px 0 0;
  border: 1px solid var(--garis);
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: fade 1.4s var(--ease) 1.4s both;
}

/* a short green arc travelling very slowly around the ring */
.orbit::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: rgba(0, 84, 55, 0.55);
  animation: spin 60s linear infinite;
}

.bean-wrap {
  perspective: 260px;
  animation: float 7s ease-in-out infinite alternate;
}

.bean {
  position: relative;
  width: 36px;
  height: 50px;
  border-radius: 50% 50% 48% 52% / 55% 55% 45% 45%;
  background:
    radial-gradient(120% 90% at 30% 22%, #A0704C 0%, #6E432A 36%, #3D2315 74%, #26150B 100%);
  box-shadow:
    inset -5px -7px 12px rgba(18, 8, 2, 0.5),
    inset 3px 4px 8px rgba(255, 214, 170, 0.22);
  transform-style: preserve-3d;
  animation: turn 13s ease-in-out infinite alternate;
}

/* centre crease */
.bean::before,
.bean::after {
  content: "";
  position: absolute;
  top: 9%;
  left: 50%;
  width: 12px;
  height: 82%;
  margin-left: -9px;
  border-radius: 50%;
  border-right: 2.5px solid rgba(24, 10, 3, 0.9);
  transform: rotate(7deg);
}

.bean::after {
  margin-left: -7px;
  border-right: 1px solid rgba(255, 210, 168, 0.28);
}

.bean-shadow {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 30px;
  height: 6px;
  margin-left: -15px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40, 26, 14, 0.22), transparent);
  animation: shadow 7s ease-in-out infinite alternate;
}

/* ---- Editorial details ------------------------------------------------- */

.meta {
  grid-area: meta;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-top: 18px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--redup);
  animation: fade 1.2s var(--ease) 1.5s both;
}

.meta b { font-weight: 600; color: var(--tinta); white-space: nowrap; }

.meta span { display: inline-flex; align-items: center; gap: 14px; }

.meta span::before {
  content: "";
  width: 1px;
  height: 28px;
  background: var(--garis);
}

.meta a {
  color: var(--aksen);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.5s var(--ease);
}

.meta a:hover { background-size: 100% 1px; }

.rail {
  grid-area: rail;
  align-self: center;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--redup);
  animation: fade 1.2s var(--ease) 1.5s both;
}

.rail__line {
  width: 1px;
  height: 48px;
  background: var(--aksen);
  opacity: 0.45;
}

/* ==========================================================================
   In-card panels (About · Experience · Location)
   Opened by :target — they lay over the hero inside the same card.
   ========================================================================== */

.panel {
  position: absolute;
  z-index: 10;
  top: var(--nav-h);
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 28px var(--gutter) var(--gutter);
  background: var(--kertas);
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-margin-top: calc(var(--nav-h) + 6vh);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.8s var(--ease-out),
    visibility 0s linear 0.6s;
}

/* scrollable panels can take focus; a ring around the whole sheet reads as a stray line */
.panel:focus-visible { outline: none; }

.panel:target {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.6s var(--ease),
    transform 0.8s var(--ease-out),
    visibility 0s;
}

.panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--garis);
}

.panel__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--aksen);
}

.panel__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--aksen);
}

.panel__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.panel__title em {
  font-style: italic;
  font-weight: 340;
  color: var(--aksen);
}

.panel__close {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--garis);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tinta);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.panel__close span { font-size: 16px; line-height: 1; letter-spacing: 0; }
.panel__close:hover { border-color: var(--aksen); color: var(--aksen); }

.panel__intro {
  max-width: 52ch;
  margin: -6px 0 28px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--redup);
}

/* shared caption "tab" — same paper cut as the hero headline */
.cap {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 9px 14px 0 0;
  background: var(--kertas);
  border-radius: 0 14px 0 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tinta);
}

/* fact lists */
.facts {
  margin: 32px 0 0;
  border-top: 1px solid var(--garis);
}

.facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--garis);
}

.facts dt {
  padding-top: 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aksen);
}

.facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--tinta);
}

.facts a {
  color: var(--aksen);
  border-bottom: 1px solid rgba(0, 84, 55, 0.3);
  transition: border-color 0.4s var(--ease);
}

.facts a:hover { border-color: var(--aksen); }

.facts--lg { margin-top: 0; }
.facts--lg dd { font-size: 16px; }

/* ---- About ------------------------------------------------------------- */

.about {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4vw, 64px);
  min-height: 0;
}

.about__text { align-self: center; max-width: 46ch; }

.about__text p {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--redup);
}

.about__text .about__lead {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.45;
  color: var(--tinta);
}

.collage {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: clamp(380px, 54vh, 600px);
}

.collage figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #D9CFC2;
}

.collage__a { grid-row: 1 / 3; }

.collage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2.4s var(--ease-out);
}

.collage figure:hover img { transform: scale(1.03); }

.collage__a img { object-position: 50% 40%; }
.collage__c img { object-position: 50% 62%; }

/* ---- Experience -------------------------------------------------------- */

.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(168px, 1fr);
  gap: 16px;
  margin: auto 0;
  padding: 0 0 10px;
  list-style: none;
  /* six cards fit on wide screens; narrower ones scroll sideways */
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--garis) transparent;
}

.strip li { min-width: 0; scroll-snap-align: start; }

.strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  background: #D9CFC2;
}

.strip__no {
  display: block;
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--aksen);
}

.strip h3 {
  margin: 6px 0 4px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.strip p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--redup);
}

/* ---- Location ---------------------------------------------------------- */

.location {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4vw, 64px);
  min-height: 0;
}

.location__info { align-self: center; }

.actions--static {
  margin-top: 30px;
  animation: none;
}

.map {
  position: relative;
  min-height: clamp(340px, 52vh, 600px);
  overflow: hidden;
  border: 1px solid var(--garis);
  border-radius: var(--media-r);
  background: #E9E3DA;
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.8);
}

/* ==========================================================================
   Motion
   ========================================================================== */

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@keyframes reveal {
  from { transform: translateY(108%); }
  to   { transform: none; }
}

@keyframes media-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes settle {
  from { transform: scale(1.06); }
  to   { transform: none; }
}

@keyframes float {
  from { transform: translateY(-5px); }
  to   { transform: translateY(5px); }
}

@keyframes shadow {
  from { transform: scale(0.82); opacity: 0.6; }
  to   { transform: scale(1.08); opacity: 1; }
}

@keyframes turn {
  from { transform: rotate(-30deg) rotateY(-12deg); }
  to   { transform: rotate(-18deg) rotateY(16deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes ripple {
  0%        { transform: scale(1);   opacity: 0.55; }
  70%, 100% { transform: scale(3.4); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE LAYER
   Layout is decided by shape, not width alone:
     · landscape            → photo and type side by side
     · portrait or < 560px  → stacked: photo, then type
     · short landscape      → side by side, compacted (phones on their side)
     · ≤ 900px              → burger menu
   ========================================================================== */

/* ---- Landscape, short-ish screens (laptops, landscape tablets) ---------- */

@media (orientation: landscape) and (max-height: 880px) {
  .orbit { display: none; }
  .hero__copy { padding-top: 24px; }
}

@media (orientation: landscape) and (max-height: 760px) {
  .hero { padding-top: 20px; }
  .lede { margin: 22px 0 28px; }
}

/* ---- Landscape, quite short (small laptop windows, 541–680px tall) ----- */

@media (orientation: landscape) and (max-height: 680px) and (min-height: 541px) {
  .headline { font-size: clamp(2rem, min(6.4vw, 11vh), 7.1rem); }
  .hero { padding: 16px 0 22px; }
  .hero__copy { padding-top: 12px; padding-bottom: 12px; }
  .eyebrow { margin-bottom: 16px; }
  .lede { margin: 16px 0 22px; }
  .btn { height: 48px; }
  .meta { padding-top: 10px; }
}

/* ---- Landscape, narrower (small laptops, landscape tablets & phones) ---- */

@media (orientation: landscape) and (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 47fr) minmax(0, 53fr) 0; }
  .hero__copy { padding-right: 20px; }
  .rail { display: none; }
}

/* ==========================================================================
   Compact navigation — burger + in-card sheet
   ========================================================================== */

@media (max-width: 900px) {
  :root {
    --card-r: 24px;
    --media-r: 16px;
    --tab-r: 16px;
    --gutter: 24px;
  }

  .nav { grid-template-columns: 1fr auto auto; gap: 16px; }

  /* burger — two links: one opens the #nav-sheet target, one clears it */
  .nav__burger {
    order: 3;
    display: grid;
    align-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0 11px;
    border-radius: 50%;
    animation: fade 0.9s var(--ease) 0.25s both;
  }

  .nav__burger span {
    display: block;
    height: 1.5px;
    background: var(--tinta);
  }

  .nav__burger--close span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav__burger--close span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

  .nav__burger--close,
  .card:has(#nav-sheet:target) .nav__burger--open { display: none; }
  .card:has(#nav-sheet:target) .nav__burger--close { display: grid; }

  .nav__cta { order: 2; height: 38px; padding: 0 16px; font-size: 11px; }

  /* menu sheet — lives inside the card */
  .nav__links {
    position: absolute;
    z-index: 20;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    gap: 6px;
    padding: 28px var(--gutter);
    background: var(--kertas);
    border-top: 1px solid var(--garis);
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-margin-top: calc(var(--nav-h) + 18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s linear 0.5s;
    animation: none;
  }

  .nav__links:target {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s;
  }

  .nav__links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--garis);
    font-family: var(--serif);
    font-size: clamp(24px, 7.6vw, 30px);
    font-weight: 400;
    letter-spacing: -0.01em;
    text-transform: uppercase;
  }

  .nav__links a::after { display: none; }

  /* Order in the sheet: a regular row, still flagged by its live dot */
  .nav__links .nav__order,
  .nav__links .nav__order:hover {
    gap: 14px;
    margin: 0;
    padding: 12px 0;
    border-radius: 0;
    background: none;
    color: var(--aksen);
    font-weight: 400;
  }

  .nav__links .nav__order .nav__order-dot,
  .nav__links .nav__order:hover .nav__order-dot,
  .nav__links .nav__order:hover .nav__order-dot::before { width: 9px; height: 9px; background: var(--aksen); }

  .nav__links .nav__links-cta {
    display: block;
    margin-top: 18px;
    border-bottom: 0;
    font-style: italic;
    color: var(--aksen);
  }

  /* panels sit above the menu sheet */
  .panel { z-index: 25; }
}

/* ==========================================================================
   Stacked hero — portrait screens of any size, and every narrow screen
   ========================================================================== */

@media (orientation: portrait), (max-width: 559px) {
  :root {
    --pad-y: clamp(10px, 2.4vw, 28px);
    --pad-x: clamp(10px, 2.4vw, 28px);
  }

  .card {
    width: 100%;
    min-height: calc(100vh - 2 * var(--pad-y));
    min-height: calc(100svh - 2 * var(--pad-y));
  }

  /* hero stacks: photo → headline → copy → actions → hours */
  .hero {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "media media"
      "copy  copy"
      "meta  orbit";
    padding: 16px 0 var(--gutter);
  }

  .hero__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .hero__media img { object-position: 48% 55%; }

  /* the copy is pulled up so its paper tabs bite into the photo's lower edge */
  .hero__copy {
    --h1: clamp(2.6rem, 9vw, 4.6rem);
    margin-top: calc(-1 * (12px + 22px + 0.62 * var(--h1)));
    padding: 0;
  }

  .eyebrow { margin-bottom: 0; }
  .eyebrow .tab { padding: 12px 18px 10px 0; }

  .headline { font-size: var(--h1); }
  .headline .line:first-child .tab { border-radius: 0 var(--tab-r) 0 0; padding-top: 0.12em; }

  .lede { margin: 22px 0 30px; max-width: 38ch; }

  .orbit {
    display: grid;
    grid-area: orbit;
    align-self: end;
    justify-self: end;
    width: 84px;
    height: 84px;
    margin: 32px 0 0;
  }

  .bean { width: 28px; height: 39px; }
  .bean::before, .bean::after { width: 10px; margin-left: -7px; }
  .bean::after { margin-left: -5.5px; }
  .bean-shadow { bottom: 12px; width: 24px; margin-left: -12px; }

  .meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 32px;
    padding: 2px 0 2px 16px;
    border-left: 1px solid var(--garis);
  }

  .meta span { display: block; }
  .meta span::before { display: none; }

  .rail { display: none; }

  /* panels — single column */
  .panel {
    padding-top: 22px;
    scroll-margin-top: calc(var(--nav-h) + 18px);
  }

  .panel__head { align-items: flex-start; padding-bottom: 18px; margin-bottom: 22px; }
  .panel__title { font-size: clamp(1.9rem, 7vw, 3.4rem); }
  .panel__close { height: 36px; padding: 0 14px; }

  .about,
  .location {
    flex: none;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about__text { max-width: 60ch; }

  .collage { min-height: 0; height: clamp(360px, 70vw, 640px); }

  .strip {
    grid-auto-columns: 42%;
    gap: 12px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 6px;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }

  .strip::-webkit-scrollbar { display: none; }

  .map { min-height: 0; height: clamp(300px, 60vw, 520px); }
}

/* ==========================================================================
   Short landscape — phones on their side, small windows
   ========================================================================== */

@media (orientation: landscape) and (max-height: 540px) and (min-width: 560px) {
  :root {
    --nav-h: 56px;
    --pad-y: 10px;
    --pad-x: 12px;
    --gutter: 22px;
    --card-r: 20px;
    --media-r: 14px;
    --tab-r: 14px;
  }

  .card {
    width: 100%;
    min-height: calc(100vh - 2 * var(--pad-y));
    min-height: calc(100svh - 2 * var(--pad-y));
  }

  .logo__img { width: 30px; height: 30px; }
  .logo__mark { font-size: 18px; }

  .hero { padding: 14px 0 18px; }
  .hero__media { min-height: 0; }
  .hero__copy { padding: 4px 18px 4px 0; }

  .eyebrow { margin-bottom: 12px; font-size: 10.5px; letter-spacing: 0.2em; }
  .eyebrow .tab { gap: 10px; padding-top: 2px; padding-bottom: 2px; }
  .eyebrow .tab::before { width: 18px; }

  .lede { margin: 14px 0 18px; font-size: 14px; line-height: 1.55; }

  .btn { height: 44px; padding: 0 20px; font-size: 11px; letter-spacing: 0.14em; }

  .meta { padding-top: 12px; font-size: 9.5px; letter-spacing: 0.18em; }
  .meta span::before { height: 18px; }

  .panel { padding-top: 16px; }
  .panel__head { padding-bottom: 14px; margin-bottom: 18px; }
  .panel__eyebrow { margin-bottom: 8px; }
  .panel__title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .panel__intro { margin-bottom: 18px; }

  .collage { min-height: 320px; }
  .strip { grid-auto-columns: minmax(150px, 1fr); }
  .map { min-height: 300px; }
}

/* smallest sideways phones (iPhone SE, compact Androids) */
@media (orientation: landscape) and (max-height: 540px) and (max-width: 760px) {
  .eyebrow { font-size: 9.5px; letter-spacing: 0.14em; }
  .eyebrow .tab { gap: 8px; }
  .eyebrow .tab::before { display: none; }
  .hero__media img { object-position: 60% 50%; }
}

/* the burger sheet on a phone held sideways — tighter rows so all links fit */
@media (orientation: landscape) and (max-height: 540px) and (max-width: 900px) {
  .nav__links { padding-top: 16px; padding-bottom: 16px; gap: 0; }
  .nav__links a { padding: 8px 0; font-size: 22px; }
  .nav__links .nav__links-cta { margin-top: 8px; }
}

/* ==========================================================================
   Phones (portrait)
   ========================================================================== */

@media (max-width: 560px) {
  :root {
    --card-r: 20px;
    --media-r: 14px;
    --tab-r: 14px;
    --gutter: 16px;
    --pad-y: 10px;
    --pad-x: 10px;
  }

  .nav { grid-template-columns: 1fr auto; }
  .nav__cta { display: none; }

  .logo { gap: 10px; }
  .logo__img { width: 32px; height: 32px; }
  .logo__mark { font-size: 17px; }

  .hero { padding-top: 12px; }

  .hero__media { aspect-ratio: 1 / 1; }
  .hero__media img { object-position: 51% 55%; }

  .hero__copy { --h1: min(10.4vw, 3rem); }

  .eyebrow { font-size: 10.5px; letter-spacing: 0.2em; }
  .eyebrow .tab { gap: 10px; padding: 10px 14px 8px 0; }
  .eyebrow .tab::before { width: 18px; }

  .lede { font-size: 15px; margin: 18px 0 26px; }

  .actions { gap: 10px; }
  .btn { flex: 1 1 0; height: 50px; padding: 0 12px; font-size: 11.5px; letter-spacing: 0.13em; }

  .meta { margin-top: 26px; font-size: 10px; letter-spacing: 0.18em; }
  .orbit { margin-top: 26px; }

  .collage { height: 118vw; gap: 10px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; }
  .collage__a { grid-row: auto; grid-column: 1 / 3; }

  .strip { grid-auto-columns: 68%; }

  .facts div { grid-template-columns: 92px 1fr; gap: 12px; }
  .facts dd { font-size: 14.5px; }
  .facts--lg dd { font-size: 15px; }
}

/* buttons that carry longer labels stack before they get cramped */
@media (max-width: 420px) {
  .actions--static { flex-direction: column; }
  .actions--static .btn { flex: none; width: 100%; }
}

/* ==========================================================================
   Small phones (≤ 360px — iPhone SE 1st gen, compact Androids)
   ========================================================================== */

@media (max-width: 360px) {
  .logo__mark { font-size: 16px; }
  .logo__sub { letter-spacing: 0.34em; }

  .hero__copy { --h1: 10.6vw; }

  .eyebrow { font-size: 9.5px; letter-spacing: 0.16em; }
  .eyebrow .tab::before { display: none; }

  .lede { font-size: 14.5px; }

  .actions { flex-direction: column; }
  .actions .btn { flex: none; width: 100%; }

  .meta { font-size: 9.5px; letter-spacing: 0.14em; }

  .panel__head { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
  .panel__close { align-self: flex-end; }

  .facts div { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================================
   Wide screens — keep the line length and photo proportions in check
   ========================================================================== */

@media (min-width: 1800px) {
  .lede { font-size: 18px; }
  .nav__links a { font-size: 12.5px; }
}

/* ==========================================================================
   Reduced motion — everything simply appears, nothing drifts
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero__media:hover img { transform: none; }
}
