
/* =========================================
   NEXUS FINANCIAL SOLUTION
   Complete responsive design + theme system
========================================= */

:root {
  color-scheme: dark;
  --bg: #0b1424;
  --bg-soft: #101d31;
  --surface: #122039;
  --surface-2: #172740;
  --text: #f5f6fa;
  --muted: #a7b2c4;
  --muted-strong: #c4ccda;
  --gold: #d7b56d;
  --gold-light: #ecd49d;
  --border: rgba(183, 199, 220, 0.14);
  --header-bg: rgba(11, 20, 36, 0.88);
  --input-bg: #0d192b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  --radius: 16px;
}

body.light-mode {
  color-scheme: light;
  --bg: #f4f6fa;
  --bg-soft: #edf1f7;
  --surface: #ffffff;
  --surface-2: #f8f9fc;
  --text: #162239;
  --muted: #5e6b80;
  --muted-strong: #39475d;
  --gold: #9a7129;
  --gold-light: #78571c;
  --border: rgba(29, 47, 75, 0.14);
  --header-bg: rgba(255, 255, 255, 0.94);
  --input-bg: #ffffff;
  --shadow: 0 20px 60px rgba(24, 42, 70, 0.09);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body,
button,
input,
textarea,
select {
  font-family: "DM Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  position: relative;
}

.section-padding {
  padding-block: 112px;
}

h1,
h2,
h3,
h4 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(2.8rem, 5.2vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.2rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
}

button {
  color: inherit;
}

::selection {
  background: var(--gold);
  color: #101827;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background-color 0.25s ease;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  display: block;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1.15;
}

.brand-name small {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav > a:not(.button) {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav > a:not(.button):hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.2s ease;
}

/* Theme switch */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: transparent;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  background: var(--surface-2);
  border-color: var(--gold);
}

#themeIcon {
  font-size: 17px;
  line-height: 1;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 7px;
  background: var(--gold);
  color: #101827;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--gold-light);
  box-shadow: 0 10px 28px rgba(185, 145, 65, 0.18);
}

.button span {
  font-size: 17px;
}

.button-small {
  min-height: 42px;
  padding-inline: 16px;
  gap: 9px;
  font-size: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--gold);
}

.text-link span {
  color: var(--gold);
  font-size: 18px;
}

/* Hero */

.hero {
  overflow: hidden;
  padding-top: 94px;
  padding-bottom: 36px;
  background:
    radial-gradient(ellipse at 13% 22%, rgba(30, 56, 91, 0.32), transparent 42%),
    var(--bg);
}

body.light-mode .hero {
  background:
    radial-gradient(ellipse at 13% 22%, rgba(215, 181, 109, 0.12), transparent 43%),
    var(--bg);
}

.hero-glow {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-glow-one {
  top: 80px;
  right: 12%;
  background: rgba(215, 181, 109, 0.07);
}

.hero-glow-two {
  bottom: 30px;
  left: 20%;
  background: rgba(47, 95, 155, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 70px;
}

.hero-content {
  padding-block: 20px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  max-width: 650px;
}

.hero h1 > span,
.section-heading h2 > span,
.approach-intro h2 > span,
.contact-copy h2 > span {
  color: var(--gold);
}

.hero-description {
  max-width: 510px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 44px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
}

.trust-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(215, 181, 109, 0.35);
  border-radius: 50%;
  color: var(--gold);
  font-size: 20px;
}

.hero-trust p {
  font-size: 12px;
  line-height: 1.7;
}

.hero-trust strong {
  color: var(--text);
  font-size: 13px;
}

/* Hero chart panel */

.hero-visual {
  position: relative;
  padding: 27px;
  border: 1px solid rgba(183, 199, 220, 0.17);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(28, 46, 72, 0.92), rgba(13, 25, 43, 0.97));
  box-shadow: var(--shadow);
}

body.light-mode .hero-visual {
  border-color: var(--border);
  background: linear-gradient(145deg, #ffffff, #edf2f8);
}

.visual-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(215, 181, 109, 0.1);
}

.visual-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 23px;
}

.muted-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.visual-heading h2 {
  margin-top: 5px;
  font-size: 21px;
  letter-spacing: -0.6px;
}

.visual-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(215, 181, 109, 0.38);
  border-radius: 10px;
  color: var(--gold);
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.chart-area {
  margin-top: 26px;
}

.chart-y-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 9px;
}

.growth-chart {
  display: block;
  width: 100%;
  overflow: visible;
}

.chart-grid line {
  stroke: var(--border);
  stroke-dasharray: 4 6;
  stroke-width: 1;
}

.chart-fill {
  fill: url(#chartFill);
}

.chart-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
}

.chart-point {
  fill: var(--gold);
  stroke: var(--bg-soft);
  stroke-width: 3;
}

.chart-caption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

.visual-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.visual-bottom strong {
  display: block;
  margin-top: 3px;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
}

.visual-arrow {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #101827;
  font-size: 21px;
}

.floating-note {
  position: absolute;
  right: -20px;
  bottom: 85px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.floating-note-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: rgba(215, 181, 109, 0.14);
  color: var(--gold);
}

.floating-note strong,
.floating-note small {
  display: block;
}

.floating-note strong {
  color: var(--text);
  font-size: 11px;
}

.floating-note small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 83px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero-bottom-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* Intro strip */

.intro-strip {
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
}

.intro-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 25px;
}

.intro-strip p,
.closing-strip p {
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
}

.intro-strip p span,
.closing-strip p span {
  color: var(--gold);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: start;
  gap: 90px;
}

.section-heading h2 {
  max-width: 600px;
}

.about-copy p {
  margin-bottom: 17px;
  line-height: 1.9;
}

.about-copy .text-link {
  margin-top: 10px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 66px;
}

.principle-card {
  position: relative;
  min-height: 225px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.principle-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 181, 109, 0.5);
}

.principle-number {
  position: absolute;
  top: 26px;
  right: 26px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}

.principle-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(215, 181, 109, 0.35);
  border-radius: 10px;
  color: var(--gold);
  font-size: 24px;
}

.principle-card h3 {
  margin-top: 26px;
  font-size: 17px;
  letter-spacing: -0.3px;
}

.principle-card p {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.8;
}

/* Services */

.services-section {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.section-heading-centered {
  max-width: 730px;
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered .eyebrow {
  justify-content: center;
}

.section-heading-centered h2 {
  max-width: none;
}

.section-subtitle {
  max-width: 600px;
  margin: 19px auto 0;
  line-height: 1.9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 181, 109, 0.55);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(215, 181, 109, 0.36);
  border-radius: 10px;
  color: var(--gold);
  font-size: 25px;
}

.service-index {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.service-card h3 {
  margin-top: 25px;
  font-size: 19px;
  letter-spacing: -0.5px;
}

.service-card p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.9;
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.service-link span {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.service-link:hover span {
  transform: translate(3px, -3px);
}

.service-disclaimer {
  max-width: 800px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
}

/* Approach */

.approach-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 100px;
}

.approach-intro h2 {
  max-width: 470px;
}

.approach-intro > p {
  max-width: 420px;
  margin-top: 22px;
  line-height: 1.9;
}

.approach-intro .button {
  margin-top: 28px;
}

.approach-steps {
  border-top: 1px solid var(--border);
}

.approach-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
}

.approach-step h3 {
  font-size: 16px;
  letter-spacing: -0.3px;
}

.approach-step p {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.8;
}

/* Contact */

.contact-section {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  align-items: start;
  gap: 90px;
}

.contact-copy h2 {
  max-width: 500px;
}

.contact-copy > p {
  max-width: 450px;
  margin-top: 22px;
  line-height: 1.9;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 31px;
}

.contact-detail-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid rgba(215, 181, 109, 0.35);
  border-radius: 10px;
  color: var(--gold);
  font-size: 20px;
}

.contact-detail small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.contact-detail strong {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
}

.contact-detail p {
  margin-top: 2px;
  font-size: 12px;
}

.contact-form {
  padding: 33px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-kicker {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.form-heading h3 {
  margin-top: 10px;
  font-size: 23px;
}

.form-heading p {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.8;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
}

.form-group label {
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--input-bg);
  color: var(--text);
  font-size: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

.form-group select {
  cursor: pointer;
}

.form-group textarea {
  min-height: 115px;
  resize: vertical;
}

.button-submit {
  width: 100%;
  margin-top: 23px;
  cursor: pointer;
}

.form-note {
  margin-top: 13px;
  text-align: center;
  font-size: 10px;
  line-height: 1.8;
}

.form-status {
  margin-top: 10px;
  color: var(--gold);
  font-size: 12px;
  text-align: center;
}

/* Closing strip */

.closing-strip {
  padding-block: 32px;
  border-bottom: 1px solid var(--border);
  background: var(--gold);
}

.closing-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.closing-strip p,
.closing-strip p span {
  color: #101827;
}

.button-dark {
  border-color: #101827;
  background: #101827;
  color: #ffffff;
}

.button-dark:hover {
  border-color: #24334c;
  background: #24334c;
  color: #ffffff;
}

/* Footer */

.site-footer {
  background: var(--bg);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
  padding-block: 38px;
}

.footer-tagline {
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
}

.footer-links a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 10px;
  line-height: 1.8;
}

.footer-disclaimer {
  max-width: 530px;
  text-align: right;
}

/* Light mode polish */

body.light-mode .principle-card,
body.light-mode .service-card,
body.light-mode .contact-form,
body.light-mode .approach-step,
body.light-mode .approach-steps {
  border-color: var(--border);
}

body.light-mode .hero-trust,
body.light-mode .visual-topline,
body.light-mode .visual-bottom {
  border-color: var(--border);
}

body.light-mode .chart-grid line {
  stroke: rgba(29, 47, 75, 0.14);
}

body.light-mode .chart-point {
  stroke: #edf2f8;
}

body.light-mode .theme-toggle {
  background: #f2f5fa;
}

body.light-mode .theme-toggle:hover {
  background: #e5ebf4;
}

/* Responsive layout */

@media (max-width: 1080px) {
  .main-nav {
    gap: 15px;
  }

  .main-nav > a:not(.button) {
    font-size: 12px;
  }

  .hero-grid {
    gap: 42px;
  }

  .floating-note {
    right: -8px;
  }

  .about-grid,
  .contact-grid {
    gap: 60px;
  }

  .approach-grid {
    gap: 60px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 78px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px 23px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .main-nav > a:not(.button) {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }

  .main-nav .theme-toggle {
    align-self: flex-start;
    margin-top: 15px;
  }

  .main-nav .nav-cta {
    align-self: flex-start;
    margin-top: 15px;
  }

  .hero {
    padding-top: 65px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-content {
    max-width: 700px;
  }

  .hero-visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .hero-bottom {
    margin-top: 60px;
  }

  .about-grid,
  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-copy {
    max-width: 700px;
  }

  .approach-intro > p,
  .contact-copy > p {
    max-width: 650px;
  }

  .principles-grid {
    margin-top: 45px;
  }

  .section-padding {
    padding-block: 85px;
  }

  .footer-main {
    align-items: flex-start;
  }

  .footer-tagline {
    max-width: 200px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 34px, 1160px);
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 43px;
    height: 43px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-name small {
    font-size: 7px;
    letter-spacing: 1.4px;
  }

  .header-inner {
    min-height: 72px;
  }

  .main-nav {
    padding-inline: 17px;
  }

  .hero {
    padding-top: 49px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-visual {
    padding: 19px;
  }

  .visual-heading h2 {
    font-size: 18px;
  }

  .floating-note {
    right: 8px;
    bottom: 70px;
    padding: 10px;
  }

  .hero-bottom {
    justify-content: flex-start;
    gap: 11px;
    margin-top: 45px;
    font-size: 8px;
    letter-spacing: 1px;
  }

  .intro-strip-inner,
  .closing-strip-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .intro-strip-inner {
    padding-block: 23px;
  }

  .section-padding {
    padding-block: 70px;
  }

  .section-heading h2,
  .approach-intro h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .principles-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: auto;
  }

  .service-card {
    min-height: 275px;
    padding: 24px;
  }

  .approach-step {
    grid-template-columns: 43px 1fr;
    gap: 13px;
  }

  .step-number {
    width: 37px;
    height: 37px;
  }

  .contact-form {
    padding: 22px 17px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-top: 18px;
  }

  .footer-main {
    flex-direction: column;
    gap: 20px;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-links {
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: 37px;
    height: 37px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-name small {
    font-size: 6px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-visual {
    padding: 14px;
  }

  .chart-y-labels {
    font-size: 8px;
  }

  .chart-caption {
    font-size: 7px;
  }
}

/* Respect reduced-motion settings */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
