/*
 * Beauty & Glam — premium editorial system
 *
 * The memorable element is the project-led opening view. Everything after it
 * is quieter: clear paths, real work, a legible method and one useful action.
 */
:root {
  --bgv4-paper: #f2efe8;
  --bgv4-paper-deep: #e6e1d7;
  --bgv4-ink: #20211f;
  --bgv4-ink-soft: #5c5d56;
  --bgv4-stone: #d7d1c5;
  --bgv4-moss: #34443e;
  --bgv4-bronze: #a17f5f;
  --bgv4-white: #fffdf8;
  --bgv4-line: rgba(32, 33, 31, .18);
  --bgv4-ease: cubic-bezier(.2, .7, .2, 1);
}

html body.home {
  background: var(--bgv4-paper) !important;
  color: var(--bgv4-ink) !important;
  font-family: 'Work Sans', system-ui, sans-serif !important;
}

html body.home .bg-premium-home,
html body.home .bg-premium-home main {
  background: var(--bgv4-paper);
  color: var(--bgv4-ink);
}

/* The Reina canvas does not guarantee border-box sizing. Re-establish it for
 * the redesign so viewport-bound sections include their internal padding. */
html body.home .bg-premium-home *,
html body.home .bg-premium-home *::before,
html body.home .bg-premium-home *::after { box-sizing: border-box; }

html body.home .bg-premium-home :is(h1, h2, h3, p) { text-transform: none !important; }
html body.home .bg-premium-home h1,
html body.home .bg-premium-home h2,
html body.home .bg-premium-home h3 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: -.035em !important;
}

html body.home .bg-premium-home a,
html body.home .bg-premium-home button { -webkit-tap-highlight-color: transparent; }

/* Motion language: quiet editorial reveals, never decorative overload. */
html body.home.bg-motion-ready .bg-premium-home .bg-home-section,
html body.home.bg-motion-ready .bg-premium-home .bg-v4-project-card,
html body.home.bg-motion-ready .bg-premium-home .bg-v4-sector-card,
html body.home.bg-motion-ready .bg-premium-home .bg-v4-path,
html body.home.bg-motion-ready .bg-premium-home .step {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--bgv4-ease), transform .7s var(--bgv4-ease);
}
html body.home.bg-motion-ready .bg-premium-home .is-motion-visible {
  opacity: 1;
  transform: none;
}
html body.home.bg-motion-ready .bg-premium-home .bg-v4-path:nth-child(2),
html body.home.bg-motion-ready .bg-premium-home .bg-v4-project-card:nth-child(2),
html body.home.bg-motion-ready .bg-premium-home .bg-v4-sector-card:nth-child(2),
html body.home.bg-motion-ready .bg-premium-home .step:nth-child(2) { transition-delay: 80ms; }
html body.home.bg-motion-ready .bg-premium-home .bg-v4-project-card:nth-child(3),
html body.home.bg-motion-ready .bg-premium-home .bg-v4-sector-card:nth-child(3),
html body.home.bg-motion-ready .bg-premium-home .step:nth-child(3) { transition-delay: 160ms; }
html body.home.bg-motion-ready .bg-premium-home .bg-v4-project-card:nth-child(4),
html body.home.bg-motion-ready .bg-premium-home .bg-v4-sector-card:nth-child(4),
html body.home.bg-motion-ready .bg-premium-home .step:nth-child(4) { transition-delay: 240ms; }
html body.home.bg-motion-ready .bg-premium-home .bg-v4-project-card:nth-child(5),
html body.home.bg-motion-ready .bg-premium-home .bg-v4-sector-card:nth-child(5),
html body.home.bg-motion-ready .bg-premium-home .step:nth-child(5) { transition-delay: 320ms; }

/* Shared header */
html body.home header#nav.bg-premium-header {
  position: absolute !important;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  min-height: 90px;
  background: rgba(20, 22, 21, .16) !important;
  border-bottom: 1px solid rgba(255, 253, 248, .22);
  backdrop-filter: blur(8px);
}

html body.home header#nav.bg-premium-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1380px, calc(100% - 80px));
  min-height: 90px;
  margin: 0 auto;
}

html body.home .bg-premium-header .brand { display: inline-flex; align-items: center; width: 190px; }
html body.home .bg-premium-header .brand-logo { display: block; width: 174px; height: auto; filter: brightness(0) invert(1); }
html body.home .bg-premium-header .menu { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); margin-left: auto; }
html body.home .bg-premium-header .menu a {
  color: rgba(255, 253, 248, .92) !important;
  font: 500 12px/1 'Work Sans', sans-serif !important;
  letter-spacing: .045em !important;
  text-decoration: none !important;
  transition: color .25s ease;
}
html body.home .bg-premium-header .menu a:hover,
html body.home .bg-premium-header .menu a:focus-visible,
html body.home .bg-premium-header .menu a.active { color: #dfc49e !important; }
html body.home .bg-premium-header .nav-cta { display: flex; align-items: center; gap: 20px; margin-left: 32px; }
html body.home .bg-premium-header .nav-cta > .btn {
  min-height: 46px !important;
  padding: 14px 22px !important;
  border: 1px solid rgba(255, 253, 248, .7) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--bgv4-white) !important;
  font: 500 12px/1 'Work Sans', sans-serif !important;
  letter-spacing: .06em !important;
  text-decoration: none !important;
}
html body.home .bg-premium-header .nav-cta > .btn:hover { background: var(--bgv4-white) !important; color: var(--bgv4-ink) !important; }
html body.home .bg-premium-header .burger { display: none; }

html body.home .bg-premium-home .mobile-menu { display: none; }

/* Hero */
html body.home .bg-premium-home #top.bg-redesign-v4-home {
  position: relative;
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: min(900px, 100svh);
  height: min(900px, 100svh);
  align-items: flex-end;
  overflow: hidden;
  background: var(--bgv4-moss) !important;
  color: var(--bgv4-white);
}
html body.home #top.bg-redesign-v4-home .hero-bg,
html body.home #top.bg-redesign-v4-home .hero-bg img { position: absolute !important; inset: 0; width: 100%; height: 100%; }
html body.home #top.bg-redesign-v4-home .hero-bg img {
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: .72;
  transform: scale(1.02);
}
html body.home #top.bg-redesign-v4-home .hero-bg::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 25, 23, .82), rgba(18, 25, 23, .42) 55%, rgba(18, 25, 23, .16));
  content: '';
}
html body.home #top.bg-redesign-v4-home > .wrap {
  position: absolute !important;
  inset: 0;
  z-index: 2;
  width: 100% !important;
  max-width: none;
  min-height: 0;
  height: 100%;
  margin: 0 auto;
  padding: 90px 0 45px !important;
  display: flex;
  align-items: flex-end;
}
html body.home #top.bg-redesign-v4-home .hero-inner { width: min(780px, 68%); margin-left: max(40px, calc((100% - 1380px) / 2)); }
html body.home .bg-v4-kicker {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--bgv4-bronze) !important;
  font: 500 11px/1.3 'Work Sans', sans-serif !important;
  letter-spacing: .09em !important;
}
html body.home #top.bg-redesign-v4-home .bg-v4-kicker { color: #e2c9a6 !important; }
html body.home #top.bg-redesign-v4-home h1 {
  max-width: 14ch;
  margin: 0 0 28px !important;
  color: var(--bgv4-white) !important;
  font-size: clamp(58px, 7.3vw, 116px) !important;
  line-height: .88 !important;
}
html body.home #top.bg-redesign-v4-home p {
  max-width: 54ch;
  margin: 0;
  color: rgba(255, 253, 248, .9) !important;
  font: 400 17px/1.65 'Work Sans', sans-serif !important;
}
html body.home .bg-premium-home .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }
html body.home .bg-premium-home .hero-actions .btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 16px 22px !important;
  border: 1px solid rgba(255, 253, 248, .74) !important;
  border-radius: 0 !important;
  color: var(--bgv4-white) !important;
  font: 500 12px/1.2 'Work Sans', sans-serif !important;
  letter-spacing: .035em !important;
  text-decoration: none !important;
}
html body.home .bg-premium-home .hero-actions .btn.solid { background: var(--bgv4-bronze) !important; border-color: var(--bgv4-bronze) !important; color: #fff !important; }
html body.home .bg-premium-home .hero-actions .btn:not(.solid):hover { background: rgba(255, 253, 248, .12) !important; }
html body.home .bg-premium-home .bg-v4-project-card .c-img,
html body.home .bg-premium-home .bg-v4-sector-card { overflow: hidden; }
html body.home .bg-premium-home .bg-v4-project-card .c-img img,
html body.home .bg-premium-home .bg-v4-sector-card img { transition: transform .9s var(--bgv4-ease), filter .9s var(--bgv4-ease); }
html body.home .bg-premium-home .bg-v4-project-card:hover .c-img img,
html body.home .bg-premium-home .bg-v4-project-card:focus-visible .c-img img,
html body.home .bg-premium-home .bg-v4-sector-card:hover img,
html body.home .bg-premium-home .bg-v4-sector-card:focus-visible img { transform: scale(1.045); filter: saturate(1.06) contrast(1.02); }
html body.home .bg-v4-hero-index {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 253, 248, .78);
  font: 500 11px/1 'Work Sans', sans-serif;
  letter-spacing: .1em;
  writing-mode: vertical-rl;
}
html body.home .bg-v4-hero-index i { display: block; width: 1px; height: 80px; background: rgba(255, 253, 248, .5); }
html body.home .bg-v4-scroll-cue {
  position: absolute;
  right: 44px;
  bottom: 45px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 253, 248, .76) !important;
  font: 500 10px/1 'Work Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  writing-mode: vertical-rl;
}
html body.home .bg-v4-scroll-cue i { display: block; width: 1px; height: 42px; background: var(--bgv4-bronze); }

/* Section primitives */
html body.home .bg-premium-home .bg-home-section { position: relative; padding: clamp(90px, 10vw, 160px) 0 !important; }
html body.home .bg-premium-home .bg-home-section > .wrap { width: min(1240px, calc(100% - 80px)); margin: 0 auto; }
html body.home .bg-v4-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); gap: 8vw; align-items: end; margin-bottom: 64px; }
html body.home .bg-v4-section-heading h2,
html body.home .bg-v4-projects-intro h2,
html body.home .bg-v4-complementary-intro h2,
html body.home .bg-v4-about h2,
html body.home .bg-v4-cta h2 { max-width: 14ch; margin: 0 !important; color: var(--bgv4-ink) !important; font-size: clamp(42px, 5.4vw, 78px) !important; line-height: .93 !important; }
html body.home .bg-v4-section-heading > p,
html body.home .bg-v4-projects-intro > p,
html body.home .bg-v4-complementary-intro > p,
html body.home .bg-v4-about p { max-width: 43ch; margin: 0; color: var(--bgv4-ink-soft) !important; font: 400 16px/1.75 'Work Sans', sans-serif !important; }
html body.home .bg-v4-line-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: var(--bgv4-ink) !important;
  font: 500 12px/1.4 'Work Sans', sans-serif !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--bgv4-ink);
  padding-bottom: 9px;
  transition: gap .25s var(--bgv4-ease), color .25s ease;
}
html body.home .bg-v4-line-link:hover { gap: 18px; color: var(--bgv4-bronze) !important; }
html body.home .bg-link-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.35; }

/* Pathways: two different surfaces, not three identical cards. */
html body.home #project-start { background: var(--bgv4-paper); }
html body.home .bg-v4-pathways-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
html body.home .bg-v4-path { min-height: 330px; padding: clamp(28px, 4vw, 54px); display: flex; flex-direction: column; justify-content: space-between; }
html body.home .bg-v4-path--dark { background: var(--bgv4-moss); color: var(--bgv4-white); }
html body.home .bg-v4-path--stone { background: var(--bgv4-stone); color: var(--bgv4-ink); }
html body.home .bg-v4-path-number { display: block; margin-bottom: 38px; font: 500 11px/1 'Work Sans', sans-serif; letter-spacing: .1em; opacity: .7; }
html body.home .bg-v4-path h3 { max-width: 12ch; margin: 0 0 18px !important; font-size: clamp(34px, 4.5vw, 62px) !important; line-height: .92 !important; }
html body.home .bg-v4-path p { max-width: 38ch; margin: 0 0 26px; font: 400 15px/1.65 'Work Sans', sans-serif; opacity: .82; }
html body.home .bg-v4-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 0 9px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: 500 12px/1.3 'Work Sans', sans-serif;
  transition: gap .25s var(--bgv4-ease), color .25s ease;
}
html body.home .bg-v4-button:hover { gap: 26px; color: var(--bgv4-bronze); }
html body.home .bg-v4-button--light:hover { color: #ead4b7; }
html body.home .bg-v4-side-link { display: inline-flex; gap: 6px; margin-top: 22px; color: var(--bgv4-ink-soft) !important; font: 400 13px/1.5 'Work Sans', sans-serif; text-decoration: none; }
html body.home .bg-v4-side-link span { color: var(--bgv4-ink); border-bottom: 1px solid var(--bgv4-ink); }

/* Sector mosaic */
html body.home #settori { background: var(--bgv4-paper-deep); }
html body.home .bg-v4-sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
html body.home .bg-v4-sector-card { position: relative; display: block; min-height: 360px; overflow: hidden; color: #fff !important; text-decoration: none !important; background: var(--bgv4-moss); }
html body.home .bg-v4-sector-card--wide { grid-column: span 2; }
html body.home .bg-v4-sector-card img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; opacity: .74; transition: transform .8s var(--bgv4-ease), opacity .6s ease; }
html body.home .bg-v4-sector-card::after { position: absolute; inset: 0; background: rgba(14, 21, 19, .36); content: ''; transition: background .5s ease; }
html body.home .bg-v4-sector-card:hover img { transform: scale(1.045); opacity: .9; }
html body.home .bg-v4-sector-card:hover::after { background: rgba(14, 21, 19, .2); }
html body.home .bg-v4-sector-caption { position: absolute; z-index: 2; inset: auto 28px 25px; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 14px; align-items: end; }
html body.home .bg-v4-sector-caption small { grid-row: span 2; align-self: start; font: 500 10px/1 'Work Sans', sans-serif; opacity: .8; }
html body.home .bg-v4-sector-caption strong { font: 500 clamp(28px, 3vw, 44px)/.95 'Cormorant Garamond', Georgia, serif; letter-spacing: -.02em; }
html body.home .bg-v4-sector-caption em { grid-column: 2; margin-top: 8px; font: 400 12px/1.45 'Work Sans', sans-serif; font-style: normal; opacity: .84; }
html body.home .bg-v4-sector-caption i { grid-column: 3; grid-row: span 2; align-self: end; font: 400 24px/1 'Work Sans', sans-serif; font-style: normal; }

/* Portfolio */
html body.home #realizzazioni-home { overflow: hidden; background: var(--bgv4-paper) !important; }
html body.home .bg-v4-projects > .wrap { width: 100% !important; }
html body.home .bg-v4-projects-intro { width: min(1240px, calc(100% - 80px)); margin: 0 auto; }
html body.home .bg-v4-projects-intro h2 { max-width: 10ch; }
html body.home .bg-v4-project-track { display: flex !important; gap: 18px !important; width: 100% !important; max-width: none !important; overflow-x: auto; padding: 0 max(40px, calc((100vw - 1240px) / 2)) 28px !important; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; touch-action: pan-x; user-select: none; }
html body.home .bg-v4-project-track::-webkit-scrollbar { display: none; }
html body.home .bg-v4-project-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
html body.home .bg-v4-project-card { display: block; flex: 0 0 clamp(260px, 27vw, 365px) !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--bgv4-ink) !important; scroll-snap-align: start; text-decoration: none !important; }
html body.home .bg-v4-project-card .c-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bgv4-stone); }
html body.home .bg-v4-project-card:nth-child(2n) .c-img { aspect-ratio: 1 / 1; }
html body.home .bg-v4-project-card .c-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--bgv4-ease); }
html body.home .bg-v4-project-card:hover .c-img img { transform: scale(1.04); }
html body.home .bg-v4-project-card .c-body { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 0 0 !important; }
html body.home .bg-v4-project-index { color: var(--bgv4-bronze); font: 500 10px/1.3 'Work Sans', sans-serif; }
html body.home .bg-v4-project-card h3 { margin: 0 0 7px !important; color: var(--bgv4-ink) !important; font-size: 27px !important; line-height: 1 !important; }
html body.home .bg-v4-project-card .go { color: var(--bgv4-ink-soft) !important; font: 400 11px/1.3 'Work Sans', sans-serif; }
html body.home .bg-v4-projects-intro + .bg-v4-project-track { margin-top: 8px; }

/* Method */
html body.home #metodo { background: var(--bgv4-moss) !important; color: var(--bgv4-white); }
html body.home #metodo .bg-v4-section-heading h2,
html body.home #metodo .bg-v4-section-heading > p { color: var(--bgv4-white) !important; }
html body.home #metodo .bg-v4-kicker { color: #dfc49e !important; }
html body.home .bg-v4-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid rgba(255, 253, 248, .28); list-style: none; }
html body.home .bg-v4-steps .step { min-height: 230px; padding: 20px 24px 0 0; border-right: 1px solid rgba(255, 253, 248, .28); }
html body.home .bg-v4-steps .step + .step { padding-left: 24px; }
html body.home .bg-v4-steps .step:last-child { border-right: 0; }
html body.home .bg-v4-steps .bg-step-number { display: block; margin-bottom: 56px; color: #dfc49e; font: 500 11px/1 'Work Sans', sans-serif; }
html body.home .bg-v4-steps h3 { margin: 0 0 12px !important; color: var(--bgv4-white) !important; font-size: 29px !important; line-height: 1 !important; }
html body.home .bg-v4-steps p { margin: 0; color: rgba(255, 253, 248, .72) !important; font: 400 13px/1.6 'Work Sans', sans-serif !important; }

/* Complementary services */
html body.home #cosa-facciamo { background: var(--bgv4-paper-deep) !important; }
html body.home .bg-v4-complementary-intro { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.2fr); gap: 8vw; align-items: end; margin-bottom: 56px; }
html body.home .bg-v4-complementary-intro h2 { max-width: 12ch; }
html body.home .bg-v4-products-feature { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: 7vw; align-items: start; padding-top: 44px; border-top: 1px solid var(--bgv4-line); }
html body.home .bg-v4-complementary-heading h3,
html body.home .bg-v4-training h3 { max-width: 13ch; margin: 0 0 16px !important; color: var(--bgv4-ink) !important; font-size: clamp(30px, 3.5vw, 50px) !important; line-height: .96 !important; }
html body.home .bg-v4-complementary-heading p,
html body.home .bg-v4-training p { max-width: 39ch; margin: 0; color: var(--bgv4-ink-soft) !important; font: 400 14px/1.65 'Work Sans', sans-serif !important; }
html body.home .bg-v4-complementary-links { display: grid; gap: 12px; margin-top: 30px; }
html body.home .bg-v4-complementary-links a { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--bgv4-ink) !important; font: 500 12px/1.4 'Work Sans', sans-serif; text-decoration: none; }
html body.home .bg-v4-complementary-links a:hover { color: var(--bgv4-bronze) !important; }
html body.home .bg-v4-product-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
html body.home .bg-v4-product-strip .card { min-width: 0; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--bgv4-ink) !important; text-decoration: none !important; }
html body.home .bg-v4-product-strip .c-img { aspect-ratio: 1 / 1.1; background: var(--bgv4-white); }
html body.home .bg-v4-product-strip .c-img img { display: block; width: 100%; height: 100%; padding: 12px; object-fit: contain; }
html body.home .bg-v4-product-strip .c-body { padding-top: 10px; }
html body.home .bg-v4-product-strip h3 { margin: 0 !important; color: var(--bgv4-ink) !important; font-size: 20px !important; line-height: 1 !important; }
html body.home .bg-v4-product-strip .go { display: block; margin-top: 8px; color: var(--bgv4-ink-soft); font: 400 10px/1.3 'Work Sans', sans-serif; }
html body.home .bg-v4-training { display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; align-items: end; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--bgv4-line); }
html body.home .bg-v4-training .bg-v4-line-link { margin-top: 0; }

/* Team */
html body.home #chi-siamo-home { background: var(--bgv4-white) !important; }
html body.home .bg-v4-about > .wrap { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: 9vw; align-items: center; }
html body.home .bg-v4-about h2 { max-width: 9ch; }
html body.home .bg-v4-about p { max-width: 42ch; }
html body.home .bg-about-portraits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
html body.home .bg-about-portraits figure { margin: 0; }
html body.home .bg-about-portraits figure:nth-child(2) { margin-top: 44px; }
html body.home .bg-about-portraits img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 34%; }
html body.home .bg-about-portraits figcaption { margin-top: 12px; color: var(--bgv4-ink); font: 500 23px/1 'Cormorant Garamond', Georgia, serif; }

/* Final CTA + footer */
html body.home #contatti-cta.bg-v4-cta { background: var(--bgv4-bronze) !important; color: #fff !important; }
html body.home .bg-v4-cta > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); gap: 8vw; align-items: end; }
html body.home .bg-v4-cta .bg-v4-kicker { color: #f7ead8 !important; }
html body.home .bg-v4-cta h2 { max-width: 9ch; color: #fff !important; }
html body.home .bg-v4-cta-copy p { max-width: 36ch; margin: 0 0 27px; color: rgba(255, 255, 255, .84) !important; font: 400 16px/1.7 'Work Sans', sans-serif; }
html body.home .bg-v4-cta .bg-v4-button--light { color: #fff; }
html body.home .bg-v4-cta-contact { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
html body.home .bg-v4-cta-contact a { color: #fff !important; font: 500 12px/1.4 'Work Sans', sans-serif; text-decoration: none; }
html body.home footer.bg-premium-footer { padding: 76px 0 22px; background: var(--bgv4-ink) !important; color: rgba(255, 253, 248, .78); }
html body.home footer.bg-premium-footer > .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 50px; width: min(1240px, calc(100% - 80px)); margin: 0 auto; }
html body.home .bg-v4-footer-brand .brand { display: inline-flex; width: 170px; }
html body.home .bg-v4-footer-brand img { display: block; width: 160px; filter: brightness(0) invert(1); }
html body.home .bg-v4-footer-brand p { max-width: 26ch; margin-top: 22px; font: 400 13px/1.6 'Work Sans', sans-serif; }
html body.home footer.bg-premium-footer h3 { margin: 0 0 19px !important; color: #dfc49e !important; font: 500 14px/1 'Work Sans', sans-serif !important; letter-spacing: .03em !important; }
html body.home footer.bg-premium-footer a,
html body.home footer.bg-premium-footer span { display: block; width: fit-content; margin-bottom: 10px; color: rgba(255, 253, 248, .78) !important; font: 400 13px/1.5 'Work Sans', sans-serif; text-decoration: none; }
html body.home footer.bg-premium-footer a:hover { color: #fff !important; }
html body.home .bg-footer-bottom { display: flex; gap: 20px; width: min(1240px, calc(100% - 80px)); margin: 62px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 253, 248, .18); }
html body.home .bg-footer-bottom a,
html body.home .bg-footer-bottom span { margin: 0; font-size: 11px !important; }
html body.home .bg-footer-bottom a:first-of-type { margin-left: auto; }

/* Inquiry dialog created by home-interactions.js */
html body.home .bgv4-inquiry { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(20, 22, 21, .68); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
html body.home .bgv4-inquiry.is-open { opacity: 1; visibility: visible; }
html body.home .bgv4-inquiry-panel { position: relative; width: min(700px, 100%); max-height: min(760px, calc(100vh - 48px)); overflow: auto; padding: clamp(26px, 5vw, 56px); background: var(--bgv4-paper); color: var(--bgv4-ink); transform: translateY(16px); transition: transform .3s var(--bgv4-ease); }
html body.home .bgv4-inquiry.is-open .bgv4-inquiry-panel { transform: none; }
html body.home .bgv4-inquiry-close { position: absolute; top: 18px; right: 20px; border: 0; background: transparent; color: var(--bgv4-ink); cursor: pointer; font: 300 28px/1 'Work Sans', sans-serif; }
html body.home .bgv4-inquiry h2 { max-width: 10ch; margin: 0 0 24px !important; font-size: clamp(40px, 6vw, 65px) !important; line-height: .9 !important; }
html body.home .bgv4-inquiry-intent { margin-bottom: 14px; color: var(--bgv4-bronze); font: 500 11px/1.3 'Work Sans', sans-serif; }
html body.home .bgv4-inquiry-form { display: grid; gap: 16px; }
html body.home .bgv4-inquiry-form .bgv4-inquiry-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
html body.home .bgv4-inquiry-form label { display: grid; gap: 7px; color: var(--bgv4-ink-soft); font: 500 11px/1.3 'Work Sans', sans-serif; }
html body.home .bgv4-inquiry-form input,
html body.home .bgv4-inquiry-form select,
html body.home .bgv4-inquiry-form textarea { width: 100%; min-height: 48px; padding: 13px 14px; border: 1px solid var(--bgv4-line); border-radius: 0; background: var(--bgv4-white); color: var(--bgv4-ink); font: 400 15px/1.4 'Work Sans', sans-serif; }
html body.home .bgv4-inquiry-form textarea { min-height: 110px; resize: vertical; }
html body.home .bgv4-inquiry-form input:focus,
html body.home .bgv4-inquiry-form select:focus,
html body.home .bgv4-inquiry-form textarea:focus { outline: 2px solid var(--bgv4-bronze); outline-offset: 2px; }
html body.home .bgv4-inquiry-consent { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 9px; color: var(--bgv4-ink-soft) !important; font-weight: 400 !important; }
html body.home .bgv4-inquiry-consent input { width: 18px; min-height: 18px; margin: 0; accent-color: var(--bgv4-moss); }
html body.home .bgv4-inquiry-consent a { display: inline; color: var(--bgv4-ink) !important; text-decoration: underline; }
html body.home .bgv4-inquiry-submit { justify-self: start; }
html body.home .bgv4-inquiry-status { min-height: 20px; margin: 0; color: var(--bgv4-ink-soft); font: 400 13px/1.5 'Work Sans', sans-serif; }
html body.home .bgv4-inquiry-status.is-error { color: #8e3e34; }
html body.home .bgv4-inquiry-status.is-success { color: var(--bgv4-moss); }
html body.home .bgv4-inquiry-form.is-sending { opacity: .64; pointer-events: none; }

html body.home :is(a, button, input, select, textarea):focus-visible { outline: 2px solid #dfc49e !important; outline-offset: 4px; }

@media (max-width: 1100px) {
  html body.home header#nav.bg-premium-header .menu { display: none; }
  html body.home .bg-premium-header .nav-cta > .btn { display: none; }
  html body.home .bg-premium-header .burger { display: grid; gap: 5px; width: 38px; padding: 8px 0; border: 0; background: transparent; cursor: pointer; }
  html body.home .bg-premium-header .burger span { display: block; width: 30px; height: 1px; background: #fff; }
  html body.home .bg-premium-home .mobile-menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 44px; background: var(--bgv4-moss); transform: translateX(100%); transition: transform .35s var(--bgv4-ease); }
  html body.home .bg-premium-home .mobile-menu.is-open { transform: none; }
  html body.home .bg-premium-home .mobile-menu a { color: #fff !important; font: 500 clamp(30px, 5vw, 50px)/.95 'Cormorant Garamond', Georgia, serif; text-decoration: none; }
  html body.home .bg-premium-home .mobile-menu .close { position: absolute; top: 24px; right: 28px; border: 0; background: transparent; color: #fff; cursor: pointer; font: 300 38px/1 'Work Sans', sans-serif; }
  html body.home .bg-v4-sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.home .bg-v4-sector-card--wide { grid-column: span 2; }
  html body.home .bg-v4-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  html body.home .bg-v4-steps .step:nth-child(3) { border-right: 0; }
  html body.home .bg-v4-steps .step:nth-child(n+4) { border-top: 1px solid rgba(255, 253, 248, .28); padding-top: 22px; }
  html body.home .bg-v4-training { grid-template-columns: 1fr 1fr; }
  html body.home .bg-v4-training .bg-v4-line-link { grid-column: 2; }
}

@media (max-width: 760px) {
  html body.home header#nav.bg-premium-header,
  html body.home header#nav.bg-premium-header .wrap { min-height: 70px; }
  html body.home header#nav.bg-premium-header .wrap,
  html body.home #top.bg-redesign-v4-home > .wrap,
  html body.home .bg-premium-home .bg-home-section > .wrap,
  html body.home footer.bg-premium-footer > .wrap,
  html body.home .bg-footer-bottom { width: calc(100% - 40px); }
  html body.home #top.bg-redesign-v4-home > .wrap { min-height: min(760px, 100svh); padding: 70px 0 46px !important; }
  html body.home #top.bg-redesign-v4-home { min-height: min(760px, 100svh); height: min(760px, 100svh); }
  html body.home #top.bg-redesign-v4-home .hero-inner { width: 100%; }
  html body.home #top.bg-redesign-v4-home h1 { max-width: 9ch; margin-bottom: 22px !important; font-size: clamp(49px, 14.3vw, 72px) !important; }
  html body.home #top.bg-redesign-v4-home p { font-size: 15px !important; }
  html body.home #top.bg-redesign-v4-home .hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 25px; }
  html body.home .bg-v4-hero-index { top: 90px; right: 20px; font-size: 9px; }
  html body.home .bg-v4-scroll-cue { right: 18px; bottom: 26px; }
  html body.home .bg-premium-home .bg-home-section { padding: 76px 0 !important; }
  html body.home .bg-v4-section-heading,
  html body.home .bg-v4-complementary-intro,
  html body.home .bg-v4-products-feature,
  html body.home .bg-v4-about > .wrap,
  html body.home .bg-v4-cta > .wrap { display: block; }
  html body.home .bg-v4-section-heading { margin-bottom: 40px; }
  html body.home .bg-v4-section-heading h2,
  html body.home .bg-v4-projects-intro h2,
  html body.home .bg-v4-complementary-intro h2,
  html body.home .bg-v4-about h2,
  html body.home .bg-v4-cta h2 { max-width: 10ch; font-size: 48px !important; }
  html body.home .bg-v4-section-heading > p { margin-top: 24px; font-size: 15px !important; }
  html body.home .bg-v4-pathways-grid { display: block; }
  html body.home .bg-v4-path + .bg-v4-path { margin-top: 12px; }
  html body.home .bg-v4-path { min-height: 330px; padding: 28px 25px; }
  html body.home .bg-v4-path h3 { font-size: 45px !important; }
  html body.home .bg-v4-sector-grid { display: block; }
  html body.home .bg-v4-sector-card,
  html body.home .bg-v4-sector-card img { min-height: 330px; }
  html body.home .bg-v4-sector-card + .bg-v4-sector-card { margin-top: 12px; }
  html body.home .bg-v4-sector-card--wide { grid-column: auto; }
  html body.home .bg-v4-sector-caption { inset: auto 20px 20px; }
  html body.home .bg-v4-sector-caption strong { font-size: 36px; }
  html body.home .bg-v4-projects-intro { width: calc(100% - 40px); }
  html body.home .bg-v4-project-track { padding-inline: 20px !important; }
  html body.home .bg-v4-project-card { flex-basis: 83vw !important; }
  html body.home .bg-v4-steps { display: block; border-top: 1px solid rgba(255, 253, 248, .28); }
  html body.home .bg-v4-steps .step,
  html body.home .bg-v4-steps .step + .step,
  html body.home .bg-v4-steps .step:nth-child(n+4) { min-height: 0; padding: 20px 0; border-right: 0; border-top: 0; border-bottom: 1px solid rgba(255, 253, 248, .28); }
  html body.home .bg-v4-steps .bg-step-number { display: inline-block; width: 35px; margin: 0 12px 0 0; vertical-align: top; }
  html body.home .bg-v4-steps .step > div { display: inline-block; width: calc(100% - 52px); vertical-align: top; }
  html body.home .bg-v4-steps h3 { font-size: 30px !important; }
  html body.home .bg-v4-complementary-intro { margin-bottom: 40px; }
  html body.home .bg-v4-products-feature { padding-top: 30px; }
  html body.home .bg-v4-product-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 38px; gap: 18px 12px; }
  html body.home .bg-v4-training { display: block; margin-top: 48px; }
  html body.home .bg-v4-training p { margin: 20px 0; }
  html body.home .bg-about-copy { margin-bottom: 44px; }
  html body.home .bg-about-portraits { gap: 8px; }
  html body.home .bg-about-portraits figure:nth-child(2) { margin-top: 22px; }
  html body.home .bg-about-portraits figcaption { font-size: 19px; }
  html body.home .bg-v4-cta h2 { margin-bottom: 32px !important; }
  html body.home .bg-v4-cta-contact { gap: 14px; }
  html body.home footer.bg-premium-footer { padding-top: 58px; }
  html body.home footer.bg-premium-footer > .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 22px; }
  html body.home .bg-v4-footer-brand { grid-column: span 2; }
  html body.home .bg-footer-bottom { flex-wrap: wrap; gap: 12px 18px; margin-top: 42px; }
  html body.home .bg-footer-bottom a:first-of-type { margin-left: 0; }
  html body.home .bgv4-inquiry { padding: 12px; }
  html body.home .bgv4-inquiry-panel { max-height: calc(100vh - 24px); padding: 30px 20px 22px; }
  html body.home .bgv4-inquiry-form .bgv4-inquiry-row { grid-template-columns: 1fr; gap: 16px; }
  html body.home .bgv4-inquiry h2 { font-size: 46px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html body.home .bg-premium-home *,
  html body.home .bg-premium-home *::before,
  html body.home .bg-premium-home *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Project pages share the same editorial rhythm as the homepage. */
html body.bg-detail-page .bg-case-v4 {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  padding: 58px 0 100px;
  color: var(--bgv4-ink);
  font-family: 'Work Sans', system-ui, sans-serif;
}
html body.bg-detail-page .bg-case-v4 .bg-perfection-breadcrumb { margin-bottom: 64px; color: var(--bgv4-ink-soft); }
html body.bg-detail-page .bg-case-v4 .bg-perfection-breadcrumb a { color: var(--bgv4-ink); }
html body.bg-detail-page .bg-case-v4-hero { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr); gap: 8vw; align-items: end; }
html body.bg-detail-page .bg-case-v4-hero header { padding-bottom: 18px; }
html body.bg-detail-page .bg-case-v4-hero h1,
html body.bg-detail-page .bg-case-v4-story h2,
html body.bg-detail-page .bg-case-v4-gallery-heading h2,
html body.bg-detail-page .bg-case-v4-next h2 {
  margin: 0 !important;
  color: var(--bgv4-ink) !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: -.035em !important;
  text-transform: none !important;
}
html body.bg-detail-page .bg-case-v4-hero h1 { max-width: 8ch; font-size: clamp(54px, 7vw, 104px) !important; line-height: .87 !important; }
html body.bg-detail-page .bg-case-v4-hero .bg-case-meta { margin: 24px 0 0; color: var(--bgv4-ink-soft); font: 400 13px/1.5 'Work Sans', sans-serif; }
html body.bg-detail-page .bg-case-v4-hero figure { margin: 0; background: var(--bgv4-stone); }
html body.bg-detail-page .bg-case-v4-hero figure img { display: block; width: 100%; max-height: 720px; object-fit: cover; }
html body.bg-detail-page .bg-case-v4 .bg-case-back { display: inline-flex; gap: 10px; margin-top: 32px; color: var(--bgv4-ink) !important; font: 500 12px/1.4 'Work Sans', sans-serif; text-decoration: none; border-bottom: 1px solid var(--bgv4-ink); padding-bottom: 9px; }
html body.bg-detail-page .bg-case-v4-story { display: grid; grid-template-columns: minmax(200px, .65fr) minmax(0, 1.35fr); gap: 8vw; padding: 130px 0 110px; border-bottom: 1px solid var(--bgv4-line); }
html body.bg-detail-page .bg-case-v4-story-label dl { margin: 32px 0 0; }
html body.bg-detail-page .bg-case-v4-story-label dl div { padding: 13px 0; border-top: 1px solid var(--bgv4-line); }
html body.bg-detail-page .bg-case-v4-story-label dt { color: var(--bgv4-ink-soft); font: 400 11px/1.3 'Work Sans', sans-serif; }
html body.bg-detail-page .bg-case-v4-story-label dd { margin: 5px 0 0; font: 500 14px/1.4 'Work Sans', sans-serif; }
html body.bg-detail-page .bg-case-v4-story h2 { max-width: 13ch; margin-bottom: 30px !important; font-size: clamp(40px, 4.5vw, 70px) !important; line-height: .92 !important; }
html body.bg-detail-page .bg-case-v4 .bg-case-content { max-width: 70ch; }
html body.bg-detail-page .bg-case-v4 .bg-case-content p,
html body.bg-detail-page .bg-case-v4 .bg-case-content li { color: var(--bgv4-ink-soft); font: 400 16px/1.8 'Work Sans', sans-serif; }
html body.bg-detail-page .bg-case-v4-gallery { padding: 110px 0; }
html body.bg-detail-page .bg-case-v4-gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
html body.bg-detail-page .bg-case-v4-gallery-heading h2 { font-size: clamp(40px, 4.5vw, 70px) !important; line-height: .9 !important; }
html body.bg-detail-page .bg-case-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
html body.bg-detail-page .bg-case-gallery figure { grid-column: span 5; margin: 0; background: var(--bgv4-stone); overflow: hidden; }
html body.bg-detail-page .bg-case-gallery figure:nth-child(3n + 2) { grid-column: span 7; }
html body.bg-detail-page .bg-case-gallery figure:nth-child(3n + 3) { grid-column: 3 / span 5; }
html body.bg-detail-page .bg-case-gallery img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; transition: transform .7s var(--bgv4-ease); }
html body.bg-detail-page .bg-case-gallery a:hover img { transform: scale(1.035); }
html body.bg-detail-page .bg-case-v4-next { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 72px 0; border-top: 1px solid var(--bgv4-line); border-bottom: 1px solid var(--bgv4-line); }
html body.bg-detail-page .bg-case-v4-next h2 { max-width: 9ch; font-size: clamp(40px, 4.5vw, 68px) !important; line-height: .9 !important; }
html body.bg-detail-page .bg-case-v4-next .bg-perfection-button { display: inline-flex; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--bgv4-ink); color: var(--bgv4-ink) !important; font: 500 12px/1.4 'Work Sans', sans-serif; text-decoration: none; }
html body.bg-detail-page .bg-case-v4-all { margin-top: 38px !important; }

@media (max-width: 760px) {
  html body.bg-detail-page .bg-case-v4 { width: calc(100% - 40px); padding: 40px 0 72px; }
  html body.bg-detail-page .bg-case-v4 .bg-perfection-breadcrumb { margin-bottom: 42px; }
  html body.bg-detail-page .bg-case-v4-hero,
  html body.bg-detail-page .bg-case-v4-story { display: block; }
  html body.bg-detail-page .bg-case-v4-hero header { padding-bottom: 36px; }
  html body.bg-detail-page .bg-case-v4-hero h1 { font-size: 64px !important; }
  html body.bg-detail-page .bg-case-v4-story { padding: 76px 0; }
  html body.bg-detail-page .bg-case-v4-story-label { margin-bottom: 48px; }
  html body.bg-detail-page .bg-case-v4-gallery { padding: 76px 0; }
  html body.bg-detail-page .bg-case-v4-gallery-heading { display: block; }
  html body.bg-detail-page .bg-case-v4-gallery-heading h2 { margin-top: 15px !important; font-size: 50px !important; }
  html body.bg-detail-page .bg-case-gallery { display: block; }
  html body.bg-detail-page .bg-case-gallery figure,
  html body.bg-detail-page .bg-case-gallery figure:nth-child(3n + 2),
  html body.bg-detail-page .bg-case-gallery figure:nth-child(3n + 3) { margin-top: 14px; }
  html body.bg-detail-page .bg-case-gallery img { min-height: 0; aspect-ratio: 4 / 3; }
  html body.bg-detail-page .bg-case-v4-next { display: block; padding: 54px 0; }
  html body.bg-detail-page .bg-case-v4-next .bg-perfection-button { margin-top: 26px; }
}
