/* ==========================================================================
   YOMAI — YOMAI RUN. EVERY RUN MATTERS.
   Design system: editorial minimal, hairline grid, oversized display type.
   ========================================================================== */

:root {
  --ink: #111111;
  --paper: #FFFFFF;
  --stone: #F5F5F3;
  --line: #E4E4E0;
  --line-dark: rgba(255, 255, 255, 0.18);
  --accent: #F05A28;
  --muted: #6F6F6B;
  --wrap-max: 1520px;
  --pad: clamp(20px, 4.6vw, 72px);
  --header-h: 64px;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "Roboto Mono", Menlo, Consolas, monospace;
}

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

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

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

.wrap { max-width: var(--wrap-max); margin-inline: auto; padding-inline: var(--pad); }

/* ---------------------------------------------------------------- type ---- */

.d1, .d2, .d3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.94;
}
.d1 { font-size: clamp(3.4rem, 9.6vw, 9.5rem); }
.d2 { font-size: clamp(2.4rem, 6vw, 5.4rem); }
.d3 { font-size: clamp(1.7rem, 3.4vw, 3rem); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 62ch;
  font-weight: 400;
}
.on-dark .lede { color: rgba(255, 255, 255, 0.72); }

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker .idx { font-family: var(--mono); font-weight: 500; }
.kicker::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: 0.4; }
.on-dark .kicker { color: rgba(255, 255, 255, 0.66); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: background 0.25s, color 0.25s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: transparent; color: var(--accent); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  transition: color 0.25s, border-color 0.25s, gap 0.25s;
}
.link-arrow::after { content: "→"; font-size: 14px; }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); gap: 18px; }
.on-dark .link-arrow { border-color: rgba(255, 255, 255, 0.85); }
.on-dark .link-arrow:hover { color: var(--accent); border-color: var(--accent); }

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 300;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s;
}
.site-header .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid { background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-color: var(--line); }

.logo {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  line-height: 1;
  padding-right: 0.34em; /* balance tracking */
}
.logo img { height: 26px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-desktop a {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
  color: var(--ink);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: inline-flex; }
.header-cta .btn { padding: 11px 20px; }

/* header over dark hero */
.site-header.on-hero:not(.is-solid) { color: #fff; }
.site-header.on-hero:not(.is-solid) .nav-desktop a { color: #fff; }
.site-header.on-hero:not(.is-solid) .logo img { filter: invert(1); }
.site-header.on-hero:not(.is-solid) .header-cta { background: #fff; color: var(--ink); border-color: #fff; }
.site-header.on-hero:not(.is-solid) .header-cta:hover { background: transparent; color: #fff; }

/* burger */
.burger { display: none; width: 40px; height: 40px; position: relative; z-index: 210; }
.burger span {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: currentColor; transition: transform 0.3s, top 0.3s, opacity 0.3s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--header-h) var(--pad) var(--pad);
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
}
.nav-mobile.is-open { transform: translateY(0); }

body.nav-open .site-header { background: transparent; border-color: transparent; color: #fff; }
body.nav-open .site-header .logo img { filter: invert(1); }
body.nav-open { overflow: hidden; }
.nav-mobile a {
  font-size: clamp(2rem, 9vw, 3.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.28;
  border-bottom: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center;
}
.nav-mobile a .no { font-family: var(--mono); font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; }
.nav-mobile a:hover { color: var(--accent); }

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

@media (max-width: 1080px) {
  .nav-desktop, .header-cta { display: none; }
  .burger { display: block; }
}

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__media, .hero__media img, .hero__media source { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(104deg, rgba(12,12,12,0.62) 0%, rgba(12,12,12,0.22) 38%, rgba(12,12,12,0) 62%),
    linear-gradient(180deg, rgba(17,17,17,0.34) 0%, rgba(17,17,17,0.02) 38%, rgba(17,17,17,0.66) 100%);
}
.hero__content { position: relative; z-index: 2; width: 100%; padding-block: clamp(72px, 12vh, 140px) clamp(48px, 8vh, 96px); }
.hero__content .d1 { font-size: clamp(2.6rem, 7.7vw, 7.4rem); letter-spacing: -0.035em; }
.hero__content .d1 span { display: block; }
.hero__lede { margin-top: 26px; max-width: 46ch; color: rgba(255,255,255,0.85); font-size: clamp(1rem, 1.4vw, 1.25rem); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  position: absolute; z-index: 2; right: var(--pad); bottom: clamp(48px, 8vh, 96px);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.75); text-align: right; line-height: 2;
  display: none;
}
@media (min-width: 900px) { .hero__meta { display: block; } }

/* mobile hero: art-directed stack (image above, type block below) */
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; background: var(--ink); }
  .hero__media { position: relative; display: block; height: 52svh; }
  .hero__media img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: 52% 32%; }
  .hero::after {
    inset: 0 0 auto 0;
    height: 52svh;
    background: linear-gradient(180deg, rgba(17,17,17,0.34) 0%, rgba(17,17,17,0) 46%, rgba(17,17,17,0.42) 100%);
  }
  .hero__content { padding-block: 30px 40px; }
  .hero__content .d1 { font-size: clamp(2.1rem, 10.2vw, 3.4rem); line-height: 1.02; letter-spacing: -0.03em; }
  .hero__lede { font-size: 0.95rem; margin-top: 16px; line-height: 1.6; }
  .hero__actions { margin-top: 24px; gap: 10px; }
  .hero__actions .btn { flex: 1 1 46%; justify-content: center; padding: 14px 12px; font-size: 11px; letter-spacing: 0.1em; }
  .page-hero { min-height: 46svh; }
  .page-hero__content { padding-block: 96px 34px; }
}

/* page hero (sub pages) */
.page-hero {
  position: relative;
  min-height: 62svh;
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,0.34), rgba(17,17,17,0.10) 46%, rgba(17,17,17,0.66)); }
.page-hero__content { position: relative; z-index: 2; padding-block: 110px 56px; }
.page-hero__content .lede { margin-top: 20px; max-width: 56ch; }

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

.section { padding-block: clamp(72px, 10vw, 140px); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: #fff; }
.rule-top { border-top: 1px solid var(--line); }
.section--dark.rule-top, .rule-top-dark { border-top-color: var(--line-dark); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.sec-head .d2 { max-width: 20ch; }
.sec-head .side { justify-self: end; max-width: 44ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head .side { justify-self: start; } }

/* philosophy split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.split__media { position: relative; }
.split__media img { width: 100%; height: auto; }
.split__media .tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink); color: #fff;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  padding: 10px 16px;
}
.split__body .lede { margin-top: 28px; }
.split__body .link-arrow { margin-top: 36px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink); color: #fff; }
.marquee__track {
  display: flex; width: max-content;
  animation: mq 38s linear infinite;
  padding-block: 18px;
}
.marquee__track span {
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  padding-inline: 34px; white-space: nowrap;
}
.marquee__track span i { font-style: normal; color: var(--accent); padding-right: 68px; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* collections */
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.tile { position: relative; display: block; border-left: 1px solid var(--line); }
.cols-4 .tile:first-child { border-left: 0; }
.tile__num {
  position: absolute; top: 18px; left: 20px; z-index: 3;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.tile__name {
  position: absolute; z-index: 3; left: 20px; bottom: 18px; right: 20px;
  color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  display: flex; justify-content: space-between; align-items: center;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.tile__name::after { content: "→"; transition: transform 0.3s; }
.tile:hover .tile__name::after { transform: translateX(6px); }
.tile__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1); }
.tile:hover .tile__media img { transform: scale(1.045); }
@media (max-width: 980px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .tile { border-left: 0; border-top: 1px solid var(--line); }
  .tile:nth-child(even) { border-left: 1px solid var(--line); }
}

/* design pillars (home) */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 34px 28px 44px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar:first-child { border-left: 0; }
.pillar .no { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); }
.pillar h3 { margin-top: 46px; font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.pillar p { margin-top: 12px; font-size: 0.95rem; color: var(--muted); line-height: 1.65; }
@media (max-width: 980px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(odd) { border-left: 0; }
  .pillar h3 { margin-top: 28px; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: 0; }
}

/* lifestyle collage */
.colla { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: 18px; }
.colla figure { position: relative; overflow: hidden; background: var(--stone); }
.colla figure::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.55) 100%);
  pointer-events: none;
}
.colla img { width: 100%; height: 100%; object-fit: cover; }
.colla .a { grid-row: 1 / 3; aspect-ratio: auto; min-height: 520px; }
.colla .b { aspect-ratio: 16 / 10; }
.colla .c { aspect-ratio: 16 / 10; }
.colla figcaption {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
@media (max-width: 760px) { .colla { grid-template-columns: 1fr; } .colla .a { grid-row: auto; min-height: 0; aspect-ratio: 4 / 5; } }

/* statement band */
.statement { text-align: center; }
.statement .d2 { max-width: 22ch; margin-inline: auto; }
.statement .lede { margin: 30px auto 0; text-align: center; }
.statement .link-arrow { margin-top: 38px; }

/* big cta band */
.cta-band { text-align: center; padding-block: clamp(90px, 13vw, 180px); }
.cta-band .d1 { font-size: clamp(2.8rem, 8vw, 7.6rem); }
.cta-band .btn { margin-top: 44px; }
.cta-band .lede { margin: 26px auto 0; }

/* footer */
.site-footer { background: var(--ink); color: #fff; overflow: hidden; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: 72px 56px;
}
.footer-grid h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { font-size: 14.5px; color: rgba(255,255,255,0.85); }
.footer-grid ul a:hover { color: var(--accent); }
.footer-brand p { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,0.6); max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.55);
}
.footer-word {
  font-size: clamp(3.4rem, 18vw, 14rem);
  font-weight: 800; letter-spacing: 0; line-height: 0.95;
  text-transform: uppercase; color: rgba(255,255,255,0.08);
  padding-block: 14px 0; user-select: none; white-space: nowrap;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* -------------------------------------------------------- page: catalog --- */

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  position: sticky; top: var(--header-h);
  background: rgba(255,255,255,0.94); backdrop-filter: blur(10px);
  z-index: 50;
}
.chip {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid var(--line);
  color: var(--muted); transition: all 0.25s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .count { font-family: var(--mono); font-weight: 400; opacity: 0.65; margin-left: 6px; font-size: 10.5px; }

.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 0; row-gap: 0;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.product {
  background: var(--paper);
  padding-bottom: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product__media {
  aspect-ratio: 4 / 5; overflow: hidden; position: relative;
  background: var(--stone);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2,0.6,0.2,1); }
.product:hover .product__media img { transform: scale(1.04); }
.product__tag {
  position: absolute; top: 14px; left: 16px;
  background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 12px;
}
.product__body { padding: 22px 24px 0; }
.product__cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.product__name { margin-top: 8px; font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
.product__feats { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.product__feats span {
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--muted); padding: 5px 10px;
}
.product__meta { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 980px) { .catalog { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .catalog { grid-template-columns: 1fr; } }
.product.is-hidden, .catalog__spacer.is-hidden { display: none; }

.catalog__spacer {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #FAFAF8;
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 320px;
  padding: 24px;
  gap: 8px;
}
.catalog__spacer span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: #b3b3ad; line-height: 1.9;
}

/* placeholder image slot */
.ph {
  width: 100%; height: 100%;
  display: grid; place-content: center; gap: 10px; text-align: center;
  background: #F8F8F6;
  border: 1px dashed #D8D8D3;
}
.ph__mark { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.ph__spec { font-family: var(--mono); font-size: 10.5px; color: #9a9a95; letter-spacing: 0.06em; }
.ph__file {
  font-family: var(--mono); font-size: 10px; color: #b0b0aa;
  letter-spacing: 0.02em; margin-top: 4px; padding-inline: 6px;
  overflow-wrap: break-word; max-width: 34ch; margin-inline: auto;
}
.ph--dark .ph__file { color: rgba(255, 255, 255, 0.32); }
.ph__accent { width: 26px; height: 3px; background: var(--accent); margin-inline: auto; }

.ph--dark {
  background: #1B1B1A;
  border-color: #35352F;
}
.ph--dark .ph__mark { color: rgba(255, 255, 255, 0.78); }
.ph--dark .ph__spec { color: rgba(255, 255, 255, 0.4); }
.ph--light { background: var(--stone); }

/* ------------------------------------------------------ page: technology -- */

.tech-index { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.tech-index a {
  padding: 26px 24px; border-left: 1px solid var(--line);
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; gap: 14px; align-items: baseline;
}
.tech-index a:first-child { border-left: 0; }
.tech-index a .no { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.tech-index a:hover { background: var(--stone); }
@media (max-width: 860px) { .tech-index { grid-template-columns: repeat(2, 1fr); } .tech-index a:nth-child(odd) { border-left: 0; } }

.tech-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border-bottom: 1px solid var(--line);
}
.tech-block__media { position: relative; overflow: hidden; background: var(--ink); }
.tech-block__media img { width: 100%; height: 100%; object-fit: cover; }
.tech-block__body {
  padding: clamp(40px, 6vw, 96px);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--stone);
}
.tech-block:nth-child(even) .tech-block__media { order: 2; }
.tech-block__body .no { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--accent); }
.tech-block__body .d3 { margin-top: 20px; }
.tech-block__body p { margin-top: 22px; color: var(--muted); max-width: 52ch; }
.tech-block__body ul { margin-top: 26px; }
.tech-block__body ul li {
  padding: 13px 0; border-top: 1px solid #dcdcd7;
  font-size: 13.5px; letter-spacing: 0.04em; color: var(--ink);
  display: flex; gap: 12px;
}
.tech-block__body ul li::before { content: "—"; color: var(--accent); }
@media (max-width: 860px) {
  .tech-block { grid-template-columns: 1fr; min-height: 0; }
  .tech-block__media { aspect-ratio: 4 / 3; }
  .tech-block:nth-child(even) .tech-block__media { order: 0; }
}

/* --------------------------------------------------------- page: story ---- */

.story-lede {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1.35; font-weight: 500; letter-spacing: -0.015em;
  max-width: 30ch;
}
.story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.story-grid .prose { max-width: 58ch; }
.story-grid .prose p { margin-bottom: 22px; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.story-grid .prose p strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.value { padding: 36px 30px; border-left: 1px solid var(--line); }
.value:first-child { border-left: 0; }
.value .no { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.14em; }
.value h3 { margin-top: 40px; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.05em; }
.value p { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } .value { border-left: 0; border-bottom: 1px solid var(--line); } }

/* -------------------------------------------------------- page: journal --- */

.journal-list { border-top: 1px solid var(--line); }
.journal-item {
  display: grid;
  grid-template-columns: 320px 1fr auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: 36px;
  border-bottom: 1px solid var(--line);
}
.journal-item__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.journal-item__media img, .journal-item__media .ph { width: 100%; height: 100%; object-fit: cover; }
.journal-item h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.journal-item .meta { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.journal-item .excerpt { margin-top: 14px; color: var(--muted); max-width: 56ch; }
.journal-item .link-arrow { justify-self: end; }
.journal-item:hover h2 { color: var(--accent); }
@media (max-width: 860px) {
  .journal-item { grid-template-columns: 1fr; }
  .journal-item .link-arrow { justify-self: start; }
}

/* article */
.article { max-width: 760px; margin-inline: auto; }
.article .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: flex; gap: 18px; }
.article h1 { margin-top: 22px; }
.article h1.d2 { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.02; }
.article-hero { width: 100%; height: clamp(300px, 40vw, 600px); object-fit: cover; }
.article__body { margin-top: 44px; }
.article__body p { margin-bottom: 26px; font-size: 1.08rem; line-height: 1.8; color: #2c2c2a; }
.article__body h2 {
  margin: 48px 0 20px;
  font-size: 1.45rem; font-weight: 700; letter-spacing: -0.01em;
}
.article__body ul { margin: 0 0 26px 0; }
.article__body ul li {
  padding: 12px 0 12px 26px; border-top: 1px solid var(--line);
  position: relative; color: #2c2c2a;
}
.article__body ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.article__body .pull {
  margin: 44px 0; padding-left: 28px;
  border-left: 3px solid var(--accent);
  font-size: 1.5rem; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em;
}

/* -------------------------------------------------------- page: contact --- */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.field { display: grid; gap: 8px; margin-bottom: 26px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field label .opt { font-weight: 400; letter-spacing: 0.08em; text-transform: none; color: #9a9a95; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.25s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 170px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.contact-aside { position: sticky; top: 110px; }
.contact-aside dl { margin-top: 34px; }
.contact-aside dt { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 26px; }
.contact-aside dd { margin-top: 6px; font-size: 16px; font-weight: 500; }
.contact-aside dd .tbc { color: #9a9a95; font-weight: 400; font-style: italic; }

.form-note { font-size: 13px; color: var(--muted); margin-top: 18px; }
.form-status { display: none; margin-top: 22px; padding: 16px 20px; border: 1px solid var(--ink); font-size: 14px; }
.form-status.is-ok { display: block; border-color: #2e7d32; color: #2e7d32; }
.form-status.is-err { display: block; border-color: var(--accent); color: var(--accent); }

/* --------------------------------------------------------------- misc ----- */

.eyebrow-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 26px; gap: 20px; }
.eyebrow-row .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.note-strip {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--stone);
  padding: 18px 24px;
  font-size: 13.5px; color: var(--muted);
  max-width: 860px;
}
.note-strip strong { color: var(--ink); font-weight: 600; }

.notice-bar { background: var(--accent); color: #fff; text-align: center; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 9px 16px; font-weight: 600; }

.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

::selection { background: var(--accent); color: #fff; }

/* -------------------------------------------------- contact direct lines */
.ct-direct__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 48px);
  margin-top: clamp(28px, 3.6vw, 48px);
}
.ct-direct__item h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.ct-direct__item a,
.ct-direct__addr {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 18px;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.25s;
}
.ct-direct__item a:hover { color: var(--accent); }
.ct-direct__item svg {
  width: 17px; height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ct-direct__addr { color: var(--ink); font-weight: 400; }
@media (max-width: 860px) { .ct-direct__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ct-direct__grid { grid-template-columns: 1fr; } }
