/* ============================================================
   G & T Legal Chambers LLP — "The Broadsheet"
   Stark editorial · black on warm paper · monochrome
   Type: Playfair Display (display) · Spectral (body) · Hanken Grotesk (labels)
   ============================================================ */

:root {
  --paper:   #FBFAF6;
  --paper-2: #F2F0E8;
  --paper-3: #EAE7DC;
  --card:    #FFFFFF;
  --ink:     #12110E;
  --ink-2:   #34322B;
  --mut:     #6B675D;
  --faint:   #9A9588;
  --hair:    #CFCABD;
  --rule:    #12110E;

  --disp: "Playfair Display", Georgia, "Times New Roman", serif;
  --text: "Spectral", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;

  --maxw: 1180px;
  --gut: clamp(20px, 4.4vw, 52px);
  --sec: clamp(54px, 7vw, 104px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: 18px; line-height: 1.62; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--ink); color: var(--paper); }
h1,h2,h3,h4,h5 { font-family: var(--disp); font-weight: 500; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

/* shared */
.lbl { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.kicker {
  display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; border-bottom: 2px solid var(--ink); padding-bottom: 5px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 26px; cursor: pointer; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); border-color: rgba(251,250,246,.5); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.ph {
  position: relative; background: var(--paper-2); border: 1px solid var(--ink); color: var(--mut); overflow: hidden;
  background-image: repeating-linear-gradient(135deg, transparent 0 9px, rgba(18,17,14,.05) 9px 10px);
}
.ph::after {
  content: attr(data-l); position: absolute; left: 0; right: 0; bottom: 0; padding: 11px 13px;
  font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; letter-spacing: .03em;
  background: linear-gradient(transparent, color-mix(in srgb, var(--paper-2) 88%, transparent) 65%);
}

/* ============================================================ MASTHEAD */
.masthead { border-bottom: 1px solid var(--ink); }
.dateline {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 9px 0; border-bottom: 1px solid var(--hair);
  font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mut);
}
.masthead__plate { text-align: center; padding: clamp(22px, 3vw, 36px) 0 clamp(16px, 2vw, 22px); }
.masthead__title { font-family: var(--disp); font-weight: 800; font-size: clamp(38px, 7vw, 88px); line-height: .95; letter-spacing: -.01em; margin: 0 0 8px; }
.masthead__title .amp { font-style: italic; font-weight: 500; }
.masthead__sub { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--mut); }

/* ============================================================ NAV (sticky strip) */
.nav { position: sticky; top: 0; z-index: 100; background: var(--paper); border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); transition: box-shadow .3s var(--ease); }
.nav.is-scrolled { box-shadow: 0 8px 24px rgba(18,17,14,.07); }
.nav__row { display: flex; align-items: center; justify-content: center; gap: 30px; height: 52px; position: relative; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.nav.is-scrolled .brand { opacity: 1; pointer-events: auto; }
.brand__mark { width: 34px; height: 34px; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 600; font-size: 12.5px; letter-spacing: -.02em; white-space: nowrap; flex: none; }
.brand__mark .amp { font-style: italic; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--disp); font-size: 16px; font-weight: 600; white-space: nowrap; }
.brand__sub { font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mut); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); position: relative; transition: color .25s var(--ease); white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1.5px; background: var(--ink); transition: right .3s var(--ease); }
.nav__link:hover { color: var(--ink); } .nav__link:hover::after, .nav__link.active::after { right: 0; }
.nav__link.active { color: var(--ink); }
.nav__cta { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.nav__cta .btn { padding: 9px 16px; font-size: 11px; }

.nav__burger { display: none; width: 38px; height: 38px; border: 1px solid var(--ink); background: transparent; cursor: pointer; align-items: center; justify-content: center; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.nav__burger span { display: block; width: 17px; height: 1.5px; background: var(--ink); position: relative; transition: background .3s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__burger span::before { top: -5px; } .nav__burger span::after { top: 5px; }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav__burger span::after { transform: translateY(-5px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 90; background: var(--paper); padding: 92px var(--gut) 40px; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform .5s var(--ease), opacity .5s var(--ease); display: flex; flex-direction: column; }
body.menu-open .drawer { transform: none; opacity: 1; visibility: visible; }
.drawer a { font-family: var(--disp); font-size: 30px; font-weight: 500; padding: 15px 0; border-bottom: 1px solid var(--hair); }
.drawer .btn { margin-top: 28px; }

/* ============================================================ HERO — lead story */
.hero { padding: clamp(38px, 5vw, 58px) 0 var(--sec); border-bottom: 1px solid var(--ink); }
.hero__grid { display: grid; grid-template-columns: 1.28fr 1fr; }
.hero__main { padding-right: clamp(28px, 4vw, 52px); border-right: 1px solid var(--hair); }
.hero__title { font-family: var(--disp); font-weight: 700; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.0; letter-spacing: -.018em; margin-top: 22px; }
.hero__title .l1 { white-space: nowrap; }
.hero__title em { font-style: italic; font-weight: 500; }
.hero__title em { font-style: italic; font-weight: 500; }
.hero__body { margin-top: 28px; column-count: 2; column-gap: 34px; font-size: 16.5px; line-height: 1.62; text-align: justify; hyphens: auto; }
.hero__body p { margin-bottom: 14px; break-inside: avoid; }
.hero__acts { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__side { padding-left: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; }
.hero__side .ph { aspect-ratio: 3/4; }
.hero__cap { font-family: var(--sans); font-size: 11px; color: var(--mut); letter-spacing: .03em; line-height: 1.45; padding: 11px 0 16px; border-bottom: 1px solid var(--hair); margin-bottom: 6px; }
.fact { padding: 13px 0; border-bottom: 1px solid var(--hair); display: flex; align-items: baseline; gap: 14px; }
.fact .stat__num, .fact b { font-family: var(--disp); font-weight: 700; font-size: 32px; line-height: 1; flex: none; min-width: 64px; }
.fact span { font-family: var(--sans); font-size: 11.5px; letter-spacing: .03em; color: var(--mut); line-height: 1.35; }

/* ============================================================ SECTION SCAFFOLD */
.section { padding-block: var(--sec); border-bottom: 1px solid var(--ink); }
.sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.sec-head .sx { font-family: var(--disp); font-style: italic; font-weight: 500; font-size: 21px; color: var(--mut); flex: none; }
.sec-head h2 { font-family: var(--disp); font-weight: 700; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.02; letter-spacing: -.012em; flex: none; }
.sec-head h2 em { font-style: italic; font-weight: 500; }
.sec-head .fill { flex: 1; height: 1px; background: var(--hair); align-self: center; }
.sec-head .meta { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); flex: none; align-self: center; }

.sec-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(30px, 4vw, 52px); }
.sec-intro .lead { font-family: var(--text); font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--ink); }
.sec-intro p { color: var(--ink-2); }
.sec-intro p + p { margin-top: 14px; }

/* ============================================================ PRACTICE — index accordion */
.areas { border-top: 1px solid var(--ink); }
.area { display: grid; grid-template-columns: 56px 1fr auto; gap: clamp(16px, 3vw, 34px); align-items: start; padding: clamp(18px, 2.3vw, 26px) 2px; border-bottom: 1px solid var(--hair); cursor: pointer; transition: padding .3s var(--ease); }
.area:hover { padding-left: 14px; }
.area__no { font-family: var(--sans); font-size: 12px; font-weight: 700; border: 1px solid var(--ink); width: 28px; height: 28px; display: grid; place-items: center; flex: none; transition: background .3s var(--ease), color .3s var(--ease); margin-top: 4px; }
.area:hover .area__no, .area.open .area__no { background: var(--ink); color: var(--paper); }
.area__name { font-family: var(--disp); font-weight: 600; font-size: clamp(21px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -.008em; }
.area__desc { font-family: var(--text); font-size: 16px; color: var(--ink-2); line-height: 1.55; max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; max-width: 64ch; transition: max-height .5s var(--ease), opacity .35s var(--ease), margin-top .35s var(--ease); }
.area.open .area__desc { max-height: 220px; opacity: 1; margin-top: 12px; }
.area__tog { width: 32px; height: 32px; border: 1px solid var(--hair); display: grid; place-items: center; flex: none; position: relative; margin-top: 4px; transition: border-color .3s var(--ease), background .3s var(--ease); }
.area:hover .area__tog { border-color: var(--ink); }
.area__tog::before, .area__tog::after { content: ""; position: absolute; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s; }
.area__tog::before { width: 12px; height: 1.5px; } .area__tog::after { width: 1.5px; height: 12px; }
.area.open .area__tog { background: var(--ink); border-color: var(--ink); }
.area.open .area__tog::before { background: var(--paper); } .area.open .area__tog::after { opacity: 0; }

/* ============================================================ LEADERSHIP */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.leader { display: grid; grid-template-columns: 140px 1fr; gap: clamp(18px, 2.4vw, 28px); padding: 4px 0; }
.leader:first-child { border-right: 1px solid var(--hair); padding-right: clamp(28px, 3.5vw, 52px); }
.leader:last-child { padding-left: clamp(28px, 3.5vw, 52px); }
.leader__photo { aspect-ratio: 1 / 1; }
.leader__name { font-family: var(--disp); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.04; }
.leader__role { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); margin: 6px 0 13px; }
.leader__bio { font-family: var(--text); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.leader__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .02em; color: var(--ink-2); border: 1px solid var(--hair); padding: 5px 10px; }

/* ============================================================ TEAM — the wider bench */
.team-band { display: flex; align-items: baseline; gap: 16px; margin: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); }
.team-band h3 { font-family: var(--disp); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -.01em; flex: none; }
.team-band .sx { font-family: var(--disp); font-style: italic; font-weight: 500; font-size: 18px; color: var(--mut); flex: none; }
.team-band .fill { flex: 1; height: 1px; background: var(--hair); align-self: center; }
.team-band .meta { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); flex: none; align-self: center; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.member { background: var(--paper); padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; transition: background .3s var(--ease); }
.member:hover { background: var(--paper-2); }
.member__photo { aspect-ratio: 1/1; margin-bottom: 18px; }
.member__name { font-family: var(--disp); font-weight: 700; font-size: 20px; line-height: 1.08; }
.member__role { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin: 7px 0 0; }
.member__spec { font-family: var(--text); font-size: 14.5px; color: var(--ink-2); line-height: 1.45; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--hair); }

/* ============================================================ EXPERIENCE — columned register */
.clients { columns: 4; column-gap: clamp(22px, 3vw, 40px); }
.client { break-inside: avoid; display: flex; gap: 11px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--hair); font-family: var(--sans); font-size: 14px; color: var(--ink); line-height: 1.3; }
.client .n { font-family: var(--sans); font-size: 10.5px; font-weight: 700; color: var(--mut); flex: none; }

/* ============================================================ APPROACH */
.approach__quote { font-family: var(--disp); font-weight: 500; font-style: italic; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.24; letter-spacing: -.01em; max-width: 28ch; margin: 0 auto; text-align: center; }
.approach__quote b { font-style: normal; font-weight: 700; }
.approach__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(44px, 5.5vw, 76px); border-top: 1px solid var(--ink); }
.approach__col { padding: clamp(26px, 3vw, 38px) clamp(20px, 2.5vw, 34px) 0 0; border-right: 1px solid var(--hair); }
.approach__col:last-child { border-right: 0; padding-right: 0; }
.approach__col .num { font-family: var(--disp); font-style: italic; font-weight: 600; font-size: 22px; color: var(--mut); }
.approach__col h4 { font-family: var(--disp); font-weight: 600; font-size: 21px; margin: 14px 0 11px; }
.approach__col p { font-family: var(--text); font-size: 15px; line-height: 1.56; color: var(--ink-2); }

/* ============================================================ CONTACT */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 76px); align-items: start; }
.contact__h { font-family: var(--disp); font-weight: 700; font-size: clamp(28px, 3.8vw, 48px); line-height: 1.02; letter-spacing: -.014em; }
.contact__h em { font-style: italic; font-weight: 500; }
.offices { margin-top: 30px; }
.office { padding: 20px 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.office:last-child { border-bottom: 1px solid var(--hair); }
.office__city { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); padding-top: 4px; }
.office__name { font-family: var(--disp); font-size: 19px; font-weight: 600; }
.office__addr { font-family: var(--text); font-size: 14.5px; color: var(--ink-2); line-height: 1.5; margin-top: 4px; }
.direct { margin-top: 26px; display: flex; flex-direction: column; }
.direct a { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--hair); align-items: baseline; transition: padding-left .25s var(--ease); }
.direct a:last-child { border-bottom: 1px solid var(--hair); }
.direct a:hover { padding-left: 8px; }
.direct .k { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.direct .v { font-family: var(--text); font-size: 16.5px; }

.form { background: var(--card); border: 1px solid var(--ink); padding: clamp(24px, 3vw, 38px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 17px; }
.field label { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea { font-family: var(--text); font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--hair); padding: 12px 13px; width: 100%; border-radius: 0; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B23120; }
.field .err { font-family: var(--sans); font-size: 12px; color: #B23120; opacity: 0; transition: opacity .2s; }
.field.invalid .err { opacity: 1; }
.form__note { font-family: var(--sans); font-size: 12px; color: var(--mut); margin-top: 6px; line-height: 1.5; }
.form button[type=submit] { width: 100%; margin-top: 6px; }
.form__success { text-align: center; padding: 22px 0; }
.form__success .check { width: 52px; height: 52px; border: 1px solid var(--ink); display: grid; place-items: center; margin: 0 auto 18px; }
.form__success h3 { font-family: var(--disp); font-weight: 700; font-size: 26px; margin-bottom: 11px; }
.form__success p { font-family: var(--text); color: var(--ink-2); }

/* ============================================================ FOOTER */
.footer { background: var(--ink); color: var(--paper); border-bottom: 0; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(30px, 4vw, 60px); padding-block: clamp(48px, 6vw, 82px) clamp(36px, 4.5vw, 58px); }
.footer__name { font-family: var(--disp); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; }
.footer__name .amp { font-style: italic; font-weight: 500; }
.footer__tag { font-family: var(--text); font-size: 15px; color: #C7C3B7; margin-top: 16px; max-width: 34ch; line-height: 1.55; }
.footer__top .btn--light { margin-top: 18px; }
.footer__col h5 { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #8C887B; margin: 0 0 15px; }
.footer__col a, .footer__col p { display: block; font-family: var(--sans); font-size: 14px; color: #D9D5C9; padding: 6px 0; transition: color .25s; }
.footer__col a:hover { color: #fff; }
.footer__bar { border-top: 1px solid rgba(251,250,246,.16); padding: 22px 0; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer__bar p { font-family: var(--sans); font-size: 11px; color: #87837A; }
.footer__bar .disc { max-width: 60ch; line-height: 1.5; }

/* ============================================================ REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay:.07s } .reveal[data-d="2"]{ transition-delay:.14s } .reveal[data-d="3"]{ transition-delay:.21s }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none } }

/* ============================================================ RESPONSIVE */
@media (max-width: 1024px){
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .dateline { display: none; }
  .nav__row { justify-content: flex-start; }
  .brand { position: static; transform: none; opacity: 1; pointer-events: auto; }
  .clients { columns: 3; }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px){
  body { font-size: 16.5px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__main { border-right: 0; padding-right: 0; }
  .hero__side { padding-left: 0; margin-top: 32px; }
  .sec-intro, .leaders, .approach__cols, .contact { grid-template-columns: 1fr; gap: 22px; }
  .team { grid-template-columns: 1fr; }
  .leader:first-child { border-right: 0; padding-right: 0; padding-bottom: 30px; border-bottom: 1px solid var(--hair); }
  .leader:last-child { padding-left: 0; padding-top: 30px; }
  .approach__col { border-right: 0; border-bottom: 1px solid var(--hair); padding: 24px 0; }
  .approach__col:last-child { border-bottom: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .clients { columns: 2; }
}
@media (max-width: 680px){
  .hero__title .l1 { white-space: normal; }
}
@media (max-width: 540px){
  .hero__body { column-count: 1; }
  .clients { columns: 1; }
  .form__row { grid-template-columns: 1fr; }
  .office, .direct a { grid-template-columns: 1fr; gap: 3px; }
  .area { grid-template-columns: 40px 1fr auto; }
}
