/* ==========================================================================
   Arunika — working-name export site
   Modern Editorial Corporate. Plain CSS, no framework.
   ========================================================================== */

:root {
  --forest: #203c35;
  --forest-deep: #172c27;
  --forest-line: rgba(247, 246, 242, 0.16);
  --ivory: #f7f6f2;
  --white: #ffffff;
  --ink: #222725;
  --ink-soft: #545b58;
  --ink-faint: #7b817e;
  --copper: #ad8063;
  --copper-text: #8a5e44; /* copper dark enough for small text on ivory */
  --stone: #dfe1dc;
  --line: rgba(34, 39, 37, 0.14);
  --line-strong: rgba(34, 39, 37, 0.32);

  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --fs-display: clamp(2.6rem, 1.35rem + 4.4vw, 5.25rem);
  --fs-h1: clamp(2.3rem, 1.4rem + 3.2vw, 4.25rem);
  --fs-h2: clamp(1.85rem, 1.35rem + 1.8vw, 2.9rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1.3rem, 1.08rem + 0.85vw, 1.85rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-label: 0.71875rem;

  --gutter: clamp(16px, 4vw, 56px);
  --gap: clamp(16px, 2vw, 28px);
  --maxw: 1360px;
  --section: clamp(72px, 9vw, 152px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--forest); color: var(--ivory); }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--forest); color: var(--ivory);
  padding: 12px 16px; z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

/* ---------- Layout ---------- */

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

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
@media (max-width: 899px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  /* Desktop column placements are more specific; mobile must always win. */
  .grid > * { grid-column: 1 / -1 !important; }
}

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 6vw, 96px); }
.section--white { background: var(--white); }
.section--forest { background: var(--forest); color: var(--ivory); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Type ---------- */

.label {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.label--copper { color: var(--copper-text); }
.section--forest .label { color: rgba(247, 246, 242, 0.68); }

.label-index {
  display: flex; gap: 14px; align-items: baseline;
}
.label-index::before {
  content: attr(data-index);
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.04em;
  color: var(--copper-text);
}
.section--forest .label-index::before { color: var(--copper); }

.display {
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.032em;
}
.h1 {
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.028em;
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.022em;
}
.h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.012em;
}
.serif-accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.012em;
}
.lead {
  font-family: var(--serif);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.006em;
}
.body-l { font-size: 1.125rem; line-height: 1.6; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--fs-small); line-height: 1.55; }
.measure { max-width: 34em; }
.measure-s { max-width: 26em; }
.section--forest .muted { color: rgba(247, 246, 242, 0.72); }

/* "To be confirmed" marker for draft values */
.tbc {
  display: inline-block;
  margin-left: 0.4em;
  padding: 0 0.42em;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: 0.06em;
  vertical-align: 0.16em;
  color: var(--copper-text);
  border: 1px solid rgba(173, 128, 99, 0.55);
  border-radius: 2px;
  cursor: help;
  white-space: nowrap;
}
.section--forest .tbc,
.site-footer .tbc { color: #d8b59e; border-color: rgba(216, 181, 158, 0.5); }

/* ---------- Links & buttons ---------- */

.link {
  display: inline-flex; align-items: baseline; gap: 0.5em;
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.35s var(--ease), color 0.2s;
}
.link .arr { transition: transform 0.3s var(--ease); }
.link:hover { color: var(--copper-text); }
.link:hover .arr { transform: translateX(3px); }
.section--forest .link:hover { color: #e3c6b2; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75em;
  min-height: 52px;
  padding: 0 26px;
  font: 500 0.95rem/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid var(--forest);
  border-radius: 2px;
  background: var(--forest);
  color: var(--ivory);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s;
}
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); }
.btn:hover .arr { transform: translateX(3px); }
.btn--line { background: transparent; color: var(--forest); }
.btn--line:hover { background: var(--forest); color: var(--ivory); }
.btn--ivory { background: var(--ivory); color: var(--forest); border-color: var(--ivory); }
.btn--ivory:hover { background: var(--white); border-color: var(--white); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }

/* ---------- Draft bar ---------- */

.draftbar {
  background: var(--forest-deep);
  color: rgba(247, 246, 242, 0.82);
  font-size: 0.78rem;
  line-height: 1.45;
}
.draftbar .wrap {
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  padding-block: 9px;
}
.draftbar b { color: var(--ivory); font-weight: 500; }
.draftbar button {
  flex: none;
  background: none; border: 0; color: inherit; cursor: pointer;
  font: inherit; text-decoration: underline; text-underline-offset: 3px;
  padding: 6px 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 246, 242, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--forest);
}
.brand-mark {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.brand-sub {
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.15;
}

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a:not(.btn) {
  position: relative;
  font-size: 0.9rem;
  font-weight: 450;
  text-decoration: none;
  color: var(--ink);
  padding-block: 8px;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px; background: var(--copper);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  background: none; border: 0; padding: 10px 0 10px 12px; cursor: pointer;
  font: 500 0.82rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--forest);
}

@media (max-width: 899px) {
  .site-header .wrap { height: 64px; }
  .brand-sub { display: none; }
  .menu-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: 0; top: 0;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 0;
    padding: 96px var(--gutter) 40px;
    background: var(--ivory);
    visibility: hidden; opacity: 0;
    transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transition: opacity 0.25s var(--ease); }
  .nav a:not(.btn) {
    width: 100%;
    font-size: 1.75rem; font-weight: 500; letter-spacing: -0.02em;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 32px; width: 100%; }
  .menu-toggle, .site-header .brand { position: relative; z-index: 2; }
}

/* ---------- Photography frames ----------
   Every photo sits in a .ph frame. If the image file exists it fades in;
   if it doesn't, the frame shows a labelled placeholder with the shot brief. */

.ph {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ratio, 4 / 5);
  background-color: var(--tone, #e4ded2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .09 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 1.2s var(--ease);
}
.ph.is-loaded img { opacity: 1; }
.ph.is-loaded .ph-brief { display: none; }

.ph-brief {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(14px, 1.6vw, 22px);
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(34, 39, 37, 0.62);
}
.ph-brief::before {
  /* crop marks */
  content: "";
  position: absolute; inset: clamp(10px, 1.2vw, 16px);
  pointer-events: none;
  background:
    linear-gradient(currentColor, currentColor) top left / 14px 1px,
    linear-gradient(currentColor, currentColor) top left / 1px 14px,
    linear-gradient(currentColor, currentColor) top right / 14px 1px,
    linear-gradient(currentColor, currentColor) top right / 1px 14px,
    linear-gradient(currentColor, currentColor) bottom left / 14px 1px,
    linear-gradient(currentColor, currentColor) bottom left / 1px 14px,
    linear-gradient(currentColor, currentColor) bottom right / 14px 1px,
    linear-gradient(currentColor, currentColor) bottom right / 1px 14px;
  background-repeat: no-repeat;
  opacity: 0.45;
}
.ph-brief .ph-tag {
  align-self: flex-start;
  padding: 4px 10px 4px 12px;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.64rem;
}
.ph-brief .ph-shot {
  max-width: 30ch;
  padding: 0 0 4px 12px;
}
.ph-brief .ph-file { display: block; opacity: 0.7; margin-top: 6px; }

.ph--dark { --tone: #2b4a42; }
.ph--dark .ph-brief { color: rgba(247, 246, 242, 0.66); }
.ph--sand { --tone: #e6dfd2; }
.ph--husk { --tone: #d3c1ad; }
.ph--stone { --tone: #d7dad3; }
.ph--clay { --tone: #c9ab95; }
.ph--olive { --tone: #b8b8a2; }

.caption {
  display: flex; gap: 12px;
  margin-top: 12px;
  font-size: 0.8rem; line-height: 1.5;
  color: var(--ink-soft);
}
.caption b { font-weight: 500; color: var(--ink); white-space: nowrap; }
.section--forest .caption { color: rgba(247, 246, 242, 0.68); }
.section--forest .caption b { color: var(--ivory); }

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

.hero { padding-top: clamp(28px, 4vw, 64px); padding-bottom: var(--section); }
.hero-copy {
  grid-column: 1 / span 6;
  display: flex; flex-direction: column;
  padding-top: clamp(16px, 5vw, 88px);
}
.hero-copy .display { margin-top: 28px; }
.hero-copy .display .serif-accent { display: block; color: var(--forest); }
.hero-copy .body-l { margin-top: 32px; max-width: 30em; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 40px; }

.hero-facts {
  margin-top: auto;
  padding-top: 64px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.hero-facts > div { border-top: 1px solid var(--line-strong); padding-top: 14px; }
.hero-facts dt { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; }
.hero-facts dd { margin-top: 8px; font-size: 0.92rem; line-height: 1.45; }

.hero-media {
  grid-column: 8 / -1;
  margin-right: calc(var(--gutter) * -1);
}
@media (min-width: 1360px) {
  .hero-media { margin-right: calc((100vw - var(--maxw)) / -2 - var(--gutter)); }
}
.hero-media .caption { padding-right: var(--gutter); }

@media (max-width: 899px) {
  .hero-copy { padding-top: 12px; }
  .hero-media { order: -1; margin-inline: calc(var(--gutter) * -1); margin-bottom: 32px; }
  .hero-media .ph { --ratio: 4 / 3 !important; }
  .hero-media .caption { padding-inline: var(--gutter); }
  .hero-facts { grid-template-columns: 1fr; gap: 0; padding-top: 48px; }
  .hero-facts > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding-block: 14px; }
  .hero-facts dd { margin-top: 0; }
}

/* ---------- Position statement ---------- */

.position .label-col { grid-column: 1 / span 3; padding-top: 10px; }
.position .lead-col { grid-column: 4 / span 8; }
.position .cols {
  grid-column: 4 / span 8;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap);
  margin-top: clamp(40px, 5vw, 72px);
}
.position .cols > div { border-top: 1px solid var(--line); padding-top: 18px; }
.position .cols h3 { font-size: 1rem; font-weight: 500; margin-bottom: 10px; }
.position .cols p { color: var(--ink-soft); font-size: 0.98rem; }
.position .more { grid-column: 4 / span 8; margin-top: 40px; }
@media (max-width: 899px) {
  .position .label-col { margin-bottom: 20px; }
  .position .cols { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Section heads (left-aligned, split) ---------- */

.head {
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 80px);
}
.head .head-main { grid-column: 1 / span 7; }
.head .head-main .h2 { margin-top: 20px; }
.head .head-aside { grid-column: 9 / span 4; }
.head .head-aside p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 16px; }
@media (max-width: 899px) { .head .head-aside { margin-top: 20px; } }

/* ---------- Product showcase (editorial, varied sizes) ---------- */

.showcase { row-gap: clamp(48px, 7vw, 112px); }
.prod { display: block; text-decoration: none; color: inherit; }
.prod .ph img { transform: scale(1.001); }
.prod:hover .ph.is-loaded img { transform: scale(1.025); }
.prod-meta {
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 18px; align-items: baseline;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--line);
}
.prod-num { font-family: var(--mono); font-size: 0.75rem; color: var(--copper-text); }
.prod-name { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.012em; }
.prod-latin { font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 0.98rem; text-align: right; }
.prod-desc { grid-column: 2 / -1; color: var(--ink-soft); font-size: 0.92rem; margin-top: 4px; }
.prod-go { grid-column: 2 / -1; margin-top: 10px; font-size: 0.875rem; }
.prod:hover .prod-name { color: var(--forest); }
.prod:hover .link { color: var(--copper-text); }
.prod:hover .link .arr { transform: translateX(3px); }

.prod--a { grid-column: 1 / span 7; }
.prod--b { grid-column: 9 / span 4; margin-top: clamp(0px, 10vw, 180px); }
.prod--c { grid-column: 2 / span 4; }
.prod--d { grid-column: 7 / span 6; margin-top: clamp(0px, 4vw, 64px); }
@media (max-width: 899px) {
  .prod--a, .prod--b, .prod--c, .prod--d { grid-column: 1 / -1; margin-top: 0; }
  .prod--b, .prod--c { width: 82%; }
  .prod--c { justify-self: end; }
  .prod-latin { grid-column: 2 / -1; text-align: left; }
}

/* ---------- Full-bleed band ---------- */

.band { position: relative; }
.band .ph { --ratio: 21 / 9; }
.band-caption {
  margin-top: 14px;
}
@media (max-width: 899px) { .band .ph { --ratio: 4 / 3; } }

/* ---------- Process (forest) ---------- */

.process .intro { grid-column: 1 / span 4; }
.process .intro .h2 { margin-top: 20px; }
.process .intro p { margin-top: 24px; }
.process .intro .sticky { position: sticky; top: 120px; }
.process .steps-col { grid-column: 6 / span 7; }

.timeline {
  position: relative;
  display: grid; grid-template-columns: repeat(6, 1fr);
  margin-bottom: 72px;
  height: 34px;
  border-bottom: 1px solid var(--forest-line);
}
.timeline span {
  position: relative;
  font-family: var(--mono); font-size: 0.7rem; color: rgba(247, 246, 242, 0.55);
}
.timeline span::after {
  content: "";
  position: absolute; left: 0; bottom: -5px;
  width: 1px; height: 9px; background: rgba(247, 246, 242, 0.5);
}
.timeline .phase {
  position: absolute; bottom: -1px; height: 1px; background: var(--copper);
}
.timeline .phase--pre { left: 0; width: 50%; height: 2px; bottom: -1px; }
.timeline .phase-label {
  position: absolute; left: 0; top: calc(100% + 12px);
  font-family: var(--sans); font-style: normal; font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(247, 246, 242, 0.55);
}

.steps li {
  display: grid; grid-template-columns: 3.25rem 1fr; gap: 0 20px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--forest-line);
}
.steps li:first-child { padding-top: 0; }
.steps .n { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; color: var(--copper); }
.steps h3 { font-size: 1.18rem; font-weight: 500; letter-spacing: -0.01em; }
.steps p { margin-top: 8px; color: rgba(247, 246, 242, 0.74); font-size: 0.98rem; max-width: 36em; }
.steps .who { margin-top: 12px; font-size: 0.78rem; letter-spacing: 0.04em; color: rgba(247, 246, 242, 0.55); }
.steps .who b { font-weight: 500; color: rgba(247, 246, 242, 0.8); }

@media (max-width: 899px) {
  .process .intro { margin-bottom: 48px; }
  .process .intro .sticky { position: static; }
  .timeline { display: none; }
  .steps li:first-child { padding-top: 26px; border-top: 1px solid var(--forest-line); }
}

/* ---------- Terms sheet ---------- */

.terms .intro { grid-column: 1 / span 4; }
.terms .intro .h2 { margin-top: 20px; }
.terms .intro p { margin-top: 24px; }
.terms .sheet { grid-column: 6 / span 7; }
.sheet { border-top: 1px solid var(--ink); }
.sheet > div {
  display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr; gap: 8px 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.sheet dt { font-size: 0.875rem; font-weight: 500; }
.sheet dd { font-size: 0.98rem; color: var(--ink-soft); }
.sheet dd strong { color: var(--ink); font-weight: 500; }
@media (max-width: 899px) {
  .terms .intro { margin-bottom: 40px; }
  .sheet > div { grid-template-columns: 1fr; }
}

/* ---------- RFQ start (homepage) ---------- */

.rfq-home .copy { grid-column: 1 / span 5; padding-top: 8px; }
.rfq-home .copy .h2 { margin-top: 20px; }
.rfq-home .copy > p { margin-top: 24px; }
.rfq-home .panel-col { grid-column: 7 / span 6; }

.next {
  margin-top: 40px;
  counter-reset: next;
}
.next li {
  counter-increment: next;
  display: grid; grid-template-columns: 2rem 1fr; gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem; color: var(--ink-soft);
}
.next li::before {
  content: counter(next, decimal-leading-zero);
  font-family: var(--mono); font-size: 0.72rem; color: var(--copper-text); padding-top: 4px;
}
.direct {
  margin-top: 32px;
  font-size: 0.92rem;
}
.direct dt { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; margin-top: 16px; }
.direct dd { margin-top: 4px; }

@media (max-width: 899px) { .rfq-home .panel-col { margin-top: 48px; } }

/* ---------- Forms ---------- */

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(22px, 3.2vw, 48px);
}
.panel-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-bottom: 20px; margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.panel-head h3 { font-size: 1.12rem; font-weight: 500; }
.panel-head .step { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-faint); white-space: nowrap; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .fields { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .field > .flabel {
  font-size: 0.8rem; font-weight: 500; color: var(--ink);
  display: flex; justify-content: space-between; gap: 12px;
}
.field .opt { font-weight: 400; color: var(--ink-faint); }
.field .hint { font-size: 0.78rem; color: var(--ink-faint); line-height: 1.45; }

.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: 400 1rem/1.4 var(--sans);
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid transparent;
  border-bottom-color: var(--line-strong);
  border-radius: 0;
  transition: border-color 0.2s, background-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 120px; resize: vertical; }
.select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%23222725' stroke-width='1.3'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.input:hover, .select:hover, .textarea:hover { border-bottom-color: var(--ink); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--forest);
}
.input::placeholder, .textarea::placeholder { color: #9aa09d; }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: #a4452c; background-color: #fbf3f0; }
.field .err { display: none; font-size: 0.78rem; color: #a4452c; }
.field.has-error .err { display: block; }

.combo { display: grid; grid-template-columns: minmax(0, 1fr) 8.5rem; gap: 8px; }

/* segmented choice (Incoterm etc.) */
.seg { display: flex; flex-wrap: wrap; border: 1px solid var(--line-strong); }
.seg label { flex: 1 1 auto; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 14px;
  font-size: 0.9rem; font-weight: 450;
  border-left: 1px solid var(--line);
  transition: background-color 0.2s, color 0.2s;
}
.seg label:first-child span { border-left: 0; }
.seg input:hover + span { background: var(--ivory); }
.seg input:checked + span { background: var(--forest); color: var(--ivory); }
.seg input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: -2px; }

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
@media (max-width: 599px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; cursor: pointer; line-height: 1.45; }
.check input {
  flex: none;
  width: 18px; height: 18px; margin: 2px 0 0;
  -webkit-appearance: none; appearance: none;
  border: 1px solid var(--line-strong); background: var(--white); border-radius: 0;
  display: grid; place-content: center;
  cursor: pointer;
}
.check input::after {
  content: ""; width: 10px; height: 6px;
  border-left: 1.6px solid var(--ivory); border-bottom: 1.6px solid var(--ivory);
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.check input:checked { background: var(--forest); border-color: var(--forest); }
.check input:checked::after { opacity: 1; }

.form-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.form-foot p { font-size: 0.8rem; color: var(--ink-faint); max-width: 30em; }

/* ---------- Page intro (inner pages) ---------- */

.page-intro { padding-top: clamp(40px, 6vw, 104px); padding-bottom: clamp(48px, 6vw, 96px); }
.page-intro .main { grid-column: 1 / span 8; }
.page-intro .main .h1 { margin-top: 24px; }
.page-intro .aside { grid-column: 9 / span 4; align-self: end; }
.page-intro .aside p { color: var(--ink-soft); }
@media (max-width: 899px) { .page-intro .aside { margin-top: 24px; } }

/* product index strip */
.index-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.index-strip a {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px 20px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.index-strip a + a { padding-left: 20px; border-left: 1px solid var(--line); }
.index-strip .n { font-family: var(--mono); font-size: 0.72rem; color: var(--copper-text); }
.index-strip .t { font-weight: 500; font-size: 1.05rem; }
.index-strip .s { font-family: var(--serif); font-style: italic; font-size: 0.9rem; color: var(--ink-soft); }
.index-strip a:hover .t { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 899px) {
  .index-strip { grid-template-columns: 1fr 1fr; }
  .index-strip a:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------- Spec sheets (products page) ---------- */

.spec { padding-block: clamp(64px, 8vw, 128px); border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.spec:first-of-type { border-top: 0; }
.spec .media { grid-column: 1 / span 5; }
.spec .media .sticky { position: sticky; top: 104px; }
.spec .body { grid-column: 7 / span 6; }
.spec--flip .media { grid-column: 8 / span 5; order: 2; }
.spec--flip .body { grid-column: 1 / span 6; order: 1; }

.spec-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 18px; }
.spec-title .serif-accent { font-size: 1.15rem; color: var(--ink-soft); }
.spec .lede { margin-top: 24px; color: var(--ink-soft); max-width: 34em; }

.forms-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.forms-list li {
  font-size: 0.82rem; padding: 6px 12px;
  border: 1px solid var(--line-strong);
}

.spec-table { width: 100%; margin-top: 40px; border-collapse: collapse; font-size: 0.92rem; }
.spec-table caption {
  text-align: left; padding-bottom: 12px;
  font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500;
}
.spec-table th, .spec-table td {
  text-align: left; vertical-align: top;
  padding: 13px 16px 13px 0;
  border-bottom: 1px solid var(--line);
}
.spec-table thead th {
  border-top: 1px solid var(--ink); border-bottom-color: var(--line-strong);
  font-size: 0.75rem; font-weight: 500; color: var(--ink-faint); letter-spacing: 0.02em;
  padding-block: 10px;
}
.spec-table tbody th { font-weight: 500; width: 38%; }
.spec-table td { color: var(--ink-soft); }
.spec-table td.v { color: var(--ink); font-variant-numeric: tabular-nums; }
.spec-note { margin-top: 16px; font-size: 0.8rem; color: var(--ink-faint); max-width: 40em; }
.spec-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 36px; }

@media (max-width: 899px) {
  .spec .media, .spec--flip .media { order: 0; margin-bottom: 32px; }
  .spec--flip .body { order: 1; }
  .spec .media .sticky { position: static; }
  .spec-table tbody th { width: 44%; }
}

/* ---------- How we work page ---------- */

.split-2 > div { border-top: 1px solid var(--line); padding-top: 20px; }
.split-2 .a { grid-column: 1 / span 6; }
.split-2 .b { grid-column: 7 / span 6; }
.split-2 h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 14px; }
.split-2 p + p { margin-top: 12px; }
.split-2 p { color: var(--ink-soft); }
@media (max-width: 899px) { .split-2 .b { margin-top: 32px; } }

.plain-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft); font-size: 0.98rem;
}
.plain-list li::before {
  content: ""; position: absolute; left: 0; top: 1.4em;
  width: 10px; height: 1px; background: var(--copper);
}
.plain-list li b { color: var(--ink); font-weight: 500; }
.plain-list--no li::before { background: var(--ink-faint); }

.docs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
.docs-grid li {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.docs-grid li span:last-child { font-size: 0.8rem; color: var(--ink-faint); text-align: right; }
@media (max-width: 599px) { .docs-grid { grid-template-columns: 1fr; } }

.pull {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem);
  line-height: 1.22;
  letter-spacing: -0.012em;
}
.pull-source { margin-top: 20px; }

/* ---------- RFQ page ---------- */

.rfq-page .form-col { grid-column: 1 / span 8; }
.rfq-page .side-col { grid-column: 10 / span 3; }
.rfq-page .side-col .sticky { position: sticky; top: 108px; }
.rfq-page fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.rfq-page fieldset + fieldset { margin-top: 56px; }
.rfq-page legend {
  display: flex; gap: 16px; align-items: baseline; width: 100%;
  padding: 0 0 18px; margin-bottom: 28px;
  border-bottom: 1px solid var(--ink);
  font-size: 1.25rem; font-weight: 500; letter-spacing: -0.012em;
}
.rfq-page legend .n { font-family: var(--mono); font-size: 0.75rem; color: var(--copper-text); font-weight: 400; }
.rfq-page .panel { padding: clamp(22px, 4vw, 56px); }
@media (max-width: 899px) { .rfq-page .side-col { margin-top: 56px; } .rfq-page .side-col .sticky { position: static; } }

.side-block + .side-block { margin-top: 40px; }
.side-block h3 { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; margin-bottom: 12px; }
.side-block li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-soft); }
.side-block p { font-size: 0.9rem; color: var(--ink-soft); }

.summary { display: none; }
.summary.is-visible { display: block; }
.summary-text {
  width: 100%; min-height: 320px; margin-top: 20px;
  padding: 18px;
  font: 400 0.82rem/1.6 var(--mono);
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  resize: vertical;
}
.summary .actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 20px; }
.summary .notice {
  margin-top: 20px; padding: 14px 16px;
  border-left: 2px solid var(--copper);
  background: var(--ivory);
  font-size: 0.85rem; color: var(--ink-soft);
}

/* ---------- CTA band ---------- */

.cta-band .copy { grid-column: 1 / span 7; }
.cta-band .act { grid-column: 9 / span 4; align-self: end; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media (max-width: 899px) { .cta-band .act { margin-top: 32px; } }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest);
  color: rgba(247, 246, 242, 0.78);
  padding-top: clamp(64px, 7vw, 112px);
  font-size: 0.92rem;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.site-footer .brand { color: var(--ivory); }
.site-footer .brand-sub { color: rgba(247, 246, 242, 0.65); border-color: var(--forest-line); display: inline; }
.foot-intro { grid-column: 1 / span 5; }
.foot-intro p { margin-top: 24px; max-width: 26em; }
.foot-col { grid-column: span 2; }
.foot-col:first-of-type { grid-column: 7 / span 2; }
.foot-col.wide { grid-column: span 2; }
.foot-col h3 { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 246, 242, 0.5); font-weight: 500; margin-bottom: 16px; }
.foot-col li { padding: 4px 0; }
.foot-legal {
  margin-top: clamp(56px, 6vw, 96px);
  border-top: 1px solid var(--forest-line);
  padding-block: 24px 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  font-size: 0.78rem; color: rgba(247, 246, 242, 0.55);
}
@media (max-width: 899px) {
  .foot-intro { margin-bottom: 40px; }
  .foot-col, .foot-col:first-of-type, .foot-col.wide { grid-column: span 3; margin-bottom: 32px; }
}

/* ---------- Mobile quotation bar ---------- */

.mobile-cta { display: none; }
@media (max-width: 899px) {
  .mobile-cta {
    display: flex; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 246, 242, 0.97);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 0.35s var(--ease);
  }
  .mobile-cta.is-shown { transform: none; }
  .mobile-cta .btn { flex: 1; min-height: 48px; }
  body.has-mobile-cta { padding-bottom: 72px; }
}

/* ---------- Reveal (progressive; content visible without JS) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ph img, .link .arr, .btn .arr { transition: none; }
}

/* ---------- Column utilities (desktop only; mobile stacks) ---------- */
@media (min-width: 900px) {
  .c-1-4 { grid-column: 1 / span 4; }
  .c-1-7 { grid-column: 1 / span 7; }
  .c-6-7 { grid-column: 6 / span 7; }
  .c-9-4 { grid-column: 9 / span 4; }
  .self-end { align-self: end; }
}
@media (max-width: 899px) {
  .c-1-4 + .c-6-7 { margin-top: 32px; }
  .c-1-7 + .c-9-4 { margin-top: 28px; }
}

/* Balanced line breaks for headings and editorial statements */
.display, .h1, .h2, .h3, .lead, .pull { text-wrap: balance; }
.body-l, .muted, .lede { text-wrap: pretty; }

/* Sections hidden with the editor */
[data-ed-hidden] { display: none !important; }

/* Photo credit inside a caption */
.caption:has(.credit) { flex-wrap: wrap; }
.caption .credit { flex-basis: 100%; margin-top: 0; font-size: 0.72rem; color: var(--ink-faint); }
.caption .credit a { color: inherit; }
