/* =============================================
   BRI CHEW PHOTOS — Design System
   Warm Editorial | Brand + Lifestyle Photographer
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Jost:wght@200;300;400;500&display=swap');

/* ===== TOKENS ===== */
:root {
  /* ---- Palette: Piscine / Chartreuse / Dragée / Corail / Crème ---- */
  --creme:            #F5F0E8;   /* warm off-white */
  --ivory:            #F5F0E8;   /* alias → crème */
  --cream:            #F0EAE1;   /* slightly deeper crème for subtle layers */
  --piscine:          #8AAFC2;   /* dusty blue */
  --chartreuse:       #D9BE50;   /* warm golden yellow */
  --dragee:           #EDCAD6;   /* soft candy pink */
  --corail:           #E07050;   /* coral orange */
  /* Legacy accent tokens kept for buttons / text / accents */
  --terracotta:       #C45F3F;
  --terracotta-light: #E8907A;
  --sage:             #008471;
  --sage-light:       #5BA898;
  --sun:              #D9BE50;   /* remapped → chartreuse yellow */
  --bubblegum:        #EDCAD6;   /* remapped → dragée */
  --sky:              #8AAFC2;   /* remapped → piscine */
  --lavender:         #D1CAEA;
  --charcoal:         #3A3028;
  --charcoal-mid:     #6B5E52;
  --charcoal-light:   #9A8E84;
  --gold:             #C9A84C;
  --white:            #FFFFFF;
  --coral-soft:       #F9C0B0;   /* light candy coral for about strip / recent work / CTA */
  --sage-pale:        #C8D4A5;   /* olive cream sage for alternating sections */
  --blush:            #EDCAD6;   /* remapped → dragée */
  --sky-bg:           #8AAFC2;   /* remapped → piscine */

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, -apple-system, sans-serif;
  --font-hand:  'Caveat', cursive;

  --max-w:   1240px;
  --nav-h:   76px;
  --pad-x:   48px;

  --shadow-sm:   0 4px 20px rgba(58,48,40,0.10);
  --shadow-card: 0 8px 40px rgba(58,48,40,0.16);
  --shadow-lift: 0 18px 60px rgba(58,48,40,0.22);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    0.3s var(--ease);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ===== TYPOGRAPHY ===== */
.t-display {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.t-xl {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.05;
}

.t-lg {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.12;
}

.t-md {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.2;
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.body-lg { font-size: 1.1rem; line-height: 1.78; color: var(--charcoal-mid); }
.body-sm { font-size: 0.875rem; line-height: 1.65; color: var(--charcoal-light); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: 1px;
  transition: background var(--t), color var(--t), transform var(--t), border-color var(--t);
  cursor: pointer;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--ivory);
}
.btn-primary:hover {
  background: var(--charcoal);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--ivory);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(249,245,238,0.5);
}
.btn-outline-light:hover {
  background: var(--ivory);
  color: var(--charcoal);
  border-color: var(--ivory);
}

.btn-ghost {
  background: transparent;
  color: var(--terracotta);
  padding: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  position: relative;
}
.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width var(--t);
}
.btn-ghost:hover::after { width: 100%; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section        { padding: 120px 0; }
.section-sm     { padding: 72px 0; }
.section-xs     { padding: 48px 0; }

.bg-ivory       { background: var(--creme); }
.bg-cream       { background: var(--cream); }
.bg-sage        { background: var(--sage-light); }
.bg-dark        { background: var(--charcoal); }
.bg-blush       { background: var(--dragee); }
.bg-sky         { background: var(--piscine); }
.bg-chartreuse  { background: var(--chartreuse); }
.bg-dragee      { background: var(--dragee); }
.bg-piscine     { background: var(--piscine); }
.bg-corail      { background: var(--corail); }
.bg-coral-soft  { background: var(--coral-soft); }
/* Tonal text on coral-soft — deeper coral so it reads as "same family, darker" */
.bg-coral-soft .eyebrow { color: var(--corail); }
.bg-coral-soft h1, .bg-coral-soft h2, .bg-coral-soft h3,
.bg-coral-soft .t-xl, .bg-coral-soft .t-lg { color: var(--corail); }
.bg-coral-soft .body-lg, .bg-coral-soft .body-sm { color: var(--terracotta); }
.bg-coral-soft .handwrite { color: var(--corail) !important; }
.bg-sage-pale   { background: var(--sage-pale); }

.text-center { text-align: center; }
.color-ivory { color: var(--ivory); }
.color-light { color: rgba(249,245,238,0.65); }

/* ===== PHOTO CARD ===== */
.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  background: var(--cream);
}
.photo-card img,
.photo-card .photo-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.photo-card:hover { box-shadow: var(--shadow-lift); }
.photo-card:hover img,
.photo-card:hover .photo-fill { transform: scale(1.03); }

/* Photo palette variants */
.ph-warm    { background: linear-gradient(145deg, #DFA898 0%, #C9846A 100%); }
.ph-sage    { background: linear-gradient(145deg, #B9CDB5 0%, #8FA88A 100%); }
.ph-gold    { background: linear-gradient(145deg, #D9C07A 0%, #C9A84C 100%); }
.ph-neutral { background: linear-gradient(145deg, #D8CDBE 0%, #B8A898 100%); }
.ph-deep    { background: linear-gradient(145deg, #8FA88A 0%, #5A7A5C 100%); }

/* Label inside placeholder */
.photo-fill::after {
  content: attr(data-label);
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  pointer-events: none;
}
.photo-fill { display: flex; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(58,48,40,0.08);
  transition: background var(--t), box-shadow var(--t);
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(58,48,40,0.10);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.55rem;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  transition: color var(--t);
}
.nav-logo:hover { color: var(--terracotta); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  transition: color var(--t);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--terracotta);
  transition: width var(--t);
}
.nav-links a:hover,
.nav-links a.active { color: var(--charcoal); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1.5px solid var(--terracotta);
  padding-bottom: 2px;
  transition: color var(--t);
}
.nav-cta:hover { color: var(--terracotta); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--t);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--pad-x);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
.nav-drawer.open {
  opacity: 1;
  pointer-events: all;
}
.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}
.nav-drawer-links a {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  color: var(--charcoal);
  transition: color var(--t);
}
.nav-drawer-links a:hover { color: var(--terracotta); }
.nav-drawer-sub {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--charcoal-light);
  text-transform: uppercase;
}

/* ===== HOMEPAGE HERO ===== */
.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
  background: var(--ivory);
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px var(--pad-x) 44px 80px;
  max-width: 580px;
}
.hero-content .eyebrow { margin-bottom: 20px; }
.hero-content .t-display { margin-bottom: 28px; }
.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--charcoal-mid);
  line-height: 1.6;
  margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-photos {
  position: relative;
  overflow: hidden;
  min-height: 460px;
}

/* Animated card shuffle */
.hero-photo {
  position: absolute;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 2/3;
  transition:
    width  0.9s var(--ease),
    top    0.9s var(--ease),
    left   0.9s var(--ease),
    transform 0.9s var(--ease),
    opacity   0.9s var(--ease),
    box-shadow 0.9s var(--ease);
}
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-photo.pos-front {
  width: 40%; top: 50%; left: 4%;
  transform: translateY(-52%) rotate(-4deg);
  z-index: 3; opacity: 1;
  box-shadow: var(--shadow-lift);
}
.hero-photo.pos-mid {
  width: 34%; top: 8%; left: 50%;
  transform: rotate(3.5deg);
  z-index: 2; opacity: 0.88;
  box-shadow: var(--shadow-card);
}
.hero-photo.pos-back {
  width: 25%; top: 54%; left: 44%;
  transform: translateY(-15%) rotate(-1.5deg);
  z-index: 1; opacity: 0.72;
  box-shadow: var(--shadow-sm);
}


/* ===== ABOUT STRIP ===== */
.about-strip { background: var(--coral-soft); padding: 80px 0; }
.about-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.about-strip-text { flex: 0 1 480px; }
.about-strip-photo {
  width: 380px;
  flex-shrink: 0;
  position: relative;
}
.about-strip-photo img {
  display: block;
  width: 100%;
  transform: rotate(8deg);
  transform-origin: center center;
}
.about-strip-photo .photo-fill { position: absolute; inset: 0; }
.polaroid-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 1px;
}
.polaroid-inner img,
.polaroid-inner .photo-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== SERVICES GRID ===== */
.services-intro {
  padding: 80px 0 56px;
  background: var(--ivory);
  text-align: center;
}
.services-intro .t-xl { margin-top: 12px; margin-bottom: 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 0;
  padding-bottom: 64px;
}
.service-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.service-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-bg { transform: scale(1.05); }
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58,48,40,0.72) 0%, rgba(58,48,40,0.1) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
  opacity: 0.75;
  transition: opacity var(--t);
}
.service-card:hover .service-overlay { opacity: 1; }
.service-overlay .eyebrow { color: rgba(249,245,238,0.7); margin-bottom: 8px; }
.service-overlay h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 14px;
}
.service-overlay .arrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(249,245,238,0.65);
  transition: color var(--t), letter-spacing var(--t);
}
.service-card:hover .arrow {
  color: var(--ivory);
  letter-spacing: 0.25em;
}

/* ===== PHOTO CAROUSEL (auto-marquee) ===== */
.carousel-outer {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  animation: carousel-scroll 24s linear infinite;
  width: max-content;
}
.carousel-track:hover {
  animation-play-state: paused;
}
.carousel-slide {
  flex-shrink: 0;
  width: 220px;
  aspect-ratio: 3/4;
  margin-right: 12px;
  overflow: hidden;
  border-radius: 2px;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.carousel-slide:hover img { transform: scale(1.04); }
/* Seamless loop: 10 slides × (220 + 12) = 2320px total; -50% = first set */
@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== LOGOS BAR ===== */
.logos-bar {
  padding: 52px 0;
  border-top: 1px solid rgba(58,48,40,0.1);
  border-bottom: 1px solid rgba(58,48,40,0.1);
  position: relative;
}
/* Scroll-hint fade overlays on left and right edges */
.logos-bar::before,
.logos-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.logos-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--creme) 20%, transparent 100%);
}
.logos-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--creme) 20%, transparent 100%);
}
.logos-label {
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  text-align: center;
  margin-bottom: 36px;
}
.logos-marquee {
  overflow: hidden;
  position: relative;
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  padding: 8px 40px;
  animation: logos-scroll 38s linear infinite;
}
.logos-track:hover { animation-play-state: paused; }
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-name {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  opacity: 0.55;
  transition: opacity var(--t);
  flex-shrink: 0;
}
.logo-name:hover { opacity: 1; }
.logo-img {
  height: 52px;
  width: auto;
  max-width: 160px;
  flex-shrink: 0;
  object-fit: contain;
}

/* ===== PROCESS STEPS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  counter-reset: steps;
}
.step {
  counter-increment: steps;
  padding-top: 52px;
  position: relative;
}
.step::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-serif);
  font-size: 3.2rem;
  color: var(--terracotta);
  opacity: 0.35;
  line-height: 1;
}
.step-divider {
  width: 32px;
  height: 1px;
  background: var(--terracotta);
  margin-bottom: 16px;
  opacity: 0.5;
}
.step h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}

/* ===== TESTIMONIAL ===== */
.testimonial-wrap {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.t-quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--terracotta);
  opacity: 0.3;
  margin-bottom: 24px;
  display: block;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  line-height: 1.45;
  color: var(--charcoal);
  margin-bottom: 32px;
}
.testimonial-author {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--coral-soft);
  padding: 110px 0;
  text-align: center;
}
.cta-banner .t-xl { color: var(--corail); margin-bottom: 16px; }
.cta-banner .body-lg { color: var(--terracotta); margin-bottom: 48px; }
.cta-banner .color-light { color: var(--terracotta); }
.cta-banner .handwrite { color: var(--corail) !important; }
/* Button on coral-soft — solid corail */
.cta-banner .btn-primary {
  background: var(--corail);
  color: var(--creme);
  border: 1.5px solid var(--corail);
}
.cta-banner .btn-primary:hover {
  background: var(--charcoal);
  color: var(--creme);
  border-color: var(--charcoal);
  transform: translateY(-1px);
}
.cta-banner .btn-outline-light {
  color: var(--charcoal);
  border-color: rgba(58,48,40,0.35);
}
.cta-banner .btn-outline-light:hover {
  background: var(--charcoal);
  color: var(--creme);
}

/* CTA on piscine background — light text + crème button */
.cta-banner.bg-piscine { background: var(--piscine); }
.cta-banner.bg-piscine .t-xl { color: var(--creme); }
.cta-banner.bg-piscine .body-lg,
.cta-banner.bg-piscine .color-light { color: rgba(245,240,232,0.88); }
.cta-banner.bg-piscine .handwrite { color: rgba(245,240,232,0.8) !important; }
.cta-banner.bg-piscine .btn-primary {
  background: var(--creme);
  color: var(--piscine);
  border-color: var(--creme);
}
.cta-banner.bg-piscine .btn-primary:hover {
  background: var(--charcoal);
  color: var(--creme);
  border-color: var(--charcoal);
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-light);
}
.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--charcoal);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(58,48,40,0.18);
  padding: 12px 0;
  outline: none;
  transition: border-color var(--t);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--charcoal-light); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--terracotta); }
.form-textarea { resize: none; height: 130px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A8E84' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }

.contact-info { padding-top: 16px; }
.contact-detail { margin-bottom: 36px; }
.contact-detail .eyebrow { margin-bottom: 8px; }
.contact-detail p { font-size: 0.95rem; color: var(--charcoal-mid); line-height: 1.6; }

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  padding-top: var(--nav-h);
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
/* Light text on any piscine background */
.bg-piscine .eyebrow { color: rgba(245,240,232,0.72); }
.bg-piscine h1, .bg-piscine h2, .bg-piscine h3,
.bg-piscine .t-xl, .bg-piscine .t-lg { color: var(--creme); }
.bg-piscine .body-lg, .bg-piscine .body-sm { color: rgba(245,240,232,0.88); }
.bg-piscine .handwrite { color: rgba(245,240,232,0.8) !important; }
/* Light text variant — for colored hero backgrounds (e.g. piscine) */
.page-hero.bg-piscine .eyebrow { color: rgba(245,240,232,0.72); }
.page-hero.bg-piscine h1,
.page-hero.bg-piscine .t-xl { color: var(--creme); }
.page-hero.bg-piscine .body-lg { color: rgba(245,240,232,0.88); }
.page-hero.bg-piscine .handwrite { color: rgba(245,240,232,0.8) !important; }
.page-hero.bg-piscine .btn-primary {
  background: var(--creme);
  color: var(--piscine);
  border-color: var(--creme);
}
.page-hero.bg-piscine .btn-primary:hover {
  background: var(--charcoal);
  color: var(--creme);
  border-color: var(--charcoal);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
}
.page-hero-photos {
  position: relative;
  height: 520px;
}
.php-1 {
  position: absolute;
  width: 56%;
  aspect-ratio: 2 / 3;
  top: 0; left: 0;
  transform: rotate(-3.5deg);
  z-index: 2;
  box-shadow: var(--shadow-card);
  border-radius: 2px;
  overflow: hidden;
}
.php-2 {
  position: absolute;
  width: 50%;
  aspect-ratio: 3 / 4;
  top: 14%; right: 0;
  transform: rotate(3deg);
  z-index: 3;
  box-shadow: var(--shadow-card);
  border-radius: 2px;
  overflow: hidden;
}
.php-3 {
  position: absolute;
  width: 40%;
  aspect-ratio: 1 / 1;
  bottom: 0; left: 24%;
  transform: rotate(-1.5deg);
  z-index: 1;
  box-shadow: var(--shadow-card);
  border-radius: 2px;
  overflow: hidden;
}
.php-1 .photo-fill,
.php-2 .photo-fill,
.php-3 .photo-fill { position: absolute; inset: 0; }

/* ===== PAGE HERO SHUFFLE (brands page animated cards) ===== */
.php-card {
  position: absolute;
  border-radius: 2px;
  overflow: hidden;
  background: #ffffff;
  aspect-ratio: 2/3;
  transition:
    width      0.9s var(--ease),
    top        0.9s var(--ease),
    left       0.9s var(--ease),
    transform  0.9s var(--ease),
    opacity    0.9s var(--ease),
    box-shadow 0.9s var(--ease);
}
.php-card img {
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 52px;
  width: calc(100% - 16px);
  height: calc(100% - 60px);
  object-fit: cover;
  display: block;
}
.php-p1 {
  width: 54%; top: 4%; left: 2%;
  transform: rotate(-3.5deg);
  z-index: 5; opacity: 1;
  box-shadow: var(--shadow-lift);
}
.php-p2 {
  width: 48%; top: 10%; left: 44%;
  transform: rotate(3deg);
  z-index: 4; opacity: 0.92;
  box-shadow: var(--shadow-card);
}
.php-p3 {
  width: 41%; top: 48%; left: 24%;
  transform: rotate(-1.5deg);
  z-index: 3; opacity: 0.82;
  box-shadow: var(--shadow-card);
}
.php-p4 {
  width: 36%; top: 50%; left: 52%;
  transform: rotate(2deg);
  z-index: 2; opacity: 0.68;
  box-shadow: var(--shadow-sm);
}
.php-p5 {
  width: 30%; top: 6%; left: 30%;
  transform: rotate(-2deg);
  z-index: 1; opacity: 0.50;
  box-shadow: var(--shadow-sm);
}

/* ===== PORTRAIT SERVICES ===== */
.portrait-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(58,48,40,0.12);
  margin-bottom: 64px;
  overflow-x: auto;
  scrollbar-width: none;
}
.portrait-tabs::-webkit-scrollbar { display: none; }
.ptab {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  padding: 16px 32px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--t), border-color var(--t);
  white-space: nowrap;
  flex-shrink: 0;
}
.ptab:hover { color: var(--charcoal); }
.ptab.active { color: var(--terracotta); border-bottom-color: var(--terracotta); }

.portrait-panel { display: none; }
.portrait-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.portrait-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.portrait-photos .photo-card { position: relative; aspect-ratio: 2/3; }
.portrait-photos .photo-card .photo-fill { position: absolute; inset: 0; }
.portrait-photos .photo-card:nth-child(2) { margin-top: 40px; }
.portrait-photos .photo-card:nth-child(3) { margin-top: -20px; grid-column: 1; }
.portrait-photos .photo-card:nth-child(4) { }

/* ===== BRANDS PORTFOLIO GRID ===== */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 400px);
  gap: 4px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.brand-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
/* Row heights controlled by grid — aspect-ratio no longer needed */
.brand-item-tall { }
.brand-item-wide { }
.brand-item-sq   { }
.brand-item .photo-fill {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease);
}
.brand-item:hover .photo-fill { transform: scale(1.04); }
.brand-item-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 20px 16px;
  background: linear-gradient(to top, rgba(58,48,40,0.6), transparent);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(249,245,238,0.8);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t), transform var(--t);
}
.brand-item:hover .brand-item-label { opacity: 1; transform: translateY(0); }

/* ===== PORTRAIT LANDING (subpage cards) ===== */
.portrait-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 56px;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.portrait-landing-card {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  display: block;
  cursor: pointer;
}
.portrait-landing-card .plc-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease);
}
.portrait-landing-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.portrait-landing-card:hover img,
.portrait-landing-card:hover .plc-bg { transform: scale(1.05); }
.portrait-landing-card .plc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58,48,40,0.72) 0%, rgba(58,48,40,0.08) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
  opacity: 0.75;
  transition: opacity var(--t);
}
.portrait-landing-card:hover .plc-overlay { opacity: 1; }
.portrait-landing-card .plc-overlay .eyebrow { color: rgba(249,245,238,0.7); margin-bottom: 8px; }
.portrait-landing-card .plc-overlay h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 14px;
}
.portrait-landing-card .arrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(249,245,238,0.65);
  transition: color var(--t), letter-spacing var(--t);
}
.portrait-landing-card:hover .arrow {
  color: var(--ivory);
  letter-spacing: 0.25em;
}

/* ===== ABOUT PAGE ===== */
.about-split {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}
.about-hero-photo {
  width: 380px;
  flex-shrink: 0;
  position: relative;
  margin-top: 40px;
  margin-left: -24px;
}
.two-col-text-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.about-photos-stack {
  position: relative;
  height: 560px;
  flex-shrink: 0;
}
.aps-1 {
  position: absolute;
  width: 70%;
  aspect-ratio: 3/4;
  top: 0; left: 0;
  transform: rotate(-2.5deg);
  z-index: 2;
  box-shadow: var(--shadow-card);
  border-radius: 2px;
  overflow: hidden;
}
.aps-2 {
  position: absolute;
  width: 55%;
  aspect-ratio: 4/5;
  top: 20%; right: 0;
  transform: rotate(3deg);
  z-index: 3;
  box-shadow: var(--shadow-lift);
  border-radius: 2px;
  overflow: hidden;
}
.aps-3 {
  position: absolute;
  width: 48%;
  aspect-ratio: 1/1;
  bottom: 0; left: 15%;
  transform: rotate(-1deg);
  z-index: 1;
  box-shadow: var(--shadow-sm);
  border-radius: 2px;
  overflow: hidden;
}
.aps-1 .photo-fill,
.aps-2 .photo-fill,
.aps-3 .photo-fill { position: absolute; inset: 0; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}
.value-item { padding: 32px; background: var(--cream); border-radius: 2px; }
.value-item .eyebrow { margin-bottom: 10px; }
.value-item h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}

/* ===== DIVIDER ===== */
.ornament {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--terracotta);
  font-size: 1.1rem;
  opacity: 0.5;
  margin: 0 0 32px;
  letter-spacing: 0.3em;
}

/* ===== PHOTO IMG (real photos replacing placeholders) ===== */
.photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.hero-photo img,
.php-1 img, .php-2 img, .php-3 img,
.aps-1 img, .aps-2 img, .aps-3 img,
.service-bg img, .brand-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.brand-item:hover img { transform: scale(1.04); }
.service-card:hover .service-bg img { transform: scale(1.05); }

/* ===== FADE-IN ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.32s; }

/* ===== FOOTER ===== */
.footer {
  background: var(--creme);
  border-top: 1px solid rgba(58,48,40,0.1);
}
.footer-main {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
}
.footer-logo-block a {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--charcoal);
  display: block;
  margin-bottom: 14px;
}
.footer-tagline { font-size: 0.875rem; color: var(--charcoal-mid); line-height: 1.65; }
.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col-links a {
  font-size: 0.875rem;
  color: var(--charcoal-mid);
  transition: color var(--t);
}
.footer-col-links a:hover { color: var(--charcoal); }
.footer-bottom {
  border-top: 1px solid rgba(58,48,40,0.12);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 0.72rem; color: var(--charcoal-light); }

.session-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 60px var(--pad-x); max-width: 100%; text-align: center; }
  .hero-content .hero-actions { justify-content: center; }
  .hero-photos { height: 55vw; min-height: 360px; }

  .about-strip-inner { flex-direction: column-reverse; gap: 40px; }
  .about-strip-photo { width: 220px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { aspect-ratio: 16/9; }

  .carousel-slide { width: 180px; }
  .cg-1, .cg-2, .cg-3, .cg-4, .cg-5 { transform: none; margin: 0; }
  .cg-2 { grid-row: span 1; }

  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .page-hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .page-hero-photos { display: none; }
  .page-hero { min-height: auto; }

  .about-split { grid-template-columns: 1fr; gap: 60px; }
  .about-hero-photo { width: 100%; max-width: 340px; margin-left: 0; }
  .about-photos-stack { height: 50vw; min-height: 320px; }
  .two-col-text-photo { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .portrait-panel.active { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .session-details-grid { grid-template-columns: 1fr; gap: 40px; }
  .session-details-grid li { flex-wrap: wrap; gap: 4px; }

  .brand-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 320px); padding: 0 var(--pad-x); }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 44px; }
  .footer-logo-block { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root { --pad-x: 24px; --nav-h: 64px; }

  .section { padding: 80px 0; }
  .section-sm { padding: 52px 0; }

  .nav { padding: 0 var(--pad-x); }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-drawer { display: flex; }

  .hero { padding-top: var(--nav-h); }
  .hero-content { padding: 48px var(--pad-x) 40px; }
  .hero-photos { height: 72vw; min-height: 280px; }

  .services-grid { margin-top: 40px; }
  .service-card { aspect-ratio: 4/3; }

  .carousel-slide { width: 150px; }

  .process-grid { grid-template-columns: 1fr; gap: 28px; }

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

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

  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-logo-block { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .portrait-tabs { gap: 0; }
  .ptab { padding: 14px 20px; font-size: 0.68rem; }

  .logos-row { gap: 28px; }
  .portrait-photos { grid-template-columns: 1fr 1fr; }

  .portrait-cards { grid-template-columns: 1fr; padding: 0 var(--pad-x); }
  .portrait-landing-card { aspect-ratio: 16/9; }
  .approach-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   EMBELLISHMENTS — tape, doodles, handwriting, squiggles
   ========================================================= */

/* Handwriting accent */
.handwrite {
  font-family: var(--font-hand);
  font-weight: 400;
  line-height: 1.2;
  display: inline-block;
}

/* Polaroid frames — inner page hero photos */
.php-1, .php-2, .php-3 { background: #ffffff; }
.php-1 img, .php-1 .photo-fill,
.php-2 img, .php-2 .photo-fill,
.php-3 img, .php-3 .photo-fill {
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 52px;
  width: calc(100% - 16px);
  height: calc(100% - 60px);
  object-fit: cover;
  display: block;
}

/* Polaroid frames — about page stacked photos */
.aps-1, .aps-2, .aps-3 { background: #ffffff; }
.aps-1 img, .aps-1 .photo-fill,
.aps-2 img, .aps-2 .photo-fill,
.aps-3 img, .aps-3 .photo-fill {
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 52px;
  width: calc(100% - 16px);
  height: calc(100% - 60px);
  object-fit: cover;
  display: block;
}

/* Tape on contact sidebar photo cards */
.contact-info .photo-img ~ *,
.contact-info [style*="position:absolute"]::after {
  content: '';
}

/* Doodle star — flanks an inline element with ✦ marks */
.doodle-star::before {
  content: '✦';
  font-size: 0.72rem;
  color: var(--sun);
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.9;
}
.doodle-star::after {
  content: '✦';
  font-size: 0.72rem;
  color: var(--bubblegum);
  margin-left: 10px;
  vertical-align: middle;
  opacity: 0.9;
}

/* Wavy underline on a key word */
.wavy {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* Floating doodle dot clusters */
.doodle-dots::before {
  content: '· · ·';
  font-size: 1.6rem;
  letter-spacing: 0.4em;
  color: var(--bubblegum);
  opacity: 0.65;
  line-height: 1;
  display: block;
  text-align: center;
  margin-bottom: 20px;
}

/* Small inline star accent used next to eyebrows */
.star-accent {
  display: inline-block;
  color: var(--sun);
  font-size: 0.65rem;
  vertical-align: middle;
  margin-left: 6px;
  animation: star-spin 8s linear infinite;
}
@keyframes star-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Squiggle SVG divider */
.squiggle-divider {
  display: block;
  width: 100%;
  max-width: 140px;
  margin: 0 auto 0;
  overflow: visible;
}

/* Torn-paper wave between sections */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}
.wave-divider svg { display: block; width: 100%; }
