:root {
  --bg: #ffffff;
  --surface: #f7f8f8;
  --surface-strong: #eef2f4;
  --text: #0f1417;
  --muted: #5f6872;
  --line: #dfe5e8;
  --accent: #1f3d54;
  --accent-strong: #173246;
  --max-width: 1220px;
  --header-height: 80px;
  --radius: 18px;
  --ease: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: "Instrument Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.home-page {
  padding-top: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
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;
}

.shell {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition:
    background-color var(--ease),
    border-color var(--ease),
    color var(--ease);
}

.home-page .site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.home-page .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

.header-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  position: relative;
  z-index: 2;
  color: var(--accent);
}

.brand-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.64rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-copy {
  display: inline-flex;
  align-items: center;
  padding-bottom: 0.28rem;
}

.brand-copy strong {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.82;
}

.brand-copy small {
  display: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.desktop-nav a,
.mobile-nav a,
.footer-nav a {
  position: relative;
  transition: color var(--ease);
}

.desktop-nav a::after,
.mobile-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after,
.mobile-nav a:hover::after,
.mobile-nav a.is-active::after,
.footer-nav a:hover::after,
.footer-nav a.is-active::after {
  transform: scaleX(1);
}

.desktop-nav a.is-active,
.mobile-nav a.is-active,
.footer-nav a.is-active {
  color: var(--accent);
}

.home-page .site-header:not(.is-scrolled),
.home-page .site-header:not(.is-scrolled) .brand-copy small,
.home-page .site-header:not(.is-scrolled) .desktop-nav a,
.home-page .site-header:not(.is-scrolled) .brand {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  position: relative;
  z-index: 2;
}

.menu-toggle span {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  height: 1px;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease), top var(--ease);
}

.menu-toggle span:nth-child(1) {
  top: 1rem;
}

.menu-toggle span:nth-child(2) {
  top: 1.45rem;
}

.menu-toggle span:nth-child(3) {
  top: 1.9rem;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 1.45rem;
  transform: rotate(45deg);
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 1.45rem;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 35;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.75rem);
  transition:
    opacity var(--ease),
    visibility var(--ease),
    transform var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav {
  display: grid;
  gap: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
}

.hero-home {
  background: #0b1115;
}

.home-page .hero {
  min-height: 100svh;
}

.hero-video-wrap,
.hero-video-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.7);
}

.hero-video-overlay {
  background:
    linear-gradient(90deg, rgba(7, 11, 15, 0.72) 0%, rgba(7, 11, 15, 0.44) 46%, rgba(7, 11, 15, 0.3) 100%),
    rgba(10, 14, 18, 0.24);
}

.hero-shell {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4.5rem, 8vw, 8rem) 0 4.5rem;
}

.home-page .hero-shell {
  min-height: 100svh;
  padding-top: calc(var(--header-height) + clamp(3rem, 7vw, 6rem));
}

.hero-shell-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.56fr);
  gap: 2.25rem;
  align-items: end;
}

.hero-copy {
  max-width: 33rem;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-copy .eyebrow {
  color: rgba(212, 226, 237, 0.9);
}

.hero-copy h1,
.section-head h2,
.page-hero h1,
.split-copy h2,
.cta-panel h2,
.study-copy h2,
.quote-panel blockquote,
.contact-note h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
  line-height: 0.98;
}

.hero-text {
  max-width: 30rem;
  margin: 0.95rem 0 0;
  font-size: clamp(0.92rem, 1.05vw, 0.98rem);
  line-height: 1.65;
  color: rgba(231, 238, 243, 0.9);
}

.hero-subline {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(212, 226, 237, 0.76);
}

.button-row,
.tag-row,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.button-row {
  margin-top: 1.45rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    background-color var(--ease),
    border-color var(--ease),
    color var(--ease);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

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

.button-link {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  justify-content: flex-start;
}

.button-link::after {
  content: "";
  width: 2.8rem;
  height: 1px;
  margin-left: 0.7rem;
  background: currentColor;
  transition: width var(--ease);
}

.button-link:hover::after {
  width: 3.4rem;
}

.button-link-light {
  color: #d7e5f0;
}

.button-link-dark {
  color: var(--accent);
}

.hero-home .button-primary {
  background: #ffffff;
  color: #11171c;
}

.hero-home .button-primary:hover {
  background: #eef2f4;
}

.hero-home .button-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: #ffffff;
}

.hero-home .button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.84);
  color: #ffffff;
}

.signal-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

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

.signal-item {
  padding: 1.35rem 0 1.45rem;
}

.signal-item span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.signal-item p {
  margin: 0;
  max-width: 18rem;
  color: var(--text);
  line-height: 1.6;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.page-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 2rem;
  align-items: end;
  padding: 3.5rem 0 2.7rem;
}

.page-hero-shell-single {
  grid-template-columns: 1fr;
  gap: 0;
}

.page-hero h1 {
  max-width: 11ch;
  font-size: clamp(1.95rem, 4vw, 3.15rem);
}

.page-hero-note,
.section-head p,
.study-copy p,
.about-text p,
.contact-note p,
.quote-panel p,
.cta-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.page-hero-note {
  max-width: 30rem;
  font-size: 0.96rem;
}

.section {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.section-muted {
  background: var(--surface);
}

.section-cta {
  padding-top: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.section-head h2,
.split-copy h2,
.cta-panel h2 {
  max-width: 12ch;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
}

.section-head p {
  max-width: 30rem;
}

.section-head-compact {
  margin-bottom: 1.75rem;
}

.strategy-section {
  background: #ffffff;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.hero-gallery {
  position: relative;
  min-height: 26rem;
}

.hero-gallery-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 13, 17, 0.46);
  box-shadow: 0 20px 60px rgba(7, 11, 15, 0.22);
  backdrop-filter: blur(12px);
}

.hero-gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(7, 11, 15, 0) 0%, rgba(7, 11, 15, 0.72) 100%);
}

.hero-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1400ms ease;
}

.hero-gallery-card figcaption {
  position: absolute;
  z-index: 1;
  left: 1rem;
  bottom: 0.9rem;
  margin: 0;
  padding: 0.28rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(7, 11, 15, 0.46);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
}

.hero-gallery-card-primary {
  top: 0;
  right: 0;
  width: min(24.5rem, 100%);
  height: 18.2rem;
  animation: galleryFloatA 9s ease-in-out infinite;
}

.hero-gallery-card-primary figcaption {
  top: 1rem;
  bottom: auto;
}

.hero-gallery-card-secondary {
  left: 0;
  bottom: 0;
  width: min(15.4rem, 68%);
  height: 10.8rem;
  animation: galleryFloatB 10s ease-in-out infinite;
}

.hero-gallery-card-secondary figcaption {
  top: 1rem;
  bottom: auto;
}

.hero-gallery:hover .hero-gallery-card img {
  transform: scale(1.06);
}

.strategy-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.92fr);
  align-items: center;
}

.strategy-media {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.strategy-media img {
  width: 100%;
  height: 100%;
  min-height: 32rem;
  object-fit: cover;
}

.strategy-panel {
  position: relative;
  z-index: 1;
  margin-left: -4.5rem;
  padding: 2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(15, 20, 23, 0.08);
}

.strategy-intro {
  max-width: 28rem;
  margin-bottom: 1.6rem;
}

.strategy-intro h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.3vw, 1.95rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.strategy-intro p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.strategy-pillar {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.strategy-pillar h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.strategy-pillar p {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.what-grid,
.markets-grid,
.stats-grid,
.focus-grid,
.criteria-grid,
.asset-grid {
  display: grid;
  gap: 2rem;
}

.what-grid,
.focus-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

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

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

.asset-card,
.form-card,
.study-card {
  border: 1px solid var(--line);
  background: #ffffff;
}

.info-card,
.market-card,
.stat-card,
.criteria-card,
.quote-panel,
.case-preview,
.contact-note,
.cta-panel {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.card-number {
  display: none;
}

.info-card h3,
.market-card h3,
.asset-body h3,
.study-details h3,
.list-panel h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.info-card p:last-child,
.market-card p,
.asset-body p,
.study-details p,
.list-panel p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.snapshot-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.snapshot-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.snapshot-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 600;
}

.stat-card span,
.criteria-card span,
.metric-card span,
.study-metrics span,
.mini-stats span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-card strong,
.criteria-card strong,
.metric-card strong,
.study-metrics strong,
.mini-stats strong {
  display: block;
  margin-top: 0.8rem;
  font-size: clamp(1.3rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.criteria-card strong {
  font-size: 1.35rem;
}

.case-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem;
}

.case-image img,
.asset-card img,
.study-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface-strong);
}

.case-image img {
  min-height: 100%;
  border: 1px solid var(--line);
}

.case-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-body h3 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

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

.metric-card {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.metric-card strong {
  margin-top: 0.55rem;
  font-size: 1.1rem;
}

.case-summary {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.75;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
}

.focus-grid .info-card {
  min-height: 100%;
}

.list-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  border: 0;
  background: transparent;
}

.list-panel > div {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.plain-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.plain-list li {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.quote-panel {
  padding-top: 1.75rem;
}

.quote-panel blockquote {
  max-width: 22ch;
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.asset-card {
  overflow: hidden;
}

.asset-card img {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
}

.asset-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.asset-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.asset-body h3 {
  margin-top: 0.85rem;
}

.study-stack {
  display: grid;
  gap: 1.5rem;
}

.study-card {
  overflow: hidden;
}

.study-header {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.study-copy {
  padding: 1.5rem;
}

.study-copy h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.study-copy p {
  margin-top: 1rem;
}

.study-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.study-metrics div {
  padding: 1.15rem;
  border-right: 1px solid var(--line);
}

.study-metrics div:last-child {
  border-right: 0;
}

.study-metrics strong {
  font-size: 1.2rem;
}

.study-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.study-details div {
  padding: 1.2rem;
  border-right: 1px solid var(--line);
}

.study-details div:last-child {
  border-right: 0;
}

.study-details h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.about-lead,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.about-lead {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  align-items: start;
}

.about-text p {
  max-width: 38rem;
  font-size: 1.12rem;
}

.about-text p + p {
  margin-top: 1rem;
}

.about-side {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.5rem;
}

.mini-stats {
  display: grid;
  gap: 1rem;
}

.contact-grid {
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1fr);
}

.contact-note {
  background: transparent;
}

.contact-grid .contact-note {
  padding-top: 0;
}

.home-contact-grid {
  align-items: stretch;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem;
  background: #10161b;
  border: 1px solid #233240;
}

.home-contact-grid .contact-note,
.home-contact-grid .form-card {
  border: 0;
  background: transparent;
}

.home-contact-grid .contact-note {
  display: grid;
  align-content: center;
  gap: 0.24rem;
  padding: 0;
  min-height: 100%;
}

.home-contact-grid .contact-note .eyebrow {
  color: rgba(195, 212, 225, 0.72);
}

.home-contact-grid .contact-note h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1;
  color: #f8fbfd;
}

.home-contact-grid .contact-note p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(220, 229, 236, 0.78);
  max-width: 16rem;
}

.contact-visual {
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.contact-visual img {
  width: 100%;
  aspect-ratio: 1 / 0.94;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1200ms ease;
}

.contact-note:hover .contact-visual img {
  transform: scale(1.06);
}

.home-contact-grid .contact-visual {
  margin-bottom: 0.85rem;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.home-contact-grid .contact-visual img {
  aspect-ratio: 1 / 0.7;
}

.form-card {
  padding: 1.3rem;
  display: grid;
  gap: 0.9rem;
}

.form-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

.form-compact label:last-of-type,
.form-compact button {
  grid-column: 1 / -1;
}

.home-contact-grid .form-card {
  padding: 0.2rem 0 0;
  gap: 0.8rem;
}

.form-card label {
  display: grid;
  gap: 0.48rem;
}

.form-card label span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 0.88rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
  color: var(--text);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.home-contact-grid .form-card label span {
  color: rgba(195, 212, 225, 0.56);
}

.home-contact-grid .form-card input,
.home-contact-grid .form-card select,
.home-contact-grid .form-card textarea {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #f4f8fb;
}

.home-contact-grid .form-card input::placeholder,
.home-contact-grid .form-card textarea::placeholder {
  color: rgba(216, 226, 234, 0.4);
}

.home-contact-grid .form-card input:focus,
.home-contact-grid .form-card select:focus,
.home-contact-grid .form-card textarea:focus {
  border-color: rgba(112, 154, 188, 0.7);
}

.contact-direct {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.contact-direct p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-direct a {
  color: var(--accent);
}

.home-contact-grid .button-primary {
  justify-self: start;
  min-width: 11.5rem;
  background: #f4f7fa;
  color: #11171c;
}

.home-contact-grid .button-primary:hover {
  background: #ffffff;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  width: auto;
  height: clamp(1rem, 1.5vw, 1.35rem);
}

.footer-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 0.9rem 0 0.95rem;
}

.footer-copy {
  margin: 0;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--muted);
}

.footer-nav {
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tag {
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 580ms ease,
    transform 580ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes galleryFloatA {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes galleryFloatB {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 1120px) {
  .page-hero-shell,
  .split-section,
  .about-lead,
  .contact-grid,
  .study-header {
    grid-template-columns: 1fr;
  }

  .hero-shell-split,
  .strategy-frame {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    min-height: 18rem;
    max-width: 34rem;
  }

  .strategy-panel {
    margin: -3rem 1.5rem 0;
  }

  .what-grid,
  .focus-grid,
  .asset-grid,
  .strategy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid,
  .criteria-grid,
  .markets-grid,
  .signal-grid,
  .study-metrics,
  .study-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .study-metrics div:nth-child(2n),
  .study-details div:nth-child(2n) {
    border-right: 0;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

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

  .menu-toggle {
    display: inline-block;
  }

  .shell {
    width: min(var(--max-width), calc(100% - 1.4rem));
  }

  .hero-shell {
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  .home-page .hero-shell {
    padding-top: calc(var(--header-height) + 2.4rem);
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .hero-gallery {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: none;
    align-items: stretch;
  }

  .hero-gallery-card {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1 / 1.04;
    animation: none;
  }

  .hero-gallery-card-primary,
  .hero-gallery-card-secondary {
    inset: auto;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1 / 1.04;
  }

  .signal-grid,
  .what-grid,
  .focus-grid,
  .markets-grid,
  .stats-grid,
  .criteria-grid,
  .asset-grid,
  .strategy-grid,
  .metrics-grid,
  .study-metrics,
  .study-details,
  .list-panel,
  .strategy-pillars,
  .form-compact {
    grid-template-columns: 1fr;
  }

  .case-preview {
    grid-template-columns: 1fr;
  }

    .study-metrics div,
    .study-details div,
    .list-panel > div {
      border-right: 0;
      border-left: 0;
    }

  .cta-panel,
  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .strategy-panel {
    margin: 0;
    padding: 1.35rem;
  }

  .home-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    font-size: 1.48rem;
  }

  .hero-copy h1 {
    max-width: 7.5ch;
    font-size: clamp(2.05rem, 13.2vw, 3rem);
  }

  .hero-text {
    max-width: 22rem;
    font-size: 0.92rem;
  }

  .strategy-intro h2 {
    max-width: none;
  }

  .button-row,
  .footer-nav {
    width: 100%;
  }

  .button-row .button,
  .cta-panel .button {
    width: 100%;
  }

  .button-row .button-link {
    width: auto;
  }
  .page-hero-shell {
    padding-top: 2.8rem;
    padding-bottom: 2.2rem;
  }

  .contact-grid {
    gap: 1.1rem;
  }

  .info-card,
  .market-card,
  .stat-card,
  .criteria-card,
  .contact-note,
  .quote-panel,
  .case-preview,
  .signal-item,
  .study-copy,
  .study-metrics div,
  .study-details div,
  .form-card {
    padding: 1.2rem;
  }

  .study-copy h2,
  .page-hero h1 {
    max-width: none;
  }
}
