@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap");

:root {
  --brand-900: #650000;
  --brand-800: #820000;
  --brand-700: #9a0000;
  --brand-600: #b60101;
  --brand-500: #ce1717;
  --brand-400: #df4141;
  --brand-200: #f4b6b6;
  --brand-100: #fde8e8;
  --brand-050: #fff6f6;
  --ink: #171717;
  --ink-soft: #4b4b4b;
  --muted: #737373;
  --line: #e7e2df;
  --paper: #ffffff;
  --warm: #f7f4f1;
  --warm-dark: #ece6e1;
  --shadow-sm: 0 8px 30px rgba(23, 23, 23, 0.07);
  --shadow-md: 0 24px 60px rgba(23, 23, 23, 0.13);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shell: 1180px;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-left: auto;
  margin-right: auto;
}

.section-pad {
  padding: 110px 0;
}

.section-pad-sm {
  padding: 72px 0;
}

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

.display-title,
h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.08;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 4.4vw, 4.3rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 600;
}

p {
  margin-top: 0;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.75;
}

.muted {
  color: var(--muted);
}

.red-text {
  color: var(--brand-600);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  background: var(--brand-600);
  color: var(--paper);
  box-shadow: 0 12px 28px rgba(182, 1, 1, 0.2);
}

.button-primary:hover {
  background: var(--brand-700);
}

.button-secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--brand-600);
  color: var(--brand-600);
}

.button-light {
  background: var(--paper);
  color: var(--brand-700);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(231, 226, 223, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-600);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 700;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav > a {
  position: relative;
  color: #333333;
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--brand-600);
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav > a:hover::after,
.site-nav > a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand-600);
  color: var(--paper) !important;
}

.nav-cta:hover {
  background: var(--brand-700);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--warm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 92px;
  background: linear-gradient(135deg, var(--paper) 0%, var(--brand-050) 100%);
}

.hero::after {
  position: absolute;
  top: -280px;
  right: -280px;
  width: 640px;
  height: 640px;
  border: 110px solid rgba(182, 1, 1, 0.055);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: 76px;
}

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

.hero-kicker {
  display: inline-flex;
  margin-bottom: 24px;
  align-items: center;
  gap: 10px;
  color: var(--brand-700);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker::before {
  width: 32px;
  height: 2px;
  background: var(--brand-600);
  content: "";
}

.hero-copy .lead {
  max-width: 610px;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: flex;
  margin-top: 42px;
  flex-wrap: wrap;
  gap: 22px 34px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-proof strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 1rem;
}

.hero-media {
  position: relative;
  min-height: 600px;
}

.hero-photo-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 83%;
  height: 540px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--warm-dark);
  box-shadow: var(--shadow-md);
}

.hero-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-photo-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48%;
  height: 260px;
  overflow: hidden;
  border: 10px solid var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.hero-photo-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tag {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: min(270px, 60%);
  padding: 21px 24px;
  border-radius: var(--radius-sm);
  background: var(--brand-600);
  color: var(--paper);
  box-shadow: var(--shadow-md);
}

.hero-tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-tag span {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
  opacity: 0.84;
}

.page-hero {
  padding: 82px 0;
  background: linear-gradient(135deg, var(--warm) 0%, var(--brand-050) 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 70px;
}

.page-hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.page-hero-image {
  height: 460px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-heading {
  display: flex;
  margin-bottom: 50px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading > div {
  max-width: 760px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading .lead {
  max-width: 470px;
  margin-bottom: 4px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  position: relative;
  min-height: 270px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(23, 23, 23, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.info-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.info-card-number {
  margin-bottom: 45px;
  color: var(--brand-600);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.info-card h3 {
  margin-bottom: 12px;
}

.info-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.service-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
}

.service-link {
  display: inline-flex;
  margin-top: 28px;
  align-items: center;
  gap: 8px;
  color: var(--brand-600);
  font-weight: 700;
}

.service-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.service-link:hover::after {
  transform: translateX(4px);
}

.transparent-split {
  background: transparent;
}

.narrow-split-copy {
  max-width: 850px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
}

.split-image {
  min-height: 580px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy {
  display: flex;
  padding: 64px;
  flex-direction: column;
  justify-content: center;
}

.split-copy h2,
.split-copy h3 {
  color: var(--paper);
}

.split-copy .eyebrow {
  color: var(--brand-200);
}

.split-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.split-copy .button {
  align-self: flex-start;
  margin-top: 18px;
}

.red-panel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  color: var(--paper);
}

.red-panel h2,
.red-panel h3 {
  color: var(--paper);
}

.red-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.quote-band {
  padding: 44px 0;
  background: var(--brand-600);
  color: var(--paper);
}

.quote-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.quote-band p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.2;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.tool-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--brand-100);
  color: var(--brand-700);
  font-weight: 800;
}

.tool-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
}

.tool-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.process-step {
  padding-top: 22px;
  border-top: 3px solid var(--brand-100);
}

.process-step strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-600);
  color: var(--paper);
  font-size: 0.86rem;
}

.contact-section {
  background: var(--warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 80px;
}

.contact-copy {
  position: sticky;
  top: 130px;
}

.contact-copy h2 {
  max-width: 520px;
}

.contact-copy > p:not(.eyebrow):not(.contact-tagline) {
  max-width: 490px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.contact-tagline {
  margin-top: 28px;
  color: var(--brand-600);
  font-weight: 700;
}

.contact-form,
.evaluation-form {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: block;
  margin-bottom: 18px;
}

.field > span {
  display: flex;
  margin-bottom: 8px;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #343434;
  font-size: 0.88rem;
  font-weight: 700;
}

.field small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #d9d2cd;
  border-radius: var(--radius-sm);
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input,
.field select {
  height: 52px;
  padding: 0 15px;
}

.field textarea {
  min-height: 120px;
  padding: 14px 15px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(182, 1, 1, 0.09);
}

.form-actions {
  display: flex;
  margin-top: 8px;
  align-items: center;
  gap: 18px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status.is-error {
  color: var(--brand-700);
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-footer {
  padding: 72px 0 26px;
  background: #151515;
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 55px;
}

.footer-mark {
  margin-bottom: 20px;
}

.footer-brand h2 {
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 2rem;
}

.footer-tagline {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brokerage {
  color: var(--brand-200);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-heading {
  margin-bottom: 8px;
  color: var(--paper);
  font-weight: 700;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.94rem;
}

.footer-column a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a:hover {
  color: var(--paper);
}

.legal-page {
  padding: 90px 0 110px;
  background: var(--warm);
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.legal-card h1 {
  margin-bottom: 12px;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
}

.legal-card h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
}

.legal-card a {
  color: var(--brand-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.thank-you-page {
  display: flex;
  min-height: 65vh;
  padding: 90px 0;
  align-items: center;
  background: linear-gradient(135deg, var(--warm), var(--brand-050));
}

.thank-you-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(38px, 7vw, 78px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.thank-you-card .brand-mark {
  margin: 0 auto 26px;
}

.thank-you-card h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}

.thank-you-card p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.thank-you-card .button {
  margin-top: 20px;
}

@media (max-width: 1000px) {
  .site-shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .section-pad {
    padding: 86px 0;
  }

  .hero-grid,
  .page-hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .page-hero-grid {
    gap: 48px;
  }

  .hero-grid .hero-media {
    order: -1;
  }

  .hero-media {
    width: min(100%, 680px);
    min-height: 560px;
  }

  .hero-photo-main {
    width: 78%;
  }

  .page-hero-image {
    height: 400px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split-image {
    min-height: 440px;
  }

  .contact-grid {
    gap: 45px;
  }

  .contact-copy {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 820px) {
  .nav-shell {
    min-height: 76px;
    flex-wrap: wrap;
    column-gap: 28px;
    row-gap: 0;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: static;
    z-index: auto;
    display: flex;
    width: 100%;
    max-height: 0;
    padding: 0;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: none;
    transition: max-height 220ms ease, padding 220ms ease, opacity 160ms ease;
  }

  .nav-open .site-nav {
    max-height: 560px;
    padding: 8px 0 30px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav > a {
    padding: 17px 5px;
    border-bottom: 1px solid var(--line);
    font-size: 1.08rem;
  }

  .site-nav > a::after {
    display: none;
  }

  .site-nav .nav-cta {
    margin-top: 24px;
    padding: 16px 20px;
    border: 0;
    text-align: center;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .section-heading,
  .quote-band-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .section-pad {
    padding: 68px 0;
  }

  .section-pad-sm {
    padding: 54px 0;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-media {
    min-height: 430px;
  }

  .hero-photo-main {
    width: 88%;
    height: 390px;
  }

  .hero-photo-accent {
    width: 48%;
    height: 180px;
    border-width: 6px;
  }

  .hero-tag {
    right: 0;
    bottom: 6px;
    width: 58%;
    padding: 16px;
  }

  .hero-tag strong {
    font-size: 1.05rem;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .page-hero {
    padding: 58px 0 68px;
  }

  .page-hero-image {
    height: 330px;
  }

  .card-grid,
  .tools-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .info-card,
  .contact-form,
  .evaluation-form {
    padding: 28px;
  }

  .split-image {
    min-height: 330px;
  }

  .split-copy {
    padding: 38px 28px;
  }

  .quote-band {
    padding: 36px 0;
  }

  .footer-brand {
    grid-column: auto;
  }

  .site-footer {
    padding-top: 56px;
  }
}

.site-nav {
  gap: 24px;
}

.site-nav > a {
  font-size: 0.9rem;
}

.hero-award-tag {
  width: min(310px, 68%);
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
}

.hero-award-tag span {
  margin-top: 0;
  margin-bottom: 7px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-award-tag strong {
  font-size: 1.55rem;
}

.recognition-strip {
  padding: 26px 0;
  border-top: 1px solid var(--brand-100);
  border-bottom: 1px solid var(--brand-100);
  background: var(--brand-050);
}

.recognition-strip-bottom {
  margin-top: 10px;
}

.recognition-strip-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.recognition-strip-mark {
  display: inline-flex;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-600);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.recognition-strip-inner > div:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.recognition-strip-inner strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.recognition-strip-inner span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.recognition-strip-inner > a {
  color: var(--brand-700);
  font-size: 0.9rem;
  font-weight: 700;
}

.difficult-situations {
  background: #181818;
  color: var(--paper);
}

.difficult-situations .section-heading h2,
.difficult-situations .challenge-card h3 {
  color: var(--paper);
}

.difficult-situations .section-heading .lead {
  color: rgba(255, 255, 255, 0.68);
}

.difficult-situations .eyebrow {
  color: var(--brand-200);
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.challenge-card {
  min-height: 300px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
}

.challenge-card > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-600);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
}

.challenge-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.seller-challenges {
  background: linear-gradient(135deg, #141414 0%, #201515 100%);
}

.situation-disclaimer {
  max-width: 900px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

.community-teaser {
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--warm);
}

.community-teaser-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 60px;
}

.community-teaser h2 {
  max-width: 780px;
  margin-bottom: 18px;
}

.community-teaser p:not(.eyebrow) {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.recognition-section {
  background: var(--paper);
}

.recognition-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: 32px 36px;
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-md);
  background: var(--brand-050);
}

.recognition-seal {
  display: flex;
  width: 94px;
  height: 94px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-600);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.recognition-card .eyebrow {
  margin-bottom: 4px;
}

.recognition-card h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.recognition-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.calculator-section {
  background: var(--warm);
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  align-items: start;
  gap: 70px;
}

.calculator-copy {
  position: sticky;
  top: 128px;
}

.calculator-copy h2 {
  margin-bottom: 20px;
}

.calculator-notes {
  display: grid;
  margin-top: 34px;
  gap: 14px;
}

.calculator-notes p {
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid var(--brand-600);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.calculator-notes strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.calculator-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.calculator-result {
  margin-top: 18px;
  padding: 30px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  color: var(--paper);
}

.calculator-result-label {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-total {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.calculator-breakdown {
  display: grid;
  gap: 8px;
}

.calculator-breakdown > div {
  display: flex;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.calculator-breakdown span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.calculator-breakdown strong {
  font-size: 0.94rem;
}

.calculator-disclaimer {
  margin: 16px 2px 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.community-hero {
  padding: 90px 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--warm) 0%, var(--brand-050) 100%);
}

.community-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(370px, 0.72fr);
  align-items: center;
  gap: 80px;
}

.community-hero h1 {
  max-width: 800px;
}

.community-award-card {
  position: relative;
  padding: 46px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #141414 0%, #251717 100%);
  color: var(--paper);
  box-shadow: var(--shadow-md);
}

.community-award-card::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border: 48px solid rgba(182, 1, 1, 0.28);
  border-radius: 50%;
  content: "";
}

.community-award-card > * {
  position: relative;
  z-index: 1;
}

.community-award-card > p {
  margin-bottom: 42px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-award-card > strong {
  display: block;
  color: var(--brand-200);
  font-family: var(--font-display);
  font-size: 4.6rem;
  line-height: 0.95;
}

.community-award-card h2 {
  margin: 10px 0 22px;
  color: var(--paper);
  font-size: clamp(2.4rem, 4vw, 3.9rem);
}

.community-award-card > span {
  display: block;
  max-width: 330px;
  color: rgba(255, 255, 255, 0.68);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.leadership-card {
  display: flex;
  min-height: 480px;
  padding: 36px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(23, 23, 23, 0.045);
}

.leadership-card-featured {
  border-color: var(--brand-200);
  background: var(--brand-050);
}

.leadership-card p:not(.info-card-number) {
  color: var(--ink-soft);
}

.leadership-card .service-link {
  margin-top: auto;
  padding-top: 18px;
}

.podcast-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 70px;
  padding: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  color: var(--paper);
}

.podcast-panel h2 {
  color: var(--paper);
}

.podcast-panel .eyebrow {
  color: var(--brand-200);
}

.podcast-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.46);
  background: transparent;
  color: var(--paper);
}

.button-outline-light:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.podcast-topics {
  display: grid;
  gap: 12px;
}

.podcast-topics > div {
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

.podcast-topics strong,
.podcast-topics span {
  display: block;
}

.podcast-topics strong {
  margin-bottom: 4px;
}

.podcast-topics span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.site-footer {
  padding: 0 0 26px;
}

.footer-social-band {
  padding: 54px 0;
  background: #202020;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.85fr);
  align-items: center;
  gap: 60px;
}

.footer-social-kicker {
  margin-bottom: 7px;
  color: var(--brand-200);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-social-inner h2 {
  max-width: 680px;
  margin-bottom: 12px;
  color: var(--paper);
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.footer-social-inner > div:first-child > p:last-child {
  max-width: 730px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
}

.social-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.social-links a {
  display: flex;
  min-height: 60px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.social-links a:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
}

.social-links span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-600);
  color: var(--paper);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.footer-grid {
  padding-top: 64px;
}

.footer-award {
  display: inline-block;
  margin-top: 18px;
  margin-bottom: 0;
  padding: 7px 10px;
  border: 1px solid rgba(244, 182, 182, 0.28);
  border-radius: 999px;
  color: var(--brand-200);
  font-size: 0.72rem;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav > a {
    font-size: 0.84rem;
  }

  .calculator-layout,
  .community-hero-grid,
  .podcast-panel,
  .footer-social-inner {
    grid-template-columns: 1fr;
  }

  .calculator-copy {
    position: static;
  }

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

  .leadership-card-featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .recognition-strip-inner,
  .recognition-card,
  .community-teaser-grid {
    grid-template-columns: auto 1fr;
  }

  .recognition-strip-inner > a,
  .recognition-card > .button,
  .community-teaser-grid > .button {
    grid-column: 2;
    justify-self: start;
  }

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

  .challenge-card {
    min-height: 0;
  }

  .challenge-card > span {
    margin-bottom: 26px;
  }
}

@media (max-width: 820px) {
  .site-nav > a {
    font-size: 1.08rem;
  }
}

@media (max-width: 700px) {
  .recognition-strip-inner,
  .recognition-card,
  .community-teaser-grid,
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .recognition-strip-mark,
  .recognition-seal {
    width: 68px;
    height: 68px;
  }

  .recognition-strip-inner > a,
  .recognition-card > .button,
  .community-teaser-grid > .button,
  .leadership-card-featured {
    grid-column: auto;
  }

  .calculator-card,
  .podcast-panel,
  .community-award-card {
    padding: 28px;
  }

  .calculator-layout {
    gap: 42px;
  }

  .calculator-breakdown > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .community-hero {
    padding: 62px 0;
  }

  .community-hero-grid {
    gap: 42px;
  }

  .community-award-card > strong {
    font-size: 3.6rem;
  }

  .social-links {
    grid-template-columns: 1fr;
  }

  .footer-social-inner {
    gap: 32px;
  }
}

/* 2026 Keller Williams / Ernie Salgado refresh */
.kw-nav-logo {
  width: 108px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: left center;
}

.brand-lockup {
  gap: 14px;
}

.brand-copy small {
  max-width: 190px;
  color: var(--brand-700);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.kw-footer-logo {
  width: 180px;
  max-height: 72px;
  margin-bottom: 22px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--paper);
  object-fit: contain;
}

.hero-photo-main img {
  object-position: center;
}

.hero-headshot-card {
  width: 42%;
  height: 270px;
  background: linear-gradient(180deg, var(--brand-100), var(--warm));
}

.hero-headshot-card img {
  object-fit: cover;
  object-position: bottom center;
}

.photo-story {
  background: var(--paper);
}

.photo-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  grid-template-rows: 260px auto;
  gap: 18px;
}

.photo-story-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.photo-story-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-story-large {
  grid-row: 1 / 3;
  min-height: 560px;
}

.photo-story-copy {
  display: flex;
  padding: 30px 4px 6px 24px;
  flex-direction: column;
  justify-content: center;
}

.photo-story-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.35rem);
}

.home-calculator-section {
  background: linear-gradient(135deg, var(--warm) 0%, var(--brand-050) 100%);
}

.compact-calculator-layout {
  grid-template-columns: minmax(0, 0.7fr) minmax(520px, 1.3fr);
}

.compact-calculator-card {
  padding: 34px;
}

.compact-calculator-card .calculator-result {
  margin-top: 20px;
}

.calculator-hidden-output {
  display: none !important;
}

.community-photo-band {
  background: var(--paper);
}

.community-photo-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 64px;
}

.community-photo {
  height: 480px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-links a img {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 6px;
  border-radius: 9px;
  background: var(--brand-600);
  object-fit: contain;
}

.social-links span {
  display: none;
}

@media (max-width: 1080px) {
  .compact-calculator-layout,
  .community-photo-grid {
    grid-template-columns: 1fr;
  }

  .community-photo {
    height: 420px;
  }
}

@media (max-width: 820px) {
  .kw-nav-logo {
    width: 92px;
    height: 36px;
  }

  .brand-copy small {
    display: none;
  }

  .photo-story-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px auto;
  }

  .photo-story-large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }

  .photo-story-copy {
    grid-column: 1 / -1;
    padding: 20px 0 0;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    gap: 12px;
  }

  .brand-lockup {
    gap: 10px;
  }

  .kw-nav-logo {
    width: 78px;
  }

  .brand-copy strong {
    font-size: 0.88rem;
  }

  .hero-grid .hero-media {
    order: -1;
  }

  .hero-headshot-card {
    width: 44%;
    height: 185px;
  }

  .photo-story-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .photo-story-grid figure,
  .photo-story-large {
    grid-column: auto;
    min-height: 260px;
    height: 260px;
  }

  .compact-calculator-card {
    padding: 24px;
  }

  .community-photo {
    height: 310px;
  }

  .social-links {
    grid-template-columns: 1fr;
  }
}