:root {
  color-scheme: dark;
  --bg: #110f13;
  --panel: #1b171d;
  --line: #3a313d;
  --text: #fffaff;
  --muted: #c9c0cc;
  --accent: #ff64ce;
  --ink: #20081b;
  --edge: clamp(18px, 4.4vw, 76px);
  --radius: 24px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 95px; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
p, h1, h2, h3, figure { margin: 0; }
p { color: var(--muted); line-height: 1.62; }
h1, h2, h3 { font-weight: 690; letter-spacing: -.026em; }
h1 { font-size: clamp(2.45rem, 6.6vw, 6.8rem); line-height: 1.03; }
h2 { font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1.08; }
h3 { font-size: clamp(1.18rem, 2vw, 1.6rem); line-height: 1.22; }
em { font-style: normal; color: var(--accent); }
.shell { width: min(1260px, calc(100% - var(--edge) * 2)); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 9; padding: 12px 16px; color: var(--ink); background: var(--accent); transform: translateY(-160%); }
.skip:focus { transform: none; }

.topbar { position: sticky; z-index: 5; top: 0; border-bottom: 1px solid #ffffff19; background: #110f13f2; backdrop-filter: blur(12px); }
.nav-wrap { min-height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.brand { display: block; justify-self: start; width: clamp(160px, 19vw, 228px); max-width: 100%; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 2.6vw, 36px); color: var(--muted); font-size: .93rem; }
.site-nav a, .footer nav a { padding-block: 9px; }
.site-nav a:hover, .site-nav a[aria-current], .footer a:hover { color: var(--text); }
.nav-call { justify-self: end; white-space: nowrap; padding: 9px 13px; border-radius: 50px; border: 1px solid #685668; font-size: .87rem; font-weight: 650; }
.nav-call span { color: var(--accent); }
.menu-toggle { display: none; }
.scroll-progress { position: absolute; inset: auto 0 -1px; height: 2px; pointer-events: none; background: var(--accent); transform: scaleX(var(--reading-progress,0)); transform-origin: left; }

.hero { position: relative; isolation: isolate; min-height: clamp(510px, 49vw, 665px); display: grid; align-items: center; margin-top: clamp(14px, 2.2vw, 32px); }
.hero-copy { position: relative; z-index: 2; padding-block: 34px; }
.hero-copy h1 { margin-block: 18px 13px; font-size: clamp(3.25rem, 7.65vw, 7.55rem); letter-spacing: -.043em; line-height: .97; }
.hero-copy > p:not(.eyebrow) { font-size: clamp(1rem, 1.5vw, 1.22rem); }
.hero .actions { margin-top: 24px; }
.hero-media { position: absolute; inset: 0 0 0 40%; }
.scroll-media { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); background: var(--panel); }
.hero .scroll-media { position: absolute; }
.hero-media picture { position: absolute; inset: 0; }
.hero-media img, .care-photo img, .detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: 61% center; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #181019e8, #26112538 40%, transparent 68%), linear-gradient(0deg, #110b16c0, transparent 35%); }
figcaption { position: absolute; right: 14px; bottom: 13px; z-index: 2; padding: 6px 10px; border-radius: 50px; background: #110e15da; color: #fff; font-size: .7rem; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--accent); text-transform: uppercase; font-size: .73rem; font-weight: 730; letter-spacing: .115em; }
.signal { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px #ff64ce65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button, .scroll-cue { min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid transparent; border-radius: 50px; font-weight: 690; font-size: .9rem; line-height: 1.3; }
.button-primary { color: var(--ink); background: var(--accent); }
.button-primary:hover { background: #ff9ce4; }
.button-outline, .scroll-cue { border-color: #726176; }
.button-outline:hover, .scroll-cue:hover { border-color: var(--text); }
.scroll-cue { width: 46px; font-size: 1.1rem; }
.text-link, .phone-link { width: fit-content; color: var(--accent); font-weight: 680; }
.text-link:hover, .phone-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.section { padding-block: clamp(58px, 8vw, 105px); }
.section-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 13px 36px; margin-bottom: 23px; }
.section-heading h2 { margin-top: 9px; }
.section-heading > p:last-child:not(.eyebrow) { margin-top: 9px; }
.feature-grid { display: grid; grid-template-columns: 1.16fr 1fr; grid-template-rows: repeat(2, clamp(174px, 19vw, 250px)); gap: 14px; }
.feature-card { position: relative; isolation: isolate; display: flex; align-items: end; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.feature-card:first-child { grid-row: span 2; }
.feature-card img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#100a16ee,#100a1680 35%,transparent 75%); }
.feature-card > div { position: relative; z-index: 1; width: 100%; padding: 20px 59px 20px 22px; }
.feature-card h3 { margin-top: 6px; font-size: clamp(1.24rem, 2.3vw, 2.1rem); }
.round { position: absolute; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink); background: var(--accent); font-weight: 750; }
.feature-card .round { right: 17px; bottom: 18px; }
.feature-card:is(:hover,:focus-visible), .catalog-card:focus-within, .catalog-card:hover { border-color: var(--accent); }
.jump-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.jump-links a { padding: 9px 13px; border: 1px solid #675769; border-radius: 50px; color: var(--muted); font-size: .88rem; }
.jump-links a:hover { border-color: var(--accent); color: var(--accent); }

.method { background: radial-gradient(ellipse at 85% 0%, #301830, transparent 62%), var(--panel); border-block: 1px solid var(--line); }
.care-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(22px, 4vw, 54px); margin-top: 29px; }
.care-photo { aspect-ratio: 1.22; min-width: 0; }
.care-photo img { position: absolute; inset: 0; }
.care-copy h3 { margin-block: 10px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.care-list, .scope-list { list-style: none; padding: 0; margin: 18px 0 0; }
.care-list li, .scope-list li { position: relative; padding: 11px 0 11px 19px; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.52; }
.care-list li::before, .scope-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.care-list strong { color: var(--text); }
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
.promises > div { background: #17121b; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.promises p { margin-top: 5px; }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; min-height: 175px; padding: clamp(20px, 4vw, 48px); border-radius: var(--radius); border: 1px solid #67395f; background: radial-gradient(ellipse at 90% 10%, #522147, #211425 72%); }

.page-intro { padding-block: clamp(50px, 8vw, 95px) clamp(39px, 6vw, 72px); }
.page-intro h1 { margin-block: 11px 16px; }
.page-intro > p:not(.eyebrow) { max-width: 59ch; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.catalog-group { padding-block: 0 clamp(46px, 6.5vw, 84px); }
.catalog-group + .catalog-group { padding-top: clamp(26px, 4vw, 46px); border-top: 1px solid var(--line); }
.catalog-group:last-child { padding-bottom: 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 21px; }
.catalog-card { min-width: 0; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.catalog-card > a { display: block; height: 100%; border-radius: inherit; }
.catalog-media { aspect-ratio: 1.6; overflow: hidden; border-radius: 17px 17px 0 0; background: #261e29; }
.catalog-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 39%; transition: transform .5s ease; }
.catalog-card:hover img { transform: scale(1.04); }
.catalog-copy { position: relative; padding: 16px 54px 20px 17px; }
.catalog-copy .round { top: 14px; right: 13px; width: 30px; height: 30px; }
.catalog-copy p { margin-top: 7px; font-size: .9rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding-block: 20px; font-size: .86rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.detail-hero { display: grid; grid-template-columns: 1fr 1.03fr; align-items: center; gap: clamp(22px, 4.5vw, 62px); }
.detail-copy h1 { font-size: clamp(2.15rem, 5.2vw, 5.1rem); margin-block: 10px 14px; overflow-wrap: break-word; }
.detail-copy p:not(.eyebrow) { max-width: 50ch; font-size: clamp(1rem, 1.55vw, 1.16rem); }
.detail-copy .actions { margin-top: 20px; }
.detail-photo { aspect-ratio: 1.4; }
.detail-photo img { object-position: center 38%; }
.scope-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px 40px; }
.scope-list { margin-top: 0; }
.related { border-block: 1px solid var(--line); padding-block: 26px; }
.related h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }

.contact-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; align-items: start; margin-bottom: 74px; }
.contact-panel, .direct-contact { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: clamp(20px, 3.3vw, 40px); min-width: 0; }
.contact-layout h2 { margin-top: 9px; font-size: clamp(1.6rem, 3vw, 2.8rem); }
.contact-layout p:not(.eyebrow), .contact-panel .actions { margin-top: 13px; }
.fields { display: grid; gap: 13px; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 19px; }
.field:nth-last-child(-n+2) { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 650; }
.field label span { color: var(--muted); font-weight: 400; }
.field :is(select,input,textarea) { width: 100%; min-width: 0; min-height: 44px; padding: 10px; border: 1px solid #6c5b6f; border-radius: 9px; background: #151017; color: var(--text); font-size: 1rem; }
.field textarea { resize: vertical; }
.phone-link { display: inline-block; margin-top: 12px; font-size: clamp(1.28rem, 2.4vw, 1.95rem); }
.direct-contact dl { margin-bottom: 0; }
.direct-contact dt { color: var(--muted); font-size: .79rem; }
.direct-contact dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.footer { background: #171319; border-top: 1px solid var(--line); }
.footer-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px 28px; padding-block: 26px; }
.footer p, .footer nav { color: var(--muted); font-size: .79rem; }
.footer-brand { display: flex; align-items: center; gap: clamp(12px, 2vw, 18px); min-width: 0; }
.footer-brand > a { flex: none; width: clamp(64px, 8vw, 84px); }
.footer-brand img { width: 100%; height: auto; }
.footer-brand strong { font-size: .93rem; }
.footer-brand p { margin-top: 4px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 16px; }

@media (max-width: 900px) {
  .hero-media { left: 35%; }
  .fields { grid-template-columns: 1fr; }
}
@media (max-width: 740px) {
  .nav-wrap { min-height: 62px; grid-template-columns: 1fr auto; gap: 0 12px; }
  .nav-call { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; background: transparent; color: var(--text); border: 1px solid #675769; border-radius: 30px; }
  .menu-toggle span { color: var(--accent); }
  .site-nav { grid-column: 1/-1; flex-wrap: wrap; gap: 6px 19px; padding-bottom: 8px; }
  .site-nav.collapsible:not(.is-open) { display: none; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .care-grid, .detail-hero, .scope-grid, .contact-layout { grid-template-columns: 1fr; }
  .care-photo { aspect-ratio: 1.55; }
}
@media (max-width: 660px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 16px; }
  .hero-copy { padding-block: 21px 3px; }
  .hero-copy h1 { font-size: clamp(2.58rem, 10.2vw, 4.2rem); }
  .hero .scroll-media { position: relative; inset: auto; aspect-ratio: 1.51; }
  .hero-media::after { background: linear-gradient(0deg, #110b16c0, transparent 42%); }
  .feature-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .feature-card:first-child { grid-row: auto; }
  .feature-card { min-height: clamp(195px, 52vw, 310px); }
  .promises { grid-template-columns: 1fr; }
}
@media (max-width: 465px) {
  .catalog-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  [data-reveal].in-view { animation: reveal-rise .58s cubic-bezier(.2,.7,.25,1); }
  .feature-card:nth-child(3).in-view { animation-delay: .075s; }
  @keyframes reveal-rise { from { transform: translateY(14px); } to { transform: translateY(0); } }
  @supports (animation-timeline: view()) {
    .hero-media img, .detail-photo img { animation: image-depth linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes image-depth { from { transform: scale(1.14) translateY(-2.4%); } to { transform: scale(1.07) translateY(2.4%); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .catalog-media img { transition: none; }
  .catalog-card:hover img { transform: none; }
}

