/* ============================================================
   Kimberly Brizzolara — brand stylesheet
   Type per Font Usage Notes:
   Louize Display = headers (huge, tight; italic = emotional turn)
   Rauschen A Medium = subheads, buttons, provocations, pull-quotes
   Basis Grotesque Pro = body
   Fonts: Louize + Rauschen licenses confirmed by Kimberly (Oct 2026).
   Basis licensed via Monotype.
   ============================================================ */

@font-face { font-family: "Louize Display"; src: url("../fonts/LouizeDisplay-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Louize Display"; src: url("../fonts/LouizeDisplay-Italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Rauschen"; src: url("../fonts/Rauschen-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Rauschen"; src: url("../fonts/Rauschen-MediumItalic.otf") format("opentype"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Basis Grotesque"; src: url("../fonts/BasisGrotesquePro-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Basis Grotesque"; src: url("../fonts/BasisGrotesquePro-Italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Basis Grotesque"; src: url("../fonts/BasisGrotesquePro-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Basis Grotesque"; src: url("../fonts/BasisGrotesquePro-BoldItalic.otf") format("opentype"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --blue: #2d16d3;
  --blue-light: #4c41e0;
  --greige: #f5f2f3;
  --slate: #ddd4ce;
  --white: #ffffff;
  --ink: #141414;
  --sans: "Basis Grotesque", "Helvetica Neue", Arial, sans-serif;
  --serif: "Louize Display", Georgia, serif;
  --display: "Louize Display", Georgia, serif;
  --sub: "Rauschen", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- type ---------- */
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 0.98; letter-spacing: -0.01em; text-transform: none; }
h1 em, h2 em, .serif-accent { font-style: italic; }
h3 { font-family: var(--sub); font-weight: 500; line-height: 1.15; letter-spacing: .03em; text-transform: uppercase; }
.h-hero  { font-size: clamp(3rem, 8vw, 6.6rem); }
.h-sect  { font-size: clamp(2.2rem, 5.2vw, 4.1rem); }
.h-card  { font-family: var(--sub); font-weight: 500; line-height: 1.15; letter-spacing: .03em; text-transform: uppercase; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.serif-accent { font-family: var(--display); font-weight: 400; font-style: italic; text-transform: none; letter-spacing: 0; }
.pullquote { font-family: var(--sub); font-weight: 500; font-style: normal; }
.eyebrow {
  font-family: var(--sub); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; display: inline-block; margin-bottom: 1.1rem;
}
.eyebrow.xl { font-size: clamp(1.2rem, 2.2vw, 1.8rem); letter-spacing: 0.16em; margin-bottom: 0; }
section:has(> .wrap > .eyebrow.xl) { padding-top: clamp(32px, 4.5vw, 60px); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; }
.measure { max-width: 46em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-align: center; font-family: var(--sub); font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1.05em 2.1em; border-radius: 999px; text-decoration: none;
  border: 2px solid var(--blue); transition: all .18s ease; cursor: pointer;
}
.btn-solid { background: var(--blue); color: var(--white); }
.btn-solid:hover { background: var(--blue-light); border-color: var(--blue-light); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: var(--white); }
.btn-inverse { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-inverse:hover { background: transparent; color: var(--white); }
.btn-ghost-inverse { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost-inverse:hover { background: var(--white); color: var(--blue); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { padding: clamp(64px, 9vw, 120px) 0; }
.bg-greige { background: var(--greige); }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-blue .btn-solid { background: var(--white); color: var(--blue); border-color: var(--white); }
.bg-slate { background: var(--slate); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid var(--slate);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px var(--pad); max-width: 1400px; margin: 0 auto;
}
.site-header .logo img { height: 16px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.site-nav a {
  text-decoration: none; font-family: var(--sub); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.site-nav a:not(.btn):hover { color: var(--blue); }
.site-nav .btn { padding: 0.8em 1.6em; }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 24px;
    border-bottom: 1px solid var(--slate); }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; background: none; border: none; font: inherit; font-family: var(--sub);
    font-weight: 500; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .kicker-rule { width: 72px; height: 6px; background: var(--blue); margin-bottom: 2rem; }
.pattern-band {
  height: 96px; background-image: url("../img/pattern-circles-blue.png");
  background-size: auto 200%; background-repeat: repeat-x; background-position: center;
}
.pattern-band.subtle {
  background-image: url("../img/pattern-tiles-lightbeige.png");
}

/* ---------- photo placeholder ---------- */
.photo-ph {
  background: var(--slate) url("../img/pattern-tiles-lightbeige.png") center/cover;
  border-radius: 4px; aspect-ratio: 4 / 5; display: flex; align-items: end;
  padding: 18px;
}
.photo-ph.wide { aspect-ratio: 16 / 9; }
.photo-ph span {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; opacity: .55;
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stats .num { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.8rem); font-weight: 400; line-height: 1; }
.stats .lbl { font-family: var(--sub); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; margin-top: .6rem; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--slate); border-radius: 4px;
  padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px;
}
.bg-greige .card { border-color: transparent; }
.card .num-tag {
  font-family: var(--sub); font-weight: 500; font-style: normal; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue);
}
.card ul { padding-left: 1.1em; display: grid; gap: .5em; }

/* ---------- logo strip / awards ---------- */
.strip {
  display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center;
  font-family: var(--sub); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: .92rem;
}
.strip li { list-style: none; opacity: .8; }

/* ---------- testimonials ---------- */
.quote-card { border-left: 4px solid var(--blue); padding: 4px 0 4px 24px; display: flex; flex-direction: column; }
.quote-card blockquote { font-family: var(--sub); font-weight: 500; font-size: 1.02rem; line-height: 1.55; font-style: italic; }
.quote-card cite, .quote-feature cite {
  display: block; margin-top: 12px; font-family: var(--sub); font-style: normal; font-size: .75rem;
  font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.bg-blue .quote-card { border-color: var(--white); }

/* ---------- case study pages ---------- */
.case-hero { padding-top: clamp(48px, 7vw, 96px); }
.case-meta {
  display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--sub); font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; margin-top: 1.6rem;
}
.case-section h2 { margin-bottom: 1rem; }
.case-section p.lede { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.4; }
.case-section + .case-section { margin-top: clamp(40px, 6vw, 72px); }

/* ---------- footer ---------- */
.site-footer { background: var(--blue); color: var(--white); }
.site-footer .inner { padding: clamp(56px, 8vw, 96px) var(--pad); max-width: var(--maxw); margin: 0 auto; }
.site-footer .tagline { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 400; text-transform: none; line-height: 1.02; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); margin-top: 3rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo-stack img { width: 180px; margin-bottom: 1.6rem; }
.site-footer a { color: var(--white); }
.footer-links { display: grid; gap: .5em; list-style: none; font-family: var(--sub); font-size: .82rem;
  font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.legal { margin-top: 3.5rem; font-size: .74rem; opacity: .7; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- misc ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.gap-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.divider-serif { font-family: var(--sub); font-weight: 500; font-style: italic; color: var(--blue); font-size: 1.35rem; }

/* ---------- real photos ---------- */
.photo { width: 100%; border-radius: 4px; object-fit: cover; display: block; }
.photo.portrait { aspect-ratio: auto; } /* native crops — images are pre-cropped intentionally */
.avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; }
.quote-head { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; }
.quote-head cite { margin-top: 0; }

/* ---------- client logo strip ---------- */
.logo-strip { display: grid; grid-template-columns: repeat(5, max-content); justify-content: center; align-items: center; column-gap: clamp(26px, 3.6vw, 52px); row-gap: 28px; list-style: none; }
.logo-strip li { display: flex; align-items: center; justify-content: center; height: 48px; }
@media (max-width: 900px) { .logo-strip { grid-template-columns: repeat(2, max-content); } }
.logo-strip img { max-width: 190px; max-height: 48px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .78; mix-blend-mode: multiply; transition: all .2s ease; }
.logo-strip img:hover { filter: none; opacity: 1; }
/* optical hand-nudges: wide wordmarks less height, compact marks more */
.logo-strip .lg-netflix img       { height: 26px; }
.logo-strip .lg-sephora img       { height: 24px; }
.logo-strip .lg-microsoft img     { height: 38px; }
.logo-strip .lg-loreal img        { height: 24px; }
.logo-strip .lg-gap img           { height: 44px; }
.logo-strip .lg-maybelline img    { height: 21px; }
.logo-strip .lg-laura-mercier img { height: 30px; }
.logo-strip .lg-olaplex img       { height: 24px; }
.logo-strip .lg-makeup-by-mario img { height: 24px; }
.logo-strip .lg-madison-reed img  { height: 18px; }

/* ---------- work galleries ---------- */
.work-card-img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-radius: 4px; display: block; }
.case-hero-img { width: 100%; max-height: 74vh; object-fit: cover; display: block; }
.work-gallery { display: grid; gap: clamp(16px, 2.5vw, 32px); }
.work-gallery img { width: 100%; border-radius: 4px; display: block; box-shadow: 0 1px 5px rgba(20,20,20,.08); }
.work-gallery.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .work-gallery.cols-2 { grid-template-columns: 1fr; } }
.card img.thumb { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-radius: 3px; }

/* ---------- homepage masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 60; background: var(--blue); color: var(--white); }
.masthead .mast-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px var(--pad); border-bottom: 1px solid rgba(255,255,255,.22);
  max-width: 1400px; margin: 0 auto;
}
.masthead .mast-nav .links { display: flex; flex-wrap: wrap; gap: clamp(14px, 2.2vw, 30px); }
.masthead .mast-nav a {
  color: var(--white); text-decoration: none; font-family: var(--sub); font-weight: 500;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
}
.masthead .mast-nav a:not(.btn):hover { opacity: .72; }
.masthead .mast-nav .btn { background: var(--white); color: var(--blue); border-color: var(--white); padding: .7em 1.5em; }
.masthead .mast-nav .btn:hover { background: transparent; color: var(--white); }
.masthead .mini-logo { display: flex; opacity: 0; width: 0; overflow: hidden; transition: opacity .25s ease; }
.masthead .mini-logo img { height: 13px; width: auto; max-width: none; }
.masthead.scrolled .mini-logo { opacity: 1; width: auto; margin-right: 8px; }
.mast-brand {
  display: block; max-width: 1400px; margin: 0 auto; overflow: hidden;
  padding: clamp(20px, 3.4vw, 46px) var(--pad) clamp(24px, 4vw, 56px);
  max-height: 340px; transition: max-height .3s ease, padding .3s ease;
}
.mast-brand img { width: 100%; height: auto; display: block; }
.masthead.scrolled .mast-brand { max-height: 0; padding-top: 0; padding-bottom: 0; }
.home-hero { padding-top: clamp(36px, 4.5vw, 64px); }
@media (max-width: 700px) {
  .masthead .mast-nav { justify-content: center; }
  .masthead .mini-logo { display: none; }
}

/* ---------- compact blue bar (interior pages) ---------- */
.masthead.compact .mini-logo { opacity: 1; width: auto; margin-right: 8px; }
@media (max-width: 700px) { .masthead.compact .mini-logo { display: flex; } .masthead.compact .mast-nav { justify-content: space-between; } }

/* ---------- light blue section ---------- */
.bg-blue-light { background: var(--blue-light); color: var(--white); }
.bg-blue-light .photo-ph span { color: var(--white); opacity: .75; }

/* ---------- blue eyebrows ---------- */
.eyebrow { color: var(--blue); }
.bg-blue .eyebrow, .bg-blue-light .eyebrow, .site-footer .eyebrow { color: var(--white); }

/* ---------- 4-up article grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.site-footer .logo-stack img { width: min(320px, 100%); }

/* ---------- features & awards logos ---------- */
.features-strip { grid-template-columns: repeat(5, 1fr); width: 100%; column-gap: clamp(20px, 2.5vw, 40px); row-gap: 34px; }
@media (max-width: 900px) { .features-strip { grid-template-columns: repeat(2, 1fr); } }
.features-strip li { height: 64px; }
.features-strip img { max-height: 64px; }
.logo-strip .lg-forbes-next-1000 img { height: 60px; }
.logo-strip .lg-fast-company img     { height: 28px; }
.logo-strip .lg-business-insider img { height: 48px; }
.logo-strip .lg-nasdaq img           { height: 33px; }
.logo-strip .lg-beautymatter img     { height: 28px; }
.logo-strip .lg-thrive-global img    { height: 48px; }
.logo-strip .lg-clios img            { height: 48px; }
.logo-strip .lg-addys img            { height: 43px; }
.logo-strip .lg-dieline img          { height: 33px; }
.logo-strip .lg-cosmoprof img        { height: 24px; }

/* ---------- video testimonials ---------- */
.video-card { aspect-ratio: 9 / 16; border-radius: 4px; overflow: hidden; background: #101010; margin: 0; }
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.quote-stack { display: grid; gap: clamp(20px, 3vw, 32px); align-content: center; }

.video-cap { margin-top: 12px; font-family: var(--sub); font-weight: 500; font-size: .75rem;
  letter-spacing: .16em; text-transform: uppercase; }

/* ---------- featured testimonial ---------- */
.quote-feature { border-left: 4px solid var(--blue); padding: 8px 0 8px clamp(24px, 3.4vw, 44px); }
.quote-display {
  font-family: var(--sub); font-weight: 500; font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.25; margin-bottom: 1.4rem;
}
.quote-feature blockquote {
  font-family: var(--sub); font-weight: 500; font-style: normal;
  font-size: 1.02rem; line-height: 1.55; max-width: 56em;
}
.quote-feature .quote-head { margin-top: 1.4rem; padding-top: 0; }

/* ---------- masonry work gallery (case-study "The Work") ---------- */
.work-gallery.masonry { display: block; columns: 2; column-gap: clamp(16px, 2.5vw, 32px); }
.work-gallery.masonry img { margin-bottom: clamp(16px, 2.5vw, 32px); break-inside: avoid; }
@media (max-width: 700px) { .work-gallery.masonry { columns: 1; } }

/* ---------- full-bleed image stack (case studies) ---------- */
.full-bleed-stack { display: grid; gap: clamp(16px, 2.5vw, 32px); margin-top: clamp(16px, 2.5vw, 32px); }
.full-bleed-stack img { width: 100%; display: block; }

/* hero balance: photo column carries slightly more width */
.home-hero .grid-2 { grid-template-columns: 1fr 1.12fr; align-items: center; }
@media (max-width: 860px) { .home-hero .grid-2 { grid-template-columns: 1fr; } }

/* ---------- wide video feature ---------- */
.video-wide { width: 100%; aspect-ratio: 16 / 9; background: #101010; border-radius: 4px; overflow: hidden; }
.video-wide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-wide iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-tall { width: 100%; aspect-ratio: 9 / 16; background: #101010; border-radius: 4px; overflow: hidden; }
.video-tall video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- justified gallery rows (equal-height rows, no holes) ---------- */
.justified-row { display: flex; gap: clamp(16px, 2.5vw, 32px); margin-top: clamp(16px, 2.5vw, 32px); }
.justified-row img { min-width: 0; height: auto; display: block; border-radius: 4px; }
@media (max-width: 700px) { .justified-row { flex-direction: column; } .justified-row img { flex: none !important; width: 100%; } }
