/* ==========================================================================
   FONUA Bakery — landing page
   Direction: "kertas roti" — warm paper, cocoa ink, terracotta accent,
   editorial serif display + restrained grotesque UI.
   ========================================================================== */

:root {
  /* Surfaces */
  --paper: #fbf5ea;
  --paper-deep: #f4e9d7;
  --surface: #fffaf1;
  --ink: #2b1b12;
  --ink-soft: #5f4a3a;
  --ink-invert: #f8efe1;
  --ink-invert-soft: #cdb9a3;
  --line: #e3d2bb;
  --line-strong: #cbb59a;

  /* Brand */
  --crust: #a8411e;
  --crust-dark: #8a3315;
  --butter: #e8b34a;
  --butter-deep: #d9a034;
  --olive: #5a6340;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-full: 999px;

  /* Shadows */
  --shadow-1: 0 1px 2px rgb(43 27 18 / 0.07);
  --shadow-2: 0 10px 30px -12px rgb(43 27 18 / 0.25);
  --shadow-3: 0 26px 60px -30px rgb(43 27 18 / 0.45);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Motion */
  --dur-fast: 130ms;
  --dur-base: 220ms;
  --dur-slow: 320ms;
  --ease-out: cubic-bezier(0.2, 0, 0, 1);

  /* Layout */
  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 120px);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

svg {
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

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

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--crust);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--butter);
  color: var(--ink);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--dur-base) var(--ease-out);
}

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

.icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
}

.icon-arrow {
  width: 17px;
  height: 17px;
  fill: none;
  transition: transform var(--dur-base) var(--ease-out);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  transition:
    background-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.875rem;
}

.btn-lg {
  min-height: 56px;
  padding: 0 32px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--crust);
  color: #fff8ee;
  box-shadow: var(--shadow-1);
}

.btn-primary:hover {
  background: var(--crust-dark);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--ink-soft);
}

.btn-butter {
  background: var(--butter);
  color: #2b1b12;
}

.btn-butter:hover {
  background: var(--butter-deep);
}

.btn-outline-invert {
  background: transparent;
  color: var(--ink-invert);
  border-color: rgb(248 239 225 / 0.35);
}

.btn-outline-invert:hover {
  border-color: var(--ink-invert);
  background: rgb(248 239 225 / 0.06);
}

.btn:active {
  transform: translateY(1px);
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.topbar-short {
  display: none;
}

html:not(.js) .nav-toggle {
  display: none;
}

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px var(--gutter);
  background: var(--ink);
  color: var(--ink-invert-soft);
  font-size: 0.75rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.topbar p {
  min-width: 0;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--butter);
  white-space: nowrap;
  border-bottom: 1px solid rgb(232 179 74 / 0.4);
  padding-bottom: 1px;
  transition: border-color var(--dur-base) var(--ease-out);
}

.topbar a:hover {
  border-color: var(--butter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(251 245 234 / 0.86);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--dur-base) var(--ease-out),
    background-color var(--dur-base) var(--ease-out);
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    backdrop-filter: blur(12px) saturate(140%);
  }
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--butter);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  padding-bottom: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.brand-sub {
  margin-top: 5px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

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

.site-nav a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 6px;
  transition: color var(--dur-base) var(--ease-out);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--crust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}

.site-nav a:hover {
  color: var(--ink);
}

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

.site-nav a[aria-current="true"] {
  color: var(--ink);
}

.header-cta {
  flex: none;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition:
    transform var(--dur-base) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}

.nav-toggle-bar:first-child {
  top: 17px;
}

.nav-toggle-bar:last-child {
  top: 24px;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 35;
  padding: 96px var(--gutter) 32px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-3);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav nav > a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.mobile-nav-cta {
  margin-top: 24px;
}

.mobile-nav-foot {
  margin-top: 22px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

body.nav-open {
  overflow: hidden;
}

[id] {
  scroll-margin-top: 96px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle at 50% 50%, rgb(232 179 74 / 0.22), transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow-rule {
  width: 28px;
  height: 1px;
  background: var(--line-strong);
  flex: none;
}

.eyebrow-invert {
  color: var(--ink-invert-soft);
}

.eyebrow-invert .eyebrow-rule {
  background: rgb(248 239 225 / 0.3);
}

.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 12ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--crust);
}

.hero-lede {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.35vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.hero-facts > div {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}

.hero-facts > div:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.hero-facts dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-facts dd {
  margin: 5px 0 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
}

/* Hero photo collage */
.hero-art {
  position: relative;
  padding-bottom: 54px;
}

.shot {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--paper-deep);
  box-shadow: var(--shadow-2);
}

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

.shot-main {
  width: 82%;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  border: 6px solid var(--surface);
}

.shot-sub {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 47%;
  aspect-ratio: 1 / 1;
  border: 6px solid var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
}

.seal {
  position: absolute;
  top: -6px;
  left: 6%;
  width: clamp(84px, 9vw, 112px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--r-full);
  background: var(--butter);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  animation: seal-spin 48s linear infinite;
}

.seal svg {
  width: 86%;
  height: 86%;
}

.seal text {
  font-family: var(--font-ui);
  font-size: 7.2px;
  font-weight: 600;
  letter-spacing: 0.1em;
  fill: currentColor;
  text-transform: uppercase;
}

.seal .seal-mid {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-anchor: middle;
  text-transform: none;
}

.seal circle[r="20"] {
  stroke: rgb(43 27 18 / 0.35);
  stroke-width: 0.8;
}

@keyframes seal-spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Category band
   -------------------------------------------------------------------------- */

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.band-inner::-webkit-scrollbar {
  display: none;
}

.band-dot {
  color: var(--crust);
  font-style: normal;
  font-size: 0.75em;
}

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */

.section {
  padding-block: var(--section-y);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2,
.faq-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.02;
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-note {
  max-width: 36ch;
  justify-self: end;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.section-head-center {
  display: block;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.section-head-center .eyebrow {
  justify-content: center;
}

.section-note-center {
  max-width: 42ch;
  margin: 16px auto 0;
  justify-self: auto;
}

/* --------------------------------------------------------------------------
   Menu grid
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 24px);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--paper-deep);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.product:hover .product-media img {
  transform: scale(1.035);
}

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: var(--r-full);
  background: rgb(251 245 234 / 0.94);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.tag-sweet {
  color: var(--crust);
}

.tag-savory {
  color: var(--olive);
}

.product-body {
  padding-top: 16px;
}

.product h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.35rem);
  letter-spacing: -0.02em;
}

.product .product-price {
  margin-top: 7px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.product p {
  margin-top: 7px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  min-height: 32px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--crust);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out);
}

.product-link:hover {
  border-bottom-color: var(--crust);
}

.product-link span[aria-hidden="true"] {
  transition: transform var(--dur-base) var(--ease-out);
}

.product-link:hover span[aria-hidden="true"] {
  transform: translateX(3px);
}

.menu-foot {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.menu-foot a {
  display: inline-block;
  padding-block: 3px;
  color: var(--crust);
  border-bottom: 1px solid rgb(168 65 30 / 0.35);
  transition: border-color var(--dur-base) var(--ease-out);
}

.menu-foot a:hover {
  border-color: var(--crust);
}

/* --------------------------------------------------------------------------
   Story
   -------------------------------------------------------------------------- */

.story {
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}

.story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(36px, 6vw, 88px);
}

.story-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.02;
}

.story-head > p:last-child {
  margin-top: 24px;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.story-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  padding-block: 26px;
  border-top: 1px solid var(--line-strong);
}

.story-item:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.story-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--crust);
  line-height: 1.4;
}

.story-item h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.story-item p {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 42ch;
}

/* --------------------------------------------------------------------------
   Order steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  counter-reset: none;
}

.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--ink);
}

.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: var(--crust);
}

.step h3 {
  font-size: 1.35rem;
}

.step p {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 34ch;
}

.order-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  margin-top: clamp(40px, 5vw, 56px);
}

.order-cta p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Location
   -------------------------------------------------------------------------- */

.location {
  background: var(--ink);
  color: var(--ink-invert);
}

.location-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.location h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
}

.location address {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink-invert);
}

.location-note {
  margin-top: 20px;
  max-width: 38ch;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-invert-soft);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.location-media {
  position: relative;
  max-width: 460px;
  width: 100%;
  justify-self: end;
}

.location-media > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid rgb(248 239 225 / 0.16);
}

.location-card {
  position: absolute;
  left: -18px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 20px;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
}

.location-card-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crust);
}

.location-card strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.location-card span:last-child {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 104px;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  letter-spacing: -0.015em;
  line-height: 1.35;
  transition: color var(--dur-base) var(--ease-out);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-top: 0.45em;
  border-right: 1.5px solid var(--ink-soft);
  border-bottom: 1.5px solid var(--ink-soft);
  transform: rotate(45deg);
  transition: transform var(--dur-base) var(--ease-out);
}

.faq-list summary:hover {
  color: var(--crust);
}

.faq-list details[open] summary::after {
  transform: rotate(-135deg);
}

.faq-list details p {
  padding: 0 48px 24px 0;
  max-width: 62ch;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Closing + footer
   -------------------------------------------------------------------------- */

.closing {
  padding-block: var(--section-y);
}

.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgb(232 179 74 / 0.24), transparent 55%),
    var(--surface);
}

.closing-kicker {
  margin-bottom: 18px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.closing h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.04;
}

.closing-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 260px;
}

.closing-actions .btn-ghost {
  font-variant-numeric: tabular-nums;
}

.site-footer {
  background: var(--ink);
  color: var(--ink-invert);
  padding-top: clamp(48px, 6vw, 72px);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.75fr));
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.brand-mark-lg {
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
  background: var(--butter);
  color: var(--ink);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.footer-tagline {
  margin-top: 10px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-invert-soft);
  max-width: 32ch;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink-invert-soft);
}

.footer-col h2 {
  margin-bottom: 6px;
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--butter);
}

.footer-col a {
  min-height: 24px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out);
}

.footer-col a:hover {
  border-bottom-color: var(--ink-invert-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid rgb(248 239 225 / 0.14);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--ink-invert-soft);
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-bottom: 1px solid rgb(248 239 225 / 0.22);
}

.footer-bottom a:hover {
  border-color: var(--ink-invert);
}

/* --------------------------------------------------------------------------
   Scroll reveal (JS adds .js to <html>)
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .site-nav {
    gap: 22px;
  }

  .hero-inner {
    gap: 32px;
  }

  .story-inner,
  .location-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-head > p:last-child {
    max-width: 56ch;
  }

  .location-media {
    justify-self: start;
    max-width: 420px;
  }

  .faq-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .faq-head {
    position: static;
    margin-bottom: 20px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .closing-inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .closing-actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }
}

@media (max-width: 860px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-inner {
    min-height: 66px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    max-width: 16ch;
  }

  .hero-art {
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
    padding-bottom: 44px;
  }

  .hero-lede {
    max-width: 52ch;
  }

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

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }

  .section-note {
    justify-self: start;
    max-width: 44ch;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .step {
    padding-block: 22px;
    border-top: 1px solid var(--line);
  }

  .step:first-child {
    border-top-color: var(--ink);
  }

  .step-num {
    margin-bottom: 12px;
  }

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

  .order-cta {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .topbar {
    font-size: 0.6875rem;
    letter-spacing: 0.02em;
  }

  .topbar-full {
    display: none;
  }

  .topbar-short {
    display: inline;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-facts > div {
    padding-right: 18px;
    margin-right: 18px;
  }

  .hero-facts dd {
    font-size: 0.9375rem;
  }

  .seal {
    top: 2px;
    left: 0;
  }

  .shot-sub {
    width: 42%;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }

  .product p {
    font-size: 0.8375rem;
  }

  .product-link {
    margin-top: 10px;
    font-size: 0.8125rem;
  }

  .tag {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 0.5625rem;
  }

  .story-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .location-card {
    left: 10px;
    bottom: 12px;
    padding: 12px 16px;
  }

  .faq-list details p {
    padding-right: 24px;
  }

  .closing-inner {
    padding: 26px 22px;
  }

  .closing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 359px) {
  .hero-actions .btn {
    width: 100%;
  }

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

  .product h3 {
    font-size: 1.3rem;
  }
}

/* --------------------------------------------------------------------------
   Motion / contrast preferences
   -------------------------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

@media (prefers-contrast: more) {
  :root {
    --line: #b9a184;
    --line-strong: #8e7357;
    --ink-soft: #453326;
  }

  .btn-ghost,
  .btn-outline-invert {
    border-width: 2px;
  }
}

@media print {
  .topbar,
  .site-header,
  .mobile-nav,
  .seal,
  .closing-actions,
  .site-footer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    padding-block: 24px;
    break-inside: avoid;
  }
}

/* Footer WhatsApp icon link */
.footer-wa {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 4px;
  border: 1px solid rgb(248 239 225 / 0.28);
  border-radius: var(--r-sm);
  color: var(--butter);
  transition:
    background-color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}

.footer-wa:hover {
  background: rgb(232 179 74 / 0.12);
  border-color: var(--butter);
}

.footer-wa .icon-wa {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
