/* ============================================================
   TSQ Capital — Twelve Squared Capital
   Design system v1.0 (from approved design boards)
   ============================================================ */

:root {
  --tsq-ink: #202829;
  --tsq-deep: #192A29;
  --tsq-deep-alt: #222B2C;
  --tsq-ivory: #F2EEE7;
  --tsq-cream: #E9E3D9;
  --tsq-paper: #FBF9F5;
  --tsq-bronze: #AD8650;
  --tsq-bronze-soft: #C4A97E;
  --tsq-muted: #656B69;
  --tsq-line: rgba(32, 40, 41, 0.14);
  --tsq-line-light: rgba(242, 238, 231, 0.16);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Manrope", "Neue Haas Grotesk", Arial, sans-serif;
  --content-max: 1316px;
  --gutter: 62px;
  --header-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--tsq-ink);
  background: var(--tsq-ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection { background: var(--tsq-bronze); color: var(--tsq-paper); }

:focus-visible {
  outline: 2px solid var(--tsq-bronze);
  outline-offset: 3px;
  border-radius: 1px;
}

.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; }

.h1 {
  font-size: clamp(42px, 5.8vw, 84px);
  line-height: 1.06;
  letter-spacing: 0.005em;
  color: var(--tsq-paper);
}
.hero--short .h1 { font-size: clamp(40px, 5.1vw, 72px); }
.h2 {
  font-size: clamp(30px, 3.4vw, 47px);
  line-height: 1.15;
}
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tsq-bronze);
  margin-bottom: 22px;
}
.eyebrow--light { color: var(--tsq-bronze-soft); }

.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--tsq-muted);
}
.hero .lede { color: rgba(251, 249, 245, 0.92); font-size: clamp(18px, 1.75vw, 24px); line-height: 1.5; }

.body-copy { color: var(--tsq-muted); max-width: 62ch; }
.body-copy p + p { margin-top: 18px; }

.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.3;
  color: var(--tsq-ink);
}

.bronze-rule {
  width: 56px; height: 1px;
  background: var(--tsq-bronze);
  border: 0;
  margin: 26px 0 0;
}
.hero .bronze-rule { width: 120px; height: 2px; }
.bronze-rule--long { width: 120px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em;
  padding: 16px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn .arrow { transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ivory { background: var(--tsq-ivory); color: var(--tsq-ink); }
.btn--ivory:hover { background: var(--tsq-paper); }

.btn--dark { background: var(--tsq-deep); color: var(--tsq-ivory); }
.btn--dark:hover { background: var(--tsq-deep-alt); }

.btn--outline {
  background: transparent; color: var(--tsq-paper);
  border-color: rgba(251, 249, 245, 0.55);
  padding: 11px 22px; font-size: 12px;
}
.btn--outline:hover { background: rgba(251, 249, 245, 0.12); border-color: var(--tsq-paper); }

.text-link {
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--tsq-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--tsq-bronze);
  padding-bottom: 4px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color 180ms ease, border-color 180ms ease;
  background: none; cursor: pointer;
}
.text-link:hover { color: var(--tsq-bronze); }
.text-link .arrow { transition: transform 180ms ease; }
.text-link:hover .arrow { transform: translateX(4px); }
.text-link--light { color: var(--tsq-ivory); }
.text-link--light:hover { color: var(--tsq-bronze-soft); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 250ms ease, box-shadow 250ms ease;
}
.site-header.is-scrolled {
  position: fixed;
  background: rgba(25, 42, 41, 0.97);
  box-shadow: 0 1px 0 rgba(251, 249, 245, 0.08);
  animation: header-in 250ms ease;
}
@keyframes header-in { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: 32px;
}

.wordmark {
  display: inline-flex; align-items: center; gap: 16px;
  text-decoration: none; color: var(--tsq-paper);
  flex-shrink: 0;
}
.wordmark__tsq {
  font-family: var(--serif);
  font-size: 30px; letter-spacing: 0.08em;
  line-height: 1;
}
.wordmark__divider { width: 1px; height: 34px; background: rgba(251, 249, 245, 0.4); }
.wordmark__name {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.24em; line-height: 1.7;
  text-transform: uppercase;
  color: rgba(251, 249, 245, 0.9);
}

.main-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.main-nav a {
  position: relative;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: rgba(251, 249, 245, 0.88);
  text-decoration: none;
  padding: 6px 0;
  transition: color 180ms ease;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--tsq-bronze-soft);
  transition: right 220ms ease;
}
.main-nav a:hover { color: var(--tsq-paper); }
.main-nav a:hover::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--tsq-paper); }
.main-nav a[aria-current="page"]::after { right: 0; }

.header-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.menu-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--tsq-paper);
  transition: transform 220ms ease, opacity 220ms ease;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--tsq-deep);
  display: flex; flex-direction: column;
  padding: 24px;
  visibility: hidden; opacity: 0;
  transition: opacity 250ms ease, visibility 250ms ease;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__close {
  background: none; border: 0; cursor: pointer;
  color: var(--tsq-ivory); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  width: 44px; height: 44px;
}
.mobile-menu nav {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: clamp(32px, 8vw, 44px);
  color: var(--tsq-ivory); text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--tsq-line-light);
  transition: color 180ms ease, padding-left 180ms ease;
}
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { color: var(--tsq-bronze-soft); padding-left: 12px; }
 
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 600px;
  height: min(54vw, 780px);
  display: flex; align-items: center;
  background: var(--tsq-deep);
  overflow: hidden;
}
.hero--short { height: clamp(430px, 39.5vw, 575px); min-height: 430px; }
.hero--services { height: clamp(420px, 30vw, 560px); min-height: 420px; }
.hero--approach { height: clamp(400px, 37.5vw, 545px); min-height: 400px; }
.hero--insights { height: clamp(380px, 34.5vw, 500px); min-height: 380px; }
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focal, 70% 50%);
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 31, 32, 0.88) 0%, rgba(18, 31, 32, 0.5) 48%, rgba(18, 31, 32, 0.10) 100%);
}
/* home hero: fade the left side into the brand deep green so the image
   blends seamlessly with the site palette and keeps the headline legible */
.hero:not(.hero--short) .hero__media::after {
  background: linear-gradient(90deg, var(--tsq-deep) 0%, rgba(25, 42, 41, 0.82) 26%, rgba(25, 42, 41, 0.30) 52%, rgba(25, 42, 41, 0.04) 78%, rgba(25, 42, 41, 0) 100%);
}
.hero__content { position: relative; z-index: 1; width: 100%; }
.hero__inner { max-width: 780px; }
.hero .h1 { margin-bottom: 24px; }
.hero .lede { max-width: 46ch; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; flex-wrap: wrap; }
.hero__meta {
  position: absolute; left: 0; right: 0; bottom: 30px; z-index: 1;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(251, 249, 245, 0.75);
}

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--tsq-cream); }
.section--paper { background: var(--tsq-paper); }
.section--deep { background: var(--tsq-deep); color: var(--tsq-ivory); }
.section--deep .h2, .section--deep .h3 { color: var(--tsq-paper); }

.split {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.split--even { grid-template-columns: 1fr 1fr; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* philosophy / dark feature band */
.feature-band { position: relative; overflow: hidden; background: var(--tsq-deep); color: var(--tsq-ivory); }
.feature-band__grid {
  display: grid; grid-template-columns: 40fr 60fr;
  min-height: 340px;
}
.feature-band__media { position: relative; min-height: 240px; }
.feature-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-band__body {
  padding: clamp(40px, 4.5vw, 60px) clamp(36px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center;
}
.feature-band__title { font-size: clamp(28px, 3vw, 37px); color: var(--tsq-paper); line-height: 1.2; }

.principle-list { list-style: none; margin-top: 44px; }
.principle-list li {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--tsq-line-light);
}
.principle-list li:last-child { border-bottom: 1px solid var(--tsq-line-light); }
.principle-list .icon { flex-shrink: 0; width: 30px; height: 30px; color: var(--tsq-bronze-soft); margin-top: 2px; }
.principle-list strong { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--tsq-paper); display: block; }
.principle-list p { font-size: 14px; color: rgba(242, 238, 231, 0.7); margin-top: 4px; }

/* principles inset card (about) */
.inset-card {
  background: var(--tsq-paper);
  border: 1px solid var(--tsq-line);
  padding: clamp(26px, 3.2vw, 42px);
  width: 92%;
  margin-left: auto;
}
.inset-card .h3 { margin-bottom: 28px; }
.inset-list { list-style: none; }
.inset-list li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--tsq-line);
}
.inset-list li:first-child { border-top: 0; padding-top: 0; }
.inset-list .icon { width: 28px; height: 28px; color: var(--tsq-bronze); flex-shrink: 0; margin-top: 5px; }
.inset-list strong { font-family: var(--serif); font-size: 22px; font-weight: 500; display: block; line-height: 1.2; }
.inset-list p { font-size: 13.5px; color: var(--tsq-muted); }

/* highlights row (about) */
.highlights {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--tsq-line);
}
.highlights__item {
  padding: 44px 32px 8px;
  text-align: center;
  border-left: 1px solid var(--tsq-line);
}
.highlights__item:first-child { border-left: 0; }
.highlights__item .icon { width: 34px; height: 34px; color: var(--tsq-bronze); margin: 0 auto 18px; }
.highlights__item .big { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.highlights__item .label {
  margin-top: 10px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--tsq-muted);
}

/* quote block */
.quote-block { max-width: 560px; }
.quote-block .quote { display: block; }

/* full-bleed media + quote split (about) */
.bleed-split { display: grid; grid-template-columns: 55fr 45fr; background: var(--tsq-cream); min-height: 340px; }
.bleed-split__media { position: relative; min-height: 240px; }
.bleed-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed-split__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px clamp(40px, 7vw, 110px) 64px clamp(40px, 7.5vw, 115px);
}

/* ---------- Services rows ---------- */
.service-rows { border-top: 1px solid var(--tsq-line); }
.service-row {
  display: grid;
  grid-template-columns: 422px 60px 1fr 60px;
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--tsq-line);
}
.service-row__media { aspect-ratio: 422/127; overflow: hidden; }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.service-row:hover .service-row__media img { transform: scale(1.04); }
.service-row__num {
  font-family: var(--serif); font-size: 22px; color: var(--tsq-bronze);
}
.service-row__title { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 8px; }
.service-row__desc { font-size: 15.5px; color: var(--tsq-muted); max-width: 52ch; }
.service-row__arrow {
  justify-self: end;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--tsq-ink);
  transition: color 180ms ease, transform 180ms ease;
}
.service-row:hover .service-row__arrow { color: var(--tsq-bronze); transform: translateX(6px); }

/* capabilities grid */
.cap-layout { display: grid; grid-template-columns: 33fr 67fr; gap: clamp(40px, 4.5vw, 64px); align-items: center; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap-card {
  background: #EAE5D9;
  padding: 28px 22px;
  transition: background 200ms ease;
}
.cap-card:hover { background: #E4DDCE; }
.cap-card .icon { width: 34px; height: 34px; color: var(--tsq-bronze); margin-bottom: 18px; }
.cap-card h3 { font-family: var(--sans); font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.cap-card p { font-size: 13px; color: var(--tsq-muted); }

/* roles (for investors / sponsors) */
.role-list { list-style: none; }
.role-list li { display: flex; gap: 22px; padding: 24px 0; border-top: 1px solid var(--tsq-line); }
.role-list li:first-child { border-top: 0; }
.role-list .icon { width: 40px; height: 40px; color: var(--tsq-bronze); flex-shrink: 0; }
.role-list strong { font-family: var(--serif); font-weight: 500; font-size: 26px; display: block; margin-bottom: 6px; }
.role-list p { font-size: 15px; color: var(--tsq-muted); }

/* ---------- Approach timeline ---------- */
.timeline { list-style: none; position: relative; }
.timeline li:not(:last-child)::before {
  content: "";
  position: absolute; left: 27px; top: 26px; bottom: -26px;
  width: 1px; background: var(--tsq-bronze);
  opacity: 0.55;
}
.timeline li {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 26px 0;
}
.timeline__num {
  width: 55px; height: 55px;
  border: 1px solid var(--tsq-bronze);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px; color: var(--tsq-bronze);
  background: var(--tsq-ivory);
  position: relative; z-index: 1;
}
.timeline strong { font-family: var(--serif); font-weight: 500; font-size: 26px; display: block; margin-bottom: 6px; }
.timeline p { font-size: 14.5px; color: var(--tsq-muted); max-width: 48ch; }

/* guides (approach dark band) */
.guide-list { list-style: none; }
.guide-list li {
  display: flex; gap: 26px; align-items: flex-start;
  padding: 26px 0;
  border-top: 1px solid var(--tsq-line-light);
}
.guide-list li:last-child { border-bottom: 1px solid var(--tsq-line-light); }
.guide-list .icon { width: 36px; height: 36px; color: var(--tsq-bronze-soft); flex-shrink: 0; margin-top: 4px; }
.guide-list strong { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2vw, 26px); color: var(--tsq-paper); display: block; line-height: 1.3; }
.guide-list p { font-size: 14px; color: rgba(242, 238, 231, 0.72); margin-top: 6px; max-width: 46ch; }

/* ---------- Insights ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.insight-card { display: flex; flex-direction: column; }
.insight-card__media { aspect-ratio: 1.067; overflow: hidden; margin-bottom: 22px; }
.insight-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.insight-card:hover .insight-card__media img { transform: scale(1.05); }
.insight-card__date { font-size: 12px; letter-spacing: 0.08em; color: var(--tsq-muted); margin-bottom: 10px; }
.insight-card__title { font-size: clamp(21px, 1.9vw, 25px); line-height: 1.3; margin-bottom: 18px; }
.insight-card .text-link { margin-top: auto; align-self: flex-start; }

.perspective-rows { list-style: none; }
.perspective-rows li {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 26px 0;
  border-top: 1px solid var(--tsq-line);
}
.perspective-rows li:last-child { border-bottom: 1px solid var(--tsq-line); }
.perspective-rows .icon { width: 34px; height: 34px; color: var(--tsq-bronze); flex-shrink: 0; margin-top: 4px; }
.perspective-rows strong { font-family: var(--serif); font-weight: 500; font-size: 22px; display: block; }
.perspective-rows p { font-size: 14px; color: var(--tsq-muted); margin-top: 4px; }

/* subscribe band */
.subscribe-band { position: relative; overflow: hidden; background: var(--tsq-deep); color: var(--tsq-ivory); }
.subscribe-band__grid { display: grid; grid-template-columns: 38fr 62fr; }
.subscribe-band__media { position: relative; min-height: 200px; }
.subscribe-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.subscribe-band__body { padding: 52px clamp(44px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.subscribe-band__title { font-size: clamp(26px, 2.8vw, 38px); color: var(--tsq-paper); margin-bottom: 14px; }
.subscribe-band__body > p { color: rgba(242, 238, 231, 0.75); font-size: 15px; max-width: 46ch; }

.subscribe-form { display: flex; gap: 14px; margin-top: 32px; max-width: 560px; }
.subscribe-form input {
  flex: 1;
  background: var(--tsq-paper);
  border: 1px solid transparent;
  padding: 15px 18px;
  font-family: var(--sans); font-size: 14px;
  color: var(--tsq-ink);
}
.subscribe-form input:focus-visible { outline-offset: 0; outline-color: var(--tsq-bronze-soft); }
.subscribe-form input.is-error { border-color: #c66; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--tsq-bronze-soft); min-height: 20px; }

/* ---------- Map section ---------- */
.map-wrap { position: relative; }
.map-wrap img { width: 100%; height: auto; }
.map-legend {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
}
.map-legend li {
  font-size: 14px; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 12px;
}
.map-legend li::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--tsq-bronze);
  flex-shrink: 0;
}

.quote-card {
  background: var(--tsq-paper);
  border: 1px solid var(--tsq-line);
  padding: clamp(28px, 3vw, 44px);
}
.quote-card p {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 2; color: var(--tsq-ink);
  margin-bottom: 26px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 30fr 59fr;
  gap: clamp(48px, 6vw, 100px);
}
.contact-details h2, .contact-form h2 { font-size: 28px; margin-bottom: 26px; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; }
.contact-line .icon { width: 24px; height: 24px; color: var(--tsq-bronze); flex-shrink: 0; margin-top: 3px; }
.contact-line a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 180ms ease; }
.contact-line a:hover { border-color: var(--tsq-bronze); }

.field { margin-bottom: 18px; display: grid; grid-template-columns: 110px 1fr; gap: 8px 18px; align-items: start; }
.field label {
  display: block;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  padding-top: 12px;
  margin-bottom: 0;
}
.field label .req { color: var(--tsq-bronze); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--tsq-paper);
  border: 1px solid var(--tsq-line);
  padding: 14px 16px;
  font-family: var(--sans); font-size: 14.5px; color: var(--tsq-ink);
  transition: border-color 180ms ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--tsq-bronze);
}
.field.is-error input, .field.is-error textarea { border-color: #B05C4E; }
.field__error { display: none; grid-column: 2; font-size: 12.5px; color: #96503F; margin-top: 0; }
.field.is-error .field__error { display: block; }
.contact-form button[type="submit"] { margin-left: 128px; }
.form-success {
  display: none;
  border: 1px solid var(--tsq-bronze);
  background: var(--tsq-paper);
  padding: 28px 32px;
  margin-top: 10px;
}
.form-success.is-visible { display: block; }
.form-success strong { font-family: var(--serif); font-size: 22px; font-weight: 500; display: block; margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--tsq-muted); }

.enquiry-strip {
  display: grid; grid-template-columns: 1fr 2fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  border-top: 1px solid var(--tsq-line);
  padding-top: 56px;
}
.enquiry-strip h3 { font-size: 24px; }
.enquiry-strip p { font-size: 14px; color: var(--tsq-muted); }
.enquiry-strip .note { display: flex; gap: 14px; align-items: flex-start; }
.enquiry-strip .note .icon { width: 22px; height: 22px; color: var(--tsq-bronze); flex-shrink: 0; margin-top: 2px; }
.enquiry-strip .note strong { display: block; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.enquiry-strip .note p { font-size: 13px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--tsq-deep); color: var(--tsq-ivory); }
.cta-band__body { max-width: var(--content-max); margin-inline: auto; padding: clamp(64px, 8vw, 104px) var(--gutter); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.cta-band__title { font-size: clamp(26px, 2.9vw, 40px); color: var(--tsq-paper); line-height: 1.25; max-width: 30ch; margin-bottom: 26px; }

/* ---------- Article modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 70;
  display: grid; place-items: center;
  padding: 24px;
  visibility: hidden; opacity: 0;
  transition: opacity 220ms ease, visibility 220ms ease;
}
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(18, 26, 25, 0.72); }
.modal__panel {
  position: relative;
  background: var(--tsq-ivory);
  max-width: 720px; width: 100%;
  max-height: 84vh; overflow: auto;
  padding: clamp(32px, 5vw, 56px);
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  font-size: 22px; color: var(--tsq-ink);
}
.modal__date { font-size: 12px; letter-spacing: 0.1em; color: var(--tsq-muted); text-transform: uppercase; margin-bottom: 14px; }
.modal__title { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; margin-bottom: 20px; }
.modal__body p { font-size: 15px; color: var(--tsq-muted); margin-bottom: 14px; max-width: 62ch; }
body.modal-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tsq-deep);
  color: rgba(242, 238, 231, 0.8);
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  padding: 44px 0 34px;
}
.footer-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 13px; color: rgba(242, 238, 231, 0.85);
  text-decoration: none;
  transition: color 180ms ease;
}
.footer-nav a:hover { color: var(--tsq-bronze-soft); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--tsq-line-light);
  font-size: 12.5px;
  color: rgba(242, 238, 231, 0.55);
}
.footer-legal { display: flex; gap: 26px; }
.footer-legal a { color: rgba(242, 238, 231, 0.75); text-decoration: none; transition: color 180ms ease; }
.footer-legal a:hover { color: var(--tsq-bronze-soft); }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 76ch; }
.legal-body h2 { font-size: 26px; margin: 40px 0 14px; }
.legal-body p, .legal-body li { font-size: 15px; color: var(--tsq-muted); margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; }

/* ---------- Reveal on scroll (enhancement only) ---------- */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 550ms ease, transform 550ms ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Home: who we are ---------- */
.who-grid {
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.who-media { aspect-ratio: 1.2; overflow: hidden; }
.who-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.who-media:hover img { transform: scale(1.04); }
.who-grid .text-link { margin-top: 30px; }

/* ---------- Home: philosophy band (3-column) ---------- */
.philosophy-cols {
  display: grid;
  grid-template-columns: 1.75fr 1px 1fr;
  gap: clamp(20px, 2.5vw, 36px);
  align-items: center;
}
.philosophy-cols .v-divider { width: 1px; align-self: stretch; background: var(--tsq-line-light); }
.principle-list--plain li { border: 0; padding: 14px 0; }
.principle-list--plain li:last-child { border-bottom: 0; }
.principle-list--plain { margin-top: 0; }

/* ---------- Global reach ---------- */
.reach-grid {
  display: grid;
  grid-template-columns: 30fr 37fr 7fr 22fr;
  gap: clamp(20px, 2.5vw, 34px);
  align-items: center;
}
.location-list { list-style: none; }
.location-list li { padding: 8px 0; font-size: 14.5px; }
.reach-quote { border-left: 1px solid var(--tsq-line); padding-left: clamp(28px, 3vw, 48px); }
.reach-quote p {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  line-height: 2.05; color: var(--tsq-ink);
  margin-bottom: 28px;
}
.btn--sand { background: #E3D5BE; color: var(--tsq-ink); }
.btn--sand:hover { background: #D9C8AC; }

/* ---------- Contact: locations ---------- */
.locations-grid {
  display: grid;
  grid-template-columns: 340px 1fr 160px;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
.locations-grid .map-wrap { border-left: 1px solid var(--tsq-line); padding-left: clamp(28px, 4vw, 64px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .main-nav { gap: 24px; }
  .service-row { grid-template-columns: 320px 50px 1fr 48px; }
}

@media (max-width: 900px) {
  :root { --gutter: 28px; --header-h: 72px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .section { padding: 72px 0; }
  .split, .split--even { grid-template-columns: 1fr; gap: 40px; }
  .inset-card { width: 100%; margin-left: 0; }
  .split__media { order: -1; }
  .split--media-first .split__media { order: -1; }
  .feature-band__grid, .subscribe-band__grid, .bleed-split { grid-template-columns: 1fr; }
  .feature-band__media { min-height: 300px; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .highlights__item { border-left: 0; border-top: 1px solid var(--tsq-line); padding: 32px 16px 8px; }
  .service-row { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; }
  .service-row__media { aspect-ratio: 16/9; }
  .service-row__num { order: -1; }
  .service-row__arrow { display: none; }
  .cap-layout { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; max-width: 560px; }
  .contact-grid { grid-template-columns: 1fr; }
  .enquiry-strip { grid-template-columns: 1fr; gap: 28px; }
  .who-grid { grid-template-columns: 1fr; }
  .who-media { max-width: 560px; }
  .philosophy-cols { grid-template-columns: 1fr; }
  .philosophy-cols .v-divider { display: none; }
  .reach-grid { grid-template-columns: 1fr; }
  .reach-quote { border-left: 0; padding-left: 0; border-top: 1px solid var(--tsq-line); padding-top: 36px; }
  .location-list { display: flex; gap: 22px; flex-wrap: wrap; }
  .locations-grid { grid-template-columns: 1fr; }
  .locations-grid .map-wrap { border-left: 0; padding-left: 0; }
  .hero { height: auto; min-height: 520px; padding: 140px 0 90px; flex-direction: column; justify-content: center; align-items: stretch; }
  .hero--short { min-height: 420px; padding: 130px 0 70px; }
  /* On narrow screens text spans the full width, so the desktop left-to-right
     fade leaves the line endings over the bright part of the photo. Use a
     uniform dark veil plus a bottom-weighted gradient to keep text legible. */
  .hero__media::after {
    background: linear-gradient(180deg, rgba(18, 31, 32, 0.55) 0%, rgba(18, 31, 32, 0.62) 55%, rgba(18, 31, 32, 0.78) 100%);
  }
  .hero:not(.hero--short) .hero__media::after {
    background: linear-gradient(180deg, rgba(18, 31, 32, 0.60) 0%, rgba(25, 42, 41, 0.66) 55%, rgba(25, 42, 41, 0.82) 100%);
  }
  .hero__meta { position: static; margin-top: 44px; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .cap-grid { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .field { grid-template-columns: 1fr; gap: 8px; }
  .contact-form button[type="submit"] { margin-left: 0; }
  .field label { padding-top: 0; }
  .field__error { grid-column: 1; }
  .subscribe-form { flex-direction: column; }
  .hero__actions { gap: 18px; }
  .wordmark__tsq { font-size: 25px; }
  .wordmark__name { font-size: 9px; }
  .timeline li { grid-template-columns: 46px 1fr; gap: 18px; }
  .timeline li:not(:last-child)::before { left: 22px; }
  .timeline__num { width: 45px; height: 45px; font-size: 17px; }
}
