/* ============================================================
   PRESTIGE CMS — FRONTEND THEME
   Premium industrial aesthetic · editorial × Swiss precision
   ============================================================ */

:root {
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --charcoal: #2a2a2a;
  --graphite: #4a4a4a;
  --steel: #6b6b6b;
  --aluminum: #8a8a8a;
  --silver: #b8b8b8;
  --fog: #e8e6e1;
  --bone: #f5f3ee;
  --paper: #faf8f3;
  --white: #ffffff;
  --accent: #8b6f47;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.display em { font-style: italic; font-weight: 300; color: var(--graphite); }
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}
.container { max-width: 1440px; margin: 0 auto; padding: 0 48px; }

/* ========== NAV ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s var(--ease-out);
  mix-blend-mode: difference;
}
.nav.scrolled {
  mix-blend-mode: normal;
  background: rgba(250, 248, 243, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
  padding: 14px 48px;
}
.nav-brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--paper);
  display: flex; align-items: baseline; gap: 10px;
}
.nav-brand::before {
  content: "";
  display: inline-block; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  transform: translateY(-2px);
}
.nav.scrolled .nav-brand { color: var(--ink); }
.nav-brand small {
  font-family: var(--sans);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.6;
}
.nav-brand img { height: 28px; width: auto; }
.nav-menu {
  display: flex; gap: 38px; list-style: none;
}
.nav-menu a {
  color: var(--paper);
  font-size: 13px; letter-spacing: 0.02em;
  position: relative; padding: 4px 0;
}
.nav.scrolled .nav-menu a { color: var(--ink); }
.nav-menu a::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: currentColor;
  transition: width 0.4s var(--ease-out);
}
.nav-menu a:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px;
  background: var(--paper); color: var(--ink);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid var(--paper);
  transition: all 0.3s var(--ease-out);
}
.nav.scrolled .nav-cta { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav-cta:hover { background: transparent; color: var(--paper); }
.nav.scrolled .nav-cta:hover { background: transparent; color: var(--ink); }
.nav-cta::after { content: "→"; transition: transform 0.3s; }
.nav-cta:hover::after { transform: translateX(4px); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: inherit; padding: 8px; }
.mobile-toggle svg { width: 22px; height: 22px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: all 0.4s var(--ease-out);
}
.btn-primary { background: var(--paper); color: var(--ink); }
.btn-primary:hover { background: var(--accent); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(250,248,243,0.3); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(250,248,243,0.05); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent); }
.btn-arrow { display: inline-block; transition: transform 0.4s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(6px); }

/* ========== HERO ========== */
.hero {
  position: relative; height: 100vh; min-height: 720px;
  overflow: hidden; background: var(--ink); color: var(--paper);
}
.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.55) contrast(1.05);
  transform: scale(1.05);
  animation: heroZoom 20s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.1) 30%, rgba(10,10,10,0.85) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0) 60%);
}
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-content {
  position: relative; z-index: 4;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 48px 80px;
  max-width: 1440px; margin: 0 auto;
}
.hero-meta { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; opacity: 0; animation: fadeUp 1s var(--ease-out) 0.3s forwards; }
.hero-meta-line { width: 48px; height: 1px; background: var(--paper); opacity: 0.5; }
.hero-meta-text { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.75; }
.hero-headline {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(56px, 9vw, 136px);
  line-height: 0.92; letter-spacing: -0.035em;
  margin-bottom: 32px;
  opacity: 0; animation: fadeUp 1.2s var(--ease-out) 0.5s forwards;
  max-width: 1200px;
}
.hero-headline em { font-style: italic; color: var(--silver); }
.hero-sub-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 1s var(--ease-out) 0.8s forwards;
}
.hero-sub { font-size: 16px; line-height: 1.6; max-width: 440px; opacity: 0.8; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; z-index: 4;
  bottom: 30px; right: 48px;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--paper); opacity: 0.6;
  display: flex; align-items: center; gap: 12px;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 40px;
  background: var(--paper);
  animation: scrollLine 2s infinite; transform-origin: top;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: var(--ink); color: var(--paper);
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-eyebrow {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--silver); margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.page-hero-eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.page-hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95; letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.page-hero-title em { font-style: italic; color: var(--silver); }
.page-hero-sub { font-size: 16px; color: var(--silver); max-width: 640px; line-height: 1.6; }

/* ========== TRUST BAR ========== */
.trust-bar { background: var(--ink); color: var(--paper); border-top: 1px solid rgba(250,248,243,0.08); }
.trust-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 46px 36px; border-right: 1px solid rgba(250,248,243,0.08); }
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: var(--serif); font-weight: 300;
  font-size: 52px; line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.trust-num span { color: var(--accent); }
.trust-label { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver); }

/* ========== SECTIONS ========== */
.section { padding: 140px 0; position: relative; }
.section-header { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; margin-bottom: 80px; align-items: end; }
.section-meta { display: flex; flex-direction: column; gap: 16px; }
.section-index { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 16px; color: var(--aluminum); }
.section-label-text { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); }
.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: 0.98; letter-spacing: -0.03em;
}
.section-title em { font-style: italic; color: var(--graphite); }

/* ========== PATHWAYS ========== */
.pathways { background: var(--paper); }
.pathways-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(10,10,10,0.1); }
.pathway {
  border-right: 1px solid rgba(10,10,10,0.1);
  padding: 44px 32px 44px 0;
  cursor: pointer;
  position: relative;
  display: flex; flex-direction: column; gap: 24px;
  min-height: 320px;
}
.pathway:last-child { border-right: none; padding-right: 0; }
.pathway:first-child { padding-left: 0; }
.pathway:not(:first-child) { padding-left: 32px; }
.pathway::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.pathway:hover::before { transform: scaleX(1); }
.pathway-num { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--aluminum); }
.pathway-title { font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1.05; letter-spacing: -0.02em; }
.pathway-desc { font-size: 13px; line-height: 1.65; color: var(--graphite); max-width: 260px; flex: 1; }
.pathway-link {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.pathway-link::after { content: "→"; transition: transform 0.4s var(--ease-out); }
.pathway:hover .pathway-link::after { transform: translateX(5px); }

/* ========== PRODUCTS ========== */
.products-grid-wrap { background: var(--bone); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  position: relative; overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4/5;
  display: block;
}
.product-card.wide { grid-column: span 2; aspect-ratio: 8/5; }
.product-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.6s;
  filter: brightness(0.85) saturate(0.9);
}
.product-card:hover .product-img { transform: scale(1.08); filter: brightness(0.7) saturate(1); }
.product-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 40%, rgba(10,10,10,0.85) 100%);
  z-index: 1;
}
.product-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px; z-index: 2; color: var(--paper);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
}
.product-meta-top {
  position: absolute; top: 28px; left: 32px; z-index: 2;
  color: var(--paper); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8;
  display: flex; align-items: center; gap: 14px;
}
.product-meta-top::before { content: ""; width: 24px; height: 1px; background: var(--paper); opacity: 0.5; }
.product-name {
  font-family: var(--serif); font-weight: 300;
  font-size: 36px; line-height: 1; letter-spacing: -0.02em;
}
.product-desc { font-size: 12px; line-height: 1.5; opacity: 0.7; margin-top: 8px; max-width: 280px; }
.product-arrow {
  width: 44px; height: 44px;
  border: 1px solid rgba(250,248,243,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
  transition: all 0.4s var(--ease-out);
}
.product-card:hover .product-arrow { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Products listing page */
.products-list { background: var(--paper); }
.products-filter {
  display: flex; gap: 30px; padding: 40px 0;
  border-bottom: 1px solid rgba(10,10,10,0.08);
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.products-filter a {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.products-filter a.active, .products-filter a:hover { color: var(--ink); border-color: var(--ink); }

/* ========== PROJECTS ========== */
.projects-section { background: var(--ink); color: var(--paper); overflow: hidden; }
.projects-section .section-title { color: var(--paper); }
.projects-section .section-title em { color: var(--aluminum); }
.projects-section .section-label-text { color: var(--silver); }
.projects-section .section-index { color: var(--aluminum); }

.projects-track-wrap { position: relative; margin: 0 -48px; padding: 0 48px; }
.projects-track {
  display: flex; gap: 28px;
  overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 10px;
}
.projects-track::-webkit-scrollbar { display: none; }
.project-card {
  flex: 0 0 min(520px, 85vw);
  scroll-snap-align: start;
}
.project-media {
  position: relative; aspect-ratio: 4/5;
  overflow: hidden; background: var(--charcoal);
  margin-bottom: 24px;
}
.project-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s var(--ease-out);
}
.project-card:hover .project-media img { transform: scale(1.06); }
.project-tag {
  position: absolute; top: 24px; left: 24px;
  padding: 7px 14px;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(10px);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--paper);
  border: 1px solid rgba(250,248,243,0.15);
}
.project-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.project-title { font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 6px; }
.project-location { font-size: 12px; color: var(--silver); }
.project-year { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 15px; color: var(--aluminum); flex-shrink: 0; }

/* Projects grid page */
.projects-grid-page { background: var(--paper); }
.projects-grid-page .project-card { flex: none; }
.projects-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px;
}
.projects-grid .project-title { color: var(--ink); }
.projects-grid .project-location { color: var(--graphite); }

.projects-controls { display: flex; gap: 10px; }
.carousel-btn {
  width: 52px; height: 52px;
  border: 1px solid rgba(250,248,243,0.2);
  background: transparent; color: var(--paper);
  cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-out);
  border-radius: 50%;
}
.carousel-btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.projects-header { display: grid; grid-template-columns: 1fr auto; gap: 40px; margin-bottom: 80px; align-items: end; }

/* ========== WHY ========== */
.why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 100px; align-items: start; }
.why-left { position: sticky; top: 120px; }
.why-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 32px;
}
.why-title em { font-style: italic; color: var(--graphite); }
.why-intro { font-size: 16px; line-height: 1.65; color: var(--graphite); max-width: 420px; margin-bottom: 40px; }
.why-list { list-style: none; }
.why-item {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid rgba(10,10,10,0.1);
}
.why-item:last-child { border-bottom: 1px solid rgba(10,10,10,0.1); }
.why-item-num { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 18px; color: var(--aluminum); }
.why-item-title { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.why-item-desc { font-size: 14px; line-height: 1.65; color: var(--graphite); max-width: 520px; }

/* ========== TESTIMONIAL ========== */
.testimonial { background: var(--bone); padding: 180px 0; position: relative; }
.testimonial::before {
  content: ""; position: absolute; top: 80px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 60px; background: var(--aluminum);
}
.testimonial-wrap { max-width: 1100px; margin: 0 auto; padding: 0 48px; text-align: center; }
.testimonial-mark {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: 140px; line-height: 0.6; color: var(--aluminum);
  margin-bottom: 20px; display: block; height: 60px; opacity: 0.5;
}
.testimonial-quote {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 3.5vw, 52px);
  line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 56px;
}
.testimonial-quote em { font-style: italic; color: var(--graphite); }
.testimonial-attribution { display: inline-flex; align-items: center; gap: 20px; padding-top: 30px; border-top: 1px solid rgba(10,10,10,0.15); }
.testimonial-name { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.testimonial-role { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 14px; color: var(--graphite); }
.testimonial-divider { width: 30px; height: 1px; background: var(--aluminum); }

/* ========== FINAL CTA ========== */
.final-cta { background: var(--ink); color: var(--paper); padding: 160px 0; position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(250,248,243,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,248,243,0.02) 1px, transparent 1px);
  background-size: 100px 100px; pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.final-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--silver); margin-bottom: 36px;
  display: flex; align-items: center; gap: 18px;
}
.final-eyebrow::before { content: ""; width: 60px; height: 1px; background: var(--accent); }
.final-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(56px, 8vw, 140px);
  line-height: 0.92; letter-spacing: -0.035em;
  margin-bottom: 48px; max-width: 1100px;
}
.final-title em { font-style: italic; color: var(--aluminum); }
.final-row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; align-items: end;
  padding-top: 40px; border-top: 1px solid rgba(250,248,243,0.15);
}
.final-description { font-size: 15px; line-height: 1.7; color: var(--silver); max-width: 480px; }
.final-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-final-primary { background: var(--paper); color: var(--ink); padding: 22px 40px; font-size: 13px; }
.btn-final-primary:hover { background: var(--accent); color: var(--paper); }
.btn-final-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(250,248,243,0.25); padding: 22px 40px; font-size: 13px; }

/* ========== FOOTER ========== */
.footer { background: var(--ink); color: var(--paper); border-top: 1px solid rgba(250,248,243,0.08); padding: 80px 0 40px; }
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(250,248,243,0.08);
}
.footer-brand { font-family: var(--serif); font-weight: 400; font-size: 32px; margin-bottom: 20px; }
.footer-tagline { font-size: 13px; color: var(--silver); line-height: 1.6; max-width: 320px; margin-bottom: 28px; }
.footer-contact { font-size: 13px; color: var(--silver); line-height: 1.8; }
.footer-col h4 { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aluminum); margin-bottom: 22px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 13px; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--steel); letter-spacing: 0.08em;
}

/* ========== FORMS ========== */
.form-section { background: var(--paper); padding: 120px 0; }
.form-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }
.form-wrap {
  background: var(--white);
  padding: 48px;
  border: 1px solid rgba(10,10,10,0.08);
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-size: 11px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid rgba(10,10,10,0.1);
  font-family: var(--sans); font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--ink);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-sidebar { }
.form-sidebar h3 { font-family: var(--serif); font-weight: 300; font-size: 32px; margin-bottom: 24px; letter-spacing: -0.01em; }
.form-sidebar p { color: var(--graphite); line-height: 1.7; margin-bottom: 24px; font-size: 14px; }
.info-block { padding: 24px 0; border-top: 1px solid rgba(10,10,10,0.1); }
.info-block:last-child { border-bottom: 1px solid rgba(10,10,10,0.1); }
.info-label { font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--aluminum); margin-bottom: 8px; }
.info-value { font-size: 15px; font-weight: 500; }

/* ========== ALERTS ========== */
.alert { padding: 16px 20px; margin-bottom: 24px; border-radius: 2px; font-size: 14px; }
.alert-success { background: rgba(50, 200, 120, 0.1); border: 1px solid rgba(50, 200, 120, 0.3); color: #1a5c3a; }
.alert-error { background: rgba(200, 50, 50, 0.1); border: 1px solid rgba(200, 50, 50, 0.3); color: #8a2020; }

/* ========== REVEAL ========== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== CONTENT PAGES (about / services / custom) ========== */
.page-content { padding: 120px 0; background: var(--paper); }
.page-content-inner { max-width: 820px; margin: 0 auto; }
.page-content-inner p { font-size: 17px; line-height: 1.8; color: var(--charcoal); margin-bottom: 28px; }
.page-content-inner h2 { font-family: var(--serif); font-weight: 300; font-size: 44px; margin: 60px 0 24px; letter-spacing: -0.02em; }
.page-content-inner h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 40px 0 16px; }
.page-content-inner ul, .page-content-inner ol { padding-left: 24px; margin-bottom: 28px; }
.page-content-inner li { font-size: 16px; line-height: 1.8; color: var(--charcoal); margin-bottom: 8px; }
.page-content-inner img { margin: 40px 0; }
.page-content-inner blockquote {
  border-left: 3px solid var(--accent);
  padding: 0 0 0 28px;
  margin: 40px 0;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 22px; line-height: 1.5; color: var(--graphite);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .container, .nav, .hero-content, .final-cta-inner, .footer-inner, .testimonial-wrap { padding-left: 28px; padding-right: 28px; }
  .nav { padding: 18px 28px; }
  .nav.scrolled { padding: 12px 28px; }
  .section { padding: 100px 0; }
  .section-header { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 36px 26px; }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid rgba(250,248,243,0.08); }
  .pathways-grid { grid-template-columns: repeat(2, 1fr); }
  .pathway:nth-child(even) { border-right: none; }
  .pathway:nth-child(1), .pathway:nth-child(2) { border-bottom: 1px solid rgba(10,10,10,0.1); }
  .pathway:nth-child(3) { padding-left: 0; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.wide { grid-column: span 2; aspect-ratio: 5/3; }
  .why-grid { grid-template-columns: 1fr; gap: 60px; }
  .why-left { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .final-row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 50px; }
  .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container, .nav, .hero-content, .final-cta-inner, .footer-inner, .testimonial-wrap { padding-left: 22px; padding-right: 22px; }
  .nav-menu { display: none; position: fixed; top: 60px; left: 0; right: 0; background: var(--ink); flex-direction: column; padding: 30px; gap: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-menu.open { display: flex; }
  .nav-menu a { color: var(--paper); font-size: 16px; }
  .mobile-toggle { display: block; color: var(--paper); }
  .nav.scrolled .mobile-toggle { color: var(--ink); }
  .nav-cta { padding: 9px 16px; font-size: 10px; }
  .nav-brand small { display: none; }
  .hero { min-height: 640px; }
  .hero-content { padding-bottom: 50px; }
  .hero-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-scroll { display: none; }
  .section { padding: 80px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; border-bottom: 1px solid rgba(250,248,243,0.08); padding: 32px 22px; }
  .pathways-grid { grid-template-columns: 1fr; }
  .pathway { border-right: none !important; padding: 36px 0 !important; min-height: auto; border-bottom: 1px solid rgba(10,10,10,0.1); }
  .pathway:last-child { border-bottom: none; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card.wide { grid-column: span 1; aspect-ratio: 4/5; }
  .why-item { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .why-item-title { font-size: 22px; }
  .testimonial { padding: 100px 0; }
  .testimonial-quote { font-size: 22px; }
  .final-cta { padding: 100px 0; }
  .final-actions { flex-direction: column; align-items: stretch; }
  .final-actions .btn { width: 100%; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .form-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 140px 0 70px; }
  .projects-header { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-media img { animation: none; transform: scale(1); }
}
