/* Approved neutral surfaces and burgundy action palette. */
:root { --bg: #f8f8f8; --paper: #f8f8f8; --accent: #570014; }
header { position: relative; z-index: 10; background: #e1ded1; color: #081d30; border-bottom-color: #c8c4b8; box-shadow: 0 5px 16px #081d3024; }
header.open nav { background: #e1ded1; color: #081d30; }
header .menu { color: #fffaf2; }
header .headcta { background: transparent; color: #570014; border-color: #570014; }
header nav a.active, header nav a:hover { border-bottom-color: #570014; }
header .headcta:hover, header .headcta:focus-visible { background: #570014; color: #fffaf2; }
.showroom,
.pricecard,
.benefitgrid article,
aside,
.requestside > div { background: #f8f8f8; }
.pricecard.featured { background: #e1ded1; color: #081d30; border-color: #c7c3b7; }
.pricecard.featured p { color: #4b5054; }
.pricecard.featured hr { border-top-color: #aaa99f; }
.benefithero > div, .contactpanel { background: #e1ded1; color: #081d30; }
.benefithero p, .contactpanel p { color: #4b5054; }
.contactpanel hr { border-top-color: #aaa99f; }
.cta { background: #ffffff; }
.cardphoto small { background: #f8f8f8ed; }
.casecover > span { background: #f8f8f8e0; }
footer { background: #716154; color: #fffaf2; }
footer small, .footbrand span, .footbottom { color: #f0e8de; }
.footbottom { border-top-color: #ffffff33; }

/* Compact introduction only on the portfolio listing. */
.intro:has(+ .pricing) { padding-top: 22px; padding-bottom: 22px; }
.intro:has(+ .pricing) .eyebrow { margin-bottom: 12px; }
.intro:has(+ .pricing) .introgrid { align-items: center; gap: 36px; }
.intro:has(+ .pricing) h1 { font-size: 40px; line-height: 1.12; letter-spacing: -1px; margin-bottom: 0; }
.intro:has(+ .pricing) .introgrid > p { font-size: 15px; margin-bottom: 0; }
.pricing .filters { margin-bottom: 24px; }
@media(min-width:761px) {
  .pricing .pricecard { padding: 26px; }
  .pricing .priceeyebrow { margin-bottom: 16px; }
  .pricing .pricecard h2 { font-size: 32px; margin-bottom: 16px; }
  .pricing .pricecard hr { margin: 16px 0; }
  .pricing .pricecard ul { line-height: 1.85; margin-bottom: 24px; }
}
@media(min-width:761px) and (max-height:820px) {
  .pricing .filters { margin-bottom: 14px; }
  .pricing .pricecard hr { margin: 10px 0; }
  .intro:has(+ .pricing) { padding-top: 16px; padding-bottom: 16px; }
  .intro:has(+ .pricing) h1 { font-size: 34px; }
  .pricing .pricecard { padding: 20px; }
  .pricing .pricecard .price { font-size: 40px; }
  .pricing .pricecard ul { font-size: 15px; line-height: 1.7; margin-bottom: 18px; }
  .pricing .pricecard .button { padding-top: 14px; padding-bottom: 14px; }
}
@media(max-width:760px) {
  .intro:has(+ .pricing) .introgrid { gap: 14px; }
  .intro:has(+ .pricing) h1 { font-size: 34px; }
  .intro:has(+ .pricing) .introgrid > p { font-size: 14px; }
}
.intro:has(+ .portfolio) { padding-top: 26px; padding-bottom: 24px; }
.intro:has(+ .portfolio) .eyebrow { margin-bottom: 14px; }
.intro:has(+ .portfolio) .introgrid { align-items: center; gap: 40px; }
.intro:has(+ .portfolio) h1 { font-size: 46px; line-height: 1.12; margin-bottom: 0; letter-spacing: -1.5px; }
.intro:has(+ .portfolio) .introgrid > p { font-size: 16px; margin-bottom: 0; }
.portfolio .filters { margin-bottom: 24px; }
@media(min-width:761px) {
  .portfolio .two .cardphoto { height: clamp(230px, calc(100svh - 480px), 410px); }
}
@media(max-width:760px) {
  .intro:has(+ .portfolio) { padding-top: 24px; padding-bottom: 20px; }
  .intro:has(+ .portfolio) .introgrid { gap: 14px; }
  .intro:has(+ .portfolio) h1 { font-size: 36px; }
  .intro:has(+ .portfolio) .introgrid > p { font-size: 14px; }
}

.showroom { margin-left: 5%; margin-right: 5%; }
.back-to-top {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 30;
  width: 50px;
  height: 50px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #570014;
  border-radius: 50%;
  background: #570014;
  color: #fffaf2;
  box-shadow: 0 5px 18px #3f404930;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: #71051f; color: #fffaf2; }
.back-to-top svg { width: 23px; height: 23px; }
@media(max-width:760px) {
  .showroom { margin-left: 6%; margin-right: 6%; }
  .showroomtext { padding-left: 0; padding-right: 0; }
  .back-to-top { width: 44px; height: 44px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }

.homehero { background: #e1ded1; color: #081d30; }
.herotext h1 em { color: #081d30; }
.herotext p, .herofoot small { color: #4b5054; }
.herofoot { border-top-color: #aaa99f; }
.imagecaption { color: #fffaf2; }
.filters button, .filters button.selected, .round, dialog button {
  background: #570014; color: #fffaf2; border-color: #570014;
}
.filters button.selected { box-shadow: 0 0 0 3px #f8f8f8, 0 0 0 4px #570014; font-weight: 700; }
.filters button:hover, .round:hover, dialog button:hover { background: #71051f; }
.filters button,
.filters button:hover {
  background: #f8f8f8;
  color: #570014;
  border-color: #570014;
}
.filters button.selected,
.filters button.selected:hover {
  background: #570014;
  color: #fffaf2;
  box-shadow: none;
}
header .menu { background: #570014; color: #fffaf2; border-radius: 4px; padding: 4px 9px; }
input[type=radio], input[type=checkbox] { accent-color: #570014; }
.caseintro { padding-top: 24px; padding-bottom: 24px; }
.caseintro .eyebrow { margin-bottom: 12px; }
.caseintro .introgrid { display: block; }
.caseintro h1 { font-size: clamp(32px, 2.7vw, 46px); line-height: 1.15; letter-spacing: -1.3px; margin-bottom: 16px; }
.caseintro h1 br { display: none; }
.caseintro h1 em::before { content: ' '; }
.caseintro .introgrid > div { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; }
.caseintro .introgrid p { margin: 0; font-size: 15px; }
.caseintro .tag { margin: 0; padding: 5px 12px; font-size: 12px; }
.casecover > img { height: clamp(220px, calc(100svh - 380px), 540px); }
.casebody { padding-top: 24px; }
.case-collage {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
  height: clamp(280px, calc(100svh - 390px), 466px);
}
.collage-frame { position: relative; min-width: 0; min-height: 0; overflow: hidden; padding: 0; border: 0; border-radius: 5px; background: #e1ded1; color: #081d30; text-align: left; }
.collage-main { grid-row: 1 / 3; }
.collage-frame img { width: 100%; height: 100%; object-fit: cover; }
.collage-main img { object-position: center 55%; }
.collage-frame span { position: absolute; left: 20px; bottom: 18px; padding: 9px 14px; background: #f8f8f8ed; font-size: 13px; pointer-events: none; }
.collage-frame:focus-visible { outline: 3px solid #570014; outline-offset: 3px; }
@media(max-width:760px) {
  .case-collage { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 240px 145px; gap: 10px; }
  .collage-main { grid-column: 1 / -1; grid-row: auto; }
  .collage-frame span { left: 8px; bottom: 8px; padding: 5px 7px; font-size: 10px; }
}
.casecontent .roomnav {
  position: sticky;
  top: 32px;
  z-index: 5;
  background: #f8f8f8;
  padding-top: 12px;
  padding-bottom: 16px;
  padding-left: 20px;
  padding-right: 20px;
  box-shadow: 0 -32px 0 #f8f8f8;
}
.roomnav a { white-space: nowrap; }
.roomnav a.is-active { font-weight: 700; }
.casecontent [id] { scroll-margin-top: 110px; }
@media(max-width:760px) {
  .casecontent .roomnav { top: 0; box-shadow: none; padding-left: 12px; padding-right: 12px; }
  .casecontent [id] { scroll-margin-top: 70px; }
}
@media(max-width:760px) {
  .caseintro { padding-top: 22px; padding-bottom: 22px; }
  .caseintro h1 { font-size: 32px; }
  .caseintro .introgrid > div { gap: 8px 16px; }
  .caseintro .introgrid p { font-size: 13px; }
  .casecover > img { height: 260px; }
}
.button,
.button.secondary,
.cta .button {
  background: #570014;
  border-color: #570014;
  color: #fffaf2;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-left: 44px;
  padding-right: 44px;
}
.button span {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
aside .button { padding-left: 30px; padding-right: 30px; justify-content: center; }
aside .button span { right: 10px; }
.homehero .button.secondary { background: transparent; color: #570014; border-color: #570014; }
.homehero .button.secondary:hover, .homehero .button.secondary:focus-visible { background: #570014; color: #fffaf2; filter: none; }
.heroimage .imagecaption { z-index: 3; }
.hero-tiles { position: absolute; inset: 0; z-index: 1; pointer-events: none; perspective: 1100px; }
.hero-tile { position: absolute; background-repeat: no-repeat; backface-visibility: hidden; }
.hero-controls { position: absolute; right: 24px; bottom: 76px; z-index: 4; display: flex; gap: 10px; opacity: 0; transition: opacity .2s; }
.heroimage:hover .hero-controls, .heroimage:focus-within .hero-controls { opacity: 1; }
.hero-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #570014; border-radius: 50%; background: #570014; color: #fffaf2; box-shadow: 0 3px 12px #0003; }
.hero-controls button:hover { background: #71051f; }
.hero-controls svg { width: 21px; height: 21px; }
@media(hover:none), (max-width:760px) { .hero-controls { opacity: 1; right: 16px; bottom: 60px; } }
@media(prefers-reduced-motion:reduce) { .hero-controls { transition: none; } }

.tariff-card, .project-perks {
  background: #ffffff;
  border: 1px solid rgba(41, 45, 41, 0.035);
  border-radius: 12px;
  box-shadow: 0 4px 28px rgba(35, 40, 35, 0.085),
              0 16px 36px -24px rgba(35, 40, 35, 0.16);
}
.casebody > .project-sidebar {
  background: transparent;
  padding: 0;
  top: 16px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  scrollbar-width: thin;
  overflow-x: clip;
  /* Keep space for the shadows inside the scrollable sidebar. */
  margin: -16px;
  padding: 16px;
}
.tariff-card { padding: 24px; }
.tariff-card .eyebrow { font-size: 10px; margin-bottom: 12px; display: block; }
.tariff-card h3 { font-size: 22px; margin-bottom: 15px; }
.tariff-card .price { font-size: 39px; }
.tariff-card p { font-size: 13px; margin: 8px 0 16px; }
.tariff-card hr { margin: 16px 0; }
.tariff-card ul { font-size: 13px; line-height: 1.65; margin: 0; }
.tariff-card .button { margin: 18px 0 12px; }
.tariff-card small, .project-perks small { display: block; font-size: 11px; line-height: 1.5; }
.project-perks { margin-top: 14px; padding: 22px 24px; }
.project-perks h3 { font-size: 17px; display: flex; align-items: center; gap: 9px; margin-bottom: 15px; }
.project-perks h3 span { display: grid; place-items: center; background: #3f4049; color: white; border-radius: 50%; width: 20px; height: 20px; font-size: 13px; flex-shrink: 0; }
.project-perks ul { padding-left: 17px; font-size: 13px; line-height: 1.5; margin: 0 0 13px; }
.project-perks li + li { margin-top: 7px; }
.cardphoto { transition: box-shadow .25s ease, transform .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .projectcard:hover .cardphoto, .projectcard:focus-visible .cardphoto {
    transform: translateY(-5px);
    box-shadow: 0 18px 32px -6px rgba(30, 34, 30, .32), 0 5px 12px rgba(30, 34, 30, .18);
  }
}
.casecontent .zoomable, .casecover .zoomable {
  transition: box-shadow .25s ease, transform .25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .casecontent .zoomable:hover, .casecover .zoomable:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 32px -6px rgba(30, 34, 30, .32), 0 5px 12px rgba(30, 34, 30, .18);
  }
}
@media(max-width:760px) {
  .casebody > .project-sidebar { position: static; max-height: none; overflow: visible; margin: 0; padding: 0; }
}
@media(prefers-reduced-motion:reduce) {
  .cardphoto, .cardphoto img { transition: none; }
}


/* Approved concept 01: warm minimalism, shared across all pages. */
:root {
  --bg: #f7f4ef;
  --paper: #f7f4ef;
  --ink: #302923;
  --muted: #685d54;
  --line: #d5cabe;
  --accent: #6b293b;
  --warm-header: #eee7dd;
  --warm-sand: #e5dace;
  --warm-soft: #f0eae2;
  --warm-footer: #443832;
}
body { background: var(--bg); color: var(--ink); }
header, header.open nav { background: var(--warm-header); color: var(--ink); border-color: var(--line); }
header { box-shadow: 0 4px 16px #30292318; }
header nav a.active, header nav a:hover { border-color: var(--accent); }
header .headcta { background: transparent; color: var(--accent); border-color: var(--accent); }
.homehero { background: var(--warm-sand); color: var(--ink); }
h1 em, .herotext h1 em { color: #795c4e; }
.herotext p, .herofoot small, .pricecard.featured p, .benefithero p, .contactpanel p { color: var(--muted); }
.herofoot, .pricecard.featured hr, .contactpanel hr, hr { border-color: var(--line); }
.button, .button.secondary, .cta .button, .back-to-top, .hero-controls button, dialog button, header .menu {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.homehero .button.secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
header .headcta:hover, header .headcta:focus-visible,
.homehero .button.secondary:hover, .homehero .button.secondary:focus-visible { background: var(--accent); color: #fff; }
.back-to-top:hover, .hero-controls button:hover, dialog button:hover { background: #542030; color: #fff; }
.filters button, .filters button:hover { background: var(--bg); color: var(--accent); border-color: var(--accent); }
.filters button.selected, .filters button.selected:hover { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: none; }
.showroom, .pricecard, .benefitgrid article, .requestside > div { background: var(--bg); }
.pricecard { border-color: var(--line); }
.pricecard.featured, .benefithero > div, .contactpanel { background: var(--warm-sand); color: var(--ink); border-color: var(--line); }
.cta { background: var(--warm-soft); }
footer { background: var(--warm-footer); color: #fff; }
footer small, .footbrand span, .footbottom { color: #e7e2db; }
.footbottom { border-color: #ffffff30; }
.cardphoto small, .casecover > span, .collage-frame span { background: #f7f4efed; color: var(--ink); }
.round { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.round:hover { background: var(--accent); color: #fff; }
.steps article > span, .valuebar b { color: #795c4e; }
.imagecaption { background: #302923cc; color: #fff; }
.casecontent .roomnav { background: var(--bg); box-shadow: 0 -32px 0 var(--bg); }
.collage-frame { background: var(--warm-sand); color: var(--ink); }
.collage-frame:focus-visible { outline-color: var(--accent); }
.project-perks h3 span { background: var(--warm-footer); color: #fff; }
input[type=radio], input[type=checkbox] { accent-color: var(--accent); }
form input:not([type=radio]):not([type=checkbox]), textarea, select { color: var(--ink); border-color: var(--line); }
@media(max-width:760px) { .casecontent .roomnav { box-shadow: none; } }
/* Homepage benefits and original INKOM video. */
.why-inkom { padding-top: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.why-inkom h2 { max-width: 1000px; font-size: 40px; margin-bottom: 38px; }
.why-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.why-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf9; }
.why-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.why-icon { display: grid; place-items: center; flex: 0 0 58px; height: 58px; background: var(--warm-soft); color: var(--accent); border-radius: 12px; }
.why-icon svg { width: 40px; height: 40px; }
.why-heading h3 { font-size: 21px; line-height: 1.25; margin: 0; letter-spacing: -.3px; }
.why-grid p { font-size: 16px; line-height: 1.65; margin: 0; }
.showroom-video { align-self: center; position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: var(--warm-footer); }
.showroom-video iframe { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media(min-width:761px) and (max-width:1100px) { .why-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
 .why-inkom { padding-top: 36px; padding-bottom: 36px; }
 .why-inkom h2 { font-size: 29px; margin-bottom: 24px; }
 .why-inkom h2 br { display: none; }
 .why-grid { grid-template-columns: 1fr; gap: 14px; }
 .why-grid article { padding: 22px; }
 .why-heading h3 { font-size: 19px; }
 .why-grid p { font-size: 15px; }
 .why-icon { flex-basis: 50px; height: 50px; }
}
/* Approved full-width video hero: left text and soft grey gradient. */
.homehero.video-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:740px;padding:54px 5% 90px;overflow:hidden;color:#fffaf2;background:#302923}
.video-hero .hero-video-background,.video-hero .hero-video-shade{position:absolute;inset:0;pointer-events:none}
.video-hero .hero-video-background{z-index:-2;background:url('assets/hero-video-poster.jpg') center/cover no-repeat}
.hero-video-background iframe{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:0;opacity:0;transition:opacity .6s}
.video-hero.is-playing iframe{opacity:1}
.video-hero .hero-video-shade{z-index:-1;background:linear-gradient(90deg,rgba(38,37,36,.82),rgba(48,47,46,.52) 65%,rgba(48,47,46,.3))}
.video-hero .hero-copy{position:relative;width:100%;max-width:850px;padding:0;margin-right:auto}
.video-hero .hero-copy h1{font-size:clamp(48px,4.6vw,74px);line-height:1.05;letter-spacing:-2.6px;font-weight:450;margin:25px 0;color:#fffaf2}
.video-hero .hero-copy h1 em{color:#eee1d2;font-style:normal}
.video-hero .hero-copy p{color:#f0ebe4;max-width:650px;font-size:20px}
.video-hero .hero-copy .eyebrow{color:#fffaf2;letter-spacing:2px}
.video-hero .hero-copy .actions{justify-content:flex-start;margin-top:28px}
.video-hero .hero-copy .button.secondary{color:#fffaf2;border-color:#fffaf2;background:transparent}
.video-hero .hero-copy .button.secondary:hover{background:var(--accent);border-color:var(--accent)}
.video-hero .herofoot{max-width:650px;border-color:#ffffff45;margin-top:36px;color:#fffaf2}
.video-hero .herofoot small{color:#e0d9d1}
.hero-video-controls{position:absolute;bottom:22px;right:5%;display:flex;align-items:center;gap:10px;color:#fff;font-size:10px;letter-spacing:1px}
.hero-video-controls button{border:1px solid #ffffff70;background:#302923aa;color:#fff;border-radius:30px;padding:10px 15px;font-size:12px;cursor:pointer}
.hero-video-controls button:hover{background:var(--accent)}
.hero-video-controls button:disabled{opacity:.6;cursor:default}
@media(max-width:760px){.homehero.video-hero{min-height:690px;padding:42px 6% 102px}.video-hero .hero-copy h1{font-size:46px;letter-spacing:-1.8px}.video-hero .hero-copy p{font-size:17px}.video-hero .hero-copy p br{display:none}.video-hero .actions{flex-wrap:wrap;gap:12px}.video-hero .herofoot{flex-wrap:wrap;gap:12px;margin-top:28px}.hero-video-controls{left:6%;right:6%;flex-wrap:wrap}.hero-video-controls>span{width:100%;font-size:9px}.video-hero .hero-video-shade{background:linear-gradient(90deg,#262524de,#302f2e88)}}
/* Reveal the right-hand video on hover; retain contrast beneath the copy. */
.video-hero .hero-video-shade {
 background: linear-gradient(90deg,rgba(38,37,36,.82) 0%,rgba(38,37,36,.78) 28%,rgba(38,37,36,.6) 39%,transparent 56%);
}
.video-hero .hero-video-shade::after {
 content: ''; position: absolute; inset: 0;
 background: linear-gradient(90deg,transparent 0%,rgba(48,47,46,.12) 32%,rgba(48,47,46,.55) 56%,rgba(48,47,46,.3) 100%);
 opacity: 1; transition: opacity 1.2s ease;
}
@media (hover:hover) and (pointer:fine) {
 .video-hero.video-clear .hero-video-shade::after { opacity: 0; }
}
@media(max-width:760px) {
 .video-hero .hero-video-shade { background:linear-gradient(90deg,#262524de,#302f2e88); }
 .video-hero .hero-video-shade::after { display:none; }
}
@media(prefers-reduced-motion:reduce) {
 .video-hero .hero-video-shade::after { transition:none; }
}
/* Limit the desktop shade to the end of the pricing button. */
@media(min-width:761px){
 .video-hero .hero-video-shade{width:var(--hero-shade-width,540px);right:auto;background:rgba(38,37,36,.72)}
 .video-hero .hero-video-shade::after{display:none}
 .video-hero .hero-copy h1{font-size:clamp(42px,3.6vw,64px)}
 .video-hero .herofoot{max-width:var(--hero-copy-width,450px)}
}
/* Soft left gradient ending at the pricing CTA; hover reveals the video. */
@media(min-width:761px){
 .video-hero .hero-video-shade{
  width:auto;right:0;
  background:linear-gradient(90deg,rgba(38,37,36,.82) 0px,rgba(38,37,36,.76) calc(var(--hero-shade-width,540px) - 180px),transparent var(--hero-shade-width,540px));
 }
 .video-hero .hero-video-shade::after{
  display:block;
  background:linear-gradient(90deg,transparent 0px,rgba(48,47,46,.12) calc(var(--hero-shade-width,540px) - 180px),rgba(48,47,46,.42) var(--hero-shade-width,540px),rgba(48,47,46,.3) 100%);
  opacity:1;transition:opacity 1.2s ease;
 }
}
@media(min-width:761px) and (hover:hover) and (pointer:fine){
 .video-hero.video-clear .hero-video-shade::after{opacity:0}
}
@media(prefers-reduced-motion:reduce){.video-hero .hero-video-shade::after{transition:none}}
/* Half the top spacing before the homepage portfolio. */
.why-inkom + .section { padding-top:45px; }
@media(max-width:760px){ .why-inkom + .section { padding-top:22.5px; } }
/* Consistent section spacing on the homepage, with no duplicate video. */
main:has(> .video-hero) { --home-section-gap:45px; }
main:has(> .video-hero) > .section { padding-top:var(--home-section-gap);padding-bottom:var(--home-section-gap); }
main:has(> .video-hero) > .section + .section { padding-top:0; }
@media(max-width:760px){main:has(> .video-hero){--home-section-gap:22.5px}}
/* Homepage process: prominent centered numbers and repeatable entrance. */
main:has(> .video-hero) .steps article{text-align:center;border-top-color:var(--accent)}
main:has(> .video-hero) .steps article > span{font-size:48px;line-height:1.1;font-weight:500;color:var(--accent);margin-bottom:22px}
main:has(> .video-hero) .steps article p{max-width:340px;margin-left:auto;margin-right:auto}
.home-steps-reveal article{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease;transition-delay:0s}
.home-steps-reveal.is-visible article{opacity:1;transform:translateY(0);transition-delay:calc(var(--step-index) * .24s)}
@media(prefers-reduced-motion:reduce){.home-steps-reveal article{opacity:1;transform:none;transition:none}}
/* Slower process reveal: twice the duration and stagger. */
.home-steps-reveal article{transition-duration:1.4s}
.home-steps-reveal.is-visible article{transition-delay:calc(var(--step-index) * .48s)}
@media(prefers-reduced-motion:reduce){.home-steps-reveal article{transition:none}}
/* Compact contact header shared by all pages. */
:root{--sticky-header-height:108px}
body > header{position:sticky;top:0;z-index:100;height:108px;gap:24px;transition:height .3s ease,box-shadow .3s ease}
body > header.is-compact{height:84px;box-shadow:0 4px 18px #30292324}
body > header nav{gap:24px;margin-left:auto}
body > header nav a{font-size:14px;white-space:nowrap}
.header-contact{display:flex;flex-direction:column;gap:7px;flex-shrink:0;padding-left:22px;border-left:1px solid var(--line)}
.header-contact .header-phone{font-size:21px;line-height:1.25;font-weight:650;color:var(--accent);white-space:nowrap}
.header-contact .header-email{font-size:15px;line-height:1.25;color:var(--muted);text-decoration:underline;text-underline-offset:4px}
.header-contact a:hover{color:var(--ink)}
body > header .headcta{padding:15px 18px;font-size:13px;white-space:nowrap}
.casecontent .roomnav{top:calc(var(--sticky-header-height) + 16px);box-shadow:0 -16px 0 var(--bg)}
.casebody > .project-sidebar{top:var(--sticky-header-height);max-height:calc(100dvh - var(--sticky-header-height) - 16px)}
.casecontent [id]{scroll-margin-top:calc(var(--sticky-header-height) + 100px)}
.why-grid.teasers-reveal article{opacity:0;transform:translateY(22px);transition:opacity 1.4s ease,transform 1.4s ease;transition-delay:0s}
.why-grid.teasers-reveal article.is-visible{opacity:1;transform:none;transition-delay:var(--teaser-delay,0s)}
@media(max-width:1200px){
 body > header nav{display:none}
 body > header .menu{display:block;color:var(--ink)}
 body > header .header-contact{margin-left:auto}
 body > header.open nav{display:flex;position:absolute;top:100%;left:0;right:0;padding:24px 6%;background:var(--warm-header);flex-direction:column;align-items:flex-start;gap:18px}
}
@media(max-width:760px){
 body > header{height:96px;gap:12px;padding:0 5%}
 body > header.is-compact{height:80px}
 body > header .brand{font-size:25px}
 body > header .brand span{font-size:8px}
 body > header .headcta{display:none}
 .header-contact{padding-left:0;border:0;gap:5px}
 .header-contact .header-phone{font-size:15px}
 .header-contact .header-email{font-size:13px}
 .casecontent .roomnav{top:var(--sticky-header-height);box-shadow:none}
}
@media(prefers-reduced-motion:reduce){body > header{transition:none}.why-grid.teasers-reveal article{opacity:1;transform:none;transition:none}}
/* Shared numbered blocks on the benefits page. */
main:has(.benefithero) :is(.benefitgrid,.steps){gap:38px}
main:has(.benefithero) :is(.benefitgrid,.steps) article{background:transparent;padding:23px 0 0;border-top:1px solid var(--accent);text-align:center}
main:has(.benefithero) :is(.benefitgrid,.steps) article > span{display:block;font-size:48px;line-height:1.1;font-weight:500;color:var(--accent);margin-bottom:22px}
main:has(.benefithero) :is(.benefitgrid,.steps) article p{font-size:16px;max-width:340px;margin-left:auto;margin-right:auto}
@media(max-width:760px){
 main:has(.benefithero) :is(.benefitgrid,.steps){gap:23px}
 main:has(.benefithero) :is(.benefitgrid,.steps) article p{font-size:13px}
}
/* Compact benefits introduction. */
.intro:has(+ .benefithero){padding-top:24px;padding-bottom:24px}
.intro:has(+ .benefithero) .eyebrow{margin-bottom:14px}
.intro:has(+ .benefithero) .introgrid{align-items:center;gap:40px}
.intro:has(+ .benefithero) h1{font-size:40px;line-height:1.12;letter-spacing:-1px;margin:0}
.intro:has(+ .benefithero) .introgrid > p{font-size:16px;line-height:1.5;margin:0}
@media(max-width:760px){
 .intro:has(+ .benefithero){padding-top:22px;padding-bottom:24px}
 .intro:has(+ .benefithero) .introgrid{gap:16px}
 .intro:has(+ .benefithero) h1{font-size:30px}
 .intro:has(+ .benefithero) .introgrid > p{font-size:15px}
}
/* Compact spacing between the benefits and process rows. */
main:has(.benefithero) > .section:has(.benefitgrid){padding-bottom:22px}
main:has(.benefithero) > .section:has(.steps){padding-top:23px}
@media(max-width:760px){
 main:has(.benefithero) > .section:has(.benefitgrid){padding-bottom:11px}
 main:has(.benefithero) > .section:has(.steps){padding-top:12px}
}
/* Larger header text and compact contacts introduction. */
body > header nav a{font-size:17px}
body > header .headcta{font-size:15px}
.header-contact .header-email{font-size:16px}
@media(min-width:1201px) and (max-width:1450px){body > header{gap:16px}body > header nav{gap:16px}.header-contact{padding-left:14px}.header-contact .header-phone{font-size:18px}}
.intro:has(+ .contactgrid){padding-top:24px;padding-bottom:24px}
.intro:has(+ .contactgrid) .eyebrow{margin-bottom:14px}
.intro:has(+ .contactgrid) .introgrid{align-items:center;gap:40px}
.intro:has(+ .contactgrid) h1{font-size:40px;line-height:1.12;letter-spacing:-1px;margin:0}
.intro:has(+ .contactgrid) .introgrid > p{font-size:16px;line-height:1.5;margin:0}
@media(max-width:760px){
 .header-contact .header-email{font-size:13px}
 .intro:has(+ .contactgrid){padding-top:22px;padding-bottom:24px}
 .intro:has(+ .contactgrid) .introgrid{gap:16px}
 .intro:has(+ .contactgrid) h1{font-size:30px}
 .intro:has(+ .contactgrid) .introgrid > p{font-size:15px}
}
/* Halve the two gaps below pricing and deliverables. */
main > .pricing{padding-bottom:20px}
.pricing + .section{padding-top:45px;padding-bottom:45px}
.pricing + .section + .section{padding-top:45px}
@media(max-width:760px){
 .pricing + .section{padding-top:22.5px;padding-bottom:22.5px}
 .pricing + .section + .section{padding-top:22.5px}
}
/* Pricing card typography responds to hover anywhere inside the card. */
@media(hover:hover) and (pointer:fine){
 .pricing .pricecard :is(.priceeyebrow,h2,.price,p,li,.button){
  transform-origin:left center;
  transition:transform .65s ease,text-shadow .65s ease;
 }
 .pricing .pricecard .button{transform-origin:center}
 .pricing .pricecard:hover :is(.priceeyebrow,h2,.price,p,li,.button){
  transform:scale(1.025);
  text-shadow:.25px 0 currentColor,-.25px 0 currentColor;
 }
 .pricing .pricecard:hover .price{transform:scale(1.04)}
}
@media(prefers-reduced-motion:reduce){
 .pricing .pricecard :is(.priceeyebrow,h2,.price,p,li,.button){transition:none}
}
/* Permanent burgundy stripe along the top of the sticky header. */
body > header::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:var(--accent);pointer-events:none}
/* Hide the top accent when the sticky header is compact. */
body > header::before{opacity:1;transition:opacity .3s ease}
body > header.is-compact::before{opacity:0}
@media(prefers-reduced-motion:reduce){body > header::before{transition:none}}
/* Restore full-size form; compact only the introductory heading. */
.intro:has(+ .requestgrid){padding-top:20px;padding-bottom:20px}
.intro:has(+ .requestgrid) .eyebrow{margin-bottom:12px}
.intro:has(+ .requestgrid) .introgrid{align-items:center;gap:32px}
.intro:has(+ .requestgrid) h1{font-size:40px;line-height:1.12;letter-spacing:-1px;margin:0}
.intro:has(+ .requestgrid) .introgrid > p{font-size:18px;line-height:1.5;margin:0}
.requestgrid form input:not([type=radio]):not([type=checkbox]),.requestgrid textarea,.requestgrid select{border:1px solid var(--line);border-radius:4px;margin-top:8px;padding-left:12px;padding-right:12px;outline:none;transition:border-color .2s ease}
.requestgrid form input:not([type=radio]):not([type=checkbox]):focus,.requestgrid textarea:focus,.requestgrid select:focus{border-color:var(--accent);outline:none}
.requestside .textlink{font-size:25px;font-weight:700;color:var(--accent)}
.requestgrid form > .button{display:inline-flex;justify-content:center;align-items:center;gap:24px;padding:18px 25px;font-size:16px}
.requestgrid form > .button span{position:static;transform:none;flex:0 0 auto;margin:0;line-height:1}
.requestgrid .formstatus:empty{display:none}
@media(max-width:760px){
 .intro:has(+ .requestgrid) h1{font-size:30px}
 .intro:has(+ .requestgrid) .introgrid{gap:16px}
 .intro:has(+ .requestgrid) .introgrid > p{font-size:16px}
 .requestside .textlink{font-size:22px}
}
/* Lift the form by reducing whitespace, preserving readable type and inputs. */
@media(min-width:761px){
 .intro:has(+ .requestgrid){padding-top:12px;padding-bottom:12px}
 .intro:has(+ .requestgrid) .introgrid{grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:24px}
 .requestgrid form{padding-top:0;padding-bottom:20px}
 .requestgrid form h2{margin-bottom:18px}
 .requestgrid .choices{margin-bottom:16px}
 .requestgrid form input:not([type=radio]):not([type=checkbox]),.requestgrid textarea,.requestgrid select{margin-bottom:14px}
 .requestgrid .formbreak{margin:8px 0 12px}
 .requestgrid .consent{margin:4px 0 14px}
}
@media(min-width:1200px){.intro:has(+ .requestgrid) h1{white-space:nowrap;font-size:clamp(30px,2.15vw,40px)}}
@media(min-width:1000px) and (max-height:850px){
 .requestgrid .choices{grid-template-columns:repeat(4,minmax(0,1fr))}
 .requestgrid .choices label{display:flex;align-items:center;gap:5px;padding:10px 8px}
 .requestgrid .choices input{flex-shrink:0}
 .requestgrid form input:not([type=radio]):not([type=checkbox]),.requestgrid textarea,.requestgrid select{margin-bottom:10px}
 .requestgrid textarea{height:80px}
 .requestgrid .formbreak{margin:4px 0 8px}
 .requestgrid form h2{margin-bottom:12px}
}
@media(min-width:1000px) and (max-height:850px){
 .requestgrid form input:not([type=radio]):not([type=checkbox]),.requestgrid select{padding-top:9px;padding-bottom:9px;margin-top:5px;margin-bottom:8px}
 .requestgrid textarea{height:64px;margin-top:5px;margin-bottom:8px;padding-top:10px;padding-bottom:10px}
 .requestgrid .choices{margin-bottom:10px}
 .requestgrid form h2{margin-top:4px}
 .requestgrid .formbreak{margin-top:0}
 .requestgrid .consent{margin-bottom:10px}
}
@media(min-width:1000px) and (max-height:850px){
 .intro:has(+ .requestgrid){padding-top:8px;padding-bottom:8px}
 .intro:has(+ .requestgrid) .introgrid > p{font-size:16px;line-height:1.4}
 .intro:has(+ .requestgrid) .eyebrow{margin-bottom:8px}
 .requestgrid form > .button{padding-top:14px;padding-bottom:14px}
}
/* Selected logo 5: burgundy wordmark and brass portal. */
body > header .brand{display:flex;align-items:center;gap:14px;flex-shrink:0;line-height:1;letter-spacing:normal;color:#a68a69}
header .logo-type{font-family:'Segoe UI',sans-serif;font-size:31px;font-weight:600;letter-spacing:3px;color:var(--accent);text-align:center}
header .logo-type small{display:block;font-family:'Segoe UI',sans-serif;font-size:9px;font-weight:500;line-height:1.2;letter-spacing:2.7px;color:#806958;border-top:1px solid #a68a6988;padding-top:8px;margin-top:10px;text-align:center;text-indent:2.7px}
header .logo-portal{display:block;width:30px;height:58px;flex-shrink:0;color:#a68a69}
@media(max-width:760px){
 body > header .brand{gap:7px}
 header .logo-type{font-size:23px;letter-spacing:2px}
 header .logo-type small{font-size:7px;letter-spacing:1.3px;text-indent:1.3px;margin-top:7px;padding-top:6px}
 header .logo-portal{width:19px;height:46px}
}
