/* ENA-AUTO-WEB v0.1.0-int1 — 社内確認用 非公開統合版（A案TOP＋B案サービス以降） */
:root{
  --black:#111214; --ink:#17181b; --muted:#55585e; --line:#d9d8d2;
  --red:#c1121f; --red-deep:#a90f1b; --paper:#ffffff; --soft:#f2f1ec; --frame:#26282c;
  --focus:#0b57d0;
  --sans:"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Noto Sans CJK JP","Yu Gothic UI","Yu Gothic",Meiryo,system-ui,sans-serif;
  --serif:"Hiragino Mincho ProN","Yu Mincho","YuMincho","Noto Serif JP","Noto Serif CJK JP",serif;
  --display:"Helvetica Neue",Helvetica,Arial,"Liberation Sans",sans-serif;
  --mono:ui-monospace,"SFMono-Regular",Menlo,Consolas,"Liberation Mono",monospace;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.8;overflow-wrap:anywhere}
img{max-width:100%;height:auto}
h1,h2,h3,p,ul,dl,dd,figure{margin:0;padding:0}
ul{list-style:none}
a{color:inherit}
.wrap{max-width:1344px;margin:0 auto;padding:0 48px}
.sep{margin:0 .45em;opacity:.7}
.arrow{display:inline-block;margin-left:.9em}

/* focus: visible on every background */
:focus{outline:none}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.on-dark :focus-visible,.nav-cta:focus-visible{outline-color:#ffffff}
.nav-cta:focus-visible{outline-offset:-6px}

.skip{position:absolute;left:12px;top:-60px;z-index:20;background:#fff;color:var(--ink);padding:10px 16px;border:2px solid var(--ink);text-decoration:none;font-size:14px}
.skip:focus-visible{top:12px}

.internal-bar{background:#2b2c30;color:#f1f1f1;font-size:12px;line-height:1.6;padding:8px 48px;letter-spacing:.02em}

/* header (A) */
.site-header{display:flex;align-items:stretch;justify-content:space-between;background:#fff;height:76px;padding-left:48px;border-bottom:1px solid #e7e6e1}
.brand{display:flex;align-items:center;gap:10px}
.brand-slash{width:22px;height:22px;background:linear-gradient(115deg,transparent 0 22%,var(--red) 22% 42%,transparent 42% 58%,var(--red) 58% 78%,transparent 78%)}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-main{font-family:var(--display);font-style:italic;font-weight:800;font-size:23px;letter-spacing:.01em;color:var(--black);white-space:nowrap}
.brand-sub{font-family:var(--display);font-size:11px;letter-spacing:.3em;margin-top:4px;color:var(--black);white-space:nowrap}
.site-nav ul{display:flex;align-items:stretch;height:100%}
.site-nav li{display:flex}
.nav-item a{display:flex;align-items:center;padding:0 30px;text-decoration:none;font-size:15px;color:var(--ink)}
.nav-item a:hover{color:var(--red)}
.nav-cta{display:flex;align-items:center;padding:0 40px;margin-left:16px;background:var(--red);color:#fff;text-decoration:none;font-size:15px;font-weight:600;white-space:nowrap}
.nav-cta:hover{background:var(--red-deep)}

/* hero (A) */
.hero{position:relative;overflow:hidden;background:var(--black);color:#fff;display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-areas:"head visual" "body visual";
  column-gap:40px;padding:64px 0 72px 48px;min-height:600px}
.hero-stripe{position:absolute;top:-10%;height:120%;width:38px;background:var(--red);transform:skewX(-24deg);z-index:0}
.hero-stripe-1{left:41%}
.hero-stripe-2{right:9%;width:20px;opacity:.9}
.hero-head,.hero-body,.hero-visual{position:relative;z-index:1}
.hero-head{grid-area:head;align-self:end;container-type:inline-size}
.hero-body{grid-area:body;align-self:start}
.hero-visual{grid-area:visual;align-self:center}
.eyebrow{font-family:var(--mono);font-size:12px;letter-spacing:.14em;color:var(--red);display:flex;align-items:center}
.eyebrow-dark{color:#d8d8d8}
.eyebrow-light{color:#ffe1e3}
.rule{display:inline-block;width:22px;height:2px;background:var(--red);margin-right:14px}
.tick{display:inline-block;width:3px;height:13px;background:var(--red);margin-right:10px}
.hero-brand{font-family:var(--display);font-style:italic;font-weight:800;font-size:clamp(32px,4.4vw,64px);font-size:clamp(32px,12cqi,80px);line-height:.98;letter-spacing:-.005em;margin-top:26px;overflow-wrap:normal;word-break:keep-all}
.hero-brand-line{display:block;white-space:nowrap}
.red-bar{display:block;width:44px;height:4px;background:var(--red);margin:28px 0 24px}
.hero-copy{font-size:clamp(22px,2.1vw,30px);font-weight:600;line-height:1.5}
.hero-sub{font-size:15px;color:#e6e6e6;line-height:1.9;margin-top:22px}
.btn{display:inline-flex;align-items:center;margin-top:30px;padding:15px 26px;text-decoration:none;font-weight:600;font-size:15px}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{background:var(--red-deep)}
.vehicle-frame{aspect-ratio:16/9;width:100%;border:2px dashed rgba(255,255,255,.45);
  background:repeating-linear-gradient(135deg,#2a2c30 0 18px,#24262a 18px 36px);
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px}
.frame-label{font-size:clamp(17px,1.6vw,22px);font-weight:700;color:#ffffff;letter-spacing:.04em}
.frame-note{font-size:13px;color:#e2e2e2;margin-top:10px;line-height:1.7}
.hero-visual figcaption{font-size:12px;color:#d6d6d6;text-align:right;margin-top:10px;padding-right:48px}
.hero-visual figcaption span{background:var(--black);padding:3px 8px}

/* sections (B) */
.section{padding:112px 0}
.section-title{font-family:var(--serif);font-weight:600;font-size:clamp(30px,3vw,42px);line-height:1.4;margin-top:14px;letter-spacing:.02em}
.section-head{display:grid;grid-template-columns:1fr minmax(0,460px);gap:40px;align-items:end;padding-bottom:40px}
.section-lead p{font-size:15px;color:var(--muted)}
.draft-tag{display:inline-block;margin-top:14px;font-size:12px;line-height:1.6;color:#6a3a00;background:#fff4dc;border:1px solid #e9c77a;padding:3px 10px}
.service-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.service{border-bottom:1px solid var(--line);padding-bottom:28px}
.illust{aspect-ratio:16/7;background:repeating-linear-gradient(135deg,#ecebe6 0 14px,#e4e3dd 14px 28px);border:1px dashed #a9a79f;display:flex;align-items:center;justify-content:center}
.illust span{font-size:13px;color:#4f4d47;letter-spacing:.06em}
.card-label{font-family:var(--mono);font-size:11.5px;letter-spacing:.12em;color:var(--red);margin-top:20px}
.service h3{font-size:21px;font-weight:600;line-height:1.5;margin-top:6px}
.service-text p:last-child{font-size:14.5px;color:var(--muted);margin-top:8px}

.about{background:var(--soft)}
.about-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px}
.about-sub{font-size:15px;color:var(--muted);margin-top:14px}
.about-list{border-top:2px solid #8f8d86}
.about-item{padding:24px 0;border-bottom:1px solid #cfcdc6}
.about-item dt{font-weight:700;font-size:19px;line-height:1.5}
.about-item dd{font-size:15px;color:#43464b;margin-top:8px}

.contact{background:var(--red);color:#fff;padding:88px 0}
.contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:48px;align-items:center}
.contact .section-title{color:#fff}
.contact-lead{font-size:15px;color:#fff2f3;margin-top:14px}
.contact-static{background:#fff;color:var(--ink);padding:24px 26px;border-left:6px solid var(--black)}
.contact-static-title{font-weight:700;font-size:17px;line-height:1.6}
.contact-static-note{font-size:13px;color:#55585e;margin-top:6px}

.site-footer{background:#fff;border-top:1px solid #e7e6e1;padding:36px 0 30px}
.footer-grid{display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand-footer .brand-main{font-size:20px}
.footer-company{font-size:14px;color:var(--ink)}
.footer-note{font-size:12px;color:#5f6268;margin-top:18px}

/* tablet */
@media (max-width:1100px){
  .wrap{padding:0 32px}
  .site-header{padding-left:32px}
  .internal-bar{padding:8px 32px}
  .nav-item a{padding:0 18px}
  .nav-cta{padding:0 26px}
  .hero{padding-left:32px;column-gap:28px}
}

/* smartphone (390 base) */
@media (max-width:760px){
  body{font-size:15px}
  .wrap{padding:0 20px}
  .internal-bar{padding:8px 20px;font-size:11.5px}
  .site-header{height:60px;padding-left:20px}
  .site-nav .nav-item{display:none}
  .nav-cta{padding:0 18px;margin-left:0;font-size:13.5px}
  .nav-cta .arrow{margin-left:.6em}
  .brand-main{font-size:19px}
  .brand-sub{font-size:11px;letter-spacing:.2em}
  .brand-slash{width:18px;height:18px}
  .hero{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "visual" "body";padding:40px 0 48px;min-height:0;row-gap:28px}
  .hero-head,.hero-body{padding:0 20px}
  .hero-brand{font-size:clamp(32px,9.6vw,44px);font-size:clamp(32px,12cqi,48px);margin-top:18px}
  .red-bar{margin:20px 0 16px}
  .hero-copy{font-size:21px}
  .hero-sub{margin-top:0;font-size:14.5px}
  .btn{margin-top:22px;width:100%;justify-content:space-between}
  .hero-stripe-1{left:86%;width:22px;top:-4%;height:11%}
  .hero-stripe-2{display:none}
  .vehicle-frame{border-left:0;border-right:0;padding:20px 16px}
  .frame-note{font-size:12px}
  .hero-visual figcaption{padding-right:20px}
  .section{padding:72px 0}
  .section-head{grid-template-columns:minmax(0,1fr);gap:16px;padding-bottom:28px}
  .service-list{grid-template-columns:minmax(0,1fr);gap:0}
  .service{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;padding:22px 0;border-top:1px solid var(--line);border-bottom:0}
  .service:last-child{border-bottom:1px solid var(--line)}
  .illust{aspect-ratio:auto;height:72px}
  .illust span{font-size:11px;text-align:center;padding:0 4px}
  .card-label{margin-top:0;font-size:11px}
  .service h3{font-size:17px}
  .service-text p:last-child{font-size:13.5px}
  .about-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .about-item dt{font-size:17px}
  .about-item dd{font-size:14px}
  .contact{padding:64px 0}
  .contact-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .footer-grid{flex-direction:column;align-items:flex-start;gap:10px}
}
@media (max-width:359px){
  .site-header{padding-left:16px}
  .brand{gap:8px;min-width:0}
  .site-nav{flex:none}
  .nav-cta{padding:0 14px;font-size:13px}
  .nav-cta .arrow{margin-left:.4em}
}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* v1.1 visual identity candidate: A-variant, black/red/white across all five sections. */
:root{--black:#0e0f11;--red:#c8102e;--red-deep:#a30c25;--paper:#fff;--soft:#151619;--ink:#16171a;--focus:#ff8b9d}
html{scroll-behavior:smooth}
body{background:#0e0f11;color:#fff}
.internal-bar{background:#a30c25;text-align:center;letter-spacing:.08em;font-weight:700;padding:7px 20px;font-size:11px}
.site-header{height:83px;position:relative;z-index:5;background:#fff;border-bottom:1px solid #dedede;box-shadow:0 6px 22px #0002}
.brand-main{font-size:25px;letter-spacing:-.02em}
.nav-item a{font-size:13px;font-weight:700;text-transform:uppercase}
.nav-cta{background:#bd0827;font-size:13px;letter-spacing:.03em}
.hero{min-height:590px;grid-template-columns:minmax(0,44fr) minmax(0,56fr);column-gap:0;background:radial-gradient(ellipse at 88% 60%,#381019 0%,#0e0f11 61%);padding-top:48px;padding-bottom:70px}
.hero-stripe-1{left:38%;width:70px;opacity:.95}
.hero-stripe-2{right:7%;width:14px;opacity:.8}
.hero-head,.hero-body{padding-right:24px}
.hero-brand{font-size:clamp(36px,11.5cqi,70px);margin-top:30px;letter-spacing:-.035em;text-shadow:0 4px 12px #0005}
.hero-copy{font-size:clamp(22px,2.5vw,32px);font-weight:750}
.hero-visual{margin-left:-26px}
.vehicle-frame{aspect-ratio:1.64;border:none;position:relative;background:#131313;padding:0;box-shadow:0 24px 65px #0007;overflow:hidden;clip-path:polygon(8% 0,100% 0,100% 100%,0 100%)}
.vehicle-frame img{width:100%;height:100%;object-fit:cover;object-position:52% 49%;display:block;filter:contrast(1.07) saturate(.90)}
.vehicle-frame:after{content:"";position:absolute;inset:0;box-shadow:inset 0 -35px 65px #0007;pointer-events:none}
.frame-badge{position:absolute;bottom:15px;right:14px;background:#050505bd;padding:5px 10px;color:#fff;font-family:var(--mono);font-size:10px;letter-spacing:.08em;z-index:2}
.hero-visual figcaption{color:#dedede}
.btn-red{background:#c8102e;clip-path:polygon(7% 0,100% 0,93% 100%,0 100%);padding:16px 37px}
.services{background:#f8f8f8;color:#111;padding-top:96px;padding-bottom:105px}
.section-title{font-family:var(--sans);font-weight:850;letter-spacing:-.035em;font-size:clamp(32px,3vw,46px)}
.services .section-title:after{content:"";display:block;width:58px;height:4px;background:#c8102e;margin-top:18px}
.section-head{padding-bottom:45px}
.service-list{gap:19px}
.service{background:#16171a;color:#fff;border:1px solid #34363a;box-shadow:0 9px 20px #1112;padding:0 0 26px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.service:hover{transform:translateY(-4px);box-shadow:0 15px 26px #1114}
.service-text{padding:0 25px}
.service h3{font-size:21px;letter-spacing:-.03em}
.service-text>p:last-child{color:#bbbfc6;font-size:14px;line-height:1.9}
.illust{position:relative;aspect-ratio:16/6;background:linear-gradient(135deg,#23262b,#111214 60%,#3b0711);border:0;border-bottom:3px solid #c8102e;display:flex;align-items:center;justify-content:flex-start;padding-left:35px}
.illust span{font-size:62px;font-weight:200;color:#fff;opacity:.8}
.illust small{position:absolute;right:20px;top:18px;color:#f3465f;font:700 13px var(--mono)}
.card-label{color:#ff4c64;margin-top:24px}
.about{background:#0c0d10;color:#f6f6f6;position:relative}
.about:before{content:"";position:absolute;left:0;top:0;bottom:0;width:12px;background:linear-gradient(#e20b31,#71041c)}
.about .section-title{color:#fff}
.about .eyebrow{color:#fa4261}
.about-sub{color:#fff}
.about-list{border-left:1px solid #505257;padding-left:30px}
.about-item{border-color:#34363a}
.about-item dt{color:#fff}
.about-item dd{color:#bdc0c5}
.contact{background:linear-gradient(112deg,#b5082c 0%,#8f0b24 45%,#150d13 100%);color:#fff}
.contact-static{background:#0e0f11cc;border:1px solid #f5c2cf77}
.site-footer{background:#0a0b0d;color:#fff}
.footer-company,.footer-note{color:#bdc0c5}
.brand-footer .brand-main,.brand-footer .brand-sub{color:#fff}
.draft-tag{background:#2b2225;color:#ffe2e7;border-color:#71505a}
.services .draft-tag{background:#fff4dc;color:#713d16;border-color:#e5c992}
/* Explicit focus contrast according to reviewed FOCUS-01 proposal. */
:focus-visible{outline:2px solid #ff8b9d;outline-offset:4px}
.site-header a:focus-visible,.skip:focus-visible,.services a:focus-visible{outline:2px solid #101013;outline-offset:3px}
.nav-cta:focus-visible,.btn-red:focus-visible{outline:2px solid #fff;outline-offset:-5px}
.contact a:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:900px){.hero{padding:44px 28px 48px;grid-template-columns:1fr;grid-template-areas:"head" "visual" "body";min-height:auto;gap:20px}.hero-visual{margin-left:0}.hero-head,.hero-body{padding-right:0}.hero-brand{font-size:clamp(38px,9.5vw,70px)}.hero-stripe-1{left:80%;opacity:.5}.hero-visual figcaption{padding-right:0}.service-list{gap:12px}}
@media(max-width:600px){.internal-bar{font-size:9px;padding:8px 12px}.site-header{height:auto;min-height:78px;flex-wrap:wrap;padding-left:18px}.brand-main{font-size:20px}.brand-sub{font-size:9px}.site-nav{width:100%}.site-nav ul{justify-content:space-between;gap:2px}.nav-item a{padding:10px 6px;font-size:11px}.nav-cta{padding:10px 14px;margin-left:0;font-size:11px}.hero{padding:40px 18px 58px}.hero-brand{font-size:clamp(32px,8.8vw,52px)}.hero-copy{font-size:23px}.hero-sub{font-size:13px}.vehicle-frame{clip-path:none}.wrap{padding-left:20px;padding-right:20px}.section{padding-top:74px;padding-bottom:74px}.service-list{grid-template-columns:1fr}.service{padding-bottom:24px}.section-head{display:block}.section-lead{margin-top:24px}.about-list{border-left:0;padding-left:0}.about-grid{display:block}.contact-grid{display:block}.contact-static{margin-top:32px}.section-title{font-size:30px}}
@media(max-width:760px){
  .site-nav{width:auto;margin-left:auto}.site-nav ul{height:100%}
  .site-nav .nav-item{display:none}
  .site-header{height:68px;min-height:68px;flex-wrap:nowrap;align-items:center;padding-left:18px}
  .nav-cta{display:flex;align-items:center;padding:0 14px;height:68px;margin-left:0}
  .service-list{display:grid;grid-template-columns:1fr;gap:16px}
  .service{display:block;padding:0 0 22px;border:1px solid #34363a}
  .illust{height:100px;aspect-ratio:auto;padding-left:28px}
  .illust span{font-size:52px;padding:0}
  .service-text{padding:0 22px}
  .card-label{margin-top:20px}
  .service h3{font-size:20px}
  .service-text p:last-child{font-size:14px;color:#bdc0c5}
  .contact-static{color:#fff;border-left:4px solid #fff}
  .contact-static-title{color:#fff}
  .contact-static-note{color:#ebc4ce}
  .about-sub{color:#e8e8e8}
}
@media(min-width:761px){.contact-static-title{color:#fff}.contact-static-note{color:#e7bec9}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.service{transition:none}}

/* =======================================================================
   CASE-017 v1.1.0-rc1 internal candidate | scoped corrections
   FOCUS-01 and A-variant dark service/about card treatment
   ======================================================================= */
:root { color-scheme: light; }
/* Services use a shared dark section and consistent, legible dark cards. */
.services { background: #111216; color: #f6f6f8; }
.services .section-title, .services .section-lead > p:first-child { color: #f6f6f8; }
.services .section-lead > p:first-child { color: #d7d9de; }
.services .draft-tag { background: #33221e; color: #fff0d9; border-color: #bc8b67; }
.service { background:#1b1d22; border:1px solid #51545c; color:#fff; }
.service-text > p:last-child { color:#d0d3d9; }
.service .illust { background:linear-gradient(135deg,#2a2e35,#15171c 64%,#3a101c); }
.about-list { border:0; padding-left:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.about-item { min-width:0; border:1px solid #545861; background:#1b1d22; border-top:3px solid #c8102e; padding:28px; }
.about-item dt { color:#fff; font-size:18px; }
.about-item dd { color:#d1d4db; font-size:15px; line-height:1.9; }
/* FOCUS-01: full continuous 2px outlines, inside red targets, not clipped. */
:where(a,button,input,select,textarea):focus-visible { outline:2px solid #ff8b9d; outline-offset:4px; }
.site-header :where(a):focus-visible,
.skip:focus-visible { outline:2px solid #101013;outline-offset:3px; }
/* Inset box-shadow draws a continuous full rectangle within both CTA shapes.
   No clip-path on the focusable red button: polygon clipping cuts corners. */
.nav-cta:focus-visible, .btn-red:focus-visible {
  outline:none !important;
  box-shadow:inset 0 0 0 4px #c8102e,inset 0 0 0 6px #fff !important;
}
.btn-red { clip-path:none; border-radius:0; }
.btn-red:focus-visible { box-shadow:inset 0 0 0 3px #c8102e,inset 0 0 0 5px #fff !important; }
/* Clear light-on-dark focus for navigation at every breakpoint */
.hero a:focus-visible, .contact a:focus-visible { outline-color:#ff8b9d; }
/* Reduced motion and narrow screen presentation */
@media(max-width:760px){
  .services { background:#111216; }
  .service-list {grid-template-columns:1fr;gap:16px;}
  .about-list {grid-template-columns:1fr;gap:16px;}
  .about-item {padding:22px;}
  .service-text > p:last-child,.about-item dd {color:#d1d4db;}
}
/* FOCUS-01 (rc2): forced colors drop box-shadow, so draw a system-color outline inside both red CTAs. */
@media (forced-colors:active){
  .nav-cta:focus-visible, .btn-red:focus-visible { outline:3px solid CanvasText !important; outline-offset:-6px !important; }
}

/* rc4: text-only hero and approved contact links */
.hero-graphic {
  min-width: 0;
  margin-left: 0;
  padding: clamp(32px, 6vw, 96px) clamp(18px, 4vw, 56px);
  border-left: 4px solid #c8102e;
  background: linear-gradient(130deg, #1b1d22, #120d11);
  color: #fff;
}
.hero-graphic span {
  display: block;
  font: 700 .8rem var(--mono);
  letter-spacing: .16em;
  color: #ff8b9d;
}
.hero-graphic strong {
  font: 800 clamp(1.25rem, 3.4vw, 3.8rem) var(--display);
  letter-spacing: .04em;
}
.contact-methods {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: #fff;
}
.contact-methods a {
  display: block;
  min-height: 44px;
  padding: 9px 8px;
  overflow-wrap: anywhere;
  text-underline-offset: .2em;
}
.contact-methods span {
  display: block;
  font-weight: 700;
}
.contact-methods a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}
@media (forced-colors:active) {
  .contact-methods a:focus-visible { outline-color: CanvasText; }
}

/* CASE-017 private photo design study */
.photo-preview-bar {
  position: relative;
  background: #1e2025;
  border-bottom: 1px solid #40424a;
  color: #eff0f3;
  padding: 7px 20px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .04em;
}
.hero.hero-photo-study {
  isolation: isolate;
  align-content: center;
  background: #090a0c;
  grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
  grid-template-areas: "head ." "body .";
  min-height: clamp(550px, 44vw, 900px);
  padding: 56px 0 65px max(48px, calc((100% - 1440px) / 2 + 48px));
}
.hero-photo-study .hero-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  max-width: 2000px;
  margin-inline: auto;
}
.hero-photo-study .hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 52%;
}
.hero-photo-study .hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #090a0cbb 0%, #090a0c66 23%, transparent 42%);
  pointer-events: none;
}
.hero-photo-study .hero-sub { max-width: 23em; }
.service .photo-study-image {
  aspect-ratio: 8 / 5;
  background: #131418;
  border-bottom: 3px solid #c8102e;
  overflow: hidden;
}
.photo-study-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services .eyebrow { color: #ff526b; }
.services .section-lead .photo-study-note {
  color: #b9bdc6;
  font-size: .82rem;
  margin-top: .4rem;
}
.service:hover { transform: none; }
@media (max-width: 1000px) {
  .hero.hero-photo-study {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "visual" "body";
    min-height: 0;
    padding: 40px 0 48px;
    row-gap: 20px;
  }
  .hero-photo-study .hero-head,
  .hero-photo-study .hero-body { padding-inline: 28px; }
  .hero-photo-study .hero-photo {
    grid-area: visual;
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .hero-photo-study .hero-photo::after { content: none; }
}
@media (max-width: 600px) {
  .hero-photo-study .hero-head,
  .hero-photo-study .hero-body { padding-inline: 20px; }
  .hero-photo-study .hero-photo { aspect-ratio: 13 / 10; }
}

/* Detail link on the consultation card. */
.services .service-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: .6em;
  min-height: 44px;
  margin-top: .45em;
  color: #fff;
  font-weight: 750;
  text-underline-offset: .22em;
}
.services .service-link:hover { color: #ffacba; }
.services .service-link:focus-visible { outline: 3px solid #ff9baa; outline-offset: 3px; }
@media (forced-colors: active) {
  .services .service-link:focus-visible { outline-color: CanvasText; }
}

/* CASE-017 service entry update: business-first guidance. */
.service-promise{margin-top:40px;padding:28px 32px;background:#191b20;border:1px solid #51545c;border-left:4px solid #c8102e;max-width:960px}
.service-promise h3{font-size:clamp(20px,2vw,26px);line-height:1.5;margin-top:10px}
.service-promise>p:not(.eyebrow){color:#d1d4db;font-size:15px;line-height:1.9;margin-top:12px}
@media(max-width:760px){.service-promise{padding:24px 22px;margin-top:28px}.service-promise>p:not(.eyebrow){font-size:14px}}

/* CASE-017 lead intake v5 - imagery removed pending per-asset rights approval */
.hero.hero-leads{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "body";min-height:470px;gap:12px;padding:74px max(26px,calc((100% - 1300px)/2 + 40px)) 70px;background:radial-gradient(ellipse at 80% 12%,#36121b,transparent 48%),linear-gradient(135deg,#08090b,#171b21);}
.hero-leads .hero-head,.hero-leads .hero-body{max-width:100%;}
.hero-leads .hero-brand{font-size:clamp(29px,5vw,68px);}
.hero-leads .hero-sub{max-width:44em;}
.service .service-text{padding-top:16px;}
.lead-section{background:#f2f2f0;color:#171b21;padding:78px 0;}
.lead-section h2{font-size:clamp(26px,3.5vw,42px);line-height:1.3;}
.lead-intro{max-width:58em;margin:14px 0 27px;line-height:1.8;color:#41464f;}
.lead-cards{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.lead-card{min-width:0;border:1px solid #c5c7cc;background:#fff;border-top:4px solid #b8102b;padding:24px 20px 28px;display:flex;flex-direction:column;gap:12px;}
.lead-num{font-size:12px;color:#9b0c25;letter-spacing:.12em;font-weight:800;}
.lead-card h3{font-size:20px;line-height:1.5;color:#171b21;}
.lead-card p{font-size:14px;line-height:1.8;color:#454b54;flex:1;}
.lead-link{font-weight:800;font-size:14px;color:#a00b22;text-underline-offset:4px;overflow-wrap:anywhere;}
.lead-link:focus-visible{outline:3px solid #8b0921;outline-offset:3px;}
.lead-note{font-size:13px;line-height:1.8;color:#42464e;margin-top:20px;}
.lead-note-dark{color:#fff;}
@media(max-width:900px){.lead-cards{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.hero.hero-leads{min-height:0;padding:48px 26px 58px;}.lead-cards{grid-template-columns:1fr;}.lead-section{padding:50px 0;}.lead-card{padding:22px 20px;}}
