/* ==========================================================================
   Albine — communication studio
   Plain CSS. Tokens, type, layout, components.
   ========================================================================== */

:root {
  --paper: #f5f2ea;
  --paper-2: #ece7dc;
  --paper-3: #e3ddcf;
  --ink: #181611;
  --ink-2: #322e26;
  --muted: #6c6559;
  --muted-2: #948c7d;
  --line: #d7d0c1;
  --line-2: #cfc7b6;
  --accent: #a33d2b;
  --accent-2: #7f2f21;
  --serif: "Iowan Old Style", "Charter", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

::selection {
  background: rgba(163, 61, 43, 0.16);
}

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

h1 {
  font-size: 82px;
  letter-spacing: -0.03em;
  line-height: 0.99;
}

h2 {
  font-size: 44px;
  line-height: 1.06;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

p {
  margin: 0 0 1.1em;
}

ul,
ol {
  margin: 0 0 1.2em;
  padding-left: 1.15em;
}

li {
  margin-bottom: 0.35em;
}

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

.wrap {
  width: min(var(--wrap), 100% - 64px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
  color: var(--paper);
}

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

/* ---------- Type helpers ---------- */
.kicker {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.kicker b {
  color: var(--accent);
  font-weight: 500;
}

.lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}

.serif {
  font-family: var(--serif);
}

.mono {
  font-family: var(--mono);
}

.muted {
  color: var(--muted);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 234, 0.9);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.header-side {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: none;
}

.header-mail {
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  white-space: nowrap;
}

.header-mail:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--solid {
  background: var(--ink);
  color: var(--paper);
}

.btn--solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.btn--on-dark {
  border-color: rgba(245, 242, 234, 0.35);
  color: var(--paper);
}

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

.btn--sm {
  padding: 12px 18px;
  font-size: 11px;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---------- Hero ---------- */
.hero {
  padding: 68px 0 0;
}

.hero__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.hero h1 {
  max-width: 17ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 64px;
  margin-top: 52px;
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
}

.hero__lead {
  font-size: 21px;
  line-height: 1.58;
  color: var(--ink-2);
  max-width: 54ch;
  margin: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  margin-top: 32px;
}

.hero__aside {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  font-size: 14px;
  color: var(--muted);
  align-self: end;
}

.hero__aside p {
  margin: 0 0 16px;
}

.hero__aside strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 8px;
}

.hero__aside .hero__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  background: var(--paper-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  flex: none;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

.marquee__item i {
  font-style: normal;
  color: var(--accent);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.section--flush {
  padding-top: 0;
}

.section--paper {
  background: var(--paper-2);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 54px;
}

.section-head h2 {
  max-width: 20ch;
}

.section-head p.lede {
  margin: 18px 0 0;
  font-size: 18px;
  color: var(--muted);
}

.section--ink .section-head p.lede {
  color: #b9b1a2;
}

.section--ink .kicker {
  color: #a49b8b;
}

.section--ink h2 {
  color: var(--paper);
}

.section-head .kicker {
  padding-top: 6px;
}

.section-head__aside {
  font-size: 14px;
  color: var(--muted);
  max-width: 42ch;
  margin-top: 18px;
}

/* ---------- Cards (services) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.card {
  border-top: 1px solid var(--ink);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
}

.card--soft {
  border-top-color: var(--line-2);
}

.card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 26px;
}

.card h3 {
  font-size: 27px;
  margin-bottom: 12px;
}

.card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.card .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Work rows ---------- */
.work-list {
  border-top: 1px solid var(--line);
}

.work-row {
  display: grid;
  grid-template-columns: 190px 1fr 90px 24px;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.work-row:hover {
  color: var(--ink);
}

.work-row__sector {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-row h3 {
  font-size: 28px;
  margin-bottom: 4px;
  transition: color 0.18s var(--ease);
}

.work-row p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 62ch;
}

.work-row:hover h3 {
  color: var(--accent);
}

.work-row__year {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  text-align: right;
}

.work-row__arrow {
  color: var(--accent);
  display: flex;
  justify-content: flex-end;
}

.work-row__arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}

.work-row:hover .work-row__arrow svg {
  transform: translate(2px, -2px);
}

/* ---------- Quote ---------- */
.quote-section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.quote {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 64px;
  align-items: end;
}

.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.quote blockquote::before {
  content: "“";
  display: block;
  color: var(--accent);
  font-size: 64px;
  line-height: 0.6;
  margin-bottom: 18px;
}

.quote figcaption {
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.quote figcaption strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

/* ---------- Points ---------- */
.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.point__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 22px;
}

.point h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.point p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.note-line {
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Insights ---------- */
.insight-list {
  border-top: 1px solid var(--line);
}

.insight {
  display: grid;
  grid-template-columns: 150px 1fr 130px;
  gap: 36px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.insight:hover {
  color: var(--ink);
}

.insight__date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-top: 6px;
}

.insight h3 {
  font-size: 30px;
  margin-bottom: 6px;
  transition: color 0.18s var(--ease);
}

.insight p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 64ch;
}

.insight:hover h3 {
  color: var(--accent);
}

.insight__meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  text-align: right;
  padding-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: 84px 0;
  border-top: 1px solid var(--ink);
}

.cta-band .wrap {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: end;
}

.cta-band h2 {
  color: var(--paper);
  font-size: 54px;
  max-width: 14ch;
}

.cta-band h2 em {
  font-style: italic;
  color: #d98a72;
}

.cta-band p {
  color: #b8b0a1;
  font-size: 16px;
  margin: 18px 0 0;
  max-width: 44ch;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.cta-mail {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 242, 234, 0.4);
  padding-bottom: 3px;
}

.cta-mail:hover {
  color: #d98a72;
  border-bottom-color: #d98a72;
}

.cta-note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8d8577;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #12100c;
  color: #a9a192;
  padding: 64px 0 26px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 52px;
}

.site-footer .brand {
  color: var(--paper);
  margin-bottom: 16px;
}

.site-footer .brand:hover {
  color: var(--paper);
}

.footer-brand p {
  max-width: 30ch;
  color: #8d8577;
  font-size: 14px;
  margin: 0;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #70695d;
  margin: 7px 0 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: #a9a192;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--paper);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 242, 234, 0.1);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #70695d;
}

.footer-bottom a {
  color: #70695d;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--paper);
}

.footer-bottom__links {
  display: flex;
  gap: 18px;
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--line);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 30px;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--accent);
}

.crumbs span {
  color: var(--line-2);
}

.page-hero h1 {
  font-size: 60px;
  max-width: 20ch;
}

.page-hero .lede {
  margin-top: 22px;
  font-size: 19px;
  color: var(--muted);
  max-width: 60ch;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Services detail ---------- */
.service {
  padding: 62px 0;
  border-top: 1px solid var(--line);
}

.service:first-of-type {
  border-top: 0;
}

.service__head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.service__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.service h2 {
  font-size: 38px;
}

.service__body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
}

.service__text p {
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 62ch;
}

.service__text p:last-child {
  margin-bottom: 0;
}

.deliverables {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.deliverables li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.deliverables li::before {
  content: "—";
  color: var(--accent);
  flex: none;
}

.facts {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 26px 26px 22px;
  align-self: start;
}

.facts h3 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 18px;
}

.facts dl {
  margin: 0;
  display: grid;
  gap: 13px;
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px dashed var(--line-2);
  padding-bottom: 12px;
}

.facts div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.facts dt {
  font-size: 13px;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink);
  text-align: right;
}

.notfit {
  margin-top: 54px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.notfit h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.notfit ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 40px;
}

.notfit li {
  font-size: 15px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin: 0;
}

.notfit li strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

/* ---------- Plans ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.plan {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 34px 34px 30px;
  display: flex;
  flex-direction: column;
}

.plan--featured {
  background: var(--ink);
  color: #c9c1b2;
  border-color: var(--ink);
}

.plan__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.plan__label span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.plan--featured .plan__label span {
  color: #8f8779;
}

.plan__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid currentColor;
  padding: 3px 8px;
}

.plan--featured .plan__tag {
  color: #d98a72;
}

.plan h3 {
  font-size: 30px;
  margin-bottom: 8px;
  color: var(--ink);
}

.plan--featured h3 {
  color: var(--paper);
}

.plan__desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 26px;
}

.plan--featured .plan__desc {
  color: #a49b8b;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.plan__price strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

.plan__price span {
  font-size: 13px;
  color: var(--muted-2);
}

.plan--featured .plan__price strong {
  color: var(--paper);
}

.plan--featured .plan__price span {
  color: #8f8779;
}

.plan__note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 12px 0 26px;
}

.plan--featured .plan__note {
  color: #8f8779;
}

.plan .btn {
  margin-bottom: 28px;
}

.plan--featured .btn--solid {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.plan--featured .btn--solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.plan__list {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 11px;
}

.plan--featured .plan__list {
  border-top-color: rgba(245, 242, 234, 0.16);
}

.plan__list li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  color: var(--ink-2);
  margin: 0;
}

.plan--featured .plan__list li {
  color: #c9c1b2;
}

.plan__list li::before {
  content: "—";
  color: var(--accent);
  flex: none;
}

.plan--featured .plan__list li::before {
  color: #d98a72;
}

/* ---------- Table ---------- */
.table-wrap {
  border: 1px solid var(--line);
  overflow-x: auto;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 14.5px;
}

.compare th,
.compare td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare thead th {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper-2);
}

.compare thead th:not(:first-child),
.compare td:not(:first-child) {
  text-align: center;
}

.compare tbody th {
  font-weight: 400;
  color: var(--ink-2);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare td {
  color: var(--muted);
}

.compare .yes {
  color: var(--accent);
  font-weight: 600;
}

.table-hint {
  display: none;
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
  flex: none;
}

.faq details[open] summary::after {
  content: "–";
}

.faq__body {
  padding: 0 0 26px;
  max-width: 68ch;
  color: var(--muted);
  font-size: 15.5px;
}

.faq__body p:last-child {
  margin-bottom: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.contact-side h2 {
  font-size: 36px;
  margin-bottom: 18px;
}

.contact-side > p {
  color: var(--muted);
  font-size: 16px;
  max-width: 46ch;
}

.info-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.info-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.info-item dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-top: 3px;
}

.info-item dd {
  margin: 0;
  color: var(--ink-2);
}

.info-item dd a {
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
}

.info-item dd a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.crisis-note {
  margin-top: 30px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 20px 22px;
  font-size: 14px;
  color: var(--muted);
}

.crisis-note strong {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 40px;
}

.form-card h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.form-card > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label .req {
  color: var(--accent);
}

.field label.consent {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin: 2px 0 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  padding: 9px 0 11px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  border: 1px solid var(--line-2);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.25);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236c6559' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 24px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}

.field textarea:focus {
  box-shadow: 0 0 0 1px var(--ink);
}

.field .hint {
  font-size: 12px;
  color: var(--muted-2);
}

.field .error {
  display: none;
  font-size: 12.5px;
  color: var(--accent);
}

.field.is-invalid input,
.field.is-invalid select {
  border-bottom-color: var(--accent);
  box-shadow: 0 1px 0 var(--accent);
}

.field.is-invalid textarea {
  border-color: var(--accent);
  box-shadow: none;
}

.field.is-invalid .error {
  display: block;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin: 2px 0 6px;
  cursor: pointer;
}

.consent input[type="checkbox"] {
  border: 0;
  box-shadow: none;
  width: 15px;
  height: 15px;
  min-width: 15px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--accent);
  flex: none;
}

.field.is-invalid .consent input[type="checkbox"] {
  box-shadow: none;
}

.form-card .btn {
  margin-top: 24px;
}

.form-note {
  font-size: 12px;
  color: var(--muted-2);
  margin: 14px 0 0;
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #bcc4a8;
  background: #eaeee0;
  color: #38402c;
  padding: 16px 18px;
  font-size: 14px;
  margin-bottom: 26px;
}

.form-success svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: #4e5a3a;
}

.form-success.is-visible {
  display: flex;
}

.form-success:focus {
  outline: none;
}

.form-success p {
  margin: 0;
}

.form-success strong {
  display: block;
  margin-bottom: 2px;
}

/* ---------- Prose / articles ---------- */
.prose {
  max-width: 720px;
}

.prose p,
.prose li {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-2);
}

.prose h2 {
  font-size: 31px;
  margin: 48px 0 16px;
}

.prose h3 {
  font-size: 22px;
  font-family: var(--sans);
  font-weight: 600;
  margin: 32px 0 10px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin-bottom: 1.4em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose blockquote {
  margin: 40px 0;
  padding: 4px 0 4px 28px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.4;
  color: var(--ink);
}

.prose blockquote p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.prose .footnote {
  font-size: 14px;
  font-family: var(--sans);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 46px;
}

.article-head {
  max-width: 860px;
}

.article-head h1 {
  font-size: 56px;
  max-width: 22ch;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.article-meta b {
  font-weight: 500;
  color: var(--ink-2);
}

.article-body {
  margin-top: 54px;
}

.article-foot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Not found ---------- */
.notfound {
  padding: 90px 0 50px;
  max-width: 760px;
}

.notfound__code {
  font-family: var(--serif);
  font-size: 132px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--line-2);
  margin-bottom: 18px;
}

.notfound h1 {
  font-size: 44px;
  margin-bottom: 18px;
}

.notfound p {
  color: var(--muted);
  font-size: 17px;
  max-width: 52ch;
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

/* ---------- Legal ---------- */
.prose .updated {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 10px;
  margin-bottom: 34px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 18px 0 24px;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.prose th {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--paper-2);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-mail {
    display: none;
  }

  h1 {
    font-size: 68px;
  }

  .hero__grid {
    gap: 44px;
  }

  .section-head {
    grid-template-columns: 180px 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid .footer-col--last {
    grid-column: 2 / 4;
  }

  .quote blockquote {
    font-size: 40px;
  }
}

@media (max-width: 900px) {
  .wrap {
    width: min(var(--wrap), 100% - 44px);
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  .section {
    padding: 64px 0;
  }

  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 22px 18px;
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    letter-spacing: 0.04em;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a[aria-current="page"] {
    border-bottom-color: var(--line);
    color: var(--accent);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-mail {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .hero__top {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
  }

  .hero h1 {
    font-size: 52px;
    max-width: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 36px;
    padding-top: 28px;
  }

  .hero__aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 24px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }

  .section-head h2 {
    max-width: none;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .points {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .notfit ul {
    grid-template-columns: 1fr 1fr;
  }

  .service {
    padding: 48px 0;
  }

  .service__head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 22px;
  }

  .service__body {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .facts {
    max-width: 460px;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-card {
    padding: 30px;
  }

  .quote {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .quote blockquote {
    font-size: 34px;
  }

  .cta-band {
    padding: 64px 0;
  }

  .cta-band .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cta-band h2 {
    font-size: 42px;
  }

  .work-row {
    grid-template-columns: 1fr 70px 20px;
    gap: 16px;
    padding: 24px 0;
  }

  .work-row__sector {
    grid-column: 1 / -1;
    margin-bottom: -4px;
  }

  .insight {
    grid-template-columns: 1fr 90px;
    gap: 10px 20px;
  }

  .insight__date {
    grid-column: 1 / -1;
    padding-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .footer-grid .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid .footer-col--last {
    grid-column: auto;
  }

  .page-hero {
    padding: 48px 0 40px;
  }

  .page-hero h1 {
    font-size: 46px;
  }

  .article-head h1 {
    font-size: 44px;
  }

  .article-body {
    margin-top: 40px;
  }

  .prose p,
  .prose li {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--wrap), 100% - 36px);
  }

  body {
    font-size: 16px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .brand {
    font-size: 23px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .marquee__item {
    font-size: 10px;
    gap: 18px;
    padding-right: 18px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .page-hero .lede {
    font-size: 17px;
  }

  .service h2 {
    font-size: 30px;
  }

  .notfit ul {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .form-card {
    padding: 24px 20px;
  }

  .plan {
    padding: 26px 22px;
  }

  .plan__price strong {
    font-size: 40px;
  }

  .work-row h3 {
    font-size: 24px;
  }

  .insight h3 {
    font-size: 24px;
  }

  .quote blockquote {
    font-size: 29px;
  }

  .cta-band h2 {
    font-size: 34px;
  }

  .cta-mail {
    font-size: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .notfound__code {
    font-size: 96px;
  }

  .notfound h1 {
    font-size: 34px;
  }

  .article-head h1 {
    font-size: 34px;
  }

  .article-meta {
    gap: 8px 16px;
  }

  .table-hint {
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin: 0 0 12px;
  }

  .info-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .prose blockquote {
    font-size: 22px;
    padding-left: 20px;
  }
}
