/* ============================================================ tokens */
:root {
  --paper:      #EDE8E0;
  --paper-deep: #E4DDD2;
  --surface:    #FFFFFF;
  --on-dark:    #ECEEF0;
  --ink:        #1F2C35;
  --ink-deep:   #16212A;
  --steel:      #6B7680;
  --steel-soft: #8C959C;
  --line:       #D8D1C5;
  --line-soft:  #E5DFD5;
  --brass:      #8C7440;

  --lift-1: 0 1px 2px rgba(31,44,53,.05), 0 10px 20px -14px rgba(31,44,53,.35);
  --lift-2: 0 2px 4px rgba(31,44,53,.06), 0 22px 44px -22px rgba(31,44,53,.45);

  --step-0: 16px;
  --step-1: clamp(18px, 1.4vw, 20px);
  --step-2: clamp(22px, 2vw, 27px);
  --step-3: clamp(28px, 3.2vw, 40px);
  --step-4: clamp(36px, 5.2vw, 62px);

  --gut: clamp(20px, 4vw, 56px);
  --bay: clamp(64px, 8vw, 124px);
  --max: 1240px;

  --grain: 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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-variation-settings: "wdth" 100;
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-weight: 600;
  font-variation-settings: "wdth" 108;
  letter-spacing: -.026em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -.015em; line-height: 1.25; }

p { margin: 0; }

a { color: inherit; }

.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gut);
}

.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow svg {
  flex: none;
  color: var(--brass);
}

.lede { font-size: var(--step-1); color: var(--steel); max-width: 58ch; }

/* ============================================================ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  background: var(--ink);
  color: var(--on-dark);
  transition: background-color .2s cubic-bezier(.2,.7,.3,1),
              transform .2s cubic-bezier(.2,.7,.3,1),
              box-shadow .2s cubic-bezier(.2,.7,.3,1);
}

.btn:hover { background: var(--ink-deep); transform: translateY(-2px); box-shadow: var(--lift-2); }
.btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.btn:active { transform: translateY(0); }

.btn svg { transition: transform .2s cubic-bezier(.2,.7,.3,1); }
.btn:hover svg { transform: translateX(4px); }

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

.btn.light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn.light:hover { background: #FFFFFF; border-color: #FFFFFF; }

/* ============================================================ header */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.masthead .shell {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 82px;
}

.brand { flex: none; line-height: 0; }
.brand img { height: 46px; width: auto; }

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14.5px;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: var(--steel);
  padding-block: 6px;
  transition: color .2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.2,.7,.3,1);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }

.masthead .btn { padding: 11px 18px; font-size: 13.5px; }

@media (max-width: 900px) {
  /* the nav carries margin-left:auto on desktop; with it hidden the button
     needs to take over pushing itself to the right edge */
  .nav { display: none; }
  .masthead .shell { gap: 16px; }
  .masthead .btn { margin-left: auto; }
}

@media (max-width: 420px) {
  .masthead .shell { height: 74px; }
  .brand img { height: 38px; }
  .masthead .btn { padding: 10px 14px; font-size: 12.5px; }
}

/* ============================================================ hero */
.hero { padding-block: clamp(48px, 6vw, 92px) 0; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-copy h1 { max-width: 14ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-figure { position: relative; margin: 0; }

.hero-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: var(--lift-2);
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: linear-gradient(200deg, rgba(31,44,53,.10), rgba(31,44,53,0) 46%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ============================================================ fact strip */
.facts {
  margin-top: clamp(48px, 6vw, 84px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 26px 28px 26px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fact + .fact { border-left: 1px solid var(--line); padding-left: 28px; }

.fact dt {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--steel-soft);
}

.fact dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  font-variation-settings: "wdth" 104;
}

.fact dd .num { font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .facts { grid-template-columns: 1fr; }
  .fact { padding-left: 0 !important; border-left: 0 !important; }
  .fact + .fact { border-top: 1px solid var(--line); }
}

/* ============================================================ sections */
.bay { padding-block: var(--bay); }

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

.bay-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 62ch;
  margin-bottom: clamp(36px, 4vw, 58px);
}

.dark {
  background: var(--ink);
  color: var(--on-dark);
  position: relative;
  isolation: isolate;
}

.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: .16;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}

.dark .lede { color: #A7B2BA; }
.dark .eyebrow { color: #C2A96E; }
.dark .eyebrow svg { color: #C2A96E; }

/* ============================================================ product grid */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
}

.product {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .28s cubic-bezier(.2,.7,.3,1),
              box-shadow .28s cubic-bezier(.2,.7,.3,1),
              border-color .28s ease;
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--lift-2);
  border-color: var(--line);
}

.product img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.product .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }

.product h3 { display: flex; align-items: center; gap: 10px; }
.product h3 svg { flex: none; color: var(--brass); }

.product p { font-size: 14.5px; color: var(--steel); }

.formats {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--steel-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.formats li { white-space: nowrap; }
.formats li + li::before { content: "/ "; color: var(--line); }

@media (max-width: 1000px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .products { grid-template-columns: 1fr; } }

/* ============================================================ split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split .copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.split figure { margin: 0; }
.split img { width: 100%; border-radius: 3px; box-shadow: var(--lift-2); }

@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ============================================================ steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(237,232,224,.18);
}

.step {
  padding: 30px 26px 34px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step + .step { border-left: 1px solid rgba(237,232,224,.18); padding-left: 26px; }

.step .n {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .16em;
  color: #C2A96E;
}

.step h3 { font-size: 17px; }
.step p { font-size: 14px; color: #A7B2BA; }

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { padding-left: 0 !important; border-left: 0 !important; border-top: 1px solid rgba(237,232,224,.18); }
  .steps > .step:first-child { border-top: 0; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================ reasons */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(236px, 1fr));
  gap: clamp(20px, 2.2vw, 30px);
}

.reason {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 26px;
  border-top: 2px solid var(--ink);
}

.reason .ico { color: var(--ink); }
.reason p { font-size: 15px; color: var(--steel); }

@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }

/* ============================================================ closing cta */
.closer { text-align: left; }

.closer .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

@media (max-width: 860px) { .closer .shell { grid-template-columns: 1fr; } }

/* ============================================================ footer */
.foot {
  background: var(--ink-deep);
  color: #8C959C;
  font-size: 13.5px;
  padding-block: 54px 44px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.foot img { height: 42px; width: auto; margin-bottom: 18px; }
.foot h4 {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #6E7A84;
  margin: 0 0 14px;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; transition: color .2s ease; }
.foot a:hover { color: var(--on-dark); }

@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ============================================================ reveal */
.has-js .rise { opacity: 0; transform: translateY(18px); }
.has-js .rise.in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }

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

/* ---------- inner pages ---------- */
.pagetop { padding-top: clamp(40px, 5vw, 74px); }
.split.top { align-items: start; }

.formats.big { font-size: 12.5px; gap: 8px 14px; margin-top: 2px; }

.statline {
  display: flex; align-items: baseline; gap: 22px;
  margin-top: clamp(38px, 5vw, 62px); padding-top: 28px;
  border-top: 1px solid var(--line);
}
.statline .num {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: clamp(34px, 4.6vw, 54px); font-weight: 500; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; flex: none; color: var(--ink);
}
.statline strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.statline p { font-size: 14.5px; color: var(--steel); max-width: 52ch; }

.spectable { border: 1px solid var(--line); border-radius: 3px; background: var(--surface); overflow-x: auto; }
.spectable table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spectable caption {
  text-align: left; padding: 16px 20px 14px;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-soft);
  border-bottom: 1px solid var(--line-soft);
}
.spectable th, .spectable td { padding: 13px 20px; text-align: left; vertical-align: top; }
.spectable th { font-weight: 600; width: 42%; white-space: nowrap; }
.spectable td { color: var(--steel); }
.spectable tbody tr + tr { border-top: 1px solid var(--line-soft); }

.note {
  font-size: 14px; color: var(--steel); border-left: 2px solid var(--brass);
  padding-left: 16px; max-width: 54ch;
}

.crosslinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px;
  background: rgba(237,232,224,.16); border: 1px solid rgba(237,232,224,.16); border-radius: 3px; }
.crosslinks a {
  display: flex; align-items: center; gap: 13px; padding: 15px 18px;
  background: var(--ink); color: var(--on-dark); text-decoration: none; font-size: 15px;
  transition: background-color .2s ease, padding-left .2s ease;
}
.crosslinks a:hover { background: var(--ink-deep); padding-left: 23px; }
.crosslinks svg { flex: none; color: #C2A96E; }

.prose { max-width: 68ch; display: grid; gap: 14px; }
.prose h2 { font-size: var(--step-2); margin-top: clamp(30px, 3.4vw, 44px); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--steel); font-size: 16.5px; }

/* ---------- justified body copy (Efe, 19 Agu) ---------- */
.lede,
.prose p,
.product p,
.step p,
.reason p,
.statline p,
.foot p,
.formnote,
.note,
.spectable td {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
