:root {
  --ink: #111418;
  --ink-soft: #2b3036;
  --paper: #f6f1e8;
  --paper-deep: #e6ddd0;
  --line: rgba(17, 20, 24, 0.14);
  --white: #ffffff;
  --red: #d73b35;
  --blue: #315d74;
  --green: #61735c;
  --brass: #b28d55;
  --shadow: 0 24px 70px rgba(17, 20, 24, 0.22);
  --max: 1840px;
  --header: 76px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  padding: 0 clamp(22px, 4vw, 78px);
  color: var(--white);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(246, 241, 232, 0.92);
  box-shadow: 0 10px 35px rgba(17, 20, 24, 0.09);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled .brand-mark {
  border-color: rgba(17, 20, 24, 0.16);
  background: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(17, 20, 24, 0.34);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  opacity: 0.68;
}

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

.primary-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: background 180ms ease, transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.site-header.is-scrolled .primary-nav a:hover,
.site-header.is-scrolled .primary-nav a:focus-visible {
  background: rgba(17, 20, 24, 0.08);
}

.nav-cta {
  border: 1px solid currentColor;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header) + 54px) clamp(22px, 5vw, 86px) 46px;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 12, 14, 0.88) 0%, rgba(10, 12, 14, 0.72) 38%, rgba(10, 12, 14, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 12, 14, 0.7), rgba(10, 12, 14, 0.02) 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 50vw);
  max-width: 680px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 5.35rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}

.hero-actions,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  margin: 40px 0 0;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-metrics div {
  min-width: 0;
  padding: 18px;
  background: rgba(11, 13, 15, 0.42);
  backdrop-filter: blur(12px);
}

.hero-metrics dt {
  font-size: 1.7rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.signal-panel {
  position: absolute;
  right: clamp(22px, 4vw, 78px);
  bottom: 46px;
  z-index: 2;
  width: min(360px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 10, 12, 0.48);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.signal-panel p,
.signal-panel strong,
.signal-panel span {
  display: block;
}

.signal-panel p {
  margin: 0 0 10px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-panel strong {
  font-size: 1.25rem;
  line-height: 1.24;
}

.signal-panel span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.section-pad {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px clamp(24px, 3.4vw, 64px);
}

.intro-grid,
.method-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(720px, 1.35fr);
  gap: clamp(56px, 6vw, 118px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(1.95rem, 3.05vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.15;
}

.intro-copy p {
  max-width: 920px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.05vw, 1.18rem);
}

.intro-copy p + p {
  margin-top: 18px;
}

.profile-lead {
  display: grid;
  gap: 34px;
}

.profile-portrait {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(180px, 1fr);
  align-items: end;
  gap: 18px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.profile-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: #e8ecf1;
}

.profile-portrait figcaption {
  display: grid;
  gap: 8px;
  padding-bottom: 4px;
}

.profile-portrait strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.profile-portrait span {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.section-heading {
  max-width: 1120px;
  margin-bottom: 34px;
}

.wide-heading {
  max-width: 1380px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  grid-column: span 3;
  min-height: 320px;
  padding: clamp(24px, 2vw, 34px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.case-card-large {
  grid-column: span 6;
  color: var(--white);
  background: var(--ink);
}

.case-card span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--red);
  font-weight: 900;
}

.case-card-large span {
  color: var(--brass);
}

.case-card p {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.case-card-large p {
  color: rgba(255, 255, 255, 0.78);
}

.case-card ul {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.case-card li {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
}

.filter-bar {
  margin-bottom: 22px;
}

.filter-button {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
}

.filter-button.is-active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.field-card {
  grid-column: span 4;
  min-height: 235px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.field-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 59, 53, 0.5);
}

.field-card.is-hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.field-card span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--red);
  font-weight: 900;
}

.field-card p {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.method-section {
  align-items: center;
}

.method-content {
  max-width: 980px;
}

.method-visual {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(49, 93, 116, 0.16), rgba(178, 141, 85, 0.2)),
    radial-gradient(circle at 25% 22%, rgba(215, 59, 53, 0.16), transparent 30%),
    var(--paper-deep);
  overflow: hidden;
}

.method-visual::before,
.method-visual::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(17, 20, 24, 0.16);
  transform: rotate(-8deg);
}

.method-visual::after {
  inset: 74px;
  transform: rotate(9deg);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(17, 20, 24, 0.34);
  border-radius: 50%;
}

.orbit-one {
  width: 280px;
  height: 280px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.orbit-two {
  width: 390px;
  height: 180px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-weight: 900;
}

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

.steps article {
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.steps strong {
  display: block;
  color: var(--blue);
  font-size: 1.15rem;
}

.steps p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.region-section {
  padding-top: 70px;
}

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

.region-grid article {
  min-height: 260px;
  padding: clamp(24px, 2.2vw, 34px);
  color: var(--white);
  background: var(--ink);
}

.region-grid article:nth-child(2) {
  background: var(--blue);
}

.region-grid article:nth-child(3) {
  background: var(--green);
}

.region-grid p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.quote-section {
  padding: 96px clamp(24px, 5vw, 86px);
  color: var(--white);
  background:
    linear-gradient(rgba(17, 20, 24, 0.86), rgba(17, 20, 24, 0.86)),
    url("../assets/roman-dach-strategy-hero.png") center / cover fixed;
}

.quote-section figure {
  max-width: 1220px;
  margin: 0 auto;
}

.quote-section blockquote {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 4.05rem);
  font-weight: 900;
  line-height: 1.03;
}

.quote-section figcaption {
  margin-top: 26px;
  color: var(--brass);
  font-weight: 800;
}

.contact-section {
  align-items: start;
}

.contact-section p {
  max-width: 520px;
  color: var(--ink-soft);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 20, 24, 0.2);
  border-radius: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(215, 59, 53, 0.36);
  border-color: var(--red);
}

.contact-form .button {
  border-radius: 0;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(22px, 4vw, 78px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (min-width: 1500px) {
  .hero-content {
    width: min(700px, 46vw);
  }

  .hero h1 {
    font-size: clamp(3.2rem, 4.8vw, 5.7rem);
  }

  .section-pad {
    padding-left: clamp(42px, 4vw, 78px);
    padding-right: clamp(42px, 4vw, 78px);
  }
}

@media (max-width: 1240px) {
  .hero-content {
    width: min(640px, 54vw);
  }

  .hero h1 {
    font-size: clamp(2.7rem, 5.1vw, 4.55rem);
  }

  h2 {
    font-size: clamp(1.85rem, 3.35vw, 3rem);
  }

  .intro-grid,
  .method-section,
  .contact-section {
    grid-template-columns: minmax(300px, 0.9fr) minmax(460px, 1.1fr);
    gap: clamp(36px, 5vw, 72px);
  }

  .case-card {
    grid-column: span 6;
  }

  .case-card-large {
    grid-column: span 12;
  }

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

  .section-pad {
    padding-top: 86px;
    padding-bottom: 86px;
  }
}

@media (max-width: 980px) {
  .signal-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 32px;
  }

  .hero {
    align-items: center;
  }

  .hero-content {
    width: min(680px, 100%);
  }

  .field-grid,
  .region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-card,
  .case-card-large {
    grid-column: auto;
  }

  .field-card {
    grid-column: auto;
  }

  .intro-grid,
  .method-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .profile-portrait {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 68px 12px auto;
    display: grid;
    padding: 16px;
    color: var(--ink);
    background: rgba(246, 241, 232, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a {
    border-radius: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.85rem);
    line-height: 1;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .section-pad {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .field-grid,
  .case-grid,
  .region-grid {
    grid-template-columns: 1fr;
  }

  .profile-portrait {
    grid-template-columns: 1fr;
  }

  .field-card {
    min-height: 220px;
  }

  .method-visual {
    min-height: 330px;
  }

  .orbit-one {
    width: 210px;
    height: 210px;
  }

  .orbit-two {
    width: 280px;
    height: 130px;
  }

  .quote-section {
    background-attachment: scroll;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
