/* ============================================================
   Milton 1 Design Studio — Stylesheet
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --ink:            #211D1A;
  --parchment:      #F3EEE3;
  --ember-gold:     #C98A3E;
  --foothill-sage:  #6B7560;
  --concrete-gray:  #9C958A;
  --white:          #FFFFFF;

  --font-display:   'Big Shoulders Display', sans-serif;
  --font-body:      'Source Sans 3', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  --max-width:      1200px;
  --section-pad:    clamp(4rem, 8vw, 7rem);
  --gap:            clamp(1.5rem, 3vw, 2.5rem);
  --radius:         6px;

  --transition:     0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1vw + 0.75rem, 1.125rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--parchment);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol { list-style: none; }

/* ---------- Focus States (Accessibility) ---------- */
:focus-visible {
  outline: 3px solid var(--ember-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

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

/* ---------- Survey-Marker / Crosshair Glyph ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--concrete-gray);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none'%3E%3Ccircle cx='9' cy='9' r='6.5' stroke='%239C958A' stroke-width='1.2'/%3E%3Cline x1='9' y1='0' x2='9' y2='18' stroke='%239C958A' stroke-width='1.2'/%3E%3Cline x1='0' y1='9' x2='18' y2='9' stroke='%239C958A' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  margin-bottom: 1.25rem;
  color: var(--ink);
}

h3 {
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  margin-bottom: 0.75rem;
}

p + p { margin-top: 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9em 2em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--ember-gold);
  color: var(--white);
  border-color: var(--ember-gold);
}

.btn--primary:hover {
  background: #b47a32;
  border-color: #b47a32;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn--dark {
  background: var(--ember-gold);
  color: var(--white);
  border-color: var(--ember-gold);
}

.btn--dark:hover {
  background: #b47a32;
  border-color: #b47a32;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(243, 238, 227, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(156, 149, 138, 0.2);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  background: rgba(243, 238, 227, 0.97);
  box-shadow: 0 2px 20px rgba(33, 29, 26, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--ember-gold);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

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

.nav-phone {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--concrete-gray);
  border-left: 1px solid rgba(156, 149, 138, 0.3);
  padding-left: 2rem;
  margin-left: 0;
  transition: color var(--transition);
}

.nav-phone:hover {
  color: var(--ember-gold);
}

/* Desktop: keep links + phone in same row */
@media (min-width: 769px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
  }
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(33, 29, 26, 0.88) 0%,
    rgba(33, 29, 26, 0.6) 35%,
    rgba(33, 29, 26, 0.15) 65%,
    rgba(33, 29, 26, 0.05) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(4rem, 10vw, 7rem);
  padding-top: 8rem;
  max-width: 680px;
}

.hero-content .eyebrow {
  color: var(--ember-gold);
}

.hero-content .eyebrow::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none'%3E%3Ccircle cx='9' cy='9' r='6.5' stroke='%23C98A3E' stroke-width='1.2'/%3E%3Cline x1='9' y1='0' x2='9' y2='18' stroke='%23C98A3E' stroke-width='1.2'/%3E%3Cline x1='0' y1='9' x2='18' y2='9' stroke='%23C98A3E' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw + 1rem, 5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 12ch;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 50ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-text-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.hero-text-link:hover {
  color: var(--ember-gold);
}

/* ---------- Section spacing ---------- */
.section {
  padding-block: var(--section-pad);
}

.section--dark {
  background: var(--ink);
  color: var(--parchment);
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* Sage divider */
.sage-divider {
  width: 48px;
  height: 2px;
  background: var(--foothill-sage);
  border: none;
  margin-block: 1.5rem;
}

/* ---------- The Story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}

.story-text p {
  color: rgba(33, 29, 26, 0.82);
}

.pull-quote {
  position: relative;
  padding: 2rem 2.5rem;
  margin-block: 2rem;
  border-left: 3px solid var(--ember-gold);
  background: rgba(201, 138, 62, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ink) !important;
}

.pull-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete-gray);
}

/* Founder title */
.founder-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--concrete-gray);
  margin-top: -0.75rem;
  margin-bottom: 0.5rem;
}

/* Founder portrait */
.founder-portrait-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(3rem, 6vw, 5rem);
  gap: 1.25rem;
}

.founder-portrait-frame {
  position: relative;
  width: clamp(200px, 28vw, 340px);
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 6px var(--parchment),
    0 0 0 8px var(--ember-gold),
    0 20px 60px rgba(33, 29, 26, 0.18);
  transition: box-shadow var(--transition), transform var(--transition);
}

.founder-portrait-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 6px var(--parchment),
    0 0 0 8px var(--ember-gold),
    0 28px 70px rgba(33, 29, 26, 0.22);
}

.founder-portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-portrait-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete-gray);
  text-align: center;
}

/* Philosophy closing text */
.philosophy-closing {
  max-width: 60ch;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.philosophy-closing p {
  color: rgba(33, 29, 26, 0.78);
}

/* Mission statement */
.mission-content {
  max-width: 72ch;
}

.mission-content p {
  color: rgba(33, 29, 26, 0.82);
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  line-height: 1.8;
}

/* ---------- How We Work ---------- */
.values-intro {
  max-width: 60ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: rgba(33, 29, 26, 0.78);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.value-card {
  background: var(--white);
  border: 1px solid rgba(156, 149, 138, 0.2);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(33, 29, 26, 0.08);
}

.value-word {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}

.value-divider {
  width: 24px;
  height: 1px;
  background: var(--foothill-sage);
  margin: 0.75rem auto;
}

.value-word--secondary {
  color: var(--foothill-sage);
}

/* ---------- Selected Work ---------- */
.section--work {
  background: var(--ink);
  color: var(--parchment);
}

.section--work .section-header .eyebrow {
  color: var(--ember-gold);
}

.section--work .section-header .eyebrow::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none'%3E%3Ccircle cx='9' cy='9' r='6.5' stroke='%23C98A3E' stroke-width='1.2'/%3E%3Cline x1='9' y1='0' x2='9' y2='18' stroke='%23C98A3E' stroke-width='1.2'/%3E%3Cline x1='0' y1='9' x2='18' y2='9' stroke='%23C98A3E' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section--work h2 {
  color: var(--parchment);
}

/* ---------- Project Showcase ---------- */
.projects-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vw, 6rem);
}

/* --- Project Card --- */
.project-card {
  background: rgba(243, 238, 227, 0.04);
  border: 1px solid rgba(243, 238, 227, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  border-color: rgba(201, 138, 62, 0.25);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

/* Hero image (full-width top) */
.project-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-hero img {
  transform: scale(1.03);
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(33, 29, 26, 0.7) 0%,
    rgba(33, 29, 26, 0.1) 40%,
    transparent 100%
  );
  pointer-events: none;
}

.project-hero-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  z-index: 1;
}

.project-hero-title h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw + 0.5rem, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.25rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.project-hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1vw, 0.78rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember-gold);
}

/* Content area (description + gallery side by side) */
.project-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
}

/* Description side */
.project-description {
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(243, 238, 227, 0.06);
}

.project-description p {
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.75;
  color: rgba(243, 238, 227, 0.65);
}

.project-description p + p {
  margin-top: 1em;
}

/* --- Gallery Carousel --- */
.project-gallery {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(0, 0, 0, 0.3);
}

.project-gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.project-gallery-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.project-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Arrow buttons */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(33, 29, 26, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
}

.project-gallery:hover .gallery-btn {
  opacity: 1;
}

.gallery-btn:hover {
  background: rgba(201, 138, 62, 0.8);
  border-color: var(--ember-gold);
  transform: translateY(-50%) scale(1.08);
}

.gallery-btn--prev {
  left: 16px;
}

.gallery-btn--next {
  right: 16px;
}

.gallery-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dot indicators */
.gallery-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.gallery-dot.active {
  background: var(--ember-gold);
  transform: scale(1.3);
}

.gallery-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Slide counter badge */
.gallery-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(33, 29, 26, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Empty state for projects without images */
.project-hero--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(107, 117, 96, 0.15) 0%, rgba(201, 138, 62, 0.1) 100%);
  border-bottom: 1px solid rgba(243, 238, 227, 0.06);
}

.project-hero--empty .project-empty-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(243, 238, 227, 0.2);
}

.project-empty-icon svg {
  width: 48px;
  height: 48px;
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
}

.project-empty-icon span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Gallery empty state */
.project-gallery--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
}

.project-gallery--empty span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 238, 227, 0.2);
}

/* No-gallery: description takes full width */
.project-content--full {
  grid-template-columns: 1fr;
}

.project-content--full .project-description {
  border-right: none;
  max-width: 72ch;
}




/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.service-col {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(156, 149, 138, 0.2);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--transition);
}

.service-col:hover {
  border-color: var(--ember-gold);
}

.service-col h3 {
  font-family: var(--font-display);
  color: var(--ink);
}

.service-col p {
  color: rgba(33, 29, 26, 0.75);
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.contact-info h2 {
  color: var(--parchment);
}

.contact-info p {
  color: rgba(243, 238, 227, 0.7);
  margin-bottom: 1.5rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--parchment);
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--ember-gold);
}

.contact-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--ember-gold);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 238, 227, 0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  background: rgba(243, 238, 227, 0.08);
  border: 1px solid rgba(243, 238, 227, 0.15);
  border-radius: var(--radius);
  color: var(--parchment);
  transition: border-color var(--transition), background var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(243, 238, 227, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ember-gold);
  background: rgba(243, 238, 227, 0.12);
}

.form-group select option {
  background: var(--ink);
  color: var(--parchment);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(243, 238, 227, 0.08);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

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

.footer-logo-full {
  height: clamp(100px, 15vw, 140px);
  width: auto;
  display: block;
  filter: invert(1);
  mix-blend-mode: lighten;
  opacity: 0.9;
}

.footer-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(243, 238, 227, 0.08);
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 238, 227, 0.4);
}

.footer-right {
  text-align: right;
}

.footer-motto {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(243, 238, 227, 0.3);
  margin-bottom: 0.25rem;
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(243, 238, 227, 0.25);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > .reveal {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .project-gallery-track {
    transition: none;
  }

  .project-hero img {
    transition: none;
  }

  .value-card {
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.25rem;
  }

  .nav-phone {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(243, 238, 227, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links {
    flex-direction: column;
    gap: 2rem;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .nav-phone {
    display: block;
    border-left: none;
    padding-left: 0;
    margin-top: 2rem;
    font-size: 0.85rem;
  }

  /* Grids */
  .story-grid {
    grid-template-columns: 1fr;
  }

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

  /* Project cards */
  .project-content {
    grid-template-columns: 1fr;
  }

  .project-description {
    border-right: none;
  }

  .project-hero {
    aspect-ratio: 16 / 9;
  }

  .gallery-btn {
    opacity: 1;
    width: 40px;
    height: 40px;
  }

  .gallery-btn--prev {
    left: 10px;
  }

  .gallery-btn--next {
    right: 10px;
  }

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

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

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

  .nav-logo-img {
    height: 40px;
  }

  .footer-details {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    align-items: center;
  }

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

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

  .hero h1 {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }

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

/* ============================================================
   TESTIMONIALS CAROUSEL
   ============================================================ */

.section--testimonials {
  background: var(--ink);
  color: var(--parchment);
}

.section--testimonials .section-header .eyebrow {
  color: var(--ember-gold);
}

.section--testimonials .section-header .eyebrow::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none'%3E%3Ccircle cx='9' cy='9' r='6.5' stroke='%23C98A3E' stroke-width='1.2'/%3E%3Cline x1='9' y1='0' x2='9' y2='18' stroke='%23C98A3E' stroke-width='1.2'/%3E%3Cline x1='0' y1='9' x2='18' y2='9' stroke='%23C98A3E' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section--testimonials h2 {
  color: var(--parchment);
}

/* Carousel wrapper */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(243, 238, 227, 0.08);
}

/* Sliding track */
.testimonials-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Individual slide */
.t-slide {
  min-width: 100%;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 8vw, 7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(243, 238, 227, 0.03);
  gap: 1.5rem;
  box-sizing: border-box;
}

/* Big decorative quote mark */
.t-quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.6;
  color: var(--ember-gold);
  opacity: 0.35;
  user-select: none;
  margin-bottom: 0.5rem;
}

/* Star rating */
.t-stars {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.t-star {
  color: var(--ember-gold);
  font-size: 1.1rem;
}

/* Quote text */
.t-text {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.75;
  color: rgba(243, 238, 227, 0.85);
  max-width: 68ch;
  font-style: italic;
}

/* Client info */
.t-client {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.t-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--parchment);
}

.t-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember-gold);
}

/* Arrow buttons */
.t-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(243, 238, 227, 0.2);
  background: rgba(33, 29, 26, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
}

.testimonials-carousel:hover .t-btn {
  opacity: 1;
}

.t-btn:hover {
  background: rgba(201, 138, 62, 0.85);
  border-color: var(--ember-gold);
  transform: translateY(-50%) scale(1.08);
}

.t-btn--prev { left: 16px; }
.t-btn--next { right: 16px; }

.t-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dot indicators */
.t-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(243, 238, 227, 0.4);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.t-dot.active {
  background: var(--ember-gold);
  border-color: var(--ember-gold);
  transform: scale(1.2);
}

/* Counter */
.t-counter {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(243, 238, 227, 0.35);
  background: rgba(33, 29, 26, 0.5);
  padding: 4px 10px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .t-slide {
    padding: 3rem 1.5rem 4rem;
  }
  .t-btn { display: none; }
}

