:root {
  --ink: #242321;
  --cream: #f7f2ea;
  --paper: #fffdf9;
  --rust: #b8421d;
  --orange: #e65f2a;
  --line: rgba(36, 35, 33, .18);
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --signature: "Allura", "Segoe Script", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 18px; line-height: 1.6; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { height: 160px; max-width: 1440px; margin: auto; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; background: var(--paper); }
.brand { display: inline-flex; flex-direction: column; width: max-content; color: var(--rust); text-decoration: none; line-height: 1; letter-spacing: .05em; }
.brand-name { font: 400 1.6rem/1 var(--serif); }
.brand-sub { margin-top: .42rem; font: 600 .58rem/1 var(--sans); letter-spacing: .28em; text-align: center; }
.brand-logo { width: min(480px, 45vw); }
.brand-logo img { display: block; width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 2rem; font-size: .85rem; font-weight: 600; }
.main-nav a { text-decoration: none; }
.main-nav a:not(.nav-cta):hover { color: var(--rust); }
.nav-cta { border-bottom: 2px solid var(--rust); padding: .45rem 0; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { min-height: 690px; padding: 7rem max(5vw, calc((100vw - 1280px) / 2)); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr); gap: 7vw; align-items: center; background: var(--cream); border-top: 1px solid var(--line); }
.eyebrow { margin: 0 0 1.5rem; color: var(--rust); font-size: .72rem; font-weight: 600; letter-spacing: .2em; }
h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 400; }
h1 { max-width: 850px; margin: 0; font-size: clamp(4rem, 6.6vw, 7rem); line-height: .96; letter-spacing: -.035em; }
h1 em, h2 em { color: var(--rust); font-style: italic; }
.hero-intro { max-width: 690px; margin: 2.2rem 0 0; font-size: 1.1rem; line-height: 1.65; }
.hero-actions { margin-top: 2.5rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; padding: .85rem 1.45rem; border: 1px solid transparent; font: 600 .82rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--rust); }
.button-primary:hover { background: #963514; }
.text-link { font-size: .84rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .3rem; }
.hero-card { align-self: stretch; min-height: 430px; padding: 2.2rem; color: var(--cream); background: var(--rust); display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.hero-card::before { content: ""; position: absolute; z-index: 2; inset: 1.2rem; border: 1px solid rgba(255,255,255,.35); pointer-events: none; }
.hero-card::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(to bottom, rgba(169,60,25,.08) 8%, rgba(77,25,12,.3) 48%, rgba(31,16,12,.94) 100%); pointer-events: none; }
.hero-card-photo { position: absolute; z-index: 0; top: 0; right: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 15%; filter: saturate(.82) contrast(1.04); }
.hero-monogram { position: absolute; z-index: 2; top: 1.35rem; right: 1.8rem; font: 400 5.5rem/.9 var(--signature); color: rgba(255,255,255,.82); letter-spacing: -.04em; text-shadow: 0 2px 14px rgba(40,15,8,.2); }
.hero-card blockquote { position: relative; z-index: 2; margin: 0 0 2rem; font-size: 2rem; line-height: 1.15; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero-card p { position: relative; z-index: 2; margin: 0; font-size: .82rem; font-weight: 600; }
.hero-card p span { opacity: .72; font-weight: 400; }

.trust-bar { max-width: 1280px; margin: -1px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--paper); }
.trust-bar div { min-height: 145px; padding: 2rem; display: grid; align-content: center; }
.trust-bar div + div { border-left: 1px solid var(--line); }
.trust-bar strong { font: 400 1.35rem/1.2 var(--serif); }
.trust-bar small { margin-top: .45rem; color: #6b6761; font-size: .88rem; line-height: 1.5; }

.section-pad { padding: 8rem max(5vw, calc((100vw - 1280px) / 2)); }
.split-heading { display: grid; grid-template-columns: 1.05fr .75fr; gap: 10vw; align-items: start; }
h2 { margin: 0; font-size: clamp(3.2rem, 5vw, 5.2rem); line-height: 1.02; letter-spacing: -.035em; }
.split-heading > div { padding-top: .5rem; }
.split-heading p { margin: 0 0 1.2rem; }
.services { background: var(--cream); }
.section-heading { max-width: 820px; margin-bottom: 4.5rem; }
.section-heading > p:last-child { max-width: 560px; margin-top: 1.5rem; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.service-grid article { min-height: 295px; padding: 2.6rem 5vw 2.6rem 0; border-bottom: 1px solid var(--line); }
.service-grid article:nth-child(even) { padding-left: 5vw; border-left: 1px solid var(--line); }
.service-grid .service-wide { grid-column: 1 / -1; min-height: 0; padding-right: 0; border-left: 0; text-align: center; }
.service-grid .service-wide p { max-width: 820px; margin-inline: auto; }
.service-grid h3 { margin: 0 0 .8rem; font-size: 2rem; line-height: 1.12; }
.service-grid p { max-width: 510px; margin: 0; color: #58544f; font-size: 1.05rem; }

.about { display: grid; grid-template-columns: .65fr 1.15fr; gap: 10vw; align-items: center; color: white; background: var(--rust); }
.about .eyebrow { color: #ffc5ad; }
.about-photo { width: min(100%, 460px); margin: 0; position: relative; }
.about-photo::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1px solid rgba(255,255,255,.45); pointer-events: none; }
.about-photo::after { content: ""; position: absolute; z-index: 1; inset: 38% 0 0; background: linear-gradient(to bottom, transparent, rgba(10,15,24,.9)); pointer-events: none; }
.about-photo > img:first-child { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 36%; filter: saturate(.86) contrast(1.04); }
.about-photo figcaption { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; padding: 4rem 2rem 1.8rem; display: flex; flex-direction: column; align-items: flex-start; color: white; line-height: 1.2; }
.photo-kicker { margin-bottom: .5rem; color: #ffc5ad; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.about-photo figcaption strong { font: 400 3.6rem/.92 var(--signature); letter-spacing: .01em; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.photo-company { margin-top: .55rem; padding-top: .6rem; border-top: 1px solid rgba(255,255,255,.5); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.about-copy h2 { max-width: 760px; font-size: clamp(3rem, 4.5vw, 4.7rem); }
.about-copy > p:not(.eyebrow) { max-width: 720px; }
.text-link.dark { display: inline-block; margin-top: 1rem; }

.testimonials { background: var(--cream); }
.testimonial-heading { display: grid; grid-template-columns: .5fr 1fr; gap: 5vw; align-items: start; }
.testimonial-heading h2 { max-width: 880px; }
.testimonial-list { margin-top: 3.5rem; display: grid; gap: 1rem; }
.testimonial-story { display: grid; grid-template-columns: minmax(210px, .45fr) minmax(0, 1.55fr); border: 1px solid var(--line); background: var(--paper); }
.client-story-marker { min-height: 250px; padding: 1.5rem; display: grid; place-content: center; justify-items: center; gap: .9rem; border-right: 1px solid var(--line); background: #eee8df; color: #746d64; text-align: center; }
.client-story-marker img { display: block; width: 68px; height: 68px; object-fit: contain; }
.client-story-marker span { font-size: .75rem; font-weight: 600; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.client-story-marker.client-logo { background: #405e9b; }
.client-story-marker.client-logo img { width: min(100%, 240px); height: auto; }
.client-story-marker.abh-logo { background: #fff; }
.client-story-marker.abh-logo img { width: min(100%, 185px); height: auto; }
.testimonial-content { position: relative; padding: 2.5rem 3rem; }
.testimonial-content blockquote { position: relative; max-width: 820px; margin: 0; font-size: clamp(1.35rem, 1.85vw, 1.75rem); line-height: 1.35; }
.testimonial-words { margin: 1.25rem 0 0; color: var(--rust); font-weight: 600; }
.testimonial-attribution { margin: 1.25rem 0 0; color: #58544f; font-size: .9rem; line-height: 1.45; }
.testimonial-attribution strong { color: var(--ink); }

.process { background: var(--paper); }
.section-heading.compact { margin-bottom: 2.8rem; }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-list li { display: block; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.process-list h3 { margin: 0 0 .5rem; font-size: 2rem; }
.process-list p { max-width: 760px; margin: 0; color: #58544f; font-size: 1.05rem; }

.contact { color: white; background: var(--ink); }
.contact .eyebrow { color: #ff8b5c; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.contact-grid > div p { max-width: 580px; color: #d6d2cb; }
.contact-form { display: grid; gap: 1.25rem; }
.contact-form label { display: grid; gap: .45rem; color: #d6d2cb; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; padding: .9rem 0; border: 0; border-bottom: 1px solid #807d77; border-radius: 0; outline: none; color: white; background: transparent; font: 400 1rem/1.5 var(--sans); }
.contact-form input:focus, .contact-form textarea:focus { border-color: #ff8b5c; }
.button-dark { width: max-content; margin-top: .75rem; color: var(--ink); background: var(--cream); }
.contact-form .button:disabled { opacity: .65; cursor: wait; transform: none; }
.form-note { min-height: 1.5rem; margin: 0; color: #ffb493; font-size: .8rem; }

.giving-back { display: flex; align-items: center; justify-content: center; gap: clamp(2rem, 5vw, 5rem); padding: 2.75rem 5vw; background: var(--cream); border-top: 1px solid var(--line); }
.giving-back img { width: min(250px, 34vw); height: auto; }
.giving-back div { max-width: 590px; }
.giving-back .eyebrow { margin-bottom: .65rem; color: var(--rust); }
.giving-back div > p:last-child { margin: 0; color: #58544f; font-size: 1rem; line-height: 1.65; }

footer { padding: 3.5rem 5vw; display: grid; grid-template-columns: minmax(360px, 1fr) auto 1fr; align-items: end; gap: 2rem; color: var(--cream); background: #171715; }
.footer-logos { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-logo { width: 280px; max-width: 100%; background: white; }
.ico-logo { display: block; width: 130px; height: auto; background: white; }
.policybee-logo { display: block; width: 96px; height: auto; }
footer p { margin: 0; color: #aaa59e; font-size: .72rem; }
.footer-details { display: grid; gap: .55rem; }
.footer-policy-link { width: max-content; max-width: 100%; color: #d8d3ca; font-size: .72rem; line-height: 1.5; text-underline-offset: .22em; }
.footer-policy-link:hover, .footer-policy-link:focus-visible { color: white; }
.copyright { text-align: right; }

@media (max-width: 820px) {
  body { font-size: 17px; }
  .site-header { height: 118px; padding: 0 24px; position: relative; }
  .brand-name { font-size: 1.3rem; }
  .site-header .brand-logo { width: min(330px, 82vw); }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; z-index: 10; top: 118px; left: 0; right: 0; padding: 1.5rem 24px 2rem; flex-direction: column; align-items: flex-start; gap: 1rem; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 10px 25px rgba(0,0,0,.08); }
  .main-nav.open { display: flex; }
  .hero { min-height: 0; padding: 5rem 24px 2rem; grid-template-columns: 1fr; gap: 3.5rem; }
  h1 { font-size: clamp(3.25rem, 15vw, 4.7rem); }
  .hero-intro { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.4rem; }
  .hero-card { min-height: 330px; }
  .hero-card blockquote { max-width: 340px; font-size: 1.8rem; }
  .trust-bar { margin: 0; grid-template-columns: 1fr; border-left: 0; border-right: 0; }
  .trust-bar div { min-height: 125px; padding: 1.5rem 24px; }
  .trust-bar div + div { border-left: 0; border-top: 1px solid var(--line); }
  .section-pad { padding: 5.5rem 24px; }
  .split-heading, .contact-grid, .about { grid-template-columns: 1fr; gap: 3rem; }
  h2 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .section-heading { margin-bottom: 3rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article, .service-grid article:nth-child(even) { min-height: 0; padding: 2.3rem 0; border-left: 0; }
  .service-grid h3 { font-size: 1.75rem; }
  .about-photo { width: calc(100% - 16px); max-width: 420px; margin-left: 16px; }
  .about-photo img { aspect-ratio: 4 / 5; }
  .about-photo figcaption { padding: 3rem 1.4rem 1.4rem; }
  .about-photo figcaption strong { font-size: 3.15rem; }
  .testimonial-heading { grid-template-columns: 1fr; gap: 1rem; }
  .testimonial-list { margin-top: 2.5rem; }
  .testimonial-story { grid-template-columns: 1fr; }
  .client-story-marker { min-height: 130px; border-right: 0; border-bottom: 1px solid var(--line); }
  .testimonial-content { padding: 2rem 1.5rem; }
  .process-list li { display: block; }
  .process-list h3 { font-size: 1.7rem; }
  .giving-back { align-items: flex-start; padding: 2.5rem 24px; flex-direction: column; gap: 1.5rem; }
  .giving-back img { width: min(250px, 72vw); }
  footer { grid-template-columns: 1fr; align-items: start; }
  .copyright { text-align: left; }
}

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