/* ═══════════════════════════════════════════════════════════════════
   HÄRTER & OTTO MANAGEMENT HOLDING
   ho.css — shared design system for the multi-page editorial site
   Light · warm · serif-led · Hanseatic · zero shadows · square corners
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Tokens ───────────────────────────────────────────────────── */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAFAF7;
  --bg-tertiary: #F1EFE8;
  --bg-inverse: #0F0E0C;

  --text-primary: #1A1A17;
  --text-secondary: #57564F;
  --text-tertiary: #8A887F;
  --text-inverse: #FAFAF7;

  --border-default: #E3E1D8;
  --border-strong: #1A1A17;

  --state-hover: #000000;
  --state-error: #8B2E2E;

  --font-serif: "Spectral", "Source Serif Pro", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --gutter: 32px;
  --side: 48px;

  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);

  --rhythm: 140px;
}

/* ─── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 29px;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; margin: 0; color: var(--text-primary); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

/* ─── Type scale (desktop) ─────────────────────────────────────── */
.t-hero    { font-family: var(--font-serif); font-weight: 300; font-size: 84px; line-height: 92px; letter-spacing: -0.02em; }
.t-pageh1  { font-family: var(--font-serif); font-weight: 300; font-size: 64px; line-height: 72px; letter-spacing: -0.02em; }
.t-h2      { font-family: var(--font-serif); font-weight: 400; font-size: 44px; line-height: 52px; letter-spacing: -0.015em; }
.t-h3      { font-family: var(--font-serif); font-weight: 400; font-size: 26px; line-height: 34px; letter-spacing: -0.01em; }
.t-quote   { font-family: var(--font-serif); font-weight: 300; font-size: 34px; line-height: 46px; letter-spacing: -0.01em; }
.t-lead    { font-size: 19px; line-height: 32px; }
.t-body    { font-size: 17px; line-height: 29px; }
.t-small   { font-size: 15px; line-height: 24px; }
.t-caption { font-size: 13px; line-height: 20px; }
.t-label   { font-family: var(--font-sans); font-weight: 500; font-size: 11px; line-height: 16px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-tertiary); margin: 0; }
.t-numeral { font-family: var(--font-serif); font-weight: 300; font-size: 120px; line-height: 0.9; color: var(--text-tertiary); letter-spacing: -0.01em; }

.muted { color: var(--text-secondary); }
.tertiary { color: var(--text-tertiary); }

/* ─── Layout ───────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--side); padding-right: var(--side); }
.band { padding-top: var(--rhythm); padding-bottom: var(--rhythm); }
.band--white { background: var(--bg-primary); }
.band--off { background: var(--bg-secondary); }
.band--sand { background: var(--bg-tertiary); }

.rule { width: 100%; height: 1px; background: var(--border-default); border: 0; }
.rule--black { background: var(--border-strong); }

/* The drawing black rule (animates on reveal) */
.drawrule {
  height: 1px;
  background: var(--border-strong);
  transform: scaleX(0);
  transform-origin: left center;
}
.js-anim .reveal .drawrule { transform: scaleX(0); }
.js-anim .reveal.is-in .drawrule,
.drawrule.is-in { transform: scaleX(1); transition: transform 600ms var(--ease-reveal); }

/* ─── Links ────────────────────────────────────────────────────── */
.ln { position: relative; display: inline-block; cursor: pointer; padding-bottom: 1px; transition: color 100ms var(--ease-default); }
.ln::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left center;
  transition: transform 200ms var(--ease-default);
}
.ln:hover::after, .ln:focus-visible::after, .ln.is-active::after { transform: scaleX(1); }

.arrow-ln { display: inline-flex; align-items: center; gap: 10px; position: relative; cursor: pointer; width: fit-content; font-size: 15px; padding-bottom: 2px; }
.arrow-ln .arrow { display: inline-block; transition: transform 200ms var(--ease-default); }
.arrow-ln::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: calc(100% - 22px); height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left center;
  transition: transform 200ms var(--ease-default);
}
.arrow-ln:hover::after, .arrow-ln:focus-visible::after { transform: scaleX(1); }
.arrow-ln:hover .arrow, .arrow-ln:focus-visible .arrow { transform: translateX(4px); }

/* ─── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 18px 36px; border-radius: 0; cursor: pointer; transition: background-color 200ms var(--ease-default), color 200ms var(--ease-default), border-color 200ms var(--ease-default), opacity 200ms var(--ease-default);
  width: fit-content;
}
.btn--outline { background: transparent; border: 1px solid var(--border-strong); color: var(--text-primary); }
.btn--outline:hover { background: var(--border-strong); color: var(--text-inverse); }
.btn--solid { background: var(--border-strong); border: 1px solid var(--border-strong); color: var(--text-inverse); }
.btn--solid:hover { background: var(--state-hover); border-color: var(--state-hover); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ─── Focus ────────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--border-strong); outline-offset: 3px; }
.footer :focus-visible, .contact-band :focus-visible { outline-color: var(--text-inverse); }

/* ═══════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 80px;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color 200ms var(--ease-default), border-color 200ms var(--ease-default);
}
.header__in { height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--side); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header.is-solid { background: var(--bg-primary); border-bottom-color: var(--border-default); }

.wordmark { display: block; line-height: 1.05; }
.wordmark__name { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 16px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-primary); white-space: nowrap; transition: color 200ms var(--ease-default); }
.wordmark__sub { display: block; margin-top: 3px; font-family: var(--font-sans); font-weight: 400; font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-tertiary); white-space: nowrap; transition: color 200ms var(--ease-default); }

/* inverse header while transparent over a photo hero (home split with image) */
.header.is-over-photo:not(.is-solid) .wordmark__name { color: var(--text-inverse); }
.header.is-over-photo:not(.is-solid) .wordmark__sub { color: rgba(250,250,247,0.7); }
.header.is-over-photo:not(.is-solid) .nav__link { color: var(--text-inverse); }
.header.is-over-photo:not(.is-solid) .lang__de { color: var(--text-inverse); }
.header.is-over-photo:not(.is-solid) .lang__sep,
.header.is-over-photo:not(.is-solid) .lang__en { color: rgba(250,250,247,0.65); }
.header.is-over-photo:not(.is-solid) .burger span { background: var(--text-inverse); }

.nav { display: flex; gap: 30px; }
.nav__link { font-family: var(--font-sans); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; color: var(--text-primary); position: relative; padding-bottom: 2px; white-space: nowrap; transition: color 200ms var(--ease-default); }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform 200ms var(--ease-default); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.lang { display: flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: 0.12em; font-weight: 500; position: relative; }
.lang__de { color: var(--text-primary); font-weight: 600; }
.lang__sep { color: var(--text-tertiary); }
.lang__en { color: var(--text-tertiary); background: none; border: 0; padding: 0; cursor: pointer; font: inherit; letter-spacing: 0.12em; }
.lang__tip { position: absolute; top: calc(100% + 10px); right: 0; background: var(--bg-inverse); color: var(--text-inverse); padding: 8px 12px; font-size: 11px; letter-spacing: 0.03em; text-transform: none; font-weight: 400; white-space: nowrap; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity 150ms var(--ease-default), transform 150ms var(--ease-default); }
.lang__tip.is-visible { opacity: 1; transform: translateY(0); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 1px; background: var(--text-primary); transition: background-color 200ms var(--ease-default); }

/* mobile overlay */
.mnav { position: fixed; inset: 0; z-index: 200; background: var(--bg-secondary); display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease-default); }
.mnav.is-open { opacity: 1; pointer-events: auto; }
.mnav__head { height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid var(--border-default); }
.mnav__close { background: none; border: 0; cursor: pointer; font-family: var(--font-serif); font-weight: 300; font-size: 28px; line-height: 1; color: var(--text-primary); padding: 8px; }
.mnav__list { flex: 1; padding: 40px 24px; display: flex; flex-direction: column; gap: 28px; }
.mnav__link { font-family: var(--font-serif); font-weight: 400; font-size: 28px; line-height: 34px; letter-spacing: -0.01em; color: var(--text-primary); display: flex; align-items: center; gap: 16px; opacity: 0; transform: translateY(12px); }
.mnav.is-open .mnav__link { animation: navIn 380ms var(--ease-reveal) forwards; }
.mnav__link[aria-current="page"]::before { content: ""; width: 28px; height: 1px; background: var(--border-strong); display: inline-block; }
.mnav__lang { margin-top: auto; display: flex; gap: 12px; font-size: 11px; letter-spacing: 0.12em; font-weight: 500; color: var(--text-tertiary); }
.mnav__lang span:first-child { color: var(--text-primary); font-weight: 600; }
@keyframes navIn { to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════════════════════════
   IMAGE SLOTS (empty styled placeholders, hydrated by ho.js)
   ═══════════════════════════════════════════════════════════════════ */
.imgslot {
  position: relative; margin: 0; width: 100%;
  aspect-ratio: var(--ratio, 3 / 2);
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 32px; text-align: center; overflow: hidden;
}
.imgslot__glyph { width: 34px; height: 30px; color: var(--text-tertiary); opacity: 0.8; }
.imgslot__cap { font-family: var(--font-serif); font-style: italic; font-size: 15px; line-height: 22px; color: var(--text-secondary); max-width: 30ch; }
.imgslot__ratio { font-size: 12px; letter-spacing: 0.04em; color: var(--text-tertiary); }
.imgslot__tag { position: absolute; right: 10px; bottom: 8px; font-size: 9px; letter-spacing: 0.1em; color: var(--text-tertiary); text-transform: uppercase; }
/* real image, when dropped in */
.imgslot-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); display: block; }

/* ═══════════════════════════════════════════════════════════════════
   HERO (home split + home type + inner heros)
   ═══════════════════════════════════════════════════════════════════ */
.hero { padding-top: 160px; padding-bottom: var(--rhythm); position: relative; }
.hero__eyebrow { margin-bottom: 28px; }
.hero__sub { margin-top: 28px; max-width: 460px; color: var(--text-secondary); }
.hero__actions { margin-top: 44px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* home split */
.hero-split { min-height: 100vh; display: flex; align-items: center; }
.hero-split__grid { display: grid; grid-template-columns: 55fr 45fr; gap: 64px; align-items: center; width: 100%; }
.hero-split .imgslot { aspect-ratio: 4 / 5; }

/* home type variant */
.hero-type { min-height: 100vh; display: flex; align-items: center; }
.hero-type .hero__sub { max-width: 560px; }

/* scroll cue */
.cue { position: absolute; left: var(--side); bottom: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cue__label { writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 0.24em; text-transform: uppercase; font-size: 10px; font-weight: 500; color: var(--text-tertiary); }
.cue__line { width: 1px; height: 52px; background: var(--border-default); position: relative; overflow: hidden; }
.cue__line::after { content: ""; position: absolute; left: 0; top: -60%; width: 1px; height: 60%; background: var(--text-primary); animation: cue 2200ms var(--ease-default) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(220%); opacity: 0; } }

/* inner page hero (typographic) */
.pagehero { padding-top: 180px; padding-bottom: 100px; }
.pagehero__lead { margin-top: 32px; max-width: 620px; color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════════════
   EDITORIAL BLOCKS
   ═══════════════════════════════════════════════════════════════════ */
/* numeral + content split */
.folio { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: start; }
.folio__num { line-height: 0.8; }
.folio__body { max-width: 680px; }
.folio__body > * + * { margin-top: 28px; }
.foot-note { color: var(--text-tertiary); font-style: italic; }

.sec-head { margin-bottom: 64px; }
.sec-head .t-label { margin-bottom: 20px; }
.sec-head--center { text-align: center; }
.sec-head--center .intro { margin-left: auto; margin-right: auto; }
.intro { max-width: 640px; color: var(--text-secondary); margin-top: 28px; }

/* asymmetric two-up: text + image */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split2--img-right .split2__img { order: 2; }
.split2__body > * + * { margin-top: 28px; }
.split2__body .t-h2 + p { margin-top: 36px; }

/* principles 2x2 */
.principles { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; row-gap: 0; margin-top: 8px; }
.principle { padding: 48px 0; }
.principle .drawrule { margin-bottom: 36px; }
.principle__num { font-family: var(--font-serif); font-weight: 300; font-size: 72px; line-height: 1; color: var(--text-tertiary); }
.principle h3 { margin-top: 20px; }
.principle p { margin-top: 20px; max-width: 440px; color: var(--text-secondary); }
.principles-close { margin-top: 96px; text-align: center; }
.principles-close p { font-family: var(--font-serif); font-weight: 400; font-size: 26px; line-height: 34px; letter-spacing: -0.01em; }

/* portfolio preview cards */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.pcard { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border-default); background: var(--bg-primary); padding: 40px; min-height: 280px; transition: border-color 240ms var(--ease-default); }
.pcard::before { content: ""; position: absolute; top: -1px; left: -1px; width: calc(100% + 2px); height: 2px; background: var(--border-strong); transform: scaleX(0); transform-origin: left center; transition: transform 320ms var(--ease-default); }
.pcard:hover { border-color: var(--border-strong); }
.pcard:hover::before { transform: scaleX(1); }
.pcard .t-label { margin-bottom: 0; }
.pcard h3 { margin-top: 18px; }
.pcard__teaser { margin-top: 16px; color: var(--text-secondary); flex: 1; }
.pcard__more { margin-top: 28px; }

/* pull-quote band */
.quoteband { text-align: center; }
.quoteband .t-quote { max-width: 860px; margin: 0 auto; }
.quoteband__cta { margin-top: 40px; }

/* definition list (über-uns Struktur) */
.deflist { border-top: 1px solid var(--border-default); max-width: 900px; }
.defrow { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--border-default); align-items: baseline; }
.defrow dt { font-family: var(--font-sans); font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-tertiary); margin: 0; }
.defrow dd { margin: 0; font-size: 18px; line-height: 28px; }

/* text-mark logo rows */
.marks { display: flex; flex-wrap: wrap; align-items: center; row-gap: 12px; }
.mark { font-family: var(--font-serif); font-weight: 400; font-size: 20px; line-height: 32px; color: var(--text-tertiary); background: none; border: 0; padding: 0; cursor: default; transition: color 200ms var(--ease-default); }
.mark:hover, .mark:focus-visible { color: var(--text-primary); }
.mark-sep { margin: 0 32px; color: var(--border-default); font-size: 20px; -webkit-user-select: none; user-select: none; }
.std-group + .std-group { margin-top: 64px; }
.std-group .t-label { margin-bottom: 28px; }
.std-foot { margin-top: 28px; max-width: 720px; color: var(--text-tertiary); font-style: italic; }

/* portfolio full entries */
.entry { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.entry--img-right .entry__media { order: 2; }
.entry__num { margin-bottom: 16px; line-height: 0.8; }
.entry__body { max-width: 540px; }
.entry__role { margin-top: 6px; }
.entry__desc { margin-top: 28px; color: var(--text-secondary); }
.entry__facts { margin-top: 36px; border-top: 1px solid var(--border-default); }
.entry__facts .defrow { grid-template-columns: 200px 1fr; padding: 18px 0; }
.entry__facts dd { font-size: 16px; }
.entry__link { margin-top: 32px; }

/* profiles (gesellschafter) */
.profile { display: grid; grid-template-columns: 42fr 58fr; gap: 80px; align-items: start; }
.profile--img-right .profile__media { order: 2; }
.profile__media .imgslot { aspect-ratio: 4 / 5; }
.profile__name { font-family: var(--font-serif); font-weight: 400; font-size: 36px; line-height: 44px; letter-spacing: -0.01em; }
.profile__role { margin-top: 6px; font-size: 15px; font-style: italic; color: var(--text-secondary); }
.profile__body { margin-top: 32px; max-width: 520px; color: var(--text-secondary); }
.profile__creds { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-default); display: flex; flex-wrap: wrap; gap: 8px 0; font-size: 13px; letter-spacing: 0.04em; color: var(--text-tertiary); }
.profile__creds span:not(:last-child)::after { content: "·"; margin: 0 14px; color: var(--border-default); }
.profile + .profile { margin-top: 120px; }

/* wide quiet image with overlaid quote */
.wideimg { position: relative; }
.wideimg .imgslot { aspect-ratio: 21 / 9; }
.wideimg__quote { margin-top: 40px; text-align: center; }

/* ═══════════════════════════════════════════════════════════════════
   CONTACT PAGE + FORM
   ═══════════════════════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 26px; max-width: 540px; }
.field { display: flex; flex-direction: column; }
.field__control {
  width: 100%; background: transparent; border: 1px solid transparent; border-bottom: 1px solid var(--border-default);
  color: var(--text-primary); font-family: var(--font-sans); font-size: 17px; line-height: 28px; padding: 14px 0; border-radius: 0;
  transition: border-color 200ms var(--ease-default), padding 200ms var(--ease-default);
}
.field__control::placeholder { color: var(--text-tertiary); }
.field__control:focus { outline: none; border: 1px solid var(--border-strong); padding: 14px 14px; }
textarea.field__control { resize: vertical; min-height: 150px; }
select.field__control {
  appearance: none; -webkit-appearance: none; cursor: pointer; color: var(--text-tertiary);
  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.5L6 6.5L11 1.5' stroke='%231A1A17' stroke-width='1' fill='none'/></svg>");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 28px;
}
select.field__control.has-value { color: var(--text-primary); }
.field.is-error .field__control { border-color: var(--state-error); }
.field__error { display: none; margin-top: 8px; font-size: 13px; line-height: 20px; color: var(--state-error); }
.field.is-error .field__error { display: block; }

.file { border: 1px dashed var(--border-default); padding: 22px; text-align: center; color: var(--text-secondary); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; transition: border-color 200ms var(--ease-default), color 200ms var(--ease-default); }
.file:hover { border-color: var(--text-tertiary); color: var(--text-primary); }
.file input { display: none; }
.file.is-error { border-color: var(--state-error); }
.file__remove { background: none; border: 0; color: inherit; cursor: pointer; font-size: 16px; line-height: 1; padding: 4px; }

.consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; color: var(--text-secondary); font-size: 15px; line-height: 24px; }
.consent input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; cursor: pointer; }
.consent__box { flex: 0 0 auto; width: 18px; height: 18px; border: 1px solid var(--border-strong); margin-top: 3px; position: relative; transition: background-color 100ms var(--ease-default); }
.consent input:checked + .consent__box { background: var(--border-strong); }
.consent input:checked + .consent__box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--bg-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--border-strong); outline-offset: 2px; }
.field.is-error .consent__box { border-color: var(--state-error); }

.form-success { display: none; }
.form-success.is-visible { display: flex; flex-direction: column; justify-content: center; min-height: 320px; animation: fadeUp 600ms var(--ease-reveal) forwards; }
.form-success p { margin-top: 16px; max-width: 440px; color: var(--text-secondary); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* contact facts column */
.cfacts { display: flex; flex-direction: column; }
.cfacts .defrow { grid-template-columns: 160px 1fr; }
.cfacts a { color: var(--text-primary); }
.cfacts__img { margin-top: 48px; }
.cfacts__img .imgslot { aspect-ratio: 4 / 5; max-width: 360px; }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer { background: var(--bg-inverse); color: var(--text-inverse); padding-top: 120px; padding-bottom: 48px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer .wordmark__name { color: var(--text-inverse); }
.footer .wordmark__sub { color: rgba(250,250,247,0.5); }
.footer__brand { margin-top: 28px; max-width: 240px; font-size: 15px; line-height: 24px; color: rgba(250,250,247,0.6); }
.footer__col .t-label { color: rgba(250,250,247,0.5); margin-bottom: 16px; }
.footer__list { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 23px; color: rgba(250,250,247,0.75); }
.footer__list a { color: rgba(250,250,247,0.75); }
.footer__list .dim { color: rgba(250,250,247,0.42); }
.footer__bottom { margin-top: 80px; padding-top: 28px; border-top: 1px solid rgba(250,250,247,0.12); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; font-size: 13px; line-height: 20px; color: rgba(250,250,247,0.5); }
.footer__bottom .rule-line { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: rgba(250,250,247,0.7); }

/* ═══════════════════════════════════════════════════════════════════
   SCROLL REVEAL + PAGE TRANSITIONS (progressive enhancement)
   ═══════════════════════════════════════════════════════════════════ */
.js-anim .reveal { opacity: 0; transform: translateY(20px); }
.js-anim .reveal.is-in { animation: revealIn 700ms var(--ease-reveal) forwards; }
/* Non-animated fallback (used where animations can't run, e.g. throttled
   contexts) so content is never permanently hidden. */
.js-anim .reveal.is-shown { opacity: 1 !important; transform: none !important; animation: none !important; }
@keyframes revealIn { to { opacity: 1; transform: translateY(0); } }

/* page enter/leave. Enter is a translate-only settle (opacity stays 1) so
   the page is always visible even if a context throttles animations;
   leave is a JS-triggered fade. */
.js-anim .page { animation: pageIn 350ms var(--ease-reveal) both; }
.js-anim .page.is-leaving { animation: pageOut 280ms var(--ease-default) forwards; }
@keyframes pageIn { from { transform: translateY(12px); } to { transform: translateY(0); } }
@keyframes pageOut { to { opacity: 0; transform: translateY(-8px); } }

@view-transition { navigation: auto; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1279px) {
  :root { --rhythm: 120px; }
}
@media (max-width: 1023px) {
  :root { --side: 32px; }
  .nav { gap: 22px; }
  .folio { grid-template-columns: 140px 1fr; gap: 32px; }
  .t-numeral { font-size: 96px; }
}
@media (max-width: 767px) {
  :root { --side: 24px; --rhythm: 80px; }
  body { font-size: 16px; line-height: 26px; }

  .t-hero { font-size: 44px; line-height: 50px; }
  .t-pageh1 { font-size: 38px; line-height: 44px; }
  .t-h2 { font-size: 30px; line-height: 38px; }
  .t-h3 { font-size: 22px; line-height: 30px; }
  .t-quote { font-size: 26px; line-height: 36px; }
  .t-lead { font-size: 17px; line-height: 28px; }
  .t-caption { font-size: 12px; line-height: 18px; }
  .t-label { font-size: 10px; line-height: 14px; }
  .t-numeral { font-size: 72px; }

  .nav, .lang { display: none; }
  .burger { display: flex; }
  .header { height: 60px; }

  .hero { padding-top: 120px; }
  .hero-split, .hero-type { min-height: auto; padding-top: 116px; }
  .hero-split__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-split .imgslot { aspect-ratio: 3 / 2; }
  .pagehero { padding-top: 116px; padding-bottom: 64px; }
  .cue { display: none; }

  .folio { grid-template-columns: 1fr; gap: 16px; }
  .folio__num { font-size: 64px; }
  .principles { grid-template-columns: 1fr; }
  .principle { padding: 36px 0; }
  .principle .drawrule { margin-bottom: 24px; }
  .pcards { grid-template-columns: 1fr; }
  .split2 { grid-template-columns: 1fr; gap: 40px; }
  .split2--img-right .split2__img { order: 0; }
  .entry { grid-template-columns: 1fr; gap: 36px; }
  .entry--img-right .entry__media { order: 0; }
  .entry__facts .defrow, .defrow { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .profile { grid-template-columns: 1fr; gap: 32px; }
  .profile--img-right .profile__media { order: 0; }
  .profile + .profile { margin-top: 80px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .cfacts .defrow { grid-template-columns: 1fr; }
  .footer { padding-top: 80px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; }
  .mark-sep { margin: 0 16px; }
  .sec-head { margin-bottom: 48px; }
}
@media (max-width: 479px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ─── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js-anim .reveal, .js-anim .page { opacity: 1 !important; transform: none !important; }
  .drawrule { transform: scaleX(1) !important; }
  .cue__line::after { display: none; }
}
