/* Deep Bay Equestrian Group — shared styles for EN and 繁中 */

:root {
  --navy: #0b1c33;
  --navy-deep: #071422;
  --navy-mid: #14304f;
  --gold: #c6a56e;
  --gold-deep: #7a5e2a;
  --gold-soft: #e7d7b1;
  --white: #ffffff;
  --paper: #f6f7f9;
  --ink: #2c3848;
  --slate: #5c6b7a;
  --line: rgba(11, 28, 51, 0.1);
  --header: 76px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Songti TC", "PMingLiU", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", "PingFang HK", "PingFang TC", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
figure,
blockquote {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.hero :focus-visible,
.header :focus-visible,
.cta :focus-visible,
.finance-card :focus-visible,
.site-panel :focus-visible,
.footer :focus-visible {
  outline-color: var(--gold-soft);
}

html[lang="zh-Hant"] body {
  line-height: 1.8;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 300;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus {
  top: 10px;
}

.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;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
  scroll-margin-top: calc(var(--header) + 8px);
}

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

.eyebrow {
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 12px;
  background: currentColor;
  vertical-align: middle;
  transform: translateY(-1px);
}

.hero .eyebrow,
.site-panel .eyebrow,
.finance-card .eyebrow,
.cta .eyebrow {
  color: var(--gold-soft);
}

html[lang="zh-Hant"] .eyebrow,
html[lang="zh-Hant"] .badge,
html[lang="zh-Hant"] .brand-sub,
html[lang="zh-Hant"] .footer-label {
  letter-spacing: 0.18em;
}

.section-head {
  max-width: 740px;
  margin-bottom: 42px;
}

.section-head h2,
.site-copy h2,
.canvas-intro h2 {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.lead {
  margin-top: 16px;
  font-size: 1.08rem;
  max-width: 42rem;
}

html[lang="zh-Hant"] .hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.15rem);
  line-height: 1.3;
  letter-spacing: 0.04em;
  max-width: none;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(198, 165, 110, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.header-inner {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1;
  color: var(--white);
}

.brand-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  display: flex;
  padding: 3px;
  border: 1px solid rgba(198, 165, 110, 0.5);
  border-radius: 999px;
}

.lang a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 999px;
  line-height: 1;
}

.lang a.is-active {
  background: var(--gold);
  color: var(--navy);
}

.lang a:hover {
  color: var(--white);
}

.lang a.is-active:hover {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  cursor: pointer;
}

.burger {
  position: relative;
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}

.burger::before {
  top: -6px;
}

.burger::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .burger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .burger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.nav-links {
  display: flex;
  flex-direction: column;
}

.nav-links a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-links a:hover {
  color: var(--gold-soft);
}

.nav-phone {
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 1.15rem;
  padding-top: 8px;
  letter-spacing: 0.04em;
}

.nav-phone:hover {
  color: var(--white);
}

@media (max-width: 1119px) {
  html.js .nav-toggle {
    display: inline-flex;
  }

  html.js .nav-panel {
    position: fixed;
    z-index: 250;
    top: var(--header);
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    padding: 8px 24px 32px;
    background: var(--navy-deep);
    overflow: auto;
    visibility: hidden;
    pointer-events: none;
  }

  html.js .nav-panel.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  html.js .header-inner {
    flex-wrap: nowrap;
    padding: 0;
    height: var(--header);
  }
}

@media (min-width: 1120px) {
  .header-inner {
    flex-wrap: nowrap;
    height: var(--header);
    padding: 0;
    justify-content: flex-start;
    gap: 28px;
  }

  .nav-panel {
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 26px;
    margin-left: auto;
  }

  .nav-links {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .nav-links a {
    padding: 6px 0;
    font-size: 0.86rem;
    letter-spacing: 0.045em;
    border-bottom: 0;
  }

  .nav-phone {
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    padding-top: 0;
    white-space: nowrap;
  }

  .nav-toggle {
    display: none;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header));
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(198, 165, 110, 0.18), transparent 52%),
    radial-gradient(ellipse 40% 45% at 0% 100%, rgba(255, 255, 255, 0.05), transparent 50%),
    linear-gradient(165deg, #102844 0%, var(--navy) 46%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.84);
  padding: 64px 0 48px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.hero-layout {
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(198, 165, 110, 0.45);
}

.hero-photo img,
.inline-photo img,
.site-visual img,
.coast-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo img {
  height: 280px;
}

.deck-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.split-head {
  display: grid;
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}

.split-head .section-head {
  margin-bottom: 0;
}

.inline-photo,
.coast-photo,
.site-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(198, 165, 110, 0.4);
}

.inline-photo img,
.coast-photo img,
.site-visual img {
  height: 220px;
}

.icon-points {
  display: grid;
  gap: 22px;
  margin-top: 8px;
}

.icon-points li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  color: var(--ink);
}

.icon-points-plain {
  margin-top: 28px;
}

.photo-pair {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.photo-card {
  margin: 0;
  background: var(--navy);
  border: 1px solid rgba(11, 28, 51, 0.08);
}

.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.photo-card figcaption {
  padding: 14px 18px 16px;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--white);
}

.panorama-band {
  margin: 0;
  background: var(--navy-deep);
}

.panorama-band img {
  width: 100%;
  height: auto;
  display: block;
}

.feature .deck-icon,
.pillar .deck-icon {
  margin-bottom: 16px;
}

.finance-grid .deck-icon {
  margin-bottom: 14px;
}

.hero h1 {
  max-width: 11em;
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 6vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero-lead {
  max-width: 38rem;
  margin-top: 22px;
  font-size: 1.08rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid transparent;
}

html[lang="zh-Hant"] .btn {
  letter-spacing: 0.14em;
}

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

.btn-gold:hover {
  background: var(--gold-soft);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 56px;
  max-width: 760px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.metric {
  padding: 18px 0 0;
}

.metric + .metric {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.metric-value {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--white);
  line-height: 1.1;
}

.metric-label {
  margin-top: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

html[lang="zh-Hant"] .metric-label {
  letter-spacing: 0.12em;
}

.hero-ornament {
  position: absolute;
  right: -6%;
  top: 50%;
  width: min(48vw, 520px);
  color: var(--gold);
  opacity: 0.28;
  transform: translateY(-52%);
  pointer-events: none;
}

.hero-ornament svg {
  width: 100%;
  height: auto;
}

/* Vision */

.pillar-grid {
  display: grid;
  gap: 22px;
}

.pillar {
  padding-top: 18px;
  border-top: 1px solid rgba(11, 28, 51, 0.14);
}

.pillar-index {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-deep);
}

.pillar h3,
.feature h3,
.location h3,
.finance-grid h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--navy);
}

.pillar p,
.feature p {
  margin-top: 10px;
}

/* Site */

.site-layout {
  display: grid;
  gap: 28px;
  align-items: stretch;
}

.site-panel {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 165, 110, 0.2), transparent 42%),
    linear-gradient(180deg, var(--navy-mid), var(--navy) 55%, var(--navy-deep));
  color: rgba(255, 255, 255, 0.82);
}

.site-panel::after {
  content: "133";
  position: absolute;
  right: -12px;
  top: -28px;
  font-family: var(--serif);
  font-size: 11rem;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.site-panel > * {
  position: relative;
  z-index: 1;
}

.site-number {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(4.4rem, 9vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--white);
  font-variant-numeric: lining-nums;
}

.site-unit {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.site-caption {
  max-width: 26rem;
  margin-top: 12px;
  color: var(--white);
  font-size: 1.08rem;
}

.site-lot {
  margin-top: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-soft);
}

.site-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}

.points {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.points li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
}

.points li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 1.5px solid var(--gold-deep);
  border-bottom: 1.5px solid var(--gold-deep);
  transform: rotate(-45deg);
}

/* Facilities */

.feature-grid {
  display: grid;
  gap: 18px;
}

.feature {
  padding: 28px 24px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.section-paper .feature,
.feature {
  background: var(--white);
}

.feature:hover {
  border-color: rgba(198, 165, 110, 0.85);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--gold-deep);
  border: 1px solid rgba(122, 94, 42, 0.35);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

/* Financial model */

.finance-card {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 165, 110, 0.16), transparent 36%),
    linear-gradient(155deg, #163656 0%, var(--navy) 48%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.finance-card h2 {
  max-width: 14em;
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -0.02em;
}

.finance-card::before,
.contact-card::before,
.finance-card::after,
.contact-card::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--gold);
  border-style: solid;
  pointer-events: none;
}

.finance-card::before,
.contact-card::before {
  top: 16px;
  left: 16px;
  border-width: 1px 0 0 1px;
}

.finance-card::after,
.contact-card::after {
  right: 16px;
  bottom: 16px;
  border-width: 0 1px 1px 0;
}

.finance-grid {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.finance-grid article {
  padding: 22px 8px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.finance-grid h3 {
  color: var(--white);
  font-size: 1.45rem;
}

.finance-grid p {
  margin-top: 10px;
}

.finance-highlight {
  padding: 22px 20px;
  border: 1px solid rgba(198, 165, 110, 0.5);
  background: rgba(198, 165, 110, 0.08);
}

.finance-fee {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 4.8rem);
  line-height: 0.9;
  color: var(--gold);
  font-variant-numeric: lining-nums;
}

.finance-highlight h3 {
  margin-top: 8px;
}

/* Strategic canvas */

.canvas {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(11, 28, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 28, 51, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
}

.locations {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.location {
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 28, 51, 0.08);
}

.pin {
  margin-bottom: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.bridge {
  display: none;
}

.recognition {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.45;
  color: var(--navy);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chips li {
  padding: 10px 14px;
  border: 1px solid rgba(122, 94, 42, 0.4);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

/* Contact */

.cta {
  background:
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(198, 165, 110, 0.16), transparent 50%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.82);
}

.cta-layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

.badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 11px;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -0.02em;
}

.cta .lead {
  color: rgba(255, 255, 255, 0.82);
}

.cta-note {
  margin-top: 12px;
  color: var(--gold-soft);
}

.contact-card {
  position: relative;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(198, 165, 110, 0.45);
}

.contact-name {
  margin: 10px 0 6px;
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--white);
  line-height: 1.15;
}

.contact-card a {
  display: inline-block;
  margin-top: 8px;
  margin-right: 16px;
  color: var(--white);
  text-decoration: none;
  font-size: 1.05rem;
}

.contact-card a:hover {
  color: var(--gold-soft);
}

/* Footer */

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 24px;
  border-top: 1px solid rgba(198, 165, 110, 0.22);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 28rem;
}

.footer-domain {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold-soft);
  text-decoration: none;
}

.footer-label {
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-domain:hover {
  color: var(--gold-soft);
}

.footer-contact a {
  display: block;
  margin-top: 6px;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}

/* Layout breakpoints */

@media (min-width: 700px) {
  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric {
    padding: 22px 20px 0 0;
  }

  .metric + .metric {
    margin-top: 0;
    padding: 22px 0 0 20px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .locations {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }

  .bridge {
    display: flex;
    align-items: center;
    width: 72px;
  }

  .bridge span {
    position: relative;
    display: block;
    width: 100%;
    height: 1px;
    background: var(--gold);
  }

  .bridge span::before,
  .bridge span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    transform: translateY(-50%);
  }

  .bridge span::before {
    left: 0;
  }

  .bridge span::after {
    right: 0;
  }
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  }

  .hero-photo img {
    height: 100%;
    min-height: 360px;
  }

  .split-head {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }
}

@media (min-width: 800px) {
  .pillar-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .photo-pair {
    grid-template-columns: 1fr 1fr;
  }

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

  .site-layout {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
      "photo copy"
      "panel copy";
    gap: 22px 48px;
    align-items: stretch;
  }

  .site-visual {
    grid-area: photo;
  }

  .site-visual img {
    height: 210px;
  }

  .site-panel {
    grid-area: panel;
    min-height: 0;
  }

  .site-copy {
    grid-area: copy;
  }

  .finance-grid {
    grid-template-columns: 1fr 0.92fr 1fr;
    align-items: stretch;
  }

  .finance-grid article {
    height: 100%;
  }

  .cta-layout {
    grid-template-columns: 1.35fr 0.75fr;
    gap: 48px;
  }

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

@media (max-width: 699px) {
  :root {
    --header: 66px;
  }

  .container,
  .hero-inner,
  .header-inner {
    width: min(1120px, calc(100% - 32px));
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: 0;
    padding: 40px 0 36px;
    align-items: flex-start;
  }

  .hero-ornament {
    width: 72vw;
    right: -22%;
    top: auto;
    bottom: -6%;
    opacity: 0.18;
    transform: none;
  }

  .contact-card a {
    display: block;
    margin-right: 0;
  }

  .site-panel {
    min-height: 0;
    padding: 32px 24px;
  }

  .site-panel::after {
    font-size: 8rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .feature:hover {
    transform: none;
  }
}
