/* Black Tie Portrait Club (event portrait studio). Same look as a28.ca: light theme only (house rule), no dark mode. */
:root {
  color-scheme: light;
  --bg: #F0EEE9;
  --ink: #2B2B2D;
  --muted: rgba(43, 43, 45, .62);
  --line: rgba(43, 43, 45, .14);
  --olive: #343426;
  --gold: #BD9A4D;
  --white: #FFFFFF;
  --serif: 'The One', serif;
  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
.statement-text, .lede, .svc-text p, .cta-copy p { text-wrap: balance; }
p { margin: 0; }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .wi { display: inline-block; will-change: transform; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 22px;
  background: rgba(240, 238, 233, .74);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border: 1px solid rgba(43, 43, 45, .08);
  border-radius: 999px;
}
.nav .brand { font-family: var(--serif); font-size: 22px; text-decoration: none; letter-spacing: .01em; }
.nav .links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav .links a { text-decoration: none; }
.nav .links a:not(.pill):hover { color: var(--muted); }
.pill {
  background: var(--olive); color: var(--white) !important;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 13px;
  transition: transform .25s ease, background .25s ease;
}
.pill:hover { transform: translateY(-1px); background: #45452f; }
@media (max-width: 640px) {
  .nav { padding-left: 18px; }
  .nav .links a:not(.pill) { display: none; }
}

/* ---------- 1. Hero: three portraits side by side (one on phones) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; padding: calc(96px + 3vh) var(--gutter) 0; max-width: 1280px; margin: 0 auto; text-align: center; }
.hero-title { font-size: clamp(44px, 6.4vw, 100px); line-height: 1.0; margin: 18px auto 18px; max-width: 18ch; }
.lede { font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); max-width: 46ch; margin: 0 auto; }
.hero-media { position: absolute; inset: 0; z-index: 1; clip-path: inset(56% 6% 4% 6% round var(--radius)); background: #1d1d1b; }
/* One portrait card that grows to full screen, then the next portraits wipe up over it as you scroll */
.hero-stack { position: absolute; inset: 0; transform: translateY(16%) scale(1.12); }
.hero-stack img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 32%; }
.hero-stack img:not(:first-child) { clip-path: inset(100% 0% 0% 0%); }
.hero-media::after { content: ''; position: absolute; inset: auto 0 0 0; height: 22%; background: linear-gradient(to top, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0)); pointer-events: none; z-index: 1; }
.hero-tag, .hero-count { position: absolute; bottom: 28px; z-index: 2; color: rgba(255, 255, 255, .86); font-size: 13px; opacity: 0; }
.hero-tag { left: var(--gutter); letter-spacing: .04em; }
.hero-count { right: var(--gutter); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
@media (max-width: 699px) { .hero-count { bottom: 52px; } }

/* ---------- 2. Statement ---------- */
.statement { padding: 22vh var(--gutter) 24vh; }
.statement-text { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 70px); line-height: 1.12; max-width: 24ch; margin: 0 auto; text-align: center; }
.statement-text .w { overflow: visible; }

/* ---------- 3. The look: sideways gallery ---------- */
.work { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.work-track { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); height: 100%; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.work-intro { width: clamp(240px, 26vw, 380px); flex: none; }
.work-intro h2 { font-size: clamp(48px, 6vw, 92px); line-height: .98; margin: 14px 0 22px; }
.hint { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hint::after { content: ''; width: 46px; height: 1px; background: currentColor; }
.work-card { flex: none; width: clamp(240px, 24vw, 360px); }
.work-img { position: relative; overflow: hidden; border-radius: 16px; background: #d9d5cc; aspect-ratio: 3 / 4; }
.work-img img { position: absolute; top: 0; left: -8%; width: 116%; max-width: none; height: 100%; object-fit: cover; }
.work-client { margin-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.work-card h3 { font-size: clamp(26px, 2.4vw, 38px); margin-top: 6px; line-height: 1.1; }
.work-kind { font-size: 14px; color: var(--muted); margin-top: 4px; }
@media (max-width: 700px) {
  .work-card { width: 72vw; }
  .work-intro { width: 70vw; }
}

/* ---------- 4. Events ---------- */
.services { padding: 18vh var(--gutter) 10vh; max-width: 1280px; margin: 0 auto; }
.services-head { text-align: center; margin-bottom: 10vh; }
.services-head h2 { font-size: clamp(38px, 5vw, 76px); margin-top: 14px; line-height: 1.05; }
.svc { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px); margin-bottom: 14vh; }
.svc.flip .svc-media { order: 2; }
.svc-media { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 5; background: #d9d5cc; max-width: 520px; width: 100%; justify-self: center; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-num { font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: .1em; }
.svc-text h3 { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.05; margin: 10px 0 14px; }
.svc-text p { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 30ch; }
@media (max-width: 760px) {
  .svc { grid-template-columns: 1fr; margin-bottom: 11vh; }
  .svc.flip .svc-media { order: 0; }
}

/* ---------- 5. Mosaic ---------- */
.mosaic { position: relative; padding: 12vh 0 18vh; overflow: hidden; }
.mosaic-head { text-align: center; padding: 0 var(--gutter); margin-bottom: 8vh; }
.mosaic-head h2 { font-size: clamp(38px, 5.4vw, 84px); line-height: 1.04; }
.mosaic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 22px); padding: 0 var(--gutter); max-width: 1320px; margin: 0 auto; }
.mosaic-col { display: flex; flex-direction: column; gap: clamp(10px, 1.6vw, 22px); will-change: transform; }
.mosaic-col img { width: 100%; height: auto; border-radius: 14px; object-fit: cover; background: #d9d5cc; aspect-ratio: 3 / 4; }

/* ---------- 6. Contact ---------- */
.cta { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.cta-aside { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: min(44vw, 520px); z-index: 1; }
.cta-aside-text { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 64px); line-height: 1.06; margin-top: 12px; }
.cta-media { position: absolute; inset: 0; z-index: 2; clip-path: inset(18% 62% 18% 6% round var(--radius)); background: #1d1d1b; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.cta-shade { position: absolute; inset: 0; background: rgba(18, 18, 14, .55); opacity: 0; }
.cta-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: 0 var(--gutter); }
.cta-copy > * { opacity: 0; }
.cta-copy h2 { font-size: clamp(42px, 6.6vw, 104px); line-height: 1.02; max-width: 14ch; }
.cta-copy p { font-size: clamp(16px, 1.4vw, 20px); margin: 18px 0 32px; color: rgba(255, 255, 255, .86); }
.btn { display: inline-block; background: var(--white); color: var(--ink); text-decoration: none; padding: 16px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .25s ease, box-shadow .25s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-actions .btn { white-space: nowrap; }
.btn-line { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85); }
.btn-line:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px #fff; }
@media (max-width: 700px) {
  .cta-aside { top: 12%; transform: none; left: var(--gutter); right: var(--gutter); width: auto; }
  .cta-media { clip-path: inset(40% 30% 8% 6% round 18px); }
}

/* ---------- Footer ---------- */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 36px var(--gutter) 44px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot .brand { font-family: var(--serif); font-size: 24px; color: var(--ink); }
.foot a { text-decoration: none; white-space: nowrap; }
.foot a:hover { color: var(--ink); }

/* ---------- Reduced motion: everything visible, nothing pinned ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-media { clip-path: none; position: relative; height: 60vh; margin: 32px var(--gutter) 0; border-radius: var(--radius); overflow: hidden; }
  .hero { height: auto; padding-bottom: 40px; }
  .hero-stack { transform: none; }
  .hero-count { display: none; }
  .cta-media { clip-path: none; }
  .hero-tag, .cta-copy > * { opacity: 1; }
  .cta-shade { opacity: 1; }
  .work { height: auto; overflow-x: auto; padding: 10vh 0; }
  .work-track { height: auto; }
}

/* ---------- 2b. Photo booth vs portrait experience ---------- */
.versus { padding: 4vh var(--gutter) 20vh; max-width: 1180px; margin: 0 auto; }
.versus-head { text-align: center; margin-bottom: 7vh; }
.versus-head h2 { font-size: clamp(38px, 5vw, 76px); margin-top: 14px; line-height: 1.05; }
.versus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 32px); }
.vs-card { border-radius: var(--radius); padding: clamp(28px, 3.6vw, 52px); }
.vs-label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.vs-card li { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.4; padding-left: 30px; position: relative; }
.vs-booth { background: rgba(43, 43, 45, .05); border: 1px solid var(--line); color: var(--muted); }
.vs-booth li { text-decoration: line-through; text-decoration-color: rgba(43, 43, 45, .35); }
.vs-booth li::before { content: '×'; position: absolute; left: 0; top: -1px; font-size: 20px; color: rgba(43, 43, 45, .45); }
.vs-portrait { background: var(--olive); color: var(--white); }
.vs-portrait .vs-label { color: var(--gold); }
.vs-portrait li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 12px; height: 1.5px; background: var(--gold); }
@media (max-width: 760px) { .versus-grid { grid-template-columns: 1fr; } }
