:root {
  --ink: #241b0b;
  --ink-soft: #756337;
  --paper: #fffdf7;
  --panel: #ffffff;
  --line: #ead8a8;
  --steel: #c4912f;
  --steel-dark: #4c3510;
  --lime: #d6a43a;
  --lime-dark: #9f711e;
  --amber: #f7d77a;
  --shadow: 0 20px 60px rgba(125, 87, 14, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fff9e8 0, #fffdf7 340px),
    var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: 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 {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.interior-header {
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 10px 35px rgba(125, 87, 14, 0.14);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff6d5, #d6a43a);
  font-family: Manrope, Inter, sans-serif;
  font-size: 15px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Manrope, Inter, sans-serif;
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  color: currentColor;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.76;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.site-nav .is-active {
  color: var(--lime-dark);
  opacity: 1;
}

.interior-header .site-nav .is-active {
  color: var(--lime-dark);
}

.nav-cta {
  border: 1px solid var(--lime);
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--lime);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px clamp(18px, 5vw, 72px) 42px;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(64, 42, 9, 0.94), rgba(92, 63, 14, 0.6) 55%, rgba(255, 244, 209, 0.14)),
    linear-gradient(180deg, rgba(64, 42, 9, 0.18), rgba(64, 42, 9, 0.86));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section .eyebrow,
.contact-copy .eyebrow {
  color: var(--lime-dark);
}

.hero h1,
.section h2,
.results h2,
.page-hero h1,
.intro-split h2,
.cta-band h2,
.service-detail h2 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(52px, 10vw, 116px);
}

.hero-content > p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 23px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--lime);
  color: #0b0906;
}

.button-primary:hover {
  background: #ffd77a;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(790px, 100%);
  margin-top: 64px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
}

.hero-panel div {
  min-height: 118px;
  padding: 22px;
  background: rgba(52, 35, 8, 0.58);
  backdrop-filter: blur(12px);
}

.hero-panel strong {
  display: block;
  color: #fff;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.4;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 18px;
  background: #fff;
  color: var(--lime-dark);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 124px) clamp(18px, 4vw, 32px);
}

.page-hero {
  padding: 164px clamp(18px, 5vw, 72px) 82px;
  background:
    linear-gradient(90deg, rgba(64, 42, 9, 0.94), rgba(64, 42, 9, 0.7)),
    url("assets/gold-bars-coins.jpg") center / cover;
  color: #fff;
}

.services-hero {
  background:
    linear-gradient(90deg, rgba(64, 42, 9, 0.94), rgba(64, 42, 9, 0.7)),
    url("assets/gold-bars-coins.jpg") center / cover;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(64, 42, 9, 0.94), rgba(64, 42, 9, 0.68)),
    url("assets/gold-bars-coins.jpg") center / cover;
}

.page-hero > div {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 7vw, 78px);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
}

.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(36px, 8vw, 88px);
}

.intro-split h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.intro-split p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 17px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.7fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2,
.approach h2,
.contact h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.section-heading > p:last-child,
.approach-copy > p:not(.eyebrow),
.contact-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.asset-showcase {
  padding: clamp(72px, 10vw, 118px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.92), rgba(255, 249, 232, 0.96)),
    url("assets/gold-bars-coins.jpg") center / cover;
  color: var(--ink);
}

.asset-showcase .eyebrow {
  color: var(--lime-dark);
}

.asset-showcase h2 {
  color: var(--ink);
}

.asset-showcase {
  color: var(--ink);
}

.asset-showcase-copy {
  max-width: var(--max);
  margin: 0 auto 34px;
}

.asset-showcase h2 {
  max-width: 820px;
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.asset-gallery {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
}

.asset-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(198, 145, 47, 0.34);
  border-radius: 8px;
  background: #fff;
}

.asset-card-large {
  min-height: 540px;
}

.asset-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 220ms ease;
}

.asset-card:hover img {
  transform: scale(1.035);
}

.asset-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(36, 27, 11, 0.04), rgba(36, 27, 11, 0.82));
}

.asset-card div {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
}

.asset-card span {
  display: block;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.asset-card strong {
  display: block;
  max-width: 360px;
  margin-top: 8px;
  color: #fff;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.05;
}

.about-company {
  border-top: 1px solid var(--line);
}

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

.about-grid article {
  min-height: 290px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-grid h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: Manrope, Inter, sans-serif;
  font-size: 25px;
  line-height: 1.15;
}

.about-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.about-grid p + p {
  margin-top: 14px;
}

.director-note {
  background: linear-gradient(135deg, #fffdf7, #fff2bf) !important;
}

.director-note span {
  display: block;
  margin-bottom: 18px;
  color: var(--lime-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.director-note p {
  color: var(--ink);
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.service-card {
  min-height: 320px;
  padding: 28px;
  background: var(--panel);
  border-right: 1px solid var(--line);
}

.service-card:last-child {
  border-right: 0;
}

.service-card span,
.service-detail span {
  color: var(--lime-dark);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin: 82px 0 12px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 24px;
  line-height: 1.15;
}

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

.service-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-detail article {
  min-height: 360px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-detail h2 {
  margin-top: 76px;
  font-size: clamp(28px, 3vw, 38px);
}

.service-detail p {
  color: var(--ink-soft);
}

.service-detail ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--ink);
  font-weight: 800;
}

.service-detail li + li {
  margin-top: 8px;
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: clamp(38px, 8vw, 90px);
  align-items: start;
}

.approach-copy {
  position: sticky;
  top: 110px;
}

.approach-copy h2 {
  margin-bottom: 22px;
}

.text-link {
  display: inline-block;
  margin-top: 26px;
  color: var(--lime);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-underline-offset: 7px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  position: relative;
  padding: 30px 30px 30px 72px;
  background: #ffffff;
  border-left: 4px solid var(--steel);
  border-radius: 8px;
}

.timeline-item span {
  position: absolute;
  top: 32px;
  left: 28px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--lime);
  background: var(--paper);
  border-radius: 50%;
}

.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.timeline-item p {
  margin: 0;
  color: var(--ink-soft);
}

.results {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1fr);
  gap: 40px;
  padding: clamp(64px, 9vw, 104px) clamp(18px, 5vw, 72px);
  background: linear-gradient(135deg, #d6a43a, #fff2bf);
  color: var(--ink);
}

.results h2 {
  max-width: 560px;
  font-size: clamp(34px, 5vw, 54px);
}

.results-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  overflow: hidden;
}

.results-list article {
  padding: 30px;
  background: #fff;
}

.results-list strong {
  display: block;
  color: var(--lime-dark);
  font-family: Manrope, Inter, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.results-list p {
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 0.76fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
}

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

.contact-copy a {
  color: var(--lime);
  font-weight: 900;
}

address {
  margin-top: 30px;
  color: var(--ink-soft);
  font-style: normal;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.contact-cards article {
  min-height: 112px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-cards span {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-cards a,
.contact-cards strong {
  display: block;
  margin-top: 14px;
  color: var(--lime);
  font-size: 20px;
  font-weight: 900;
}

.portal-body {
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.92), rgba(255, 247, 220, 0.82)),
    url("assets/gold-bars-coins.jpg") center / cover fixed,
    var(--paper);
}

.portal-hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.76fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 148px clamp(18px, 4vw, 32px) 70px;
}

.portal-copy h1 {
  max-width: 760px;
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
}

.portal-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
}

.portal-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.portal-stats span {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--panel);
  color: var(--lime);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portal-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff9e8;
  border-bottom: 1px solid var(--line);
}

.portal-tabs button {
  min-height: 58px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 900;
  cursor: pointer;
}

.portal-tabs button.is-active {
  background: var(--panel);
  color: var(--lime);
}

.portal-form {
  display: none;
  gap: 16px;
  padding: 28px;
}

.portal-form.is-active {
  display: grid;
}

.portal-form h2 {
  margin: 0 0 4px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 30px;
}

.portal-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-form input,
.portal-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.portal-form input:focus,
.portal-form select:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(242, 199, 102, 0.22);
}

.portal-form .button {
  width: 100%;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.form-row a {
  color: var(--lime);
  font-weight: 900;
}

.check-label {
  display: inline-flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px !important;
  text-transform: none !important;
}

.check-label input {
  width: 16px;
  height: 16px;
  padding: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(242, 199, 102, 0.22);
}

.contact-form .button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.form-note.is-success {
  color: #2e7d32;
  font-weight: 900;
}

.form-note.is-error {
  color: #b3261e;
  font-weight: 900;
}

.portal-choice img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.portal-choice-content {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.portal-choice-content h2,
.auth-form h2 {
  color: var(--ink);
}

.portal-choice-content p,
.auth-switch {
  margin: 0;
  color: var(--ink-soft);
}

.auth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.button-secondary.light {
  border-color: var(--lime);
  color: var(--lime-dark);
  background: #fff;
}

.auth-switch a {
  color: var(--lime-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(58px, 8vw, 88px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(64, 42, 9, 0.92), rgba(150, 103, 23, 0.78)),
    url("assets/gold-bars-coins.jpg") center / cover;
  color: #fff;
}

.cta-band > div {
  max-width: 780px;
}

.cta-band h2 {
  font-size: clamp(32px, 5vw, 56px);
}

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

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 82px;
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
    border-radius: 8px;
  }

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

  .site-nav a {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-cta {
    border: 0;
  }

  .section-heading,
  .approach,
  .results,
  .contact,
  .intro-split,
  .about-grid,
  .portal-hero,
  .asset-gallery {
    grid-template-columns: 1fr;
  }

  .asset-card,
  .asset-card-large {
    min-height: 360px;
  }

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

  .service-card {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .service-card:nth-child(2n) {
    border-right: 0;
  }

  .service-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .approach-copy {
    position: static;
  }

  .service-detail,
  .results-list,
  .trust-strip,
  .portal-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    font-size: 9px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 96svh;
    padding: 118px 18px 26px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-panel,
  .service-grid,
  .service-detail,
  .results-list,
  .trust-strip,
  .contact-cards,
  .portal-stats {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    min-height: auto;
  }

  .service-card,
  .service-card:nth-child(2n) {
    min-height: 250px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .service-card h3 {
    margin-top: 48px;
  }

  .timeline-item {
    padding: 26px 24px 26px 62px;
  }

  .timeline-item span {
    left: 24px;
  }

  .contact-form {
    padding: 20px;
  }

  .page-hero {
    padding: 126px 18px 58px;
  }

  .portal-hero {
    padding: 118px 18px 48px;
  }

  .portal-form {
    padding: 20px;
  }

  .form-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-detail article {
    min-height: auto;
    padding: 26px;
  }

  .service-detail h2 {
    margin-top: 46px;
  }

  .site-footer {
    display: grid;
  }

  .auth-actions {
    grid-template-columns: 1fr;
  }
}
