:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #5d675f;
  --paper: #f7f4ed;
  --white: #fffdf8;
  --line: #d8d5ca;
  --green: #244c3d;
  --green-soft: #dce8df;
  --clay: #b6654a;
  --ochre: #c49a46;
  --blue: #173653;
  --aqua: #5ba8a0;
  --shadow: 0 22px 60px rgba(23, 32, 28, 0.16);
  --shadow-soft: 0 14px 38px rgba(23, 32, 28, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.legal-header {
  background: rgba(255, 253, 248, 0.88);
  color: var(--ink);
  box-shadow: 0 10px 32px rgba(23, 32, 28, 0.07);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand span {
  max-width: 260px;
  line-height: 1.15;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(23, 32, 28, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
}

.site-nav a {
  padding: 9px 11px;
  border-radius: 999px;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(255, 253, 248, 0.13);
  color: var(--ochre);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  background: var(--green-soft);
}

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

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

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 80px) 92px;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    radial-gradient(circle at 20% 26%, rgba(91, 168, 160, 0.28), transparent 32%),
    linear-gradient(90deg, rgba(13, 30, 48, 0.91) 0%, rgba(18, 47, 50, 0.7) 43%, rgba(12, 24, 19, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 24, 19, 0.42), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

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

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  max-width: 760px;
  font-size: clamp(3rem, 6.4vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.55;
}

.hero-disclaimer {
  max-width: 650px;
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--ochre);
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.98rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(135deg, var(--clay), #cf7a5d);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(182, 101, 74, 0.24);
}

.button.primary:hover {
  background: #9f523d;
}

.button.secondary {
  border-color: rgba(255, 253, 248, 0.62);
  color: var(--white);
}

.button.secondary:hover {
  background: rgba(255, 253, 248, 0.12);
}

.scroll-cue {
  position: absolute;
  left: clamp(20px, 6vw, 80px);
  bottom: 30px;
  z-index: 1;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255, 253, 248, 0.62);
  border-radius: 999px;
}

.scroll-cue span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
  animation: cue 1.8s infinite;
}

@keyframes cue {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-50%, 0);
  }
  45% {
    opacity: 1;
    transform: translate(-50%, 11px);
  }
}

.section {
  padding: clamp(76px, 10vw, 136px) clamp(20px, 6vw, 80px);
  scroll-margin-top: 110px;
}

.section-grid,
.about-layout,
.contact-panel,
.newsletter-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(28px, 7vw, 96px);
}

.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.intro-points span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
}

.work-band {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.86), rgba(247, 244, 237, 0.94)),
    var(--white);
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto 38px;
}

.work-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.work-card {
  position: relative;
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.work-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--aqua), var(--clay));
  content: "";
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
}

.work-card h3 {
  margin: 64px 0 12px;
  font-size: 1.4rem;
}

.work-card p {
  margin: 0;
  font-size: 1rem;
}

.profile-strip {
  max-width: 1180px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 0.8fr 0.55fr 1.25fr 1.25fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.profile-strip div {
  padding: 22px;
  background: var(--white);
}

.profile-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-strip strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.audience-grid {
  max-width: 1180px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.audience-grid article {
  padding: 30px;
  border: 1px solid rgba(36, 76, 61, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(220, 232, 223, 0.88), rgba(255, 253, 248, 0.7));
}

.audience-grid h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

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

.process {
  background:
    radial-gradient(circle at 92% 12%, rgba(91, 168, 160, 0.28), transparent 28%),
    linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
}

.process .section-kicker,
.process p {
  color: var(--green-soft);
}

.steps {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  background: rgba(255, 253, 248, 0.24);
}

.steps li {
  padding: 30px;
  background: rgba(23, 32, 28, 0.26);
  backdrop-filter: blur(8px);
}

.steps span {
  display: block;
  margin-bottom: 42px;
  color: var(--ochre);
  font-weight: 800;
}

.steps p {
  margin: 0;
  font-size: 1rem;
}

.project-list {
  max-width: 1180px;
  margin: 34px auto 0;
  display: grid;
  gap: 1px;
  background: rgba(255, 253, 248, 0.24);
}

.project-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 26px 30px;
  background: rgba(23, 32, 28, 0.22);
  backdrop-filter: blur(8px);
}

.project-list span {
  color: var(--ochre);
  font-weight: 900;
}

.project-list h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.22rem;
}

.project-list p {
  margin: 0;
  color: var(--green-soft);
  font-size: 1rem;
}

.about-band {
  background:
    linear-gradient(90deg, var(--paper), var(--green-soft));
}

.articles-band {
  background: var(--paper);
}

.articles-band .section-heading p:last-child {
  max-width: 760px;
}

.article-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.article-card h3 {
  margin: 0 0 12px;
  font-size: 1.38rem;
}

.article-card p {
  font-size: 1rem;
}

.article-card > span {
  margin-top: auto;
  color: var(--clay);
  font-weight: 800;
}

.article-label {
  margin: 0 0 28px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.plain-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.plain-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 2px;
  background: var(--clay);
  content: "";
}

.newsletter-band {
  background:
    radial-gradient(circle at 10% 20%, rgba(91, 168, 160, 0.3), transparent 26%),
    var(--green-soft);
}

.newsletter-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(36, 76, 61, 0.18);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.newsletter-form label,
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.newsletter-types {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.newsletter-types legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

.newsletter-type-card {
  grid-template-columns: 18px 1fr;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.newsletter-type-card input {
  margin-top: 4px;
}

.newsletter-type-card strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.newsletter-type-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.newsletter-type-card:has(input:checked) {
  border-color: var(--green);
  background: var(--green-soft);
}

.newsletter-form label span {
  color: var(--muted);
  font-weight: 600;
}

.consent-row {
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.consent-row input {
  margin-top: 3px;
}

.about-copy p:first-child {
  margin-top: 0;
}

.contact {
  background: var(--white);
}

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

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.newsletter-form input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.newsletter-form input:focus,
.newsletter-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--green-soft);
  border-color: var(--green);
}

.legal-note {
  padding: 34px clamp(20px, 6vw, 80px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.legal-note div {
  max-width: 1180px;
  margin: 0 auto;
}

.legal-note strong {
  display: block;
  margin-bottom: 8px;
}

.legal-note p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 80px);
  background: var(--ink);
  color: var(--white);
}

.site-footer a {
  text-decoration: none;
}

.footer-links {
  display: inline-flex;
  gap: 16px;
}

.legal-page {
  min-height: 100vh;
  padding: 132px clamp(20px, 6vw, 80px) 80px;
  background: var(--paper);
}

.legal-page article {
  max-width: 860px;
  margin: 0 auto;
}

.legal-page h1,
.legal-page h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.legal-page h1 {
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.96;
}

.legal-page h2 {
  margin: 42px 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.legal-page p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.legal-page .lead {
  color: var(--ink);
  font-size: 1.22rem;
}

@media (max-width: 840px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero {
    min-height: 90vh;
    padding-top: 118px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(12, 24, 19, 0.88), rgba(12, 24, 19, 0.44));
  }

  .section-grid,
  .about-layout,
  .contact-panel,
  .newsletter-layout,
  .work-grid,
  .steps,
  .audience-grid,
  .article-grid,
  .profile-strip {
    grid-template-columns: 1fr;
  }

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

  .work-card h3 {
    margin-top: 34px;
  }

  .project-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    max-width: 160px;
    line-height: 1.1;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .hero-copy {
    font-size: 1.05rem;
  }

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

  .scroll-cue {
    display: none;
  }

  .button {
    width: 100%;
  }
}
