:root {
  --ink: #111414;
  --muted: #6f7774;
  --line: #e6e3dc;
  --paper: #fbfaf7;
  --white: #ffffff;
  --sage: #d9e8df;
  --mint: #edf6f1;
  --clay: #a05c45;
  --blue: #dbeaf1;
  --shadow: 0 24px 70px rgba(17, 20, 20, 0.12);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 76px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.brand {
  justify-self: center;
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 600;
}

.brand span {
  display: block;
  color: var(--muted);
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.26em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #2c312f;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 28px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a.active,
.nav-links a:hover {
  border-color: var(--ink);
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  cursor: pointer;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  border-color: var(--line);
  background: var(--white);
  outline: none;
}

.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-toggle {
  display: none;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.mobile-panel a {
  display: block;
  padding: 17px 24px;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px 24px;
}

.section.tight {
  padding-top: 48px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: #1b2421;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 14, 13, 0.72), rgba(10, 14, 13, 0.28) 48%, rgba(10, 14, 13, 0.52));
  z-index: -1;
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 24px 70px;
}

.kicker {
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .kicker {
  color: #d7eee3;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(52px, 8vw, 118px);
  letter-spacing: 0;
}

.hero p {
  max-width: 590px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn.light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-1px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.metric {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

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

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 640px;
  font-size: clamp(34px, 5vw, 64px);
}

.section-head p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 18px;
}

.story {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.story.small {
  min-height: 320px;
}

.story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.7));
}

.story-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 26px;
  color: var(--white);
}

.story-content h3 {
  margin-top: 8px;
  font-size: 30px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.portrait {
  aspect-ratio: 4 / 5;
  background: var(--sage);
  overflow: hidden;
}

.copy h2 {
  font-size: clamp(34px, 5vw, 62px);
}

.copy p {
  color: var(--muted);
  font-size: 17px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.feature {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.feature svg {
  margin-bottom: 14px;
}

.feature strong {
  display: block;
  margin-bottom: 4px;
}

.feature span {
  color: var(--muted);
  font-size: 14px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
}

.card-media {
  height: 270px;
  background: var(--sage);
}

.card-body {
  padding: 22px;
}

.card-body h3 {
  font-size: 28px;
}

.card-body p {
  color: var(--muted);
  margin-bottom: 0;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 24px 34px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: end;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(50px, 8vw, 104px);
}

.page-hero p {
  color: var(--muted);
  font-size: 18px;
}

.page-visual {
  height: 440px;
  overflow: hidden;
  background: var(--sage);
}

.article-list {
  display: grid;
  gap: 16px;
}

.article-row {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}

.article-thumb {
  height: 150px;
  overflow: hidden;
}

.article-row h3 {
  font-size: 30px;
}

.article-row p {
  color: var(--muted);
}

.arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.band {
  background: var(--ink);
  color: var(--white);
}

.band .section-head p,
.band .card-body p {
  color: rgba(255, 255, 255, 0.68);
}

.band .card {
  background: #1b1f1e;
  border-color: rgba(255, 255, 255, 0.16);
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--mint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsletter-inner {
  max-width: 620px;
  justify-self: end;
  padding: 70px 24px;
}

.newsletter h2 {
  font-size: clamp(34px, 5vw, 64px);
}

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

.form-row {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.field {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 0;
}

textarea.field {
  min-height: 130px;
  resize: vertical;
}

.newsletter-visual {
  height: 430px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
}

.panel {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
}

.panel h3 {
  font-size: 32px;
}

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

.contact-form {
  display: grid;
  gap: 14px;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 46px 24px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.footer h3,
.footer h4 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.footer p,
.footer a {
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  display: block;
  margin: 8px 0;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: 320px;
  padding: 14px 16px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.22s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    justify-self: start;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: inline-grid;
  }

  .mobile-panel.open {
    display: block;
  }

  .metrics,
  .editorial-grid,
  .split,
  .cards,
  .page-hero,
  .newsletter,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 16px;
  }

  .page-visual {
    height: 360px;
  }

  .newsletter-inner {
    justify-self: start;
    padding-bottom: 28px;
  }
}

@media (max-width: 680px) {
  .nav {
    min-height: 66px;
    padding: 0 14px;
  }

  .brand {
    font-size: 14px;
    letter-spacing: 0.11em;
  }

  .brand span {
    font-size: 9px;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .nav-actions .hide-mobile {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-inner {
    padding: 0 18px 42px;
  }

  h1 {
    font-size: 50px;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .section,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .story,
  .story.small {
    min-height: 360px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .article-row {
    grid-template-columns: 1fr;
  }

  .article-thumb,
  .card-media {
    height: 240px;
  }

  .arrow {
    display: none;
  }

  .form-row {
    display: grid;
  }
}
