/* Nightingale Events — site theme. Loaded after app-BhAvcONK.css.
 * Blush + pistachio palette, Instrument Serif + Hanken Grotesk, pill buttons.
 * The home page keeps its scroll-driven colour journey and silk hero; inner pages are calm.
 * The gallery and love-notes sections are modelled on the EDA site. */

:root {
  --moss: #5d593c;
  --moss-deep: #45422c;
  --blush: #d29e9e;
  --rosewood: #ab6a6a;
  --linden: #beb06c;
  --forest: #878557;
  --blush-pale: #f6e9e4;
  --ivory: #faf6ee;
  --ivory-2: #f3eee3;
  --blush-soft: #f0d9d5;
  --pistachio-pale: #eceed9;
  --pistachio: #dfe2bd;
  --cream: #fbf6ef;

  --font-display: "Instrument Serif", Georgia, serif;
  --font-accent: "Instrument Serif", Georgia, serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", sans-serif;
  --font-mono: "Hanken Grotesk", "Helvetica Neue", sans-serif;
  --leading-display: 1.02;
  --tracking-eyebrow: .16em;
  --text-eyebrow: .75rem;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- type ---------- */
h1, h2, h3, .t-hero, .t-display, .t-title, .menu__link, .marquee__text, .footer__wordmark, .pcard__name, .footer__email {
  font-weight: 400;
  letter-spacing: -.012em;
}
.t-hero { font-variation-settings: normal; letter-spacing: -.02em; }
.t-accent, .marquee__text { font-style: italic; }
.t-eyebrow { font-weight: 600; }

/* ---------- floating header ---------- */
.nav {
  top: clamp(10px, 1.6vw, 16px);
  left: clamp(12px, 2.4vw, 28px);
  right: clamp(12px, 2.4vw, 28px);
  padding: .55rem .55rem .55rem clamp(1rem, 2vw, 1.5rem);
  background: color-mix(in srgb, var(--ivory) 86%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid #3f3c2812;
  border-radius: 999px;
  box-shadow: 0 14px 34px -22px #3f3c2880;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: none;
  letter-spacing: -.01em;
  font-weight: 400;
  color: var(--moss-deep);
}
.nav__right { align-items: center; gap: .4rem; }
.nav__menu { color: var(--moss-deep); padding: .7em 1em; font-size: .78rem; background: none; border: 0; cursor: pointer; }
.nav__inquire {
  padding: .75em 1.3em;
  font-size: .78rem;
  color: var(--cream);
  background: var(--moss);
  border-radius: 999px;
}
.nav a.nav__inquire:hover { color: var(--cream); background: var(--rosewood); }
.menu { background: var(--ivory); }
.menu .menu__link { color: var(--moss-deep); }

/* ---------- buttons ---------- */
.button {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--cream);
  background: var(--rosewood);
  border: 1px solid var(--rosewood);
  border-radius: 999px;
  padding: 1em 1.7em;
  box-shadow: 0 14px 30px -18px #ab6a6acc;
  transition: background var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.button:hover { color: var(--cream); background: var(--moss); border-color: var(--moss); transform: translateY(-1px); }
.button--lg { padding: 1.1em 2em; font-size: 1rem; }
.hero__cta { gap: .75rem; flex-wrap: wrap; }
.hero__cta-alt {
  display: inline-block;
  padding: .95em 1.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--ink);
  background: #ffffff8c;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.hero__cta-alt:hover { color: var(--ink); background: #fff; border-color: var(--ink-30); }
.hero__title { margin-bottom: .45em; }

/* ---------- inner pages: a still hero (the silk scroll lives on the home page) ---------- */
body:not([data-page=home]) #gl { display: none; }
body:not([data-page=home]) .hero { height: auto; }
body:not([data-page=home]) .hero__stage { position: relative; height: auto; min-height: 100svh; padding-block: 8rem 6rem; }
.hero__silk {
  background:
    radial-gradient(60vw 60vw at 92% 108%, #d29e9e2e, #0000 70%),
    radial-gradient(40vw 40vw at 70% 0%, #beb06c1f, #0000 70%),
    var(--ivory);
}
body[data-page=corporate] .hero__silk {
  background:
    radial-gradient(60vw 60vw at 92% 108%, #ab6a6a66, #0000 70%),
    radial-gradient(40vw 40vw at 70% 0%, #beb06c26, #0000 70%),
    var(--moss-deep);
}
body[data-page=corporate] .hero__cta-alt { color: var(--ink); background: #ffffff12; border-color: #ffffff33; }
body[data-page=corporate] .hero__cta-alt:hover { background: #ffffff24; }

/* ---------- rounded images ---------- */
.wtile__media, .caps__fig, .fcard__media, .services__fig,
.sx__media, .sx__ghero, .shero__fig, .case__hero, .case__gallery img {
  border-radius: var(--radius);
  overflow: hidden;
}
.wtile__media::after { border-radius: inherit; border-color: #3f3c281f; }

/* ---------- inner pages: each section in one colour ---------- */
body:not([data-page=home]) :is(.testimonial, .marquee, .contact, .scta, .footer) {
  --ink-60: color-mix(in srgb, var(--ink) 62%, transparent);
  --ink-30: color-mix(in srgb, var(--ink) 30%, transparent);
  color: var(--ink);
  background: var(--bg);
}
body:not([data-page=home]) .marquee { --bg: var(--rosewood); --ink: var(--cream); --accent: var(--blush-soft); --line: #bd8080; border-block: 0; }
body:not([data-page=home]) .testimonial { --bg: var(--ivory-2); --ink: var(--moss-deep); --accent: var(--rosewood); --line: #d6d8bd; }
body:not([data-page=home]) :is(.contact, .scta, .footer) { --bg: var(--moss); --ink: var(--cream); --accent: var(--blush-soft); --line: #6d6948; }
.contact .footer { background: none; }
.footer { border-top-color: var(--line); }

/* ---------- inquiry call-to-action card ---------- */
.cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  max-width: 52rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: #ffffff12;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cta-card__text { max-width: 30em; margin: 0; color: var(--ink-60); font-size: var(--text-lead); line-height: 1.4; }
:is(.contact, .scta) .button { color: var(--moss-deep); background: var(--blush-soft); border-color: var(--blush-soft); box-shadow: 0 14px 30px -18px #0009; }
:is(.contact, .scta) .button:hover { color: var(--moss-deep); background: #fff; border-color: #fff; }

/* ---------- gallery: rounded frames of looping clips (from EDA) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: 18px;
  margin-top: var(--space-4);
}
.frame {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin: 0;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blush), var(--linden));
}
.frame video, .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame span {
  position: relative;
  padding: 6px 12px;
  font: 600 12px var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--moss-deep);
  background: #fbf6efe6;
  border-radius: 999px;
}
/* two bands of 6 rows; the second mirrors the first */
.f1 { grid-area: 1 / 1 / 7 / 6; }
.f2 { grid-area: 1 / 6 / 4 / 9; }
.f3 { grid-area: 1 / 9 / 5 / 13; }
.f4 { grid-area: 4 / 6 / 7 / 9; }
.f5 { grid-area: 5 / 9 / 7 / 13; }
.f6 { grid-area: 7 / 1 / 11 / 5; }
.f7 { grid-area: 11 / 1 / 13 / 5; }
.f8 { grid-area: 7 / 5 / 10 / 8; }
.f9 { grid-area: 10 / 5 / 13 / 8; }
.f10 { grid-area: 7 / 8 / 13 / 13; }
@media (max-width: 960px) { .gallery { grid-auto-rows: 70px; } }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 12px; }
  .f2, .f3, .f4, .f5, .f6, .f7, .f8, .f9, .f10 { grid-area: auto; grid-row: span 1; }
  .f1, .f10 { grid-area: auto; grid-column: 1 / 3; grid-row: span 2; }
}

/* ---------- love notes (from EDA) ---------- */
.love {
  --bg: var(--ivory);
  --ink: var(--moss-deep);
  --accent: var(--rosewood);
  --line: #e8e1d2;
  --ink-60: color-mix(in srgb, var(--ink) 62%, transparent);
  overflow: hidden;
  color: var(--ink);
  background: var(--bg);
  text-align: left;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font: 600 13px var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rosewood);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.love .testimonial__quote { margin: 0; }
.love-title { max-width: 16ch; margin: 0; font: 400 clamp(40px, 6vw, 78px)/1.02 var(--font-display); letter-spacing: -.015em; }
.love-title em { color: var(--rosewood); }
.lede { max-width: 52ch; margin: 26px 0 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-60); }
.love-sub { margin: 80px 0 0; font: 600 12px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-60); }

.voice {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
  margin-top: 60px;
  padding: clamp(28px, 4vw, 54px);
  overflow: hidden;
  color: var(--cream);
  background: var(--moss);
  border-radius: 32px;
}
.voice::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -60%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #d29e9e66, #0000 65%);
  pointer-events: none;
}
.voice-play {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(76px, 9vw, 110px);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(140deg, var(--blush), var(--rosewood));
  box-shadow: 0 20px 50px -16px #d29e9ecc;
  transition: transform .4s var(--ease);
}
.voice-play:hover { transform: scale(1.06); }
.voice-play:focus-visible { outline: 3px solid var(--blush-soft); outline-offset: 4px; }
.voice-play svg { grid-area: 1 / 1; width: 38%; height: 38%; fill: #fff; }
.voice-play .i-pause, .voice.playing .voice-play .i-play { display: none; }
.voice.playing .voice-play .i-pause { display: block; }
.voice.empty .voice-play { opacity: .55; cursor: not-allowed; }
.voice-body { position: relative; z-index: 1; min-width: 0; }
.voice-kicker { margin: 0; font: 600 12px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blush-soft); }
.voice-title { margin: 10px 0 22px; font: 400 clamp(28px, 3.4vw, 48px)/1.05 var(--font-display); }
.voice-title em { color: var(--blush-soft); }
.wave { display: flex; align-items: center; gap: 3px; height: 54px; cursor: pointer; }
.wave i { flex: 1; min-width: 2px; border-radius: 3px; background: #fbf6ef40; transition: background .2s; }
.wave i.on { background: linear-gradient(var(--blush-soft), var(--blush)); }
.voice-time { margin: 10px 0 0; font-size: 13px; color: #fbf6ef99; font-variant-numeric: tabular-nums; }
.vt-toggle {
  margin-top: 14px;
  padding: 7px 14px;
  font: 600 13px var(--font-body);
  color: var(--cream);
  background: none;
  border: 1px solid #fbf6ef4d;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .3s;
}
.vt-toggle:hover { border-color: var(--cream); }
.vt-toggle:focus-visible, .vt-close:focus-visible { outline: 2px solid var(--blush-soft); outline-offset: 3px; }
.voice-transcript {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  bottom: 14px;
  left: calc(clamp(28px, 4vw, 54px) + clamp(76px, 9vw, 110px) + clamp(22px, 3vw, 40px) - 14px);
  padding: 22px 48px 22px 26px;
  overflow-y: auto;
  font-size: 15.5px;
  line-height: 1.6;
  color: #fbf6efd1;
  background: #3a3825f7;
  border: 1px solid #fbf6ef1f;
  border-radius: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.voice-transcript p { margin: 0; }
.voice-transcript p + p { margin-top: 12px; }
.voice-transcript mark { font-weight: 600; color: var(--cream); background: linear-gradient(transparent 60%, #d29e9e8c 60%); }
.vt-kicker { margin-bottom: 12px !important; font: 600 11px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blush-soft); }
.vt-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 30px;
  height: 30px;
  font-size: 18px;
  line-height: 1;
  color: var(--cream);
  background: none;
  border: 1px solid #fbf6ef40;
  border-radius: 50%;
  cursor: pointer;
}
.voice.show-t .voice-transcript { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 641px) {
  .voice-body:hover ~ .voice-transcript, .voice-transcript:hover { opacity: 1; visibility: visible; transform: none; }
}

.feature-vid { margin: 24px 0 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--moss-deep); border-radius: 28px; box-shadow: 0 40px 80px -40px #3f3c2880; }
.feature-vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.vid {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 14px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--moss-deep);
  border-radius: 22px;
}
.vid video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.vid figcaption { position: relative; z-index: 1; font-size: 13px; font-weight: 600; color: #fff; text-shadow: 0 1px 8px #00000080; pointer-events: none; }

.chats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; margin-top: 24px; }
.chat { display: flex; flex-direction: column; gap: 5px; font: 15px/1.38 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.chat p { margin: 0; }
.bubble-in { max-width: 92%; box-shadow: 0 1px 1px #0000001f; }
.wa .bubble-in { align-self: flex-start; padding: 7px 10px 6px; color: #e9edef; background: #202c33; border-radius: 10px; }
.wa .bubble-in:first-child { border-top-left-radius: 0; }
.ts { display: block; margin-top: 2px; font-size: 11px; text-align: right; color: #e9edef99; }
.im .bubble-in { align-self: flex-start; padding: 10px 14px; color: #fff; background: #26252a; border-radius: 20px 20px 20px 6px; }
.im.light .bubble-in { color: #000; background: #e9e9eb; }
.redact { display: inline-block; width: 4.5em; height: .95em; vertical-align: -2px; background: #8e8e93; border-radius: 999px; }
.im.light .redact { background: #000; }

@media (max-width: 960px) {
  .vids { grid-template-columns: 1fr 1fr; }
  .chats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .voice { grid-template-columns: 1fr; }
  .voice-transcript { position: relative; inset: auto; display: none; padding: 20px 44px 20px 20px; opacity: 1; visibility: visible; transform: none; }
  .voice.show-t .voice-transcript { display: block; }
  .feature-vid { border-radius: 20px; }
  .chats { grid-template-columns: 1fr; max-width: 380px; }
}

/* ---------- hero video: a fixed layer under the silk, uncovered as the curtain parts (see hero-video.js) ---------- */
.hero-video {
  position: fixed;
  inset: 0;
  z-index: var(--z-hero-video);
  width: 100%;
  height: 100svh;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
}

/* ---------- studio intro: three large framed photos (EDA-style frames) ---------- */
.manifesto__row { display: block; margin-block: var(--space-5) var(--space-6); }
.manifesto__body { max-width: 30em; margin: 0 0 var(--space-5); }
.manifesto__frames {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.15fr;
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
}
.manifesto__fig {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin: 0;
  padding: 18px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blush), var(--linden));
  box-shadow: 0 40px 80px -48px #3f3c2899;
}
.manifesto__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.manifesto__fig span {
  position: relative;
  padding: 6px 12px;
  font: 600 12px var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--moss-deep);
  background: #fbf6efe6;
  border-radius: 999px;
}
.manifesto__fig.m2 { margin-top: clamp(40px, 8vw, 110px); aspect-ratio: 3 / 4.4; }
.manifesto__fig.m2 img { object-position: 50% 30%; }
.manifesto__fig.m3 { margin-top: clamp(16px, 3vw, 40px); }
@media (max-width: 768px) {
  .manifesto__frames { grid-template-columns: 1fr 1fr; }
  .manifesto__fig.m1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .manifesto__fig.m2, .manifesto__fig.m3 { margin-top: 0; aspect-ratio: 3 / 4; }
}

/* ---------- one footer for every page, on olive moss ---------- */
.footer {
  --bg: var(--moss);
  --ink: var(--cream);
  --accent: var(--blush-soft);
  --line: #6d6948;
  --ink-60: color-mix(in srgb, var(--ink) 62%, transparent);
  --ink-30: color-mix(in srgb, var(--ink) 30%, transparent);
  margin-top: 0;
  padding-block: var(--space-6) var(--space-3);
  color: var(--ink);
  background: var(--bg);
  border-top: 0;
}
.footer a { color: var(--ink); }
.footer a:hover { color: var(--accent); }
.footer__wordmark { color: var(--ink); }
.footer { text-align: left; }

/* ---------- behind the scenes: arched doorway frames (EDA's .arch) ---------- */
.atwork__title { max-width: 16ch; margin: 0; font: 400 clamp(40px, 6vw, 78px)/1.02 var(--font-display); letter-spacing: -.015em; }
.atwork__title em { color: var(--rosewood); }
.arches { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); margin-top: var(--space-5); }
.arch {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
  padding: 22px;
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
  border-radius: 999px 999px 26px 26px;
  background: radial-gradient(120% 80% at 50% 0%, var(--blush-soft), #0000 60%), linear-gradient(170deg, var(--blush), var(--linden));
  box-shadow: 0 50px 80px -44px #ab6a6a99;
}
.arch:nth-child(even) { margin-top: clamp(24px, 4vw, 56px); }
.arch video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch-label {
  position: relative;
  padding: 6px 12px;
  font: 600 11px var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--moss-deep);
  background: #fbf6efe6;
  border-radius: 999px;
}
@media (max-width: 768px) {
  .arches { grid-template-columns: 1fr 1fr; }
  .arch:nth-child(even) { margin-top: 0; }
}

/* the gallery CTA leads straight into behind the scenes */
.portfolio:has(+ .atwork) { padding-bottom: var(--space-4); }
.atwork { padding-top: var(--space-5); }

/* ---------- love notes: more messages, packed as staggered columns ---------- */
.chats { display: block; columns: 3 300px; column-gap: 28px; }
.chats .chat { break-inside: avoid; margin: 0 0 28px; }
.ig .bubble-in { align-self: flex-start; padding: 10px 16px; color: #000; background: #efeff2; border-radius: 22px; }
.ig .bubble-in + .bubble-in { margin-top: 2px; }
.wa.light .bubble-in { color: #111b21; background: #fff; box-shadow: 0 1px 1px #0b141a21; }
.wa.light .ts { color: #667781; }
.im.light .bubble-in + .bubble-in { border-top-left-radius: 6px; }

.footer__area { max-width: 46em; margin: 0 0 var(--space-3); font-size: var(--text-small); color: var(--ink-60); }
