:root {
  --bg: #f4efe4;
  --paper: rgba(255, 252, 246, 0.72);
  --ink: #161512;
  --muted: #5b5750;
  --line: rgba(22, 21, 18, 0.14);
  --line-strong: rgba(22, 21, 18, 0.24);
  --accent: #0f5963;
  --accent-soft: #8baeb1;
  --sand: #d7ccb9;
  --shadow: 0 24px 80px rgba(38, 34, 24, 0.08);
  --max: 1180px;
  --anchor-offset: 7rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(15, 89, 99, 0.08), transparent 28rem),
    radial-gradient(circle at bottom left, rgba(215, 204, 185, 0.42), transparent 30rem),
    var(--bg);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

img {
  max-width: 100%;
}

::selection {
  background: rgba(15, 89, 99, 0.18);
}

.site-shell {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

main[id],
section[id] {
  scroll-margin-top: var(--anchor-offset);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(244, 239, 228, 0.84);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wordmark__title,
.page-kicker,
.section-tag,
.chip,
.nav-link,
.footer-meta,
.article-meta,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.wordmark__title {
  font-size: 0.82rem;
  font-weight: 800;
}

.wordmark__subtitle {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 1.2rem;
}

.nav-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.nav-link:hover,
.nav-link:focus-visible,
.button:hover,
.button:focus-visible,
.link-row:hover,
.link-row:focus-visible,
.journal-card:hover,
.journal-card:focus-visible {
  color: var(--accent);
}

.hero {
  padding: 6.75rem 0 4rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 2rem 3rem;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
}

.display {
  margin: 0;
  max-width: 8.8ch;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(3.1rem, 8vw, 6.4rem);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.lede {
  margin: 1.8rem 0 0;
  max-width: 39rem;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.hero-note,
.section-note,
.article-note,
.contact-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  padding: 1.3rem 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
}

.hero-panel__list,
.services-list,
.detail-list,
.journal-list,
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-panel__item,
.detail-list li,
.footer-list li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.hero-panel__item:first-child,
.detail-list li:first-child,
.footer-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.chip {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent);
}

.ribbon {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.ribbon__track {
  display: inline-flex;
  gap: 2rem;
  min-width: 100%;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  animation: marquee 28s linear infinite;
}

.ribbon__track span::after {
  content: "—";
  display: inline-block;
  margin-left: 2rem;
  color: var(--accent);
}

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

.section {
  padding: 3.8rem 0;
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 1.4rem 2.2rem;
}

.section-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
}

.section-tag::before {
  content: "↘";
  display: inline-block;
  margin-right: 0.5rem;
  color: var(--accent);
}

.section-heading {
  margin: 0 0 1rem;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.section-copy {
  max-width: 44rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.quote-block {
  margin-top: 1.6rem;
  padding: 1.4rem 1.5rem;
  border-left: 2px solid var(--accent);
  background: rgba(255, 252, 246, 0.52);
}

.quote-block p {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.principle,
.work-card,
.team-card,
.journal-card,
.contact-card {
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.principle h3,
.service-card h3,
.work-card h3,
.team-card h3,
.journal-card h3,
.contact-card h3 {
  margin: 0 0 0.6rem;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 500;
}

.principle p,
.service-card p,
.work-card p,
.team-card p,
.journal-card p,
.contact-card p,
.journal-intro p {
  margin: 0;
  color: var(--muted);
}

.services-grid,
.work-grid,
.team-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.9rem;
}

.service-card {
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--line);
}

.service-card:last-child,
.service-card:nth-last-child(2) {
  border-bottom: 0;
  padding-bottom: 0;
}

.services-grid .service-card:nth-child(odd) {
  padding-right: 1rem;
}

.services-grid .service-card:nth-child(even) {
  padding-left: 1rem;
}

.service-card small,
.team-role,
.article-meta,
.journal-card time,
.page-kicker,
.contact-link-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent);
}

.services-grid {
  gap: 0 0;
}

.work-grid,
.team-grid,
.contact-grid,
.journal-grid {
  gap: 1rem;
}

.team-role {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.link-row,
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.75rem;
}

.journal-card {
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.journal-card:hover,
.journal-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.journal-card h3 {
  margin-top: 0.1rem;
}

.journal-card__footer {
  margin-top: 1.1rem;
}

.site-footer {
  padding: 2.8rem 0 3.75rem;
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(220px, 0.8fr));
  gap: 1.5rem 2.25rem;
}

.footer-meta {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
}

.footer-copy {
  max-width: 34rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.footer-heading {
  margin: 0 0 0.8rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.footer-column {
  align-self: start;
}

.footer-list .link-row {
  margin-top: 0;
}

.footer-text {
  display: inline-block;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero {
  padding: 5.75rem 0 2rem;
}

.page-kicker {
  margin-bottom: 1.15rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
}

.page-title {
  margin: 0;
  max-width: 12ch;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.8rem, 6.4vw, 5rem);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.page-intro,
.journal-intro {
  max-width: 44rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 2rem 3rem;
  padding-bottom: 3rem;
}

.article-body {
  max-width: 44rem;
}

.article-body p {
  margin: 0 0 1.2rem;
  font-size: 1.05rem;
  color: #24211d;
}

.article-body h2 {
  margin: 2.35rem 0 0.75rem;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid var(--accent);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--ink);
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 6.5rem;
}

.article-panel {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .hero__grid,
  .site-footer__grid,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .principles,
  .services-grid,
  .work-grid,
  .team-grid,
  .journal-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-card:nth-child(odd),
  .services-grid .service-card:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }

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

  .article-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --anchor-offset: 6.35rem;
  }

  .site-shell,
  .site-header__inner {
    width: min(calc(100% - 1.4rem), var(--max));
  }

  .hero {
    padding-top: 4.5rem;
  }

  .nav {
    display: none;
  }

  .section,
  .page-hero {
    padding-top: 3rem;
  }

  .display,
  .page-title {
    max-width: 100%;
  }
}
