/* ==========================================================================
   Icebreaker Woodcraft — dark edition
   Everything visual is controlled from the :root block below.
   Change a colour there and it updates across the whole site.
   ========================================================================== */

:root {
  /* Colour — "Ink": neutral black, ivory accent, no gold.
     Nothing here competes with the product photography. */
  --night: #0b0b0c;          /* page background */
  --night-2: #141416;        /* raised panels / cards */
  --night-3: #1c1c1f;        /* borders, hovers */
  --smoke: #f0efec;          /* primary text */
  --smoke-dim: #989794;      /* secondary text */
  --accent: #e7e2d6;         /* primary accent (ivory) */
  --accent-soft: #f4f1ea;    /* accent for small text */
  --accent-dim: #6f6f6d;     /* muted accent */
  --line: rgba(240, 239, 236, 0.16);
  --line-soft: rgba(240, 239, 236, 0.08);

  /* Backwards-compatible aliases (the old brass/ember names) */
  --brass: var(--accent);
  --brass-soft: var(--accent-soft);
  --ember: var(--accent-dim);

  /* Type */
  --display: "Didot", "Bodoni MT", "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --page: min(1340px, calc(100vw - 64px));
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--smoke);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

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

h1 { font-size: clamp(3rem, 7.5vw, 6.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1em; }

.wrap { width: var(--page); margin: 0 auto; }

.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--brass);
  flex: none;
}
.eyebrow.center { justify-content: center; }

.lead { font-size: 1.05rem; color: var(--smoke-dim); max-width: 54ch; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.7rem;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  background: transparent;
  color: var(--brass-soft);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
}
.btn:hover { background: var(--brass); color: var(--night); }

.btn-solid { background: var(--brass); color: var(--night); }
.btn-solid:hover { background: var(--brass-soft); }

.btn-ghost { border-color: var(--line); color: var(--smoke); }
.btn-ghost:hover { background: var(--smoke); color: var(--night); border-color: var(--smoke); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-soft);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), gap 0.4s var(--ease);
}
.textlink:hover { border-color: var(--brass); gap: 0.9rem; }

/* --------------------------------------------------------------- header */

.topbar {
  background: var(--night-2);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
  font-size: 0.63rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--smoke-dim);
  padding: 0.65rem 1rem;
}

/* The header scrolls away with the page, like the filter row — nothing
   is pinned over the photography anywhere on this site. */
.site-header {
  position: relative;
  z-index: 80;
  background: var(--night);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.15rem 0;
}

.logo { display: flex; align-items: center; gap: 0.85rem; }
/* The mark's artboard is wider than it is tall (the two rules break out to
   the left of the circle), so width and height are set separately. */
.logo svg { width: 46px; height: 36px; flex: none; color: var(--accent); transition: opacity 0.4s var(--ease); }
.logo:hover svg { opacity: 0.75; }
.logo-text { line-height: 1.05; }
.logo-text strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  font-weight: 400;
}
.logo-text small {
  font-size: 0.55rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--smoke-dim);
}

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke-dim);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.35s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--brass);
  transition: width 0.45s var(--ease);
}
.nav a:hover, .nav a.is-current { color: var(--smoke); }
.nav a:hover::after, .nav a.is-current::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.6rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--smoke);
  margin: 6px 0;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.95);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--night) 2%, rgba(11, 11, 12, 0.58) 45%, rgba(11, 11, 12, 0.28) 100%),
    linear-gradient(to right, rgba(11, 11, 12, 0.82), transparent 65%);
}
.hero-body { position: relative; width: var(--page); margin: 0 auto; padding: 0 0 5.5rem; }
.hero-body h1 { max-width: 14ch; }
.hero-body .lead { margin: 1.6rem 0 2.4rem; color: rgba(240, 239, 236, 0.84); }

.hero-page { min-height: 56vh; align-items: flex-end; }
.hero-page h1 { font-size: clamp(2.6rem, 6vw, 5rem); }

.scroll-cue {
  position: absolute;
  right: 0; bottom: 5.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--smoke-dim);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 60px;
  background: linear-gradient(var(--brass), transparent);
}

/* --------------------------------------------------------------- marquee */

.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--night-2);
  overflow: hidden;
  padding: 0.85rem 0;
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee-track span {
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--smoke-dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}
.marquee-track span::after { content: "\2022"; color: var(--brass); }
@keyframes slide { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- sections */

.section { padding: 8rem 0; }
.section-tight { padding: 5rem 0; }
.section-alt { background: var(--night-2); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-soft);
  margin-top: 2.5rem;
}
.stat { padding: 1.6rem 1.3rem; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--brass);
  line-height: 1;
}
.stat span {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--smoke-dim);
}

/* collection tiles */

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line-soft);
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.9);
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
}
.tile:hover img { transform: scale(1.07); filter: brightness(0.92) saturate(1); }
.tile-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.8rem;
  background: linear-gradient(to top, rgba(11, 11, 12, 0.94), transparent);
}
.tile-body small {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-soft);
}
.tile-body h3 { margin-top: 0.35rem; }

/* offer band */

.offer {
  background:
    radial-gradient(circle at 18% 50%, rgba(231, 226, 214, 0.10), transparent 55%),
    var(--night-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 6.5rem 0;
}
.offer-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 4rem; align-items: center; }
.offer-figure {
  font-family: var(--display);
  font-size: clamp(6rem, 16vw, 13rem);
  line-height: 0.82;
  color: var(--brass);
}
.offer-figure sup { font-size: 0.24em; letter-spacing: 0.1em; }

/* process */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-soft); }
.step { padding: 2.4rem 1.8rem 2.4rem 0; border-right: 1px solid var(--line-soft); }
.step:last-child { border-right: 0; padding-right: 0; }
.step span { font-family: var(--display); font-size: 1.6rem; color: var(--brass); }
.step h3 { font-size: 1.1rem; margin: 0.6rem 0 0.7rem; }
.step p { color: var(--smoke-dim); font-size: 0.9rem; margin: 0; }

/* feature banner */

.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.feature img { width: 100%; height: 100%; object-fit: cover; min-height: 440px; filter: brightness(0.86) saturate(0.95); }
.feature-body { background: var(--night-2); padding: 5rem; display: flex; flex-direction: column; justify-content: center; }

/* --------------------------------------------------------------- products */

/* The filter row scrolls away with the page — it must never float over
   the product photography. Do not give this position: sticky or fixed. */
.filters {
  position: relative;
  background: var(--night);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 1.4rem 0;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--smoke-dim);
  border-radius: 100px;
  padding: 0.55rem 1.2rem;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.chip:hover { color: var(--smoke); border-color: var(--smoke-dim); }
.chip.is-active { background: var(--brass); border-color: var(--brass); color: var(--night); }

.result-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2.5rem 0 1.6rem;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--smoke-dim);
  border-bottom: 1px solid var(--line-soft);
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem 1.8rem; padding-top: 2.6rem; }

.card { border: 1px solid var(--line-soft); background: var(--night-2); display: flex; flex-direction: column; transition: border-color 0.45s var(--ease), transform 0.45s var(--ease); }
.card:hover { border-color: var(--line); transform: translateY(-4px); }
.card[hidden] { display: none; }

.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; }
.card-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.88); transition: transform 1s var(--ease), filter 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); filter: brightness(1); }

.badge {
  position: absolute;
  top: 0.9rem;
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
}
.badge-offer { left: 0.9rem; background: var(--accent); color: var(--night); font-weight: 600; }
.badge-code { right: 0.9rem; background: rgba(11, 11, 12, 0.85); color: var(--accent-soft); border: 1px solid var(--line); }

.card-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.card-head h3 { font-size: 1.5rem; }
.card-head span { font-size: 0.6rem; letter-spacing: 0.18em; color: var(--smoke-dim); }
.card-type { color: var(--smoke-dim); font-size: 0.85rem; margin: 0.3rem 0 1.2rem; }

.specs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-soft); margin: 0 0 1rem; }
.specs > div { padding: 0.7rem 0.9rem; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.specs > div:nth-child(2n) { border-right: 0; }
.specs > div:nth-last-child(-n+2) { border-bottom: 0; }
.specs dt { font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--smoke-dim); }
.specs dd { margin: 0.2rem 0 0; font-size: 0.85rem; }

.card-material { font-size: 0.78rem; color: var(--smoke-dim); margin: 0 0 1.2rem; }

.price-label { font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--smoke-dim); }
.price-row { display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; margin: 0.4rem 0 0.8rem; }
.price-old { text-decoration: line-through; color: var(--smoke-dim); font-size: 0.9rem; }
.price-now { font-family: var(--display); font-size: 1.75rem; color: var(--brass); }
.price-off { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--smoke-dim); }

.disclaimer { font-size: 0.7rem; color: var(--smoke-dim); line-height: 1.5; margin: 0 0 1.3rem; }
.card-body .textlink { margin-top: auto; align-self: flex-start; }

.note {
  border-left: 2px solid var(--brass);
  padding: 1rem 0 1rem 1.4rem;
  margin: 3.5rem 0 0;
  color: var(--smoke-dim);
  font-size: 0.85rem;
}
.note strong { color: var(--smoke); }

/* --------------------------------------------------------------- catalogues */

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.cat-card { display: grid; grid-template-columns: 0.8fr 1fr; border: 1px solid var(--line-soft); background: var(--night-2); overflow: hidden; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; filter: brightness(0.8); transition: filter 0.6s var(--ease); }
.cat-card:hover img { filter: brightness(1); }
.cat-body { padding: 2rem; display: flex; flex-direction: column; }
.cat-body .num { font-family: var(--display); font-size: 2.2rem; color: var(--brass); line-height: 1; }
.cat-body h3 { margin: 0.5rem 0 0.6rem; }
.cat-body p { font-size: 0.85rem; color: var(--smoke-dim); }
.cat-meta { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--smoke-dim); margin-bottom: 1.2rem; }
.cat-body .textlink { margin-top: auto; align-self: flex-start; }

/* --------------------------------------------------------------- about */

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value { border: 1px solid var(--line-soft); padding: 2.2rem; background: var(--night-2); }
.value span { font-family: var(--display); font-size: 1.8rem; color: var(--brass); }
.value h3 { font-size: 1.15rem; margin: 0.5rem 0 0.7rem; }
.value p { color: var(--smoke-dim); font-size: 0.88rem; margin: 0; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.story img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: brightness(0.85); }

/* --------------------------------------------------------------- contact */

.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: start; }
.form-card { border: 1px solid var(--line-soft); background: var(--night-2); padding: 2.6rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-bottom: 1.8rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--smoke-dim); }
.field input, .field textarea {
  background: var(--night);
  border: 1px solid var(--line-soft);
  color: var(--smoke);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  transition: border-color 0.35s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
.field input::placeholder, .field textarea::placeholder { color: rgba(155, 163, 154, 0.55); }

.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.contact-list li { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-soft); }
.contact-list span { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--smoke-dim); }

.form-status { margin-top: 1.2rem; font-size: 0.85rem; color: var(--brass-soft); min-height: 1.3em; }

/* --------------------------------------------------------------- footer */

.site-footer { border-top: 1px solid var(--line-soft); background: var(--night-2); padding: 5rem 0 2.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
.footer-grid h4 { font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-soft); margin: 0 0 1.2rem; font-weight: 400; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.7rem; }
.footer-grid a { color: var(--smoke-dim); font-size: 0.88rem; transition: color 0.3s var(--ease); }
.footer-grid a:hover { color: var(--brass-soft); }
.footer-blurb { color: var(--smoke-dim); font-size: 0.88rem; max-width: 34ch; margin-top: 1.2rem; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid var(--line-soft);
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--smoke-dim);
}

/* --------------------------------------------------------------- whatsapp */

.wa { position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 0.9rem; }
.wa-panel {
  width: 290px; background: var(--night-2); border: 1px solid var(--line);
  padding: 1.6rem; position: relative;
  animation: rise 0.4s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.wa-panel h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.wa-panel p { font-size: 0.82rem; color: var(--smoke-dim); }
.wa-close { position: absolute; top: 0.6rem; right: 0.8rem; background: none; border: 0; font-size: 1.3rem; color: var(--smoke-dim); cursor: pointer; line-height: 1; }
.wa-options { display: flex; flex-direction: column; gap: 0.55rem; margin: 1.2rem 0 1rem; }
.wa-options a { display: flex; justify-content: space-between; border: 1px solid var(--line-soft); padding: 0.7rem 0.9rem; font-size: 0.78rem; transition: border-color 0.35s var(--ease), color 0.35s var(--ease); }
.wa-options a:hover { border-color: var(--brass); color: var(--brass-soft); }
.wa-panel small { font-size: 0.68rem; color: var(--smoke-dim); }
.wa-launch {
  display: flex; align-items: center; gap: 0.6rem;
  background: #1d5b3f; color: #fff; border: 0; cursor: pointer;
  padding: 0.85rem 1.3rem; border-radius: 100px;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}
.wa-dot { width: 7px; height: 7px; border-radius: 50%; background: #6ee7a8; }

/* --------------------------------------------------------------- lightbox */

.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(5, 5, 6, 0.95);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem;
  animation: fade 0.3s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; object-fit: contain; }
.lightbox-cap { position: absolute; bottom: 2rem; left: 0; right: 0; text-align: center; font-size: 0.65rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--smoke-dim); }
.lightbox-close { position: absolute; top: 1.6rem; right: 2rem; background: none; border: 0; font-size: 2rem; color: var(--smoke-dim); cursor: pointer; line-height: 1; }

/* --------------------------------------------------------------- reveal */

html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- responsive */

@media (max-width: 1050px) {
  :root { --page: calc(100vw - 44px); }
  .split, .feature, .story, .contact-grid, .offer-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .feature-body { padding: 3rem; }
  .grid, .tiles, .values { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid var(--line-soft); padding-right: 1.5rem; }
  .step:nth-child(2n) { border-right: 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 5.5rem 0; }
}

@media (max-width: 760px) {
  :root { --page: calc(100vw - 32px); }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0;
    background: var(--night);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    z-index: 70;
  }
  body.nav-open .nav { transform: none; }
  .nav a { font-size: 1rem; letter-spacing: 0.24em; }
  .grid, .tiles, .values, .steps, .field-grid { grid-template-columns: 1fr; }
  .step { border-right: 0; padding-right: 0; }
  .cat-card { grid-template-columns: 1fr; }
  .cat-card img { min-height: 200px; }
  .form-card { padding: 1.6rem; }
  .scroll-cue { display: none; }
  .hero-body { padding-bottom: 3.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa { right: 1rem; bottom: 1rem; }
  .wa-panel { width: min(290px, calc(100vw - 2rem)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
