:root {
  --evergreen: #0b2f28;
  --evergreen-deep: #061f1a;
  --evergreen-soft: #16473d;
  --ivory: #f6f2e8;
  --ivory-deep: #e9e1d2;
  --paper-white: #fffdf8;
  --sun: #d8ad42;
  --sun-pale: #f2df9d;
  --carbon: #15211f;
  --quiet: #64706b;
  --hairline: rgba(11, 47, 40, .16);
  --display-v2: "Cormorant Garamond", Georgia, serif;
  --sans-v2: "DM Sans", Arial, sans-serif;
  --shadow-v2: 0 28px 80px rgba(6, 31, 26, .14);
}

html { scroll-padding-top: 116px; }
body {
  color: var(--carbon);
  background: var(--ivory);
  font-family: var(--sans-v2);
  font-size: 16px;
  line-height: 1.65;
}
.shell { width: min(1240px, calc(100% - 64px)); }
.section-title,
.page-hero h1,
.cta h2,
.contact-form h2 {
  font-family: var(--display-v2);
  font-weight: 600;
  letter-spacing: -.045em;
}
.section-title { max-width: 820px; font-size: clamp(2.8rem, 5.3vw, 5rem); line-height: .94; }
.lead { color: #56615c; font-size: 1.08rem; line-height: 1.75; }
.eyebrow {
  gap: 11px;
  color: var(--sun);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .19em;
}
.eyebrow::before { width: 24px; height: 1px; border-radius: 0; }

/* Global wayfinding */
.site-header {
  background: rgba(6, 31, 26, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(18px);
}
.site-header.scrolled { background: rgba(6, 31, 26, .985); }
.utility-bar { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.utility-row {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, .62);
  font-size: .69rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.utility-row div { display: flex; align-items: center; gap: 18px; }
.utility-row a { color: var(--sun-pale); transition: color .2s ease; }
.utility-row a:hover { color: #fff; }
.header-row { min-height: 74px; }
.brand img { height: 38px; }
.nav { gap: 7px; }
.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .83);
  font-size: .84rem;
  font-weight: 600;
}
.nav a:not(.button)::after { display: none; }
.nav a:not(.button):hover,
.nav a:not(.button)[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .button { min-height: 42px; margin-left: 8px; padding: 10px 17px; color: var(--evergreen-deep); }
.button {
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 4px;
  font-size: .87rem;
  font-weight: 750;
  letter-spacing: .01em;
}
.button-gold { background: var(--sun); }
.button-gold:hover { background: #e5be5d; }
.button-ivory { color: var(--evergreen-deep); background: var(--paper-white); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.button-ghost:hover { border-color: var(--sun); }

/* Homepage */
.home-hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  color: #fff;
  background: var(--evergreen-deep);
}
.home-hero::before {
  position: absolute;
  width: 540px;
  height: 540px;
  top: -230px;
  left: -210px;
  border: 1px solid rgba(216, 173, 66, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 76px rgba(216, 173, 66, .025), 0 0 0 152px rgba(216, 173, 66, .02);
  content: "";
}
.home-hero-grid {
  position: relative;
  z-index: 2;
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
}
.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 92px 80px 86px 0;
}
.home-hero .eyebrow { margin-bottom: 27px; color: var(--sun-pale); }
.home-hero h1 {
  max-width: 730px;
  margin: 0;
  font-family: var(--display-v2);
  font-size: clamp(4.1rem, 7.2vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .82;
}
.home-hero h1 em { display: block; color: var(--sun); font-weight: 500; }
.home-hero .hero-summary { max-width: 610px; margin: 31px 0 0; color: rgba(255,255,255,.7); font-size: 1.07rem; line-height: 1.75; }
.hero-actions-v2 { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 32px;
  color: rgba(255,255,255,.52);
  font-size: .77rem;
}
.hero-note::before { width: 36px; height: 1px; background: var(--sun); content: ""; }
.home-hero-visual {
  position: relative;
  min-height: 620px;
  margin: 46px 0 46px;
  overflow: hidden;
  border-radius: 4px 4px 80px 4px;
  background: linear-gradient(180deg, rgba(6,31,26,.03), rgba(6,31,26,.78)), url("calvenor-cities.png") center / cover;
  box-shadow: var(--shadow-v2);
}
.home-hero-visual::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(216,173,66,.12), transparent 45%);
  content: "";
}
.visual-index { position: absolute; top: 24px; right: 25px; color: var(--sun-pale); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.portfolio-pulse {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(420px, 91%);
  padding: 26px 28px 27px;
  color: #fff;
  background: rgba(7, 35, 29, .92);
  backdrop-filter: blur(10px);
}
.portfolio-pulse span { display: block; color: var(--sun-pale); font-size: .67rem; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
.portfolio-pulse strong { display: block; margin: 8px 0 5px; font-family: var(--display-v2); font-size: 2rem; font-weight: 500; line-height: 1; }
.portfolio-pulse p { margin: 0; color: rgba(255,255,255,.65); font-size: .8rem; }

.proof-strip { background: var(--paper-white); border-bottom: 1px solid var(--hairline); }
.proof-grid { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); }
.proof-item { min-height: 118px; padding: 25px 27px; border-right: 1px solid var(--hairline); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-item span { display: block; color: var(--quiet); font-size: .67rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.proof-item strong { display: block; margin-top: 7px; color: var(--evergreen); font-family: var(--display-v2); font-size: 1.42rem; font-weight: 600; line-height: 1.1; }
.proof-item p { margin: 5px 0 0; color: var(--quiet); font-size: .76rem; }

.pathfinder { padding: 122px 0; background: var(--ivory); }
.section-heading-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 410px); gap: 70px; align-items: end; margin-bottom: 54px; }
.section-heading-row .lead { margin: 0; }
.need-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.need-card {
  position: relative;
  min-height: 300px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--paper-white);
  transition: transform .3s ease, color .3s ease, background .3s ease, box-shadow .3s ease;
}
.need-card::after {
  position: absolute;
  right: -56px;
  bottom: -62px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(216,173,66,.42);
  border-radius: 50%;
  content: "";
  transition: transform .35s ease;
}
.need-card:hover { transform: translateY(-7px); color: #fff; background: var(--evergreen); box-shadow: var(--shadow-v2); }
.need-card:hover::after { transform: scale(1.8); }
.need-card .need-top { display: flex; align-items: center; justify-content: space-between; color: var(--quiet); font-size: .67rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.need-card:hover .need-top { color: var(--sun-pale); }
.need-card h3 { max-width: 420px; margin: 60px 0 12px; font-family: var(--display-v2); font-size: 2.35rem; font-weight: 600; letter-spacing: -.04em; line-height: .98; }
.need-card p { max-width: 430px; margin: 0; color: var(--quiet); font-size: .9rem; }
.need-card:hover p { color: rgba(255,255,255,.68); }
.need-card .need-link { position: absolute; bottom: 31px; left: 34px; color: var(--evergreen); font-size: .79rem; font-weight: 800; }
.need-card:hover .need-link { color: var(--sun-pale); }

.role-section { padding: 118px 0; color: #fff; background: var(--evergreen); }
.role-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 95px; align-items: start; }
.role-copy { position: sticky; top: 145px; }
.role-copy .section-title { font-size: clamp(3rem, 5vw, 5.4rem); }
.role-copy .lead { color: rgba(255,255,255,.65); }
.role-list { border-top: 1px solid rgba(255,255,255,.18); }
.role-item { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.role-item > span { color: var(--sun); font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.role-item h3 { margin: 0 0 7px; font-size: 1.15rem; }
.role-item p { margin: 0; color: rgba(255,255,255,.61); font-size: .88rem; }

.operating-model { padding: 122px 0; background: var(--paper-white); }
.operating-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 52px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.operating-card { min-height: 255px; padding: 27px 28px; border-right: 1px solid var(--hairline); }
.operating-card:last-child { border-right: 0; }
.operating-card b { color: var(--sun); font-size: .7rem; letter-spacing: .15em; }
.operating-card h3 { margin: 78px 0 10px; font-family: var(--display-v2); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.operating-card p { margin: 0; color: var(--quiet); font-size: .84rem; }

.faq-section { padding: 120px 0; background: var(--ivory-deep); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 95px; align-items: start; }
.faq-list { border-top: 1px solid var(--hairline); }
.faq-list details { padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.faq-list summary { position: relative; padding-right: 44px; color: var(--evergreen); font-family: var(--display-v2); font-size: 1.6rem; font-weight: 600; line-height: 1.12; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 0; right: 4px; color: var(--sun); font-family: var(--sans-v2); font-size: 1.1rem; content: "+"; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 650px; margin: 15px 0 0; color: var(--quiet); font-size: .91rem; }

.home-cta { padding: 105px 0; background: var(--sun); }
.home-cta-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr); gap: 80px; align-items: end; }
.home-cta h2 { margin: 0; font-family: var(--display-v2); font-size: clamp(3.2rem, 6vw, 6.2rem); font-weight: 600; letter-spacing: -.055em; line-height: .86; }
.home-cta p { margin: 0 0 23px; color: rgba(6,31,26,.75); }

/* Inner pages */
.page-hero {
  position: relative;
  min-height: 485px;
  display: flex;
  align-items: end;
  padding: 130px 0 84px;
  overflow: hidden;
  background: var(--evergreen-deep);
}
.page-hero::before {
  position: absolute;
  top: -230px;
  right: -170px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(216,173,66,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 95px rgba(216,173,66,.028), 0 0 0 190px rgba(216,173,66,.018);
  content: "";
}
.page-hero .shell { position: relative; z-index: 1; }
.page-hero h1 { max-width: 980px; font-size: clamp(3.5rem, 7.5vw, 7.6rem); font-weight: 500; line-height: .84; }
.page-hero .lead { max-width: 720px; color: rgba(255,255,255,.67); }
.content-section { padding: 112px 0; }
.content-section.alternate { background: var(--ivory-deep); }
.content-section.dark,
.dark-section { color: #fff; background: var(--evergreen); }
.intro { padding: 112px 0; background: var(--ivory); }
.split-intro { gap: 100px; }
.stamp { padding: 32px; border: 0; border-top: 3px solid var(--sun); color: #46514d; background: var(--paper-white); box-shadow: var(--shadow-v2); }
.stamp b { color: var(--evergreen); }
.brand-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
.brand-card { min-height: 320px; padding: 32px; border-radius: 4px; background: #10382f; }
.brand-card h3 { margin-top: 65px; font-family: var(--display-v2); font-size: 2.45rem; font-weight: 600; }
.brand-card p { max-width: 440px; }
.principles { padding: 112px 0; background: var(--ivory-deep); }
.principle-grid { gap: 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.principle { min-height: 255px; padding: 28px; border: 0; border-right: 1px solid var(--hairline); border-radius: 0; background: transparent; }
.principle:last-child { border-right: 0; }
.principle b { margin-bottom: 72px; color: #9c7519; }
.principle h3 { font-family: var(--display-v2); font-size: 1.65rem; font-weight: 600; }
.principle:hover { transform: none; border-color: var(--hairline); box-shadow: none; background: rgba(255,255,255,.4); }
.support-card,
.team-card,
.contact-item,
.policy-note,
.contact-form,
.legal-firm-card { border-radius: 4px; }
.team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
.team-card { display: grid; grid-template-columns: minmax(180px, .82fr) minmax(0, 1.18fr); }
.team-card img { height: 100%; aspect-ratio: auto; object-position: center top; }
.team-card-content { padding: 31px; }
.team-card h3 { font-family: var(--display-v2); font-size: 2rem; font-weight: 600; }
.team-bio { border: 0; border-top: 1px solid var(--hairline); border-radius: 0; background: transparent; }
.corporate-details div { padding: 19px 0; }
.statement { gap: 100px; }
.statement-quote { border-left-color: var(--sun); font-family: var(--display-v2); font-size: 1.85rem; }
.contact-layout { gap: 90px; }
.contact-form { padding: 40px; background: var(--paper-white); box-shadow: var(--shadow-v2); }
.field input, .field textarea { border-radius: 2px; background: var(--ivory); }
.cta { padding: 90px 0; color: var(--evergreen-deep); background: var(--sun); }
.cta h2 { max-width: 780px; font-size: clamp(2.5rem, 4.5vw, 4.5rem); }
.cta .button { color: #fff; background: var(--evergreen-deep); }

/* Footer and persistent contact */
.site-footer { padding: 80px 0 30px; background: var(--evergreen-deep); }
.footer-grid { grid-template-columns: 1.3fr .7fr 1fr; gap: 70px; }
.footer-logo { width: 210px; }
.footer-grid p { max-width: 430px; color: rgba(255,255,255,.58); }
.footer-label { color: var(--sun); }
.footer-links a { color: rgba(255,255,255,.74); }
.footer-bottom { color: rgba(255,255,255,.45); }
.contact-dock {
  position: fixed;
  z-index: 18;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 4px;
  background: rgba(6,31,26,.94);
  box-shadow: 0 15px 35px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}
.contact-dock a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 13px; color: #fff; font-size: .75rem; font-weight: 750; }
.contact-dock a:first-child { color: var(--evergreen-deep); background: var(--sun); }
.contact-dock i { width: 7px; height: 7px; border-radius: 50%; background: #42d392; box-shadow: 0 0 0 4px rgba(66,211,146,.12); }

@media (max-width: 1050px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr); }
  .home-hero-copy { padding-right: 44px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
  .role-layout { gap: 55px; }
  .operating-grid { grid-template-columns: repeat(2, 1fr); }
  .operating-card:nth-child(2) { border-right: 0; }
  .operating-card:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(2) { border-right: 0; }
  .principle:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
}

@media (max-width: 800px) {
  .shell { width: min(100% - 34px, 680px); }
  .utility-row > span { display: none; }
  .utility-row { justify-content: flex-end; }
  .utility-row div { width: 100%; justify-content: space-between; gap: 10px; }
  .header-row { min-height: 68px; }
  .brand img { height: 34px; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; }
  .nav { top: 101px; padding: 20px 17px 28px; background: var(--evergreen-deep); }
  .nav a { width: 100%; padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; font-size: 1rem; }
  .nav a:not(.button):hover, .nav a:not(.button)[aria-current="page"] { background: transparent; }
  .nav .button { width: 100%; margin: 10px 0 0; border: 0; }
  .home-hero-grid { min-height: auto; grid-template-columns: 1fr; padding: 0 0 28px; }
  .home-hero-copy { padding: 78px 0 52px; }
  .home-hero h1 { font-size: clamp(3.65rem, 17vw, 5.7rem); }
  .home-hero-visual { min-height: 430px; margin: 0; border-radius: 3px 3px 50px 3px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { min-height: 105px; padding: 20px 17px; }
  .proof-item:first-child { padding-left: 17px; }
  .pathfinder, .role-section, .operating-model, .faq-section { padding: 82px 0; }
  .section-heading-row { grid-template-columns: 1fr; gap: 23px; margin-bottom: 38px; }
  .need-grid { grid-template-columns: 1fr; }
  .need-card { min-height: 270px; padding: 26px; }
  .need-card h3 { margin-top: 46px; }
  .need-card .need-link { left: 26px; bottom: 25px; }
  .role-layout { grid-template-columns: 1fr; gap: 44px; }
  .role-copy { position: static; }
  .operating-grid { grid-template-columns: 1fr; }
  .operating-card { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--hairline); }
  .operating-card:last-child { border-bottom: 0; }
  .operating-card h3 { margin-top: 50px; }
  .faq-layout { grid-template-columns: 1fr; gap: 42px; }
  .home-cta { padding: 78px 0; }
  .home-cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero { min-height: 410px; padding: 95px 0 65px; }
  .page-hero h1 { font-size: clamp(3.45rem, 15vw, 5.8rem); }
  .content-section, .intro, .principles, .dark-section { padding: 80px 0; }
  .split-intro, .corporate-information, .contact-layout, .policy-layout, .statement { grid-template-columns: 1fr; gap: 46px; }
  .brand-grid, .team-grid, .support-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .team-card img { aspect-ratio: 1.2 / 1; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle { min-height: 215px; border-right: 0; border-bottom: 1px solid var(--hairline); }
  .principle h3 { font-size: 1.45rem; }
  .principle b { margin-bottom: 50px; }
  .footer-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-dock { right: 10px; bottom: 10px; }
  .contact-dock a { padding: 9px 11px; }
}

@media (max-width: 520px) {
  .utility-row a:last-child { display: none; }
  .hero-actions-v2 { display: grid; }
  .hero-actions-v2 .button { width: 100%; }
  .home-hero-visual { min-height: 360px; }
  .portfolio-pulse { padding: 21px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .proof-item:last-child { border-bottom: 0; }
  .contact-form { padding: 26px 20px; }
  .contact-dock a:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .need-card, .need-card::after, .button { transition: none; }
}
