/* =========================================================
   Putra, Daniel & Partners — Mockup stylesheet
   Design tokens: docs/03-client-feedback-and-asset-analysis.md §4
   ========================================================= */
:root {
  --brand-950: #012623;
  --brand-900: #02342f;
  --brand-800: #024a40;
  --brand-700: #025d55;
  --brand-600: #00704f;
  --brand-500: #007665;
  --brand-400: #348671;
  --accent-400: #00c485;
  --accent-300: #02cb95;
  --cyan-400: #2fe8d3;
  --cyan-500: #00dcd2;
  --mint-100: #cff8ef;
  --mint-50: #dffbf6;
  --grey-100: #e4e4ea;
  --grey-50: #eff0f4;
  --paper: #f3f0f2;
  --warm-100: #efe9eb;
  --neutral-400: #a9a6a6;
  --ink: #111816;
  --ink-soft: #3d4643;
  --danger: #e53935;
  --white: #fff;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --radius: 4px;
  --header-h: 72px;
  --shadow: 0 10px 30px rgba(1, 38, 35, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.accent { color: var(--cyan-400); }
.accent-strong { color: var(--cyan-500); }
.accent-dark { color: #0a9c8a; }
.icon-arrow { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .8em 1.5em; font-weight: 600; font-size: .95rem; text-decoration: none; border: 0; border-radius: 2px; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.btn-cyan { background: var(--cyan-400); color: var(--brand-950); }
.btn-white { background: #fff; color: var(--brand-950); }
.btn-green { background: linear-gradient(120deg, var(--brand-900), var(--brand-600)); color: #fff; }
.btn-outline { display: inline-flex; align-items: center; gap: .6em; padding: .75em 1.3em; border: 1.5px solid var(--cyan-400); color: #fff; text-decoration: none; font-weight: 600; border-radius: 3px; transition: background .15s; }
.btn-outline:hover { background: rgba(47, 232, 211, .12); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; color: var(--brand-600); font-weight: 500; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.text-link { color: var(--brand-600); text-decoration: none; font-weight: 500; font-size: 1.05rem; background: none; border: 0; padding: 0; cursor: pointer; }
.text-link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: background .25s, box-shadow .25s; }
.site-header.scrolled, .site-header.nav-open { background: var(--brand-950); box-shadow: 0 2px 16px rgba(0, 0, 0, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 22px; width: auto; }
.logo .logo-dark { display: none; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { color: #fff; text-decoration: none; font-size: .74rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.main-nav ul a:hover { border-bottom-color: rgba(47, 232, 211, .5); }
.main-nav ul a.active { border-bottom-color: var(--cyan-400); font-weight: 600; }
.lang-switch { display: flex; align-items: center; gap: 4px; color: rgba(255, 255, 255, .6); font-size: .74rem; }
.lang-switch button { background: none; border: 0; color: rgba(255, 255, 255, .6); font-size: .74rem; font-weight: 500; cursor: pointer; padding: 4px 2px; letter-spacing: .06em; }
.lang-switch button.on { color: #fff; font-weight: 700; }
.btn-contact { color: #fff; text-decoration: none; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border: 1.5px solid #fff; padding: 7px 14px; border-radius: 3px; white-space: nowrap; }
.btn-contact:hover, .btn-contact.active { background: #fff; color: var(--brand-950); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* light header (Client Area) */
.site-header.is-light { background: rgba(239, 240, 244, .96); }
.site-header.is-light.scrolled { background: var(--grey-50); box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.is-light .logo .logo-white { display: none; }
.is-light .logo .logo-dark { display: block; }
.is-light .main-nav ul a, .is-light .btn-contact { color: var(--ink); }
.is-light .btn-contact { border-color: var(--ink); }
.is-light .btn-contact:hover { background: var(--ink); color: #fff; }
.is-light .lang-switch, .is-light .lang-switch button { color: #7a8381; }
.is-light .lang-switch button.on { color: var(--ink); }
.is-light .nav-toggle span { background: var(--ink); }
.is-light.nav-open { background: var(--grey-50); }

.lang-banner { position: fixed; top: var(--header-h); inset-inline: 0; z-index: 40; background: #fff8d6; color: #5a4a00; font-size: .78rem; padding: 6px 0; border-bottom: 1px solid #f0e2a0; }
.lang-banner em { color: #8a7a2a; }

/* ---------- hero (inner pages) ---------- */
.hero { position: relative; color: #fff; padding: calc(var(--header-h) + 80px) 0 110px; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 95% 110%, rgba(0, 196, 150, .85) 0%, rgba(0, 196, 150, 0) 70%),
    radial-gradient(ellipse 60% 60% at 75% 20%, rgba(4, 92, 78, .55) 0%, rgba(4, 92, 78, 0) 70%),
    linear-gradient(165deg, #011d1a 0%, #012e29 55%, #023d35 100%); }
.hero-label { font-size: 1.15rem; font-weight: 500; margin-bottom: 18px; }
.hero-label.caps { font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: var(--cyan-400); font-weight: 600; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.01em; margin: 0; }
.hero .hero-sub { font-size: 1.12rem; margin-top: 24px; max-width: 560px; color: rgba(255, 255, 255, .9); }
.intro-band { background: linear-gradient(180deg, #00806b, #007665); color: #fff; text-align: center; padding: 56px 0; }
.intro-band p { max-width: 900px; margin: 0 auto; font-size: 1.08rem; font-weight: 500; }

/* ---------- home hero ---------- */
.home-hero { min-height: 640px; display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 90px; }
.home-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.home-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.3rem); }
.home-hero .hero-sub { margin: 22px 0 34px; }
.slider { position: relative; aspect-ratio: 16 / 10.5; max-width: 470px; justify-self: end; width: 100%; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; padding: 8% 9%; background-size: cover; background-position: center; opacity: 0; transition: opacity .9s ease; box-shadow: var(--shadow); }
.slide.on { opacity: 1; }
.slide p { margin: 0; font-size: clamp(1.25rem, 2.1vw, 1.75rem); font-weight: 600; line-height: 1.25; }
.slide.tone-light p { color: #fff; }
.slide.tone-dark p { color: var(--brand-950); }
.slider-dots { position: absolute; bottom: -34px; left: 0; display: flex; gap: 8px; }
.slider-dots button { width: 26px; height: 4px; border: 0; background: rgba(255, 255, 255, .3); cursor: pointer; padding: 0; }
.slider-dots button.on { background: var(--cyan-400); }

/* ---------- home: broader perspective ---------- */
.broader { display: grid; grid-template-columns: 1fr 1fr; }
.broader-intro { background: var(--mint-50); padding: 80px max(24px, calc((100vw - var(--container)) / 2 + 24px)); padding-right: 56px; display: flex; flex-direction: column; justify-content: center; }
.broader-intro h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--brand-950); font-weight: 600; }
.broader-intro p { color: var(--ink-soft); max-width: 440px; margin: 10px 0 30px; }
.broader-intro .btn { align-self: flex-start; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; }
.service-tile { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 36px 34px; min-height: 175px; text-decoration: none; font-weight: 500; font-size: 1.02rem; line-height: 1.35; transition: filter .2s; }
.service-tile:hover { filter: brightness(1.12); }
.service-tile .icon-arrow { width: 1.4em; height: 1.4em; }
.tile-dark { background: var(--brand-800); color: #fff; }
.tile-darker { background: #01302b; color: #fff; }
.tile-teal { background: #0b5d54; color: #fff; }
.tile-mint { background: var(--mint-100); color: var(--brand-950); }

/* ---------- home: understanding change ---------- */
.change { background: linear-gradient(180deg, #01302b, #012622); color: #fff; padding: 96px 0; }
.change .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.change h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.change p { color: rgba(255, 255, 255, .85); max-width: 460px; margin-bottom: 28px; }
.update-cards { display: grid; gap: 12px; }
.update-card { display: block; padding: 26px 30px; text-decoration: none; color: var(--brand-950); transition: transform .15s; }
.update-card:hover { transform: translateX(4px); }
.update-card:nth-child(1) { background: var(--mint-100); }
.update-card:nth-child(2) { background: var(--warm-100); }
.update-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.update-card small { font-size: .82rem; color: var(--ink-soft); }

/* ---------- home: beyond the brief ---------- */
.brief { background: var(--paper); padding: 96px 0; }
.brief > .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.brief h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--brand-950); }
.brief p { color: var(--ink-soft); max-width: 400px; margin-bottom: 28px; }
.brief-grid { display: grid; grid-template-columns: 1fr 1.3fr; grid-template-rows: auto auto auto; border: 1px solid #9fc9c1; background: #9fc9c1; gap: 1px; }
.brief-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 24px 26px; text-decoration: none; min-height: 150px; }
.brief-insight { grid-row: 1 / 3; background: var(--mint-50); color: var(--brand-950); }
.brief-insight .label { font-size: 1rem; }
.brief-insight .label::after { content: ""; display: block; width: 46px; height: 4px; background: var(--cyan-500); margin: 8px 0 18px; }
.brief-insight h3 { font-size: 1.3rem; font-weight: 600; }
.brief-insight .read { display: inline-flex; gap: .5em; align-items: center; font-weight: 600; font-size: .9rem; margin-top: 18px; }
.brief-img { color: #fff; background-size: cover; background-position: center; }
.brief-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1, 30, 27, .82), rgba(1, 30, 27, .35)); }
.brief-img > * { position: relative; }
.brief-img h3 { font-size: 1.3rem; margin-bottom: 6px; }
.brief-img p { color: rgba(255, 255, 255, .9); font-size: .88rem; margin: 0; max-width: 240px; }
.brief-img .icon-arrow, .brief-social .icon-arrow { position: absolute; right: 22px; bottom: 20px; width: 1.4em; height: 1.4em; }
.brief-social { background: var(--mint-50); color: var(--brand-950); min-height: 120px; }
.brief-social h3 { font-size: 1.05rem; margin-bottom: 6px; }
.brief-social p { font-size: .82rem; color: var(--ink-soft); margin: 0; max-width: 220px; }
.brief-row { grid-column: 1 / 3; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.brief-card:hover { filter: brightness(1.04); }

/* ---------- side-label sections (About / People) ---------- */
.split { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 56px 0; }
.split-label { font-size: clamp(1.6rem, 2.4vw, 2rem); color: var(--brand-600); font-weight: 400; line-height: 1.25; }
.split-body p { font-size: 1.05rem; }
.links-row { display: flex; flex-wrap: wrap; gap: 14px 48px; margin-top: 18px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); margin: 22px 0 18px; }
.tiles div { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 100px; padding: 12px; font-size: .92rem; font-weight: 500; line-height: 1.3; }
.t-dark { background: var(--brand-900); color: #fff; }
.t-mint { background: var(--mint-100); color: var(--brand-900); }
.t-bright { background: var(--accent-300); color: var(--brand-950); }
.t-deep { background: var(--brand-800); color: #fff; }
.t-teal { background: var(--brand-700); color: #fff; }
.t-grey { background: #cfcdcd; color: var(--brand-900); }
.t-muted { background: var(--brand-400); color: #fff; }
.t-neutral { background: #8f8d8d; color: #fff; }

/* ---------- people ---------- */
.people-section { border-bottom: 1px solid #edf0ef; }
.people-list { display: grid; gap: 56px; }
.person-head { display: grid; grid-template-columns: 290px 1fr; align-items: center; background: var(--grey-100); min-height: 175px; }
.person-head img { height: 100%; width: 100%; object-fit: cover; object-position: center 20%; aspect-ratio: 3 / 2; }
.person-head h3 { font-size: 1.25rem; font-weight: 500; margin: 0 0 2px 32px; }
.person-head .role { margin: 0 0 0 32px; color: var(--brand-600); font-size: .85rem; }
.person-summary { margin: 18px 0 10px; }
.person-actions { display: flex; flex-wrap: wrap; gap: 10px 56px; }
.person-actions .text-link[aria-expanded="true"] { text-decoration: underline; }
.person-profile { overflow: hidden; max-height: 0; transition: max-height .5s ease; }
.person-profile.open { max-height: 8000px; }
.person-profile > div { padding: 22px 0 6px; }
.person-profile h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin: 26px 0 10px; }
.person-profile h5 { font-size: 1rem; font-weight: 600; margin: 18px 0 6px; color: var(--brand-800); }
.person-profile ul { padding-left: 1.2em; margin: 0 0 10px; }
.person-profile li { margin-bottom: 6px; }

/* ---------- practices ---------- */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 36px; padding: 56px 0; }
.practice-tile { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; background: #fff; border: 0; border-left: 5px solid var(--brand-600); text-align: left; font-family: inherit; font-size: .98rem; font-weight: 600; color: var(--brand-950); cursor: pointer; transition: background .2s, color .2s, border-color .2s; min-height: 78px; }
.practice-tile:hover { background: var(--mint-50); }
.practice-tile.active { background: var(--accent-300); border-left-color: var(--accent-400); color: var(--brand-950); }
.practice-tile .icon-arrow { width: 1.4em; height: 1.4em; }
.practice-details { border-top: 1px solid #e3e8e6; padding-bottom: 40px; }
.practice-details[hidden] { display: none; }
.practice-detail { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid #eef1f0; }
.practice-detail h3 { text-align: right; color: var(--brand-600); font-weight: 400; font-size: 1.15rem; line-height: 1.35; }
.practice-detail.highlight h3 { color: var(--accent-400); font-weight: 600; }
.practice-detail ul { padding-left: 1.2em; margin: 14px 0 0; }
.practice-detail li { margin-bottom: 14px; }

/* ---------- legal update ---------- */
.legal-layout { display: grid; grid-template-columns: 290px 1fr; gap: 56px; padding: 56px 0 80px; }
.legal-side h2 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #7a8582; margin-bottom: 18px; }
.legal-list { list-style: none; padding: 0; margin: 0 0 30px; }
.legal-list a { display: block; padding: 12px 0; color: var(--brand-600); text-decoration: none; font-size: .95rem; line-height: 1.4; border-bottom: 1px solid #edf1f0; }
.legal-list a:hover { color: var(--brand-900); }
.legal-list a.active { font-weight: 700; color: var(--brand-900); }
.social-mini { display: grid; gap: 12px; }
.social-mini a { position: relative; display: block; background: var(--mint-50); border: 1px solid #9fc9c1; padding: 16px 44px 16px 18px; text-decoration: none; color: var(--brand-950); }
.social-mini strong { display: block; font-size: .92rem; }
.social-mini span { font-size: .78rem; color: var(--ink-soft); }
.social-mini .icon-arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.article h1 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); color: var(--brand-800); }
.article .meta { color: var(--brand-600); margin-bottom: 22px; }
.article h3 { color: var(--brand-800); font-size: 1.2rem; margin: 30px 0 12px; }
.article h4 { color: var(--brand-800); font-size: 1.02rem; margin: 22px 0 8px; }
.article p, .article li { text-align: justify; }
.article ul { padding-left: 1.3em; }
.article li { margin-bottom: 8px; }
.placeholder-box { border: 1px dashed #b7c8c4; background: #f7faf9; padding: 26px; color: var(--ink-soft); }

/* ---------- insights ---------- */
.insight-feature { display: grid; grid-template-columns: 1fr .82fr; gap: 48px; padding: 44px 0 70px; }
.insight-feature .date { color: var(--brand-600); font-size: 1.1rem; }
.insight-feature h2 { color: var(--brand-600); font-size: 1.35rem; font-weight: 700; margin: 14px 0 22px; }
.insight-feature h2 a { text-decoration: none; }
.insight-feature h2 a:hover { text-decoration: underline; }
.insight-feature p { font-size: 1.1rem; }
.insight-cover img { width: 100%; box-shadow: var(--shadow); }
.insight-cover .text-link { display: inline-block; margin-top: 14px; font-size: 1.15rem; }
.insight-meta { color: var(--ink-soft); font-size: .92rem; margin-bottom: 16px; }

/* ---------- simple content pages ---------- */
.content-page { padding: 64px 0 90px; }
.content-page .prose { max-width: 820px; }
.prose h3 { font-size: 1.08rem; margin: 30px 0 10px; }
.prose p { font-size: 1.02rem; }
.prose a { color: var(--brand-600); }
.prose-justify p { text-align: justify; }
.hero h1 .danger { color: var(--danger); }

/* ---------- behind the firm ---------- */
.btf-body { padding: 64px 0 100px; }
.btf-body .lead { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 500; max-width: 820px; line-height: 1.4; }
.btf-body p { color: #4f5755; font-size: 1.2rem; max-width: 820px; margin-bottom: 36px; }
.hero .btf-sub { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 500; margin-top: 14px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; padding: 64px 0; }
.contact-info .eyebrow { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: #59625f; }
.contact-info h2 { font-size: 1.8rem; margin: 10px 0 28px; }
.contact-info dl { margin: 0; padding-left: 12px; }
.contact-info dt { font-weight: 700; margin-top: 20px; }
.contact-info dd { margin: 2px 0 0; }
.contact-info a { color: inherit; text-decoration: none; }
.contact-form { background: radial-gradient(ellipse 70% 80% at 100% 100%, #0a7f68 0%, rgba(10, 127, 104, 0) 70%), linear-gradient(160deg, #012622, #013a33); color: #fff; padding: 34px; box-shadow: var(--shadow); }
.contact-form h2 { font-size: 1.6rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-size: .92rem; padding: 11px 13px; border: 1px solid transparent; border-radius: 0; margin-bottom: 12px; color: var(--ink); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--cyan-400); }
.contact-form .consent { display: flex; gap: 10px; font-size: .82rem; align-items: flex-start; margin: 4px 0 8px; }
.contact-form .consent input { width: auto; margin: 3px 0 0; }
.contact-form .consent a { color: var(--cyan-400); }
.contact-form .notice { font-size: .76rem; color: rgba(255, 255, 255, .7); margin: 0 0 16px; }
.contact-form .btn { background: #18b98a; color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.form-msg { padding: 12px 14px; margin-bottom: 14px; font-size: .9rem; }
.form-msg.error { background: #ffe6e6; color: #8a1c1c; }
.form-msg.ok { background: var(--mint-100); color: var(--brand-900); }
.map-wrap { height: 340px; background: #e8e8e8; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- client area ---------- */
body.page-client { background: var(--grey-50); }
.client-hero { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 50px) 0 70px; }
.client-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.client-copy .eyebrow { font-size: .85rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--brand-950); }
.client-copy h1 { font-size: clamp(2.2rem, 4vw, 3.1rem); color: var(--brand-950); margin: 18px 0; font-weight: 700; }
.client-copy p { font-size: 1.2rem; color: var(--ink-soft); max-width: 460px; }
.login-card { background: radial-gradient(ellipse 60% 55% at 100% 100%, rgba(225, 190, 225, .9) 0%, rgba(225, 190, 225, 0) 60%), radial-gradient(ellipse 80% 70% at 85% 80%, #0a7f68 0%, rgba(10, 127, 104, 0) 70%), linear-gradient(160deg, #013b33, #012924); color: #fff; padding: 40px 44px; box-shadow: var(--shadow); }
.login-card h2 { font-size: 1.55rem; margin: 14px 0 22px; }
.login-card .field { position: relative; margin-bottom: 14px; }
.login-card .field svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #fff; pointer-events: none; }
.login-card input { width: 100%; font: inherit; font-size: .95rem; padding: 11px 44px 11px 42px; background: transparent; border: 1px solid rgba(255, 255, 255, .9); color: #fff; }
.login-card input::placeholder { color: rgba(255, 255, 255, .85); }
.login-card input:focus { outline: 2px solid var(--cyan-400); }
.login-card .toggle-pass { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }
.login-card .toggle-pass svg { position: static; transform: none; }
.login-card .btn-login { width: 100%; justify-content: center; background: var(--cyan-500); color: var(--brand-950); font-size: 1rem; padding: 12px; margin-top: 4px; }
.login-card .forgot { display: inline-block; margin-top: 16px; color: #fff; font-size: .9rem; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.login-card .forgot:hover { text-decoration: underline; }
.demo-hint { margin-top: 22px; font-size: .78rem; background: rgba(255, 255, 255, .1); padding: 10px 12px; line-height: 1.5; }
.demo-hint code { background: rgba(0, 0, 0, .25); padding: 1px 5px; }

.portal { padding: calc(var(--header-h) + 48px) 0 90px; min-height: 80vh; }
.portal-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.portal-top h1 { font-size: 1.9rem; color: var(--brand-950); margin: 6px 0 0; }
.portal-top .eyebrow { font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--brand-600); font-weight: 600; }
.btn-ghost { background: none; border: 1.5px solid var(--brand-900); color: var(--brand-900); padding: 8px 16px; cursor: pointer; font-weight: 600; font-size: .85rem; }
.btn-ghost:hover { background: var(--brand-900); color: #fff; }
.matter-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.matter-card { background: #fff; padding: 24px; border-left: 5px solid var(--brand-600); box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.matter-card.closed { border-left-color: var(--neutral-400); }
.matter-card h3 { font-size: 1.1rem; margin: 10px 0 4px; }
.matter-card .sub { color: var(--ink-soft); font-size: .9rem; margin-bottom: 14px; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; }
.badge-active { background: var(--mint-100); color: var(--brand-800); }
.badge-closed { background: #e5e5e5; color: #555; }
.progress-sheet { background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.progress-sheet .sheet-title { text-align: center; font-weight: 600; padding: 14px; border-bottom: 1px solid #d7dcdb; }
.sheet-head { display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; padding: 18px 22px; border-bottom: 1px solid #d7dcdb; font-size: .95rem; }
.sheet-head dt { color: var(--ink-soft); }
.sheet-head dd { margin: 0; font-weight: 500; }
.table-wrap { overflow-x: auto; }
table.progress { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
table.progress th { background: var(--brand-900); color: #fff; text-align: left; padding: 10px 14px; font-weight: 600; }
table.progress td { border-bottom: 1px solid #e3e7e6; padding: 9px 14px; vertical-align: top; }
table.progress td.agenda { font-weight: 600; background: #f6f9f8; border-right: 1px solid #e3e7e6; }
table.progress td.date { white-space: nowrap; color: var(--ink-soft); }
table.progress td.notes { color: #8a3b00; }
.sheet-foot { padding: 14px 22px; font-size: .82rem; color: var(--ink-soft); }
.change-card { max-width: 460px; }

/* ---------- CTA band ---------- */
.cta-band { color: #fff; padding: 80px 0; background: radial-gradient(ellipse 50% 90% at 100% 100%, rgba(0, 140, 110, .35) 0%, rgba(0, 140, 110, 0) 70%), linear-gradient(180deg, #2b302f, #1d2221); }
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; }
.cta-band p { max-width: 470px; color: rgba(255, 255, 255, .85); margin: 18px 0 30px; }

/* ---------- footer ---------- */
.site-footer { color: #fff; padding: 80px 0 34px; font-size: .9rem; background:
  radial-gradient(ellipse 25% 35% at 15% 0%, rgba(0, 230, 200, .55) 0%, rgba(0, 230, 200, 0) 70%),
  radial-gradient(ellipse 35% 40% at 85% 105%, rgba(0, 230, 200, .6) 0%, rgba(0, 230, 200, 0) 70%),
  linear-gradient(180deg, #02443b, #013630 60%, #02403a); }
.footer-grid { display: grid; grid-template-columns: minmax(200px, 1.25fr) auto auto minmax(250px, 1.6fr) auto auto minmax(150px, .9fr); }
.footer-col h4, .footer-col a, .footer-cta .btn-outline { white-space: nowrap; }
.footer-practices a { white-space: normal; }
.footer-grid > div { padding: 0 14px; border-left: 1px solid rgba(255, 255, 255, .6); min-width: 0; }
.footer-grid > div:last-child { padding-right: 0; }
.footer-grid > div:first-child { border-left: 0; padding-left: 0; }
.footer-logo { height: 22px; width: auto; margin-bottom: 10px; }
.footer-tagline { font-size: .8rem; margin-bottom: 14px; }
.footer-address, .footer-contact { font-size: .82rem; margin-bottom: 10px; }
.footer-contact a { text-decoration: none; }
.footer-follow { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--cyan-400); padding-top: 12px; margin-top: 6px; font-size: .85rem; }
.footer-follow a { text-decoration: none; display: inline-flex; }
.footer-follow .sep { opacity: .7; }
.footer-col h4 { font-size: 1rem; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { text-decoration: none; color: #fff; }
.footer-col a:hover { color: var(--cyan-400); }
.footer-practices ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.footer-practices li { margin: 0; border-bottom: 1px solid var(--cyan-400); }
.footer-practices li:nth-last-child(-n+2) { border-bottom: 0; }
.footer-practices a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; font-size: .76rem; line-height: 1.3; }
.footer-practices .icon-arrow { color: var(--cyan-400); }
.footer-cta p { font-size: .85rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .6); margin-top: 34px; padding-top: 18px; font-size: .82rem; }
.footer-legal { display: flex; gap: 12px; }
.footer-legal a { text-decoration: none; }
.footer-legal .scam { color: var(--cyan-400); font-weight: 600; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--brand-950); color: #fff; padding: 12px 18px; font-size: .88rem; box-shadow: var(--shadow); z-index: 100; transition: transform .3s; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .main-nav ul { gap: 14px; }
  .main-nav { gap: 14px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .footer-grid > div { border-left: 0; padding: 0; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-practices { grid-column: span 2; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px 24px 28px; background: var(--brand-950); }
  .is-light .main-nav { background: var(--grey-50); }
  .nav-open .main-nav { display: flex; }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav ul a { font-size: .9rem; }
  .home-hero .container, .change .container, .brief > .container, .client-hero .container, .contact-grid, .insight-feature { grid-template-columns: 1fr; }
  .slider { justify-self: start; }
  .broader { grid-template-columns: 1fr; }
  .broader-intro { padding: 64px 24px; }
  .split { grid-template-columns: 1fr; gap: 14px; padding: 40px 0; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .practice-detail { grid-template-columns: 1fr; gap: 6px; }
  .practice-detail h3 { text-align: left; }
}
@media (max-width: 640px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .person-head { grid-template-columns: 1fr; }
  .person-head h3, .person-head .role { margin-left: 18px; }
  .person-head div { padding: 14px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-tile { min-height: 110px; }
  .practice-grid { grid-template-columns: 1fr; }
  .brief-grid { grid-template-columns: 1fr; }
  .brief-insight { grid-row: auto; }
  .brief-row { grid-column: auto; grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-practices { grid-column: 1 / -1; }
  .login-card { padding: 30px 24px; }
  .sheet-head { grid-template-columns: 1fr; }
  .person-actions { gap: 10px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- mockup-only helpers ---------- */
.mockup-admin-link { position: fixed; left: 12px; bottom: 12px; z-index: 90; background: #fff8d6; color: #5a4a00; font-size: .74rem; font-weight: 600; padding: 6px 10px; border: 1px solid #e8d37a; border-radius: 3px; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.mockup-admin-link:hover { background: #fff1a8; }
#insight-more { padding-bottom: 60px; }
#insight-more .grid a img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: var(--shadow); }
