﻿.law { --accent:#263a52; --hero:url("/assets/templates/images/pc/law/law-office-hero-real.webp"); --shade:rgba(10,17,27,.68); }
.law .real-nav { background:rgba(255,255,255,.93); }
.law .nav-cta { background:#263a52; }
.law .hero-full { min-height:min(820px, calc(100svh - 136px)); }
.law-hero .hero-copy { max-width:760px; }
.law-hero .hero-copy h1 { max-width:760px; font-size:72px; letter-spacing:0; }
.law-hero .real-btn.ghost { background:rgba(255,255,255,.08); }

.law-overview {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  background:#d8dde3;
  border-top:1px solid #d8dde3;
  border-bottom:1px solid #d8dde3;
}
.law-overview div { padding:32px 7vw; background:#fff; }
.law-overview b { display:block; margin-bottom:8px; color:#263a52; font-size:24px; }
.law-overview p { margin-bottom:0; color:#596571; font-size:14px; line-height:1.7; font-weight:700; overflow-wrap:anywhere; }

.law-practice { background:#f5f6f8; }
.law-practice .section-title p { max-width:460px; margin-bottom:0; }
.law-practice-grid {
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:22px;
}
.law-practice-main,
.law-practice-card {
  position:relative;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(38,58,82,.14);
}
.law-practice-main { min-height:620px; grid-row:span 2; }
.law-practice-main picture,
.law-practice-card picture,
.law-strategy-photo picture,
.law-process-photo picture { display:block; width:100%; height:100%; }
.law-practice-main img { width:100%; height:100%; min-height:620px; object-fit:cover; }
.law-practice-main > div {
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  padding:24px;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(16px);
}
.law-practice-main span,
.law-strategy-copy span,
.law-contact-copy span {
  display:block;
  margin-bottom:12px;
  color:#b08a4f;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
.law-practice-main h3,
.law-practice-card h3 { margin-bottom:10px; font-size:24px; }
.law-practice-main p,
.law-practice-card p { margin-bottom:0; font-size:14px; }
.law-practice-card img { width:100%; height:260px; object-fit:cover; }
.law-practice-card h3,
.law-practice-card p { padding:0 24px; }
.law-practice-card h3 { margin-top:22px; }
.law-practice-card p { padding-bottom:24px; }

.law-strategy {
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:34px;
  align-items:center;
  padding:72px 7vw;
  background:#111a25;
  color:#fff;
}
.law-strategy h2,
.law-contact-copy h2 { margin-bottom:18px; font-size:42px; line-height:1.15; }
.law-strategy p { color:rgba(255,255,255,.72); }
.law-strategy ul { margin:28px 0 0; padding:0; list-style:none; }
.law-strategy li { padding:14px 0 14px 28px; color:rgba(255,255,255,.84); border-top:1px solid rgba(255,255,255,.12); position:relative; }
.law-strategy li::before { content:""; position:absolute; left:0; top:23px; width:9px; height:9px; background:#b08a4f; }
.law-strategy-photo { position:relative; min-height:430px; }
.law-strategy-photo img { width:100%; height:430px; object-fit:cover; border:1px solid rgba(255,255,255,.12); }
.law-tags {
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:16px;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(12px);
}
.law-tags b { margin-right:6px; color:#263a52; }
.law-tags span { padding:7px 10px; color:#475461; background:#eef1f4; font-size:12px; font-weight:800; }

.law-process { background:#fff; }
.law-process .section-title p { max-width:430px; margin-bottom:0; }
.law-process-row { display:grid; grid-template-columns:1fr 1fr; gap:22px; align-items:stretch; }
.law-process-photo img { width:100%; height:100%; min-height:540px; object-fit:cover; }
.law-steps {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:#d8dde3;
}
.law-steps div { padding:34px 28px; background:#f5f6f8; }
.law-steps b { display:block; margin-bottom:22px; color:#263a52; font-size:13px; }
.law-steps h3 { margin-bottom:10px; font-size:22px; }
.law-steps p { margin-bottom:0; font-size:14px; }

.law-contact {
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  padding:72px 7vw;
  overflow:hidden;
  color:#fff;
}
.law-contact::before { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,rgba(10,17,27,.9),rgba(10,17,27,.6),rgba(10,17,27,.16)); }
.law-contact picture { position:absolute; inset:0; width:100%; height:100%; }
.law-contact img { width:100%; height:100%; object-fit:cover; }
.law-contact-copy { position:relative; z-index:2; max-width:560px; }
.law-contact-copy p { color:rgba(255,255,255,.78); }
html.js-ready body.law .reveal { opacity:1; transform:none; }

@media (max-width: 1080px) {
.law-hero .hero-copy h1 { font-size:58px; }
  .law-practice-grid,
  .law-strategy,
  .law-process-row { grid-template-columns:1fr; }
  .law-practice-main,
  .law-practice-main img { min-height:480px; }
  .law-process-photo img { min-height:420px; }
}

@media (max-width: 720px) {
.law { --hero:url("/assets/templates/images/mobile/law/law-office-hero-real.webp"); }
  .law .real-nav { background:rgba(255,255,255,.94); }
  .law .hero-full {
    min-height:min(760px, calc(100svh - 64px));
    padding-top:74px;
    padding-bottom:30px;
    background-position:58% bottom;
  }
  .law .hero-full::before { background:linear-gradient(180deg,rgba(10,17,27,.84),rgba(10,17,27,.48) 58%,rgba(10,17,27,.9)); }
  .law-hero .hero-copy { max-width:340px; }
  .law-hero .hero-copy .kicker { margin-bottom:14px; font-size:13px; line-height:1.5; }
  .law-hero .hero-copy h1 { max-width:330px; margin-bottom:18px; font-size:33px; line-height:1.12; word-break:normal; }
  .law-hero .hero-copy .lead { max-width:330px; font-size:16px; line-height:1.62; }
  .law-hero .hero-points { margin-top:20px; gap:10px 14px; }
  .law-hero .hero-actions { max-width:320px; gap:10px; margin-top:24px; }
  .law-hero .real-btn { flex:1 1 100%; width:100%; min-height:46px; padding:0 14px; font-size:14px; }
  .law-overview { grid-template-columns:1fr; }
  .law-overview div { min-width:0; padding:22px 20px; }
  .law-overview b { font-size:21px; }
  .law-overview p { width:100%; max-width:310px; word-break:break-all; overflow-wrap:anywhere; }
  .law-practice .section-title p,
  .law-process .section-title p { max-width:330px; word-break:break-all; overflow-wrap:anywhere; }
  .law-practice-grid { grid-template-columns:1fr; gap:18px; }
  .law-practice-main { min-height:auto; grid-row:auto; }
  .law-practice-main picture,
  .law-practice-card picture { height:auto; }
  .law-practice-main img,
  .law-practice-card img { min-height:0; height:auto; aspect-ratio:1.18 / 1; object-fit:cover; }
  .law-practice-main > div {
    position:static;
    padding:20px;
    background:#fff;
    backdrop-filter:none;
  }
  .law-practice-card h3,
  .law-practice-card p { padding:0 20px; }
  .law-practice-card h3 { margin-top:20px; }
  .law-practice-card p { padding-bottom:20px; }
  .law-strategy { grid-template-columns:1fr; gap:22px; padding:52px 20px; }
  .law-strategy h2,
  .law-contact-copy h2 { font-size:32px; }
  .law-strategy-photo,
  .law-strategy-photo img { min-height:0; height:auto; }
  .law-strategy-photo img { aspect-ratio:1.15 / 1; object-fit:cover; }
  .law-tags { position:static; margin-top:10px; padding:14px; }
  .law-process-row { grid-template-columns:1fr; gap:18px; }
  .law-process-photo picture { height:auto; }
  .law-process-photo img { min-height:0; height:auto; aspect-ratio:1.18 / 1; object-fit:cover; }
  .law-steps { grid-template-columns:1fr; }
  .law-steps div { padding:24px 20px; }
  .law-contact { min-height:520px; padding:48px 20px 92px; align-items:flex-end; }
  .law-contact::before { background:linear-gradient(180deg,rgba(10,17,27,.26),rgba(10,17,27,.92)); }
html.js-ready body.law .reveal { opacity:1; transform:none; }
}

/* 2026-06-04 structure pass: matter desk */
.law-overview {
  grid-template-columns: 280px 1fr 1fr;
  background: #263a52;
}
.law-overview div:first-child {
  background: #263a52;
  color: #fff;
}
.law-overview div:first-child b,
.law-overview div:first-child p { color: #fff; }
.law-practice-grid {
  grid-template-columns: .72fr 1.28fr;
}
.law-practice-main {
  grid-row: span 3;
}
.law-practice-card {
  min-height: 190px;
  border-left: 6px solid #b79a65;
}
.law-strategy {
  grid-template-columns: 1.25fr .75fr;
}
.law-steps {
  grid-template-columns: 1fr;
  border-left: 1px solid #d8dee6;
}
.law-steps div {
  display: grid;
  grid-template-columns: 56px 170px 1fr;
  gap: 18px;
}

@media (max-width:720px) {
  .law-overview,
  .law-practice-grid,
  .law-strategy { grid-template-columns: 1fr; }
  .law-steps div { grid-template-columns: 1fr; gap: 8px; }
}

/* 2026-06-04 premium hero tuning */
.law {
  --nav-ink: #fff;
  --nav-cta-bg: #080808;
  --hero-pos: 66% center;
  --hero-mobile-pos: 58% center;
  --hero-overlay: linear-gradient(90deg,rgba(12,16,22,.82),rgba(12,16,22,.28) 50%,rgba(12,16,22,.04));
  --hero-mobile-overlay: linear-gradient(180deg,rgba(0,0,0,.72),rgba(0,0,0,.30) 56%,rgba(0,0,0,.82));
  --hero-title-size: 70px;
  --hero-mobile-title-size: 38px;
  --hero-copy-width: 620px;
  --hero-title-width: 720px;
  --hero-lead-width: 520px;
  --hero-btn-bg: #080808;
}
.law .real-nav {
  position: absolute;
  width: 100%;
  color: var(--nav-ink);
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}
.law .hero-full {
  min-height: min(790px, 100svh);
  padding: 138px 8vw 86px;
  background-position: var(--hero-pos);
}
.law .hero-full::before { background: var(--hero-overlay); }
.law-hero .hero-copy h1 {
  max-width: var(--hero-title-width);
  font-family: var(--serif);
  font-size: var(--hero-title-size);
  line-height: .98;
  font-weight: 400;
  letter-spacing: 0;
}
.law-hero .hero-copy .lead {
  max-width: var(--hero-lead-width);
  font-size: 21px;
  line-height: 1.62;
}
.law-hero .real-btn { background: var(--hero-btn-bg); }
.law-hero .real-btn.ghost {
  color: currentColor;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.48);
}
@media (max-width:720px) {
  .law .real-nav { background: linear-gradient(180deg,rgba(0,0,0,.34),transparent); }
  .law .hero-full {
    min-height: min(700px, 100svh);
    padding: 96px 20px 44px;
    background-position: var(--hero-mobile-pos);
  }
  .law .hero-full::before { background: var(--hero-mobile-overlay); }
  .law-hero .hero-copy h1 {
    max-width: 330px;
    font-size: var(--hero-mobile-title-size);
    line-height: 1.05;
    word-break: normal;
  }
  .law-hero .hero-copy .lead {
    max-width: 330px;
    font-size: 16px;
  }
}
/* 2026-06-04 real hero source + whitespace */
.law {
  --hero: url("/assets/templates/images/pc/law/real-law-hero.webp");
  --nav-ink: #fff;
  --nav-cta-bg: #101318;
  --hero-text: #fff;
  --hero-muted: rgba(255,255,255,.82);
  --hero-pos: 66% center;
  --hero-mobile-pos: 58% center;
  --hero-overlay: linear-gradient(90deg,rgba(10,17,27,.78),rgba(10,17,27,.32) 45%,rgba(10,17,27,.04));
  --hero-mobile-overlay: linear-gradient(180deg,rgba(10,17,27,.82),rgba(10,17,27,.42) 58%,rgba(10,17,27,.82));
  --hero-title-size: 60px;
  --hero-mobile-title-size: 34px;
  --hero-copy-width: 540px;
  --hero-title-width: 610px;
  --hero-lead-width: 500px;
  --hero-btn-bg: #101318;
}
.law .real-nav {
  color: var(--nav-ink);
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}
.law .hero-full {
  background-position: var(--hero-pos);
}
.law .hero-full::before {
  background: var(--hero-overlay);
}
@media (max-width: 720px) {
  .law {
    --hero: url("/assets/templates/images/mobile/law/real-law-hero.webp");
    --mobile-nav-ink: var(--nav-ink);
  }
  .law .hero-full {
    background-position: var(--hero-mobile-pos);
  }
  .law .hero-full::before {
    background: var(--hero-mobile-overlay);
  }
}
/* end 2026-06-04 real hero source + whitespace */
