
:root {
  --magenta: #9a2969;
  --magenta-dark: #6d1748;
  --ink: #151515;
  --soft-ink: #4d4d4d;
  --muted: #777;
  --paper: #fbfbfa;
  --warm: #f4f2ef;
  --line: #e7e2df;
  --panel: rgba(255,255,255,0.86);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251,251,250,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-link img { width: 184px; height: auto; }
.nav { display: flex; gap: 22px; align-items: center; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.nav a { color: #333; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.active { color: var(--magenta); border-bottom-color: var(--magenta); }
.menu-button { display: none; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }

.hero {
  min-height: 690px;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.94), rgba(255,255,255,0.76) 46%, rgba(255,255,255,0.38)), url('../assets/images/brand/bars-color.jpg');
  background-size: cover;
  background-position: center top;
  opacity: .78;
}
.hero-inner {
  position: static;
  max-width: var(--max);
  margin: 0 auto;
  padding: 116px 24px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 44px;
  align-items: end;
}
.hero-copy { max-width: 680px; position: relative; z-index: 2; }
.kicker { color: #a23a73; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; margin-bottom: 18px; font-weight: 600; }
h1 { margin: 0; font-size: clamp(44px, 7vw, 82px); line-height: .96; letter-spacing: -0.055em; font-weight: 300; color: #565656; }
h1 .accent { color: var(--magenta); }
.lead { font-size: clamp(18px, 2.2vw, 22px); color: #3b3b3b; margin: 28px 0 0; max-width: 780px; }
.sublead { font-size: 17px; color: #555; margin: 16px 0 0; max-width: 720px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 34px; }
.text-link { color: #963066; font-weight: 650; border-bottom: 1px solid rgba(154,41,105,.48); padding-bottom: 4px; }
.text-link:hover { border-bottom-color: var(--magenta); }
.hero-logo-mark {
  --hero-logo-offset: clamp(64px, 6.5vw, 124px);
  position: absolute;
  top: var(--hero-logo-offset);
  right: var(--hero-logo-offset);
  width: min(520px, 36vw);
  opacity: .96;
  z-index: 2;
}
.hero-logo-mark img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 32px rgba(255,255,255,.56));
}

.section { padding: 92px 24px; }
.section.compact { padding: 66px 24px; }
.wrap { max-width: var(--max); margin: 0 auto; }
.section-title { font-size: clamp(30px, 4vw, 52px); line-height: 1.06; letter-spacing: -.04em; font-weight: 300; margin: 0; }
.section-intro { margin: 18px 0 0; color: var(--soft-ink); max-width: 760px; font-size: 18px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 42px;
}
.service-card {
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  padding: 34px 30px;
  min-height: 310px;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(154,41,105,.08), transparent 70%);
}
.num { color: var(--magenta); font-size: 13px; letter-spacing: .16em; }
.service-card h2 { font-size: 28px; font-weight: 300; letter-spacing: -.03em; margin: 14px 0 16px; }
.service-card p { color: var(--soft-ink); margin: 0 0 22px; }

.works { background: var(--warm); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.work-card { background: #fff; border: 1px solid rgba(0,0,0,.06); overflow: hidden; }
.work-card.large { grid-column: span 7; }
.work-card.medium { grid-column: span 5; }
.work-card.small { grid-column: span 4; }
.work-card img { width: 100%; height: 290px; object-fit: cover; }
.work-card.large img { height: 390px; }
.work-caption { padding: 14px 16px; font-size: 13px; color: var(--soft-ink); letter-spacing: .04em; text-transform: uppercase; }

.lab-preview {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.lab-preview::before, .page-hero::before, .contact-page::before, .privacy-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/brand/bars-bw.jpg');
  background-size: cover;
  background-position: center;
  opacity: .12;
  pointer-events: none;
}
.lab-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}
.lab-box { background: rgba(255,255,255,.74); border: 1px solid var(--line); padding: 32px; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 26px 0; }
.step-chip { border: 1px solid var(--line); padding: 14px 12px; font-size: 14px; background: rgba(255,255,255,.65); }

.approach { background: #171217; color: #f4f0f2; position: relative; overflow: hidden; }
.approach::before { content:""; position:absolute; inset:0; background-image:url('../assets/images/brand/bars-dark-magenta.jpg'); background-size:cover; background-position:center; opacity:.18; }
.approach .wrap { position: relative; }
.approach .section-intro { color: rgba(255,255,255,.78); }

.contact-strip { position: relative; background: #fff; overflow: hidden; }
.contact-strip::before { content:""; position:absolute; inset:0; background-image:url('../assets/images/brand/bars-paper-bg.png'); background-size:cover; background-position:center; opacity:.36; }
.contact-strip .wrap { position: relative; }
.contact-panel { background: rgba(255,255,255,.78); border: 1px solid var(--line); padding: 34px; max-width: 760px; }

.site-footer { background: #f3f1ef; color: var(--soft-ink); padding: 34px 24px; font-size: 13px; border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 34px; align-items: flex-start; flex-wrap: nowrap; }
.footer-brand-block { flex: 0 0 auto; min-width: 280px; }
.footer-brand img { width: 142px; height: auto; opacity: .96; }
.footer-tagline { margin-top: 10px; }
.footer-meta { flex: 1; display: flex; justify-content: flex-end; align-items: flex-start; gap: 28px; flex-wrap: wrap; padding-top: 52px; text-align: right; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a:hover { color: var(--magenta); }
.footer-copyright { white-space: nowrap; }

.page-hero { position: relative; overflow: hidden; padding: 96px 24px 72px; background:#fff; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(44px, 6vw, 72px); }
.page-content { max-width: 980px; margin: 0 auto; padding: 72px 24px; }
.page-content h2 { font-weight:300; font-size: clamp(28px, 4vw, 44px); letter-spacing:-.04em; margin: 46px 0 16px; }
.page-content h3 { color: var(--magenta); margin-top: 34px; }
.page-content p, .page-content li { color: var(--soft-ink); font-size: 17px; }
.page-content ul { padding-left: 22px; }
.page-split { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.profile-img { border: 1px solid var(--line); }
.detail-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-top:28px; }
.detail-card { background:#fff; border:1px solid var(--line); padding:22px; }
.video-placeholder { border:1px solid var(--line); background:#111; color:#fff; padding:90px 28px; text-align:center; margin-top:34px; }
.notice { background: #f7f2f5; border-left: 4px solid var(--magenta); padding: 22px; margin: 28px 0; }
.contact-page, .privacy-page { position:relative; overflow:hidden; }
.contact-page .page-content, .privacy-page .page-content { position:relative; }
.contact-list { background: rgba(255,255,255,.82); border:1px solid var(--line); padding:28px; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: rgba(251,251,250,.98); flex-direction: column; align-items: flex-start; padding: 18px 24px 22px; border-bottom: 1px solid rgba(0,0,0,.08); display: none; }
  .nav.open { display: flex; }
  .hero-inner { position: relative; grid-template-columns: 1fr; padding-top: 86px; }
  .hero-logo-mark { position: static; justify-self: start; width: 300px; max-width: 84vw; }
  .service-grid, .lab-grid, .page-split { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .work-card, .work-card.large, .work-card.medium, .work-card.small { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header-inner { padding: 14px 18px; }
  .logo-link img { width: 150px; }
  .hero { min-height: auto; }
  .hero::before { background-position: 62% top; opacity:.55; }
  .hero-inner { padding: 74px 18px 70px; }
  h1 { font-size: 43px; }
  .lead { font-size: 18px; }
  .section { padding: 68px 18px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-card img, .work-card.large img { height: 245px; }
  .contact-panel { padding: 24px; }
  .footer-inner { align-items:flex-start; flex-direction: column; flex-wrap: wrap; gap: 18px; }
  .footer-brand-block { min-width: 0; }
  .footer-meta { padding-top: 0; text-align: left; justify-content: flex-start; gap: 12px 20px; }
  .footer-links { justify-content: flex-start; }
  .footer-copyright { white-space: normal; }
  .page-content { padding: 56px 18px; }
  .page-hero { padding: 76px 18px 54px; }
  .detail-grid { grid-template-columns:1fr; }
}

/* v0.6 contact refinements */
.contact-page .page-split { align-items: start; }
.contact-page .contact-list h2,
.contact-page .page-split h2 { margin-top: 0; }
.contact-page .contact-list { box-shadow: 0 22px 60px rgba(0,0,0,.04); }
.contact-page .notice { margin-top: 42px; }

/* v0.7 about refinements */
.about-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 92px 24px 78px;
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.93), rgba(255,255,255,.84) 48%, rgba(255,255,255,.66)), url('../assets/images/brand/bars-color.jpg');
  background-size: cover;
  background-position: center top;
  opacity: .44;
  pointer-events: none;
}
.about-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
  gap: 58px;
  align-items: center;
}
.about-copy h1 {
  max-width: 760px;
}
.portrait-panel {
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: 0 28px 74px rgba(0,0,0,.06);
}
.portrait-panel .profile-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 0;
}
.portrait-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
  color: var(--soft-ink);
  font-size: 13px;
  letter-spacing: .02em;
}
.portrait-caption strong {
  color: var(--ink);
  font-weight: 650;
}
.about-intro {
  max-width: 980px;
}
.detail-grid.three {
  grid-template-columns: repeat(3,1fr);
}
.about-sections {
  padding-top: 36px;
}
.about-sections .detail-card h3 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .portrait-panel { max-width: 440px; }
  .detail-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .about-hero { padding: 72px 18px 58px; }
  .portrait-caption { flex-direction: column; gap: 4px; }
}


/* v0.8 footer and visualization refinements */
.visualization-intro {
  max-width: 920px;
}
.gallery-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}


/* Restoration Lab refinements */
.restoration-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 44px;
}
.restoration-intro-text p:first-child { margin-top: 0; }
.restoration-preview {
  background: rgba(255,255,255,.84);
  border: 1px solid var(--line);
  padding: 16px;
  box-shadow: 0 22px 50px rgba(0,0,0,.06);
}
.restoration-preview img {
  width: 100%;
  height: auto;
}
.preview-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 2px 0;
  color: var(--soft-ink);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.restoration-tags,
.improvement-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 8px;
}
.restoration-tags span,
.improvement-tags span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.74);
  padding: 10px 13px;
  font-size: 13px;
  color: var(--soft-ink);
}
.source-requirement {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px;
  margin: 34px 0;
}
.source-requirement h3 { margin-top: 0; }
.request-list {
  columns: 2;
  column-gap: 42px;
  margin-top: 20px;
}
.request-list li { break-inside: avoid; }
@media (max-width: 900px) {
  .restoration-intro { grid-template-columns: 1fr; }
  .request-list { columns: 1; }
}


/* v1.0 animation refinements */
.animation-hero::before {
  opacity: .10;
}
.animation-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 44px;
}
.showreel-panel {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: #171217;
  color: #f4f0f2;
  border: 1px solid rgba(0,0,0,.08);
  padding: 34px;
  box-shadow: 0 24px 60px rgba(0,0,0,.07);
}
.showreel-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/brand/bars-dark-magenta.jpg');
  background-size: cover;
  background-position: center;
  opacity: .24;
}
.showreel-panel > * {
  position: relative;
}
.showreel-label {
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  margin-bottom: 34px;
}
.showreel-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 300;
  max-width: 340px;
}
.showreel-panel p {
  color: rgba(255,255,255,.72);
  margin: 18px 0 28px;
}
.showreel-panel .text-link {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.45);
}
.motion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0 10px;
}
.motion-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 25px;
}
.motion-card span {
  color: var(--magenta);
  font-size: 13px;
  letter-spacing: .16em;
}
.motion-card h3 {
  margin: 14px 0 10px;
}
.motion-card p {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .animation-intro, .motion-grid { grid-template-columns: 1fr; }
}


/* Selected video cards */
.selected-videos {
  margin: clamp(2.8rem, 5vw, 5rem) 0;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 28px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(30,30,30,0.08);
  box-shadow: 0 20px 60px rgba(24, 18, 28, 0.06);
}

.section-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.section-intro {
  max-width: 760px;
  color: var(--text-soft);
}

.video-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  margin-top: 1.6rem;
}

.video-card {
  min-height: 220px;
  padding: clamp(1.2rem, 2.5vw, 1.6rem);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(249,247,250,0.82));
  border: 1px solid rgba(30,30,30,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-card h3 {
  margin: 0.7rem 0 0.7rem;
}

.video-card p {
  color: var(--text-soft);
  margin-bottom: 1.3rem;
}

.video-number {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

@media (max-width: 860px) {
  .video-card-grid {
    grid-template-columns: 1fr;
  }

  .video-card {
    min-height: auto;
  }
}


/* Video thumbnails and modal player */
.video-thumb-card {
  padding: 0;
  overflow: hidden;
}

.video-thumb-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: #111;
  cursor: pointer;
  overflow: hidden;
}

.video-thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 260ms ease, filter 260ms ease;
}

.video-thumb-button:hover img,
.video-thumb-button:focus-visible img {
  transform: scale(1.05);
  filter: brightness(0.86);
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.88);
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
  padding-left: 0.15rem;
  box-shadow: 0 18px 46px rgba(0,0,0,0.18);
}

.video-card-body {
  padding: clamp(1.2rem, 2.5vw, 1.6rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-open-link {
  border: 0;
  background: transparent;
  padding: 0;
  align-self: flex-start;
  cursor: pointer;
  font: inherit;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.video-modal.is-open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 14, 0.74);
  backdrop-filter: blur(8px);
}

.video-modal-dialog {
  position: relative;
  width: min(1120px, 100%);
  background: #111;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.36);
  overflow: hidden;
}

.video-modal-header {
  min-height: 58px;
  padding: 0.8rem 1rem 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255,255,255,0.96);
}

.video-modal-header h2 {
  font-size: 1rem;
  margin: 0;
}

.video-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(30,30,30,0.12);
  background: #fff;
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.video-modal-frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

body.video-modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .play-badge {
    width: 54px;
    height: 54px;
    font-size: 1.1rem;
  }

  .video-modal {
    padding: 0.75rem;
  }

  .video-modal-dialog {
    border-radius: 18px;
  }

  .video-modal-header {
    min-height: 52px;
  }
}


.video-modal-fallback {
  padding: 0.75rem 1rem 0.9rem;
  background: rgba(255,255,255,0.96);
  color: var(--text-soft);
  font-size: 0.86rem;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.video-modal-fallback a {
  color: var(--accent);
  font-weight: 700;
}


/* Restoration examples */
.restoration-examples {
  margin: clamp(3rem, 6vw, 6rem) 0;
}

.restoration-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.6vw, 2rem);
  margin-top: 1.8rem;
}

.restoration-case-card {
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(30,30,30,0.08);
  box-shadow: 0 22px 70px rgba(20, 16, 24, 0.07);
}

.restoration-case-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #111;
}

.restoration-case-copy {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.restoration-case-copy span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.restoration-case-copy h3 {
  margin: 0 0 0.45rem;
}

.restoration-case-copy p {
  margin: 0;
  color: var(--text-soft);
}

@media (max-width: 860px) {
  .restoration-case-grid {
    grid-template-columns: 1fr;
  }
}


/* Restoration Lab refinement v1.5 */
.restoration-examples {
  margin: clamp(3rem, 6vw, 6rem) auto;
}

.restoration-examples > .section-kicker,
.restoration-examples > h2,
.restoration-examples > .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.restoration-examples > h2 {
  max-width: 820px;
}

.restoration-examples > .section-intro {
  max-width: 780px;
}

.restoration-case-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.restoration-case-card {
  padding: clamp(0.65rem, 1.4vw, 0.95rem);
  overflow: hidden;
}

.restoration-case-card img {
  border-radius: 18px;
  transition: transform 360ms ease, filter 360ms ease;
  transform-origin: center center;
}

.restoration-case-card:hover img {
  transform: scale(1.045);
  filter: contrast(1.03) saturate(1.02);
}

.restoration-case-copy {
  text-align: left;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(0.25rem, 1vw, 0.6rem) clamp(0.25rem, 1vw, 0.5rem);
}

@media (hover: none) {
  .restoration-case-card:hover img {
    transform: none;
    filter: none;
  }
}

@media (max-width: 860px) {
  .restoration-case-grid {
    max-width: 680px;
  }
}


/* Restoration lightbox gallery v1.6 */
.restoration-case-card img {
  transform: none;
}

.restoration-case-card:hover img {
  transform: none;
  filter: none;
}

.restoration-lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
}

.restoration-lightbox-trigger img {
  transition: filter 260ms ease, opacity 260ms ease;
}

.restoration-lightbox-trigger:hover img,
.restoration-lightbox-trigger:focus-visible img {
  filter: contrast(1.04) brightness(0.92);
}

.restoration-open-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.restoration-lightbox-trigger:hover .restoration-open-badge,
.restoration-lightbox-trigger:focus-visible .restoration-open-badge {
  opacity: 1;
  transform: translateY(0);
}

.restoration-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2.5rem);
}

.restoration-lightbox.is-open {
  display: flex;
}

.restoration-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 14, 0.78);
  backdrop-filter: blur(8px);
}

.restoration-lightbox-dialog {
  position: relative;
  width: min(1480px, 100%);
  max-height: min(92vh, 980px);
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(246, 244, 247, 0.98);
  box-shadow: 0 34px 110px rgba(0,0,0,0.42);
}

.restoration-lightbox-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.85rem, 2vw, 1.15rem) clamp(1rem, 2.4vw, 1.45rem);
  border-bottom: 1px solid rgba(30,30,30,0.08);
}

.restoration-lightbox-header span {
  display: block;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 0.28rem;
}

.restoration-lightbox-header h2 {
  margin: 0 0 0.18rem;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.restoration-lightbox-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.restoration-lightbox-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(30,30,30,0.12);
  background: #fff;
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.restoration-lightbox-stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(0.7rem, 2vw, 1.2rem);
  background: #151317;
}

.restoration-lightbox-stage img {
  max-width: 100%;
  max-height: calc(92vh - 142px);
  display: block;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.34);
}

.restoration-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(42px, 5vw, 58px);
  height: clamp(42px, 5vw, 58px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.88);
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.8;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 16px 44px rgba(0,0,0,0.26);
}

.restoration-lightbox-prev {
  left: clamp(0.75rem, 2vw, 1.25rem);
}

.restoration-lightbox-next {
  right: clamp(0.75rem, 2vw, 1.25rem);
}

body.restoration-lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .restoration-open-badge {
    opacity: 1;
    transform: none;
    font-size: 0.7rem;
  }

  .restoration-lightbox {
    padding: 0.55rem;
  }

  .restoration-lightbox-dialog {
    border-radius: 18px;
  }

  .restoration-lightbox-header {
    padding-right: 0.75rem;
  }

  .restoration-lightbox-header p {
    display: none;
  }

  .restoration-lightbox-stage {
    padding: 0.55rem;
  }

  .restoration-lightbox-stage img {
    max-height: calc(92vh - 110px);
  }
}


/* Restoration gallery refinement v1.7 */
.restoration-lightbox-trigger {
  cursor: zoom-in;
}

.restoration-lightbox-trigger img {
  transition: transform 320ms ease, filter 320ms ease;
  transform-origin: center center;
}

.restoration-lightbox-trigger:hover img,
.restoration-lightbox-trigger:focus-visible img {
  transform: scale(1.04);
  filter: contrast(1.04) brightness(0.9);
}

.restoration-open-badge {
  opacity: 0.92;
  transform: translateY(0);
}

.restoration-lightbox-dialog {
  width: min(1760px, 98vw);
  max-height: 96vh;
  border-radius: 22px;
}

.restoration-lightbox-header {
  min-height: 70px;
  padding: 0.75rem 1rem 0.72rem 1.2rem;
}

.restoration-lightbox-header h2 {
  font-size: clamp(0.95rem, 1.5vw, 1.18rem);
}

.restoration-lightbox-header p {
  font-size: 0.84rem;
}

.restoration-lightbox-stage {
  height: calc(96vh - 82px);
  padding: clamp(0.35rem, 1vw, 0.65rem);
  overflow: hidden;
  cursor: zoom-in;
}

.restoration-lightbox-stage img {
  width: min(1800px, 96vw);
  height: auto;
  max-width: none;
  max-height: calc(96vh - 96px);
  object-fit: contain;
  transform-origin: var(--pan-x, 50%) var(--pan-y, 50%);
  transition: transform 180ms ease;
}

.restoration-lightbox-stage:hover img {
  transform: scale(1.18);
}

.restoration-lightbox-stage.is-pan-active {
  cursor: move;
}

.restoration-lightbox-nav {
  opacity: 0.9;
}

@media (hover: none) {
  .restoration-lightbox-trigger:hover img,
  .restoration-lightbox-trigger:focus-visible img {
    transform: none;
  }

  .restoration-lightbox-stage:hover img {
    transform: none;
  }
}

@media (max-width: 700px) {
  .restoration-lightbox-dialog {
    width: 100%;
    max-height: 94vh;
  }

  .restoration-lightbox-header {
    min-height: 58px;
  }

  .restoration-lightbox-stage {
    height: calc(94vh - 64px);
  }

  .restoration-lightbox-stage img {
    width: 100%;
    max-width: 100%;
    max-height: calc(94vh - 76px);
  }
}


/* Home redesign v1.8 */
.home-hero-v18 {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  background: #fff;
  padding: clamp(5.8rem, 8vw, 8rem) 24px clamp(4.6rem, 7vw, 7rem);
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 42%, rgba(255,255,255,0.48) 100%),
    url('../assets/images/brand/bars-color.jpg') center top / cover no-repeat;
  opacity: 0.88;
}

.home-hero-v18::after {
  content: "";
  position: absolute;
  right: -10vw;
  top: 12%;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154,41,105,0.16), transparent 68%);
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(2.4rem, 5vw, 5.2rem);
  align-items: center;
}

.home-hero-copy h1 {
  max-width: 760px;
  color: #343236;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.home-hero-copy .lead {
  max-width: 690px;
  color: #2f2f31;
}

.home-hero-copy .sublead {
  max-width: 650px;
  color: #545154;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.button-primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 18px 44px rgba(154,41,105,0.22);
}

.button-secondary {
  background: rgba(255,255,255,0.72);
  color: var(--magenta);
  border: 1px solid rgba(154,41,105,0.28);
  backdrop-filter: blur(6px);
}

.home-visual-stack {
  position: relative;
  min-height: 640px;
}

.home-logo-float {
  position: absolute;
  z-index: 4;
  right: 0;
  top: 0;
  width: min(390px, 72%);
  padding: 1.2rem 1.35rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(255,255,255,0.68);
  box-shadow: 0 20px 70px rgba(20, 16, 24, 0.09);
  backdrop-filter: blur(10px);
}

.stack-card {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(30,30,30,0.08);
  box-shadow: 0 28px 90px rgba(24, 18, 28, 0.15);
}

.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.48rem 0.68rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: #2f2d30;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stack-card-main {
  left: 0;
  top: 105px;
  width: 78%;
  height: 390px;
  z-index: 1;
}

.stack-card-side {
  right: 0;
  top: 320px;
  width: 58%;
  height: 220px;
  z-index: 3;
}

.stack-card-small {
  left: 10%;
  bottom: 0;
  width: 42%;
  height: 180px;
  z-index: 2;
}

.home-services-v18,
.home-selected-v18 {
  padding: clamp(4.8rem, 8vw, 7.2rem) 24px;
  background: var(--paper);
}

.section-heading-center {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.section-heading-center .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.home-service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.6rem);
  margin-top: clamp(2rem, 4vw, 3.2rem);
}

.home-service-card {
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(30,30,30,0.08);
  box-shadow: 0 22px 70px rgba(20,16,24,0.06);
}

.home-service-card a {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.home-service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.home-service-card:hover img {
  transform: scale(1.045);
  filter: contrast(1.04) saturate(1.03);
}

.home-service-copy {
  padding: clamp(1.25rem, 2vw, 1.65rem);
}

.home-service-copy span,
.approach-mini-grid span {
  display: block;
  color: var(--magenta);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.home-service-copy h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 350;
}

.home-service-copy p {
  color: var(--soft-ink);
  margin: 0 0 1.15rem;
}

.home-service-copy strong {
  color: var(--magenta);
  font-size: 0.92rem;
}

.home-feature-v18 {
  position: relative;
  overflow: hidden;
  padding: clamp(4.8rem, 8vw, 7.4rem) 24px;
  background: #171217;
  color: #f8f5f7;
}

.home-feature-v18::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../assets/images/brand/bars-dark-magenta.jpg') center / cover no-repeat;
  opacity: 0.18;
}

.home-feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.home-feature-image {
  padding: clamp(0.65rem, 1.5vw, 0.95rem);
  border-radius: 30px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 28px 100px rgba(0,0,0,0.24);
}

.home-feature-image img {
  border-radius: 22px;
}

.home-feature-copy .section-title {
  color: #fff;
}

.home-feature-copy .section-intro {
  color: rgba(255,255,255,0.78);
}

.home-steps .step-chip {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.84);
}

.home-selected-v18 {
  background: #f4f2ef;
}

.home-section-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.home-section-row .section-intro {
  margin: 0;
}

.home-showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: clamp(0.9rem, 1.5vw, 1.15rem);
}

.home-showcase-card {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(30,30,30,0.08);
  box-shadow: 0 18px 54px rgba(20,16,24,0.06);
}

.home-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.home-showcase-card:hover img {
  transform: scale(1.04);
  filter: contrast(1.03) saturate(1.03);
}

.home-showcase-wide {
  grid-column: span 8;
}

.home-showcase-tall {
  grid-column: span 4;
  grid-row: span 2;
}

.home-showcase-card .work-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  padding: 0.5rem 0.7rem;
}

.home-approach-v18 {
  position: relative;
  overflow: hidden;
  padding: clamp(4.8rem, 8vw, 7rem) 24px;
  background: #fff;
}

.home-approach-v18::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../assets/images/brand/bars-bw.jpg') center / cover no-repeat;
  opacity: 0.1;
}

.home-approach-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.approach-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.7rem;
}

.approach-mini-grid div {
  padding: 1.1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(30,30,30,0.08);
}

.approach-mini-grid strong {
  display: block;
  margin-bottom: 0.35rem;
}

.approach-mini-grid p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.92rem;
}

.home-contact-panel {
  max-width: 860px;
}

@media (max-width: 980px) {
  .home-hero-grid,
  .home-feature-grid,
  .home-approach-grid,
  .home-section-row {
    grid-template-columns: 1fr;
  }

  .home-visual-stack {
    min-height: 540px;
  }

  .home-logo-float {
    width: min(340px, 72vw);
  }

  .home-service-cards {
    grid-template-columns: 1fr;
  }

  .home-service-card img {
    height: 290px;
  }

  .home-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .home-showcase-card,
  .home-showcase-wide,
  .home-showcase-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .approach-mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .home-hero-v18 {
    min-height: auto;
    padding: 4.8rem 18px 4rem;
  }

  .home-hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .home-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .home-visual-stack {
    min-height: 440px;
    margin-top: 0.5rem;
  }

  .home-logo-float {
    left: 0;
    right: auto;
    width: 86%;
  }

  .stack-card-main {
    top: 92px;
    width: 100%;
    height: 260px;
  }

  .stack-card-side {
    top: 300px;
    right: 0;
    width: 78%;
    height: 130px;
  }

  .stack-card-small {
    display: none;
  }

  .home-services-v18,
  .home-selected-v18,
  .home-feature-v18,
  .home-approach-v18 {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-service-card img {
    height: 230px;
  }

  .home-showcase-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 235px;
  }
}


/* Home hero logo correction v1.9 */
.home-hero-logo-main {
  position: absolute;
  z-index: 3;
  top: clamp(88px, 8.4vw, 122px);
  right: clamp(32px, 8.4vw, 122px);
  width: min(520px, 38vw);
  pointer-events: none;
}

.home-hero-logo-main img {
  display: block;
  width: 100%;
  height: auto;
}

.home-visual-stack {
  margin-top: clamp(5.5rem, 9vw, 8.5rem);
  min-height: 570px;
}

.stack-card-main {
  top: 40px;
  width: 82%;
  height: 385px;
}

.stack-card-side {
  top: 285px;
  width: 60%;
  height: 225px;
}

.stack-card-small {
  bottom: 0;
}

@media (max-width: 980px) {
  .home-hero-logo-main {
    position: relative;
    top: auto;
    right: auto;
    width: min(420px, 78vw);
    margin: 0 auto clamp(2rem, 5vw, 3rem);
  }

  .home-hero-grid {
    padding-top: 0;
  }

  .home-visual-stack {
    margin-top: 0;
    min-height: 520px;
  }

  .stack-card-main {
    top: 70px;
  }

  .stack-card-side {
    top: 310px;
  }
}

@media (max-width: 620px) {
  .home-hero-logo-main {
    width: 86vw;
    margin-bottom: 1.5rem;
  }

  .home-visual-stack {
    min-height: 430px;
  }

  .stack-card-main {
    top: 18px;
  }

  .stack-card-side {
    top: 285px;
  }
}


/* Home color reinforcement v2.0 */
.home-hero-bg {
  background:
    linear-gradient(105deg, rgba(255,255,255,0.91) 0%, rgba(255,255,255,0.72) 42%, rgba(255,255,255,0.22) 100%),
    url('../assets/images/brand/bars-color.jpg') center top / cover no-repeat;
  opacity: 1;
  filter: saturate(1.18) contrast(1.06);
}

.home-hero-v18::after {
  background: radial-gradient(circle, rgba(154,41,105,0.22), transparent 68%);
}

.home-hero-copy h1,
.home-hero-copy .lead,
.home-hero-copy .sublead {
  text-shadow: 0 1px 18px rgba(255,255,255,0.42);
}

@media (max-width: 620px) {
  .home-hero-bg {
    background:
      linear-gradient(115deg, rgba(255,255,255,0.93) 0%, rgba(255,255,255,0.74) 48%, rgba(255,255,255,0.34) 100%),
      url('../assets/images/brand/bars-color.jpg') center top / cover no-repeat;
    filter: saturate(1.12) contrast(1.04);
  }
}


/* Home hero panel refinement v2.1 */
.home-hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(1.2rem, 2.4vw, 1.9rem) clamp(1.15rem, 2.2vw, 1.7rem);
  border-radius: 30px;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 22px 70px rgba(38, 26, 36, 0.08);
  backdrop-filter: blur(7px);
}

.home-hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
  pointer-events: none;
}

.home-hero-copy > * {
  position: relative;
  z-index: 1;
}

.home-visual-stack {
  filter: drop-shadow(0 34px 65px rgba(36, 24, 34, 0.18))
          drop-shadow(0 10px 28px rgba(154,41,105,0.08));
}

.stack-card {
  box-shadow: 0 34px 95px rgba(24, 18, 28, 0.18);
}

@media (max-width: 980px) {
  .home-hero-copy {
    padding: 1.2rem 1.1rem 1.25rem;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(6px);
  }
}

@media (max-width: 620px) {
  .home-hero-copy {
    border-radius: 24px;
    padding: 1rem 0.95rem 1.05rem;
    background: rgba(255,255,255,0.58);
  }
}


/* Home polish v2.2 */
.home-hero-logo-main {
  top: clamp(32px, 8.4vw, 122px);
}

.home-visual-stack {
  filter: drop-shadow(0 42px 82px rgba(22, 16, 22, 0.28))
          drop-shadow(0 12px 30px rgba(154,41,105,0.12));
}

.stack-card {
  box-shadow: 0 42px 110px rgba(24, 18, 28, 0.22);
}

.home-bottom-bw-v22 {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.home-bottom-bw-v22::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../assets/images/brand/bars-bw.jpg') center / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.home-bottom-bw-v22 > * {
  position: relative;
  z-index: 1;
}

.home-approach-v18,
.contact-strip {
  background: transparent;
}

.home-approach-v18::before,
.contact-strip::before {
  display: none;
}

.home-approach-panel,
.home-contact-panel {
  position: relative;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  border-radius: 28px;
  background: rgba(255,255,255,0.54);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 22px 70px rgba(38, 26, 36, 0.08);
  backdrop-filter: blur(7px);
}

.home-approach-panel::before,
.home-contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  pointer-events: none;
}

.home-approach-panel > *,
.home-contact-panel > * {
  position: relative;
  z-index: 1;
}

.home-contact-panel {
  max-width: 860px;
}

@media (max-width: 980px) {
  .home-hero-logo-main {
    top: auto;
  }

  .home-approach-panel,
  .home-contact-panel {
    padding: 1.15rem 1.05rem 1.2rem;
    background: rgba(255,255,255,0.6);
  }
}

@media (max-width: 620px) {
  .home-approach-panel,
  .home-contact-panel {
    border-radius: 24px;
    backdrop-filter: blur(6px);
  }
}


/* 3D Visualization page redesign v2.4 */
.soft-panel {
  position: relative;
  border-radius: 30px;
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 22px 70px rgba(38, 26, 36, 0.08);
  backdrop-filter: blur(7px);
}

.soft-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  pointer-events: none;
}

.soft-panel > * {
  position: relative;
  z-index: 1;
}

.visualization-hero-v24 {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 8vw, 8rem) 24px clamp(4.6rem, 7vw, 7rem);
  background: #fff;
}

.visualization-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255,255,255,0.91) 0%, rgba(255,255,255,0.73) 44%, rgba(255,255,255,0.28) 100%),
    url('../assets/images/brand/bars-color.jpg') center top / cover no-repeat;
  filter: saturate(1.12) contrast(1.04);
  opacity: 1;
}

.visualization-hero-v24::after {
  content: "";
  position: absolute;
  right: -12vw;
  top: 10%;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154,41,105,0.16), transparent 68%);
  pointer-events: none;
}

.visualization-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(2.4rem, 5vw, 5rem);
  align-items: center;
}

.visualization-hero-copy {
  padding: clamp(1.35rem, 2.8vw, 2rem);
}

.visualization-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 6vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  color: #343236;
}

.visualization-hero-copy .lead {
  max-width: 680px;
  color: #2f2f31;
}

.visualization-hero-copy .sublead {
  max-width: 650px;
  color: #545154;
}

.hero-tags-v24 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.hero-tags-v24 span,
.viz-category-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(154,41,105,0.15);
  color: var(--magenta);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.visualization-hero-stack {
  position: relative;
  min-height: 600px;
  filter: drop-shadow(0 42px 82px rgba(22, 16, 22, 0.25))
          drop-shadow(0 12px 30px rgba(154,41,105,0.1));
}

.viz-stack-card {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(30,30,30,0.08);
  box-shadow: 0 38px 110px rgba(24, 18, 28, 0.18);
}

.viz-stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viz-stack-card span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.48rem 0.68rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: #2f2d30;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.viz-stack-main {
  left: 0;
  top: 0;
  width: 82%;
  height: 370px;
  z-index: 1;
}

.viz-stack-side {
  right: 0;
  top: 280px;
  width: 60%;
  height: 220px;
  z-index: 3;
}

.viz-stack-small {
  left: 8%;
  bottom: 0;
  width: 44%;
  height: 185px;
  z-index: 2;
}

.visualization-intro-v24,
.viz-gallery-section-v24 {
  padding: clamp(4.5rem, 7vw, 6.5rem) 24px;
  background: var(--paper);
}

.viz-gallery-section-v24 {
  padding-top: 0;
}

.viz-category-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.4rem);
}

.viz-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 245px;
  gap: clamp(1rem, 1.6vw, 1.25rem);
}

.viz-gallery-card {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(30,30,30,0.08);
  box-shadow: 0 22px 70px rgba(20,16,24,0.07);
  padding: clamp(0.55rem, 1vw, 0.75rem);
}

.viz-card-wide {
  grid-column: span 8;
}

.viz-card-tall {
  grid-row: span 2;
}

.viz-lightbox-trigger {
  position: relative;
  width: 100%;
  height: calc(100% - 74px);
  min-height: 150px;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  cursor: zoom-in;
}

.viz-lightbox-trigger img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 340ms ease, filter 340ms ease;
}

.viz-lightbox-trigger:hover img,
.viz-lightbox-trigger:focus-visible img {
  transform: scale(1.04);
  filter: contrast(1.04) brightness(0.92) saturate(1.03);
}

.viz-open-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
  opacity: 0.9;
}

.viz-card-copy {
  min-height: 74px;
  padding: 0.85rem 0.35rem 0.05rem;
}

.viz-card-copy span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--magenta);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.viz-card-copy h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: -0.035em;
}

.viz-method-v24 {
  position: relative;
  overflow: hidden;
  padding: clamp(4.8rem, 8vw, 7rem) 24px;
  background: #fff;
}

.viz-method-v24::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../assets/images/brand/bars-bw.jpg') center / cover no-repeat;
  opacity: 0.12;
}

.viz-method-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.viz-method-grid > .soft-panel,
.viz-method-panel {
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
}

/* 3D visualization lightbox */
.viz-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2.5rem);
}

.viz-lightbox.is-open {
  display: flex;
}

.viz-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 14, 0.78);
  backdrop-filter: blur(8px);
}

.viz-lightbox-dialog {
  position: relative;
  width: min(1680px, 98vw);
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(246,244,247,0.98);
  box-shadow: 0 34px 110px rgba(0,0,0,0.42);
}

.viz-lightbox-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.75rem 1rem 0.72rem 1.2rem;
  border-bottom: 1px solid rgba(30,30,30,0.08);
}

.viz-lightbox-header span {
  display: block;
  color: var(--magenta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 0.28rem;
}

.viz-lightbox-header h2 {
  margin: 0 0 0.18rem;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
}

.viz-lightbox-header p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.9rem;
}

.viz-lightbox-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(30,30,30,0.12);
  background: #fff;
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.viz-lightbox-stage {
  position: relative;
  height: calc(96vh - 86px);
  display: grid;
  place-items: center;
  padding: clamp(0.45rem, 1vw, 0.8rem);
  background: #151317;
}

.viz-lightbox-stage img {
  max-width: 100%;
  max-height: calc(96vh - 104px);
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.34);
}

.viz-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(42px, 5vw, 58px);
  height: clamp(42px, 5vw, 58px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.88);
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.8;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 16px 44px rgba(0,0,0,0.26);
}

.viz-lightbox-prev {
  left: clamp(0.75rem, 2vw, 1.25rem);
}

.viz-lightbox-next {
  right: clamp(0.75rem, 2vw, 1.25rem);
}

body.viz-lightbox-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .visualization-hero-grid,
  .viz-method-grid {
    grid-template-columns: 1fr;
  }

  .visualization-hero-stack {
    min-height: 520px;
  }

  .viz-stack-main {
    top: 0;
    width: 100%;
    height: 300px;
  }

  .viz-stack-side {
    top: 255px;
    width: 68%;
  }

  .viz-stack-small {
    bottom: 0;
  }

  .viz-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 255px;
  }

  .viz-gallery-card,
  .viz-card-wide,
  .viz-card-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 620px) {
  .visualization-hero-v24,
  .visualization-intro-v24,
  .viz-gallery-section-v24,
  .viz-method-v24 {
    padding-left: 18px;
    padding-right: 18px;
  }

  .visualization-hero-copy {
    border-radius: 24px;
    padding: 1rem 0.95rem 1.05rem;
    background: rgba(255,255,255,0.58);
  }

  .visualization-hero-copy h1 {
    font-size: clamp(2.9rem, 14vw, 4.5rem);
  }

  .visualization-hero-stack {
    min-height: 430px;
  }

  .viz-stack-main {
    height: 240px;
  }

  .viz-stack-side {
    top: 220px;
    width: 82%;
    height: 150px;
  }

  .viz-stack-small {
    display: none;
  }

  .viz-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
  }

  .viz-lightbox-dialog {
    width: 100%;
    max-height: 94vh;
    border-radius: 18px;
  }

  .viz-lightbox-header p {
    display: none;
  }

  .viz-lightbox-stage {
    height: calc(94vh - 66px);
  }

  .viz-lightbox-stage img {
    max-height: calc(94vh - 82px);
  }
}


/* 3D Visualization corrections v2.5 */
.visualization-hero-copy h1 {
  font-size: clamp(3rem, 5.4vw, 5.45rem);
}

.viz-bottom-bw-v25 {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.viz-bottom-bw-v25::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../assets/images/brand/bars-bw.jpg') center / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.viz-bottom-bw-v25 > * {
  position: relative;
  z-index: 1;
}

.viz-bottom-bw-v25 .viz-method-v24,
.viz-bottom-bw-v25 .contact-strip {
  background: transparent;
}

.viz-bottom-bw-v25 .viz-method-v24::before,
.viz-bottom-bw-v25 .contact-strip::before {
  display: none;
}

.viz-bottom-bw-v25 .home-contact-panel {
  position: relative;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  border-radius: 28px;
  background: rgba(255,255,255,0.54);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 22px 70px rgba(38, 26, 36, 0.08);
  backdrop-filter: blur(7px);
}

.viz-bottom-bw-v25 .home-contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  pointer-events: none;
}

.viz-bottom-bw-v25 .home-contact-panel > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 620px) {
  .visualization-hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4.15rem);
  }

  .viz-bottom-bw-v25 .home-contact-panel {
    border-radius: 24px;
    padding: 1rem 0.95rem 1.05rem;
  }
}


/* Lightbox containment fix v2.7 */
.viz-lightbox-dialog,
.restoration-lightbox-dialog {
  height: min(96vh, 980px);
  max-height: 96vh;
  display: flex;
  flex-direction: column;
}

.viz-lightbox-header,
.restoration-lightbox-header {
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
}

.viz-lightbox-stage,
.restoration-lightbox-stage {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow: hidden;
}

.viz-lightbox-stage img,
.restoration-lightbox-stage img {
  max-width: calc(100% - 96px);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.restoration-lightbox-stage img {
  transform-origin: var(--pan-x, 50%) var(--pan-y, 50%);
}

.restoration-lightbox-stage:hover img {
  transform: scale(1.14);
}

@media (max-width: 700px) {
  .viz-lightbox-dialog,
  .restoration-lightbox-dialog {
    height: 94vh;
    max-height: 94vh;
  }

  .viz-lightbox-stage img,
  .restoration-lightbox-stage img {
    max-width: 100%;
    max-height: 100%;
  }
}


/* Lightbox fit/actual-size behavior v2.8 */
.viz-lightbox-stage,
.restoration-lightbox-stage {
  overflow: hidden;
  cursor: zoom-in;
}

.viz-lightbox-stage img,
.restoration-lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: none;
  transition: opacity 160ms ease;
  cursor: zoom-in;
  user-select: none;
}

.viz-lightbox-stage:hover img,
.restoration-lightbox-stage:hover img {
  transform: none;
}

.viz-lightbox-stage.is-actual-size,
.restoration-lightbox-stage.is-actual-size {
  cursor: move;
}

.viz-lightbox-stage.is-actual-size img,
.restoration-lightbox-stage.is-actual-size img {
  max-width: none;
  max-height: none;
  object-fit: initial;
  cursor: move;
}

.viz-lightbox-stage::after,
.restoration-lightbox-stage::after {
  content: "Click image for 1:1 detail";
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 4;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  pointer-events: none;
  opacity: 0.86;
}

.viz-lightbox-stage.is-actual-size::after,
.restoration-lightbox-stage.is-actual-size::after {
  content: "Move mouse to pan · click to fit";
}

@media (max-width: 700px) {
  .viz-lightbox-stage::after,
  .restoration-lightbox-stage::after {
    content: "Tap image for detail";
    bottom: 10px;
    font-size: 0.68rem;
  }

  .viz-lightbox-stage.is-actual-size::after,
  .restoration-lightbox-stage.is-actual-size::after {
    content: "Tap to fit";
  }
}


/* Robust lightbox fit/detail mode v2.9 */
.viz-lightbox-stage,
.restoration-lightbox-stage {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  min-height: 0 !important;
  cursor: zoom-in;
}

.viz-lightbox-stage img,
.restoration-lightbox-stage img {
  position: absolute !important;
  display: block !important;
  max-width: none !important;
  max-height: none !important;
  width: auto;
  height: auto;
  object-fit: initial !important;
  transform: none !important;
  transition: none !important;
  user-select: none;
}

.viz-lightbox-stage:hover img,
.restoration-lightbox-stage:hover img {
  transform: none !important;
}

.viz-lightbox-stage.is-actual-size,
.restoration-lightbox-stage.is-actual-size {
  cursor: move;
}

.viz-lightbox-stage.is-actual-size img,
.restoration-lightbox-stage.is-actual-size img {
  cursor: move;
}

.viz-lightbox-stage::after,
.restoration-lightbox-stage::after {
  content: "Click image for 1:1 detail";
}

.viz-lightbox-stage.is-actual-size::after,
.restoration-lightbox-stage.is-actual-size::after {
  content: "Move mouse to pan · click to fit";
}


/* v3.6 Animation page refinement */
:root {
  --accent: var(--magenta);
  --text: var(--ink);
  --text-soft: var(--soft-ink);
}

.soft-panel {
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(231,226,223,.92);
  box-shadow: 0 28px 74px rgba(33, 25, 32, .08);
  backdrop-filter: blur(10px);
}

.animation-v36 {
  background: var(--paper);
}

.animation-hero-v36 {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  background: #171217;
  color: #f7f2f5;
}

.animation-hero-bg-v36 {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(23,18,23,.92), rgba(23,18,23,.70) 48%, rgba(23,18,23,.44)),
    url('../assets/images/brand/bars-dark-magenta.jpg');
  background-size: cover;
  background-position: center;
  opacity: 1;
}

.animation-hero-grid-v36 {
  position: relative;
  z-index: 1;
  min-height: 690px;
  padding: clamp(72px, 9vw, 116px) 24px clamp(70px, 8vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.animation-hero-copy-v36 {
  max-width: 760px;
  color: var(--ink);
  padding: clamp(28px, 4vw, 44px);
}

.animation-hero-copy-v36 h1 {
  font-size: clamp(42px, 6.1vw, 74px);
  color: #555;
}

.animation-hero-copy-v36 .lead {
  max-width: 680px;
}

.animation-tags-v36 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.animation-tags-v36 span {
  border: 1px solid rgba(154,41,105,.22);
  background: rgba(255,255,255,.72);
  color: var(--magenta);
  padding: 10px 13px;
  font-size: 13px;
  letter-spacing: .05em;
}

.animation-reel-stack-v36 {
  position: relative;
  min-height: 520px;
}

.animation-reel-card-v36,
.animation-video-thumb-v36 {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #111;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 30px 82px rgba(0,0,0,.30);
}

.animation-reel-card-v36 img,
.animation-video-thumb-v36 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.animation-reel-card-v36:hover img,
.animation-reel-card-v36:focus-visible img,
.animation-video-thumb-v36:hover img,
.animation-video-thumb-v36:focus-visible img {
  transform: scale(1.045);
  filter: brightness(.84);
}

.animation-reel-main-v36 {
  position: absolute;
  right: 8%;
  top: 8%;
  width: 82%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,.24);
}

.animation-reel-side-v36 {
  position: absolute;
  left: 0;
  bottom: 16%;
  width: 46%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,.20);
}

.animation-reel-small-v36 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,.20);
}

.animation-play-v36 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.90);
  color: var(--magenta);
  font-size: 1.38rem;
  line-height: 1;
  padding-left: .15rem;
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
}

.animation-reel-side-v36 .animation-play-v36,
.animation-reel-small-v36 .animation-play-v36,
.animation-video-compact-v36 .animation-play-v36 {
  width: 52px;
  height: 52px;
  font-size: 1.05rem;
}

.animation-reel-label-v36 {
  position: absolute;
  left: 16px;
  bottom: 14px;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.animation-intro-v36 {
  padding: clamp(72px, 8vw, 108px) 24px;
  background: #fff;
}

.animation-intro-grid-v36 {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.animation-intro-text-v36 p {
  color: var(--soft-ink);
  font-size: 18px;
  margin-top: 0;
}

.animation-videos-v36 {
  padding: clamp(64px, 8vw, 104px) 24px;
  position: relative;
  overflow: hidden;
  background: #f4f2ef;
}

.animation-videos-v36::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/brand/bars-bw.jpg');
  background-size: cover;
  background-position: center;
  opacity: .075;
  pointer-events: none;
}

.animation-videos-v36 .wrap,
.animation-videos-v36 .video-modal {
  position: relative;
}

.animation-video-layout-v36 {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 22px;
  margin-top: clamp(32px, 5vw, 54px);
}

.animation-video-feature-v36,
.animation-video-compact-v36 {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(231,226,223,.94);
  box-shadow: 0 22px 70px rgba(33, 25, 32, .07);
  overflow: hidden;
}

.animation-video-feature-v36 .animation-video-thumb-v36 {
  aspect-ratio: 16 / 9;
  box-shadow: none;
}

.animation-video-side-list-v36 {
  display: grid;
  gap: 22px;
}

.animation-video-compact-v36 {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 230px;
}

.animation-video-compact-v36 .animation-video-thumb-v36 {
  height: 100%;
  min-height: 230px;
  box-shadow: none;
}

.animation-video-copy-v36 {
  padding: clamp(22px, 3vw, 34px);
}

.animation-video-copy-v36 span {
  color: var(--magenta);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 650;
}

.animation-video-copy-v36 h3 {
  margin: 13px 0 10px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 300;
  color: #373737;
}

.animation-video-compact-v36 h3 {
  font-size: clamp(20px, 2.1vw, 26px);
}

.animation-video-copy-v36 p {
  color: var(--soft-ink);
  margin: 0 0 24px;
}

.animation-method-v36 {
  padding: clamp(72px, 8vw, 108px) 24px;
  background: #fff;
}

.animation-method-grid-v36 {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.animation-method-grid-v36 .soft-panel {
  padding: clamp(26px, 4vw, 38px);
}

.animation-method-panel-v36 {
  background: rgba(255,255,255,.82);
}

.animation-mini-grid-v36 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.animation-mini-grid-v36 div {
  padding: 22px;
  border: 1px solid rgba(231,226,223,.94);
  background: rgba(255,255,255,.64);
}

.animation-mini-grid-v36 span {
  display: block;
  color: var(--magenta);
  font-size: 12px;
  letter-spacing: .16em;
  margin-bottom: 12px;
}

.animation-mini-grid-v36 strong {
  display: block;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}

.animation-mini-grid-v36 p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 15px;
}

.animation-v36 .contact-strip {
  margin-top: 0;
}

.video-modal {
  z-index: 1000;
}

@media (max-width: 980px) {
  .animation-hero-grid-v36,
  .animation-intro-grid-v36,
  .animation-video-layout-v36,
  .animation-method-grid-v36 {
    grid-template-columns: 1fr;
  }

  .animation-reel-stack-v36 {
    min-height: 440px;
  }

  .animation-reel-main-v36 {
    right: 0;
    width: 78%;
  }

  .animation-video-compact-v36 {
    grid-template-columns: 1fr;
  }

  .animation-video-compact-v36 .animation-video-thumb-v36 {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 620px) {
  .animation-hero-grid-v36 {
    padding-left: 18px;
    padding-right: 18px;
  }

  .animation-hero-v36,
  .animation-hero-grid-v36 {
    min-height: auto;
  }

  .animation-hero-copy-v36 {
    padding: 24px;
  }

  .animation-reel-stack-v36 {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .animation-reel-main-v36,
  .animation-reel-side-v36,
  .animation-reel-small-v36 {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .animation-play-v36 {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
  }

  .animation-mini-grid-v36 {
    grid-template-columns: 1fr;
  }
}


/* v3.7 Animation hero/player corrections */
.animation-hero-v36 {
  background: #f5f1f3;
  color: var(--ink);
}

.animation-hero-bg-v36 {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.76) 45%, rgba(255,255,255,.48)),
    url('../assets/images/brand/bars-dark-magenta.jpg');
}

.animation-hero-copy-v36 {
  background: rgba(255,255,255,.78);
  color: var(--ink);
}

.animation-hero-copy-v36 h1 {
  color: #3f3a3d;
}

.animation-reel-card-v36 {
  box-shadow: 0 26px 72px rgba(33, 25, 32, .18);
}

.animation-reel-main-v36,
.animation-reel-side-v36,
.animation-reel-small-v36 {
  border-color: rgba(255,255,255,.54);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 42px);
}

.video-modal.is-open {
  display: flex;
}

.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 14, 18, .72);
  backdrop-filter: blur(8px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 94vw);
  max-height: min(86vh, 820px);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 36px 120px rgba(0,0,0,.34);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.video-modal-header {
  flex: 0 0 auto;
}

.video-modal-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(86vh - 118px);
  background: #111;
}

.video-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-modal-fallback {
  flex: 0 0 auto;
}

body.video-modal-open {
  overflow: hidden;
}

@media (max-width: 620px) {
  .video-modal {
    padding: 14px;
  }

  .video-modal-dialog {
    width: 96vw;
    max-height: 88vh;
  }

  .video-modal-frame {
    max-height: calc(88vh - 126px);
  }
}


/* v3.8 Animation contrast and definitive video modal fix */
.animation-hero-bg-v36 {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.82), rgba(255,255,255,.68) 45%, rgba(255,255,255,.38)),
    url('../assets/images/brand/bars-dark-magenta.jpg');
}

.animation-hero-copy-v36 {
  background: rgba(255,255,255,.74);
  box-shadow: 0 30px 82px rgba(33, 25, 32, .12);
}

.animation-reel-card-v36 {
  box-shadow: 0 30px 84px rgba(33, 25, 32, .22);
}

/* Higher-specificity override: previous .animation-videos-v36 .video-modal rule was keeping the modal relative. */
.animation-videos-v36 .video-modal,
.video-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(18px, 3vw, 42px) !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}

.animation-videos-v36 .video-modal.is-open,
.video-modal.is-open {
  display: flex !important;
}

.animation-videos-v36 .video-modal-backdrop,
.video-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(18, 14, 18, .72) !important;
  backdrop-filter: blur(8px);
}

.animation-videos-v36 .video-modal-dialog,
.video-modal-dialog {
  position: relative !important;
  z-index: 1 !important;
  width: min(1180px, 94vw) !important;
  max-height: min(86vh, 820px) !important;
  background: rgba(255,255,255,.97) !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  box-shadow: 0 36px 120px rgba(0,0,0,.34) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transform: none !important;
}

.animation-videos-v36 .video-modal-frame,
.video-modal-frame {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  max-height: calc(86vh - 118px) !important;
  background: #111 !important;
}

.animation-videos-v36 .video-modal-frame iframe,
.video-modal-frame iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}

html:has(body.video-modal-open) {
  overflow: hidden;
}

body.video-modal-open {
  overflow: hidden !important;
}

@media (max-width: 620px) {
  .animation-videos-v36 .video-modal,
  .video-modal {
    padding: 14px !important;
  }

  .animation-videos-v36 .video-modal-dialog,
  .video-modal-dialog {
    width: 96vw !important;
    max-height: 88vh !important;
  }

  .animation-videos-v36 .video-modal-frame,
  .video-modal-frame {
    max-height: calc(88vh - 126px) !important;
  }
}


/* v3.9 Animation hero refinement and modal scroll cleanup */
.animation-hero-bg-v36 {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.72), rgba(255,255,255,.55) 45%, rgba(255,255,255,.24)),
    url('../assets/images/brand/bars-dark-magenta.jpg');
}

.animation-hero-copy-v36 {
  background: rgba(255,255,255,.70);
  box-shadow: 0 32px 86px rgba(33, 25, 32, .15);
}

.animation-reel-card-v36 {
  box-shadow: 0 34px 90px rgba(33, 25, 32, .26);
}

.animation-reel-static-v39 {
  cursor: default;
  pointer-events: none;
}

.animation-reel-static-v39 img {
  transform: none !important;
  filter: none !important;
}

.animation-reel-static-v39:hover img,
.animation-reel-static-v39:focus-visible img {
  transform: none !important;
  filter: none !important;
}

.video-modal {
  overscroll-behavior: contain;
}

body.video-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
  scrollbar-gutter: stable;
}


/* v4.0 Animation hero image card polish */
.animation-reel-card-v36 {
  border-radius: 24px;
}

.animation-reel-card-v36 img {
  border-radius: 24px;
}

.animation-reel-label-v36 {
  border-radius: 999px;
}

@media (max-width: 620px) {
  .animation-reel-card-v36,
  .animation-reel-card-v36 img {
    border-radius: 18px;
  }
}


/* v4.1 About page refinement */
.about-v41 {
  background: var(--paper);
}

.about-hero-v41 {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background: #fff;
}

.about-hero-bg-v41 {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.78) 48%, rgba(255,255,255,.42)),
    url('../assets/images/brand/bars-color.jpg');
  background-size: cover;
  background-position: center top;
  opacity: .96;
}

.about-hero-grid-v41 {
  position: relative;
  z-index: 1;
  min-height: 680px;
  padding: clamp(72px, 9vw, 116px) 24px clamp(70px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.about-hero-copy-v41 {
  max-width: 780px;
  padding: clamp(28px, 4vw, 44px);
}

.about-hero-copy-v41 h1 {
  max-width: 760px;
  font-size: clamp(42px, 6.2vw, 76px);
  color: #4b4649;
}

.about-tags-v41 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-tags-v41 span {
  border: 1px solid rgba(154,41,105,.22);
  background: rgba(255,255,255,.72);
  color: var(--magenta);
  padding: 10px 13px;
  font-size: 13px;
  letter-spacing: .05em;
}

.about-portrait-card-v41 {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(231,226,223,.95);
  padding: 18px;
  border-radius: 28px;
  box-shadow: 0 32px 86px rgba(33, 25, 32, .12);
  backdrop-filter: blur(10px);
}

.about-portrait-card-v41 img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
}

.about-portrait-caption-v41 {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  border-top: 1px solid rgba(231,226,223,.95);
  padding-top: 15px;
  margin-top: 16px;
  color: var(--soft-ink);
  font-size: 13px;
  letter-spacing: .02em;
}

.about-portrait-caption-v41 strong {
  color: var(--ink);
  font-weight: 650;
}

.about-intro-v41 {
  padding: clamp(72px, 8vw, 108px) 24px;
  background: #fff;
}

.about-intro-grid-v41 {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.about-intro-text-v41 p {
  color: var(--soft-ink);
  font-size: 18px;
  margin-top: 0;
}

.about-services-v41 {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 24px;
  background: #f4f2ef;
}

.about-services-v41::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/brand/bars-bw.jpg');
  background-size: cover;
  background-position: center;
  opacity: .065;
  pointer-events: none;
}

.about-services-v41 .wrap {
  position: relative;
  z-index: 1;
}

.about-service-grid-v41 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(32px, 5vw, 54px);
}

.about-service-card-v41 {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(231,226,223,.95);
  border-radius: 26px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 24px 72px rgba(33, 25, 32, .07);
}

.about-service-card-v41 span {
  display: block;
  color: var(--magenta);
  font-size: 12px;
  letter-spacing: .16em;
  margin-bottom: 16px;
}

.about-service-card-v41 h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 300;
  color: #3f3a3d;
}

.about-service-card-v41 p {
  color: var(--soft-ink);
  margin: 0 0 24px;
}

.about-approach-v41 {
  padding: clamp(72px, 8vw, 108px) 24px;
  background: #fff;
}

.about-approach-grid-v41 {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.about-approach-title-v41,
.about-approach-panel-v41 {
  padding: clamp(26px, 4vw, 38px);
}

.about-mini-grid-v41 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.about-mini-grid-v41 div {
  padding: 22px;
  border: 1px solid rgba(231,226,223,.94);
  background: rgba(255,255,255,.64);
  border-radius: 20px;
}

.about-mini-grid-v41 span {
  display: block;
  color: var(--magenta);
  font-size: 12px;
  letter-spacing: .16em;
  margin-bottom: 12px;
}

.about-mini-grid-v41 strong {
  display: block;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}

.about-mini-grid-v41 p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 15px;
}

.about-bottom-v41 {
  position: relative;
  overflow: hidden;
  background: #f4f2ef;
}

.about-bottom-v41::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/brand/bars-bw.jpg');
  background-size: cover;
  background-position: center;
  opacity: .075;
  pointer-events: none;
}

.about-bottom-v41 > section {
  position: relative;
  z-index: 1;
}

.about-note-v41 {
  padding: clamp(72px, 8vw, 104px) 24px 0;
}

.about-note-grid-v41 {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: 22px;
  align-items: stretch;
}

.about-note-panel-v41,
.about-source-panel-v41 {
  padding: clamp(26px, 4vw, 38px);
}

.about-source-panel-v41 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--magenta);
}

.about-source-panel-v41 strong {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 12px;
}

.about-source-panel-v41 p {
  color: var(--soft-ink);
  margin: 0;
}

.about-v41 .contact-strip {
  margin-top: 0;
}

@media (max-width: 980px) {
  .about-hero-grid-v41,
  .about-intro-grid-v41,
  .about-approach-grid-v41,
  .about-note-grid-v41 {
    grid-template-columns: 1fr;
  }

  .about-portrait-card-v41 {
    max-width: 440px;
  }

  .about-service-grid-v41 {
    grid-template-columns: 1fr;
  }

  .about-mini-grid-v41 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .about-hero-v41,
  .about-hero-grid-v41 {
    min-height: auto;
  }

  .about-hero-grid-v41,
  .about-intro-v41,
  .about-services-v41,
  .about-approach-v41,
  .about-note-v41 {
    padding-left: 18px;
    padding-right: 18px;
  }

  .about-hero-copy-v41 {
    padding: 24px;
  }

  .about-portrait-card-v41 {
    border-radius: 22px;
  }

  .about-portrait-card-v41 img {
    border-radius: 16px;
  }

  .about-portrait-caption-v41 {
    flex-direction: column;
    gap: 4px;
  }
}


/* v4.2 Restoration Lab hero and structure refinement */
.restoration-v42 {
  background: var(--paper);
}

.restoration-hero-v42 {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background: #161316;
}

.restoration-hero-bg-v42 {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.74) 46%, rgba(255,255,255,.38)),
    url('../assets/images/brand/bars-dark-magenta.jpg');
  background-size: cover;
  background-position: center;
}

.restoration-hero-grid-v42 {
  position: relative;
  z-index: 1;
  min-height: 720px;
  padding: clamp(76px, 9vw, 118px) 24px clamp(76px, 8vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.restoration-hero-copy-v42 {
  max-width: 790px;
  padding: clamp(28px, 4vw, 44px);
  background: rgba(255,255,255,.78);
}

.restoration-hero-copy-v42 h1 {
  max-width: 780px;
  font-size: clamp(42px, 6.2vw, 76px);
  color: #3f3a3d;
}

.restoration-tags-v42 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.restoration-tags-v42 span {
  border: 1px solid rgba(154,41,105,.22);
  background: rgba(255,255,255,.72);
  color: var(--magenta);
  padding: 10px 13px;
  font-size: 13px;
  letter-spacing: .05em;
}

.restoration-hero-visual-v42 {
  display: grid;
  gap: 18px;
  align-content: center;
}

.restoration-hero-image-card-v42 {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.72);
  padding: 16px;
  box-shadow: 0 34px 94px rgba(33, 25, 32, .20);
}

.restoration-hero-image-card-v42 img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.restoration-hero-caption-v42 {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 4px 2px;
  color: var(--soft-ink);
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.restoration-hero-note-v42 {
  margin-left: auto;
  max-width: 420px;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(231,226,223,.94);
  box-shadow: 0 24px 70px rgba(33, 25, 32, .10);
  backdrop-filter: blur(10px);
}

.restoration-hero-note-v42 strong {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 18px;
}

.restoration-hero-note-v42 p {
  color: var(--soft-ink);
  margin: 0;
}

.restoration-intro-v42 {
  padding: clamp(72px, 8vw, 108px) 24px;
  background: #fff;
}

.restoration-intro-grid-v42 {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.restoration-intro-text-v42 p {
  color: var(--soft-ink);
  font-size: 18px;
  margin-top: 0;
}

.restoration-workflow-v42 {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 24px;
  background: #f4f2ef;
}

.restoration-workflow-v42::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/brand/bars-bw.jpg');
  background-size: cover;
  background-position: center;
  opacity: .065;
  pointer-events: none;
}

.restoration-workflow-v42 .wrap {
  position: relative;
  z-index: 1;
}

.restoration-workflow-grid-v42 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: clamp(32px, 5vw, 54px);
}

.restoration-workflow-card-v42 {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(231,226,223,.95);
  border-radius: 26px;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 22px 70px rgba(33, 25, 32, .07);
}

.restoration-workflow-card-v42 span {
  display: block;
  color: var(--magenta);
  font-size: 12px;
  letter-spacing: .16em;
  margin-bottom: 14px;
}

.restoration-workflow-card-v42 h3 {
  margin: 0 0 12px;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 300;
  color: #3f3a3d;
}

.restoration-workflow-card-v42 p {
  color: var(--soft-ink);
  margin: 0;
}

.restoration-details-v42 {
  padding: clamp(72px, 8vw, 108px) 24px;
  background: #fff;
}

.restoration-details-grid-v42 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
}

.restoration-detail-panel-v42 {
  padding: clamp(28px, 4vw, 40px);
}

.restoration-pill-grid-v42 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.restoration-pill-grid-v42 span {
  display: inline-flex;
  border: 1px solid rgba(154,41,105,.18);
  background: rgba(255,255,255,.70);
  color: #5f565d;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.restoration-limits-v42 {
  position: relative;
  padding: clamp(72px, 8vw, 104px) 24px;
  background: #f7f5f2;
}

.restoration-limits-grid-v42 {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .72fr);
  gap: 22px;
  align-items: stretch;
}

.restoration-limits-main-v42,
.restoration-digital-only-v42 {
  padding: clamp(28px, 4vw, 40px);
}

.restoration-digital-only-v42 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--magenta);
}

.restoration-digital-only-v42 strong {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 12px;
}

.restoration-digital-only-v42 p {
  color: var(--soft-ink);
  margin: 0;
}

.restoration-request-v42 {
  padding: clamp(0px, 2vw, 8px) 24px clamp(72px, 8vw, 108px);
  background: #f7f5f2;
}

.restoration-request-panel-v42 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .8fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 42px);
}

.restoration-request-list-v42 {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.restoration-request-list-v42 li {
  border: 1px solid rgba(231,226,223,.95);
  background: rgba(255,255,255,.62);
  color: var(--soft-ink);
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 13px;
}

.restoration-v42 .restoration-examples {
  margin-top: 0;
}

@media (max-width: 1120px) {
  .restoration-workflow-grid-v42 {
    grid-template-columns: repeat(2, 1fr);
  }

  .restoration-request-panel-v42 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .restoration-hero-grid-v42,
  .restoration-intro-grid-v42,
  .restoration-details-grid-v42,
  .restoration-limits-grid-v42 {
    grid-template-columns: 1fr;
  }

  .restoration-hero-note-v42 {
    margin-left: 0;
    max-width: none;
  }
}

@media (max-width: 620px) {
  .restoration-hero-v42,
  .restoration-hero-grid-v42 {
    min-height: auto;
  }

  .restoration-hero-grid-v42,
  .restoration-intro-v42,
  .restoration-workflow-v42,
  .restoration-details-v42,
  .restoration-limits-v42,
  .restoration-request-v42 {
    padding-left: 18px;
    padding-right: 18px;
  }

  .restoration-hero-copy-v42 {
    padding: 24px;
  }

  .restoration-hero-image-card-v42 {
    border-radius: 22px;
    padding: 12px;
  }

  .restoration-hero-image-card-v42 img {
    border-radius: 16px;
  }

  .restoration-hero-caption-v42 {
    flex-direction: column;
    gap: 4px;
  }

  .restoration-workflow-grid-v42 {
    grid-template-columns: 1fr;
  }
}


/* v4.3 Restoration lightbox deeper detail zoom */
.restoration-lightbox-stage.is-actual-size #restoration-lightbox-image {
  cursor: zoom-out;
}

.restoration-lightbox-stage:not(.is-actual-size) #restoration-lightbox-image {
  cursor: zoom-in;
}


/* v4.4 Contact page refinement */
.contact-v44 {
  background: var(--paper);
}

.contact-hero-v44 {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background: #fff;
}

.contact-hero-bg-v44 {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.72) 46%, rgba(255,255,255,.36)),
    url('../assets/images/brand/bars-color.jpg');
  background-size: cover;
  background-position: center top;
  opacity: .96;
}

.contact-hero-grid-v44 {
  position: relative;
  z-index: 1;
  min-height: 680px;
  padding: clamp(72px, 9vw, 116px) 24px clamp(70px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .88fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.contact-hero-copy-v44 {
  max-width: 800px;
  padding: clamp(28px, 4vw, 44px);
  background: rgba(255,255,255,.76);
}

.contact-hero-copy-v44 h1 {
  max-width: 800px;
  font-size: clamp(42px, 6.1vw, 74px);
  color: #3f3a3d;
}

.contact-tags-v44 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-tags-v44 span {
  border: 1px solid rgba(154,41,105,.22);
  background: rgba(255,255,255,.72);
  color: var(--magenta);
  padding: 10px 13px;
  font-size: 13px;
  letter-spacing: .05em;
}

.contact-primary-card-v44 {
  padding: clamp(28px, 4vw, 40px);
  border-radius: 30px;
  background: rgba(255,255,255,.82);
}

.contact-logo-v44 {
  padding: 0 0 24px;
  border-bottom: 1px solid rgba(231,226,223,.95);
  margin-bottom: 24px;
}

.contact-logo-v44 img {
  width: min(360px, 100%);
  height: auto;
  display: block;
}

.contact-primary-list-v44 {
  display: grid;
  gap: 20px;
}

.contact-primary-list-v44 div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(231,226,223,.78);
}

.contact-primary-list-v44 div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-primary-list-v44 span {
  display: block;
  color: var(--magenta);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-primary-list-v44 a,
.contact-primary-list-v44 strong {
  color: var(--ink);
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.15;
  font-weight: 300;
  text-decoration: none;
}

.contact-primary-list-v44 a:hover {
  color: var(--magenta);
}

.contact-methods-v44 {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 24px;
  background: #f4f2ef;
}

.contact-methods-v44::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/brand/bars-bw.jpg');
  background-size: cover;
  background-position: center;
  opacity: .065;
  pointer-events: none;
}

.contact-methods-v44 .wrap {
  position: relative;
  z-index: 1;
}

.contact-card-grid-v44 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: clamp(32px, 5vw, 54px);
}

.contact-info-card-v44 {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(231,226,223,.95);
  border-radius: 26px;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 22px 70px rgba(33, 25, 32, .07);
}

.contact-info-card-v44 span {
  display: block;
  color: var(--magenta);
  font-size: 12px;
  letter-spacing: .16em;
  margin-bottom: 14px;
}

.contact-info-card-v44 h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 300;
  color: #3f3a3d;
}

.contact-info-card-v44 p {
  color: var(--soft-ink);
  margin: 0 0 22px;
}

.contact-info-card-v44 p:last-child {
  margin-bottom: 0;
}

.contact-brief-v44 {
  padding: clamp(72px, 8vw, 108px) 24px;
  background: #fff;
}

.contact-brief-grid-v44 {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.contact-brief-title-v44,
.contact-brief-panel-v44 {
  padding: clamp(28px, 4vw, 40px);
}

.contact-brief-list-v44 {
  display: grid;
  gap: 18px;
}

.contact-brief-list-v44 div {
  padding: 22px;
  border: 1px solid rgba(231,226,223,.94);
  background: rgba(255,255,255,.64);
  border-radius: 20px;
}

.contact-brief-list-v44 span {
  display: block;
  color: var(--magenta);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-brief-list-v44 p {
  margin: 0;
  color: var(--soft-ink);
}

.contact-bottom-v44 {
  position: relative;
  overflow: hidden;
  background: #f4f2ef;
}

.contact-bottom-v44::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/brand/bars-bw.jpg');
  background-size: cover;
  background-position: center;
  opacity: .075;
  pointer-events: none;
}

.contact-final-v44 {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 8vw, 108px) 24px;
}

.contact-final-panel-v44 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 50px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 18px 42px rgba(154,41,105,.18);
}

.button-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 54px rgba(154,41,105,.24);
}

@media (max-width: 1120px) {
  .contact-card-grid-v44 {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-final-panel-v44 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .contact-hero-grid-v44,
  .contact-brief-grid-v44 {
    grid-template-columns: 1fr;
  }

  .contact-primary-card-v44 {
    max-width: 560px;
  }
}

@media (max-width: 620px) {
  .contact-hero-v44,
  .contact-hero-grid-v44 {
    min-height: auto;
  }

  .contact-hero-grid-v44,
  .contact-methods-v44,
  .contact-brief-v44,
  .contact-final-v44 {
    padding-left: 18px;
    padding-right: 18px;
  }

  .contact-hero-copy-v44 {
    padding: 24px;
  }

  .contact-card-grid-v44 {
    grid-template-columns: 1fr;
  }

  .contact-primary-card-v44,
  .contact-info-card-v44 {
    border-radius: 22px;
  }

  .button-link {
    width: 100%;
  }
}


/* v4.5 Final consistency and responsive pass */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

a,
.text-link,
.contact-primary-list-v44 a,
.footer-links a {
  overflow-wrap: anywhere;
}

.soft-panel,
.contact-panel,
.home-contact-panel,
.about-service-card-v41,
.contact-info-card-v44,
.restoration-workflow-card-v42,
.animation-video-feature-v36,
.animation-video-compact-v36,
.viz-gallery-card {
  box-sizing: border-box;
}

.site-header {
  z-index: 5000;
}

.logo-link img {
  max-width: min(210px, 52vw);
}

.section-title {
  text-wrap: balance;
}

.lead,
.sublead,
.section-intro {
  text-wrap: pretty;
}

.video-modal,
.viz-lightbox,
.restoration-lightbox {
  isolation: isolate;
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 18px;
  }

  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    align-items: center;
  }

  .nav.open {
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }

  .visualization-hero-grid,
  .animation-hero-grid-v36,
  .about-hero-grid-v41,
  .restoration-hero-grid-v42,
  .contact-hero-grid-v44 {
    gap: 32px;
  }

  .visualization-hero-stack,
  .animation-reel-stack-v36,
  .about-portrait-card-v41,
  .restoration-hero-visual-v42,
  .contact-primary-card-v44 {
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  .section-heading-center {
    text-align: left;
  }

  .section-heading-center .section-intro {
    margin-left: 0;
    margin-right: 0;
  }

  .footer-inner {
    gap: 24px;
  }

  .footer-meta,
  .footer-links {
    align-items: flex-start;
    text-align: left;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .cta-row {
    align-items: flex-start;
  }

  .viz-category-row {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }
}

@media (max-width: 620px) {
  .wrap,
  .header-inner,
  .footer-inner {
    width: 100%;
  }

  .site-header {
    backdrop-filter: blur(14px);
  }

  .logo-link img {
    max-width: 168px;
  }

  .menu-button {
    min-width: 44px;
    min-height: 44px;
  }

  .nav {
    width: calc(100vw - 36px);
  }

  .nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
  }

  .hero-tags-v24,
  .animation-tags-v36,
  .about-tags-v41,
  .restoration-tags-v42,
  .contact-tags-v44,
  .restoration-pill-grid-v42 {
    gap: 8px;
  }

  .hero-tags-v24 span,
  .animation-tags-v36 span,
  .about-tags-v41 span,
  .restoration-tags-v42 span,
  .contact-tags-v44 span,
  .restoration-pill-grid-v42 span {
    font-size: 12px;
    padding: 8px 10px;
  }

  .section-title {
    line-height: 1.04;
  }

  .lead {
    font-size: 18px;
  }

  .sublead,
  .section-intro {
    font-size: 16px;
  }

  .soft-panel,
  .contact-panel,
  .home-contact-panel {
    border-radius: 22px;
  }

  .animation-video-copy-v36,
  .about-service-card-v41,
  .contact-info-card-v44,
  .restoration-workflow-card-v42 {
    padding: 22px;
  }

  .restoration-lightbox-dialog,
  .viz-lightbox-dialog {
    width: 96vw;
    max-height: 88vh;
  }

  .restoration-lightbox-stage,
  .viz-lightbox-stage {
    min-height: 58vh;
  }

  .restoration-lightbox-header,
  .viz-lightbox-header {
    gap: 14px;
  }

  .restoration-lightbox-header h2,
  .viz-lightbox-header h2 {
    font-size: 20px;
  }

  .contact-primary-list-v44 a,
  .contact-primary-list-v44 strong {
    font-size: 20px;
  }

  .button-link {
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .logo-link img {
    max-width: 146px;
  }

  .menu-button {
    font-size: 22px;
  }

  .nav {
    width: calc(100vw - 28px);
  }

  .visualization-hero-copy,
  .animation-hero-copy-v36,
  .about-hero-copy-v41,
  .restoration-hero-copy-v42,
  .contact-hero-copy-v44 {
    padding: 20px;
  }

  .contact-logo-v44 img {
    width: 240px;
  }

  .footer-brand img {
    max-width: 180px;
  }
}


/* v4.16 3D Visualization gallery addition */
.viz-gallery-card img {
  object-position: center center;
}




/* v4.20 3D Visualization gallery final uniform sizing */
.viz-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 245px;
  grid-auto-flow: row;
  gap: clamp(1rem, 1.6vw, 1.25rem);
  align-items: stretch;
}

.viz-gallery-grid > .viz-gallery-card {
  grid-column: span 4 !important;
  grid-row: span 1 !important;
  min-width: 0;
}

.viz-gallery-grid > .viz-gallery-card .viz-lightbox-trigger {
  height: calc(100% - 74px);
  min-height: 150px;
}

.viz-gallery-grid > .viz-gallery-card .viz-lightbox-trigger img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.viz-gallery-grid > .viz-gallery-card .viz-card-copy {
  min-height: 74px;
  padding: 0.85rem 0.35rem 0.05rem;
}

@media (max-width: 980px) {
  .viz-gallery-grid > .viz-gallery-card {
    grid-column: span 6 !important;
  }
}

@media (max-width: 640px) {
  .viz-gallery-grid > .viz-gallery-card {
    grid-column: span 12 !important;
  }
}


/* v4.21 3D Visualization lightbox deeper detail zoom */
.viz-lightbox-stage.is-actual-size #viz-lightbox-image {
  cursor: zoom-out;
}

.viz-lightbox-stage:not(.is-actual-size) #viz-lightbox-image {
  cursor: zoom-in;
}


/* v4.23 3D Visualization mobile lightbox touch fix */
@media (pointer: coarse), (hover: none) {
  #viz-lightbox .viz-lightbox-stage,
  #viz-lightbox #viz-lightbox-image {
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
  }

  #viz-lightbox #viz-lightbox-image {
    cursor: default;
  }
}


/* v4.24 mobile lightbox touch fix */
@media (pointer: coarse), (hover: none) {
  #viz-lightbox .viz-lightbox-stage,
  #viz-lightbox #viz-lightbox-image,
  #restoration-lightbox .viz-lightbox-stage,
  #restoration-lightbox #viz-lightbox-image,
  #restoration-modal .viz-lightbox-stage,
  #restoration-modal #viz-lightbox-image {
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
  }

  #viz-lightbox #viz-lightbox-image,
  #restoration-lightbox #viz-lightbox-image,
  #restoration-modal #viz-lightbox-image {
    cursor: default;
  }
}


/* v4.25 Restoration hero and mobile lightbox position refinement */

/* Bring Restoration Lab hero closer to the stronger Animation hero treatment. */
.restoration-hero-v42::before,
.restoration-hero-bg-v42 {
  opacity: .96;
  filter: contrast(1.08) saturate(1.04);
}

.restoration-hero-copy-v42,
.restoration-hero-v42 .soft-panel {
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(12px);
}

/* On mobile, keep gallery close buttons below the sticky site header / iPhone top area. */
@media (max-width: 760px), (pointer: coarse), (hover: none) {
  .viz-lightbox,
  .restoration-lightbox {
    align-items: flex-start;
    padding-top: calc(88px + env(safe-area-inset-top, 0px));
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 18px;
  }

  .viz-lightbox-dialog,
  .restoration-lightbox-dialog {
    max-height: calc(100vh - 112px - env(safe-area-inset-top, 0px));
    margin-top: 0;
  }

  .viz-lightbox-header,
  .restoration-lightbox-header {
    position: relative;
    min-height: 64px;
    padding-right: 64px;
  }

  .viz-lightbox-close,
  .restoration-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
  }

  .viz-lightbox-stage,
  .restoration-lightbox-stage {
    min-height: 52vh;
    height: auto;
  }
}

@media (max-width: 420px) {
  .viz-lightbox,
  .restoration-lightbox {
    padding-top: calc(94px + env(safe-area-inset-top, 0px));
  }

  .viz-lightbox-dialog,
  .restoration-lightbox-dialog {
    max-height: calc(100vh - 122px - env(safe-area-inset-top, 0px));
  }
}


/* v4.28 Restoration mobile lightbox minimal safe fix */
@media (pointer: coarse), (hover: none), (max-width: 760px) {
  #restoration-lightbox .restoration-lightbox-stage,
  #restoration-lightbox #restoration-lightbox-image {
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
  }

  #restoration-lightbox #restoration-lightbox-image {
    cursor: default;
  }

  #restoration-lightbox .restoration-lightbox-header {
    position: relative;
    padding-right: 76px;
  }

  #restoration-lightbox .restoration-lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 8;
  }

  #restoration-lightbox .restoration-lightbox-stage:hover img {
    transform: none !important;
  }
}
