/* ============================================================
   RHYTHM BUILT — Global Stylesheet
   Palette: Deep forest green (#0b1e11 / #1a3d27) + warm cream (#ede9de)
   Fonts: Cormorant Garamond (display) + Satoshi (body)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Colours */
  --clr-bg:            #0b1e11;
  --clr-bg-mid:        #112618;
  --clr-surface:       #162d1e;
  --clr-surface-2:     #1a3424;
  --clr-border:        rgba(237,233,222,0.12);
  --clr-divider:       rgba(237,233,222,0.07);

  --clr-cream:         #ede9de;
  --clr-cream-muted:   rgba(237,233,222,0.65);
  --clr-cream-faint:   rgba(237,233,222,0.35);

  --clr-accent:        #c9a84c;   /* warm gold — used sparingly */
  --clr-accent-hover:  #b8923c;

  --clr-text:          #ede9de;
  --clr-text-muted:    rgba(237,233,222,0.65);
  --clr-text-faint:    rgba(237,233,222,0.35);

  /* Type scale */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl:  clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 7.5rem);

  /* Spacing */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-5: 1.25rem; --sp-6: 1.5rem;
  --sp-8: 2rem;     --sp-10: 2.5rem; --sp-12: 3rem;
  --sp-16: 4rem;    --sp-20: 5rem;   --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1240px;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);
  --ease-io:  cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 180ms var(--ease-out);
  --t-mid:  300ms var(--ease-out);
  --t-slow: 500ms var(--ease-out);

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Satoshi', 'Inter', sans-serif;
  --font-ui:      'General Sans', 'Satoshi', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.6);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4,h5,h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; max-width: 70ch; }

a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }

::selection { background: rgba(201,168,76,0.3); color: var(--clr-cream); }

:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

/* ---------- Typography Utilities ---------- */
.font-display { font-family: var(--font-display); }
.font-ui      { font-family: var(--font-ui); }

.text-xs   { font-size: var(--text-xs); }
.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }
.text-2xl  { font-size: var(--text-2xl); }
.text-3xl  { font-size: var(--text-3xl); }
.text-hero { font-size: var(--text-hero); }

.text-muted  { color: var(--clr-text-muted); }
.text-faint  { color: var(--clr-text-faint); }
.text-accent { color: var(--clr-accent); }
.text-cream  { color: var(--clr-cream); }

.uppercase    { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.08em; }
.tracking-widest { letter-spacing: 0.18em; }
.italic { font-style: italic; }
.weight-light   { font-weight: 300; }
.weight-regular { font-weight: 400; }
.weight-medium  { font-weight: 500; }
.weight-bold    { font-weight: 700; }

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-6), 5vw, var(--sp-16));
}
.container--narrow { max-width: var(--content-narrow); }
.container--default { max-width: var(--content-default); }

.section {
  padding-block: clamp(var(--sp-16), 10vw, var(--sp-32));
}
.section--sm { padding-block: clamp(var(--sp-10), 6vw, var(--sp-20)); }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) clamp(var(--sp-3), 1.5vw, var(--sp-5));
  background: #0b1e11;
  box-shadow: 0 1px 0 var(--clr-border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex: 1;
  width: 100%;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex: 1;
}
.nav-logo-text .brand {
  font-family: var(--font-ui);
  font-size: clamp(1.4rem, 8vw, 3.8rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-cream);
  white-space: nowrap;
  line-height: 1;
}
.nav-logo-text .tagline {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.8vw, 1.4rem);
  font-style: italic;
  color: var(--clr-accent);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  list-style: none;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-cream-muted);
  transition: color var(--t-fast);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--clr-cream); }

.nav-cta {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-5);
  border: 1px solid var(--clr-accent);
  color: var(--clr-accent) !important;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), color var(--t-fast) !important;
}
.nav-cta:hover {
  background: var(--clr-accent);
  color: var(--clr-bg) !important;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: var(--sp-2);
  cursor: pointer;
  background: none;
  border: none;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--clr-cream);
  transition: transform var(--t-mid), opacity var(--t-mid);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--clr-bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  transform: translateY(-100%);
  transition: transform var(--t-slow);
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer .nav-links {
  flex-direction: column;
  gap: var(--sp-6);
  align-items: center;
}
.nav-drawer .nav-links a {
  font-size: var(--text-xl);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: none;
  font-style: italic;
  font-weight: 300;
  color: var(--clr-cream);
}
.nav-drawer .nav-cta {
  font-size: var(--text-sm) !important;
  padding: var(--sp-3) var(--sp-8) !important;
}

.nav-toggle { display: none; }

.nav-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
  width: 100%;
  flex: 1;
}

/* Sub-links: stacked below logo, top-left */
.nav-sub-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-1);
  margin-left: 0;
}
.nav-sub-links a {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-cream-muted);
  text-decoration: none;
  transition: color var(--t-fast);
  white-space: nowrap;
}
.nav-sub-links a:hover { color: var(--clr-cream); }
.nav-sub-links .nav-cta {
  color: var(--clr-accent) !important;
  border: none;
  padding: 0;
  background: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.2;
}
.nav-sub-links .nav-cta .cta-title {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
}
.nav-sub-links .nav-cta .cta-sub {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--clr-cream-muted);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s var(--ease-io);
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11,30,17,0.92) 0%,
    rgba(11,30,17,0.55) 40%,
    rgba(11,30,17,0.25) 70%,
    rgba(11,30,17,0.15) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(var(--sp-16), 10vw, var(--sp-32)) clamp(var(--sp-6), 5vw, var(--sp-16));
  padding-top: 120px;
}
.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-4);
  opacity: 0;
  animation: fadeUp 0.8s 0.3s var(--ease-out) forwards;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  font-style: italic;
  color: var(--clr-cream);
  line-height: 1.05;
  max-width: 12ch;
  margin-bottom: var(--sp-6);
  opacity: 0;
  animation: fadeUp 0.9s 0.5s var(--ease-out) forwards;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--clr-cream-muted);
  max-width: 48ch;
  margin-bottom: var(--sp-10);
  opacity: 0;
  animation: fadeUp 0.9s 0.7s var(--ease-out) forwards;
}
.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s var(--ease-out) forwards;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-8);
  right: clamp(var(--sp-6), 5vw, var(--sp-16));
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  opacity: 0;
  animation: fadeIn 1s 1.5s ease forwards;
}
.hero-scroll span {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-cream-faint);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--clr-accent), transparent);
  animation: pulseHeight 2s ease-in-out infinite;
}
@keyframes pulseHeight {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.6); opacity: 0.5; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--clr-accent);
  color: var(--clr-bg);
  padding: var(--sp-3) var(--sp-8);
  border: 1px solid var(--clr-accent);
}
.btn-primary:hover {
  background: var(--clr-accent-hover);
  border-color: var(--clr-accent-hover);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-cream);
  padding: var(--sp-3) var(--sp-8);
  border: 1px solid rgba(237,233,222,0.4);
}
.btn-ghost:hover {
  border-color: var(--clr-cream);
  background: rgba(237,233,222,0.06);
}

.btn-text {
  background: transparent;
  color: var(--clr-accent);
  padding: var(--sp-2) 0;
  border: none;
  gap: var(--sp-3);
  font-size: var(--text-xs);
}
.btn-text::after {
  content: '→';
  transition: transform var(--t-fast);
}
.btn-text:hover::after { transform: translateX(4px); }
.btn-text:hover { color: var(--clr-cream); }

/* ---------- Section Labels ---------- */
.section-eyebrow {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-4);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  font-style: italic;
  color: var(--clr-cream);
  line-height: 1.1;
  margin-bottom: var(--sp-5);
}
.section-title--lg {
  font-size: var(--text-2xl);
}
.section-body {
  font-size: var(--text-base);
  color: var(--clr-text-muted);
  max-width: 58ch;
  line-height: 1.7;
}

/* ---------- Divider ---------- */
.divider-line {
  width: 48px;
  height: 1px;
  background: var(--clr-accent);
  margin-bottom: var(--sp-6);
}

/* ---------- Photo Grid / Gallery ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--sp-3);
}
.photo-grid .photo-cell {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--clr-surface);
}
.photo-grid .photo-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-io);
}
.photo-grid .photo-cell:hover img { transform: scale(1.04); }

/* Gallery spans */
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-3 { grid-column: span 3; }
.span-12 { grid-column: span 12; }
.aspect-landscape { aspect-ratio: 4/3; }
.aspect-portrait  { aspect-ratio: 3/4; }
.aspect-wide      { aspect-ratio: 16/9; }
.aspect-square    { aspect-ratio: 1; }

@media (max-width: 768px) {
  .span-7, .span-5, .span-4, .span-6, .span-8, .span-3, .span-12 {
    grid-column: span 12;
  }
}

/* ---------- Cards ---------- */
.card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-fast), transform var(--t-mid), box-shadow var(--t-mid);
}
.card:hover {
  border-color: rgba(237,233,222,0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-body { padding: var(--sp-6); }
.card-img { aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-io); }
.card:hover .card-img img { transform: scale(1.05); }

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-12);
}
.service-card {
  padding: var(--sp-8) var(--sp-6);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-surface);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.service-card:hover {
  border-color: rgba(201,168,76,0.35);
  background: var(--clr-surface-2);
}
.service-icon {
  width: 48px; height: 48px;
  margin-bottom: var(--sp-5);
  color: var(--clr-accent);
}
.service-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 400;
  color: var(--clr-cream);
  margin-bottom: var(--sp-3);
}
.service-body {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ---------- Stats Row ---------- */
.stats-row {
  display: flex;
  gap: var(--sp-12);
  flex-wrap: wrap;
  padding-block: var(--sp-10);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  font-style: italic;
  color: var(--clr-cream);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-top: var(--sp-1);
}

/* ---------- Testimonial ---------- */
.testimonial {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 300;
  color: var(--clr-cream);
  line-height: 1.5;
  margin-bottom: var(--sp-6);
}
.testimonial-quote::before { content: '\201C'; color: var(--clr-accent); }
.testimonial-quote::after  { content: '\201D'; color: var(--clr-accent); }
.testimonial-author {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-16) clamp(var(--sp-6), 5vw, var(--sp-16));
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--clr-border);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  max-width: 36ch;
  margin-top: var(--sp-4);
  line-height: 1.7;
}
.footer-heading {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-cream);
  margin-bottom: var(--sp-5);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--clr-cream); }
.footer-bottom {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-top: var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--clr-text-faint);
  max-width: none;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll-triggered fade (CSS native) */
.fade-in {
  opacity: 1; /* fallback */
}
@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: fadeIn linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
}

/* ---------- Form Styles ---------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.form-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-cream-muted);
}
.form-input, .form-select, .form-textarea {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4);
  color: var(--clr-cream);
  font-size: var(--text-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select option { background: var(--clr-surface); }

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  padding-top: 120px;
  padding-bottom: var(--sp-16);
  padding-inline: clamp(var(--sp-6), 5vw, var(--sp-16));
  background: linear-gradient(to bottom, var(--clr-bg-mid), var(--clr-bg));
  border-bottom: 1px solid var(--clr-border);
}
.page-header .section-eyebrow { margin-bottom: var(--sp-3); }
.page-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  font-style: italic;
  color: var(--clr-cream);
  line-height: 1.1;
}
.page-header p {
  margin-top: var(--sp-4);
  font-size: var(--text-base);
  color: var(--clr-text-muted);
  max-width: 55ch;
}

/* ---------- Logo emblem ---------- */
.rb-emblem {
  display: block;
  flex-shrink: 0;
  width: clamp(72px, 12vw, 170px);
  height: clamp(72px, 12vw, 170px);
  object-fit: contain;
  /* no border-radius — PNG is now cleanly circular */
}
@media (max-width: 600px) {
  .site-nav { justify-content: center; }
  .nav-left { align-items: center !important; width: auto !important; flex: 0 1 auto !important; justify-content: center; }
  .nav-logo { flex: 0 1 auto !important; width: auto !important; justify-content: center; }
  /* Hide the wordmark on mobile — emblem alone is the brand */
  .nav-logo-text { display: none !important; }
  /* Emblem doubled on mobile: 127px → 254px */
  .rb-emblem { width: 254px; height: 254px; }
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
.hidden  { display: none !important; }
.flex    { display: flex; }
.gap-4   { gap: var(--sp-4); }
.mt-6    { margin-top: var(--sp-6); }
.mt-10   { margin-top: var(--sp-10); }
.mt-12   { margin-top: var(--sp-12); }

/* ---------- Swirl Decorative Line ---------- */
.swirl-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-block: var(--sp-8);
}
.swirl-divider::before, .swirl-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--clr-border);
}
.swirl-divider svg { flex-shrink: 0; color: var(--clr-accent); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-mid);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw; max-height: 90dvh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox-close {
  position: absolute; top: var(--sp-5); right: var(--sp-5);
  color: var(--clr-cream); font-size: 1.5rem; cursor: pointer;
  background: none; border: none;
  transition: color var(--t-fast);
}
.lightbox-close:hover { color: var(--clr-accent); }

/* ---------- Project page grid ---------- */
.projects-masonry {
  columns: 3;
  column-gap: var(--sp-4);
  margin-top: var(--sp-10);
}
.projects-masonry .proj-item {
  break-inside: avoid;
  margin-bottom: var(--sp-4);
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
}
.projects-masonry .proj-item img {
  width: 100%; display: block;
  transition: transform 0.6s var(--ease-io);
}
.projects-masonry .proj-item:hover img { transform: scale(1.04); }
.proj-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,30,17,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-mid);
  display: flex; align-items: flex-end; padding: var(--sp-4);
}
.proj-item:hover .proj-overlay { opacity: 1; }
.proj-overlay span {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-cream);
}

@media (max-width: 768px) {
  .projects-masonry { columns: 2; }
}
@media (max-width: 480px) {
  .projects-masonry { columns: 1; }
}

/* ---------- AI Qualifier / "Start Your Project" ---------- */
.qualifier-wrap {
  max-width: 760px;
  margin-inline: auto;
  padding: var(--sp-10) var(--sp-8);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
}
.qualifier-step { display: none; }
.qualifier-step.active { display: block; }
.qualifier-progress {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}
.qualifier-progress span {
  flex: 1; height: 2px;
  background: var(--clr-border);
  border-radius: 999px;
  transition: background 0.4s;
}
.qualifier-progress span.done { background: var(--clr-accent); }
.qualifier-q {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 300;
  color: var(--clr-cream);
  margin-bottom: var(--sp-6);
  line-height: 1.3;
}
.qualifier-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.qualifier-opt {
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-surface-2);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--clr-cream-muted);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
  text-align: left;
}
.qualifier-opt:hover,
.qualifier-opt.selected {
  border-color: var(--clr-accent);
  color: var(--clr-cream);
  background: rgba(201,168,76,0.08);
}
.qualifier-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
}
.qualifier-result {
  display: none;
  text-align: center;
  padding: var(--sp-8) 0;
}
.qualifier-result.show { display: block; }
.qualifier-result h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--clr-cream);
  margin-bottom: var(--sp-4);
}
.qualifier-result p {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-8);
  max-width: 50ch;
  margin-inline: auto;
}

/* ---------- "Delivered in Harmony" page ---------- */
.harmony-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--clr-bg-mid) 0%, var(--clr-bg) 100%);
  padding-top: 100px;
}
.conductor-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--sp-12);
}
.conductor-card-header {
  padding: var(--sp-8);
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.conductor-badge {
  width: 56px; height: 56px;
  background: var(--clr-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-bg);
  flex-shrink: 0;
}
.conductor-card-body { padding: var(--sp-8); }
.conductor-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}
.conductor-feature {
  padding: var(--sp-5);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-bg);
}
.conductor-feature h4 {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-cream);
  margin-bottom: var(--sp-2);
}
.conductor-feature p {
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ---------- About / Team section ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-10), 8vw, var(--sp-24));
  align-items: center;
}
@media (max-width: 768px) {
  .about-split { grid-template-columns: 1fr; }
}
.about-portrait {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
}
.about-portrait img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top center;
}
.about-credentials {
  margin-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.credential-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
}
.credential-item svg { color: var(--clr-accent); flex-shrink: 0; }

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(var(--sp-10), 8vw, var(--sp-20));
  align-items: start;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info { }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.contact-info-item svg { color: var(--clr-accent); margin-top: 2px; flex-shrink: 0; }
.contact-info-item h4 {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-faint);
  margin-bottom: var(--sp-1);
}
.contact-info-item p, .contact-info-item a {
  font-size: var(--text-base);
  color: var(--clr-cream);
  transition: color var(--t-fast);
}
.contact-info-item a:hover { color: var(--clr-accent); }
