/* Bravex Trade Services LLC — landing */
:root {
  --bg: #fafafa;
  --bg-muted: #f4f4f5;
  --bg-elevated: #ffffff;
  --ink: #18181b;
  --ink-muted: #52525b;
  --ink-faint: #71717a;
  /* Bravex brand red */
  --accent: #b91c1c;
  --accent-hover: #991b1b;
  --accent-soft: rgba(185, 28, 28, 0.1);
  --accent-glow: rgba(185, 28, 28, 0.18);
  --border: rgba(24, 24, 27, 0.08);
  --shadow: 0 24px 48px -12px rgba(24, 24, 27, 0.1);
  --shadow-sm: 0 8px 24px -8px rgba(24, 24, 27, 0.08);
  --shadow-lift: 0 32px 64px -16px rgba(24, 24, 27, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-duration: 0.85s;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* Anchor jumps clear the sticky/fixed header on all breakpoints */
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 8px);
}

/* iOS / notched devices: respect safe areas sitewide */
@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

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

  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .hero-shine,
  .hero-bg::before {
    animation: none !important;
  }

  .hero .eyebrow::after {
    animation: none !important;
    transform: scaleX(1) !important;
  }

  html.js .logo--enter {
    opacity: 1 !important;
    transform: none !important;
  }

  #hero-grid {
    --mx: 0 !important;
    --my: 0 !important;
  }
}

/* Scroll-driven entrance (JS adds .js; no-JS users see content immediately) */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(3px);
  transition:
    opacity var(--reveal-duration) var(--ease-out-expo),
    transform var(--reveal-duration) var(--ease-out-expo),
    filter var(--reveal-duration) var(--ease-out-expo);
  will-change: opacity, transform, filter;
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

html.js [data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

html.js [data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

html.js [data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1120px, 100% - clamp(24px, 6vw, 48px));
  margin-inline: auto;
}

/* Header — always fixed: sticky fails when html/body use overflow-x: hidden (PC + mobile). */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 300;
  background: rgba(250, 250, 250, 0.94);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(24, 24, 27, 0.06), 0 12px 40px -20px rgba(24, 24, 27, 0.12);
}

main#main {
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
}

/*
 * backdrop-filter only on wide layouts: on narrow screens it traps position:fixed
 * .nav-list (mobile drawer) inside a tiny containing block (Safari/iOS).
 */
@media (min-width: 961px) {
  .site-header {
    background: rgba(250, 250, 250, 0.78);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
  }

  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.86);
  }

  .nav-backdrop {
    display: none !important;
  }
}

/* Dim page behind mobile drawer; tap closes menu */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(24, 24, 27, 0.45);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
}

.nav-backdrop[hidden] {
  display: none !important;
}

/* Reduce rubber-band scroll on iOS while drawer is open (body is already fixed). */
html.nav-drawer-open {
  overscroll-behavior: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  width: min(1120px, 100% - clamp(24px, 6vw, 48px));
  margin-inline: auto;
  padding-block: 10px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 150;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--ink);
}

html.js .logo--enter {
  opacity: 0;
  transform: translateY(-10px) scale(0.96);
}

html.js .logo--enter.is-ready {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 1s var(--ease-out-expo),
    transform 1s var(--ease-out-expo);
}

.logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  object-position: left center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a:not(.btn) {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-list a:not(.btn):hover,
.nav-list a:not(.btn):focus-visible {
  color: var(--ink);
  background: rgba(24, 24, 27, 0.06);
  outline: none;
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--border);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 8px 16px;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #c92a2a 0%, var(--accent) 45%, #7f1d1d 100%);
  background-size: 200% 200%;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px -4px var(--accent-glow), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-position: 100% 50%;
  border-color: transparent;
  color: #fff;
  outline: none;
  box-shadow: 0 8px 24px -6px var(--accent-glow), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--ink-muted);
  outline: none;
}

.btn-outline {
  background: var(--bg-elevated);
  color: var(--ink);
  border-color: var(--border);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--ink);
  outline: none;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn-light:hover,
.btn-light:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  outline: none;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.btn-icon {
  display: flex;
  flex-shrink: 0;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(48px, 10vw, 100px) 0 clamp(64px, 12vw, 120px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 85% 10%, var(--accent-soft), transparent 50%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(244, 244, 245, 0.9), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-muted) 55%, var(--bg) 100%);
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: radial-gradient(
    circle at 35% 45%,
    rgba(185, 28, 28, 0.09) 0%,
    transparent 52%
  );
  animation: heroOrb 16s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroOrb {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.75;
  }
  100% {
    transform: translate(6%, -5%) scale(1.12);
    opacity: 1;
  }
}

.hero-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0.2) 52%,
    transparent 62%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: heroShine 11s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}

@keyframes heroShine {
  0%,
  100% {
    background-position: 130% 0;
    opacity: 0.35;
  }
  50% {
    background-position: -30% 0;
    opacity: 0.55;
  }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.hero-grid {
  --mx: 0;
  --my: 0;
  position: relative;
  z-index: 2;
  width: min(1120px, 100% - clamp(24px, 6vw, 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.hero-copy {
  max-width: 560px;
  transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -6px), 0);
  transition: transform 0.5s var(--ease-out-expo);
  will-change: transform;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

.hero .eyebrow {
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.hero .eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(185, 28, 28, 0.25) 72%, transparent 100%);
  transform-origin: left center;
  animation: eyebrowDraw 1.15s var(--ease-out-expo) 0.35s both;
}

@keyframes eyebrowDraw {
  from {
    transform: scaleX(0);
    opacity: 0.6;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--ink);
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--ink-muted);
  margin: 0 0 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--ink-faint);
}

.hero-trust li {
  position: relative;
  padding-left: 18px;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.hero-visual {
  position: relative;
  min-height: 380px;
  transform: perspective(1200px) rotateY(calc(var(--mx) * 2.5deg)) rotateX(calc(var(--my) * -1.8deg));
  transition: transform 0.5s var(--ease-out-expo);
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #fff;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  animation: float 10s var(--ease) infinite;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 42%,
    transparent 58%,
    rgba(0, 0, 0, 0.15) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-card > * {
  position: relative;
  z-index: 2;
}

.hero-card-1 {
  --card-rot: -2deg;
  width: 58%;
  top: 8%;
  left: 0;
  background:
    linear-gradient(155deg, rgba(24, 24, 27, 0.2) 0%, rgba(24, 24, 27, 0.72) 100%),
    url("images/PHOTO-2026-04-06-15-41-08%2820%29.jpg") center / cover;
  animation-delay: 0s;
}

.hero-card-2 {
  --card-rot: 1.5deg;
  width: 52%;
  bottom: 0;
  right: 0;
  background:
    linear-gradient(155deg, rgba(185, 28, 28, 0.25) 0%, rgba(24, 24, 27, 0.82) 100%),
    url("images/PHOTO-2026-04-06-15-41-08%2824%29.jpg") center / cover;
  animation-delay: -5s;
}

@media (min-width: 901px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    gap: clamp(28px, 4.5vw, 64px);
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-card-1 {
    width: 70%;
    top: 2%;
    left: -2%;
    min-height: 300px;
  }

  .hero-card-2 {
    width: 62%;
    right: -3%;
    bottom: -2%;
    min-height: 280px;
  }
}

@media (min-width: 1200px) {
  .hero {
    padding-bottom: clamp(72px, 11vw, 128px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.22fr);
    width: min(1240px, 100% - clamp(24px, 6vw, 48px));
  }

  .hero-visual {
    min-height: 580px;
  }

  .hero-card-1 {
    width: 76%;
    left: -4%;
    min-height: 360px;
  }

  .hero-card-2 {
    width: 68%;
    right: -5%;
    min-height: 320px;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--card-rot, 0deg));
  }
  50% {
    transform: translateY(-12px) rotate(var(--card-rot, 0deg));
  }
}

.hero-card-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 8px;
}

.hero-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Stats */
.stats {
  padding: 40px 0;
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-muted) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--ink);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* Sections */
.section {
  padding: clamp(64px, 10vw, 112px) 0;
}

.section-tint {
  background: linear-gradient(180deg, var(--bg-muted) 0%, #ffffff 45%, var(--bg) 100%);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.15;
}

.section-desc {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.section-desc a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.section-desc a:hover,
.section-desc a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.section-cta-row {
  margin-top: 40px;
  text-align: center;
}

/* Work grid */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.work-tile {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .work-tile:hover {
    box-shadow: var(--shadow-lift);
    transform: translateY(-6px);
    border-color: rgba(185, 28, 28, 0.15);
  }
}

.work-tile-lg {
  grid-row: span 2;
}

.work-media {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.7s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .work-tile:hover .work-media {
    transform: scale(1.06);
  }
}

.work-tile-lg .work-media {
  aspect-ratio: auto;
  min-height: 320px;
  flex: 1;
}

.work-tile-lg {
  display: flex;
  flex-direction: column;
}

.work-a {
  background-image:
    linear-gradient(180deg, transparent 35%, rgba(24, 24, 27, 0.55)),
    url("images/PHOTO-2026-04-06-15-41-08%2810%29.jpg");
}

.work-b {
  background-image: url("images/PHOTO-2026-04-06-15-41-08%2816%29.jpg");
}

.work-c {
  background-image: url("images/PHOTO-2026-04-06-15-41-08%2821%29.jpg");
}

.work-body {
  padding: 24px;
}

.work-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.work-body p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* Process */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  background: var(--bg-elevated);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .process-step:hover {
    border-color: rgba(185, 28, 28, 0.2);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }
}

.process-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.process-step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.process-step a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.process-step a:hover,
.process-step a:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #27272a 0%, #18181b 42%, #1c1917 100%);
  color: #fafafa;
  padding: clamp(56px, 8vw, 88px) 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 68%);
  pointer-events: none;
}

.cta-band::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.85;
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.cta-band-text {
  margin: 0;
  color: rgba(250, 250, 250, 0.68);
  max-width: 420px;
  font-size: 1.0625rem;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-desc {
  margin-top: 16px;
}

.contact-address {
  margin-top: 28px;
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.8;
}

.contact-address a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.contact-address a:hover,
.contact-address a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .contact-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }
}

.contact-card-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 12px;
}

.contact-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

.contact-note {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--ink-muted);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
  outline: none;
}

.footer-copy {
  width: 100%;
  margin: 8px 0 0;
  font-size: 0.8125rem;
  color: var(--ink-faint);
}

/* Mobile & narrow screens */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .hero-visual {
    min-height: 280px;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    transform: none;
    transition: none;
    transform-style: flat;
    will-change: auto;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-tile-lg {
    grid-row: auto;
  }

  .work-tile-lg .work-media {
    min-height: 240px;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .process-step {
    padding: 22px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-head {
    margin-bottom: 36px;
  }
}

/* Tablet / small laptop: avoid cramped horizontal nav */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 200;
  }

  .nav-list {
    position: fixed;
    left: 0;
    right: 0;
    top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
    bottom: 0;
    padding: 20px clamp(20px, 5vw, 28px) calc(24px + env(safe-area-inset-bottom, 0px));
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(24, 24, 27, 0.12);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.25s, visibility 0.25s;
    z-index: 160;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-list.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list a:not(.btn) {
    padding: 16px 18px;
    font-size: 1.0625rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav-cta-wrap {
    flex-direction: column;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    gap: 12px;
  }

  .nav-cta-wrap .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

@media (max-width: 768px) {
  .process-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .cta-band-actions {
    flex-direction: column;
  }

  .cta-band-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .section-cta-row .btn {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    box-sizing: border-box;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 80px;
  }

  .header-inner {
    min-height: 60px;
    padding-block: 8px;
  }

  .logo-img {
    height: 40px;
    max-width: min(200px, 48vw);
  }

  .hero {
    padding-top: clamp(32px, 8vw, 48px);
    padding-bottom: clamp(40px, 10vw, 64px);
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.1;
  }

  .hero-lead {
    font-size: 1.05rem;
    margin-bottom: 24px;
  }

  .hero-visual {
    min-height: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
    overflow: hidden;
  }

  .hero-card {
    position: relative;
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    animation: none;
    min-height: 200px;
    padding: 20px;
    border-radius: var(--radius);
  }

  .hero-card-1 {
    transform: rotate(-2deg);
  }

  .hero-card-2 {
    transform: rotate(1.5deg);
  }

  .hero-card-title {
    font-size: 1.35rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
  }

  .hero-trust {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .stats {
    padding: 32px 0;
  }

  .section {
    padding: clamp(48px, 12vw, 72px) 0;
  }

  .work-body {
    padding: 20px;
  }

  .contact-card {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .footer-links {
    justify-content: center;
  }

  .footer-copy {
    text-align: center;
  }
}

@media (max-width: 380px) {
  .hero-card {
    min-height: 176px;
    padding: 16px;
  }

  .btn-lg {
    padding: 12px 20px;
    font-size: 0.9375rem;
  }
}
