:root {
  --ink: #18211f;
  --ink-soft: #34413d;
  --forest: #12352c;
  --green: #315c4c;
  --sage: #dce6df;
  --paper: #f7f3eb;
  --ivory: #fffaf2;
  --line: #ded5c6;
  --brass: #a47b43;
  --brass-dark: #7d5d32;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(18, 35, 30, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 243, 235, 0.92);
  border-bottom: 1px solid rgba(222, 213, 198, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--forest);
  color: var(--ivory);
  border: 1px solid rgba(164, 123, 67, 0.55);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  letter-spacing: 0.08em;
  font-size: 15px;
}

.brand small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 12px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: clamp(8px, 1.6vw, 22px);
    align-items: center;
    color: var(--ink-soft);
    font-size: 14px;
}

.nav-links a {
    position: relative;
    padding: 12px 18px;
    border-radius: 12px;
    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 7px;
    height: 2px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.nav-links a:hover {
    background: rgba(49,92,76,.08);
    color: var(--forest);
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.header-cta,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.header-cta:hover,
.primary-button:hover {
  background: var(--brass-dark);
  border-color: var(--brass-dark);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(30px, 6vw, 72px) clamp(18px, 4vw, 56px);
  background: #0e1916;
  color: var(--ivory);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13, 24, 21, 0.94) 0%, rgba(13, 24, 21, 0.8) 39%, rgba(13, 24, 21, 0.5) 67%, rgba(13, 24, 21, 0.72) 100%),
    url("assets/hero-finance-office.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 25%;
  background: linear-gradient(0deg, rgba(14, 25, 22, 0.78), rgba(14, 25, 22, 0));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 470px);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.eyebrow,
.panel-kicker,
.role {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 250, 242, 0.84);
  font-size: clamp(17px, 1.5vw, 21px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 640px;
  margin-top: 34px;
}

.hero-points span {
  padding: 9px 12px;
  background: rgba(255, 250, 242, 0.1);
  border: 1px solid rgba(255, 250, 242, 0.18);
  color: rgba(255, 250, 242, 0.9);
  font-size: 13px;
}

.lead-panel {
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 250, 242, 0.96);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-panel h2 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.3vw, 35px);
  font-weight: 500;
  line-height: 1.12;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.lead-form .full {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.lead-form input {
  height: 46px;
  padding: 0 12px;
}

.lead-form textarea {
  resize: vertical;
  min-height: 96px;
  padding: 11px 12px;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(49, 92, 76, 0.13);
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--green);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.form-status.error {
  color: #9b392f;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.metric {
  padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 56px);
  background: var(--ivory);
}

.metric strong {
  display: block;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.1;
}

.metric span {
  display: block;
  max-width: 330px;
  margin-top: 7px;
  color: var(--ink-soft);
}

.section,
.split-section,
.values-section,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 118px) 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading.compact {
  max-width: 690px;
}

.section-heading h2,
.split-section h2,
.values-section h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.split-section p,
.values-section p,
.contact-section p {
  color: var(--ink-soft);
  font-size: 17px;
}

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

.service-card,
.team-card {
  min-height: 100%;
  padding: 26px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card.highlighted {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--ivory);
}

.card-number {
  color: var(--brass);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.service-card h3,
.list-panel h3,
.team-card h3 {
  margin: 16px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.18;
}

.service-card p,
.list-panel p,
.team-card p {
  margin: 0;
  color: var(--ink-soft);
}

.service-card.highlighted p {
  color: rgba(255, 250, 242, 0.78);
}

.process-section {
  width: 100%;
  max-width: none;
  padding-inline: clamp(18px, 4vw, 56px);
  background: var(--forest);
  color: var(--ivory);
}

.process-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 250, 242, 0.75);
}

.process-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.process-card,
.process-summary {
  position: relative;
  min-height: 100%;
  padding: 26px;
  background: #183d34;
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: 8px;
}

.process-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--brass);
  border-radius: 8px 0 0 8px;
  opacity: 0.76;
}

.process-icon,
.value-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 20px;
  color: var(--brass);
  border: 1px solid rgba(164, 123, 67, 0.45);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.06);
}

.process-icon svg,
.value-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-step {
  position: absolute;
  top: 26px;
  right: 26px;
  color: rgba(255, 250, 242, 0.32);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
}

.process-card h3,
.process-summary h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.18;
}

.process-card p,
.process-summary p {
  margin: 0;
  color: rgba(255, 250, 242, 0.76);
}

.process-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 250, 242, 0.82);
  font-size: 14px;
}

.process-card li {
  position: relative;
  padding-left: 18px;
}

.process-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--brass);
}

.process-summary {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr) minmax(220px, auto);
  grid-template-areas:
    "kicker text cta"
    "title text cta";
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.08), rgba(255, 250, 242, 0.03)),
    #102c25;
}

.process-summary .panel-kicker {
  grid-area: kicker;
  margin: 0;
}

.process-summary h3 {
  grid-area: title;
}

.process-summary p:not(.panel-kicker) {
  grid-area: text;
}

.process-summary a {
  grid-area: cta;
  display: grid;
  min-height: 48px;
  padding: 0 18px;
  place-items: center;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: var(--white);
  font-weight: 800;
  text-align: center;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.list-panel {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.list-panel div {
  padding: 26px;
  background: var(--ivory);
}

.list-panel h3 {
  margin-top: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.team-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
}

.team-card.muted {
  background: var(--sage);
}

.avatar {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  background: var(--forest);
  color: var(--ivory);
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.team-card h3 {
  margin-top: 0;
}

.role {
  margin-bottom: 8px;
}

.values-section {
  width: 100%;
  max-width: none;
  padding-inline: clamp(18px, 4vw, 56px);
  background: var(--ivory);
}

.values-hero,
.values-showcase,
.values-proof {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.values-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.values-hero h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
}

.values-hero p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.values-showcase {
  display: grid;
  grid-template-columns: 1.08fr repeat(2, minmax(0, 0.96fr));
  gap: 16px;
}

.value-feature,
.value-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f3eb 100%);
}

.value-feature {
  grid-row: span 3;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(18, 53, 44, 0.06), rgba(18, 53, 44, 0.16)),
    var(--sage);
}

.value-feature .value-icon,
.value-card .value-icon {
  color: var(--forest);
  background: rgba(18, 53, 44, 0.06);
  border-color: rgba(18, 53, 44, 0.14);
}

.value-feature h3,
.value-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.16;
}

.value-feature h3 {
  font-size: clamp(30px, 3vw, 42px);
}

.value-feature p,
.value-card p {
  margin: 0;
  color: var(--ink-soft);
}

.value-card:last-child {
  grid-column: span 2;
}

.values-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--ivory);
}

.values-proof span {
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.values-proof span:last-child {
  border-right: 0;
}

.partners-section {
  padding-bottom: clamp(58px, 7vw, 86px);
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--ivory);
}

.partner-strip span {
  display: grid;
  min-height: 118px;
  place-items: center;
  padding: 20px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 800;
  text-align: center;
}

.partner-strip span:last-child {
  border-right: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  margin-bottom: 24px;
  padding-inline: clamp(24px, 5vw, 60px);
  background: var(--forest);
  color: var(--ivory);
  border-radius: 8px;
}

.contact-section p {
  color: rgba(255, 250, 242, 0.74);
}

.contact-box {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 8px;
}

.contact-box a,
.contact-box span {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 250, 242, 0.16);
  color: var(--ivory);
  overflow-wrap: anywhere;
}

.contact-box a:last-child {
  padding: 12px 16px;
  border: 1px solid var(--brass);
  background: var(--brass);
  text-align: center;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--ink-soft);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.result-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(13, 24, 21, 0.88), rgba(13, 24, 21, 0.72)),
    url("assets/hero-finance-office.png") center / cover no-repeat;
}

.result-box {
  width: min(620px, 100%);
  padding: clamp(28px, 5vw, 46px);
  background: rgba(255, 250, 242, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.result-box h1 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 500;
  line-height: 1.05;
}

.result-box p:not(.eyebrow) {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 17px;
}

.result-error .eyebrow {
  color: #9b392f;
}

@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .service-grid,
  .values-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-layout {
    grid-template-columns: 1fr;
  }

  .process-summary {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "title"
      "text"
      "cta";
    align-items: start;
  }

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

  .partner-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-strip span:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(13, 24, 21, 0.94) 0%, rgba(13, 24, 21, 0.78) 58%, rgba(13, 24, 21, 0.9) 100%),
      url("assets/hero-finance-office.png") center / cover no-repeat;
  }

  .hero h1 {
    font-size: 45px;
  }

  .lead-form,
  .intro-band,
  .service-grid,
  .values-hero,
  .values-showcase,
  .values-proof,
  .partner-strip,
  .team-card {
    grid-template-columns: 1fr;
  }

  .process-card,
  .process-summary,
  .value-feature,
  .value-card {
    padding: 22px;
  }

  .process-step {
    top: 22px;
    right: 22px;
    font-size: 32px;
  }

  .value-feature {
    min-height: 0;
  }

  .value-card:last-child {
    grid-column: auto;
  }

  .values-proof span {
    min-height: 68px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .values-proof span:last-child {
    border-bottom: 0;
  }

  .team-card {
    gap: 18px;
  }

  .avatar {
    width: 72px;
    height: 72px;
    font-size: 25px;
  }

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

  .partner-strip span:last-child {
    border-bottom: 0;
  }

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

.reveal{

    opacity:0;

    transform:translateY(40px);

    transition:
        opacity .8s ease,
        transform .8s ease;

}

.reveal.show{

    opacity:1;

    transform:translateY(0);

}

/* ===========================
   ACTIVE MENU
=========================== */

.nav-links a.active{

    background: rgba(49,92,76,.10);

    color: var(--forest);

    border-radius:12px;

}

.nav-links a.active::after{

    transform:scaleX(1);

}

/* ===========================
MOBILE MENU
=========================== */

.menu-toggle{

    display:none;

    width:46px;

    height:46px;

    border:none;

    background:none;

    cursor:pointer;

    padding:0;

}

.menu-toggle span{

    display:block;

    width:26px;

    height:2px;

    margin:6px auto;

    background:var(--forest);

    transition:.3s;

}

@media (max-width:900px){

.site-header{

    position:sticky;

}

.menu-toggle{

    display:block;

    z-index:1001;

}

.header-cta{

    display:none;

}

.nav-links{

    position:fixed;

    top:76px;

    left:0;

    width:100%;

    background:rgba(255,250,242,.98);

    backdrop-filter:blur(16px);

    display:flex;

    flex-direction:column;

    gap:0;

    padding:20px;

    transform:translateY(-120%);

    transition:.35s;

    box-shadow:0 12px 40px rgba(0,0,0,.08);

}

.nav-links a{

    width:100%;

    padding:18px;

    border-radius:10px;

}

.nav-links.open{

    transform:translateY(0);

}

.menu-toggle.active span:nth-child(1){

    transform:rotate(45deg) translateY(11px);

}

.menu-toggle.active span:nth-child(2){

    opacity:0;

}

.menu-toggle.active span:nth-child(3){

    transform:rotate(-45deg) translateY(-11px);

}

}