/* ========================================================================== 
   WV Talent Collective — approachable brand system
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #062d68;
  --navy-bright: #0d438d;
  --navy-deep: #041c42;
  --sky: #dceefa;
  --sky-strong: #78b7eb;
  --coral: #f07f62;
  --coral-soft: #ffe2d8;
  --butter: #f4d778;
  --butter-soft: #fff2bd;
  --mint: #cde5da;
  --cream: #fbf6ea;
  --paper: #fffdfa;
  --white: #ffffff;
  --ink: #142538;
  --slate: #4d5e6c;
  --line: rgba(20, 37, 56, 0.16);
  --line-light: rgba(255, 255, 255, 0.22);

  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --container: 1180px;
  --gutter: clamp(1.25rem, 2.7vw, 2.5rem);
  --section-pad: clamp(4.75rem, 8vw, 8rem);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 26px 80px rgba(4, 28, 66, 0.13);
  --shadow-soft: 0 14px 40px rgba(4, 28, 66, 0.08);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 190ms;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
}

h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.35rem, 4vw, 4.25rem);
}

h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
}

p {
  margin-bottom: 1.2rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--navy-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

::selection {
  color: var(--white);
  background: var(--navy-bright);
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 1rem;
  z-index: 200;
  padding: 0.8rem 1.1rem;
  border-radius: 0 0 12px 12px;
  color: var(--white);
  background: var(--navy-deep);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.35rem;
  height: 0.48rem;
  border-radius: 100px;
  background: currentColor;
}

.eyebrow--coral {
  color: #a23f2a;
}

.eyebrow--blue {
  color: var(--navy-bright);
}

.eyebrow--light {
  color: var(--white);
}

.lead {
  max-width: 54ch;
  color: var(--slate);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4.25rem);
}

.section-head--wide {
  max-width: 880px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.86rem 1.45rem;
  border: 2px solid var(--navy);
  border-radius: 100px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn:hover {
  color: var(--white);
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  box-shadow: 0 9px 22px rgba(4, 28, 66, 0.18);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--navy);
  background: transparent;
}

.btn--ghost:hover {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.btn--small {
  min-height: 42px;
  padding: 0.72rem 1.08rem;
  font-size: 0.84rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}

.text-link:hover span {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 253, 250, 0.93);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(4, 28, 66, 0.05);
}

.site-header__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  line-height: 1;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 58px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  background: var(--navy-deep);
  box-shadow: 0 7px 20px rgba(4, 28, 66, 0.18);
}

/* Percentage keeps the vector correctly inset at every badge size */
.brand__mark img {
  width: 65%;
  height: auto;
}

.brand__type {
  display: block;
}

.brand__name,
.brand__sub {
  display: block;
  text-transform: uppercase;
}

.brand__name {
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.055em;
}

.brand__sub {
  margin-top: 0.35rem;
  color: var(--slate);
  font-size: 0.53rem;
  font-weight: 500;
  letter-spacing: 0.34em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.1vw, 1.8rem);
}

.site-nav__link {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--navy-bright);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.8rem, 7vw, 7rem) clamp(4rem, 7vw, 6.5rem);
  background: linear-gradient(120deg, var(--cream) 0 58%, #eff7fc 58% 100%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.91fr) minmax(380px, 1.09fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero__content .lead {
  margin-bottom: 1.8rem;
}

.hero__promises {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-top: 2rem;
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 500;
}

.hero__promises li {
  display: flex;
  align-items: center;
  gap: 0.48rem;
}

.hero__promises li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual picture {
  display: block;
  overflow: hidden;
  border: 10px solid var(--white);
  border-radius: clamp(28px, 4vw, 50px) clamp(28px, 4vw, 50px) clamp(28px, 4vw, 50px) 110px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  object-position: 54% center;
}

.hero-visual figcaption {
  position: absolute;
  right: -1rem;
  bottom: 1.6rem;
  padding: 0.82rem 1.15rem;
  border: 4px solid var(--white);
  border-radius: 100px;
  color: var(--ink);
  background: var(--butter);
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-visual__dot {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 54px;
  height: 54px;
  border: 8px solid var(--white);
  border-radius: 50%;
  background: var(--coral);
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__shape--one {
  top: -75px;
  left: 43%;
  width: 165px;
  height: 165px;
  border: 34px solid rgba(120, 183, 235, 0.38);
}

.hero__shape--two {
  right: 3vw;
  bottom: -85px;
  width: 190px;
  height: 190px;
  background: rgba(244, 215, 120, 0.65);
}

/* Audience pathways */
.audiences {
  background: var(--paper);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.audience-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
}

.audience-card--employer {
  background: var(--coral-soft);
}

.audience-card--candidate {
  background: var(--sky);
}

.audience-card h3 {
  max-width: 17ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 3vw, 3.05rem);
}

.audience-card p:not(.eyebrow) {
  max-width: 51ch;
  color: #31475a;
}

.audience-card .text-link {
  margin-top: auto;
  padding-top: 1.5rem;
}

.audience-card__number {
  position: absolute;
  right: 1.5rem;
  bottom: -1.65rem;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-serif);
  font-size: clamp(8rem, 15vw, 12rem);
  font-weight: 700;
  line-height: 1;
}

.audience-card > *:not(.audience-card__number) {
  position: relative;
  z-index: 1;
}

/* Services */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(20, 37, 56, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.service-card--sky {
  background: linear-gradient(145deg, #eef8ff, var(--sky));
}

.service-card--butter {
  background: linear-gradient(145deg, #fffaf0, var(--butter-soft));
}

.service-card h3 {
  max-width: 16ch;
  padding-right: 3rem;
}

.service-card__icon {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-size: 1.35rem;
  font-weight: 600;
}

.service-card__summary {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
}

.service-card p:not(.eyebrow) {
  max-width: 53ch;
}

.service-card__best {
  margin-top: 1.8rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(20, 37, 56, 0.15);
  color: var(--slate);
  font-size: 0.9rem;
}

.expertise-band {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-top: 1.5rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--navy);
}

.expertise-band h3 {
  color: var(--white);
}

.expertise-band p:not(.eyebrow) {
  max-width: 66ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

/* Approach */
.approach {
  position: relative;
  overflow: hidden;
  background: var(--butter-soft);
}

.approach::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border: 70px solid rgba(240, 127, 98, 0.2);
  border-radius: 50%;
}

.approach .container {
  position: relative;
  z-index: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.step {
  min-height: 310px;
  padding: clamp(1.7rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.step__number {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 3rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--coral);
  font-size: 0.78rem;
  font-weight: 600;
}

.step h3 {
  font-size: 1.8rem;
}

.step p {
  color: var(--slate);
  font-size: 0.94rem;
}

/* Story image band */
.story {
  padding-block: clamp(4rem, 7vw, 6.5rem);
  color: var(--white);
  background: var(--navy-deep);
}

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.story__visual {
  margin: 0;
}

.story__visual picture {
  display: block;
  overflow: hidden;
  border-radius: 90px var(--radius-lg) var(--radius-lg) var(--radius-lg);
}

.story__visual img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  object-position: 28% center;
}

.story__content h2 {
  color: var(--white);
}

.story__content > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

.check-list li::before {
  content: "✓";
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-deep);
  background: var(--mint);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Team */
.team {
  background: var(--cream);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.5rem;
}

.person-card {
  /* card min-height (450) less its 1px borders and the 1rem tint above the portrait */
  --person-photo-h: 432px;
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1.3fr);
  min-height: 450px;
  overflow: hidden;
  overflow: clip;
  border: 1px solid rgba(20, 37, 56, 0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.person-card__photo {
  min-height: 100%;
  padding: 1rem 0 0 1rem;
}

.person-card__photo--blue {
  background: var(--sky);
}

.person-card__photo--coral {
  background: var(--coral-soft);
}

.person-card__photo picture,
.person-card__photo img {
  width: 100%;
  height: 100%;
}

/* Pin the portrait to its closed height so expanding a bio can't stretch the
   column and blow the face up; it slides down through the tint as you read. */
.person-card__photo picture {
  display: block;
  position: sticky;
  top: calc(82px + 1rem);
  height: var(--person-photo-h);
}

.person-card__photo img {
  object-fit: cover;
  object-position: center top;
  border-radius: 24px 0 0 0;
}

.person-card:has(details[open]) .person-card__photo img {
  border-radius: 24px 0 24px 24px;
}

.person-card__body {
  padding: clamp(1.65rem, 3vw, 2.5rem);
}

.person-card__body h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
}

.person-card__body > p:not(.eyebrow) {
  color: var(--slate);
  font-size: 0.92rem;
}

details {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: -0.7rem;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--chevron) center / contain no-repeat;
  mask: var(--chevron) center / contain no-repeat;
  transition: transform var(--dur) var(--ease);
}

details[open] > summary::before {
  transform: rotate(90deg);
}

summary:hover {
  color: var(--navy-bright);
  background: var(--sky);
}

summary:focus-visible {
  outline-offset: 2px;
}

/* Ease the height change where supported; elsewhere it just snaps as before. */
@supports (interpolate-size: allow-keywords) {
  details {
    interpolate-size: allow-keywords;
  }

  details::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 300ms var(--ease), content-visibility 300ms allow-discrete;
  }

  details[open]::details-content {
    block-size: auto;
  }
}

.details-body {
  padding-top: 1rem;
}

.details-body p {
  color: var(--slate);
  font-size: 0.86rem;
}

/* Record */
.record {
  padding-block: clamp(4rem, 7vw, 6.5rem);
  color: var(--white);
  background: var(--coral);
}

.record__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: 3.5rem;
}

.record__intro .eyebrow {
  grid-column: 1 / -1;
}

.record__intro h2 {
  margin-bottom: 0;
  color: var(--white);
}

.record__intro > p:not(.eyebrow) {
  max-width: 60ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.record-item {
  padding: 2rem 1.5rem 0 0;
}

.record-item + .record-item {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.record-item strong,
.record-item span {
  display: block;
}

.record-item strong {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  line-height: 1.1;
}

.record-item span {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.contact::before {
  content: "";
  position: absolute;
  top: 6rem;
  left: -95px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--sky);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: 120px;
}

.contact-intro h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.4rem);
}

.contact-intro > p:not(.eyebrow) {
  color: var(--slate);
  font-size: 1.08rem;
}

.contact-note {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--coral-soft);
}

.contact-note p {
  color: #663529;
  font-size: 0.9rem;
}

.contact-note__title {
  margin-bottom: 0.2rem;
  color: var(--ink) !important;
  font-weight: 600;
}

.contact-form {
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid rgba(20, 37, 56, 0.08);
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.optional {
  color: var(--slate);
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  border: 1.5px solid rgba(20, 37, 56, 0.22);
  border-radius: 13px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.94rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

input,
select {
  height: 50px;
  padding-inline: 0.9rem;
}

textarea {
  min-height: 130px;
  padding: 0.85rem 0.9rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy-bright);
  outline: none;
  box-shadow: 0 0 0 4px rgba(13, 67, 141, 0.12);
}

textarea::placeholder {
  color: #82909a;
}

[aria-invalid="true"] {
  border-color: #b63c31;
}

.field-error {
  display: none;
  margin: 0.3rem 0 0;
  color: #9d3027;
  font-size: 0.78rem;
  line-height: 1.4;
}

.field-error.is-visible {
  display: block;
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
}

.form-disclosure,
.form-status {
  margin-top: 1rem;
  color: var(--slate);
  font-size: 0.75rem;
  line-height: 1.55;
}

.form-status {
  display: none;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
}

.form-status.is-visible {
  display: block;
}

.form-status--ok {
  color: #164c39;
  background: var(--mint);
}

.form-status--err {
  color: #7a2a24;
  background: var(--coral-soft);
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Footer */
.site-footer {
  padding-block: 4.5rem 1.8rem;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.5fr) minmax(220px, 0.7fr);
  gap: 3rem;
  padding-bottom: 3rem;
}

.brand--footer .brand__name,
.brand--footer .brand__sub {
  color: var(--white);
}

/* On the dark footer the mark stands alone — no badge behind it */
.brand--footer .brand__mark {
  background: none;
  box-shadow: none;
}

.footer-about > p {
  max-width: 42ch;
  margin-top: 1.5rem;
  font-size: 0.88rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col li + li {
  margin-top: 0.55rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-col a {
  font-size: 0.86rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-note {
  max-width: 35ch;
  margin-top: 1rem;
  font-size: 0.78rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
}

/* Privacy page */
.page-simple {
  min-height: 70vh;
  padding-block: var(--section-pad);
  background: var(--cream);
}

.page-simple > .container {
  max-width: 840px;
}

.page-simple h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}

.page-simple h2 {
  margin-top: 2.5rem;
  font-size: 1.85rem;
}

.draft-tag {
  display: inline-flex;
  padding: 0.45rem 0.75rem;
  border-radius: 100px;
  color: #713c24;
  background: var(--butter-soft);
  font-size: 0.76rem;
  font-weight: 600;
}

/* Motion */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.js .reveal.is-inview {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  details::details-content {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1040px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
    gap: 2.5rem;
  }

  .person-card {
    grid-template-columns: 1fr;
  }

  .person-card__photo {
    min-height: 330px;
    padding: 1rem 1rem 0;
  }

  .person-card__photo picture {
    position: static;
    height: 100%;
  }

  .person-card__photo img,
  .person-card:has(details[open]) .person-card__photo img {
    border-radius: 22px 22px 0 0;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
    gap: 3rem;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 74px;
  }

  .site-header__inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: var(--gutter);
    left: var(--gutter);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__link {
    padding: 0.8rem;
  }

  .site-nav .btn {
    margin-top: 0.4rem;
  }

  .hero {
    padding-top: 3.7rem;
    background: linear-gradient(155deg, var(--cream) 0 55%, #eff7fc 55% 100%);
  }

  .hero__grid,
  .story__grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: 680px;
  }

  .hero-visual {
    max-width: 680px;
  }

  .hero-visual figcaption {
    right: 1rem;
  }

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

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

  .step {
    min-height: auto;
  }

  .step__number {
    margin-bottom: 1.8rem;
  }

  .story__grid {
    gap: 3rem;
  }

  .story__visual {
    max-width: 680px;
  }

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

  .contact-intro {
    position: static;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(150px, 0.5fr));
  }
}

@media (max-width: 600px) {
  :root {
    --radius-lg: 26px;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
  }

  .brand__mark {
    width: 52px;
    height: 38px;
  }

  .brand__name {
    font-size: 0.82rem;
  }

  .brand__sub {
    font-size: 0.47rem;
  }

  .hero__promises {
    display: grid;
  }

  .hero-visual picture {
    border-width: 6px;
    border-radius: 26px 26px 26px 66px;
  }

  .hero-visual figcaption {
    right: 0.5rem;
    bottom: 0.7rem;
    max-width: 80%;
    border-width: 3px;
    font-size: 0.72rem;
  }

  .hero-visual__dot {
    top: -0.6rem;
    left: -0.4rem;
    width: 42px;
    height: 42px;
    border-width: 6px;
  }

  .audience-card {
    min-height: 390px;
  }

  .audience-card__number {
    font-size: 8rem;
  }

  .service-card__icon {
    top: 1.5rem;
    right: 1.5rem;
  }

  .expertise-band {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .story__visual picture {
    border-radius: 54px 24px 24px 24px;
  }

  .person-card__photo {
    min-height: 280px;
  }

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

  .record-item + .record-item {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 1.25rem;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
