/* A narrower editorial frame and quieter hierarchy across the LawAstra site. */
body.la4-site main [id] { scroll-margin-top:90px; }
body.la4-site .la4-shell,
body.la4-site .la6-shell,
body.la4-site .la8-explorer-shell,
body.la4-site .la3-wrap { width:min(calc(100% - 96px),1160px); }
body.la4-site .la3-header .la3-wrap { width:min(calc(100% - 48px),1240px); }
body.la4-site .la3-header-inner { gap:22px; }
body.la4-site .la3-nav { gap:17px; }
body.la4-site .la3-nav > a,
body.la4-site .la3-nav > details > summary { font-size:12px; }
body.la4-site .la3-header-actions { gap:12px; }
body.la4-site .la3-mega-panel { border-radius:14px; box-shadow:0 18px 44px rgba(15,31,74,.08); }
body.la4-site .la3-mega-panel a:not(.la3-mega-feature) { border-radius:5px; }
body.la4-site .la3-mega-panel a:not(.la3-mega-feature):hover { background:#f6f7fb; }

/* The command field and destination have room to breathe without nested frames. */
body.la4-site .la4-hero { padding:44px 0 46px; background:#f6f7fb; }
body.la4-site .la4-hero-grid { grid-template-columns:1fr 1fr; gap:54px; align-items:center; }
body.la4-site .la4-hero-copy { min-height:0; padding:16px 0; overflow:visible; border:0; border-radius:0; background:none; box-shadow:none; }
body.la4-site .la4-hero-copy::after { display:none; }
body.la4-site .la4-overline { font-size:9px; font-weight:500; letter-spacing:.09em; }
body.la4-site .la4-hero h1 { margin:24px 0 0; font-size:clamp(34px,3.1vw,44px); font-weight:500; line-height:1.14; }
body.la4-site .la4-brief { margin-top:29px; border-radius:13px; box-shadow:0 9px 25px rgba(15,31,74,.035); }
body.la4-site .la4-brief > label { padding:18px 19px 0; font-size:13px; font-weight:500; }
body.la4-site .la4-brief textarea { min-height:93px; padding:12px 19px; font-size:13px; }
body.la4-site .la4-brief-bottom { margin-inline:15px; }
body.la4-site .la4-brief-bottom > span { max-width:14ch; font-size:10px; }
body.la4-site .la4-brief-actions button { font-size:12px; font-weight:500; }
body.la4-site .la4-hero-stage { min-height:492px; border-radius:18px; box-shadow:0 16px 30px rgba(15,31,74,.09); }
body.la4-site .la4-path-header { padding:27px 30px 23px; font-size:9px; }
body.la4-site .la4-path-tabs { width:calc(100% - 60px); padding:5px; border-radius:12px; }
body.la4-site .la4-path-tabs button { min-height:46px; border-radius:8px; font-size:15px; }
body.la4-site .la4-path-panel { padding:0 30px 27px; }
body.la4-site .la4-path-art { min-height:210px; max-height:240px; }
body.la4-site .la4-path-orbit-one { width:200px; height:200px; }
body.la4-site .la4-path-orbit-two { width:280px; height:280px; }
body.la4-site .la4-path-core { width:122px; height:122px; border-radius:26px; }
body.la4-site .la4-path-core svg { width:55px; height:55px; }
body.la4-site .la4-path-destination { gap:20px; }
body.la4-site .la4-path-destination h2 { font-size:25px; }
body.la4-site .la4-path-destination > a { padding:11px 14px; font-size:11px; }
body.la4-site .la4-prompt-row button { min-height:32px; background:transparent; }
body.la4-site .la4-hero-disclosure { margin-top:14px; font-size:10px; }

/* A continuous photo collection replaces an uneven block of repeated cards. */
body.la4-site .la5-workflow-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:24px 18px; }
.la10-gallery .la5-workflow-grid { display:flex; gap:18px; overflow-x:auto; padding:1px 1px 14px; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#c7cfe6 transparent; }
.la10-gallery .la5-workflow-card { flex:0 0 calc((100% - 90px)/6); scroll-snap-align:start; border-bottom:0; padding-bottom:0; }
body.la4-site .la5-workflow-image { height:158px; border-radius:9px; }
body.la4-site .la5-workflow-name h3 { font-size:14px; font-weight:500; }
body.la4-site .la5-desktop-title em,body.la4-site .la5-mobile-title em { font-style:normal; color:#9a6b20; }
body.la4-site .la5-workflow-name { min-height:53px; border-bottom:1px solid #e3e6f0; padding:12px 0; gap:7px; }
body.la4-site .la5-workflow-name b { font-size:17px; }
.la10-card-label { display:block; padding-top:10px; color:#586582; font-size:8px; letter-spacing:.035em; line-height:1.4; }
.la10-hero-product .la10-card-label { color:#9a6b20; }
.la10-gallery .la5-workflow-image > span { width:30px; height:30px; left:10px; bottom:10px; }
.la10-gallery .la5-workflow-image > span svg { width:16px; height:16px; }
.la10-gallery .la5-filter-row { flex-wrap:wrap; }
.la10-gallery .la5-filter-row button { font-size:12px; padding:10px 14px; }
.la10-gallery .la5-workflow-image > span { border-radius:50%; }
.la10-gallery-controls { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:14px; padding-top:14px; }
.la10-gallery-controls > span { color:#4a5578; font-size:10px; }
.la10-gallery-controls > div { display:flex; gap:8px; }
.la10-gallery-controls button { display:grid; place-items:center; min-width:40px; min-height:40px; padding:0; border:1px solid #dce2ee; border-radius:50%; background:#fff; color:#0f1f4a; font-size:18px; cursor:pointer; }
.la10-gallery-controls button:disabled { color:#b5bfd2; cursor:default; }
.la10-gallery-controls button:hover:not(:disabled) { border-color:#9a6b20; background:#fbf7ed; }
.la10-gallery-controls button:focus-visible,.la10-gallery [data-la10-rail]:focus-visible { outline:2px solid #9a6b20; outline-offset:4px; }
.la10-gallery .la5-workflow-caption { margin-top:15px; }

/* More editorial contrast: photo features, source rail and a compact sector index. */
body.la4-site .la5-lpo-photo { min-height:414px; border-radius:10px; }
body.la4-site .la5-lpo-grid { gap:64px; }
body.la4-site .la10-lpo-intro { max-width:36ch; margin:18px 0 0; color:#4a5578; font-size:14px; line-height:1.7; }
body.la4-site .la5-lpo-accordion details { border-radius:0; border:0; border-bottom:1px solid #d8deeb; background:transparent; }
body.la4-site .la5-lpo-accordion summary { padding-inline:0; }
body.la4-site .la5-lpo-accordion p { padding-left:25px; }
body.la4-site .la4-industry-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:0; border-block:1px solid #dce2ee; }
body.la4-site .la4-industry-grid a { position:relative; flex-direction:column; align-items:flex-start; justify-content:center; gap:15px; min-height:130px; padding:21px 17px; border:0; border-radius:0; background:transparent; font-size:12px; line-height:1.4; }
body.la4-site .la4-industry-grid a + a { border-left:1px solid #dce2ee; }
body.la4-site .la4-industry-grid a:hover { background:#f6f7fb; transform:none; }
body.la4-site .la4-industry-grid a > i { width:26px; height:26px; border:0; background:transparent; color:#9a6b20; }
body.la4-site .la4-industry-grid a > span { position:absolute; top:23px; right:15px; font-size:15px; color:#7180a5; }
body.la4-site .la4-reading-grid { gap:24px; }
body.la4-site .la4-reading-grid a { border-radius:10px; }
body.la4-site .la4-reading-grid a strong { font-size:18px; font-weight:500; }
body.la4-site .la4-reading-grid a:first-child strong { font-size:23px; }
body.la4-site .la6-showcase-stage { border-radius:12px; border-inline:0; background:#f6f7fb; }
body.la4-site .la6-app-frame { border-radius:12px; box-shadow:0 10px 25px rgba(15,31,74,.035); }
body.la4-site .la8-product-photo { height:100%; object-fit:cover; }
body.la4-site .la7-package { border-radius:12px; box-shadow:none; }
body.la4-site .la7-price { font-size:38px; }
body.la4-site .la7-package-head { gap:12px; }
body.la4-site .la7-package-number { display:none; }
body.la4-site .la3-detail-hero { padding-block:56px; }
body.la4-site .la3-detail-hero-grid { gap:64px; }
body.la4-site .la3-detail-hero h1 { font-size:clamp(30px,3vw,42px); }
body.la4-site .la3-detail-intro > p { font-size:15px; max-width:39ch; }
body.la4-site .la3-ui { border-radius:12px; box-shadow:none; }
body.la4-site .la3-work-grid { gap:40px; }
body.la4-site .la3-collection-hero { padding-block:59px; }
body.la4-site .la3-collection-hero h1 { font-size:40px; }
body.la4-site .la10-editorial-hero { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:64px; }
body.la4-site .la10-editorial-hero h1 { font-size:38px; }
body.la4-site .la10-editorial-hero p { max-width:42ch; font-size:14px; line-height:1.8; }
.la10-editorial-photo { position:relative; height:292px; margin:0; overflow:hidden; border-radius:12px; }
body.la4-site .la10-editorial-photo img { width:100%; height:100%; object-fit:cover; }
.la10-editorial-photo figcaption { position:absolute; bottom:18px; left:18px; right:18px; display:flex; align-items:center; justify-content:center; gap:14px; padding:13px 15px; border:1px solid #fff; border-radius:8px; background:rgba(255,255,255,.96); color:#0f1f4a; font-size:11px; }
.la10-editorial-photo figcaption span { color:#9a6b20; }
body.la4-site .la3-editorial > article,body.la4-site .la3-editorial > div { max-width:70ch; }
body.la4-site .la3-editorial > nav { align-self:start; }
body.la4-site .la3-editorial p { line-height:1.85; }

@media(max-width:1180px) and (min-width:981px) {
  body.la4-site .la3-header-inner { gap:13px; }
  body.la4-site .la3-nav { gap:13px; }
  body.la4-site .la3-header-actions a.la3-login { display:none; }
  body.la4-site .la3-header-actions .la3-call { width:32px; }
  body.la4-site .la3-header-actions .la3-call > span { display:none; }
}
@media(max-width:980px) {
  body.la4-site .la4-shell,body.la4-site .la6-shell,body.la4-site .la8-explorer-shell,body.la4-site .la3-wrap { width:calc(100% - 56px); }
  body.la4-site .la3-header .la3-wrap { width:calc(100% - 44px); }
  body.la4-site .la4-hero-grid { gap:28px; }
  body.la4-site .la4-path-destination { grid-template-columns:1fr; align-items:start; gap:13px; }
  body.la4-site .la4-path-destination > a { justify-self:start; }
  body.la4-site .la4-industry-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  body.la4-site .la4-industry-grid a:nth-child(4) { border-left:0; }
  body.la4-site .la4-industry-grid a:nth-child(n+4) { border-top:1px solid #dce2ee; }
  .la10-gallery .la5-workflow-card { flex-basis:calc((100% - 44px)/3); }
  body.la4-site .la5-workflow-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:780px) {
  body.la4-site .la4-hero-grid { grid-template-columns:1fr; }
  body.la4-site .la4-hero-copy { padding:0; }
  body.la4-site .la4-hero-stage { min-height:450px; }
  body.la4-site .la5-lpo-grid { gap:28px; }
  body.la4-site .la3-detail-hero-grid { gap:32px; }
  body.la4-site .la10-editorial-hero { grid-template-columns:1fr; gap:28px; }
  .la10-gallery .la5-workflow-card { flex-basis:calc((100% - 22px)/2); }
  body.la4-site .la5-workflow-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  body.la4-site .la4-shell,body.la4-site .la6-shell,body.la4-site .la8-explorer-shell,body.la4-site .la3-wrap { width:calc(100% - 40px); }
  body.la4-site .la3-header .la3-wrap { width:calc(100% - 40px); }
  body.la4-site .la3-nav { display:none; }
  body.la4-site .la3-nav.is-open { display:block; }
  body.la4-site .la3-nav > a,body.la4-site .la3-nav > details > summary { font-size:14px; }
  body.la4-site .la4-hero { padding:27px 0 33px; }
  body.la4-site .la4-hero h1 { font-size:clamp(25px,6.8vw,31px); margin-top:19px; }
  body.la4-site .la4-overline { font-size:8px; letter-spacing:.05em; }
  body.la4-site .la4-brief { margin-top:22px; }
  body.la4-site .la4-brief textarea { min-height:76px; font-size:12px; }
  body.la4-site .la4-brief > label { font-size:12px; }
  body.la4-site .la4-brief-bottom > span { max-width:none; }
  body.la4-site .la4-hero-stage { min-height:392px; }
  body.la4-site .la4-path-header { padding:22px 20px 18px; font-size:8px; }
  body.la4-site .la4-path-tabs { width:calc(100% - 40px); }
  body.la4-site .la4-path-tabs button { min-height:41px; font-size:13px; }
  body.la4-site .la4-path-panel { padding:0 20px 22px; }
  body.la4-site .la4-path-art { min-height:173px; max-height:186px; }
  body.la4-site .la4-path-destination h2 { font-size:26px; }
  body.la4-site .la4-path-destination { grid-template-columns:1fr; gap:9px; }
  body.la4-site .la4-path-destination > a { padding:9px 12px; }
  body.la4-site .la4-prompt-row button { font-size:11px; }
  body.la4-site .la4-hero-disclosure { font-size:9px; }
  body.la4-site .la3-detail-hero { padding-block:34px; }
  body.la4-site .la3-detail-hero h1,body.la4-site .la3-collection-hero h1 { font-size:26px; line-height:1.18; }
  body.la4-site .la3-detail-intro > p { font-size:13px; }
  body.la4-site .la3-collection-hero { padding-block:37px; }
  body.la4-site .la10-editorial-hero h1 { font-size:26px; }
  body.la4-site .la10-editorial-hero p { font-size:13px; }
  .la10-editorial-photo { height:210px; }
  body.la4-site .la5-lpo-photo { min-height:290px; }
  body.la4-site .la10-lpo-intro { margin-top:15px; font-size:12px; }
  body.la4-site .la4-industry-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.la4-site .la4-industry-grid a { flex-direction:row; justify-content:flex-start; align-items:center; gap:11px; min-height:79px; padding:14px 8px; font-size:11px; }
  body.la4-site .la4-industry-grid a > i { width:21px; height:21px; flex-shrink:0; }
  body.la4-site .la4-industry-grid a > span { display:none; }
  body.la4-site .la4-industry-grid a:nth-child(odd) { border-left:0; }
  body.la4-site .la4-industry-grid a:nth-child(even) { border-left:1px solid #dce2ee; }
  body.la4-site .la4-industry-grid a:nth-child(n+3) { border-top:1px solid #dce2ee; }
  .la10-gallery .la5-workflow-grid { gap:15px; }
  .la10-gallery .la5-workflow-card { flex-basis:79%; }
  body.la4-site .la10-gallery .la5-workflow-image { height:208px; }
  body.la4-site .la5-workflow-image { height:134px; }
  body.la4-site .la5-workflow-name h3 { font-size:13px; }
  body.la4-site .la10-gallery .la5-workflow-name h3 { font-size:15px; }
  .la10-gallery .la5-workflow-name { min-height:53px; }
  .la10-gallery-controls { margin-top:6px; padding-top:8px; }
  .la10-gallery-controls > span { font-size:9px; }
  .la10-gallery .la5-workflow-caption > span { font-size:9px; }
  .la10-gallery .la5-filter-row { display:flex; flex-wrap:nowrap; overflow-x:auto; padding-bottom:9px; scrollbar-width:none; }
  .la10-gallery .la5-filter-row button { flex-shrink:0; padding:9px 13px; font-size:11px; }
  body.la4-site .la7-package h3 { font-size:21px; }
  body.la4-site .la7-price { font-size:33px; }
  body.la4-site .la4-reading-grid a strong { font-size:17px; }
  body.la4-site .la4-reading-grid a:first-child strong { font-size:21px; }
}
@media(prefers-reduced-motion:reduce) {
  .la10-gallery [data-la10-rail] { scroll-behavior:auto; }
}
@media(max-width:360px) {
  body.la4-site .la5-workflow-name h3 { font-size:11px; }
  body.la4-site .la10-gallery .la5-workflow-name h3 { font-size:15px; }
}
