:root {
  --accent: #7a1f2b;
  --accent-soft: color-mix(in srgb, var(--accent) 10%, transparent);
  --paper: #faf7f2;
  --cream: #f1ebdf;
  --ink: #1b1b1b;
  --muted: #4a4640;
  --faint: #6f685e;
  --line: #d9d1c2;
  --line-dark: #3a3731;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
}

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

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

html.no-smooth {
  scroll-behavior: auto;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

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

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

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 60;
  background: var(--accent);
  color: var(--paper);
  padding: 12px 18px;
  font-weight: 600;
}

.skip:focus {
  top: 16px;
}

/* ---------- ribbon ---------- */
.ribbon {
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
}

.ribbon-in {
  width: min(var(--wrap), 100% - 48px);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  padding: 9px 0;
}

.ribbon-note {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.ribbon-side {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ribbon a.back {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.palette {
  display: flex;
  align-items: center;
  gap: 8px;
}

.palette-label {
  opacity: 0.6;
}

.palette button {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 1px solid rgba(250, 247, 242, 0.4);
  border-radius: 50%;
  cursor: pointer;
}

.palette button[aria-pressed="true"] {
  outline: 1.5px solid var(--paper);
  outline-offset: 2px;
}

html.is-embed .ribbon {
  display: none;
}

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

.head-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 20px 0;
  position: relative;
}

.brand {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 26px;
  font-weight: 500;
  font-size: 15px;
}

.site-nav a.link {
  padding: 10px 0;
}

.site-nav a.link:hover {
  color: var(--accent);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  height: 1.5px;
  margin-inline: 9px;
  background: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.1;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

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

.btn-solid:hover {
  background: color-mix(in srgb, var(--accent) 86%, #000);
}

.btn-outline {
  border-color: var(--ink);
}

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

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

.btn-light:hover {
  background: #fff;
}

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

/* ---------- shared ---------- */
.section {
  padding: 88px 0;
}

.section-tight {
  padding: 60px 0;
}

.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

h2.h-lg {
  font-size: clamp(32px, 3.8vw, 44px);
  margin-bottom: 14px;
}

.lead {
  color: var(--muted);
  max-width: 560px;
  font-size: 17.5px;
  margin: 0 0 40px;
}

.lead.no-space {
  margin-bottom: 0;
}

/* ---------- hero ---------- */
.hero {
  padding: 84px 0 56px;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 92px);
  max-width: 16ch;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-weight: 400;
  color: var(--accent);
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 64px;
  margin-top: 48px;
  align-items: start;
}

.hero-foot p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.hero-note {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}

.hero-note span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- clients ---------- */
.clients {
  padding: 0 0 64px;
}

.clients-in {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 48px;
  color: var(--faint);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.clients-in span:first-child {
  color: var(--muted);
  font-weight: 500;
}

/* ---------- expertise ---------- */
.expertise {
  background: var(--cream);
  padding: 88px 0;
}

.exp-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px 64px;
  margin-bottom: 40px;
  align-items: start;
}

.exp-head h2 {
  font-size: clamp(32px, 3.8vw, 44px);
}

.exp-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 48ch;
}

.rows {
  border-top: 1px solid var(--ink);
}

.row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.2fr) 28px;
  gap: 8px 32px;
  align-items: baseline;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease, padding 0.18s ease;
}

.row:hover {
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  padding-left: 16px;
}

.row .n {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--accent);
}

.row h3 {
  font-size: clamp(24px, 2.6vw, 31px);
  font-weight: 500;
}

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

.row .go {
  font-weight: 600;
  font-size: 18px;
  text-align: right;
}

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

/* ---------- approach ---------- */
.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.approach-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.approach-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.approach-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.approach-list .k {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--accent);
}

.approach-list h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.approach-list p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- articles ---------- */
.art-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.art-head h2 {
  font-size: clamp(30px, 3.6vw, 42px);
}

.link-more {
  font-weight: 500;
  font-size: 15px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
}

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

.articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.post {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post .img {
  height: 200px;
  background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent) 12%, transparent),
      transparent 55%
    ),
    var(--cream);
  position: relative;
  overflow: hidden;
}

.post .img::after {
  content: attr(data-label);
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

.post .cat {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
}

.post h3 {
  font-size: clamp(23px, 2.4vw, 27px);
  line-height: 1.18;
  font-weight: 500;
}

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

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

/* ---------- team ---------- */
.team {
  border-top: 1px solid var(--line);
  padding: 72px 0;
}

.team-in {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 48px;
}

.team h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  max-width: 14ch;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.member .ph {
  height: 220px;
  background: linear-gradient(
      200deg,
      color-mix(in srgb, var(--accent) 10%, transparent),
      transparent 60%
    ),
    var(--cream);
  margin-bottom: 14px;
  display: grid;
  place-items: end start;
  padding: 14px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

.member .nm {
  font-family: var(--serif);
  font-size: 22px;
}

.member .rl {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- quote ---------- */
.quote {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 64px 0;
}

.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.24;
  font-weight: 400;
  letter-spacing: -0.02em;
  max-width: 30ch;
}

.quote blockquote::before {
  content: "“";
  color: var(--accent);
}

.quote blockquote::after {
  content: "”";
  color: var(--accent);
}

.quote .who {
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote .who::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent);
}

/* ---------- faq ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

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

.faq details:first-of-type {
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-weight: 500;
  font-size: 18px;
  font-family: var(--serif);
}

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

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

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

.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 60ch;
}

/* ---------- cta ---------- */
.cta {
  background: var(--ink);
  color: var(--paper);
  padding: 88px 0;
}

.cta-in {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.cta h2 {
  font-size: clamp(34px, 5vw, 64px);
  max-width: 20ch;
  line-height: 1.04;
}

.cta h2 em {
  font-weight: 400;
  font-style: italic;
  color: color-mix(in srgb, var(--paper) 80%, var(--accent));
}

.cta .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta .btn-outline {
  border-color: var(--paper);
  color: var(--paper);
}

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

/* ---------- footer ---------- */
.site-foot {
  background: var(--ink);
  color: #c9c2b4;
  border-top: 1px solid var(--line-dark);
  padding: 40px 0 32px;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  font-size: 15px;
}

.foot-brand {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--paper);
  margin-bottom: 6px;
}

.foot-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8d8578;
  margin-bottom: 8px;
}

.site-foot a:hover {
  color: var(--paper);
}

.foot-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  color: #8d8578;
  font-size: 13px;
}

/* ---------- mobile cta ---------- */
.mobile-cta {
  display: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-foot,
  .exp-head,
  .approach,
  .team-in,
  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px 20px;
    padding: 22px 4px;
  }

  .row p {
    grid-column: 2;
  }

  .row .go {
    display: none;
  }

  .articles,
  .team-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .section,
  .expertise,
  .cta {
    padding: 56px 0;
  }

  .hero {
    padding: 44px 0 40px;
  }

  .hero h1 {
    max-width: none;
  }

  .head-in {
    padding: 14px 0;
  }

  .nav-burger {
    display: flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    margin-top: 12px;
    padding-top: 6px;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .site-nav a.link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .btn {
    margin: 14px 0 4px;
  }

  .articles,
  .team-list {
    grid-template-columns: 1fr;
  }

  .articles {
    gap: 28px;
  }

  .hero-foot p {
    font-size: 17.5px;
  }

  .row {
    padding: 20px 0;
  }

  .row:hover {
    padding-left: 0;
  }

  .quote {
    padding: 44px 0;
  }

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

  body {
    padding-bottom: 66px;
  }

  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 96%, transparent);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }

  .mobile-cta .btn {
    flex: 1;
    padding: 13px 12px;
    font-size: 14.5px;
  }

  html.is-embed body {
    padding-bottom: 0;
  }

  html.is-embed .mobile-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .row {
    transition: none;
  }
}

@media (max-width: 560px) {
  .ribbon-note span:last-child {
    display: none;
  }

  .ribbon-in {
    gap: 6px 12px;
  }

  .ribbon-side {
    width: 100%;
    justify-content: space-between;
  }
}
