/* ==========================================================================
   The Smart Rebellion — site styles
   Dark editorial. Warm near-black, off-white type, coral used sparingly.
   ========================================================================== */

:root {
  --bg: #12110f;
  --bg-raise: #1a1815;
  --bg-soft: #221f1b;
  --ink: #f1eee8;
  --ink-2: #cdc7bc;
  --muted: #9d968a;
  --line: rgba(241, 238, 232, 0.12);
  --line-strong: rgba(241, 238, 232, 0.26);
  --coral: #ff6a4d;
  --coral-hover: #ff8166;
  --coral-ink: #1a0c08;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(96px, 14vw, 200px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body, h1, h2, h3, h4, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

body {
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Film grain: barely there, just enough to warm the black. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--coral); color: var(--coral-ink); }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--coral); color: var(--coral-ink); padding: 10px 16px; border-radius: 999px;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--line { border-top: 1px solid var(--line); }
.section--raise { background: var(--bg-raise); }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: clamp(48px, 7vw, 96px);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 4fr 8fr; align-items: start; }
  .section-head > .eyebrow { margin-top: 0.9em; }
  .section-head--split { grid-template-columns: 7fr 5fr; }
}

/* ---------- Type ---------- */
h1, h2, h3, h4, .serif {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.02;
}
em, .italic { font-style: italic; }
h1 em, h2 em, h3 em, .serif em { color: var(--ink-2); }

.display { font-size: clamp(3.1rem, 9.2vw, 8.6rem); line-height: 0.92; letter-spacing: -0.025em; }
.h-xl { font-size: clamp(2.6rem, 6.8vw, 6.2rem); line-height: 0.96; letter-spacing: -0.02em; }
.h-lg { font-size: clamp(2.1rem, 4.4vw, 3.9rem); }
.h-md { font-size: clamp(1.7rem, 2.7vw, 2.4rem); line-height: 1.08; }
.h-sm { font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.15; }

.lead { font-size: clamp(1.12rem, 1.45vw, 1.28rem); line-height: 1.6; font-weight: 300; letter-spacing: 0.003em; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.accent { color: var(--coral); font-style: inherit; }
.stop { color: var(--coral); }

/* ---------- Buttons & links ---------- */
.btn {
  --arrow-shift: 0px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--coral-ink);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--coral-hover); --arrow-shift: 4px; }
.btn .arrow { transition: transform .35s var(--ease); transform: translateX(var(--arrow-shift)); }
.btn--sm { padding: 11px 18px; font-size: 0.9rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink-2); font-weight: 400; font-size: 0.95rem; letter-spacing: 0.01em;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease), color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow:hover { color: var(--ink); border-color: var(--coral); gap: 14px; }

.link-underline {
  color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .45s var(--ease), color .3s;
  padding-bottom: 2px;
}
.link-underline:hover { color: var(--coral); background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(18, 17, 15, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
/* backdrop-filter would trap the fixed mobile menu inside the header box */
.site-header.is-open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
}
.wordmark em { color: var(--ink-2); }
.wordmark--lg { font-size: clamp(2rem, 4vw, 3rem); }

.site-nav { display: none; gap: 34px; font-size: 0.93rem; }
.site-nav a { color: var(--muted); transition: color .25s; position: relative; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 4px; height: 4px;
  margin-left: -2px; border-radius: 50%; background: var(--coral);
}
.site-header__actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer;
}
.menu-toggle__icon, .menu-toggle__icon::before {
  display: block; width: 16px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease);
}
.menu-toggle__icon { position: relative; transform: translateY(-3px); }
.menu-toggle__icon::before { content: ""; position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: translateY(-6px) rotate(-90deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding-block: 32px 40px;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 3.4rem); color: var(--ink);
  line-height: 1.15; padding-block: 6px; border-bottom: 1px solid var(--line);
}
.mobile-menu__nav a[aria-current="page"] { font-style: italic; }
.mobile-menu__foot { color: var(--muted); padding-top: 32px; }

@media (min-width: 960px) {
  .site-nav { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}
@media (max-width: 380px) {
  .wordmark { font-size: 1.15rem; }
  .site-header .btn--sm { padding: 10px 14px; font-size: 0.85rem; }
}

/* ---------- Photos ---------- */
.photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ratio, 4 / 5);
  background:
    radial-gradient(90% 70% at 62% 28%, rgba(241, 238, 232, 0.09), transparent 60%),
    linear-gradient(180deg, #24211d 0%, #16140f 100%);
  isolation: isolate;
}
.photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 30%);
  filter: grayscale(1) contrast(1.06) brightness(0.96);
  z-index: 1;
}
.photo--warm img { filter: grayscale(0.85) sepia(0.14) contrast(1.02); }
.photo::after {
  /* cinematic falloff into the page */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(18, 17, 15, 0.55) 100%);
}
.photo__ph {
  position: absolute; left: 20px; bottom: 18px; z-index: 0;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.photo__cap { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(80px, 10vw, 140px); }
.hero__grid { display: grid; gap: 56px; }
.hero__title { margin-bottom: clamp(28px, 3vw, 40px); }
.hero__title .line { display: block; }
.hero__copy .lead { margin-bottom: 40px; }
.hero__cred {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 0.9rem; color: var(--muted); max-width: 34em;
}
.hero__cred strong { color: var(--ink); font-weight: 500; }
.hero__photo { --ratio: 4 / 5; max-width: 520px; }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr); align-items: end; gap: clamp(40px, 5vw, 88px); }
  .hero__photo { --ratio: 3 / 4; max-width: none; margin-bottom: 8px; }
}

/* ---------- Statement ---------- */
.statement__quote { max-width: none; }
.statement__body { display: grid; gap: 32px; margin-top: clamp(40px, 5vw, 72px); }
@media (min-width: 900px) {
  .statement__body { grid-template-columns: 4fr 8fr; }
  .statement__body p { grid-column: 2; max-width: 34em; }
}

/* ---------- Pillars ---------- */
.pillars { display: grid; gap: 64px; counter-reset: pillar; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 3.5vw, 56px); } }
.pillar { border-top: 1px solid var(--line-strong); padding-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.pillar__num { font-size: 0.8rem; color: var(--coral); letter-spacing: 0.1em; font-weight: 500; }
.pillar__when { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.3; color: var(--ink); }
.pillar__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.pillar__tags li {
  font-size: 0.78rem; color: var(--muted); padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px;
}

/* ---------- Audience split ---------- */
.split { display: grid; border-top: 1px solid var(--line-strong); }
.split__col { padding-block: 40px; display: flex; flex-direction: column; gap: 22px; }
.split__col + .split__col { border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split__col { padding: 56px clamp(24px, 4vw, 64px) 16px 0; }
  .split__col + .split__col { border-top: 0; border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 64px); padding-right: 0; }
}
.q-list { margin-top: 10px; display: grid; gap: 0; }
.q-list li {
  font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; color: var(--ink);
  padding-block: 14px; border-top: 1px solid var(--line);
}
.q-list li::before { content: "“"; color: var(--muted); }
.q-list li::after { content: "”"; color: var(--muted); }

/* ---------- Work list ---------- */
.work-list { border-bottom: 1px solid var(--line); }
.work-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 24px;
  padding-block: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
  position: relative;
  transition: padding .45s var(--ease);
}
.work-row__idx { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.1em; grid-column: 1 / -1; }
.work-row__title { font-size: clamp(2rem, 4.6vw, 3.9rem); transition: transform .5s var(--ease); }
.work-row__meta { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 10px; }
.work-row__desc { grid-column: 1 / -1; max-width: 38em; }
.work-row__arrow {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--ink); align-self: start;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s, transform .4s var(--ease);
}
.work-row:hover .work-row__title { transform: translateX(10px); }
.work-row:hover .work-row__arrow { background: var(--coral); border-color: var(--coral); color: var(--coral-ink); transform: rotate(-45deg); }
@media (min-width: 900px) {
  .work-row { grid-template-columns: 80px 6fr 5fr 60px; align-items: start; }
  .work-row__idx { grid-column: auto; padding-top: 16px; }
  .work-row__desc { grid-column: auto; padding-top: 12px; }
}

/* ---------- Beliefs ---------- */
.beliefs { counter-reset: belief; border-bottom: 1px solid var(--line); }
.belief {
  counter-increment: belief;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-block: clamp(26px, 3.4vw, 44px);
  border-top: 1px solid var(--line);
}
.belief::before {
  content: counter(belief, decimal-leading-zero);
  font-size: 0.8rem; letter-spacing: 0.1em; color: var(--muted);
  transition: color .3s;
}
.belief p { font-family: var(--serif); font-size: clamp(1.9rem, 4.3vw, 3.7rem); line-height: 1.04; color: var(--ink); letter-spacing: -0.015em; }
.belief p em { color: var(--muted); transition: color .5s var(--ease); }
.belief:hover::before { color: var(--coral); }
.belief:hover p em { color: var(--ink); }
@media (min-width: 900px) {
  .belief { grid-template-columns: 120px 1fr; align-items: baseline; }
}

/* ---------- Founder ---------- */
.founder { display: grid; gap: 56px; }
.founder__photo { --ratio: 4 / 5; max-width: 520px; }
.founder__text { display: flex; flex-direction: column; gap: 22px; max-width: 38em; }
.founder__text p { font-size: 1.08rem; }
.founder__text .founder__pull, .founder__pull { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem); color: var(--ink); line-height: 1.05; margin-block: 12px; }
.founder__text .founder__note, .founder__note {
  margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line);
  font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ink);
}
.founder__family { --ratio: 4 / 3; margin-top: 24px; max-width: 460px; }
@media (min-width: 960px) {
  .founder { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 112px); align-items: start; }
  .founder__photo { position: sticky; top: calc(var(--header-h) + 32px); max-width: none; }
}

/* ---------- Articles ---------- */
.articles { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
@media (min-width: 900px) { .articles { grid-template-columns: repeat(3, 1fr); } }
.article-card {
  display: flex; flex-direction: column; gap: 18px;
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--line);
  transition: background-color .4s var(--ease);
}
@media (min-width: 900px) {
  .article-card { padding: 36px clamp(20px, 2.4vw, 36px) 44px; border-bottom: 0; }
  .article-card + .article-card { border-left: 1px solid var(--line); }
  .article-card:first-child { padding-left: 0; }
  .article-card:last-child { padding-right: 0; }
}
.article-card__meta { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.article-card h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.08; transition: color .3s; }
.article-card p { color: var(--muted); }
.article-card .link-arrow { margin-top: auto; align-self: flex-start; font-size: 0.92rem; }
.article-card:hover h3 { color: var(--ink-2); }
.article-card:hover .link-arrow { border-color: var(--coral); gap: 14px; }

/* Thinking index: featured + list */
.feature-article {
  display: grid; gap: 28px; padding-block: 48px;
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line);
}
.feature-article h2 { transition: color .3s; }
.feature-article:hover h2 { color: var(--ink-2); }
@media (min-width: 900px) { .feature-article { grid-template-columns: 7fr 5fr; align-items: end; gap: 64px; } }

/* ---------- CTA ---------- */
.cta { padding-block: clamp(120px, 16vw, 220px); border-top: 1px solid var(--line); }
.cta__title { margin-bottom: 36px; }
.cta__text { max-width: 36em; margin-bottom: 44px; }
.cta__mail { margin-top: 28px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(56px, 9vw, 128px); padding-bottom: clamp(64px, 8vw, 112px); }
.page-hero .eyebrow { margin-bottom: 28px; }
.page-hero h1 { max-width: 15ch; margin-bottom: 32px; }
.page-hero--wide h1 { max-width: 18ch; }

/* ---------- Work page ---------- */
.area { display: grid; gap: 28px; padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-strong); }
.area:last-child { border-bottom: 1px solid var(--line); }
.area__for { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink); }
.area__list { display: flex; flex-wrap: wrap; gap: 8px; }
.area__list li { font-size: 0.8rem; color: var(--muted); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.area__body { display: flex; flex-direction: column; gap: 22px; max-width: 36em; }
@media (min-width: 900px) { .area { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- Case / article detail ---------- */
.case-meta {
  display: grid; gap: 24px; padding-block: 28px;
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line);
}
.case-meta dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.case-meta dd { color: var(--ink); }
@media (min-width: 760px) { .case-meta { grid-template-columns: repeat(3, 1fr); } }

.case-body { display: grid; gap: 0; }
.case-block { display: grid; gap: 18px; padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.case-block h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.case-block .prose { max-width: 40em; }
@media (min-width: 900px) { .case-block { grid-template-columns: 4fr 8fr; gap: 64px; } }

.prose { display: flex; flex-direction: column; gap: 1.2em; font-size: 1.09rem; line-height: 1.7; }
.prose--article { max-width: 40rem; margin-inline: auto; font-size: clamp(1.08rem, 1.3vw, 1.18rem); }
.prose h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-top: 1.1em; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul { display: grid; gap: 10px; }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1px; background: var(--coral); }
.prose blockquote {
  font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12; color: var(--ink);
  padding-left: 24px; border-left: 2px solid var(--coral); margin-block: 0.6em;
}
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: var(--coral); }

.article-head { max-width: 52rem; margin-inline: auto; text-align: left; }
.article-head .article-card__meta { margin-bottom: 28px; display: block; }
.article-head h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.98; margin-bottom: 28px; }
.article-foot { max-width: 40rem; margin: 72px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.byline { display: flex; align-items: center; gap: 14px; font-size: 0.92rem; color: var(--muted); }
.byline strong { color: var(--ink); font-weight: 500; }

.next-link { display: grid; gap: 10px; padding-block: 56px; border-top: 1px solid var(--line); }
.next-link span:last-child { transition: transform .5s var(--ease); }
.next-link:hover span:last-child { transform: translateX(10px); }

/* ---------- About ---------- */
.about-intro { display: grid; gap: 48px; }
.about-intro__photo { --ratio: 4 / 5; max-width: 520px; }
@media (min-width: 960px) { .about-intro { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 112px); align-items: start; } .about-intro__photo { max-width: none; } }

.cred { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.cred__item { display: grid; gap: 6px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.cred__item dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cred__item dd { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--ink); line-height: 1.15; }
@media (min-width: 760px) { .cred { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

.values { display: grid; gap: 48px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.value { border-top: 1px solid var(--line-strong); padding-top: 24px; display: grid; gap: 14px; align-content: start; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 64px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 120px); } }
.contact-aside { display: flex; flex-direction: column; gap: 28px; }
.contact-mail { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.6rem); color: var(--ink); line-height: 1.1; word-break: break-word; }
.contact-note { padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }

.form { display: grid; gap: 34px; }
.form__row { display: grid; gap: 34px; }
@media (min-width: 700px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 10px; }
.field label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field label span { text-transform: none; letter-spacing: 0; opacity: .8; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 10px 0 14px; color: var(--ink); font-size: 1.1rem; border-radius: 0;
  transition: border-color .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--coral); }
.field input::placeholder, .field textarea::placeholder { color: rgba(157, 150, 138, 0.6); }
.form__foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.hp { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(72px, 9vw, 120px); padding-bottom: 32px; background: var(--bg); }
.site-footer__top { display: grid; gap: 48px; padding-bottom: clamp(64px, 8vw, 104px); }
.site-footer__line { margin-top: 18px; color: var(--muted); }
.site-footer__nav { display: grid; gap: 10px; align-content: start; }
.site-footer__nav a { color: var(--ink-2); transition: color .25s; width: max-content; }
.site-footer__nav a:hover { color: var(--coral); }
.site-footer__contact { display: grid; gap: 14px; align-content: start; justify-items: start; font-size: 0.95rem; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted);
}
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 6fr 2fr 4fr; } }

/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .hero .line { overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.js .hero .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 120ms + 100ms); }
.js .hero.is-ready .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal, .js .hero .line > span { opacity: 1; transform: none; }
}
