
/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; background: #141518; color: #fff; overflow-x: hidden; width: 100%; max-width: 100%; -webkit-font-smoothing: antialiased; transition: background-color 0.5s, color 0.5s; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
::selection { background: rgba(255,255,255,0.2); }

/* ===== CSS VARIABLES ===== */
:root {
  --black: #000000;
  --white: #ffffff;
  --off-white: #f5f5f0;
  --cream: #e5e6e8;
  --gray-100: #1a1a1a;
  --gray-200: #2a2a2a;
  --gray-300: #3a3a3a;
  --gray-400: #9a9ca1;
  --gray-500: #b4b6bb;
  --gold: #b9bcc0;
  --gold-light: #d3d5d8;
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

body.day-mode::-webkit-scrollbar-track { background: #f9f9f7; }
body.day-mode::-webkit-scrollbar-thumb { background: #c7c9cc; }
body.day-mode::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===== LOADER ===== */
.loader {
  position: fixed; inset: 0; background: #dddcd6; z-index: 10000;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  width: min(16.2rem, 78vw);
  line-height: 0;
  opacity: 0; animation: fadeUp 1s 0.3s forwards;
}
.loader-logo img {
  display: block; width: 100%; height: auto;
}
.loader-line {
  margin-top: 1.75rem;
  max-width: 92vw;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-align: center;
  color: #5a5c60;
}
.loader-word {
  opacity: 0;
  transition: opacity 0.25s linear;
}
@media (prefers-reduced-motion: reduce) {
  .loader-word { opacity: 1; transition: none; }
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.5rem 3rem; display: flex; align-items: center; justify-content: space-between;
  background: rgba(20,21,24,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}
.nav.scrolled {
  padding: 1rem 3rem;
}
body.day-mode .nav {
  background: rgba(249,249,247,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
body.day-mode .nav .nav-logo {
  color: var(--black);
}
body.day-mode .nav .nav-links a {
  color: rgba(0,0,0,0.7);
}
body.day-mode .nav .nav-toggle-mode {
  color: var(--black);
}

body.day-mode .nav-toggle-mode:hover {
  color: var(--gold);
}
.nav-logo {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 300;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--white);
  line-height: 1.2; flex-shrink: 0; margin-right: 2.5rem; white-space: nowrap;
}
.nav-logo span { color: var(--gold); }
.nav-logo-sub {
  display: block; font-family: var(--sans); font-size: 0.45rem;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold);
  font-weight: 500; margin-top: 2px;
}
.nav-links { display: flex; gap: 2.4rem; align-items: center; flex-wrap: nowrap; }
@media (max-width: 1180px) {
  .nav { padding-left: 1.5rem; padding-right: 1.5rem; }
  .nav-logo { margin-right: 1.25rem; }
  .nav-links { gap: 1.7rem; }
}
.nav-links a {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 0.7rem 1.8rem;
  background: var(--gold); color: var(--black);
  border-radius: 4px; transition: var(--transition);
}
.nav-cta:hover { background: #9da0a4; }
.nav-cta::after { display: none !important; }
.nav-toggle-mode {
  font-size: 1.2rem; cursor: pointer; color: var(--white);
  transition: var(--transition); margin-right: 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.nav-toggle {
  display: none; flex-direction: column; gap: 6px; cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--white); border-radius: 1px;
  transition: var(--transition);
}
.mobile-menu {
  display: none; flex-direction: column; gap: 1rem; position: fixed; top: 80px;
  left: 0; right: 0; background: rgba(0,0,0,0.98); padding: 2rem 3rem;
  z-index: 999;
}
.mobile-menu.active { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative; height: 100vh; width: 100vw; max-width: 100vw;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #141518;
}
.hero-slider {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0;
  overflow: hidden; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  max-width: none; min-width: 100%; min-height: 100%;
  object-fit: cover; object-position: center;
  animation: heroZoom 12s ease forwards;
}
.hero-overlay {
  position: absolute; inset: 0; background: linear-gradient(rgba(10,11,13,0.45), rgba(10,11,13,0.55));
}
.hero-content {
  position: relative; z-index: 10; text-align: center; max-width: 800px; padding: 2rem;
}
.hero-eyebrow {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: var(--serif); font-size: 4rem; font-weight: 300;
  line-height: 1.2; margin-bottom: 1.5rem; color: var(--white);
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-subtitle {
  font-size: 1rem; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem; opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-actions {
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}
.btn-primary, .btn-outline {
  padding: 1rem 2.5rem; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: none; border-radius: 4px;
  transition: var(--transition);
}
.btn-primary {
  background: var(--gold); color: var(--black);
}
.btn-primary:hover { background: #9da0a4; }
.btn-outline {
  background: transparent; color: var(--gold); border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--black); }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  text-align: center; z-index: 10;
}
.hero-scroll span {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); display: block; margin-bottom: 0.5rem;
}
.hero-scroll-line {
  width: 1px; height: 40px; background: rgba(255,255,255,0.3);
  margin: 0 auto; position: relative;
  animation: scrollLine 2s ease-in-out infinite;
}

/* ===== PARTNERS MARQUEE ===== */
.partners {
  background: var(--black); border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300); padding: 1.5rem 0; overflow: hidden;
}
.partners-track {
  display: flex; align-items: center; gap: 1.5rem; animation: marquee 30s linear infinite;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray-500); white-space: nowrap;
}
.partners-track span { color: var(--white); }
.dot {
  width: 3px; height: 3px; background: var(--gold); border-radius: 50%;
}

/* ===== SECTION STRUCTURE ===== */
.section {
  padding: 8rem 3rem; position: relative;
}
.section-dark { background: #141518; }
.section-gray { background: #1c1d21; }
.section-light { background: var(--off-white); color: var(--black); }
.section-light a { color: var(--gold); }
.spec-pill { font-size:0.68rem; letter-spacing:0.08em; text-transform:uppercase; color:rgba(255,255,255,0.75); border:1px solid #3a3c42; border-radius:99px; padding:0.4rem 0.9rem; }
.cap-carousel {
  --cap-gap: 1.25rem;
  position: relative;
  max-width: 760px;
  margin: 0 auto 2.75rem;
  padding: 0;
}
.cap-carousel-viewport {
  overflow: hidden;
  padding: 0.35rem 0 0.55rem;
}
.cap-carousel-track {
  display: flex;
  align-items: stretch;
  gap: var(--cap-gap);
  will-change: transform;
}
.cap-card {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #f5f5f0;
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 22px;
  padding: 2rem 1.85rem 1.8rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  min-height: 22rem;
  cursor: pointer;
}
.cap-card .cap-eye {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6e7175;
  margin-bottom: 0.35rem;
}
.cap-card h3 {
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 300;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0.15rem 0 1rem;
}
.cap-card p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: #4a4c50;
  margin: 0 0 1.15rem;
}
.cap-card .cap-spec {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.85;
  color: #4a4c50;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.95rem;
  margin-top: auto;
}
.cap-card .cap-spec strong {
  color: #1a1a1a;
  font-weight: 500;
}
.cap-card .cap-vs {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: #1a1a1a;
  margin-top: 0.85rem;
}
@media (max-width: 900px) {
  .cap-card { min-height: 0; padding: 1.6rem 1.4rem 1.5rem; border-radius: 18px; }
  .cap-card h3 { font-size: 1.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cap-carousel-track { transition: none; }
}
.fld-lbl { display:block; font-size:0.6rem; letter-spacing:0.12em; text-transform:uppercase; color:#8a8a8a; margin-bottom:0.35rem; font-weight:600; }
.fld { width:100%; box-sizing:border-box; padding:0.7rem 0.85rem; border:1px solid #d3d4d6; border-radius:6px; font-family:inherit; font-size:0.9rem; background:#fafafa; color:#1a1a1a; }
.fld:focus { outline:none; border-color:var(--gold); background:#fff; }
.chk { display:flex; align-items:center; gap:0.4rem; font-size:0.82rem; color:#444; cursor:pointer; }
.section-light .filter-btn { border-color: #d3d4d6; color: #666; background: #fff; }
.section-light .filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.section-light .filter-btn.active { border-color: var(--gold); background: var(--gold); color: var(--black); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-eyebrow {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif); font-size: 2.8rem; font-weight: 300;
  line-height: 1.3; margin-bottom: 1.5rem;
}
.product-count {
  font-size: 0.75rem; color: var(--gray-500); margin-top: 0.5rem;
  font-weight: 400;
}
.section-desc {
  font-size: 0.95rem; font-weight: 300; line-height: 1.8;
  color: var(--gray-500); margin-bottom: 0;
}
.section-light .section-desc { color: var(--gray-400); }
#knowledge.section { padding: 6rem 2rem 8rem; }
#knowledge .catalog-filters { margin-bottom: 3rem; }

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 1400px; margin: 0 auto;
}
.category-card {
  position: relative; height: 70vh; min-height: 500px; max-height: 750px; border-radius: 6px;
  overflow: hidden; cursor: pointer;
}
.category-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}
.category-card:hover img { transform: scale(1.06); }
.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,13,15,0.6) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.05) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.5rem; transition: background 0.4s ease;
}
.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(12,13,15,0.62) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.1) 100%);
}
.category-card-label {
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem;
}
.category-card-title {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 300;
  margin-bottom: 0.5rem; color: var(--white); line-height: 1.2;
}
.category-card-count {
  font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 1rem; line-height: 1.5;
}
.category-card-arrow {
  font-size: 1.5rem; color: var(--gold);
  transition: transform 0.3s ease;
}
.category-card:hover .category-card-arrow {
  transform: translate(8px, -8px);
}

/* ===== PRODUCT CATALOG ===== */
.catalog-filters {
  display: flex; gap: 1rem; justify-content: center; margin-bottom: 2rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.75rem 2rem; font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  background: transparent; border: 1px solid var(--gray-300);
  color: var(--gray-500); border-radius: 4px;
  transition: var(--transition); cursor: pointer;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
  border-color: var(--gold); background: var(--gold); color: var(--black);
}
.catalog-sub-filters {
  display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 2rem;
  flex-wrap: wrap; align-items: flex-end;
  padding: 1.5rem 2rem; background: var(--gray-100); border-radius: 8px;
  border: 1px solid var(--gray-300); max-width: 1400px; margin-left: auto; margin-right: auto;
}
.sub-filter-group {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.sub-filter-group label {
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
}
.sub-filter-group select {
  padding: 0.6rem 0.9rem; background: var(--gray-200);
  border: 1px solid var(--gray-300); color: var(--white);
  font-size: 0.8rem; border-radius: 4px; cursor: pointer;
  font-family: var(--sans); transition: var(--transition);
  min-width: 150px;
}
.sub-filter-group select:hover {
  border-color: var(--gold);
}
.sub-filter-group select:focus {
  outline: none;
  border-color: var(--gold);
}
/* Color swatches row inside filter bar */
.color-filter-inline {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.color-filter-inline .color-swatch {
  width: 26px; height: 26px;
}
.color-filter-inline .color-label-inline {
  font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-500); white-space: nowrap;
}
/* Sort / results bar */
.catalog-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1400px; margin: 0 auto 1.5rem; padding: 0 0.5rem;
}
.catalog-toolbar .result-count {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gray-500);
}
.catalog-toolbar select {
  padding: 0.5rem 0.8rem; background: var(--gray-100);
  border: 1px solid var(--gray-300); color: var(--white);
  font-size: 0.8rem; border-radius: 4px; cursor: pointer;
  font-family: var(--sans); transition: var(--transition);
}
.catalog-toolbar select:hover { border-color: var(--gold); }
.catalog-toolbar select:focus { outline: none; border-color: var(--gold); }

/* ===== LOOKBOOKS ===== */
.lb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 1.15rem;
  max-width: 1400px;
  margin: 0 auto;
}
.lb-card {
  display: block;
  background: transparent; border: 0; border-radius: 0;
  overflow: visible; text-align: left;
  transition: transform 0.28s ease, opacity 0.2s ease;
  position: relative; padding: 0;
  text-decoration: none; color: inherit;
  transform-origin: center center;
}
.lb-card[hidden] { display: none !important; }
.lb-card:hover { opacity: 1; transform: scale(1.035); border-color: transparent; z-index: 2; }
.lb-cover-wrap {
  position: relative; aspect-ratio: 8.5 / 11; background: #e8e8e4; overflow: hidden;
  border-radius: 12px;
}
.lb-cover {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.lb-meta {
  position: absolute;
  left: 0; right: 0; top: 0;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: nowrap;
  padding: 0.48rem 0.7rem 0.5rem;
  background: rgba(249, 249, 247, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  pointer-events: none;
}
.lb-month {
  font-family: var(--fh-nav-font, Inter, Helvetica, sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}
.lb-year {
  font-family: var(--fh-nav-font, Inter, Helvetica, sans-serif);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a6d72;
  margin: 0;
  font-weight: 500;
  white-space: nowrap;
}
.lb-cta { display: none; }
html.fh-house-light .lb-card,
body.day-mode .lb-card {
  background: transparent; border: 0;
}
html.fh-house-light .lb-month,
body.day-mode .lb-month { color: #111; }
html.fh-house-light .lb-year,
body.day-mode .lb-year { color: #6a6d72; }
.lb-latest {
  position: absolute; top: 0.5rem; left: 0.5rem; z-index: 1;
  font-size: 0.5rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #141518; background: var(--gold); padding: 0.18rem 0.4rem; border-radius: 3px; font-weight: 700;
}
.lb-folder {
  text-align: center; margin-top: 2rem;
}
.lb-folder a { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.04em; }
.lb-shell { position: relative; }
body.lb-mode-collage { overflow: hidden; background: #fff; height: 100dvh; }
html:has(body.lb-mode-collage) { overflow: hidden; height: 100dvh; background: #fff; }
/* House-light injects #f9f9f7 on html and body.site-page. These beat that
   so Lookbooks (collage and archive) stays white without painting other pages. */
html.fh-house-light:has(body.lb-mode-collage),
html.fh-house-light:has(body.lb-mode-archive),
html.fh-house-light body.site-page.lb-mode-collage,
html.fh-house-light body.site-page.lb-mode-archive {
  background: #fff;
}
body.lb-mode-collage #siteFooter,
body.lb-mode-collage footer.footer { display: none !important; }
/* Collage bleeds under the fixed nav — no spacer gap below the header. */
body.lb-mode-collage .exp-nav-slot { display: none !important; height: 0 !important; }
.lb-hero {
  --lb-wall-top: 4.15rem;
  /* Plate border sits this far above its content anchor, past the wall top. */
  --lb-plate-bleed: 0.85rem;
  position: relative;
  height: 100dvh;
  min-height: 420px;
  margin-top: 0;
  overflow: hidden;
  background: #fff;
}
/* Cover wall: simple CSS grid of monthly covers (replaces salon collage slots). */
.lb-cover-shell {
  position: absolute;
  inset: 0;
}
.lb-cover-wall {
  /* Short step. 2.8rem left too much air above columns 2 and 3. */
  --lb-stagger: 1.15rem;
  /* Fallback until paintCoverWall measures the title plate. */
  --lb-col1-offset: 13rem;
  /* Air between the title plate and the first photo in column 1. */
  --lb-col1-gap: 1rem;
  /* Diagonal shrink of each cover (width + height together). Keep in sync with
     COVER_TILE_SCALE in lookbooks.html. */
  --lb-tile-scale: 0.84;
  position: absolute;
  z-index: 1;
  inset: var(--lb-wall-top) 3.5% 6%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: auto;
  column-gap: 0.65rem;
  background: #fff;
  overflow: hidden;
  align-content: start;
  align-items: start;
  padding-bottom: 0.4rem;
}
.lb-cover-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  min-height: 0;
}
/* Cols 2, 3, and 5 share this short step. Cols 4 and 6 stay flush. */
.lb-cover-col.is-stagger {
  padding-top: var(--lb-stagger);
}
/* Col 1 starts just below the title plate, with a little air under the container. */
.lb-cover-col.is-under-plate {
  padding-top: calc(var(--lb-col1-offset) + var(--lb-col1-gap));
}
.lb-cover-wall-empty {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a6d72;
}
.lb-cover-tile {
  position: relative;
  display: block;
  /* Uniform shrink vs full column — aspect-ratio keeps the diagonal resize. */
  width: calc(100% * var(--lb-tile-scale, 1));
  height: auto;
  flex: 0 0 auto;
  align-self: center;
  min-width: 0;
  /* Vertical rectangle: height is 1.5× the width. */
  aspect-ratio: 2 / 3;
  overflow: clip;
  background: #f3f3f1;
  text-decoration: none;
  color: inherit;
  opacity: 1;
}
.lb-cover-tile.is-shown .lb-cover-tile-img {
  opacity: 1;
}
.lb-cover-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease;
}
/* Vertical 2:3 tile shows the whole portrait, so the FOUNDATION wordmark
   is in frame unless we scale and clip it. The tile stays 2:3; overflow
   clips the scaled photo, so the picture still fills the rectangle.
   is-crop-top: Feb 2025 onward — wordmark top can sit near ~79% of the page;
   scale 1.34 keeps that band (and the line under it) out of the tile.
   is-crop-mid: through Jan 2025, wordmark in the top ~8% plus a white footer. */
.lb-cover-tile.is-crop-top .lb-cover-tile-img {
  object-position: 50% 0%;
  transform: scale(1.34);
  transform-origin: 50% 0%;
}
.lb-cover-tile.is-crop-mid .lb-cover-tile-img {
  object-position: 50% 50%;
  transform: scale(1.4);
  transform-origin: 50% 50%;
}
/* Bottom peeks: wall clips the lower tile edge. Keep the visible strip on the
   upper art band so the FOUNDATION wordmark cannot sit in the clipped peek. */
.lb-cover-tile.is-bottom-peek.is-crop-top .lb-cover-tile-img {
  object-position: 50% 0%;
  transform: scale(1.42);
  transform-origin: 50% 0%;
}
.lb-cover-tile.is-bottom-peek.is-crop-mid .lb-cover-tile-img {
  object-position: 50% 35%;
  transform: scale(1.48);
  transform-origin: 50% 35%;
}
.lb-cover-tile.is-failed {
  background: #f3f3f1;
  pointer-events: none;
}
.lb-cover-tile.is-failed .lb-cover-tile-img { display: none; }
.lb-hero-center {
  position: absolute;
  top: 4.4rem;
  left: 1rem;
  right: auto;
  bottom: auto;
  z-index: 8;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
  text-align: left;
  padding: 0;
  margin: 0;
  width: max-content;
  max-width: calc(100% - 2rem);
  background: none;
}
/* Column 1 starts under the plate. The wall still begins above this anchor, so
   a later column can cross the plate and show a strip along the top edge.
   Pull the border box up past the wall; keep the type where it was. */
.lb-hero-plate {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  width: max-content;
  max-width: 100%;
  margin: calc(-1 * var(--lb-plate-bleed)) 0 0;
  padding: calc(0.9rem + var(--lb-plate-bleed)) 1rem 1rem;
  background-color: #efece6;
  background-clip: border-box;
  border-radius: 0;
  border: 1px solid #2a2a28;
  box-shadow: none;
  pointer-events: none;
  isolation: isolate;
}
/* Page-colored cap above the hairline, a little wider than the plate, so a
   cover that kisses the top corner cannot show past the border. */
.lb-hero-plate::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: -0.65rem;
  right: -0.65rem;
  bottom: 100%;
  height: 0.85rem;
  background: #fff;
  pointer-events: none;
}
.lb-hero-title {
  font-family: var(--sans);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #2a2a28;
  line-height: 1.65;
  margin: 0;
  width: auto;
  max-width: 100%;
  text-align: left;
  text-shadow: none;
}
.lb-hero-title span { display: block; }
.lb-archive-cta {
  pointer-events: auto;
  margin-top: 0.15rem;
  padding: 0.85rem 1.35rem;
  font-size: 0.72rem;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f5f4f0;
  background: #2a2a28;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.35s ease, letter-spacing 0.35s ease;
}
.lb-archive-cta:hover {
  background: #141412;
  transform: none;
  box-shadow: none;
  letter-spacing: 0.2em;
}
.lb-archive-cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
/* Public /lookbooks: gallery only. The cover-wall splash stays in the file, hidden. */
body.lb-mode-archive .lb-hero,
body.lb-mode-archive .lb-hero-center,
body.lb-mode-archive .lb-hero-title,
body.lb-mode-archive .lb-archive-cta {
  display: none !important;
}
.lb-page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Archive: no exp-nav-slot spacer (same as collage) — only clear the fixed nav. */
body.lb-mode-archive .exp-nav-slot { display: none !important; height: 0 !important; }
.lb-archive {
  margin-top: 0;
  padding: 3.15rem 0 2rem;
  min-height: 100dvh;
}
.lb-chrome {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 0.75rem;
  flex-wrap: nowrap;
  padding: 0.35rem 0.85rem 0.55rem;
  box-sizing: border-box;
}
body.lb-mode-archive .lb-chrome .filter-btn {
  padding: 0.58rem 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
.lb-year-filter {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
}
.lb-year-toggle {
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 600;
}
.lb-year-toggle.is-open {
  border-color: #111;
  color: #111;
}
.lb-year-filters {
  display: flex;
  gap: 0.45rem;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.35rem 0.55rem;
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}
.lb-year-filters[hidden] {
  display: none !important;
}
.lb-archive .filter-btn { padding: 0.58rem 1.2rem; }
.lb-back-collage { display: none !important; }
.lb-collage { display: none !important; }
.lb-grid.is-sorted {
  --lb-visible-rows: 2;
  --lb-archive-top: 3.15rem;
  --lb-chrome-block: 3.85rem;
  --lb-grid-pad-top: 0.1rem;
  --lb-row-gap: 0.75rem;
  max-width: none;
  width: 100%;
  padding: var(--lb-grid-pad-top) 0.65rem 1.75rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--lb-row-gap) 0.65rem;
  box-sizing: border-box;
}
body.lb-mode-archive .lb-grid.is-sorted .lb-cover-wrap {
  aspect-ratio: auto;
  height: calc(
    (100dvh
      - var(--lb-archive-top)
      - var(--lb-chrome-block)
      - var(--lb-grid-pad-top)
      - (var(--lb-row-gap) * (var(--lb-visible-rows) - 1))
      - 0.2rem)
    / var(--lb-visible-rows)
  );
  min-height: 0;
}
@media (max-width: 1100px) {
  .lb-grid.is-sorted {
    --lb-visible-rows: 3;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .lb-grid.is-sorted {
    --lb-visible-rows: 3;
    --lb-chrome-block: 3.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 0.55rem;
    --lb-row-gap: 0.7rem;
  }
}
@media (max-width: 980px) {
  .lb-hero { height: 100dvh; margin-top: 0; --lb-wall-top: 4.2rem; }
  .lb-cover-wall {
    --lb-stagger: 0.9rem;
    --lb-col1-gap: 0.75rem;
    inset: var(--lb-wall-top) 2.4% 5%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 0.5rem;
  }
  .lb-cover-col { gap: 0.45rem; }
}
@media (max-width: 640px) {
  .lb-chrome { padding: 0.12rem 0.65rem 0.18rem; }
  .lb-archive { margin-top: 0; padding-top: 3rem; }
  .lb-hero { --lb-wall-top: 4rem; }
  .lb-hero-center { top: 4.15rem; left: 0.7rem; padding: 0; }
  .lb-hero-title { letter-spacing: 0.14em; font-size: 1.15rem; }
  .lb-archive-cta { padding: 0.72rem 1.05rem; font-size: 0.66rem; letter-spacing: 0.14em; }
  /* Wall inset is left of the plate. Bring the hairline to the hero edge. */
  .lb-hero-plate {
    margin-left: -0.7rem;
    padding-left: calc(1rem + 0.7rem);
  }
  .lb-cover-wall {
    --lb-stagger: 0.7rem;
    --lb-col1-gap: 0.65rem;
    inset: var(--lb-wall-top) 1.2% 4%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 0.4rem;
  }
  .lb-cover-col { gap: 0.35rem; }
}
/* Phone: year chips scroll instead of clipping off the archive bar. Laptop stays one row. */
@media (max-width: 900px) {
  .lb-year-filter { min-width: 0; }
  .lb-year-filters {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }
  .lb-year-filters::-webkit-scrollbar { display: none; }
  .lb-year-filters .filter-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lb-cover-tile,
  .lb-cover-tile-img {
    transition: none;
  }
  .lb-cover-shell.is-ready .lb-cover-tile.is-shown {
    opacity: 1;
  }
}
body.day-mode .lb-card {
  background: transparent; border-color: transparent;
}
body.day-mode .lb-month { color: #111; }
body.day-mode .lb-cta { display: none; }

/* Active filter pills */
.active-filters {
  display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center;
  min-height: 0;
}
.active-filter-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.8rem; background: rgba(185,188,192,0.15);
  border: 1px solid rgba(185,188,192,0.3); border-radius: 20px;
  font-size: 0.7rem; color: var(--gold); cursor: pointer;
  transition: var(--transition);
}
.active-filter-pill:hover {
  background: rgba(185,188,192,0.25); border-color: var(--gold);
}
.active-filter-pill .pill-x {
  font-size: 0.85rem; line-height: 1; opacity: 0.7;
}
.active-filter-pill .pill-x:hover { opacity: 1; }
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem; max-width: 1400px; margin: 0 auto;
}
.product-card {
  background: var(--gray-100); border: 1px solid var(--gray-300);
  border-radius: 6px; overflow: hidden; cursor: pointer;
  transition: all 0.4s ease; group;
  content-visibility: auto; contain-intrinsic-size: 0 380px;
  color: inherit; display: block;
}
.product-card:hover { border-color: var(--gold); }
.product-card-img {
  position: relative; height: 320px; overflow: hidden;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-badge {
  position: absolute; top: 1rem; left: 1rem; background: var(--gold);
  color: var(--black); padding: 0.4rem 0.8rem; font-size: 0.65rem;
  font-weight: 600; letter-spacing: 0.1em; border-radius: 2px;
}
.product-card-quick {
  position: absolute; inset: 0; background: rgba(12,13,15,0.62); display: flex;
  flex-direction: column; gap: 0.8rem; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s ease;
}
.product-card:hover .product-card-quick { opacity: 1; }
.product-card-quick button {
  padding: 0.7rem 1.5rem; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 2px; transition: var(--transition);
}
.product-card-quick .primary-btn {
  background: var(--gold); color: var(--black);
}
.product-card-quick .primary-btn:hover { background: var(--gold-light); }
.product-card-quick button:last-child {
  background: transparent; border: 1px solid var(--gold); color: var(--gold);
}
.product-card-quick button:last-child:hover {
  background: var(--gold); color: var(--black);
}
.product-card-info { padding: 1.5rem; }
.product-card-supplier {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem;
}
.product-card-name {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 400;
  margin-bottom: 0.5rem; line-height: 1.4;
}
.product-card-meta {
  font-size: 0.75rem; color: var(--gray-500); line-height: 1.5;
}

.product-img-count {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.img-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.img-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.img-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}
.img-lightbox .lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  padding: 0;
  border: none;
}
.img-lightbox .lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
}
.img-lightbox .lightbox-prev { left: 2rem; }
.img-lightbox .lightbox-next { right: 2rem; }
.img-lightbox .lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.img-lightbox .lightbox-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.product-modal-img { cursor: zoom-in; }

/* ===== SPLIT SECTION ===== */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; max-width: 1400px; margin: 0 auto;
}
.split-image { height: 500px; }
.split-image img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 4px;
}
.split-content p {
  font-size: 0.95rem; font-weight: 300; line-height: 1.8;
  margin-bottom: 1.5rem; color: var(--gray-500);
}
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin: 2rem 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 300;
  color: var(--gold); margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray-500);
}

/* ===== PORTFOLIO ===== */
.pj-hero {
  position: relative;
  height: calc(100dvh - 4.5rem);
  min-height: 440px;
  margin-top: 4.5rem;
  overflow: hidden;
  background: #fff;
}
/* House nav already inserts .exp-nav-slot — don't also push the hero down. */
body.site-page .pj-hero {
  margin-top: 0;
  height: calc(100dvh - 4.5rem);
}
/* Collage: match lookbook — hide the slot spacer and fill the viewport under the fixed nav. */
body.pj-mode-collage { overflow: hidden; background: #fff; }
html:has(body.pj-mode-collage) { background: #fff; }
html.fh-house-light:has(body.pj-mode-collage),
html.fh-house-light body.site-page.pj-mode-collage {
  background: #fff;
}
body.pj-mode-collage .exp-nav-slot { display: none !important; height: 0 !important; }
body.pj-mode-collage .pj-hero {
  margin-top: 0;
  height: 100dvh;
  min-height: 100dvh;
}
body.pj-mode-collage #siteFooter,
body.pj-mode-collage footer.footer { display: none !important; }

/* Projects collage only: slightly tighter house nav so it doesn't read oversized.
   Never while a project detail is open — that bar must match /art/ and /mirrors/. */
body.pj-mode-collage:not(.project-info-open) .exp-nav .top {
  padding-top: 0.22rem;
  padding-bottom: 0.22rem;
}
body.pj-mode-collage:not(.project-info-open) .exp-nav .logo {
  --fh-logo-w: clamp(11.4rem, 4.71rem + 11.9vw, 14rem);
}
/* Open detail: same fluid logo width as site-nav.js.
   Beats the collage shortening. Horizontal padding, gaps, and the mobile menu stay with site-nav. */
body.project-info-open .exp-nav .top {
  padding-top: clamp(0.28rem, 0.12rem + 0.29vw, 0.42rem);
  padding-bottom: clamp(0.28rem, 0.12rem + 0.29vw, 0.42rem);
  /* House rule is #e4e3df. On this white sheet it reads as a hairline gap. */
  border-bottom-color: #ffffff;
}
body.project-info-open .exp-nav .logo {
  --fh-logo-w: clamp(11.4rem, 4.71rem + 11.9vw, 17.2rem);
}
@media (max-width: 900px) {
  body.project-info-open .exp-nav .top {
    padding-top: 0.32rem;
    padding-bottom: 0.32rem;
  }
  body.project-info-open .exp-nav .logo { --fh-logo-w: min(11rem, 54vw); }
}
body.pj-mode-collage .pj-collage {
  /* Sit flush under the fixed house nav — no dark gap band */
  top: 3.85rem;
  left: 0;
  right: 0;
  bottom: 0;
}
.pj-collage {
  position: absolute;
  inset: 2.75% 2.5% 3.25%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
}
.pj-collage-piece {
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  background: #f3f3f1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.5s ease;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  width: 100%;
  /* Slightly shorter than the full collage cell; radius clips the photo. */
  height: 92%;
  align-self: center;
  border-radius: 12px;
  pointer-events: none;
  cursor: default;
}
.pj-collage-piece img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transition: transform 0.7s ease;
}
/* was clickable hover — disabled */
.pj-collage-piece.is-disabled-hover,
.pj-collage-piece:hover,
.pj-collage-piece:focus-visible {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  outline: none;
}
.pj-collage-piece:hover img,
.pj-collage-piece:focus-visible img { transform: none; }
.pj-collage-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.95rem 0.85rem 0.95rem;
  text-align: left;
  background: linear-gradient(to top, rgba(12, 13, 15, 0.78) 0%, rgba(12, 13, 15, 0.2) 70%, transparent 100%);
  pointer-events: none;
}
.pj-collage-name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(0.88rem, 1.2vw, 1.2rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
}
.pj-collage-place {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
/* Uneven mosaic with an open center well for the title/CTA. */
.pj-collage-piece.is-a { grid-column: 1 / 5; grid-row: 1 / 7; z-index: 2; }
.pj-collage-piece.is-b { grid-column: 9 / 13; grid-row: 1 / 7; }
.pj-collage-piece.is-c { grid-column: 9 / 13; grid-row: 5 / 7; z-index: 2; }
.pj-collage-piece.is-d { grid-column: 5 / 9; grid-row: 1 / 7; }
.pj-collage-piece.is-e { grid-column: 1 / 5; grid-row: 5 / 7; }
.pj-collage-piece.is-f { grid-column: 5 / 9; grid-row: 5 / 7; }
.pj-collage-piece.is-g { grid-column: 9 / 13; grid-row: 3 / 5; }
.pj-collage-piece.is-h { grid-column: 1 / 5; grid-row: 3 / 5; }
.pj-hero-center {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3500;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  pointer-events: none;
  text-align: center;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse 34% 30% at 50% 48%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.55) 55%, transparent 78%);
}
body.pj-mode-collage:not(.project-info-open):not(.fh-pj-layer) .pj-hero-center {
  display: flex;
}

/* Public /projects: no header photos and no title band. */
body.pj-mode-archive .pj-hero,
body.pj-mode-archive .pj-collage,
body.pj-mode-archive .pj-hero-center,
body.pj-mode-archive .pj-hero-title {
  display: none !important;
}
.pj-page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.pj-mode-archive .pj-archive-cta {
  display: none !important;
}
body.pj-mode-archive {
  overflow: auto;
  background: #f9f9f7;
}
html:has(body.fh-pj-layer),
body.fh-pj-layer {
  overflow: auto !important;
  height: auto !important;
  min-height: 100dvh;
  background: #f4f3ef;
}
body.fh-pj-layer #projectsHero,
body.fh-pj-layer #projectsArchive,
body.fh-pj-layer #siteFooter,
body.fh-pj-layer #pjHeroCenter {
  display: none !important;
}
.pj-hero-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(20, 21, 24, 0.62);
  text-shadow: none;
}
.pj-hero-title {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3.4vw, 2.55rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #141518;
  line-height: 1.1;
  margin: 0;
  max-width: 14ch;
  text-shadow: none;
}
.pj-archive-cta {
  pointer-events: auto;
  position: relative;
  z-index: 3501;
  margin-top: 0.85rem;
  padding: 0.95rem 2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: #141518;
  border: 1px solid #141518;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.pj-archive-cta:hover {
  background: #2a2c30;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.pj-archive-cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.pj-archive-bar {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem 0.9rem;
  flex-wrap: wrap;
  padding: 0;
  width: 100%;
}
.pj-back-collage {
  min-width: 0;
  padding: 0.32rem 0.7rem !important;
  font-size: 0.55rem !important;
  letter-spacing: 0.1em !important;
}

/* Minimal archive back control — no page header chrome */
.pj-archive-minibar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 2rem 0.35rem;
}
.pj-archive-minibar .pj-back-collage {
  min-width: 0;
  padding: 0.32rem 0.7rem !important;
  font-size: 0.55rem !important;
  letter-spacing: 0.1em !important;
}

.portfolio-chrome {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.35rem 2rem 0.75rem;
}
#portfolio.section {
  padding: 0.25rem 0 3.25rem;
}
#portfolio .section-header {
  text-align: left;
  max-width: none;
  margin: 0;
}
#portfolio .section-eyebrow {
  margin-bottom: 0.15rem;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}
#portfolio .section-title {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  margin: 0;
  line-height: 1.15;
  font-weight: 400;
}
@media (max-width: 1100px) {
  .pj-collage {
    inset: 2.5% 2% 3%;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: repeat(6, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .pj-collage-piece.is-a { grid-column: 1 / 4; grid-row: 1 / 7; }
  .pj-collage-piece.is-b { grid-column: 6 / 9; grid-row: 1 / 7; }
  .pj-collage-piece.is-c { grid-column: 6 / 9; grid-row: 5 / 7; }
  .pj-collage-piece.is-d { grid-column: 4 / 6; grid-row: 1 / 7; }
  .pj-collage-piece.is-e { grid-column: 1 / 4; grid-row: 5 / 7; }
  .pj-collage-piece.is-f { grid-column: 4 / 6; grid-row: 5 / 7; }
  .pj-collage-piece.is-g { grid-column: 6 / 9; grid-row: 3 / 5; }
  .pj-collage-piece.is-h { grid-column: 1 / 4; grid-row: 3 / 5; }
}
@media (max-width: 900px) {
  .pj-collage {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(6, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .pj-collage-piece.is-a { grid-column: 1 / 3; grid-row: 1 / 7; }
  .pj-collage-piece.is-b { grid-column: 5 / 7; grid-row: 1 / 7; }
  .pj-collage-piece.is-c { grid-column: 5 / 7; grid-row: 5 / 7; }
  .pj-collage-piece.is-d { grid-column: 3 / 5; grid-row: 1 / 7; }
  .pj-collage-piece.is-e { grid-column: 1 / 3; grid-row: 5 / 7; }
  .pj-collage-piece.is-f { grid-column: 3 / 5; grid-row: 5 / 7; }
  .pj-collage-piece.is-g { grid-column: 5 / 7; grid-row: 3 / 5; }
  .pj-collage-piece.is-h { grid-column: 1 / 3; grid-row: 3 / 5; }
}
@media (max-width: 640px) {
  .pj-hero { height: calc(100dvh - 4.1rem); margin-top: 4.1rem; }
  body.site-page .pj-hero,
  body.pj-mode-collage .pj-hero { height: 100dvh; min-height: 100dvh; margin-top: 0; }
  .pj-archive-bar { padding: 0; }
  .portfolio-chrome { padding: 0.25rem 1.25rem 0.65rem; }
  .pj-hero-title { max-width: 12ch; }
  .pj-archive-cta { padding: 0.78rem 1.4rem; font-size: 0.62rem; }
  .pj-collage {
    inset: 2% 2% 2.5%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(6, minmax(0, 1fr));
    gap: 0.45rem;
  }
  .pj-collage-piece.is-a { grid-column: 1 / 3; grid-row: 1 / 7; }
  .pj-collage-piece.is-b { grid-column: 3 / 5; grid-row: 1 / 3; }
  .pj-collage-piece.is-c { grid-column: 3 / 5; grid-row: 5 / 7; }
  .pj-collage-piece.is-d { display: none; }
  .pj-collage-piece.is-e { grid-column: 1 / 3; grid-row: 5 / 7; }
  .pj-collage-piece.is-f { display: none; }
  .pj-collage-piece.is-g { grid-column: 3 / 5; grid-row: 3 / 5; }
  .pj-collage-piece.is-h { grid-column: 1 / 3; grid-row: 3 / 5; }
}
@media (prefers-reduced-motion: reduce) {
  .pj-collage-piece,
  .pj-collage-piece img { transition: none; }
}

@media (max-width: 640px) {
  body.pj-mode-archive .pj-hero {
    height: auto;
    min-height: 0;
    margin-top: 0;
  }
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.25rem 2rem 2.5rem;
}
.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
  outline: none;
}
.portfolio-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.portfolio-card:focus-visible .portfolio-card-media {
  box-shadow: none;
}
.portfolio-card-content {
  position: static;
  inset: auto;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: flex-start;
  padding: 0 0.05rem;
  transition: none;
  order: -1;
  min-height: 0;
}
.portfolio-card:hover .portfolio-card-content { background: none; }
.portfolio-card-media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 2;
  background: #e8e8e4;
}
.portfolio-card img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
  transition: transform 0.7s ease;
}
.portfolio-card:hover img,
.portfolio-card:focus-visible img { transform: none; }
/* Archive crop only. thumbFocus sets object-position. A thumbZoom above 1
   sets data-thumb-zoom and scale(). Zoom 1 does not, so the scrolling grid
   is not a stack of composited layers. The opened photo does not use this crop. */
/* The photo is out of flow so a portrait or wide file cannot grow the
   3/2 box while it decodes and shove the rows under the scroll. */
#projectsArchive .portfolio-card-media {
  aspect-ratio: 3 / 2;
  width: 100%;
  min-height: 0;
  flex: 0 0 auto;
}
#projectsArchive .portfolio-card-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--thumb-focus, center);
}
#projectsArchive .portfolio-card-media > img[data-thumb-zoom] {
  transform: scale(var(--thumb-zoom, 1));
  transform-origin: var(--thumb-focus, center);
  transition: transform 0.65s ease;
}
/* Keyboard focus keeps the saved crop. Hover motion is the fine-pointer rule below. */
#projectsArchive .portfolio-card:focus-visible .portfolio-card-media > img[data-thumb-zoom] {
  transform: scale(var(--thumb-zoom, 1));
}
.portfolio-card-name {
  font-family: var(--serif); font-size: 1.22rem; font-weight: 400;
  margin: 0; color: var(--white); line-height: 1.2;
  letter-spacing: 0.01em;
}
.portfolio-card-location {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin: 0;
}
html.fh-house-light .portfolio-card-name,
body.day-mode .portfolio-card-name { color: #1a1a1a; }
@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; gap: 1.4rem; padding: 0 1.25rem 2rem; }
  .portfolio-card-name { font-size: 1.15rem; }
  .portfolio-card-content { min-height: 0; }
}

/* ===== TESTIMONIAL ===== */
.testimonial-container {
  text-align: center; max-width: 800px; margin: 0 auto;
}
.testimonial-quote {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 300;
  line-height: 1.6; margin-bottom: 1.5rem; color: var(--black);
  font-style: italic;
}
.testimonial-author {
  font-family: var(--serif); font-size: 1rem; font-weight: 400;
  margin-bottom: 0.3rem; color: var(--black);
}
.testimonial-role {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray-400);
}

/* ===== TRUSTED PARTNERS (Projects, below testimonial) ===== */
.trusted {
  flex: 0 0 auto;
  padding: 0.8rem 0 0.85rem;
  background: #fff;
  overflow: hidden;
}
.trusted-label {
  text-align: center;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #6a6d72; margin-bottom: 0.7rem; font-weight: 500;
}
.trusted .marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.trusted .track {
  display: flex;
  width: max-content;
  animation: houseScrollRtl 55s linear infinite;
}
.trusted .marquee:hover .track { animation-play-state: paused; }
.trusted .set {
  display: flex;
  align-items: center;
  gap: 4.4rem;
  padding: 0 2.2rem;
}
.trusted .mark {
  display: flex; align-items: center; justify-content: center;
  height: 68px; flex-shrink: 0;
}
.trusted .mark img {
  display: block;
  height: 50px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
}
.trusted .mark.stack img { height: 62px; max-width: 160px; }
@keyframes houseScrollRtl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trusted .track { animation: none; }
}
@media (max-width: 800px) {
  .trusted { padding: 0.55rem 0 0.6rem; }
  .trusted-label { margin-bottom: 0.3rem; font-size: 0.62rem; }
  .trusted .mark { height: 40px; }
  .trusted .mark img { height: 30px; }
  .trusted .mark.stack img { height: 36px; }
  .trusted .set { gap: 2.2rem; padding: 0 1.1rem; }
}

/* ===== PROCESS ===== */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  max-width: 1400px; margin: 0 auto;
}
.process-step {
  text-align: center;
}
.process-step-number {
  font-family: var(--serif); font-size: 3rem; font-weight: 300;
  color: var(--gold); margin-bottom: 1rem;
}
.process-step-title {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 400;
  margin-bottom: 0.8rem; color: var(--black);
}
.process-step-desc {
  font-size: 0.85rem; line-height: 1.7; color: var(--gray-400);
}

/* ===== ARTISTS ===== */
.artists-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  max-width: 1400px; margin: 0 auto;
}
.artist-card {
  position: relative; border-radius: 8px;
  overflow: hidden; cursor: pointer; background: var(--gray-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.artist-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.35); }
.artist-card-img {
  height: 300px; overflow: hidden; background: #f1f1f2; display: flex; align-items: center; justify-content: center; position: relative;
}
.artist-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.artist-card:hover .artist-card-img img { transform: scale(1.06); }
.artist-card-body {
  padding: 1rem 1.2rem 1.2rem;
}
.artist-card-name {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 500;
  margin-bottom: 0.25rem; color: var(--white);
}
.artist-card-specialty {
  font-size: 0.75rem; color: var(--gold); line-height: 1.4; letter-spacing: 0.03em;
}

/* ===== ARTIST MODAL ===== */
.artist-modal { display: none; position: fixed; inset: 0; z-index: 3000; background: rgba(20,21,24,0.92); overflow-y: auto; }
.artist-modal.active { display: flex; align-items: flex-start; justify-content: center; padding: 4rem 2rem; }
.artist-modal-content { max-width: 1000px; width: 100%; background: var(--gray-100); border-radius: 8px; overflow: hidden; position: relative; }
.artist-modal-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; }
.artist-modal-hero { width: 100%; max-height: 500px; object-fit: contain; background: #111; }
.artist-modal-body { padding: 3rem; }
.artist-modal-body h2 { font-family: var(--serif); font-size: 2.2rem; font-weight: 300; margin-bottom: 0.5rem; }
.artist-modal-specialty { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.5rem; }
.artist-modal-bio { font-size: 0.9rem; line-height: 1.8; color: var(--gray-500); margin-bottom: 2rem; }
.artist-modal-portfolio-title { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.artist-modal-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.artist-modal-gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; cursor: pointer; transition: transform 0.3s; }
.artist-modal-gallery img:hover { transform: scale(1.03); }
.artist-modal-cta { display: flex; gap: 1rem; margin-top: 2rem; }
body.day-mode .artist-modal-content { background: #fff; }
body.day-mode .artist-modal-body h2 { color: #1a1a1a; }

/* ===== BLOG ===== */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  max-width: 1400px; margin: 0 auto;
}
.blog-card {
  cursor: pointer;
}
.blog-card-img {
  height: 250px; margin-bottom: 1.5rem; border-radius: 4px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.08); }
.blog-card-date {
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem;
}
.blog-card-title {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 400;
  line-height: 1.4; margin-bottom: 0.5rem;
}
.blog-card-excerpt {
  font-size: 0.85rem; font-weight: 300; line-height: 1.7;
  color: var(--gray-500);
}

/* ===== CONTACT / CTA SECTION ===== */
.cta-section {
  position: relative; min-height: 60vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
}
.cta-section img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.cta-overlay {
  position: absolute; inset: 0; background: rgba(10,11,13,0.55);
}
.cta-content {
  position: relative; z-index: 10; text-align: center; max-width: 700px; padding: 2rem;
}
.cta-content .section-title { margin-bottom: 1rem; }
.cta-content p {
  font-size: 0.95rem; font-weight: 300; line-height: 1.8;
  color: rgba(255,255,255,0.85); margin-bottom: 2.5rem;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== CLIENT PORTAL ===== */
.portal-section {
  background: var(--gray-100);
  padding: 6rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portal-container {
  max-width: 950px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gray-300);
}
.portal-left {
  background: var(--black);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.portal-left h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.portal-left p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
}
.portal-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}
.portal-benefits li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.portal-benefits li span {
  color: var(--gold);
  font-size: 1rem;
}
.portal-right {
  background: var(--gray-200);
  padding: 3rem;
}
.portal-tabs {
  display: flex;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--gray-300);
}
.portal-tab-btn {
  flex: 1;
  padding: 0.8rem;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}
.portal-tab-btn.active {
  color: var(--gold);
}
.portal-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}
.portal-tab-content {
  display: none;
}
.portal-tab-content.active {
  display: block;
}
.portal-right h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 0.4rem;
  color: var(--white);
}
.portal-right .portal-desc {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}
.portal-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.portal-checkbox input {
  accent-color: var(--gold);
}
.portal-checkbox label {
  font-size: 0.75rem;
  color: var(--gray-500);
}
.portal-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.portal-divider span {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.portal-divider::before,
.portal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-300);
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gray-500); margin-bottom: 0.5rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.8rem 1rem; background: var(--gray-100);
  border: 1px solid var(--gray-300); color: var(--white);
  font-family: var(--sans); font-size: 0.85rem; border-radius: 2px;
  transition: border-color 0.3s;
}
.form-group textarea {
  min-height: 10.5rem;
  line-height: 1.5;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--gold);
}
.form-submit {
  width: 100%; padding: 1rem; background: var(--gold); color: var(--black);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; border: none; cursor: pointer;
  transition: var(--transition); border-radius: 2px; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--gold-light); }
.form-msg {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  text-align: center;
  color: var(--gold);
  min-height: 1.1em;
}
@media (max-width: 1200px) {
  .artists-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .portal-container { grid-template-columns: 1fr; }
}

/* ===== INSTAGRAM GALLERY ===== */
.insta-section {
  padding: 5rem 0 0;
}
.insta-section .section-header {
  padding: 0 3rem;
}
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 3rem;
}
.insta-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}
.insta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}
.insta-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}
.insta-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.insta-card:hover .insta-card-overlay {
  opacity: 1;
}
.insta-card-overlay span {
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.insta-follow {
  text-align: center;
  margin-top: 2.5rem;
  padding-bottom: 4rem;
}
.insta-follow a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.8rem 2.5rem;
  transition: all 0.3s;
  border-radius: 4px;
}
.insta-follow a:hover {
  background: var(--gold);
  color: var(--black);
}
@media (max-width: 768px) {
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 3rem;
}
.contact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
}
.contact-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}
.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-left .section-eyebrow {
  color: #ffffff;
}
.contact-left h2 {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.how-info-wrap { white-space: nowrap; }
.how-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 1.7rem;
  height: 1.7rem;
  margin-left: 0.45rem;
  vertical-align: middle;
  border: 1.5px solid rgba(255,255,255,0.95);
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  padding: 0 0 0.12em;
  transform: translateY(-0.1em);
}
.how-info-btn:hover,
.how-info-btn:focus-visible {
  color: #fff;
  background: rgba(201, 169, 98, 0.38);
  border-color: var(--gold);
  outline: none;
}
.contact-left h2 .how-info-btn {
  color: #fff;
}
.contact-left > p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
  margin-bottom: 3rem;
  max-width: 400px;
}
.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-detail-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-detail-item .label {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.contact-detail-item .value {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
}
.contact-detail-item a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}
.contact-detail-item a:hover {
  color: var(--gold);
}
.insta-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.insta-title {
  margin: 0;
  font-family: Inter, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1a1a;
  line-height: 1.2;
  white-space: nowrap;
}
.insta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  color: #1a1a1a;
  border-radius: 8px;
  flex: 0 0 auto;
  transition: color 0.25s ease, transform 0.25s ease;
}
.insta-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
}
.insta-icon:hover,
.insta-icon:focus-visible {
  color: #6e7175;
  transform: translateY(-2px);
  outline: none;
}
.contact-left .insta-row {
  margin-top: 2.5rem;
}
.contact-left .insta-title {
  color: rgba(255,255,255,0.72);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}
.contact-left .insta-icon {
  color: rgba(255,255,255,0.88);
}
.contact-left .insta-icon:hover,
.contact-left .insta-icon:focus-visible {
  color: var(--gold);
}
.contact-right {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 3rem;
}
.contact-right h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.contact-right > p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-left h2 { font-size: 2.2rem; }
  .contact-section { padding: 4rem 1.5rem; }
}

/* ===== FOOTER ===== */
.footer {
  padding: 5rem 3rem 2rem; border-top: 1px solid var(--gray-200);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; max-width: 1400px; margin: 0 auto 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; display: inline-block; }
.footer-brand p {
  font-size: 0.85rem; font-weight: 300; line-height: 1.8;
  color: var(--gray-500); max-width: 300px;
}
.footer-col h4 {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--white); margin-bottom: 1.2rem;
}
.footer-col a {
  display: block; font-size: 0.8rem; font-weight: 300;
  color: var(--gray-500); margin-bottom: 0.6rem;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  text-align: center; padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
  max-width: 1400px; margin: 0 auto;
}
.footer-bottom p {
  font-size: 0.7rem; color: var(--gray-400); letter-spacing: 0.1em;
}
.footer-bottom .footer-rights {
  margin: 0.85rem auto 0;
  max-width: 42rem;
  font-size: 0.68rem;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

/* ===== QUOTE MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(12,13,15,0.62);
  z-index: 2000; display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--gray-100); border: 1px solid var(--gray-300);
  max-width: 600px; width: 90%; max-height: 90vh; overflow-y: auto;
  padding: 3rem; border-radius: 4px; position: relative;
}
.modal-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 1.5rem; color: var(--gray-500); cursor: pointer;
  transition: color 0.3s;
}
.modal-close:hover { color: var(--white); }
.modal h3 {
  font-family: var(--serif); font-size: 1.8rem; font-weight: 300;
  margin-bottom: 0.5rem;
}
.modal p {
  font-size: 0.85rem; color: var(--gray-500); margin-bottom: 2rem;
}

/* ===== COLOR FILTER ===== */
.color-filter {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  padding: 0 2rem;
}
.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  flex-shrink: 0;
}
.color-swatch:hover {
  transform: scale(1.15);
}
.color-swatch.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185,188,192,0.3);
  transform: scale(1.15);
}
.color-swatch[data-swatch="all"] { background: conic-gradient(#e8d5b7, #1a1a1a, #b9bcc0, #4a7fb5, #6b8f71, #a94442, #8b6f47, #e8d5b7); }
.color-swatch[data-swatch="Neutral"] { background: #e8d5b7; }
.color-swatch[data-swatch="Black"] { background: #2a2a2a; }
.color-swatch[data-swatch="Gold"] { background: #b9bcc0; }
.color-swatch[data-swatch="Blue"] { background: #4a7fb5; }
.color-swatch[data-swatch="Green"] { background: #6b8f71; }
.color-swatch[data-swatch="Red"] { background: #a94442; }
.color-swatch[data-swatch="Warm"] { background: #8b6f47; }
.color-swatch[data-swatch="Pink"] { background: #d4889e; }
.color-swatch[data-swatch="Silver"] { background: linear-gradient(135deg, #a8a8a8, #d4d4d4, #a8a8a8); }
.color-swatch[data-swatch="White"] { background: #f1f1f2; border: 1px solid rgba(255,255,255,0.2); }
.color-swatch[data-swatch="Orange"] { background: #d4874d; }
.color-swatch[data-swatch="Purple"] { background: #7b5ea7; }
.color-swatch[data-swatch="Multi"] { background: linear-gradient(135deg, #e74c3c, #f39c12, #2ecc71, #3498db, #9b59b6); }
.color-label {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  text-align: center;
  margin-top: 0.3rem;
}

/* ===== PRODUCT DETAIL MODAL ===== */
.product-modal .modal { max-width: 1100px; padding: 0; overflow: hidden; border-radius: 8px; }
.product-modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.product-modal-img { position: relative; height: 100%; min-height: 600px; display: flex; align-items: center; justify-content: center; background: #111; }
.product-modal-img img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.product-thumbs {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  z-index: 5;
}
.product-thumb {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.3s;
}
.product-thumb.active {
  border-color: var(--gold);
  opacity: 1;
}
.product-thumb:hover {
  opacity: 1;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-modal-info { padding: 2.5rem; display: flex; flex-direction: column; justify-content: flex-start; overflow-y: auto; max-height: 90vh; }
.product-modal-info .product-card-supplier { margin-bottom: 0.5rem; }
.product-modal-info h3 { font-family: var(--serif); font-size: 2rem; font-weight: 300; margin-bottom: 0.75rem; }
.product-modal-info .product-desc { font-size: 0.85rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 1.5rem; }
.product-specs { margin-bottom: 0.5rem; }
.product-spec { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--gray-300); }
.product-spec-label { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500); font-weight: 500; }
.product-spec-value { font-size: 0.85rem; text-align: right; }

/* ===== PROJECT DETAIL MODAL ===== */


/* ===== Projects page: match house nav Inter / uppercase system ===== */
body.site-page.pj-mode-collage,
body.site-page.pj-mode-archive,
body.site-page.project-info-open {
  --pj-ui-font: Inter, Helvetica, Arial, sans-serif;
  --pj-ui-track: 0.1em;
  --pj-ui-weight: 500;
}
.pj-hero-kicker,
.pj-archive-cta,
.pj-collage-name,
.pj-collage-place,
.pj-back-collage,
.pj-dev-link,
.pj-tba-note,
.portfolio-card-location,
.project-info-kicker,
.project-info-lede,
.project-info-spec span,
.project-info-back {
  font-family: var(--pj-ui-font, Inter, Helvetica, Arial, sans-serif) !important;
  letter-spacing: var(--pj-ui-track, 0.1em);
  font-weight: var(--pj-ui-weight, 500);
  text-transform: uppercase;
}
.pj-hero-title {
  font-family: var(--pj-ui-font, Inter, Helvetica, Arial, sans-serif) !important;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 18ch;
  font-size: clamp(1.15rem, 2.4vw, 1.85rem);
  line-height: 1.25;
}
.pj-archive-cta {
  font-size: 0.72rem;
  letter-spacing: var(--pj-ui-track, 0.1em);
  font-weight: 500;
}
.pj-collage-name {
  font-size: 0.72rem;
  letter-spacing: var(--pj-ui-track, 0.1em);
  font-weight: 500;
  font-family: var(--pj-ui-font, Inter, Helvetica, Arial, sans-serif) !important;
}
.portfolio-card-name {
  font-family: var(--pj-ui-font, Inter, Helvetica, Arial, sans-serif) !important;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.project-info-title {
  font-family: var(--pj-ui-font, Inter, Helvetica, Arial, sans-serif) !important;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 2.3vw, 2.45rem);
  line-height: 1.08;
  color: #0a0a0a;
  max-width: 100%;
}
.pj-dev-link,
summary.pj-dev-link {
  font-family: var(--pj-ui-font, Inter, Helvetica, Arial, sans-serif) !important;
  letter-spacing: var(--pj-ui-track, 0.1em);
  font-weight: 500;
  text-transform: uppercase;
}

/* ===== Project info page ===== */
/* Lock scroll on the document, not the body. overflow:hidden on body clips
   the fixed house bar and makes it look shorter than on other pages. */
html:has(body.project-info-open) { overflow: hidden; }
/* House light paints #f9f9f7 on html and body. The open project sheet is white. */
html.fh-house-light:has(body.project-info-open),
html.fh-house-light body.site-page.project-info-open {
  background: #fff;
}
body.project-info-open { overflow: visible !important; }
body.project-info-open .exp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4000;
  background: #ffffff;
  /* 1px drop shadow paints under the bar and reads as a crack on the white sheet. */
  box-shadow: none;
}

.project-info-page {
  position: fixed;
  /* Tuck 1px under the bar so device-pixel rounding cannot show house grey. Nav stays above the sheet. */
  top: calc(var(--pj-detail-top, 4.75rem) - 1px);
  left: 0;
  right: 0;
  bottom: 0;
  /* Under the house nav (4000). Above archive chrome that used to cover the back control (sticky search 40, filter menus 3600). */
  z-index: 3900;
  background: #fff;
  color: #1a1a1a;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}
.project-info-page[hidden] { display: none !important; }
.project-info-page.active { display: block; }

.project-info-inner {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0.45rem 0 0.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
/* 75fr / 25fr with no gap: photo is 75% of the viewport, text is the other 25%. */
.project-info-layout {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 75fr) minmax(0, 25fr);
  column-gap: 0;
  align-items: stretch;
}
.project-info-visual {
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  padding: 0.1rem 0 0.15rem 0.65rem;
  background: #fff;
  background-color: #fff;
}
.project-info-visual > .project-info-title {
  flex: 0 0 auto;
  margin: 0 0 0.7rem;
}
.project-info-meta {
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: #fff;
  /* +1.25rem on the right so title, copy, and buttons clear the viewport. Column stays 25fr. */
  padding: 0.15rem 2.3rem 0.35rem 1.15rem;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
}
.project-info-meta > .project-info-title {
  margin: 0 0 0.7rem;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Own row so the column flex on .project-info-inner cannot stretch the control. */
.project-info-back-bar {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin: 0 0 0.4rem;
  padding: 0 1.15rem;
  box-sizing: border-box;
  position: relative;
  z-index: 5;
}
#projBackBtn.project-info-back {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 5;
  display: inline-flex;
  flex: 0 0 auto;
  align-self: center;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  width: auto;
  max-width: max-content;
  min-width: 0;
  height: auto;
  margin: 0;
  white-space: nowrap;
  padding: 0.5rem 0.9rem 0.5rem 0.65rem;
  border: 1px solid rgba(20, 21, 24, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #141518 !important;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 1;
}
.project-info-back:hover {
  background: #f6f6f4;
  border-color: rgba(20, 21, 24, 0.35);
  color: #141518 !important;
}
.project-info-back:focus-visible {
  outline: 2px solid #141518;
  outline-offset: 3px;
}
.project-info-back svg { display: block; flex: 0 0 auto; }

/* Product detail: same pill as projects `.project-info-back` */
.detail-back {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  width: auto;
  height: auto;
  margin: 0 0 0.85rem;
  padding: 0.5rem 0.85rem 0.5rem 0.65rem;
  border: 1px solid rgba(20, 21, 24, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #141518 !important;
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  z-index: 5;
}
.detail-back:hover {
  background: #f6f6f4;
  border-color: rgba(20, 21, 24, 0.35);
  color: #141518 !important;
}
.detail-back:focus-visible {
  outline: 2px solid #141518;
  outline-offset: 3px;
}
.detail-back svg { display: block; flex: 0 0 auto; }

.project-info-hero {
  position: relative;
  background: transparent;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  width: 100%;
  max-width: 100%;
  /* Well is the 75% column minus the thumb row. flex-basis 0 so a large bitmap cannot push the thumbs off the first screen. */
  flex: 1 1 0%;
  min-height: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: none;
}
.project-info-shot,
.project-info-shot.is-photo-crop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  margin: auto;
  line-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
  background-color: transparent;
}
.project-info-hero img,
.project-info-shot img,
.project-info-shot.is-photo-crop img {
  /* auto + max 100% scales a large file down into the well and leaves a smaller file at its intrinsic pixels. width/height 100% would upscale it. */
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  margin: auto;
  align-self: center;
  justify-self: center;
  object-fit: contain;
  object-position: center center;
  flex: 0 0 auto;
  display: block;
  background: transparent;
  background-color: transparent;
  border-radius: 12px;
  transform: none;
}
/* Archive-card crop stays on the tile. The opened photo is the full file in the well. */
.project-info-shot.is-photo-crop {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  max-height: 100%;
}
.project-info-hero:has(.project-info-tba:not([hidden])) {
  min-height: 8.5rem;
}

.project-info-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex: 0 0 auto;
  gap: 0.45rem;
  width: auto;
  max-width: 100%;
  margin: 0.85rem auto 0;
}
.project-info-gallery[hidden] { display: none !important; }
.project-info-arrow {
  appearance: none;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(20, 21, 24, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #141518;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(20, 21, 24, 0.04);
}
.project-info-arrow:hover { background: #f6f6f4; border-color: rgba(20, 21, 24, 0.4); }
.project-info-arrow:focus-visible {
  outline: 2px solid #141518;
  outline-offset: 3px;
}
.project-info-arrow svg { display: block; width: 16px; height: 16px; }
.project-info-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
/* Photo credits only on the opened project photo: quiet corner, no wash. */
.photo-rights-sub {
  display: none !important;
}
.project-info-rights {
  position: absolute;
  right: 0.5rem;
  bottom: 0.4rem;
  left: auto;
  top: auto;
  width: auto;
  max-width: calc(100% - 1rem);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.48);
  font-family: Inter, Helvetica, sans-serif;
  font-size: 0.58rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  -webkit-font-smoothing: antialiased;
  pointer-events: none;
  user-select: text;
  z-index: 6;
  box-sizing: border-box;
}
.project-info-tba {
  font-family: var(--serif, Georgia, serif);
  font-size: 2rem;
  letter-spacing: 0.2em;
  color: #888;
}

.project-info-thumbs {
  display: flex;
  justify-content: center;
  justify-content: safe center;
  align-items: center;
  gap: 0.4rem;
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 5.6rem);
  flex-wrap: nowrap;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  padding: 0;
  scroll-snap-type: x proximity;
}
.project-info-thumbs img {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.75;
  scroll-snap-align: start;
  background: #eee;
}
.project-info-thumbs img.on {
  border-color: var(--gold, #b9bcc0);
  opacity: 1;
}
.project-info-thumbs img:hover { opacity: 1; }

.project-info-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3a3d42;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.project-info-title {
  font-weight: 800;
  font-size: clamp(1.75rem, 2.3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #0a0a0a;
  margin: 0;
  max-width: 100%;
}
.project-info-lede {
  color: #2a2d32;
  font-size: 0.84rem;
  max-width: 46ch;
  line-height: 1.45;
  margin: 0 0 0.7rem;
}
.project-info-desc {
  color: #1a1c20;
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 0;
  max-width: none;
}
.project-info-desc[hidden] { display: none !important; }

.project-info-specs { margin: 0.75rem 0 0; max-width: none; }
.project-info-spec {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(20, 21, 24, 0.1);
  font-size: 0.9rem;
}
.project-info-spec span {
  color: #3f4248;
  letter-spacing: 0.04em;
}
.project-info-spec b {
  font-weight: 500;
  color: #141518;
  text-align: right;
}
.project-info-spec b a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.project-info-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  gap: 0.6rem;
  margin-top: 1.15rem;
  width: 100%;
  max-width: 100%;
}
.project-info-actions .btn-primary,
.project-info-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.85rem 0.75rem;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  text-decoration: none;
  box-sizing: border-box;
}
.project-info-actions .btn-primary {
  background: #1a1a1a;
  color: #fff;
}
.project-info-actions .btn-primary:hover { background: #333; color: #fff; }
.project-info-actions .btn-outline {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}
.project-info-actions .btn-outline:hover { background: #1a1a1a; color: #fff; }

/* Projects-only TBA footer */

/* In-development: visible on collage + archive (light house) */
.pj-dev-hero-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 0.15rem;
  pointer-events: auto;
}
.pj-dev-hero-link:hover { color: #fff; border-bottom-color: #fff; }
html.fh-house-light .pj-tba-footer,
body.day-mode .pj-tba-footer {
  background: transparent;
  border-top: 1px solid rgba(0,0,0,0.08);
}
html.fh-house-light .pj-dev-details > summary.pj-dev-link,
body.day-mode .pj-dev-details > summary.pj-dev-link {
  color: #6e7175;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}
html.fh-house-light .pj-tba-note,
body.day-mode .pj-tba-note { color: #6e7175; }
html.fh-house-light .pj-tba-list li,
body.day-mode .pj-tba-list li { border-bottom-color: rgba(0,0,0,0.08); }
html.fh-house-light .pj-tba-place,
body.day-mode .pj-tba-place { color: #6e7175; }


/* Projects WIP: single "in development" disclosure */
.pj-dev-details {
  border: 0;
}
.pj-dev-details > summary.pj-dev-link {
  list-style: none;
  cursor: pointer;
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--gold, #b9bcc0);
  padding: 0.35rem 0;
  user-select: none;
}
.pj-dev-details > summary.pj-dev-link::-webkit-details-marker { display: none; }
.pj-dev-details > summary.pj-dev-link::marker { content: ''; }
.pj-dev-details > summary.pj-dev-link:hover { opacity: 0.85; text-decoration: underline; text-underline-offset: 3px; }
.pj-dev-details[open] > summary.pj-dev-link { margin-bottom: 0.75rem; }
.pj-tba-footer .pj-tba-jump { display: none; }
.pj-tba-footer .pj-tba-heading { display: none; }
.pj-tba-footer {
  margin-top: 3rem;
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.25);
}
.pj-tba-footer-inner {
  max-width: 960px;
  margin: 0 auto;
}
.pj-tba-jump {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold, #b9bcc0);
  text-decoration: none;
}
.pj-tba-heading {
  font-family: var(--serif, Georgia, serif);
  font-weight: 300;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.pj-tba-note {
  color: var(--gray-500, #8a8d91);
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}
.pj-tba-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.pj-tba-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pj-tba-link {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pj-tba-link:hover { color: var(--gold, #b9bcc0); }
.pj-tba-place {
  color: var(--gray-500, #8a8d91);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .project-info-page { overflow-y: auto; }
  .project-info-inner {
    height: auto;
    display: block;
    padding: 0.85rem 1.15rem 3rem;
  }
  .project-info-back-bar {
    display: flex;
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
  }
  .project-info-layout {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 1.35rem;
  }
  .project-info-visual {
    padding: 0.75rem 1rem 0.9rem;
  }
  .project-info-layout.title-on-side { display: flex; }
  .project-info-meta {
    overflow: visible;
    margin-top: 0.35rem;
    padding: 1.25rem 1.15rem 1.35rem;
  }
  .project-info-actions .btn-primary,
  .project-info-actions .btn-outline { width: auto; }
  .project-info-title {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
    margin: 0;
  }
  .project-info-desc {
    font-size: 0.95rem;
    margin-top: 0;
    max-width: 100%;
  }
  .project-info-hero {
    display: flex;
    flex: none;
    min-height: 0;
    align-items: center;
    justify-content: center;
  }
  .project-info-shot,
  .project-info-shot.is-photo-crop {
    width: 100%;
    height: auto;
    max-height: none;
  }
  .project-info-hero img,
  .project-info-shot img,
  .project-info-shot.is-photo-crop img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 46vh;
    object-fit: contain;
    object-position: center center;
  }
  .project-info-thumbs img { width: 50px; height: 50px; }
  .project-info-arrow { width: 2rem; height: 2rem; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1.05); }
}
@keyframes loadSlide {
  from { left: -100%; }
  to { left: 100%; }
}
@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.fade-in {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .category-card { height: 55vh; min-height: 400px; }
  .category-card-title { font-size: 1.8rem; }
  .split-section { grid-template-columns: 1fr; }
  .split-image { height: 50vh; }
  .portfolio-card { height: auto; }
  .portfolio-card-content { padding: 0; }
  .portfolio-card-name { font-size: 1.2rem; }
  .product-modal-grid { grid-template-columns: 1fr; }
  .product-modal-img { min-height: 300px; }
  .stats { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .artists-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 1.5rem; }
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle-mode { display: none; }
  .nav-cta { display: none; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .categories-grid { grid-template-columns: 1fr; }
  .category-card { height: 45vh; min-height: 300px; }
  .category-card-title { font-size: 1.6rem; }
  .section-title { font-size: 2rem; }
  .portfolio-grid { grid-template-columns: 1fr; padding: 0 1.25rem 2rem; gap: 1.6rem; }
  .portfolio-card { height: auto; min-height: 0; }
  .portfolio-card-content { padding: 0; }
  #portfolio.section { padding: 0.15rem 0 2.5rem; }
  #portfolio .section-title { font-size: 1.4rem; }
  .process-steps { grid-template-columns: 1fr; }
  .artists-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .catalog-filters { flex-direction: column; }
  #knowledge.section { padding: 2.4rem 1.15rem 1.6rem; }
  #knowledge .section-header { margin-bottom: 1rem; }
  #knowledge .section-eyebrow { margin-bottom: 0.45rem; }
  #knowledge .section-title {
    font-size: clamp(1.55rem, 6.4vw, 2rem);
    line-height: 1.15;
    margin-bottom: 0.45rem;
  }
  #knowledge .section-desc { font-size: 0.82rem; line-height: 1.45; }
  #knowledge .catalog-filters {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.45rem;
    margin: 0 -1.15rem 1.15rem;
    padding: 0 1.15rem 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #knowledge .catalog-filters::-webkit-scrollbar { display: none; }
  #knowledge .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
  }
  .catalog-sub-filters { flex-direction: column; gap: 1rem; padding: 1rem; }
  .catalog-toolbar { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .color-filter-inline { gap: 0.4rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-modal-grid { grid-template-columns: 1fr; }
  .product-modal-img { min-height: 300px; }
}
/* Resources index chips: same one-row scroll through 900px (portrait and landscape phones). */
@media (max-width: 900px) {
  #knowledge .catalog-filters {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.45rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 0 1rem 0.35rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #knowledge .catalog-filters::-webkit-scrollbar { display: none; }
  #knowledge .catalog-filters .filter-btn {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    white-space: nowrap;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    scroll-snap-align: start;
  }
}

/* ===== DAY MODE ===== */
body.day-mode {
  background: #f9f9f7;
  color: #1a1a1a;
}

body.day-mode .nav {
  background: rgba(249,249,247,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

body.day-mode .nav-logo {
  color: #1a1a1a;
}

body.day-mode .nav-links a {
  color: rgba(0,0,0,0.7);
}

body.day-mode .nav-links a:hover {
  color: #1a1a1a;
}

body.day-mode .nav-toggle-mode {
  color: #1a1a1a;
}

body.day-mode .mobile-menu {
  background: rgba(249,249,247,0.98);
}

body.day-mode .mobile-menu a {
  color: #1a1a1a;
}

body.day-mode .hero-overlay {
  background: rgba(0,0,0,0.4);
}

body.day-mode .section-dark {
  background: #f9f9f7;
  color: #1a1a1a;
}
body.day-mode .cap-card,
html.fh-house-light .cap-card {
  background: #f5f5f0;
  color: #1a1a1a;
}
body.day-mode .cap-card h3,
html.fh-house-light .cap-card h3 { color: #1a1a1a; }
body.day-mode .spec-pill,
html.fh-house-light .spec-pill {
  color: #3a3c42;
  border-color: #d4d5d7;
  background: transparent;
}

body.day-mode .section-gray {
  background: #f0eeea;
  color: #1a1a1a;
}

body.day-mode .section-light {
  background: #ffffff;
  color: #1a1a1a;
}

body.day-mode .section-title {
  color: #1a1a1a;
}

body.day-mode .section-desc {
  color: #666666;
}

body.day-mode .product-card {
  background: #ffffff;
  border: 1px solid #e2e3e5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

body.day-mode .product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

body.day-mode .product-card-name {
  color: #1a1a1a;
}

body.day-mode .product-card-meta {
  color: #666666;
}

body.day-mode .sub-filter-group label {
  color: var(--gold);
}

body.day-mode .sub-filter-group select,
body.day-mode .catalog-toolbar select {
  background: #ffffff;
  border: 1px solid #e2e3e5;
  color: #1a1a1a;
}

body.day-mode .catalog-sub-filters {
  background: #f8f5f0;
  border-color: #e2e3e5;
}

body.day-mode .color-swatch {
  border-color: transparent;
}

body.day-mode .color-swatch.active {
  border-color: var(--gold);
}

body.day-mode .color-label,
body.day-mode .color-label-inline {
  color: #666;
}

body.day-mode .active-filter-pill {
  background: rgba(185,188,192,0.1);
  border-color: rgba(185,188,192,0.25);
}

body.day-mode .catalog-toolbar .result-count {
  color: #666;
}

body.day-mode .color-swatch[data-swatch="White"] {
  border: 1px solid #ddd;
}

body.day-mode .filter-btn {
  border-color: #e2e3e5;
  color: #666666;
  background: #ffffff;
}
body.day-mode #filterSearch {
  background: #fff;
  border-color: #d3d4d6;
  color: #1a1a1a;
}

body.day-mode .filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

body.day-mode .portfolio-card-name,
html.fh-house-light .portfolio-card-name {
  color: #1a1a1a;
}

body.day-mode .portfolio-card-content,
html.fh-house-light .portfolio-card-content {
  background: none;
}

body.day-mode .portfolio-card-scope,
html.fh-house-light .portfolio-card-scope {
  color: #6a6d72;
}

body.day-mode .pc-inhouse,
html.fh-house-light .pc-inhouse {
  color: #9a9ca1;
}

body.day-mode .portfolio-tab:hover,
html.fh-house-light .portfolio-tab:hover {
  color: #1a1a1a;
  border-color: #b8b9bb;
}

body.day-mode .split-content p {
  color: #666666;
}

body.day-mode .split-image img {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

body.day-mode .stat-number {
  color: var(--gold);
}

body.day-mode .stat-label {
  color: #666666;
}

body.day-mode .process-step-title {
  color: #1a1a1a;
}

body.day-mode .process-step-desc {
  color: #666666;
}

body.day-mode .artist-card {
  background: #f5f3ef; box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
body.day-mode .artist-card-img {
  background: #eae6df;
}
body.day-mode .artist-card-name {
  color: #1a1a1a;
}

body.day-mode .blog-card-title {
  color: #1a1a1a;
}

body.day-mode .blog-card-excerpt {
  color: #666666;
}

body.day-mode .testimonial-quote {
  color: #1a1a1a;
}

body.day-mode .testimonial-author {
  color: #1a1a1a;
}

body.day-mode .testimonial-role {
  color: #999999;
}

body.day-mode .footer {
  background: #f9f9f7;
  color: #1a1a1a;
  border-top: 1px solid #e2e3e5;
}

body.day-mode .footer-section a {
  color: var(--gold);
}

body.day-mode .footer-section a:hover {
  color: #9da0a4;
}

body.day-mode .footer-bottom {
  border-top: 1px solid #e2e3e5;
  color: #666666;
}

body.day-mode .loader {
  background: #f9f9f7;
}

body.day-mode .loader-line {
  color: #5a5c60;
}

body.day-mode .contact-detail-title {
  color: #1a1a1a;
}

body.day-mode .contact-detail-text {
  color: #666666;
}

body.day-mode .form-group input,
body.day-mode .form-group textarea {
  background: #ffffff;
  border: 1px solid #e2e3e5;
  color: #1a1a1a;
}

body.day-mode .portal-section { background: #f0eeea; }
body.day-mode .portal-container { border-color: #ddd; }
body.day-mode .portal-left { background: #1a1a1a; }
body.day-mode .portal-right { background: #fff; }
body.day-mode .portal-right h3 { color: #1a1a1a; }
body.day-mode .portal-tab-btn { color: #999; }
body.day-mode .portal-tab-btn.active { color: var(--gold); }
body.day-mode .portal-tabs { border-color: #e0e0e0; }
body.day-mode .portal-divider::before,
body.day-mode .portal-divider::after { background: #e0e0e0; }

body.day-mode .category-card-overlay {
  background: rgba(0,0,0,0.5);
}

body.day-mode .partners {
  background: #f0eeea;
  border-top: 1px solid #e2e3e5;
  border-bottom: 1px solid #e2e3e5;
}

body.day-mode .partners-track {
  color: #999999;
}

body.day-mode .partners-track span {
  color: #1a1a1a;
}
body.day-mode .modal {
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

body.day-mode .modal h3 {
  color: #1a1a1a;
}

body.day-mode .modal p {
  color: #666666;
}

body.day-mode .cta-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #1a1a1a 100%);
}

body.day-mode .cta-overlay {
  background: rgba(0,0,0,0.6);
}

body.day-mode .cta-content {
  color: #ffffff;
}

body.day-mode .cta-content .section-title {
  color: #ffffff;
}

body.day-mode .cta-content p {
  color: rgba(255,255,255,0.8);
}

body.day-mode .form-group input::placeholder,
body.day-mode .form-group textarea::placeholder {
  color: #999999;
}

body.day-mode .split-section {
  color: #1a1a1a;
}

body.day-mode .installation-card-overlay {
  background: rgba(0,0,0,0.5);
}

body.day-mode .installation-card-name {
  color: #ffffff;
}

body.day-mode .blog-card-img {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

body.day-mode .quote-modal .modal {
  background: #ffffff;
}

body.day-mode .quote-modal input,
body.day-mode .quote-modal textarea {
  background: #ffffff;
  border: 1px solid #e2e3e5;
  color: #1a1a1a;
}

body.day-mode .quote-modal input::placeholder,
body.day-mode .quote-modal textarea::placeholder {
  color: #999999;
}

body.day-mode .hero-scroll span {
  color: rgba(0,0,0,0.5);
}

body.day-mode .category-card-title {
  color: #ffffff;
}

body.day-mode .insta-section { background: #f9f9f7; }
body.day-mode .insta-card-overlay span { color: #fff; }
body.day-mode .insta-follow a { color: var(--gold); border-color: var(--gold); }
body.day-mode .insta-follow a:hover { background: var(--gold); color: #1a1a1a; }

body.day-mode .contact-section .contact-overlay { background: rgba(10,11,13,0.55); }
body.day-mode .contact-right { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); }
@media (max-width: 900px) { #framestudio .fs-embed { min-height: 520px; } }
  #framestudio .fs-embed {
    display: block;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: min(82vh, 780px);
    min-height: 640px;
    border: 0;
    background: #f5f5f0;
  }

body.site-page { background: var(--ink, #141518); }
body.site-page.day-mode,
html.fh-house-light body.site-page { background: #f9f9f7; color: #1a1a1a; }
html.fh-house-light body.site-page.project-info-open,
body.pj-mode-archive.project-info-open { background: #fff; }
html.fh-house-light .section-eyebrow { color: #6e7175; }
html.fh-house-light .contact-left .section-eyebrow { color: #ffffff; }
html.fh-house-light .section-title { color: #1a1a1a; }
html.fh-house-light .section-desc { color: #4a4c50; }
.page-pad { padding-top: 4.5rem; }

/* Breathing room under house nav for archive gallery row.
   The gallery used to keep 3.25rem under the cards and the shared
   footer kept 5rem above its content and 2rem below it (4.5rem on
   the sandbox, for the Import Finishes pill). That stacked into a
   tall empty band at the bottom of /projects. Leave a small border. */
body.pj-mode-archive #projectsArchive.pj-archive {
  padding-top: 1.15rem;
}
body.pj-mode-archive #portfolio.section {
  padding-top: 0.85rem;
  padding-bottom: 0.75rem;
}
body.pj-mode-archive .portfolio-grid {
  padding-top: 0.85rem;
  padding-bottom: 0.75rem;
}
body.pj-mode-archive footer.footer {
  padding-top: 1.25rem;
  padding-bottom: 0.85rem;
}
body.pj-mode-archive footer.footer:has(#fhImportFinishes) {
  padding-bottom: 0.85rem;
}
body.pj-mode-archive #fhImportFinishes {
  bottom: 0.7rem;
}
@media (max-width: 1100px) {
  body.pj-mode-archive footer.footer:has(#fhImportFinishes) {
    padding-bottom: 2.6rem;
  }
}

/* Projects archive filter — old alt-1 left Theme/Color column (8e300d9 product.html),
   not the 2026-09-24 listing chip strip (art-filter-toggle / art-filter-panel).
   Scoped here so Capabilities / catalog galleries stay untouched. */
#projectsArchive .pj-listing-body {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0.55rem 0 0.2rem;
  box-sizing: border-box;
  position: relative;
}
#projectsArchive .art-listing-search {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  box-sizing: border-box;
}
#projectsArchive .art-search {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  display: block;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #1a1a1a;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.9rem;
}
#projectsArchive .art-search::placeholder { color: #8a8d91; }
#projectsArchive .art-listing-body {
  display: grid;
  grid-template-columns: minmax(200px, 236px) minmax(0, 1fr);
  gap: 0 1.35rem;
  align-items: start;
  padding: 0 1.75rem 2.5rem 0;
  box-sizing: border-box;
  transition: grid-template-columns 0.55s ease-in-out, padding-left 0.55s ease-in-out;
}
#projectsArchive .art-listing-body.is-col-hidden {
  grid-template-columns: 0 minmax(0, 1fr);
  padding-left: 1.75rem;
}
#projectsArchive .art-filter-col {
  position: sticky;
  top: 5.15rem;
  align-self: start;
  z-index: 12;
  min-width: 0;
  overflow: visible;
  padding: 0 1.2rem 2rem 1.75rem;
  border-right: 1px solid #e2e3e5;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 0.4s ease;
}
#projectsArchive .art-listing-body.is-col-concealed .art-filter-col,
#projectsArchive .art-listing-body.is-col-hidden .art-filter-col {
  opacity: 0;
  pointer-events: none;
}
#projectsArchive .art-listing-body.is-col-hidden .art-filter-col {
  padding-left: 0;
  padding-right: 0;
  border-right-color: transparent;
  overflow: hidden;
}
#projectsArchive .art-filter-col-hide,
#projectsArchive .art-filter-col-show {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin: 0 0 1.1rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(20, 21, 24, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #141518;
  cursor: pointer;
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}
#projectsArchive .art-filter-col-hide:hover,
#projectsArchive .art-filter-col-show:hover {
  background: #f6f6f4;
  border-color: rgba(20, 21, 24, 0.35);
  color: #141518;
}
#projectsArchive .art-filter-col-hide:focus-visible,
#projectsArchive .art-filter-col-show:focus-visible {
  outline: 2px solid #141518;
  outline-offset: 3px;
}
#projectsArchive .art-listing-search .art-filter-col-show { margin: 0; flex: 0 0 auto; opacity: 0; transition: opacity 0.4s ease; }
#projectsArchive .art-listing-search .art-filter-col-show.is-shown { opacity: 1; }
#projectsArchive .art-filter-col-show[hidden] { display: none !important; }
#projectsArchive .art-filter-label-phone { display: none; }
#projectsArchive .art-filter-count[hidden] { display: none !important; }
#projectsArchive .art-filter-label {
  font-family: Inter, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 0.5rem;
  cursor: pointer;
  display: block;
}
#projectsArchive .pj-dev-note {
  margin-left: 0.35rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #6e7175;
}
#projectsArchive #pjMarketBtn {
  white-space: normal;
  line-height: 1.35;
}
#projectsArchive .art-filter-split {
  height: 1px;
  background: #e2e3e5;
  margin: 1.2rem 0 1.25rem;
}
#projectsArchive .art-dd { position: relative; }
#projectsArchive .art-dd-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.7rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
  color: #111;
  font-family: Inter, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#projectsArchive .art-dd-btn::after {
  content: "";
  margin-left: auto;
  flex: 0 0 0;
  border: 4px solid transparent;
  border-top-color: #111;
  transform: translateY(2px);
}
#projectsArchive .art-dd.open .art-dd-btn::after {
  transform: translateY(-2px) rotate(180deg);
}
#projectsArchive .art-dd-panel,
body > .art-dd-panel.is-open {
  display: none;
  position: fixed;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: auto;
  min-width: 15.5rem;
  max-width: min(22rem, calc(100vw - 1rem));
  max-height: min(62vh, 28rem);
  overflow: auto;
  background: #fff;
  border: 1px solid #c8c8c4;
  border-radius: 4px;
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.18);
  z-index: 3600;
  margin: 0;
  padding: 0.4rem 0;
  box-sizing: border-box;
}
#projectsArchive .art-dd.open .art-dd-panel,
body > .art-dd-panel.is-open { display: block; }
#projectsArchive .art-theme-opt,
body > .art-dd-panel.is-open .art-theme-opt {
  display: block;
  width: 100%;
  appearance: none;
  background: #fff;
  border: 0;
  padding: 0.6rem 0.95rem;
  cursor: pointer;
  text-align: left;
  font-family: Inter, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
}
#projectsArchive .art-theme-opt:hover,
#projectsArchive .art-theme-opt.on,
body > .art-dd-panel.is-open .art-theme-opt:hover,
body > .art-dd-panel.is-open .art-theme-opt.on { background: #f0efe9; }
#projectsArchive .art-listing-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}
#projectsArchive .art-listing-main .portfolio-grid {
  max-width: none;
  padding-left: 0.35rem;
  padding-right: 0;
}
@media (min-width: 1600px) {
  #projectsArchive .art-listing-search { padding-left: 2.4rem; padding-right: 2.4rem; }
  #projectsArchive .art-listing-body { padding-right: 2.4rem; }
  #projectsArchive .art-filter-col { padding-left: 2.4rem; }
}
@media (max-width: 900px) {
  #projectsArchive .art-listing-search {
    position: sticky;
    top: var(--fh-bar-h, 3.5rem);
    z-index: 40;
    background: #f9f9f7;
    margin: 0;
    padding: 0.6rem 0.9rem;
    flex-wrap: wrap;
    gap: 0.5rem 0.6rem;
  }
  #projectsArchive .art-listing-search .art-search {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }
  #projectsArchive .art-filter-label-wide { display: none; }
  #projectsArchive .art-filter-label-phone { display: inline; }
  #projectsArchive .art-listing-search .art-filter-col-show {
    opacity: 1;
    min-height: 44px;
    margin: 0;
    flex: 0 0 auto;
    padding: 0 0.85rem;
    gap: 0.35rem;
  }
  #projectsArchive .art-listing-search .art-filter-col-show[hidden] {
    display: inline-flex !important;
  }
  #projectsArchive .art-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    background: #141518;
    color: #fff;
    font-size: 0.68rem;
    letter-spacing: 0;
    line-height: 1;
  }
  #projectsArchive .art-listing-body,
  #projectsArchive .art-listing-body.is-col-hidden {
    grid-template-columns: 1fr;
    padding: 0;
  }
  #projectsArchive .art-filter-col { display: none; }
  #projectsArchive .art-listing-body.is-sheet-open .art-filter-col {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: auto;
    max-height: min(78dvh, 34rem);
    overflow: hidden;
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    background: #f9f9f7;
    border: 0;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -12px 40px rgba(17, 17, 17, 0.18);
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    animation: fh-sheet-in 0.28s ease;
  }
  #projectsArchive .art-listing-body.is-sheet-open.is-sheet-closing .art-filter-col {
    animation: fh-sheet-out 0.22s ease forwards;
  }
  #projectsArchive .art-filter-sheet-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.35rem 0.9rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }
  #projectsArchive .art-filter-sheet-handle {
    width: 2.4rem;
    height: 0.28rem;
    border-radius: 999px;
    background: #c8c8c4;
    margin: 0.35rem auto 0.15rem;
    flex: 0 0 auto;
  }
  #projectsArchive .art-listing-body.is-sheet-open .art-filter-col-hide { display: none; }
  #projectsArchive .art-listing-body.is-sheet-open .art-filter-col .art-filter-label { margin: 0 0 0.45rem; }
  #projectsArchive .art-listing-body.is-sheet-open .art-filter-col .art-dd-btn { display: none; }
  #projectsArchive .art-listing-body.is-sheet-open .art-filter-col .art-dd-panel {
    display: flex !important;
    flex-wrap: wrap;
    position: static !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    top: auto !important;
    left: auto !important;
    margin: 0;
    padding: 0;
    gap: 0.4rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  #projectsArchive .art-listing-body.is-sheet-open .art-filter-col .art-theme-opt {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.3rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    color: #141518;
    text-align: center;
  }
  #projectsArchive .art-listing-body.is-sheet-open .art-filter-col .art-theme-opt.on {
    background: #141518;
    color: #fff;
    border-color: #141518;
  }
  #projectsArchive .art-filter-sheet-bar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid #e2e3e5;
    background: #f9f9f7;
  }
  #projectsArchive .art-filter-clear {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 0.7rem;
    border: 0;
    background: none;
    color: #6e7175;
    font-family: Inter, Helvetica, sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }
  #projectsArchive .art-filter-apply {
    flex: 1 1 auto;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: #141518;
    color: #fff;
    font-family: Inter, Helvetica, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }
  #projectsArchive .art-listing-search .art-filter-active {
    display: flex;
    flex: 1 0 100%;
    gap: 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
  }
  #projectsArchive .art-listing-search .art-filter-active[hidden] { display: none !important; }
  #projectsArchive .art-filter-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-height: 36px;
    padding: 0 0.65rem;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    color: #141518;
    font-family: Inter, Helvetica, sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
  }
  #projectsArchive .art-filter-chip span { font-size: 0.9rem; line-height: 1; letter-spacing: 0; }
  #projectsArchive .art-filter-scrim,
  .art-filter-scrim { transition: opacity 0.22s ease; }
  #projectsArchive .art-filter-scrim.is-sheet-closing,
  .art-filter-scrim.is-sheet-closing { opacity: 0; }
  @keyframes fh-sheet-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
  @keyframes fh-sheet-out { from { transform: translateY(0); } to { transform: translateY(100%); } }
  @media (prefers-reduced-motion: reduce) {
    #projectsArchive .art-listing-body.is-sheet-open .art-filter-col,
    #projectsArchive .art-listing-body.is-sheet-open.is-sheet-closing .art-filter-col,
    .art-filter-scrim { animation: none; transition: none; }
  }
  #projectsArchive .art-filter-split { display: none; }
  #projectsArchive .art-listing-main .portfolio-grid {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  #projectsArchive .art-filter-scrim,
  .art-filter-scrim {
    position: fixed;
    inset: 0;
    z-index: 70;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(17, 17, 17, 0.38);
    cursor: pointer;
  }
  html.fh-filter-sheet { overflow: hidden; }
}
@media (max-width: 640px) {
  #projectsArchive .pj-listing-body { padding-left: 0; padding-right: 0; }
  #projectsArchive .art-listing-search { padding-left: 0.8rem; padding-right: 0.8rem; }
  #projectsArchive .art-filter-sheet-scroll { padding-left: 0.8rem; padding-right: 0.8rem; }
  #projectsArchive .art-listing-main .portfolio-grid {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
}
/* Archive title/location: thin etched band, always visible, one row. */
#projectsArchive .portfolio-card {
  gap: 0;
}
#projectsArchive .portfolio-card-media > img {
  transition: transform 0.65s ease;
}
#projectsArchive .portfolio-card-media > .photo-rights-sub {
  display: none !important;
}
#projectsArchive .portfolio-card-hover {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.65rem;
  padding: 0.42rem 0.75rem 0.26rem;
  box-sizing: border-box;
  background: rgba(249, 249, 247, 0.7);
  box-shadow: 0 -6px 18px rgba(20, 21, 24, 0.12);
  border-radius: 0 0 12px 12px;
  z-index: 7;
  pointer-events: none;
}
#projectsArchive .portfolio-card-hover .portfolio-card-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(0.58rem, 1.35vw, 0.78rem);
  line-height: 1.15;
  margin: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #1a1a1a;
}
#projectsArchive .portfolio-card-hover .portfolio-card-location {
  flex: 0 1 auto;
  max-width: 46%;
  min-width: 0;
  font-size: 0.46rem;
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Slightly lighter than the name. #404040 on the 70% cream overlay stays above 4.5:1 over black. */
  color: #404040;
  opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
  #projectsArchive .portfolio-card:hover .portfolio-card-media > img {
    transform: translate3d(0.8%, -1%, 0) scale(calc(var(--thumb-zoom, 1) * 1.04));
  }
}
@media (prefers-reduced-motion: reduce) {
  #projectsArchive .portfolio-card-media > img,
  #projectsArchive .portfolio-card-media > img[data-thumb-zoom],
  #projectsArchive .portfolio-card:hover .portfolio-card-media > img,
  #projectsArchive .portfolio-card:hover .portfolio-card-media > img[data-thumb-zoom] {
    transition: none;
    transform: scale(var(--thumb-zoom, 1));
  }
  #projectsArchive .art-listing-body,
  #projectsArchive .art-filter-col,
  #projectsArchive .art-filter-col-show { transition: none; }
}

/* Archive page swap — off-page cards stay out of the grid (author display:flex beats [hidden]) */
#projectsArchive .portfolio-card[hidden],
#projectsArchive .portfolio-card.is-offpage {
  display: none !important;
}
#projectsArchive .portfolio-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.55rem;
  max-width: 1400px;
  margin: 0.15rem auto 0;
  padding: 0.35rem 2rem 2.75rem;
  position: relative;
}
#projectsArchive .portfolio-pager[hidden] { display: none !important; }
#projectsArchive .portfolio-pager-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
#projectsArchive .portfolio-pager button {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  min-width: 2.15rem;
  padding: 0.62rem 0.75rem;
  border-radius: 2px;
  cursor: pointer;
}
#projectsArchive .portfolio-pager button[data-pager="prev"],
#projectsArchive .portfolio-pager button[data-pager="next"] {
  padding-left: 0.95rem;
  padding-right: 0.95rem;
}
#projectsArchive .portfolio-pager button[aria-current="page"] {
  background: rgba(255, 255, 255, 0.92);
  color: #141518;
  border-color: transparent;
}
#projectsArchive .portfolio-pager button:hover:not(:disabled):not([aria-current="page"]) {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
#projectsArchive .portfolio-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}
#projectsArchive .portfolio-pager button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
html.fh-house-light #projectsArchive .portfolio-pager button:focus-visible,
body.day-mode #projectsArchive .portfolio-pager button:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 3px;
}
html.fh-house-light #projectsArchive .portfolio-pager button,
body.day-mode #projectsArchive .portfolio-pager button {
  border-color: rgba(0, 0, 0, 0.16);
  color: #1a1a1a;
}
html.fh-house-light #projectsArchive .portfolio-pager button[aria-current="page"],
body.day-mode #projectsArchive .portfolio-pager button[aria-current="page"] {
  background: #1a1a1a;
  color: #f7f6f3;
  border-color: #1a1a1a;
}
html.fh-house-light #projectsArchive .portfolio-pager button:hover:not(:disabled):not([aria-current="page"]),
body.day-mode #projectsArchive .portfolio-pager button:hover:not(:disabled):not([aria-current="page"]) {
  border-color: rgba(0, 0, 0, 0.45);
  color: #1a1a1a;
}
#projectsArchive .portfolio-pager-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 640px) {
  #projectsArchive .portfolio-pager { padding-left: 1.25rem; padding-right: 1.25rem; }
}

nav.nav a.on { color: var(--gold); }
.portfolio-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: #9a9ca1;
  font-size: 0.9rem;
}
body.day-mode .portfolio-empty { color: #666; }
body.day-mode .footer-col h4,
body.day-mode .footer .nav-logo { color: #1a1a1a; }
body.day-mode .footer-col a,
body.day-mode .footer-brand p { color: #6e7175; }
body.day-mode .portfolio-tab { color: #1a1a1a; border-color: #ddd; }

/* Four Fields: light cards. Re-assert grid under house/light so it cannot flatten. */
#ordering.four-fields {
  background: #f9f9f7;
  color: #1a1a1a;
  padding: 6rem 2rem 7rem;
}
#ordering.four-fields .section-title { color: #1a1a1a; }
#ordering.four-fields .section-desc { color: #666; }
#ordering.four-fields .section-eyebrow { color: #6e7175; }
#ordering.four-fields .four-fields-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
#ordering.four-fields .order-fields,
html.fh-house-light #ordering.four-fields .order-fields,
body.day-mode #ordering.four-fields .order-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
  width: 100%;
}
#ordering.four-fields .order-card,
html.fh-house-light #ordering.four-fields .order-card,
body.day-mode #ordering.four-fields .order-card {
  background: #fff;
  border: 1px solid #ececec;
  border-top: 2px solid #1a1a1a;
  border-radius: 10px;
  padding: 1.5rem 1.1rem 1.35rem;
  text-align: center;
  color: #1a1a1a;
  min-width: 0;
}
#ordering.four-fields .order-lbl {
  font-family: var(--sans, Inter, sans-serif);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a7a7a;
  font-weight: 600;
}
#ordering.four-fields .order-val,
html.fh-house-light #ordering.four-fields .order-val,
body.day-mode #ordering.four-fields .order-val {
  font-family: var(--serif, "Cormorant Garamond", Georgia, serif);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0.45rem 0 0.35rem;
  color: #1a1a1a;
}
#ordering.four-fields .order-hint,
html.fh-house-light #ordering.four-fields .order-hint,
body.day-mode #ordering.four-fields .order-hint {
  font-size: 0.72rem;
  color: #6e7175;
  line-height: 1.4;
}
#ordering.four-fields .order-example {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
  border-radius: 8px;
  padding: 0.95rem 1.25rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 2.75rem;
}
#ordering.four-fields .order-codes-head {
  font-family: var(--sans, Inter, sans-serif);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6e7175;
  margin: 0 0 1rem;
}
#ordering.four-fields .order-code-table,
html.fh-house-light #ordering.four-fields .order-code-table,
body.day-mode #ordering.four-fields .order-code-table {
  display: grid;
  width: 100%;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  overflow: hidden;
}
#ordering.four-fields .order-code-row,
html.fh-house-light #ordering.four-fields .order-code-row,
body.day-mode #ordering.four-fields .order-code-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #ececec;
  align-items: start;
}
#ordering.four-fields .order-code-row:last-child { border-bottom: none; }
#ordering.four-fields .order-code-label {
  font-family: var(--sans, Inter, sans-serif);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a7a;
  padding-top: 0.2rem;
}
#ordering.four-fields .order-code-explain {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #3a3c42;
}
#ordering.four-fields .order-code-explain a {
  color: #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}
#ordering.four-fields .order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  width: 100%;
}
#ordering.four-fields .order-actions .btn-primary {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #1a1a1a;
}
#ordering.four-fields .order-actions .btn-primary:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}
#ordering.four-fields .order-actions .btn-outline {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}
#ordering.four-fields .order-actions .btn-outline:hover {
  background: #1a1a1a;
  color: #fff;
}
@media (max-width: 900px) {
  #ordering.four-fields .order-fields,
  html.fh-house-light #ordering.four-fields .order-fields,
  body.day-mode #ordering.four-fields .order-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  #ordering.four-fields .order-fields,
  html.fh-house-light #ordering.four-fields .order-fields,
  body.day-mode #ordering.four-fields .order-fields {
    display: grid;
    grid-template-columns: 1fr;
  }
  #ordering.four-fields .order-code-row,
  html.fh-house-light #ordering.four-fields .order-code-row,
  body.day-mode #ordering.four-fields .order-code-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* Device widths: phone <=900, laptop 901-1440, desktop 1441+ / 1600+ */
@media (min-width: 1441px) {
  .section { padding-left: 3.5rem; padding-right: 3.5rem; }
  .categories-grid { max-width: 1600px; gap: 1.75rem; }
  .portfolio-grid { max-width: 1600px; }
  #projectsArchive .pj-listing-body,
  #projectsArchive .portfolio-pager { max-width: 1600px; }
  .trusted .set { gap: 5.2rem; padding: 0 2.6rem; }
  .trusted .mark img { height: 56px; }
}
@media (min-width: 1600px) {
  .section { padding-left: 4.5rem; padding-right: 4.5rem; }
  .categories-grid { max-width: 1760px; }
  .portfolio-grid { max-width: 1760px; }
  #projectsArchive .pj-listing-body,
  #projectsArchive .portfolio-pager { max-width: 1760px; }
  .trusted .set { gap: 5.8rem; padding: 0 3rem; }
}
@media (max-width: 1440px) {
  .section { padding-left: 2.25rem; padding-right: 2.25rem; }
  .categories-grid { max-width: 1180px; }
  .cap-card h3 { font-size: 1.9rem; }
  .portfolio-grid { max-width: 1180px; }
  #projectsArchive .pj-listing-body,
  #projectsArchive .portfolio-pager { max-width: 1180px; }
}

/* Fixed back pill over full-bleed frame studio — same layout as projects */
.studio-back {
  position: fixed;
  top: 5.6rem;
  left: 1.25rem;
  z-index: 4510;
  margin: 0;
}
.studio-back:hover {
  background: #f6f6f4;
  border-color: rgba(20, 21, 24, 0.35);
  color: #141518 !important;
}

/* Phone only. Laptop rules above stay as they are. */
@media (hover: none) {
  .product-card:hover .product-card-quick { opacity: 0; }
  .product-card:hover .product-card-img img,
  .category-card:hover img,
  .insta-card:hover img { transform: none; }
  .insta-card:hover img { filter: none; }
  .insta-card:hover .insta-card-overlay { opacity: 0; }
  .how-info-btn { position: relative; }
  .how-info-btn::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 900px) {
  .modal-close,
  .img-lightbox .lightbox-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .modal-close { top: 0.65rem; right: 0.65rem; }
  .form-group input,
  .form-group textarea,
  .form-group select,
  .fld,
  #projectsArchive .art-search {
    font-size: 16px;
  }
  .form-submit,
  .btn-primary,
  .btn-outline,
  .filter-btn,
  .pager-btn,
  #projectsArchive .art-filter-col-hide,
  #projectsArchive .art-filter-col-show,
  #projectsArchive .art-dd-btn,
  #projectsArchive .portfolio-pager button {
    min-height: 44px;
  }
  .project-info-arrow { width: 44px; height: 44px; }
  .img-lightbox .lightbox-prev { left: 0.45rem; }
  .img-lightbox .lightbox-next { right: 0.45rem; }
  .img-lightbox img { max-width: calc(100% - 1rem); max-height: calc(100dvh - 6.5rem); }
  .studio-back { top: 4.4rem; left: max(0.65rem, env(safe-area-inset-left)); min-height: 44px; }
}
@media (max-width: 640px) {
  .section { padding: 2.75rem 1rem; }
  .contact-details-grid { grid-template-columns: 1fr; }
  .footer-bottom .footer-rights { padding: 0 0.25rem; }
}
@media (max-width: 480px) {
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; max-width: 22rem; }
}
