/* ============================================================
   PT Swapna Nusa Santosa — Indonesian Spice Exporter
   Light / cream theme per build brief.
   Palette: paper + cream, terracotta accent, copper secondary,
   dark-brown hero overlay + footer.
   ============================================================ */

:root {
  /* Dark brown — hero overlay, footer, dark text on accent chips */
  --ink:        #1C1411;
  --ink-soft:   #2A1D16;

  /* Light surfaces */
  --paper:      #FBF6EC;   /* page bg, header bar */
  --cream:      #F4EDE0;   /* soft panels, light text on dark */
  --cream-soft: #FBF6EC;
  --cream-panel:#F0E7D6;
  --card:       #FFFFFF;   /* raised card surface */

  --line:       rgba(28, 20, 17, 0.12);
  --line-soft:  rgba(28, 20, 17, 0.07);
  --shadow: 0 1px 2px rgba(28,20,17,0.04), 0 14px 34px -20px rgba(28,20,17,0.22);

  /* Accents */
  --accent:     #C84A2A;   /* terracotta — primary */
  --accent-hov: #A93B20;
  --copper:     #C8845C;   /* copper — taglines, secondary */
  --maroon:     #5C2B2E;

  /* Text */
  --text:       #4A3D32;   /* body on light */
  --text-strong:#2A1D16;   /* headings on light */
  --text-mut:   #6E5C4A;
  --text-faint: #8A7763;
  --on-dark:    #F4EDE0;   /* text on dark (hero/footer) */
  --on-dark-mut:#D8C7B2;
  --on-dark-faint:#A5917B;

  /* Shape & type */
  --radius:    22px;
  --radius-sm: 14px;
  --radius-xs: 11px;
  --pill:      999px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif; /* display */
  --sans:  "Manrope", system-ui, -apple-system, sans-serif;         /* body + UI */
  --mono:  var(--sans);  /* 2-font brief: labels use Manrope, no separate mono */

  --maxw: 1240px;
  --gut:  clamp(18px, 4vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Shared layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

.section { padding-block: clamp(56px, 9vw, 120px); }

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  margin-bottom: 1.2rem;
}
.kicker::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}

.h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  line-height: 1.0;
  letter-spacing: -0.018em;
  color: var(--text-strong);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
}
.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--text-strong);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 96, "SOFT" 0, "WONK" 1;
}
.h2 em, .h1 em { font-style: italic; color: var(--accent); font-variation-settings: "opsz" 144, "SOFT" 4, "WONK" 1; }

.section-sub, .lead {
  color: var(--text-mut);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 56ch;
}

/* Mono "manifest" data line */
.manifest {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
}
.manifest b { color: var(--copper); font-weight: 500; }
.manifest .sep { width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.85em 0.95em 0.85em 1.5em;
  border: none;
  border-radius: var(--pill);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico {
  display: inline-grid;
  place-items: center;
  width: 2em; height: 2em;
  border-radius: 50%;
  font-size: 0.85em;
  transition: transform 0.25s ease;
}
.btn:hover .ico { transform: rotate(45deg); }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hov); }
.btn--accent .ico { background: rgba(0,0,0,0.22); color: #fff; }

/* dark pill — nav "Contact Us" */
.btn--gold { background: var(--ink); color: var(--on-dark); }
.btn--gold:hover { background: #2f211a; }
.btn--gold .ico { background: rgba(255,255,255,0.16); color: #fff; }

/* ghost — used on the dark hero */
.btn--ghost {
  background: transparent;
  color: var(--on-dark);
  box-shadow: inset 0 0 0 1.5px rgba(244,237,224,0.4);
  padding: 0.85em 1.5em;
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--on-dark); color: #fff; }

.badge {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.5em 1.1em;
  border-radius: var(--pill);
  font-family: var(--mono);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: rgba(244,237,224,0.1);
  box-shadow: inset 0 0 0 1px rgba(244,237,224,0.25);
  backdrop-filter: blur(6px);
}
.badge::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--accent); }

/* ============================================================
   NAV — paper header bar
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px var(--gut);
  background: rgba(251, 246, 236, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-soft);
  transition: box-shadow 0.3s ease, padding 0.3s ease, background 0.3s ease;
}
.nav.is-solid {
  background: rgba(251, 246, 236, 0.94);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(28,20,17,0.5);
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__logo {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--card);
  padding: 2px;
  object-fit: contain;
  flex: none;
  box-shadow: 0 0 0 1px var(--line-soft);
}
.nav__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  color: var(--text-strong);
  line-height: 1.05;
}
.nav__name span { display:block; font-family: var(--mono); font-size:0.56rem; letter-spacing:0.18em; text-transform:uppercase; color: var(--copper); font-weight:500; margin-top: 2px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 5px;
  border-radius: var(--pill);
  background: rgba(28,20,17,0.04);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.nav__links a {
  padding: 0.5em 1.1em;
  border-radius: var(--pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mut);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__links a:hover { color: var(--text-strong); }
.nav__links a.is-active { background: var(--accent); color: #fff; font-weight: 600; }

.nav__right { display: flex; align-items: center; gap: 0.9rem; }
.lang {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.8rem; font-weight: 600; color: var(--text-faint);
}
.lang button {
  background: none; border: none; color: var(--text-faint);
  font: inherit; padding: 0.2em 0.3em; border-radius: 6px;
  transition: color 0.2s ease;
}
.lang button.active { color: var(--accent); }
.lang button:hover { color: var(--text-strong); }

.nav__cta { padding: 0.6em 0.65em 0.6em 1.15em; font-size: 0.86rem; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: rgba(28,20,17,0.05);
  border: none; border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.burger span { width: 20px; height: 2px; background: var(--text-strong); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  padding: var(--gut);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-strong);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a.is-active { color: var(--accent); }
.mobile-menu .lang { margin-top: 2rem; font-size: 1rem; }

/* ============================================================
   HERO (home) — dark image island
   ============================================================ */
.hero {
  padding: 14px;
  padding-top: 88px;
}
.hero__panel {
  position: relative;
  min-height: min(88vh, 820px);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(28,20,17,0.55) 0%, rgba(28,20,17,0.15) 35%, rgba(28,20,17,0.82) 100%),
    linear-gradient(90deg, rgba(28,20,17,0.5) 0%, rgba(28,20,17,0) 55%);
}
.hero__inner {
  width: 100%;
  padding: clamp(26px, 4vw, 60px);
  display: grid;
  justify-items: start;
  gap: 1.4rem;
}
.hero__title { max-width: 16ch; color: var(--on-dark); }
.hero__sub { color: rgba(244,237,224,0.88); max-width: 48ch; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.4rem; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: clamp(1.4rem, 4vw, 3.2rem);
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(244,237,224,0.2);
}
.hero__stats .stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--copper);
  line-height: 1;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
}
.hero__stats .stat span {
  font-family: var(--mono);
  font-size: 0.68rem; color: rgba(244,237,224,0.7);
  letter-spacing: 0.08em; text-transform: uppercase;
  display: block; margin-top: 0.4rem;
}

.scroll-hint {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 48px);
  z-index: 2;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(244,237,224,0.65);
}
.scroll-hint i {
  width: 1px; height: 34px;
  background: linear-gradient(var(--copper), transparent);
  animation: scrolldrop 1.8s ease-in-out infinite;
}
@keyframes scrolldrop { 0%,100%{opacity:.3; transform:scaleY(.6) translateY(-6px);} 50%{opacity:1; transform:scaleY(1) translateY(6px);} }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  padding-block: 0.85rem;
  white-space: nowrap;
}
.marquee__track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee__track span {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding-inline: 1.3rem;
  display: inline-flex; align-items: center; gap: 1.3rem;
}
.marquee__track span i { color: rgba(255,255,255,0.7); font-style: normal; font-size: 0.8em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.pagehead {
  padding-top: clamp(120px, 16vw, 180px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.pagehead .h1 { max-width: 18ch; }
.pagehead .lead { margin-top: 1.4rem; }

/* ============================================================
   ABOUT (home section)
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: 2.6rem;
}
.about__body p { color: var(--text-mut); margin-bottom: 1.1rem; }
.about__body p:first-child { color: var(--text); font-size: 1.18rem; line-height: 1.55; }

.values { display: grid; gap: 1.2rem; }
.value {
  display: flex; gap: 1.1rem;
  padding: 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line-soft), var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.value__num {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600;
  color: var(--accent); line-height: 1; flex: none; min-width: 1.6em;
}
.value h4 { font-size: 1.05rem; font-weight: 600; color: var(--text-strong); margin-bottom: 0.3rem; }
.value p { color: var(--text-mut); font-size: 0.92rem; }

/* ---------- Stats band ---------- */
.statsband {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: clamp(2.4rem, 5vw, 4rem);
  box-shadow: 0 0 0 1px var(--line);
}
.statsband .s { background: var(--card); padding: 1.8rem 1.5rem; }
.statsband .s strong {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--accent); line-height: 1;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
}
.statsband .s span {
  font-family: var(--mono); font-size: 0.68rem; color: var(--text-mut);
  display: block; margin-top: 0.55rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin-top: 2.8rem;
}
.product {
  display: flex; flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-soft), var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.product:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--accent), 0 28px 56px -30px rgba(28,20,17,0.4); }
.product__img {
  position: relative;
  display: block; width: 100%; border: none; padding: 0;
  aspect-ratio: 4 / 3;
  background: var(--cream-panel);
  overflow: hidden;
}
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product:hover .product__img img { transform: scale(1.05); }
.product__tag {
  position: absolute; top: 14px; left: 14px;
  padding: 0.4em 0.9em; border-radius: var(--pill);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--accent); color: #fff;
}
.product__zoom {
  position: absolute; bottom: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(28,20,17,0.55); color: #fff; font-size: 1rem;
  backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(8px); transition: 0.3s ease;
}
.product:hover .product__zoom { opacity: 1; transform: translateY(0); }
.product__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; flex: 1; }
.product__head h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--text-strong); }
.product__head em { color: var(--copper); font-size: 0.85rem; font-style: italic; }
.product__desc { color: var(--text-mut); font-size: 0.92rem; }
.product__specs { display: grid; gap: 0; margin-top: auto; }
.product__specs > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0; border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 0.74rem;
}
.product__specs dt { color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.product__specs dd { color: var(--text-strong); text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.product__cta { font-family: var(--mono); color: var(--accent); font-weight: 500; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; display: inline-flex; gap: 0.4em; align-items: center; }
.product__cta:hover { color: var(--accent-hov); }

/* ============================================================
   ABOUT PAGE — vision / mission
   ============================================================ */
.aboutpage__body { display: grid; gap: 1.2rem; max-width: 62ch; }
.aboutpage__body p { color: var(--text-mut); }
.aboutpage__body .lead-p { color: var(--text-strong); font-size: 1.3rem; line-height: 1.5; font-family: var(--serif); }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.vm__block { padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--radius); }
.vm__vision { background: var(--accent); color: #fff; }
.vm__mission { background: var(--card); box-shadow: 0 0 0 1px var(--line-soft), var(--shadow); }
.vm__label { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; opacity: 0.85; }
.vm__mission .vm__label { color: var(--copper); opacity: 1; }
.vm__vision-text { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; font-weight: 500; }
.vm__list { list-style: none; display: grid; gap: 1.1rem; }
.vm__list li { display: flex; gap: 1rem; }
.vm__num {
  flex: none; width: 1.9em; height: 1.9em; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 0.85rem;
}
.vm__list li span:last-child { color: var(--text-mut); padding-top: 0.2em; }

/* ============================================================
   HERITAGE — timeline
   ============================================================ */
.heritage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.heritage__body { color: var(--text-mut); margin-top: 1.4rem; }
.timeline { display: grid; gap: 0; }
.tl-row { display: grid; grid-template-columns: auto 28px 1fr; gap: 1rem; align-items: start; }
.tl-year { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--accent); min-width: 5.5ch; text-align: right; padding-top: 0.1rem; }
.tl-line { position: relative; display: flex; justify-content: center; }
.tl-line::before { content:""; width: 2px; flex: 1; background: var(--line); }
.tl-line span { position: absolute; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--paper); }
.tl-row:first-child .tl-line::before { margin-top: 12px; }
.tl-text { color: var(--text-mut); padding-bottom: 1.8rem; font-size: 0.95rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
  margin-top: 2.6rem;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  cursor: pointer; background: var(--cream-panel);
  box-shadow: 0 0 0 1px var(--line-soft);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1rem 0.9rem;
  font-size: 0.82rem; color: #fff;
  background: linear-gradient(transparent, rgba(28,20,17,0.85));
  opacity: 0; transform: translateY(10px); transition: 0.3s ease;
}
.gallery-item:hover .cap { opacity: 1; transform: translateY(0); }
.gallery-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 3; }
.gallery-item:nth-child(3) { grid-column: span 2; }
.gallery-item:nth-child(4) { grid-column: span 1; }
.gallery-item:nth-child(5) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 3; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,10,8,0.92);
  display: none; align-items: center; justify-content: center;
  padding: 4vw; backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox figure { max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox figcaption { color: var(--on-dark-mut); margin-top: 1rem; font-size: 0.9rem; }
.lightbox__close {
  position: absolute; top: 24px; right: 28px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(244,237,224,0.12); color: #fff; border: none; font-size: 1.2rem;
}
.lightbox__close:hover { background: var(--accent); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-direct { margin-top: 2.4rem; display: grid; gap: 0.8rem; }
.direct-label { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.4rem; }
.direct-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  background: var(--card); box-shadow: 0 0 0 1px var(--line-soft), var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.direct-row:hover { transform: translateX(4px); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.direct-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 1.1rem; flex: none; }
.direct-row em { font-style: normal; font-size: 0.75rem; color: var(--text-faint); display: block; }
.direct-row strong { font-size: 0.98rem; font-weight: 600; color: var(--text-strong); }

.form {
  background: var(--card);
  color: var(--text);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  display: grid; gap: 1.1rem;
  box-shadow: 0 0 0 1px var(--line-soft), var(--shadow);
}
.form-row { display: grid; gap: 1.1rem; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.form label { display: grid; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--text-mut); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 0.95rem; color: var(--text-strong);
  padding: 0.8em 0.95em;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--paper);
  transition: border 0.2s ease, background 0.2s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form input.err, .form textarea.err { border-color: #c0392b; }
.form label > em { color: #c0392b; font-style: normal; font-size: 0.75rem; }
.form textarea { resize: vertical; min-height: 120px; }
.form .btn { justify-self: start; margin-top: 0.4rem; }
.form-error { color: #c0392b; font-size: 0.88rem; }

.form-success { text-align: center; display: grid; gap: 0.8rem; place-items: center; padding: 1rem 0; }
.success-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1.6rem; }
.form-success h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--text-strong); }
.form-success p { color: var(--text-mut); }
.form-success button { background: none; border: none; color: var(--accent); font-weight: 600; text-decoration: underline; }

/* ============================================================
   FOOTER — dark brown
   ============================================================ */
.footer { background: var(--ink); color: var(--on-dark); padding: clamp(48px, 7vw, 80px) 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer__brand { display: flex; align-items: center; gap: 0.8rem; }
.footer__brand img { width: 50px; height: 50px; border-radius: 50%; background: var(--card); padding: 2px; flex: none; }
.footer__brand strong { font-family: var(--serif); font-size: 1.2rem; display: block; color: var(--on-dark); }
.footer__brand em { font-style: italic; color: var(--copper); font-size: 0.9rem; }
.footer__col h5 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,237,224,0.55); margin-bottom: 1rem; font-weight: 500; }
.footer__col a { display: block; color: var(--on-dark-mut); padding: 0.3rem 0; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--copper); }
.footer__bot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: clamp(2.4rem, 5vw, 3.5rem); padding-top: 1.6rem;
  border-top: 1px solid rgba(244,237,224,0.12);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(244,237,224,0.5);
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__right .lang { display: none; }
  .nav__cta { display: none; }
  .burger { display: flex; }
  .about__grid, .heritage__grid, .contact__grid, .vm { grid-template-columns: 1fr; }
  .statsband { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 560px) {
  .form-row--2 { grid-template-columns: 1fr; }
  .statsband { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .hero { padding: 8px; padding-top: 80px; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
