/* Amanda Ruth Interiors — static recreation of the Wix site */
:root {
  --cream: #fdfcfb;
  --sand: #e9e3d5;
  --taupe: #bab09d;
  --taupe-deep: #a89e8c;
  --brown: #7a6955;
  --brown-soft: #817971;
  --nav: #91806c;
  --ink: #1a1a1a;
  --white: #ffffff;
  --header-h: 146px;
  --font: "Cormorant Garamond", "Cormorant Garamond Light", "Times New Roman", serif;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-weight: 300; overflow-x: clip; }
img, video { max-width: 100%; height: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  height: var(--header-h);
  width: 100%;
  flex-shrink: 0;
  transition: height 0.4s ease, box-shadow 0.4s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  height: 146px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  transition: height 0.4s ease;
}
.logo {
  display: flex;
  align-items: center;
  width: 516px;
  height: 143px;
  flex-shrink: 0;
  overflow: hidden;
  transition: width 0.4s ease, height 0.4s ease;
}
.logo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.logo img {
  width: 516px;
  height: 143px;
  object-fit: contain;
  object-position: 50% 50%;
  transition: width 0.4s ease, height 0.4s ease;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: flex-end;
  padding-right: 24px;
  min-width: 0;
}
.nav-desktop a {
  font-size: 15px;
  font-weight: 300;
  color: var(--nav);
  letter-spacing: 0.12em;
  padding: 8px 0 6px;
  margin: 0 0 0 16px;
  white-space: nowrap;
  position: relative;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--nav);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease;
  pointer-events: none;
}
.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after,
.nav-desktop a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  margin-right: 8px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--brown);
  position: absolute;
  left: 12px;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ""; top: -7px; }
.nav-toggle span::after { content: ""; top: 7px; }
.nav-mobile {
  display: none;
  background: var(--cream);
  border-top: 1px solid rgba(145,128,108,.2);
  padding: 16px 24px 24px;
}
.nav-mobile a {
  display: block;
  padding: 12px 0;
  font-size: 18px;
  letter-spacing: 0.22em;
  color: var(--nav);
  border-bottom: 1px solid rgba(145,128,108,.15);
}
body.menu-open .nav-mobile { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 0;
  border-radius: 50px;
  padding: 10px 28px;
  min-height: 41px;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-soft { background: var(--brown-soft); }
.btn-block { width: 100%; border-radius: 10px; letter-spacing: 0.08em; text-transform: none; font-size: 14px; }
.btn-square { border-radius: 0; min-width: 100px; padding: 11px 16px; }
.btn-light {
  background: var(--cream);
  color: var(--brown);
}
.btn-light:hover { transform: translateY(-1px); }

/* ---------- Shared heroes ---------- */
.page-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111;
}
.page-hero img.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.page-hero .hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--cream);
  padding: 24px;
}
.page-hero h1, .page-hero h2.hero-title {
  margin: 0;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.18em;
}
.page-hero .hero-sub {
  margin: 12px 0 0;
  font-size: 24px;
  letter-spacing: 0.18em;
  font-weight: 300;
  color: var(--cream);
}
.page-hero .hero-lead {
  margin: 14px auto 0;
  max-width: 620px;
  font-size: 16px;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.5;
}

/* ---------- Home ---------- */
.home-hero {
  height: 1160px;
  overflow: clip;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
  background: #c4b8ae;
}
.home-hero .hero-slides {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 1160px;
  margin: 0;
  display: block;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.home-hero .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 1.5s ease-in-out;
}
.home-hero .hero-slide.is-active { opacity: 1; z-index: 2; }
.home-hero .hero-slide.is-leaving { opacity: 0; z-index: 1; }
.home-hero .hero-slide img,
.home-hero img.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  pointer-events: none;
}
/* Per-slide crops so each room reads well in the nearly-square desktop frame */
.home-hero .hero-slide[data-slide="1"] { object-position: 50% 40%; }
.home-hero .hero-slide[data-slide="1"] img { object-position: 50% 40%; }
.home-hero .hero-slide[data-slide="2"] { object-position: 50% 42%; }
.home-hero .hero-slide[data-slide="2"] img { object-position: 50% 42%; }
.home-hero .hero-slide[data-slide="3"] { object-position: 50% 38%; }
.home-hero .hero-slide[data-slide="3"] img { object-position: 50% 38%; }
.home-hero .hero-content { justify-content: flex-start; padding-top: 330px; padding-bottom: 0; position: relative; z-index: 1; }
.home-hero .hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 16, 12, 0.10) 0%,
    rgba(20, 16, 12, 0.22) 48%,
    rgba(20, 16, 12, 0.40) 100%
  );
  z-index: -1;
  pointer-events: none;
}
.home-hero .ar-mark,
.home-hero h1,
.home-hero .hero-tag {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}
.home-hero .ar-mark {
  width: 246px;
  height: 137px;
  object-fit: cover;
  margin: 0 auto 8px;
}
.home-hero h1 {
  font-size: 60px;
  letter-spacing: 0.28em;
  line-height: 1.15;
  font-weight: 300;
  margin: 0;
}
.home-hero h1 .line2 {
  display: block;
  font-size: 36px;
  letter-spacing: 0.36em;
  margin-top: 4px;
  padding-left: 0;
}
.home-hero .hero-tag {
  margin: 18px 0 22px;
  font-size: 18px;
  letter-spacing: 0.02em;
  font-weight: 300;
}

.section-about {
  position: relative;
  z-index: 1;
  background: var(--taupe);
  color: var(--ink);
  min-height: 590px;
}
.about-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 590px;
  align-items: center;
  padding: 48px 90px 64px 105px;
  gap: 40px;
  position: relative;
}
.about-grid .eyebrow { font-size: 24px; margin: 0 0 8px; font-weight: 300; }
.about-grid h2 { font-size: 36px; margin: 0 0 16px; font-weight: 300; letter-spacing: 0.04em; }
.about-copy h3 {
  font-size: 40px;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.28em;
  margin: 0 0 20px;
  text-align: left;
}
.about-copy p { font-size: 20px; line-height: 1.55; color: var(--cream); margin: 0 0 16px; font-weight: 300; }
.about-copy p strong { font-weight: 600; }
.about-visual { position: relative; min-height: 280px; }
.about-visual img.ar-watermark {
  width: 412px;
  max-width: 100%;
  height: auto;
  opacity: 0.85;
}

.section-services { position: relative; z-index: 1; background: var(--sand); padding: 56px 100px 64px; }
.section-services h2 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.28em;
  margin: 0 0 12px;
}
.section-services .lede {
  font-size: 20px;
  max-width: 920px;
  margin: 0 0 28px;
  line-height: 1.5;
  font-weight: 300;
}
.services-rule { border: 0; border-top: 1px solid rgba(122, 105, 85, 0.35); margin: 0 0 36px; }
.services-row {
  display: grid;
  grid-template-columns: 401px 1fr;
  gap: 88px;
  align-items: start;
}
.services-row img {
  width: 401px;
  height: 493px;
  object-fit: cover;
  object-position: 50% 50%;
}
.services-list { list-style: none; margin: 0; padding: 8px 0 0; }
.services-list li {
  font-size: 20px;
  letter-spacing: 0.16em;
  margin: 0 0 18px;
  line-height: 1.45;
  font-weight: 300;
  text-transform: uppercase;
}
.services-list + .btn { margin-top: 8px; }

.section-projects { background: var(--cream); padding: 48px 0 40px; }
.section-projects h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--nav);
  margin: 0 0 36px;
}
.project-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 401px);
  justify-content: center;
  gap: 26px 26px;
  padding: 0 13px 8px;
}
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  color: var(--ink);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover img { transform: scale(1.04); }
.project-grid .folio-media { height: 526px; }
.project-grid .project-card.mid .folio-media { height: 490px; }
.project-card.tall,
.project-card.mid,
.project-card.folio { height: auto; }

.section-quote {
  background: var(--taupe);
  color: var(--cream);
  text-align: center;
  padding: 72px 80px 64px;
  min-height: 363px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.section-quote blockquote {
  margin: 0 auto;
  max-width: 780px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.45;
}
.section-quote cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
}

.section-instagram { background: var(--cream); padding: 48px 0 0; }
.ig-intro { max-width: 1280px; margin: 0 auto; padding: 0 119px 24px; }
.ig-intro h2 { font-size: 42px; font-weight: 300; letter-spacing: 0.32em; margin: 0 0 10px; }
.ig-intro p { font-size: 18px; margin: 0 0 6px; font-weight: 300; }
.ig-follow { color: inherit; letter-spacing: inherit; text-decoration: none; }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.ig-grid a { display: block; aspect-ratio: 1; overflow: hidden; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ig-grid a:hover img { transform: scale(1.04); transition: transform .4s ease; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--taupe);
  color: var(--ink);
  padding: 40px 0 20px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 24px;
  padding: 20px 67px 10px;
  align-items: start;
  min-height: 300px;
}
.footer-brand img {
  width: 361px;
  max-width: 100%;
  height: auto;
  opacity: 0.7;
}
.footer-col h3 {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.28em;
  margin: 0 0 10px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 18px;
  font-weight: 300;
  margin: 0 0 14px;
  line-height: 1.3;
}
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(26,26,26,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.socials svg { width: 14px; height: 14px; fill: var(--ink); }
.copyright {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 76px 12px;
  font-size: 14px;
  font-weight: 300;
}

/* ---------- Interior pages ---------- */
.services-hero { height: 605px; }
.services-hero h1 { font-size: 88px; letter-spacing: 0.12em; font-weight: 300; }
.about-hero { height: 560px; }
.about-hero h1 { font-size: 95px; letter-spacing: 0.12em; }
.portfolio-hero { height: 550px; }
.portfolio-hero h1 { font-size: 88px; letter-spacing: 0.18em; }
.contact-hero { height: 498px; }
.contact-hero h1 { font-size: 80px; letter-spacing: 0.12em; }
.project-hero { height: 78vh; min-height: 640px; max-height: 900px; }
.project-hero h1 { font-size: 80px; letter-spacing: 0.12em; }

.band { padding: 72px 96px; }
.band-taupe { background: var(--taupe); }
.band-sand { background: var(--sand); }
.band-cream { background: var(--cream); }
.band h2, .band .display {
  font-size: 52px;
  font-weight: 300;
  color: var(--brown-soft);
  line-height: 1.2;
  margin: 0 0 16px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}
.split p, .prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--brown-soft);
  margin: 0 0 16px;
  font-weight: 300;
}
.split .display, .intro-display {
  font-size: 48px;
  line-height: 1.2;
  color: var(--brown-soft);
  font-weight: 300;
  margin: 0;
}
.stage {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 96px;
}
.stage.flip { grid-template-columns: 1fr 300px; }
.stage img { width: 100%; height: auto; object-fit: cover; }
.stage h3 {
  font-size: 16px;
  letter-spacing: 0.2em;
  font-weight: 300;
  color: var(--brown-soft);
  margin: 0 0 16px;
}
.stage p { font-size: 16px; line-height: 1.7; color: var(--brown-soft); margin: 0 0 14px; }

.pair-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pair-photos img { width: 100%; height: 662px; object-fit: cover; }
.approach-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  align-items: stretch;
}
.approach-row img { width: 100%; height: 780px; object-fit: cover; }
.approach-copy { padding: 48px 48px 48px 40px; background: var(--cream); }
.approach-copy h2 { font-size: 56px; font-weight: 300; color: var(--brown-soft); margin: 0 0 24px; }
.approach-copy .display { font-size: 56px; line-height: 1.15; margin-bottom: 28px; }
.cta-banner {
  position: relative;
  height: 578px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  text-align: center;
}
.cta-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-banner .inner { position: relative; z-index: 1; }
.cta-banner h2 { font-size: 32px; letter-spacing: 0.28em; font-weight: 300; margin: 0 0 16px; }

/* Portfolio listing */
.folio-heading {
  text-align: center;
  font-size: 28px;
  letter-spacing: 0.22em;
  color: var(--brown-soft);
  font-weight: 300;
  padding: 36px 16px 28px;
  margin: 0;
  background: var(--cream);
}
.folio-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 407px);
  justify-content: center;
  gap: 20px;
  padding: 10px 10px 40px;
  background: var(--cream);
}

/* Project interiors */
.project-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 128px 72px;
  background: var(--cream);
}
.project-intro .display { font-size: 48px; line-height: 1.2; color: var(--brown-soft); margin: 0; font-weight: 300; }
.project-intro .body { font-size: 16px; line-height: 1.7; color: var(--brown-soft); }
.gallery-2x2 {
  display: grid;
  grid-template-columns: 661fr 605fr;
  grid-auto-rows: 496px;
  gap: 14px 14px;
  max-width: 1280px;
  margin: 0 auto;
}
.gallery-2x2 img { width: 100%; height: 100%; object-fit: cover; }
.gallery-wide {
  width: 100%;
  height: 715px;
  overflow: hidden;
  margin-top: 14px;
}
.gallery-wide img { width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact-wrap {
  background: var(--sand);
  padding: 72px 16px 80px;
}
.contact-cards {
  max-width: 780px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-card {
  background: var(--taupe-deep);
  color: var(--ink);
  border-radius: 16px;
  padding: 22px 28px;
  min-height: 90px;
}
.contact-card h2 { font-size: 16px; letter-spacing: 0.12em; font-weight: 400; margin: 0 0 8px; }
.contact-card a, .contact-card p { font-size: 16px; margin: 0; font-weight: 300; }
.contact-form-card {
  max-width: 780px;
  margin: 24px auto 0;
  background: var(--taupe-deep);
  border-radius: 16px;
  padding: 36px 32px 36px;
}
.contact-form-card h2 { font-size: 16px; margin: 0 0 16px; font-weight: 400; letter-spacing: 0.02em; }
.contact-form-card .help { font-size: 16px; margin: 0 0 28px; line-height: 1.5; font-weight: 300; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin: 0 0 16px; }
.form-field label { display: block; font-size: 16px; margin: 0 0 6px; }
.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 8px 10px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  background: var(--cream);
  color: var(--ink);
  min-height: 37px;
}
.form-field textarea { min-height: 74px; resize: vertical; }
.form-note { font-size: 14px; margin: 12px 0 0; color: var(--ink); opacity: 0.85; }

/* Book online */
.book-wrap { background: var(--cream); padding: 48px 20px 64px; }
.book-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 392px);
  justify-content: center;
  gap: 32px;
}
.book-card {
  background: var(--cream);
  border: 1px solid rgba(26,26,26,.06);
  box-shadow: 0 10px 30px rgba(122, 105, 85, 0.08);
}
.book-card img { width: 100%; height: 261px; object-fit: cover; }
.book-card .body { padding: 24px 32px 28px; }
.book-card h2 { font-size: 22px; font-weight: 400; margin: 0 0 16px; }
.book-card .price { font-size: 16px; margin: 0 0 20px; }
.service-detail { max-width: 800px; margin: 0 auto; padding: 64px 24px 80px; }
.service-detail h1 { font-size: 40px; font-weight: 300; margin: 0 0 12px; }
.service-detail .price { font-size: 24px; margin: 0 0 8px; }
.service-detail .meta { margin: 0 0 24px; color: var(--brown-soft); }
.service-detail p { font-size: 16px; line-height: 1.7; color: var(--brown-soft); }


/* Our Services intro: left displays, right copy — same as the original two-column layout */
.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "a prose"
    "b prose";
  align-items: start;
}
.services-intro .display-a { grid-area: a; }
.services-intro .display-b { grid-area: b; font-size: 42px; margin-top: 28px; }
.services-intro .prose { grid-area: prose; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .logo { width: 360px; height: 100px; }
  .logo img { width: 360px; height: 100px; }
  .site-header, .header-inner { height: 110px; }
  :root { --header-h: 110px; }
  .nav-desktop a { margin-left: 10px; font-size: 14px; letter-spacing: 0.12em; }
  .home-hero { height: 80vh; min-height: 640px; }
  .home-hero .hero-slides { height: calc(80vh + 110px); min-height: 750px; }
  .about-grid, .section-services, .band, .stage, .project-intro { padding-left: 32px; padding-right: 32px; }
  .services-row { grid-template-columns: 1fr 1fr; gap: 32px; }
  .services-row img { width: 100%; height: auto; aspect-ratio: 401/493; }
  .project-grid, .folio-grid { grid-template-columns: repeat(3, 1fr); padding: 0 16px 16px; gap: 16px; }
  .book-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { padding: 20px 32px; }
  .ig-intro { padding-left: 32px; padding-right: 32px; }
  .split, .approach-row, .pair-photos { gap: 24px; }
  .gallery-2x2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 40vw; padding: 0 0; }
  .gallery-wide { height: 56vw; }
}
@media (max-width: 800px) {
  /* ---- Header & hamburger ---- */
  .nav-desktop { display: none; }
  .site-header {
    height: 56px;
    min-height: 56px;
    overflow: visible;
    background: var(--cream);
  }
  .header-inner {
    height: 56px;
    padding: 0 4px 0 16px;
  }
  .logo {
    width: auto;
    max-width: calc(100% - 56px);
    height: 28px;
    margin-left: 0;
    flex-shrink: 1;
  }
  .logo picture,
  .logo img {
    width: auto;
    height: 28px;
    max-width: 230px;
    object-fit: contain;
    object-position: left center;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
    margin-right: 4px;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  :root { --header-h: 56px; }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    width: 18px;
    left: 15px;
    height: 1.5px;
    background: var(--brown-soft);
  }
  /* Full-screen menu overlay — see premium block at the end of this file */
  body.menu-open { overflow: hidden; }

  /* ---- Buttons & form controls (tap targets) ---- */
  .btn { min-height: 44px; padding: 12px 28px; }
  .form-field input,
  .form-field textarea {
    min-height: 44px;
    font-size: 16px; /* prevents iOS zoom */
    border-radius: 8px;
  }
  .form-field textarea { min-height: 96px; }
  .form-field label { margin-bottom: 8px; }

  /* ---- Home hero: centred, luxurious, iPhone-safe ---- */
  .home-hero {
    height: calc(100vh - 56px);
    height: calc(100svh - 56px);
    min-height: 520px;
    overflow: clip;
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
    background: #c4b8ae;
  }
  .home-hero .hero-slides {
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
  }
  .home-hero .hero-slide,
  .home-hero .hero-slide img,
  .home-hero img.hero-slide {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }
  .home-hero .hero-slide[data-slide="1"],
  .home-hero .hero-slide[data-slide="1"] img { object-position: 50% 36%; }
  .home-hero .hero-slide[data-slide="2"],
  .home-hero .hero-slide[data-slide="2"] img { object-position: 58% 48%; }
  .home-hero .hero-slide[data-slide="3"],
  .home-hero .hero-slide[data-slide="3"] img { object-position: 50% 32%; }
  .home-hero .hero-content {
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 32px 24px 48px;
    position: relative;
  }
  .home-hero .hero-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(20, 16, 12, 0.14) 0%,
      rgba(20, 16, 12, 0.28) 45%,
      rgba(20, 16, 12, 0.50) 100%
    );
    z-index: -1;
    pointer-events: none;
  }
  .home-hero .ar-mark {
    margin: 0 auto 18px;
    width: 100px;
    max-width: 28vw;
    height: auto;
  }
  .home-hero h1 {
    font-size: clamp(22px, 6.2vw, 30px);
    letter-spacing: 0.14em;
    line-height: 1.25;
    white-space: normal;
    max-width: 100%;
    padding: 0 4px;
  }
  .home-hero h1 .line2 {
    display: block;
    font-size: clamp(16px, 4.6vw, 20px);
    letter-spacing: 0.22em;
    margin-top: 10px;
    padding-left: 0;
  }
  .home-hero .hero-tag {
    font-size: clamp(14px, 3.7vw, 16px);
    letter-spacing: 0.03em;
    line-height: 1.5;
    max-width: 28em;
    margin: 18px auto 28px;
    padding: 0 4px;
  }
  .home-hero .btn {
    margin: 0 auto;
  }

  /* ---- Other page heroes ---- */
  .page-hero.services-hero { height: 479px; }
  .page-hero.about-hero { height: 280px; }
  .page-hero.portfolio-hero { height: 436px; }
  .page-hero.contact-hero { height: 216px; }
  .page-hero.project-hero { height: 70svh; min-height: 520px; max-height: 760px; }
  .page-hero h1,
  .about-hero h1,
  .services-hero h1,
  .portfolio-hero h1,
  .contact-hero h1,
  .project-hero h1 {
    font-size: 36px;
    letter-spacing: 0.16em;
    line-height: 1.15;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .page-hero.home-hero h1 {
    font-size: clamp(22px, 6.2vw, 30px);
    letter-spacing: 0.14em;
    line-height: 1.25;
    white-space: normal;
  }
  .page-hero.home-hero h1 .line2 {
    font-size: clamp(16px, 4.6vw, 20px);
    letter-spacing: 0.22em;
  }

  .about-hero .hero-content,
  .project-hero .hero-content {
    align-items: flex-start;
    text-align: left;
    justify-content: flex-end;
    padding: 24px 24px 36px;
  }
  .about-hero h1 { font-size: 38px; letter-spacing: 0.08em; }
  .contact-hero h1 { font-size: 34px; letter-spacing: 0.12em; white-space: nowrap; }
  .contact-hero { overflow: hidden; }
  .contact-hero .hero-content { justify-content: center; padding: 16px 24px; }
  .contact-hero .hero-lead {
    font-size: 16px;
    margin-top: 8px;
    max-width: 100%;
  }
  .project-hero h1 { font-size: 34px; letter-spacing: 0.1em; }
  .page-hero .hero-sub { font-size: 20px; letter-spacing: 0.12em; margin-top: 8px; }
  .cta-banner { height: 360px; }
  .cta-banner h2 { font-size: 22px; letter-spacing: 0.18em; padding: 0 16px; }

  /* ---- Layout stacks ---- */
  .about-grid, .services-row, .split, .stage, .stage.flip, .approach-row,
  .project-intro, .contact-cards, .book-grid, .footer-inner,
  .pair-photos {
    grid-template-columns: 1fr;
  }
  .form-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .project-grid, .folio-grid { grid-template-columns: 1fr; }
  .project-card.tall,
  .project-card.mid,
  .project-card.folio { height: auto; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid,
  .section-services,
  .band,
  .stage,
  .project-intro { padding: 40px 24px; }
  .about-grid { min-height: 0; }
  .about-visual { min-height: 0; }
  .about-visual img.ar-watermark { width: 100%; max-width: 342px; }
  .about-copy h3 { font-size: 26px; letter-spacing: 0.18em; }
  .about-copy p { font-size: 18px; }
  .section-about { min-height: 0; }
  .section-services h2 { font-size: 24px; letter-spacing: 0.18em; }
  .section-services .lede { font-size: 18px; }
  .services-row img { width: 100%; height: auto; aspect-ratio: 342/300; }
  .services-list li { font-size: 18px; letter-spacing: 0.1em; margin-bottom: 14px; }

  .section-projects h2 { font-size: 24px; letter-spacing: 0.16em; padding: 0 24px; }
  .project-grid, .folio-grid { padding: 0 13px 24px; gap: 26px; }
  .folio-heading { font-size: 22px; letter-spacing: 0.18em; padding: 32px 24px 24px; }

  .section-quote { padding: 48px 24px; min-height: 0; }
  .section-quote blockquote, .section-quote cite { font-size: 20px; }

  .ig-intro { padding: 0 24px 20px; }
  .ig-intro h2 { font-size: 26px; letter-spacing: 0.22em; }

  .split .display,
  .intro-display,
  .project-intro .display,
  .band h2,
  .band .display,
  .approach-copy .display,
  .approach-copy h2 { font-size: 28px; line-height: 1.25; }
  .split p, .prose p, .project-intro .body { font-size: 16px; }
  .band { padding: 40px 24px; }
  .stage, .stage.flip { padding: 32px 24px; gap: 24px; }
  .stage img { height: auto !important; max-height: none; aspect-ratio: 3/4; }
  .approach-row img, .pair-photos img { height: auto; aspect-ratio: 1 / 1.05; }
  .project-intro { padding: 48px 24px 40px; gap: 24px; }

  .gallery-2x2 {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: 24px 0;
  }
  .gallery-wide { height: 200px; margin-top: 24px; }

  .contact-wrap { padding: 32px 16px 56px; }
  .contact-form-card { padding: 28px 20px 28px; margin-top: 16px; }
  .contact-card { padding: 22px 24px; }

  .book-wrap { padding: 32px 24px 48px; }
  .book-card img { height: 200px; }

  .service-detail { padding: 40px 24px 64px; }
  .service-detail h1 { font-size: 32px; }

  /* ---- Footer: stacked & centred like Wix mobile ---- */
  .site-footer { padding: 48px 0 16px; }
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 32px;
    padding: 12px 24px 8px;
    min-height: 0;
  }
  .footer-brand { order: 3; }
  .footer-brand img { width: 120px; opacity: 0.75; margin: 0 auto; }
  .footer-col { width: 100%; }
  .footer-col h3 { margin-bottom: 16px; }
  .footer-col a, .footer-col p {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow-wrap: anywhere;
  }
  .socials { justify-content: center; margin-top: 16px; }
  .socials a { width: 44px; height: 44px; }
  .socials svg { width: 16px; height: 16px; }
  .copyright {
    text-align: center;
    padding: 16px 24px 28px;
  }
}

/* Narrow phones (360px) */
@media (max-width: 380px) {
  .contact-hero h1 { font-size: 28px; letter-spacing: 0.1em; }
  .page-hero h1,
  .about-hero h1,
  .services-hero h1,
  .portfolio-hero h1,
  .project-hero h1 { font-size: 30px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Tablet (around 768px): two-column grids, still a hamburger) */
@media (min-width: 700px) and (max-width: 800px) {
  .project-grid, .folio-grid { grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 24px 32px; }
  .project-card.tall, .project-card.mid, .project-card.folio { height: 260px; }
  .book-grid { grid-template-columns: 1fr 1fr; }
  .gallery-2x2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; gap: 16px; }
  .gallery-wide { height: 320px; }
  .home-hero { height: calc(100svh - 56px); min-height: 640px; }
  .home-hero .hero-slides {
    position: fixed;
    top: 0;
    height: 100svh;
    min-height: 700px;
  }
  .home-hero .hero-slides img, .home-hero img.hero-slide { top: 0; height: 100%; }
  .home-hero .hero-content { padding: 48px 32px 56px; }
  .home-hero .ar-mark { width: 110px; max-width: 110px; }
  .contact-hero h1 { font-size: 40px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { max-width: 640px; }
}

@media (max-width: 800px) {
  .services-intro {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .services-intro .display-a { order: 1; }
  .services-intro .prose { order: 2; }
  .services-intro .display-b { order: 3; font-size: 28px; margin-top: 8px; }

  .page-about-us .about-intro-prose p { text-align: center; }

  .project-hero h1 {
    font-size: 32px;
    letter-spacing: 0.06em;
    line-height: 1.15;
  }
  .project-hero .hero-sub {
    font-size: 18px;
    letter-spacing: 0.08em;
    line-height: 1.3;
  }
}

/* ---------- Lightbox ---------- */
body.lightbox-open { overflow: hidden; }
img.is-zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 26, 26, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 56px 40px;
}
.lightbox[hidden] { display: none !important; }
.lightbox-stage {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-stage img {
  max-width: min(100%, 1400px);
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox-caption {
  margin: 12px 0 0;
  color: var(--cream);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-align: center;
  font-weight: 300;
  max-width: 90vw;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: var(--cream);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
}
.lightbox-close {
  top: 12px;
  right: 12px;
  font-size: 36px;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  padding: 8px 12px;
}
.lightbox-prev { left: 4px; }
.lightbox-next { right: 4px; }
.lightbox-close:focus,
.lightbox-prev:focus,
.lightbox-next:focus { outline: 1px solid var(--cream); outline-offset: 2px; }

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.thank-you {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  text-align: center;
}
.thank-you h1 {
  font-weight: 300;
  letter-spacing: 0.16em;
  font-size: 36px;
  margin: 0 0 16px;
}
.thank-you p { font-size: 18px; line-height: 1.6; font-weight: 300; margin: 0 0 28px; }

@media (max-width: 800px) {
  .lightbox { padding: 56px 12px 24px; }
  .lightbox-prev, .lightbox-next { font-size: 28px; }
}

/* ---------- Motion (luxury, transform/opacity only) ---------- */
.has-motion .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.has-motion .reveal.is-in {
  opacity: 1;
  transform: none;
}
.has-motion .reveal-img {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}
.has-motion .reveal-img.is-in {
  opacity: 1;
  transform: scale(1);
  will-change: auto;
}
.has-motion .project-card:hover .reveal-img.is-in,
.has-motion .ig-grid a:hover .reveal-img.is-in {
  transform: scale(1.04);
  transition: transform 0.6s ease, opacity 0.8s ease;
}

/* Home hero monogram + title (+ tag and button) fade in on load */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.has-motion .home-hero .ar-mark,
.has-motion .home-hero h1,
.has-motion .home-hero .hero-tag,
.has-motion .home-hero .btn {
  opacity: 0;
  animation: hero-fade-up 0.8s ease both;
}
.has-motion .home-hero .ar-mark { animation-delay: 0.1s; }
.has-motion .home-hero h1 { animation-delay: 0.22s; }
.has-motion .home-hero .hero-tag { animation-delay: 0.38s; }
.has-motion .home-hero .btn { animation-delay: 0.52s; }
.has-motion .home-hero .hero-anim-done {
  animation: none;
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    animation-delay: 0s !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .has-motion .reveal,
  .has-motion .reveal-img,
  .has-motion .home-hero .ar-mark,
  .has-motion .home-hero h1,
  .has-motion .home-hero .hero-tag,
  .has-motion .home-hero .btn {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .nav-desktop a::after { transition: none; }
  .project-card:hover img,
  .ig-grid a:hover img { transform: none; }
  .btn:hover, .btn-light:hover { transform: none; }
}

/* ---------- Premium refinements ---------- */

/* Gold of the GET IN TOUCH button */
:root { --gold: var(--brown); }

/* Thin gold rule under section headings */
.about-grid h2::after,
.section-services h2::after,
.section-projects h2::after,
.ig-intro h2::after,
.folio-heading::after,
.approach-copy h2::after,
.band h2::after,
.project-hero h1::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-top: 14px;
}
.section-projects h2::after,
.folio-heading::after {
  margin-left: auto;
  margin-right: auto;
}
.project-hero h1::after {
  background: var(--cream);
  margin: 16px auto 0;
  width: 48px;
}

.project-hero .hero-content {
  position: relative;
  justify-content: flex-end;
  padding-bottom: 72px;
}
.project-hero .hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 16, 12, 0.48) 0%,
    rgba(20, 16, 12, 0.16) 42%,
    rgba(20, 16, 12, 0.06) 100%
  );
  z-index: -1;
  pointer-events: none;
}

.contact-card,
.contact-form-card {
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.06);
}

/* Editorial portfolio + home project tiles */
.folio-media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  flex: 0 0 auto;
}
.folio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.folio-grid .tile-wide .folio-media img { object-position: 50% 70%; }
.tile-view {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 16, 12, 0.32);
  color: var(--cream);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.project-card:hover .tile-view,
.project-card:focus-visible .tile-view,
.project-card:focus-within .tile-view {
  opacity: 1;
}
.tile-caption,
.folio-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 14px 6px 2px;
  color: var(--brown);
  background: none;
  position: static;
  opacity: 1;
  transform: none;
  pointer-events: none;
}
.tile-name,
.folio-name {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--brown);
}
.tile-place,
.folio-place {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--nav);
  opacity: 1;
}

.folio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  gap: 16px 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px 72px;
  background: var(--cream);
  justify-content: stretch;
  align-items: start;
}
.folio-grid .tile-wide { grid-column: span 4; }
.folio-grid .tile-tall { grid-column: span 2; }
.folio-grid .tile-std { grid-column: span 2; }
.folio-grid .project-card.folio {
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  color: inherit;
  box-shadow: none;
}
.folio-grid .folio-media {
  width: 100%;
  box-shadow: 0 8px 24px rgba(122, 105, 85, 0.08);
}
.folio-grid .tile-wide .folio-media { aspect-ratio: 16 / 10; }
.folio-grid .tile-tall .folio-media { aspect-ratio: 3 / 4; }
.folio-grid .tile-std .folio-media { aspect-ratio: 4 / 5; }

/* Home hero Ken Burns — animate the img only, never the fixed picture */
.has-motion .home-hero .hero-slide.is-active img,
.has-motion .home-hero .hero-slide.is-leaving img,
.has-motion .home-hero img.hero-slide.is-active,
.has-motion .home-hero img.hero-slide.is-leaving {
  animation: kenburns 20s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Gold scroll-down cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  /* Sit near the bottom of the first screen, even when the pinned hero is taller than the viewport */
  bottom: max(24px, calc(100% - (100vh - var(--header-h)) + 24px));
  z-index: 2;
  width: 28px;
  height: 40px;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.scroll-cue-mark {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  margin-bottom: 6px;
}
.has-motion .scroll-cue-mark {
  animation: scroll-cue 2.2s ease-in-out infinite;
}
@keyframes scroll-cue {
  0%, 100% { opacity: 0.55; transform: rotate(45deg) translate(-3px, -3px); }
  50% { opacity: 1; transform: rotate(45deg) translate(2px, 2px); }
}

/* Hamburger to X */
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  transition: transform 0.35s ease, opacity 0.35s ease, top 0.35s ease, background-color 0.35s ease;
}
body.menu-open .nav-toggle span { background-color: transparent; }
body.menu-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
body.menu-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Full-screen cream mobile menu */
@media (max-width: 800px) {
  .nav-toggle { z-index: 120; }
  .nav-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--cream);
    padding: 88px 32px 48px;
    z-index: 110;
    border: 0;
    box-shadow: none;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
  }
  body.menu-open .nav-mobile {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-mobile a {
    display: block;
    width: 100%;
    max-width: 22em;
    text-align: center;
    padding: 14px 8px;
    min-height: 0;
    font-size: clamp(28px, 8vw, 42px);
    font-weight: 300;
    letter-spacing: 0.18em;
    line-height: 1.2;
    color: var(--brown);
    border-bottom: 0;
  }
  .nav-mobile a[aria-current="page"] {
    color: var(--ink);
  }
  .has-motion body.menu-open .nav-mobile a {
    opacity: 0;
    transform: translateY(16px);
    animation: menu-link-in 0.55s ease forwards;
  }
  .has-motion body.menu-open .nav-mobile a:nth-child(1) { animation-delay: 0.08s; }
  .has-motion body.menu-open .nav-mobile a:nth-child(2) { animation-delay: 0.16s; }
  .has-motion body.menu-open .nav-mobile a:nth-child(3) { animation-delay: 0.24s; }
  .has-motion body.menu-open .nav-mobile a:nth-child(4) { animation-delay: 0.32s; }
  .has-motion body.menu-open .nav-mobile a:nth-child(5) { animation-delay: 0.40s; }
}
@keyframes menu-link-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) and (min-width: 801px) {
  .folio-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 10px 24px 56px;
    gap: 20px 16px;
  }
  .folio-grid .tile-wide,
  .folio-grid .tile-std,
  .folio-grid .tile-tall { grid-column: span 1; }
  .folio-grid .tile-wide { grid-column: span 2; }
  .folio-grid .tile-wide .folio-media { aspect-ratio: 16 / 9; }
  .folio-grid .tile-tall .folio-media,
  .folio-grid .tile-std .folio-media { aspect-ratio: 4 / 3; }
  .project-grid .folio-media,
  .project-grid .project-card.mid .folio-media { height: auto; aspect-ratio: 4 / 3; }
}

@media (max-width: 800px) {
  .folio-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 24px 48px;
  }
  .folio-grid .tile-wide,
  .folio-grid .tile-std,
  .folio-grid .tile-tall { grid-column: auto; }
  .folio-grid .tile-wide .folio-media,
  .folio-grid .tile-tall .folio-media,
  .folio-grid .tile-std .folio-media { aspect-ratio: 4 / 3; }
  .project-grid .folio-media,
  .project-grid .project-card.mid .folio-media {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .tile-name, .folio-name { font-size: 14px; letter-spacing: 0.16em; }
  .tile-place, .folio-place { font-size: 11px; letter-spacing: 0.14em; }
  .project-hero .hero-content { padding-bottom: 48px; }
  .project-hero h1::after { margin: 16px 0 0; }
  .scroll-cue { bottom: 20px; top: auto; }
  /* Wordmark + toggle sit above the cream overlay (which lives inside the header) */
  .site-header { z-index: 120; }
  .header-inner { z-index: 121; }
}

/* Smooth page transitions */
@view-transition {
  navigation: auto;
}
@keyframes vt-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } to { opacity: 1; } }
::view-transition-old(root) { animation: 0.32s ease-out both vt-fade-out; }
::view-transition-new(root) { animation: 0.42s ease-in both vt-fade-in; }
@keyframes page-enter { from { opacity: 0; } to { opacity: 1; } }
@supports not (view-transition-name: root) {
  .has-motion body { animation: page-enter 0.45s ease both; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero .hero-slide { transition: none !important; opacity: 0 !important; }
  .home-hero .hero-slide.is-active { opacity: 1 !important; }
  @view-transition { navigation: none; }
  .has-motion .home-hero .hero-slide img,
  .has-motion .home-hero img.hero-slide,
  .has-motion .scroll-cue-mark,
  .has-motion body.menu-open .nav-mobile a,
  .has-motion body {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after,
  .nav-mobile,
  .folio-grid .folio-caption {
    transition: none !important;
  }
  body.menu-open .nav-toggle span::before,
  body.menu-open .nav-toggle span::after { transform: none; }
  body.menu-open .nav-toggle span::before { transform: rotate(45deg); }
  body.menu-open .nav-toggle span::after { transform: rotate(-45deg); }
}


/* ---------- v6 upgrades ---------- */
/* Deep footer taupe derived from brand bronze #7A6955.
   Cream #FDFCFB on #3F372E is ~11.4:1 (WCAG AA/AAA for body text). */
:root { --footer-bg: #3f372e; }

/* Header shrinks after ~80px scroll. --header-h stays at the at-rest
   height so the home hero fixed-pin math does not jump or leave a gap. */
body.header-compact .site-header {
  height: 84px;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
}
body.header-compact .header-inner { height: 84px; }
body.header-compact .logo,
body.header-compact .logo img {
  width: 297px;
  height: 82px;
}

/* New footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--cream);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  gap: 40px 48px;
  padding: 8px 67px 40px;
  align-items: start;
  min-height: 0;
}
.footer-brand { margin: 0; }
.footer-brand a { display: inline-block; }
.footer-brand img,
.footer-brand .footer-mark,
.footer-mark {
  width: 148px;
  max-width: 100%;
  height: auto;
  opacity: 0.92;
}
/* Footer items are observed for reveal, but the IO rootMargin hides the
   copyright at the bottom of the viewport, so keep them visible. */
.site-footer .reveal,
.site-footer .reveal-img {
  opacity: 1 !important;
  transform: none !important;
}
.footer-col h3 {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 8px 0 20px;
  color: var(--cream);
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 16px;
  font-weight: 300;
  margin: 0 0 12px;
  line-height: 1.45;
  color: var(--cream);
}
.footer-col a:hover,
.back-to-top:hover { color: var(--sand); }
.footer-ig { letter-spacing: 0.08em; }
.footer-nav a {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 14px;
}
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(253, 252, 251, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.socials a:hover { background: rgba(253, 252, 251, 0.18); }
.socials svg { width: 14px; height: 14px; fill: var(--cream); }
.footer-base {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 67px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(253, 252, 251, 0.14);
}
.copyright {
  max-width: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--cream);
  opacity: 0.8;
}
.back-to-top {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}

/* Next project banner */
.next-project {
  position: relative;
  display: block;
  height: 56vh;
  min-height: 380px;
  max-height: 640px;
  overflow: hidden;
  color: var(--cream);
  background: var(--footer-bg);
}
.next-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.has-motion .next-project:hover img,
.has-motion .next-project:focus-visible img { transform: scale(1.04); }
.next-project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(
    to bottom,
    rgba(20, 16, 12, 0.18) 0%,
    rgba(20, 16, 12, 0.42) 100%
  );
  padding: 32px 24px;
}
.next-project-label {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 300;
}
.next-project-name {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 300;
  line-height: 1.15;
}
.next-project-place {
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 12px;
  font-weight: 300;
}

/* Project galleries: brochure slide-up as they enter view */
.has-motion .gallery-2x2 img.reveal-img,
.has-motion .gallery-wide img.reveal-img {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.has-motion .gallery-2x2 img.reveal-img.is-in,
.has-motion .gallery-wide img.reveal-img.is-in {
  opacity: 1;
  transform: none;
}

/* About intro: portrait placeholder + existing copy + signature */
.about-intro { padding: 72px 48px 80px; }
.about-intro-lead {
  max-width: 920px;
  margin: 0 auto 56px;
  text-align: center;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  gap: 64px 72px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-portrait {
  margin: 0;
  background: var(--cream);
  border: 1px solid var(--sand);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(122, 105, 85, 0.08);
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
p.about-signature,
.about-signature {
  font-family: "Great Vibes", cursive;
  font-size: 56px;
  color: var(--brown);
  margin: 28px 0 0;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  body.header-compact .site-header,
  body.header-compact .header-inner { height: 72px; }
  body.header-compact .logo,
  body.header-compact .logo img { width: 236px; height: 65px; }
  .footer-inner,
  .footer-base { padding-left: 32px; padding-right: 32px; }
  .about-intro { padding: 56px 32px 64px; }
  .about-intro-grid { gap: 40px; }
}

@media (max-width: 800px) {
  body.header-compact .site-header,
  body.header-compact .header-inner {
    height: 48px;
    min-height: 48px;
  }
  body.header-compact .logo,
  body.header-compact .logo picture,
  body.header-compact .logo img {
    height: 24px;
    width: auto;
    max-width: 200px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 36px;
    padding: 8px 24px 32px;
  }
  .footer-brand { order: 0; }
  .footer-brand img,
  .footer-mark { width: 120px; max-width: 100%; opacity: 0.92; margin: 0 auto; height: auto; }
  .footer-col a,
  .footer-col p {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow-wrap: anywhere;
  }
  .footer-col h3 { margin-bottom: 12px; }
  .socials { justify-content: center; }
  .socials a { width: 44px; height: 44px; }
  .socials svg { width: 16px; height: 16px; }
  .footer-base {
    flex-direction: column;
    text-align: center;
    padding: 20px 24px 28px;
  }
  .back-to-top { min-height: 44px; display: inline-flex; align-items: center; }
  .next-project { height: 70svh; min-height: 360px; max-height: 560px; }
  .next-project-name { letter-spacing: 0.1em; }
  .about-intro { padding: 48px 24px 56px; }
  .about-intro-lead { margin-bottom: 36px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-portrait { max-width: 320px; width: 100%; margin: 0 auto; }
  p.about-signature,
  .about-signature { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .header-inner,
  .logo,
  .logo img,
  .next-project img {
    transition: none;
  }
}
