/* site.css, boumliha.studio multipage (Wilson 2026-11-17). Lifted from ../v4.html: tokens, base, buttons, header, drawer,
   logos row, statement, contact, footer, lit signature, phone contact bar, reveal hooks. Shared by all four pages. */
@font-face { font-family: 'Outfit'; src: url('/assets/fonts/outfit-latin-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/cormorant-garamond-400-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* colour, OKLCH ramp on one warm-neutral hue (75); ground near-black neutral, never cream */
  --ground:   oklch(17.6% .004 75);   /* ~#141311 */
  --ground-2: oklch(21.5% .005 75);   /* raised surface */
  --ground-0: oklch(13.2% .003 75);   /* solid header, footer */
  --ink:      oklch(93.6% .008 85);   /* warm white ink */
  --ink-dim:  oklch(74% .010 80);     /* 7:1 on ground */
  --rule:     oklch(93.6% .008 85 / .13);
  --accent:   oklch(64.5% .128 52);   /* copper ~#c8743a, fills */
  --accent-ink: oklch(72% .125 56);   /* copper for words on the dark ground */
  --on-accent: oklch(16% .004 75);
  --sig: 200,116,58;

  /* one fluid type scale */
  --t-xs:    clamp(.75rem, .73rem + .1vw, .8125rem);
  --t-sm:    clamp(.8125rem, .79rem + .12vw, .875rem);
  --t-base:  clamp(.9375rem, .9rem + .15vw, 1rem);
  --t-lg:    clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --t-title: clamp(1.3125rem, 1.15rem + .6vw, 1.75rem);
  --t-lead:  clamp(1.5rem, 1.05rem + 1.9vw, 2.5rem);
  --t-hero:  clamp(2.5rem, 1rem + 5.4vw, 6rem);

  /* space */
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --measure: 1280px;
  --sec: clamp(4.5rem, 9vw, 9rem);
  --gap: clamp(.4rem, .8vw, .75rem);
  --ease: cubic-bezier(.2,.7,.1,1);
  --bar-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; scroll-padding-bottom: var(--bar-h); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--t-base)/1.6 'Outfit', system-ui, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--ink); color: var(--ground); padding: .7rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }
.trim { text-box: trim-both cap alphabetic; }

/* ---------- buttons ---------- */
.pill { display: inline-flex; align-items: center; gap: .75rem; min-height: 48px; padding: .35rem .4rem .35rem 1.25rem; border-radius: 999px;
  font: 500 var(--t-sm)/1 'Outfit', sans-serif; letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .2s ease-out, color .2s ease-out, border-color .2s ease-out; }
.pill > span { text-box: trim-both cap alphabetic; }
.pill .arr { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .25s var(--ease); }
.pill .arr svg { width: 16px; height: 16px; }
.pill:hover .arr { transform: translateX(3px); }
.pill--fill { background: var(--accent); color: var(--on-accent); }
.pill--fill .arr { background: var(--on-accent); color: var(--ink); }
.pill--fill:hover { background: var(--accent-ink); }
.pill--line { border-color: oklch(93.6% .008 85 / .6); color: var(--ink); padding: .35rem 1.25rem; }
.pill--line:hover { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.pill--sm { min-height: 42px; padding-left: 1rem; }
.pill--sm .arr { width: 32px; height: 32px; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background .3s ease-out, box-shadow .3s ease-out; }
.hdr::before { content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, oklch(10% .003 75 / .6), transparent); transition: opacity .3s; }
.hdr.solid { background: var(--ground-0); box-shadow: 0 1px 0 var(--rule); }
.hdr.solid::before { opacity: 0; }
.hdr .row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }
.word { font: 600 var(--t-lg)/1 'Outfit', sans-serif; letter-spacing: -.01em; text-decoration: none; text-box: trim-both cap alphabetic; }
.word { display: inline-flex; align-items: center; min-height: 44px; }
.nav { display: none; gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.nav a { font-size: var(--t-sm); text-decoration: none; color: var(--ink); opacity: .82; transition: opacity .2s; text-box: trim-both cap alphabetic; padding: .6rem 0; }
.nav a:hover { opacity: 1; }
.hdr .cta { display: none; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid oklch(93.6% .008 85 / .35); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .hdr .cta { display: inline-flex; }
  .menu-btn { display: none; }
}
/* drawer */
.drawer { position: fixed; inset: 0; z-index: 50; background: var(--ground-0); display: flex; flex-direction: column; padding: 0 var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s; }
.drawer.open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.drawer .top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.drawer nav { display: grid; gap: .25rem; margin-top: 1.5rem; }
.drawer nav a { font: 500 var(--t-title)/1.2 'Outfit', sans-serif; text-decoration: none; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.drawer .foot-acts { margin-top: auto; display: grid; gap: 1rem; }

.vbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: oklch(13% .003 75 / .55); border: 1px solid oklch(93.6% .008 85 / .4); cursor: pointer; flex: none; }
.vbtn svg { width: 16px; height: 16px; }
.vbtn .i-play { display: none; } .vbtn.is-paused .i-play { display: block; } .vbtn.is-paused .i-pause { display: none; }
/* ---------- client logos ---------- */
.clients { padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.clients h2 { font-size: var(--t-sm); font-weight: 400; color: var(--ink-dim); text-align: center; margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; max-width: 64rem; margin-inline: auto; align-items: center; gap: clamp(1.25rem, 3vw, 3rem) clamp(1.5rem, 3.4vw, 3.5rem); }
.logos li { display: flex; align-items: center; height: clamp(40px, 4.4vw, 56px); }
.logos img { height: clamp(18px, 2vw, 26px); width: auto; opacity: .82; }
.logos img.crest { height: clamp(36px, 3.6vw, 48px); }
.logos img.mid { height: clamp(22px, 2.3vw, 30px); }
.logos img.oval { height: clamp(30px, 3.2vw, 42px); }
.logos .tx { font-weight: 600; font-size: var(--t-lg); letter-spacing: .1em; text-transform: uppercase; opacity: .82; white-space: nowrap; }
@media (max-width: 599px) { .logos { gap: 1.25rem 1.75rem; } }
@media (min-width: 900px) { .logos { max-width: none; column-gap: 0; } .logos li { flex: 0 0 20%; justify-content: center; } }

/* ---------- section heads ---------- */
.sec { padding-top: var(--sec); }
.head { display: grid; gap: .75rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.head h2 { font-weight: 500; font-size: var(--t-title); line-height: 1.15; letter-spacing: -.015em; text-box: trim-both cap alphabetic; }
.head p { color: var(--ink-dim); max-width: 40rem; }
@media (min-width: 900px) { .head { grid-template-columns: minmax(240px, .38fr) 1fr; align-items: end; gap: 2.5rem; } }

/* ---------- statement ---------- */
.statement { padding-top: var(--sec); }
.statement .band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(3rem, 7vw, 6.5rem) 0; }
.statement .lead { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-synthesis: none; font-size: var(--t-lead); line-height: 1.22; letter-spacing: -.005em; max-width: 30ch; text-wrap: pretty; }
.statement .lead em { font-style: normal; color: var(--accent-ink); }
.statement .who { margin-top: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-wrap: wrap; gap: .5rem 2rem; color: var(--ink-dim); font-size: var(--t-sm); }
.statement .who b { color: var(--ink); font-weight: 500; }
@media (min-width: 900px) {
  .statement .grid { display: grid; grid-template-columns: minmax(240px, .38fr) 1fr; gap: 2.5rem; }
  .statement .side { padding-top: .6rem; }
}
.statement .side { color: var(--ink-dim); font-size: var(--t-sm); margin-bottom: 1.25rem; }

/* ---------- contact ---------- */
.contact h2 { font-weight: 500; font-size: var(--t-hero); line-height: .95; letter-spacing: -.04em; text-box: trim-both cap alphabetic; }
.contact h2 em { font-style: normal; color: var(--accent-ink); }
.contact .sub { margin-top: 1.5rem; color: var(--ink-dim); max-width: 34rem; font-size: var(--t-lg); }
.mail { display: inline-block; min-height: 44px; padding-block: .2em; margin-top: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 500; font-size: var(--t-title); text-decoration: none; color: var(--ink);
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; padding-bottom: .3rem; transition: color .2s; overflow-wrap: anywhere; }
.mail:hover { color: var(--accent-ink); }
.icons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.ic { display: inline-flex; align-items: center; gap: .65rem; min-height: 48px; padding: 0 1.1rem 0 .55rem; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-size: var(--t-sm); transition: border-color .2s, background .2s; }
.ic:hover { border-color: var(--accent); background: var(--ground-2); }
.ic .d { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ground-2); }
.ic svg { width: 17px; height: 17px; }
.ic span { text-box: trim-both cap alphabetic; }
@media (min-width: 900px) { .contact .row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end; } .contact .right { justify-self: end; } }

/* ---------- footer + signature ---------- */
.foot { margin-top: var(--sec); background: var(--ground-0); padding: clamp(2.5rem, 5vw, 4rem) 0 calc(1.25rem + var(--bar-h)); }
.foot .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.foot nav a { font-size: var(--t-sm); color: var(--ink-dim); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.legal a { display: inline-flex; align-items: center; min-height: 44px; }
.foot nav a:hover { color: var(--ink); }
.soc { display: flex; gap: .5rem; }
.soc a { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rule); color: var(--ink); transition: border-color .2s; }
.soc a:hover { border-color: var(--accent); }
.soc svg { width: 17px; height: 17px; }
.soc a::after { content: attr(data-label); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: var(--t-xs); background: var(--ink); color: var(--ground); padding: .3rem .55rem; opacity: 0; pointer-events: none; transition: opacity .15s; }
.soc a:hover::after, .soc a:focus-visible::after { opacity: 1; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; font-size: var(--t-xs); color: var(--ink-dim); padding-top: 1rem; border-top: 1px solid var(--rule); }

.brandline-holder { position: relative; height: min(16.5vw, 224px); margin-top: clamp(2rem, 4vw, 3rem); overflow: hidden; }
.brandline { position: absolute; left: 0; right: 0; bottom: -.06em; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  font: 500 min(21vw, 280px)/1 'Outfit', Arial, sans-serif; letter-spacing: -.055em; color: transparent;
  background: linear-gradient(180deg, oklch(93.6% .008 85 / .07), oklch(93.6% .008 85 / .028)); -webkit-background-clip: text; background-clip: text; }
.brandline::after { content: attr(data-text); position: absolute; inset: 0; color: transparent; -webkit-text-stroke: 1px rgba(var(--sig), .5);
  -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 50%, transparent 60%); mask-image: linear-gradient(100deg, transparent 40%, #000 50%, transparent 60%);
  -webkit-mask-size: 280% 100%; mask-size: 280% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; animation: brand-sheen 9s linear infinite; }
@keyframes brand-sheen { from { -webkit-mask-position: 160% 0; mask-position: 160% 0; } to { -webkit-mask-position: -60% 0; mask-position: -60% 0; } }
.brandline::before { content: attr(data-text); position: absolute; inset: 0; color: transparent;
  background-image: radial-gradient(circle min(30vw, 300px) at var(--mx, -60vw) 50%, rgba(var(--sig), .5), rgba(var(--sig), 0) 70%), linear-gradient(100deg, transparent 38%, rgba(var(--sig), .4) 50%, transparent 62%);
  background-size: 100% 100%, 260% 100%; background-repeat: no-repeat; background-position: 0 0, 160% 0;
  -webkit-background-clip: text; background-clip: text; animation: sig-light 9s ease-in-out infinite; }
@keyframes sig-light { 0%, 12% { background-position: 0 0, 160% 0; } 88%, 100% { background-position: 0 0, -60% 0; } }
@media (max-width: 700px) { .brandline-holder { height: min(19vw, 110px); margin-top: 2rem; } .brandline { font-size: 23vw; } }

/* ---------- phone contact bar (one device on phone) ---------- */
.pbar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: var(--ground-0); box-shadow: 0 -1px 0 var(--rule);
  transform: translateY(110%); transition: transform .35s var(--ease); }
.pbar.on { transform: none; }
.pbar a { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; border-radius: 999px; font-size: var(--t-sm); font-weight: 500; text-decoration: none; }
.pbar a span { text-box: trim-both cap alphabetic; }
.pbar svg { width: 18px; height: 18px; }
.pbar .wa { background: var(--accent); color: var(--on-accent); }
.pbar .em { border: 1px solid oklch(93.6% .008 85 / .4); }
@media (min-width: 900px) { .pbar { display: none; } }

/* ---------- reveal hooks (sub6). Content visible without JS; failsafe removes the hidden state ---------- */
.js.reveal-ready [data-reveal]:not(.in) { opacity: 0; transform: translateY(22px); }
.js.reveal-ready [data-reveal] { transition: opacity .8s ease-out, transform .9s var(--ease); transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brandline::before, .brandline::after { animation: none; }
  .js.reveal-ready [data-reveal]:not(.in) { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- multipage additions (not in v4) ---------- */
/* current page in the nav */
.nav a[aria-current="page"] { opacity: 1; color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.drawer nav a[aria-current="page"] { color: var(--accent-ink); }
/* grid pages: header always solid (no hero image under it) */
body:not([data-page="home"]) .hdr { background: var(--ground-0); box-shadow: 0 1px 0 var(--rule); }
body:not([data-page="home"]) .hdr::before { opacity: 0; }

/* page heading, centred Cormorant title like the live pages, one short line under it */
.page-head { padding: calc(72px + clamp(2.25rem, 5vw, 4.5rem)) 0 clamp(1.75rem, 3.5vw, 3rem); text-align: center; }
.page-head h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-synthesis: none; font-size: var(--t-hero); line-height: 1; letter-spacing: -.01em; text-box: trim-both cap alphabetic; }
.page-head p { margin: clamp(1rem, 2vw, 1.5rem) auto 0; max-width: 36rem; color: var(--ink-dim); font-size: var(--t-base); text-wrap: balance; }

/* "Send the brief." on grid pages sits right after the grid */
.contact.sec { padding-top: var(--sec); }

/* page heading call to action (weddings: book a session on WhatsApp), sub4 2026-11-17 */
.page-cta { margin-top: clamp(1.25rem, 2.5vw, 1.75rem); display: flex; justify-content: center; }

/* contact form (posts to /api/submissions through contact-form.js, lands in the dashboard) */
.brief { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.25rem 2rem; max-width: 56rem; }
@media (min-width: 720px) { .brief { grid-template-columns: 1fr 1fr; } .brief .full { grid-column: 1 / -1; } }
.brief label { display: block; font-size: var(--t-sm); color: var(--ink-dim); margin-bottom: .35rem; }
.brief input, .brief select, .brief textarea { width: 100%; min-height: 48px; font: 400 var(--t-base)/1.4 'Outfit', system-ui, sans-serif; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: .6rem 0; }
.brief select option { background: var(--ground-2); color: var(--ink); }
.brief textarea { min-height: 7rem; resize: vertical; }
.brief input:focus, .brief select:focus, .brief textarea:focus { outline: none; border-bottom-color: var(--accent); }
.brief input:focus-visible, .brief select:focus-visible, .brief textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.brief .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief button { justify-self: start; border: 0; cursor: pointer; font: inherit; }
.brief .form-success { color: var(--accent-ink); font-size: var(--t-lg); }
