/* ============================================
   IAH INTERIOR DESIGN STUDIO
   Global Stylesheet
   ============================================ */

/* --- Tokens --- */
:root {
  --cream:       #F5F2EE;
  --cream-dark:  #EDE9E3;
  --stone:       #E0DBD4;
  --ink:         #1A1A18;
  --ink-soft:    #2E2E2B;
  --warm-grey:   #6B6560;
  --brass:       #C4A882;
  --brass-light: #D4BC9A;
  --white:       #FDFCFB;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --max-w: 1280px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --section-gap: clamp(5rem, 10vw, 9rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--ease-out);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Typography Scale --- */
.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-grey);
}
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
}
.body-lg {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.75;
  color: var(--warm-grey);
}
.body-sm {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--warm-grey);
}

/* --- Brass Underline CTA --- */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--brass);
  transition: color var(--transition), border-color var(--transition), gap var(--transition);
}
.cta-link:hover { color: var(--brass); gap: 0.8rem; }
.cta-link.light { color: var(--cream); border-bottom-color: var(--brass-light); }
.cta-link.light:hover { color: var(--brass-light); }

/* --- Outlined Button --- */
.btn-outline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1px solid currentColor;
  color: var(--ink);
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-outline.light { color: var(--cream); }
.btn-outline.light:hover { background: var(--cream); color: var(--ink); }

/* ============================================
   HEADER
   ============================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
#site-header.scrolled {
  background: rgba(245, 242, 238, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--stone);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-right: auto;
}
.logo-monogram {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white);
  transition: color var(--transition);
}
#site-header.scrolled .logo-monogram { color: var(--ink); }
.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253,252,251,0.6);
  margin-top: 0.15rem;
  transition: color var(--transition);
}
#site-header.scrolled .logo-sub { color: var(--warm-grey); }
.main-nav ul {
  display: flex;
  gap: 2.5rem;
}
.main-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,252,251,0.75);
  transition: color 0.2s, opacity 0.2s;
}
.main-nav a:hover { color: var(--white); }
#site-header.scrolled .main-nav a { color: var(--ink); opacity: 0.7; }
#site-header.scrolled .main-nav a:hover { color: var(--ink); opacity: 1; }
.nav-cta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border: 1px solid rgba(253,252,251,0.6);
  color: var(--white);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
#site-header.scrolled .nav-cta { border-color: var(--ink); color: var(--ink); }
#site-header.scrolled .nav-cta:hover { background: var(--ink); color: var(--cream); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--white); transition: var(--transition); }
#site-header.scrolled .nav-toggle span { background: var(--ink); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(245, 242, 238, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone);
  padding: 2rem var(--gutter);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.mobile-cta { color: var(--brass) !important; }

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--ink-soft);
}
.hero-img {
  position: absolute;
  inset: 0;
}
.hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
/* Left-to-right dark gradient */
.hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26,26,24,0.82) 0%,
    rgba(26,26,24,0.55) 45%,
    rgba(26,26,24,0.18) 75%,
    rgba(26,26,24,0.04) 100%
  );
}
.hero-content {
  position: absolute;
  bottom: clamp(3rem, 7vh, 5.5rem);
  left: var(--gutter);
  max-width: 640px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8.5vw, 9rem);
  font-weight: 300;
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253,252,251,0.65);
  margin-bottom: 2.5rem;
}
.hero-scroll {
  position: absolute;
  bottom: clamp(2rem, 4vh, 3.5rem);
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(253,252,251,0.45);
}
.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(253,252,251,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.9; transform: scaleY(1.15); }
}

/* ============================================
   STUDIO INTRO STRIP
   ============================================ */
#studio-intro {
  padding: 3.5rem var(--gutter);
  border-bottom: 1px solid var(--stone);
}
.studio-intro-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
}
.intro-monogram {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  opacity: 0.15;
}
.intro-text p {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  color: var(--warm-grey);
  max-width: 560px;
}
.intro-cta { text-align: right; white-space: nowrap; }

/* ============================================
   FEATURED PROJECT
   ============================================ */
#featured {
  position: relative;
  height: clamp(420px, 65vh, 700px);
  overflow: hidden;
  cursor: pointer;
}
#featured img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
#featured:hover img { transform: scale(1.03); }
.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,0.75) 0%, transparent 55%);
}
.featured-content {
  position: absolute;
  bottom: clamp(2rem, 4vw, 3.5rem);
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.featured-meta .label { color: var(--brass-light); margin-bottom: 0.5rem; }
.featured-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
}
.featured-location {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(253,252,251,0.6);
  margin-top: 0.4rem;
}
.featured-brass-line {
  display: block;
  width: 0;
  height: 1px;
  background: var(--brass);
  margin-bottom: 0.75rem;
  transition: width 0.6s var(--ease-out);
}
#featured:hover .featured-brass-line { width: 60px; }

/* ============================================
   PORTFOLIO GRID
   ============================================ */
#projects {
  padding: var(--section-gap) var(--gutter);
  background: var(--cream);
}
.section-header {
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.section-title-group .label { margin-bottom: 0.5rem; }
.section-title-group h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-family: var(--font-display); font-weight: 300; }

.portfolio-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 340px 340px 420px;
  gap: 1rem;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
/* img fills the item directly — no wrapper tricks needed */
.portfolio-item-inner {
  position: absolute;
  inset: 0;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  display: block;
}
.portfolio-item:hover img { transform: scale(1.04); }
.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,0.72) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }
.portfolio-item-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
  z-index: 2;
}
.portfolio-item:hover .portfolio-item-info { opacity: 1; transform: translateY(0); }
.portfolio-item-info .brass-tick {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--brass);
  margin-bottom: 0.6rem;
}
.portfolio-item-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
}
.portfolio-item-loc {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(253,252,251,0.65);
  margin-top: 0.3rem;
}
/* Large left item spans both top rows */
.pi-large { grid-row: span 2; }
/* Two small items sit in col 2, rows 1+2 — natural flow */
.pi-small { }
/* Wide item spans both columns on row 3 */
.pi-wide  { grid-column: span 2; }

/* Placeholder images */
.img-placeholder {
  width: 100%; height: 100%;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-grey);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 280px;
}

/* ============================================
   DESIGNER SECTION
   ============================================ */
#designer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  background: var(--ink);
}
.designer-image {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.designer-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%);
  transition: transform 0.8s var(--ease-out);
}
#designer:hover .designer-image img { transform: scale(1.03); }
.designer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem);
  background: var(--ink-soft);
}
.designer-content .label { color: var(--brass); margin-bottom: 1.5rem; }
.designer-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1.75rem;
  line-height: 1.05;
}
.designer-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
  color: rgba(253,252,251,0.8);
  line-height: 1.55;
  padding-left: 1.25rem;
  border-left: 1px solid var(--brass);
  margin-bottom: 2rem;
}
.designer-bio {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(253,252,251,0.55);
  margin-bottom: 2.5rem;
  max-width: 440px;
}
.designer-sig {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--brass);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

/* ============================================
   PHILOSOPHY INTERLUDE
   ============================================ */
#philosophy {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}
.philosophy-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}
.philosophy-bg img { object-position: center 60%; }
.philosophy-inner {
  position: relative;
  text-align: center;
  max-width: 820px;
}
.philosophy-inner .label { color: var(--brass); margin-bottom: 2rem; }
.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.philosophy-dash {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--brass);
  margin: 2.5rem auto 0;
}

/* ============================================
   SERVICES
   ============================================ */
#services {
  padding: var(--section-gap) var(--gutter);
  background: var(--cream);
}
.services-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--stone);
  border: 1px solid var(--stone);
}
.service-card {
  background: var(--cream);
  padding: clamp(2rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--brass);
  transition: width 0.5s var(--ease-out);
}
.service-card:hover { background: var(--cream-dark); }
.service-card:hover::after { width: 100%; }
.service-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--brass);
  font-style: italic;
}
.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
}
.service-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--warm-grey);
  flex: 1;
}

/* ============================================
   CTA / CONTACT — MULTISTEP FORM
   ============================================ */

/* Anchor offset for sections — header height handled via JS smooth scroll */
#studio-intro,
#featured,
#projects,
#designer,
#philosophy,
#services,
#contact { scroll-margin-top: 0; }
#contact {
  padding: var(--section-gap) var(--gutter);
  background: var(--cream-dark);
}
.contact-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
.contact-left .label { margin-bottom: 1.5rem; }
.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.contact-sub {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--warm-grey);
  margin-bottom: 2.5rem;
  max-width: 420px;
}
.contact-details { display: flex; flex-direction: column; gap: 0.6rem; }
.contact-details a {
  font-size: 0.85rem;
  color: var(--warm-grey);
  transition: color 0.2s;
}
.contact-details a:hover { color: var(--ink); }

/* --- Multistep form wrapper --- */
.msf-wrap {
  position: relative;
  min-height: 320px;
}

/* Progress bar */
.msf-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}
.msf-step-dot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.4s;
}
.msf-step-dot.active { color: var(--ink); }
.msf-step-dot.done { color: var(--brass); }
.msf-dot-circle {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--stone);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  color: var(--stone);
  transition: border-color 0.4s, background 0.4s, color 0.4s;
  flex-shrink: 0;
}
.msf-step-dot.active .msf-dot-circle { border-color: var(--ink); color: var(--ink); }
.msf-step-dot.done .msf-dot-circle { border-color: var(--brass); background: var(--brass); color: var(--white); }
.msf-connector {
  flex: 1;
  height: 1px;
  background: var(--stone);
  margin: 0 0.75rem;
  transition: background 0.4s;
}
.msf-connector.done { background: var(--brass); }

/* Steps */
.msf-step {
  display: none;
  animation: stepIn 0.4s var(--ease-out) both;
}
.msf-step.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.msf-question {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* Option tiles (auto-proceed on click) */
.msf-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.msf-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--stone);
  background: var(--cream);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  font-size: 0.88rem;
  color: var(--ink);
  text-align: left;
  width: 100%;
}
.msf-option:hover { border-color: var(--brass); background: var(--white); }
.msf-option-icon {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--brass);
  min-width: 1.5rem;
}

/* Text input steps */
.msf-input-group { display: flex; flex-direction: column; gap: 0.4rem; }
.msf-input-group label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-grey);
}
.msf-input-group input,
.msf-input-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--stone);
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.msf-input-group input:focus,
.msf-input-group textarea:focus { border-bottom-color: var(--brass); }
.msf-input-group textarea { resize: none; min-height: 90px; }

/* Nav row */
.msf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.msf-back {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-grey);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  display: flex; align-items: center; gap: 0.4rem;
}
.msf-back:hover { color: var(--ink); }
.msf-next,
.msf-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  background: var(--ink);
  color: var(--cream);
  border: none;
  cursor: pointer;
  transition: background var(--transition), gap var(--transition);
}
.msf-next:hover,
.msf-submit:hover { background: var(--ink-soft); gap: 0.9rem; }
.msf-next:disabled { opacity: 0.35; cursor: not-allowed; }

/* Success */
.msf-success {
  display: none;
  padding: 3rem 0;
  text-align: center;
  animation: stepIn 0.5s var(--ease-out) both;
}
.msf-success-icon {
  color: var(--brass);
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}
.msf-success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}
.msf-success p {
  font-size: 0.88rem;
  color: var(--warm-grey);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
#site-footer {
  background: var(--ink);
  color: var(--white);
  padding: clamp(3rem, 5vw, 4.5rem) var(--gutter) 2rem;
}
.footer-top {
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 3rem;
}
.footer-monogram {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253,252,251,0.35);
}
.footer-nav ul {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,252,251,0.5);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}
.footer-contact a {
  font-size: 0.8rem;
  color: rgba(253,252,251,0.55);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--white); }
.footer-social { display: flex; gap: 1.25rem; }
.footer-social a { color: rgba(253,252,251,0.45); transition: color 0.2s; }
.footer-social a:hover { color: var(--brass); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(253,252,251,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(253,252,251,0.3);
}
.footer-credit a { color: rgba(253,252,251,0.3); transition: color 0.2s; }
.footer-credit a:hover { color: var(--brass); }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 280px 360px;
  }
  .pi-large { grid-row: span 2; }
  .pi-wide  { grid-column: span 2; }
}

@media (max-width: 768px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }

  .studio-intro-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .intro-monogram { display: none; }
  .intro-cta { text-align: center; }

  #designer { grid-template-columns: 1fr; }
  .designer-image { min-height: 320px; }

  /* Contact stacks to single column */
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-sub { max-width: 100%; }

  .footer-top { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .footer-contact { align-items: center; }
  .footer-nav ul { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 280px 280px 240px;
  }
  .pi-large { grid-row: span 1; }
  .pi-wide  { grid-column: span 1; }

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

  /* MSF progress bar: hide text labels, keep circles + line only */
  .msf-step-dot > span { display: none; }
  .msf-progress { gap: 0; }
  .msf-connector { margin: 0 0.4rem; }

  /* MSF options: ensure they don't overflow */
  .msf-option { padding: 0.85rem 1rem; font-size: 0.85rem; }
  .msf-wrap { width: 100%; max-width: 100%; overflow: hidden; }

  /* MSF nav row: ensure button doesn't overflow */
  .msf-next, .msf-submit { padding: 0.85rem 1.5rem; font-size: 0.7rem; }

  /* Hero headline sizing on small screens */
  .hero-headline { font-size: clamp(3rem, 13vw, 5rem); }

  /* Section headers: stack on mobile */
  .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Featured content: stack on mobile */
  .featured-content { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Philosophy quote sizing */
  .philosophy-quote { font-size: clamp(1.5rem, 6vw, 2.2rem); }

  /* Designer content padding */
  .designer-content { padding: 2.5rem var(--gutter); }
}

@media (prefers-reduced-motion: reduce) {
  *, .reveal { transition: none !important; animation: none !important; }
}
