/*
Theme Name: Daxesh Patel
Theme URI: https://daxeshpatel.com
Author: Daxesh Patel
Author URI: https://daxeshpatel.com
Description: Custom theme for Daxesh Patel's portfolio.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: daxesh-theme
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fafaf8;
  color: #0d0d0d;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
}

:root {
  --bg: #fafaf8;
  --bg-dark: #0d0d0d;
  --text: #0d0d0d;
  --muted: #666;
  --muted2: #999;
  --gold: #c8960e;
  --gold-dim: rgba(200, 150, 14, 0.12);
  --border: #e8e5de;
  --max: 1240px;
  --pad: 0 48px;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  padding: var(--pad);
}

.nav-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color .2s;
}

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

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 99px;
  letter-spacing: -0.01em;
  transition: background .2s, color .2s;
}

.nav-cta:hover {
  background: var(--gold);
  color: #fff;
}

/* ── SHARED ──────────────────────────────────────── */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
}

.gold-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 99px;
  letter-spacing: -0.01em;
  transition: opacity .2s;
}

.btn-primary:hover {
  opacity: 0.8;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 99px;
  letter-spacing: -0.01em;
  transition: border-color .2s;
}

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

.inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--pad);
}

/* ── HERO ────────────────────────────────────────── */
#hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  height: 520px;
  overflow: hidden;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px 48px 48px;
  max-width: 100%;
}

.hero-h1 {
  font-size: 52px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 480px;
}

.hero-proof {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 18px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.hero-img {
  position: relative;
  overflow: hidden;
}

.hero-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250, 250, 248, 0.08) 0%, transparent 30%);
}

/* ── TRUST / NUMBERS ─────────────────────────────── */
#trust {
  background: var(--bg-dark);
  padding: 96px 48px;
}

.trust-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.trust-header {
  margin-bottom: 64px;
  max-width: 640px;
}

.trust-h2 {
  font-size: 52px;
  color: #fff;
  margin-bottom: 20px;
}

.trust-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  padding: 40px 32px 40px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 32px;
}

.stat:nth-child(2),
.stat:nth-child(3) {
  padding-left: 32px;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

/* ── CAPABILITIES ────────────────────────────────── */
#capabilities {
  padding: 112px 48px;
}

.cap-header {
  max-width: var(--max);
  margin: 0 auto 72px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cap-h2 {
  font-size: 56px;
  max-width: 560px;
}

.cap-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 360px;
}

.cap-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.cap-card {
  background: var(--bg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cap-card.wide {
  grid-column: span 2;
}

.cap-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.cap-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.cap-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
}

.cap-impact {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.cap-impact-label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted2);
  margin-bottom: 10px;
}

.cap-impact-item {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.6;
  font-weight: 500;
}

.cap-impact-item::before {
  content: '↗  ';
  color: var(--gold);
  font-size: 11px;
}

.ai-tag {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tag {
  font-size: 11.5px;
  background: var(--gold-dim);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 99px;
  font-weight: 500;
}

/* ── EXPERIENCE ──────────────────────────────────── */
#experience {
  background: #f3f1eb;
  padding: 112px 48px;
}

.exp-header {
  max-width: var(--max);
  margin: 0 auto 72px;
}

.exp-h2 {
  font-size: 56px;
}

.exp-list {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding: 52px 0;
  border-top: 1px solid #dddad2;
}

.exp-row:last-child {
  border-bottom: 1px solid #dddad2;
}

.exp-left {}

.exp-company {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.exp-role {
  font-size: 12.5px;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.exp-right {}

.exp-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.exp-impacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exp-impact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.exp-impact::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* ── PHILOSOPHY ──────────────────────────────────── */
#philosophy {
  background: var(--bg-dark);
  padding: 112px 48px;
}

.phil-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.phil-h2 {
  font-size: 56px;
  color: #fff;
  margin-bottom: 32px;
}

.phil-statements {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 36px;
}

.phil-stmt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.25;
}

.phil-stmt.active {
  color: #fff;
  font-style: normal;
  font-weight: 700;
}

.phil-body {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
}

.ai-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 44px 40px;
}

.ai-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.ai-h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.ai-body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin-bottom: 28px;
}

.ai-bullets {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.ai-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.ai-bullet-dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

/* ── ABOUT (inline) ──────────────────────────────── */
#about {
  padding: 112px 48px;
  overflow: hidden;
}

.about-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.about-img-wrap img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center top;
}

.about-gold-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 80px;
  background: var(--gold);
}

.about-h2 {
  font-size: 52px;
  margin-bottom: 24px;
}

.about-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0 36px;
}

.about-tag {
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 99px;
  color: var(--text);
}

/* ── FINAL CTA ───────────────────────────────────── */
#contact {
  padding: 140px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-label {
  color: var(--gold);
}

.cta-h2 {
  font-size: 72px;
  margin: 16px 0 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-divider {
  max-width: var(--max);
  margin: 80px auto 0;
  display: flex;
  gap: 48px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.cta-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-contact-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted2);
}

.cta-contact-val {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
}

.cta-contact-val:hover {
  color: var(--gold);
}

/* ── NOTABLE PROJECTS ───────────────────────────── */
#projects {
  padding: 112px 48px;
  background: var(--bg);
}

.proj-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.proj-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
}

.proj-h2 {
  font-size: 56px;
  max-width: 1000px;
}

.proj-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 340px;
  text-align: right;
}

.proj-list {
  display: flex;
  flex-direction: column;
}

.proj-row {
  display: grid;
  grid-template-columns: 56px 1fr 1fr auto;
  gap: 0 48px;
  align-items: start;
  padding: 52px 0;
  border-top: 1px solid var(--border);
  position: relative;
  transition: background .25s;
}

.proj-row:last-child {
  border-bottom: 1px solid var(--border);
}

.proj-row:hover {
  background: rgba(200, 150, 14, 0.03);
}

.proj-index {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  padding-top: 5px;
}

.proj-left {}

.proj-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.proj-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.proj-client {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted2);
}

.proj-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

.proj-year {
  font-size: 11px;
  color: var(--muted2);
  letter-spacing: 0.04em;
}

.proj-body {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.78;
  padding-top: 4px;
}

.proj-stat {
  text-align: right;
  padding-top: 4px;
}

.proj-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 6px;
}

.proj-stat-label {
  font-size: 11px;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

/* ── BLOG RESPONSIVE TIMELINE ────────────────────── */
.blog-row {
  display: grid;
  grid-template-columns: 80px 240px 1fr;
  gap: 0 48px;
  align-items: stretch;
  padding: 52px 0;
  position: relative;
  transition: background .25s;
}

.blog-row:last-child {
  padding-bottom: 0;
}

.blog-row:hover {
  background: rgba(200, 150, 14, 0.03);
}

/* Timeline left column */
.blog-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 5px;
}

.blog-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.blog-date-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.blog-date-month {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted2);
  margin-top: 6px;
}

.blog-line {
  flex: 1;
  width: 1px;
  background: var(--border);
  min-height: 80px;
  position: relative;
}

.blog-line-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  background-color: var(--bg);
  border: 2px solid var(--gold);
  border-radius: 50%;
  z-index: 2;
}

/* Ensure the line connects down to the next row visually */
.blog-row:not(:last-child) .blog-line::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 1px;
  height: 104px;
  /* padding top/bottom of row */
  background: var(--border);
}

/* Featured Image Column */
.blog-img {
  padding-top: 5px;
}

.b-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.blog-row:hover .b-img {
  transform: scale(1.03);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.blog-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  background: rgba(0, 0, 0, 0.03);
  border: 1px dashed var(--border);
  border-radius: 4px;
  color: var(--border);
  transition: border-color .2s;
}

.blog-row:hover .blog-img-placeholder {
  border-color: var(--gold-dim);
  color: var(--gold);
}

/* Content Column & Categories */
.post-categories a {
  color: var(--gold);
  transition: color .2s;
  text-decoration: none;
}

.post-categories a:hover {
  color: var(--text);
}

.proj-category a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s;
}

.proj-category a:hover {
  opacity: 0.8;
}

.blog-content {
  display: flex;
  flex-direction: column;
}

.blog-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.blog-title a {
  color: inherit;
  transition: color .2s;
}

.blog-title a:hover {
  color: var(--gold);
}

.blog-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

.blog-excerpt {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.78;
  flex: 1;
  margin-bottom: 24px;
}

.btn-read-article {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-read-article:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

@media (max-width: 1024px) {
  .proj-h2 {
    font-size: 44px;
  }

  .proj-row {
    grid-template-columns: 40px 1fr 1fr auto;
    gap: 0 32px;
  }

  .blog-row {
    grid-template-columns: 60px 200px 1fr;
    gap: 0 32px;
  }

  .b-img,
  .blog-img-placeholder {
    height: 220px;
  }
}

@media (max-width: 768px) {
  #projects {
    padding: 72px 20px;
  }

  .proj-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
  }

  .proj-sub {
    text-align: left;
    max-width: 100%;
  }

  .proj-h2 {
    font-size: 34px;
  }

  .proj-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0;
  }

  .proj-index {
    padding-top: 0;
  }

  .proj-stat {
    text-align: left;
  }

  .proj-stat-num {
    font-size: 40px;
  }

  /* Blog Layout mobile stack, keeping timeline left */
  .blog-row {
    grid-template-columns: 50px 1fr;
    gap: 0 24px;
    padding: 36px 0;
  }

  .blog-row:not(:last-child) .blog-line::after {
    height: 72px;
  }

  /* Adjust padding space */
  .blog-timeline {
    grid-row: 1 / span 2;
  }

  .blog-img {
    grid-column: 2;
    margin-bottom: 20px;
  }

  .blog-content {
    grid-column: 2;
  }

  .blog-title {
    font-size: 26px;
  }
}

/* ── TESTIMONIALS ────────────────────────────────── */
#testimonials {
  background: #0d0d0d;
  padding: 112px 48px;
}

.testi-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.testi-header {
  margin-bottom: 72px;
}

.testi-h2 {
  font-size: 52px;
  color: #fff;
  margin-bottom: 16px;
}

.testi-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  max-width: 540px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.07);
}

.testi-card {
  background: #0d0d0d;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.testi-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 96px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.35;
  margin-bottom: 24px;
  display: block;
  font-weight: 700;
}

.testi-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 36px;
}

.testi-divider {
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin-bottom: 20px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(200, 150, 14, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.testi-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.testi-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .testi-h2 {
    font-size: 42px;
  }

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

@media (max-width: 768px) {
  #testimonials {
    padding: 72px 20px;
  }

  .testi-h2 {
    font-size: 34px;
  }

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

  .testi-card {
    padding: 36px 28px;
  }
}

/* ── MID-PAGE CTA ────────────────────────────────── */
.mid-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 0 0;
  margin-top: 56px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.mid-cta-light {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.mid-cta-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  max-width: 560px;
}

@media (max-width: 768px) {
  .mid-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 40px;
    padding-top: 36px;
  }

  .mid-cta-text {
    font-size: 22px;
  }
}

/* ── CONTACT FORM ────────────────────────────────── */
#contact-form {
  padding: 112px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.cf-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 96px;
  align-items: start;
}

.cf-h2 {
  font-size: 52px;
  margin-bottom: 20px;
  line-height: 1.05;
}

.cf-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

.cf-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cf-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cf-detail-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted2);
}

.cf-detail-val {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
}

.cf-detail-val:hover {
  color: var(--gold);
}

.cf-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-field label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.cf-optional {
  color: var(--muted2);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.cf-field input,
.cf-field select,
.cf-field textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 14.5px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  transition: border-color .2s;
  outline: none;
  resize: vertical;
}

.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--gold);
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: var(--muted2);
}

.cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  padding: 15px 32px;
  border-radius: 99px;
  letter-spacing: -0.01em;
  transition: opacity .2s;
  align-self: flex-start;
}

.cf-submit:hover {
  opacity: 0.75;
}

.cf-submit:disabled {
  opacity: 0.5;
  cursor: default;
}

.cf-success {
  display: none;
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  padding: 4px 0;
}

.cf-success.show {
  display: block;
}

/* ── MOBILE NAV ───────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(250, 250, 248, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.nav-mobile a:last-of-type {
  border-bottom: none;
}

.nm-cta {
  margin-top: 16px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--text) !important;
  color: #fff !important;
  padding: 13px 24px;
  border-radius: 99px;
  font-weight: 500;
  font-size: 14px;
  border-bottom: none !important;
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --pad: 0 32px;
  }

  .hero-h1 {
    font-size: 44px;
  }

  .cap-h2,
  .exp-h2,
  .about-h2,
  .cf-h2 {
    font-size: 44px;
  }

  .trust-h2,
  .phil-h2 {
    font-size: 44px;
  }

  .cta-h2 {
    font-size: 56px;
  }

  .stat-num {
    font-size: 56px;
  }

  .phil-inner {
    gap: 56px;
  }

  .exp-row {
    gap: 40px;
  }

  .cf-inner {
    gap: 64px;
  }
}

@media (max-width: 768px) {
  :root {
    --pad: 0 20px;
  }

  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  nav {
    padding: 0 20px;
  }

  /* Hero */
  #hero {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hero-text {
    padding: 40px 20px;
    order: 1;
  }

  .hero-img {
    order: 2;
    height: 280px;
  }

  .hero-img video {
    object-position: center 20%;
  }

  .hero-h1 {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  /* Trust */
  #trust {
    padding: 64px 20px;
  }

  .trust-h2 {
    font-size: 34px;
  }

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

  .stat {
    padding: 28px 16px 28px 0;
  }

  .stat:last-child {
    padding-left: 16px;
  }

  .stat:nth-child(2),
  .stat:nth-child(3) {
    padding-left: 16px;
  }

  .stat-num {
    font-size: 44px;
  }

  /* Capabilities */
  #capabilities {
    padding: 72px 20px;
  }

  .cap-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
  }

  .cap-h2 {
    font-size: 34px;
  }

  .cap-sub {
    max-width: 100%;
  }

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

  .cap-card.wide {
    grid-column: span 1;
  }

  /* Experience */
  #experience {
    padding: 72px 20px;
  }

  .exp-h2 {
    font-size: 34px;
  }

  .exp-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 36px 0;
  }

  /* Philosophy */
  #philosophy {
    padding: 72px 20px;
  }

  .phil-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .phil-h2 {
    font-size: 34px;
  }

  .phil-stmt {
    font-size: 24px;
  }

  /* About */
  #about {
    padding: 72px 20px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-img-wrap img {
    height: 320px;
  }

  .about-h2 {
    font-size: 34px;
  }

  /* CTA */
  #contact {
    padding: 72px 20px;
  }

  .cta-h2 {
    font-size: 38px;
  }

  .cta-divider {
    flex-direction: column;
    gap: 20px;
    padding-top: 32px;
    margin-top: 48px;
  }

  /* Contact form */
  #contact-form {
    padding: 72px 20px;
  }

  .cf-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cf-h2 {
    font-size: 34px;
  }

  .cf-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  footer {
    padding: 40px 20px 28px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-base {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-h1 {
    font-size: 30px;
  }

  .stat-num {
    font-size: 38px;
  }

  .cta-h2 {
    font-size: 32px;
  }

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

  .hero-actions a {
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions a {
    width: 100%;
    justify-content: center;
  }
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  padding: 48px 48px 32px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

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

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  transition: color .2s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-base {
  max-width: var(--max);
  margin: 32px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

/* ── THANK YOU PAGE ─────────────────────────────── */
.ty-main {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.ty-card {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.icon-wrap {
  width: 72px;
  height: 72px;
  background: rgba(200, 150, 14, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 36px;
}

.icon-wrap svg {
  width: 32px;
  height: 32px;
}

.ty-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.ty-h1 {
  font-size: 64px;
  margin-bottom: 24px;
}

.ty-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 auto 48px;
  max-width: 460px;
}

.ty-sub strong {
  color: var(--text);
  font-weight: 500;
}

.ty-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.ty-divider {
  display: flex;
  gap: 40px;
  justify-content: center;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.ty-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.ty-detail-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
}

.ty-detail-val {
  font-size: 14px;
  font-weight: 500;
}

.ty-countdown {
  margin-top: 28px;
  font-size: 12px;
  color: #bbb;
}

@media (max-width: 600px) {
  .ty-h1 {
    font-size: 44px;
  }

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

  .ty-actions a {
    justify-content: center;
  }

  .ty-divider {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ty-detail {
    text-align: center;
  }
}
