:root {
  --bg: #f7f7f2;
  --surface: #ffffff;
  --ink: #24251f;
  --muted: #696c63;
  --sage: #acbfaf;
  --sage-dark: #718070;
  --olive: #6d7452;
  --line: rgba(36, 37, 31, 0.14);
  --soft-shadow: 0 24px 80px rgba(47, 55, 45, 0.12);
  --max-width: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.site-header,
main,
footer {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  justify-self: start;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: #626a4c;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.brand-mark {
  width: 56px;
  height: 16px;
  border-top: 1px solid currentColor;
  border-radius: 50% 50% 0 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.9rem;
}

.main-nav a,
.footer-links a {
  position: relative;
}

.main-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}

.main-nav a:hover::after,
.footer-links a:hover::after {
  right: 0;
}

.header-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 17px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.88rem;
  transition: 180ms ease;
}

.header-link:hover {
  color: var(--surface);
  background: var(--ink);
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 70px;
  padding: 72px 0 84px;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
blockquote {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h1 {
  max-width: 720px;
  font-size: clamp(3.6rem, 7vw, 7.3rem);
}

h2 {
  font-size: clamp(2.5rem, 4.8vw, 5.4rem);
}

.hero-text {
  max-width: 540px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 500;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(36, 37, 31, 0.18);
}

.button-primary:hover {
  box-shadow: 0 16px 36px rgba(36, 37, 31, 0.24);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: 36px;
  background:
    radial-gradient(circle at 72% 18%, rgba(255,255,255,0.95), transparent 28%),
    linear-gradient(145deg, #dce6dc, #aebfaf);
  box-shadow: var(--soft-shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255,255,255,0.24), transparent 48%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.2px);
}

.orb-large {
  width: 430px;
  height: 430px;
  right: -90px;
  top: 35px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 0 70px rgba(255,255,255,0.4);
}

.orb-small {
  width: 220px;
  height: 220px;
  left: 58px;
  bottom: -60px;
  background: rgba(111, 126, 106, 0.25);
}

.glass-card {
  position: absolute;
  z-index: 2;
  left: 11%;
  top: 19%;
  width: min(330px, 74%);
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.56);
  border-radius: 24px;
  color: white;
  background: rgba(255,255,255,0.16);
  box-shadow: 0 30px 70px rgba(53, 68, 53, 0.18);
  backdrop-filter: blur(16px);
  transform: rotate(-5deg);
}

.glass-card p,
.glass-card strong {
  display: block;
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1.1;
}

.glass-card p {
  font-size: 2.4rem;
}

.glass-card strong {
  margin-top: 5px;
  font-size: 3.4rem;
  font-weight: 500;
}

.glass-line {
  display: block;
  width: 60px;
  height: 1px;
  margin-bottom: 62px;
  background: rgba(255,255,255,0.8);
}

.intro {
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  gap: 48px;
  padding: 150px 0;
  border-top: 1px solid var(--line);
}

.section-number {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.intro h2 {
  max-width: 600px;
}

.intro-copy {
  max-width: 530px;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy p:first-child {
  margin-top: 44px;
}

.values {
  padding: 130px 0;
}

.section-heading {
  max-width: 790px;
}

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

.value-card {
  min-height: 320px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.46);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.value-card:hover {
  transform: translateY(-6px);
  background: var(--surface);
  box-shadow: 0 22px 50px rgba(50, 58, 46, 0.08);
}

.value-card span {
  color: var(--sage-dark);
  font-size: 0.78rem;
}

.value-card h3 {
  margin: 104px 0 12px;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 500;
}

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

.quote-section {
  padding: 130px 8%;
  border-radius: 34px;
  text-align: center;
  background: #26302a;
  color: white;
}

.quote-mark {
  height: 40px;
  margin: 0 0 36px;
  color: var(--sage);
  font-family: "Playfair Display", serif;
  font-size: 6rem;
  line-height: 1;
}

blockquote {
  max-width: 1000px;
  margin-inline: auto;
  font-size: clamp(2.5rem, 5vw, 5.7rem);
}

.approach {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  align-items: stretch;
  padding: 150px 0;
}

.approach-panel {
  padding: 24px 0;
}

.approach-panel h2 {
  max-width: 760px;
  margin-bottom: 38px;
}

.approach-panel > p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
}

.approach-visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: 32px;
  background: #e6ebe2;
}

.approach-visual span {
  position: absolute;
  right: 7%;
  bottom: -8%;
  color: rgba(93, 109, 88, 0.18);
  font-family: "Playfair Display", serif;
  font-size: 18rem;
  line-height: 1;
}

.line-art {
  position: absolute;
  border: 1px solid rgba(98, 113, 92, 0.35);
  border-radius: 50%;
}

.line-one {
  width: 330px;
  height: 330px;
  top: 8%;
  left: 10%;
}

.line-two {
  width: 470px;
  height: 470px;
  top: 24%;
  left: 24%;
}

.line-three {
  width: 210px;
  height: 210px;
  top: 34%;
  left: 30%;
  background: rgba(255,255,255,0.38);
}

.cta {
  margin-bottom: 46px;
  padding: 100px 7%;
  border-radius: 34px;
  color: white;
  text-align: center;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.12), transparent 25%),
    linear-gradient(135deg, #879b88, #667767);
}

.cta .eyebrow {
  color: rgba(255,255,255,0.72);
}

.cta h2 {
  max-width: 850px;
  margin-inline: auto;
}

.cta p:not(.eyebrow) {
  max-width: 580px;
  margin: 26px auto 36px;
  color: rgba(255,255,255,0.78);
}

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

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 150px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand {
  color: #626a4c;
  transform: scale(0.9);
  transform-origin: left center;
}

footer p {
  margin: 0;
}

.footer-links {
  justify-self: end;
  display: flex;
  gap: 24px;
}

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

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .intro {
    grid-template-columns: 50px 1fr;
  }

  .intro-copy {
    grid-column: 2;
  }

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

  .value-grid,
  .approach {
    grid-template-columns: 1fr;
  }

  .approach-visual {
    min-height: 480px;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 36px 0;
  }

  .footer-links {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    min-height: 76px;
  }

  .brand {
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 46px;
  }

  .header-link {
    padding: 9px 13px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: auto;
    gap: 48px;
    padding: 62px 0 70px;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5.3rem);
  }

  h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 420px;
    border-radius: 24px;
  }

  .orb-large {
    width: 330px;
    height: 330px;
  }

  .glass-card {
    left: 8%;
    top: 18%;
    padding: 24px;
  }

  .glass-card p {
    font-size: 1.8rem;
  }

  .glass-card strong {
    font-size: 2.5rem;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 100px 0;
  }

  .section-number,
  .intro-copy {
    grid-column: auto;
  }

  .value-grid {
    gap: 14px;
  }

  .value-card {
    min-height: 280px;
  }

  .value-card h3 {
    margin-top: 74px;
  }

  .quote-section {
    padding: 86px 24px;
    border-radius: 24px;
  }

  .approach {
    padding: 100px 0;
  }

  .approach-visual {
    min-height: 390px;
  }

  .approach-visual span {
    font-size: 11rem;
  }

  .cta {
    padding: 74px 24px;
    border-radius: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
