/* Durfee Law Group. Round 5.
   One typeface (Cormorant Garamond, a Renaissance Garamond, served from this site).
   Three colours: ivory paper, the logo's navy taken down to night, and antique gold for rules and ornament.
   The logo keeps its own blue and yellow; nothing else on the page uses that yellow.
   The public rooms are ivory. The inner rooms (the Family Legacy Plan, the closing invitation, the footer) are night.
   No layout depends on script. Motion is limited to the film and a few fades, and stops for reduced motion. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-garamond.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-garamond-italic.woff2) format("woff2"); }

:root {
  --ivory: #F6F1E6; --vellum: #EDE5D3; --card: #FBF8F1;
  --ink: #16142D; --ink-2: #2A2843; --muted: #55516A;
  --navy: #0D0B57; --night: #0B0A27; --night-2: #15133A; --night-3: #232056;
  --on-night: #F1EADA; --on-night-2: #CFC6B1; --on-night-3: #A69E8B;
  --gold: #B58E45; --gold-ink: #7A5A1E; --gold-lite: #DDBA6A;
  --rule: #D9CDB2; --rule-2: #BFAD85; --night-rule: #2E2B5E;
  --serif: "Cormorant Garamond", Garamond, "EB Garamond", "Times New Roman", serif;
  --gut: max(clamp(20px, 4.2vw, 64px), env(safe-area-inset-left, 0px));
  --hdr: 76px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 64px); }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 500 20px/1.6 var(--serif); font-variant-numeric: lining-nums; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration: none; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.night :focus-visible, .ftr :focus-visible { outline-color: var(--gold-lite); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -90px; z-index: 100; padding: 12px 18px; background: var(--navy); color: var(--on-night); font-size: 16px; }
.skip:focus { top: 12px; }
a.law { white-space: nowrap; }
.prose a, .lede a, .qa__a a, .situ dd a, .docs a, .plain a, .table a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rule-2); }
.prose a:hover, .lede a:hover, .qa__a a:hover, .situ dd a:hover { text-decoration-color: var(--navy); }

/* Type scale --------------------------------------------------------------------------------------- */
.kick { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.night .kick { color: var(--gold-lite); }
.display { font-size: clamp(2.7rem, 5.6vw, 5.4rem); line-height: 1.02; letter-spacing: -.012em; font-weight: 500; }
.h1 { font-size: clamp(2.4rem, 4.4vw, 4.1rem); line-height: 1.04; letter-spacing: -.01em; }
.h2 { font-size: clamp(2rem, 3.4vw, 3.15rem); line-height: 1.06; letter-spacing: -.006em; }
.h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.15; }
.h4 { font-size: 1.3rem; line-height: 1.2; font-weight: 600; }
.lede { font-size: clamp(1.25rem, 1.7vw, 1.45rem); line-height: 1.5; color: var(--ink-2); max-width: 40em; }
.night .lede { color: var(--on-night-2); }
.fine { font-size: 16px; line-height: 1.55; color: var(--muted); }
.night .fine { color: var(--on-night-3); }
em, .it { font-style: italic; }
sup { font-size: .45em; line-height: 0; vertical-align: .9em; font-style: normal; }
.gold { color: var(--gold-ink); }
.night .gold { color: var(--gold-lite); }
.prose { display: grid; gap: 1.05em; max-width: 38em; }
.prose h2 { margin-top: .9em; font-size: clamp(1.7rem, 2.5vw, 2.2rem); line-height: 1.12; }
.prose h3 { margin-top: .6em; font-size: 1.45rem; line-height: 1.2; }

/* Containers and rooms ------------------------------------------------------------------------------ */
.wrap { max-width: 1360px; margin-inline: auto; padding-inline: var(--gut); }
.room { padding-block: clamp(72px, 9vw, 136px); }
.room--tight { padding-block: clamp(56px, 6vw, 88px); }
.vellum { background: var(--vellum); }
.night { background: var(--night); color: var(--on-night); }
.night a { color: var(--on-night); }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.night .rule { border-top-color: var(--night-rule); }
.head { display: grid; gap: 18px; max-width: 46em; }
.head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; max-width: none; }
.gap-l { margin-top: clamp(40px, 5vw, 72px); }
.gap-m { margin-top: clamp(28px, 3vw, 40px); }

/* Ornament: guilloche, drawn once and coloured with CSS masks */
.guil { position: absolute; pointer-events: none; background: currentColor; -webkit-mask: url(../media/guilloche-rosette.svg) center / contain no-repeat; mask: url(../media/guilloche-rosette.svg) center / contain no-repeat; }
.guil-band { height: 34px; background: currentColor; -webkit-mask: url(../media/guilloche-band.svg) center / 100% 100% no-repeat; mask: url(../media/guilloche-band.svg) center / 100% 100% no-repeat; }
.fleuron { display: flex; align-items: center; gap: 14px; color: var(--gold); }
.fleuron::before, .fleuron::after { content: ""; flex: 1; border-top: 1px solid currentColor; opacity: .55; }
.fleuron i { width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }

/* Buttons and links ---------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border: 1px solid var(--navy); color: var(--navy); background: transparent;
  font-size: 14px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; line-height: 1.2; text-align: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--navy); color: var(--on-night); }
.btn--ink { background: var(--navy); color: var(--on-night); }
.btn--ink:hover { background: var(--night); border-color: var(--night); color: var(--on-night); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 13px; }
.night .btn { border-color: var(--on-night-2); color: var(--on-night); }
.night .btn:hover { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.night .btn--ivory { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.night .btn--ivory:hover { background: var(--gold-lite); border-color: var(--gold-lite); color: var(--night); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.more { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); border-bottom: 1px solid var(--rule-2); padding-bottom: 4px; }
.more:hover { border-bottom-color: var(--navy); }
.night .more { color: var(--on-night); border-bottom-color: var(--night-rule); }
.more svg { transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }

/* Utility bar and header ----------------------------------------------------------------------------- */
.util { background: var(--night); color: var(--on-night-2); font-size: 15px; }
.util__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.util p { letter-spacing: .04em; }
.util nav { display: flex; gap: 26px; }
.util a { color: var(--on-night); display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.util a:hover { color: var(--gold-lite); }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 230, .97); border-bottom: 1px solid var(--rule); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); flex: none; }
.brand img { width: 46px; height: 46px; }
.brand__name { display: grid; font-size: 23px; font-weight: 600; line-height: 1; letter-spacing: .01em; }
.brand__sub { margin-top: 5px; font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: stretch; gap: 4px; height: var(--hdr); }
.nav__item { position: relative; display: flex; }
.nav__a { display: flex; align-items: center; padding: 0 14px; font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid transparent; }
.nav__a[aria-current] { border-bottom-color: var(--gold); }
.nav__item:hover > .nav__a, .nav__item:focus-within > .nav__a { color: var(--navy); border-bottom-color: var(--navy); }
.mega { position: absolute; top: 100%; left: -24px; z-index: 60; display: none; min-width: 300px; padding: 26px 28px 28px; background: var(--card); border: 1px solid var(--rule); border-top: 2px solid var(--navy);
  box-shadow: 0 30px 60px -30px rgba(22, 20, 45, .35); }
.nav__item:hover > .mega, .nav__item:focus-within > .mega { display: block; }
.mega--wide { width: min(860px, 80vw); display: none; grid-template-columns: 1.25fr 1fr; gap: 32px; }
.nav__item:hover > .mega--wide, .nav__item:focus-within > .mega--wide { display: grid; }
.nav__item--end .mega { left: auto; right: -12px; }
.nav__item.is-closed > .mega { display: none !important; }
.mega__h { margin-bottom: 10px; }
.mega__list a { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.mega__list a:last-child { border-bottom: 0; }
.mega__list a b { font-weight: 600; font-size: 19px; line-height: 1.2; }
.mega__list a span { font-size: 15.5px; line-height: 1.4; color: var(--muted); }
.mega__list a:hover b { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.mega__feature { display: grid; align-content: start; gap: 14px; padding-left: 28px; border-left: 1px solid var(--rule); color: var(--ink); }
.mega__feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 200px 200px 0 0; }
.mega__feature b { font-size: 24px; font-weight: 600; line-height: 1.1; }
.mega__feature span { font-size: 16px; line-height: 1.45; color: var(--muted); }
.mega__note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.45; color: var(--muted); }
.hdr__cta { flex: none; }
.mnav { display: none; margin-left: auto; }
.mnav summary { list-style: none; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav__panel { position: absolute; top: 100%; left: 0; right: 0; height: calc(100svh - var(--hdr)); z-index: 70; overflow-y: auto; padding: 18px var(--gut) 48px; background: var(--ivory); border-top: 1px solid var(--rule); }
.mnav__group { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.mnav__group a { display: flex; align-items: center; min-height: 44px; font-size: 21px; color: var(--ink); }
.mnav__panel .btn { margin-top: 22px; width: 100%; }
@media (max-width: 1260px) {
  .nav, .hdr__cta { display: none; }
  .mnav { display: block; }
}
@media (max-width: 640px) {
  .creds { display: none; }
  .brand__sub { display: none; }
  .util p { display: none; }
  .util__in { justify-content: flex-end; }
  .util nav { gap: 18px; }
  .brand__name { font-size: 20px; }
  .brand img { width: 40px; height: 40px; }
}

/* Film --------------------------------------------------------------------------------------------- */
.film { position: relative; height: min(84svh, 56.25vw + 160px); min-height: 420px; overflow: hidden; background: #2B241C; }
.film video, .film__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film::after { content: ""; position: absolute; inset: auto 0 -2px; height: 52%; background: linear-gradient(to bottom, rgba(246, 241, 230, 0), rgba(246, 241, 230, .5) 38%, rgba(246, 241, 230, .9) 70%, var(--ivory)); pointer-events: none; }
.film__ctl { position: absolute; right: var(--gut); top: 20px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(241, 234, 218, .6); border-radius: 50%;
  background: rgba(11, 10, 39, .45); color: var(--on-night); cursor: pointer; opacity: 0; transition: opacity .25s; }
.film__ctl svg { width: 14px; height: 14px; }
.film__ctl .i-play, .film__ctl[aria-pressed="true"] .i-pause { display: none; }
.film__ctl[aria-pressed="true"] .i-play { display: block; }
.film:hover .film__ctl, .film__ctl:focus-visible { opacity: 1; }
@media (hover: none) { .film__ctl { opacity: .6; } }
.mast { position: relative; z-index: 2; margin-top: calc(-1 * clamp(110px, 13vw, 200px)); }
.mast__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px clamp(32px, 5vw, 88px); align-items: end; }
.mast h1 { color: var(--ink); }
.mast h1 .it { color: var(--navy); }
.mast__side { display: grid; gap: 26px; padding-bottom: 10px; }
.mast__side .btns { flex-wrap: nowrap; }
@media (max-width: 1100px) { .mast__side .btns { flex-wrap: wrap; } }
.creds { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: clamp(36px, 4vw, 56px); padding-top: 18px; border-top: 1px solid var(--rule-2); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.creds li { display: flex; align-items: center; }
.creds li + li::before { content: ""; width: 5px; height: 5px; margin: 0 18px; border: 1px solid var(--gold); transform: rotate(45deg); }
@media (max-width: 900px) { .mast__grid { grid-template-columns: 1fr; } .mast { margin-top: -90px; } }

/* Front page: the firm beside the index of practice areas ------------------------------------------- */
.front { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); }
.front__firm { display: grid; align-content: start; gap: 22px; }
.ledger { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 40px; margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--rule); }
.ledger b { display: block; font-size: 2.3rem; font-weight: 500; line-height: 1; color: var(--navy); }
.ledger span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.35; color: var(--muted); max-width: 11em; }
.index { display: grid; gap: 38px; }
.index__group h3 { padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.index__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.index__list a { display: grid; gap: 4px; padding: 18px 0 20px; border-bottom: 1px solid var(--rule); color: var(--ink); }
.index__list a b { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 1.45rem; font-weight: 600; line-height: 1.15; }
.index__list a b::after { content: "\203A"; font-size: 1.3rem; color: var(--gold); transition: transform .2s; }
.index__list a span { font-size: 17px; line-height: 1.45; color: var(--muted); }
.index__list a:hover b { color: var(--navy); }
.index__list a:hover b::after { transform: translateX(4px); }
@media (max-width: 980px) { .front { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .index__list { grid-template-columns: 1fr; } .ledger { grid-template-columns: repeat(2, auto); } }

/* The inner room: Family Legacy Plan ---------------------------------------------------------------- */
.chamber { position: relative; overflow: hidden; }
.chamber .guil { right: -180px; top: -140px; width: 720px; height: 720px; color: var(--gold); opacity: .16; }
.chamber__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.arch { position: relative; border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 4 / 5; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--frame { padding: 10px; border: 1px solid var(--gold); border-bottom-width: 1px; background: transparent; overflow: visible; }
.arch--frame > div { border-radius: 999px 999px 0 0; overflow: hidden; height: 100%; }
.night .arch--frame { border-color: rgba(221, 186, 106, .55); }
.chamber__text { display: grid; gap: 24px; }
.numerals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; counter-reset: n; }
.numerals li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--night-rule); font-size: 18.5px; line-height: 1.45; color: var(--on-night-2); counter-increment: n; }
.numerals li::before { content: counter(n, upper-roman) "."; font-style: italic; color: var(--gold-lite); font-size: 18px; }
.affil { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(56px, 6vw, 88px); padding-top: 32px; border-top: 1px solid var(--night-rule); }
.affil h3 { margin: 6px 0 8px; font-size: 1.4rem; }
.affil p { font-size: 17.5px; line-height: 1.5; color: var(--on-night-2); }
@media (max-width: 980px) { .chamber__grid { grid-template-columns: 1fr; } .chamber__grid .arch { max-width: 440px; } .affil { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .numerals { grid-template-columns: 1fr; } }

/* Gallery of attorneys ------------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 96px); align-items: end; }
.portraits { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; }
.portrait { display: grid; gap: 14px; color: var(--ink); }
.portrait .arch { aspect-ratio: 4 / 5; background: var(--vellum); }
.portrait .arch img { transition: transform .6s ease; }
.portrait:hover .arch img { transform: scale(1.03); }
.portrait b { display: block; font-size: 1.45rem; font-weight: 600; line-height: 1.1; text-transform: none; letter-spacing: 0; color: var(--ink); }
.portrait span { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
@media (max-width: 980px) { .gallery { grid-template-columns: 1fr; } }

/* Journal: a magazine grid of the book, articles and the film ----------------------------------------- */
.journal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; }
.tile { position: relative; display: grid; align-content: start; gap: 12px; color: var(--ink); }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tile__meta { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.tile h3 { font-size: 1.6rem; line-height: 1.12; }
.tile p { font-size: 17.5px; line-height: 1.5; color: var(--muted); }
.tile:hover h3 { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.tile--book { grid-column: span 5; grid-row: span 2; align-content: stretch; grid-template-rows: 1fr auto; padding: clamp(28px, 3vw, 44px); background: var(--night); color: var(--on-night); }
.tile--book .cover { display: grid; place-items: center; padding: 18px 0 30px; }
.tile--book .cover img { width: min(250px, 60%); aspect-ratio: auto; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .8); }
.tile--book h3 { font-size: 2.2rem; }
.tile--book p { color: var(--on-night-2); }
.tile--book .tile__meta { color: var(--gold-lite); }
.tile--a { grid-column: span 7; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; column-gap: 28px; }
.tile--a img { aspect-ratio: 4 / 3; grid-row: span 4; }
.tile--b { grid-column: span 4; }
.tile--c { grid-column: span 3; }
.tile--motto { grid-column: span 12; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 0; background: var(--card); border: 1px solid var(--rule); }
.tile--motto img { aspect-ratio: 16 / 7; height: 100%; }
.tile--motto div { padding: clamp(28px, 4vw, 56px); display: grid; gap: 14px; }
.tile--motto blockquote { font-size: clamp(2rem, 3.4vw, 3rem); font-style: italic; line-height: 1.05; color: var(--navy); }
@media (max-width: 1100px) { .tile--book { grid-column: span 12; grid-row: auto; grid-template-columns: auto 1fr; grid-template-rows: none; align-items: center; gap: 28px; } .tile--book .cover { padding: 0; } .tile--book .cover img { width: 180px; }
  .tile--a { grid-column: span 12; } .tile--b, .tile--c { grid-column: span 6; } }
@media (max-width: 700px) { .tile--book { grid-template-columns: 1fr; } .tile--a { grid-template-columns: 1fr; } .tile--a img { grid-row: auto; } .tile--b, .tile--c { grid-column: span 12; }
  .tile--motto { grid-template-columns: 1fr; } .tile--motto img { aspect-ratio: 16 / 9; } }

/* Counsel: questions beside the way in --------------------------------------------------------------- */
.counsel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.qa { border-top: 1px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.25; font-weight: 600; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 10px; border-right: 1.5px solid var(--gold-ink); border-bottom: 1.5px solid var(--gold-ink); transform: rotate(45deg); transition: transform .2s; }
.qa details[open] summary::after { transform: rotate(-135deg); margin-top: 16px; }
.qa summary:hover h3 { color: var(--navy); }
.qa__a { padding: 0 0 26px; max-width: 40em; color: var(--ink-2); }
.card { padding: clamp(26px, 3vw, 38px); background: var(--card); border: 1px solid var(--rule); }
.card + .card { margin-top: 20px; }
.card h2, .card h3 { margin-bottom: 14px; }
.card .btn { width: 100%; margin-top: 18px; }
.card--night { background: var(--night); color: var(--on-night); border-color: var(--night); }
.card--night .fine { color: var(--on-night-2); }
.card--night :focus-visible { outline-color: var(--gold-lite); }
.lines { display: grid; gap: 4px; }
.lines a, .lines address { font-style: normal; font-size: 18.5px; line-height: 1.45; }
.lines .tel { font-size: 2rem; font-weight: 500; line-height: 1.1; color: var(--navy); }
.card--night .lines .tel { color: var(--on-night); }
.keys { display: grid; margin-top: 10px; }
.keys a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 18px; color: var(--ink); }
.card--night .keys a { border-bottom-color: var(--night-rule); color: var(--on-night); }
.keys a:hover { color: var(--navy); }
.card--night .keys a:hover { color: var(--gold-lite); }
.sticky { position: sticky; top: calc(var(--hdr) + 28px); }
@media (max-width: 980px) { .counsel { grid-template-columns: 1fr; } .sticky { position: static; } }

/* Interior page head -------------------------------------------------------------------------------- */
.phead { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--rule); }
.phead__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 112px); align-items: end; }
.phead__text { display: grid; gap: 22px; }
.phead .arch { max-width: 380px; justify-self: end; width: 100%; }
.phead--plain .phead__grid { grid-template-columns: 1fr; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--rule-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy); }
@media (max-width: 900px) { .phead__grid { grid-template-columns: 1fr; } .phead .arch { justify-self: start; max-width: 300px; } }

/* Local navigation (on this page) ------------------------------------------------------------------- */
.local { position: sticky; top: var(--hdr); z-index: 40; background: rgba(246, 241, 230, .97); border-bottom: 1px solid var(--rule); }
.local__in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.local__in::-webkit-scrollbar { display: none; }
.local a { flex: none; display: flex; align-items: center; min-height: 52px; padding: 0 14px; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; }
.local a:first-child { padding-left: 0; }
.local a:hover, .local a[aria-current="true"] { color: var(--navy); border-bottom-color: var(--gold); }

/* Document layout: reading column with a sidebar ---------------------------------------------------- */
.doc { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 112px); padding-block: clamp(48px, 6vw, 96px); }
.doc__main { display: grid; gap: clamp(56px, 6vw, 88px); min-width: 0; }
.doc__main > section { display: grid; gap: 22px; scroll-margin-top: calc(var(--hdr) + 72px); }
.doc__side { display: grid; align-content: start; gap: 20px; }
.doc__side .sticky { display: grid; gap: 20px; }
.plain { padding: 22px 26px; border-left: 2px solid var(--gold); background: var(--card); font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.plain b { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.situ { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--rule); }
.situ div { padding: 20px 0 22px; border-bottom: 1px solid var(--rule); }
.situ dt { font-size: 1.3rem; font-weight: 600; line-height: 1.2; margin-bottom: 6px; }
.situ dd { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.docs { counter-reset: d; border-top: 1px solid var(--rule); }
.docs li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--rule); counter-increment: d; }
.docs li::before { content: counter(d, upper-roman) "."; grid-row: span 2; font-style: italic; color: var(--gold-ink); font-size: 1.3rem; line-height: 1.3; }
.docs b { font-size: 1.3rem; font-weight: 600; line-height: 1.25; }
.docs span { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.facts { display: grid; }
.facts div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.facts dd { font-size: 18px; line-height: 1.45; }
.who { display: grid; gap: 12px; margin: 6px 0 4px; }
.who a { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 14px; color: var(--ink); }
.who img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; }
.who b { display: block; font-size: 19px; font-weight: 600; line-height: 1.15; text-transform: none; letter-spacing: 0; color: var(--ink); }
.who span { display: block; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.who a:hover b { color: var(--navy); }
.reading { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--rule); }
.reading a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 19px; line-height: 1.35; color: var(--ink); }
.reading a::after { content: "\203A"; color: var(--gold); }
.reading a:hover { color: var(--navy); }
.watch { display: flex; align-items: center; gap: 14px; font-size: 18px; color: var(--ink); }
.watch i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule-2); border-radius: 50%; }
.watch:hover { color: var(--navy); }
@media (max-width: 980px) { .doc { grid-template-columns: 1fr; } .doc__side .sticky { position: static; } }
@media (max-width: 700px) { .situ, .reading { grid-template-columns: 1fr; } }

/* Table (small estate affidavit) */
.table { overflow-x: auto; border-top: 1px solid var(--ink); }
.table table { width: 100%; min-width: 560px; border-collapse: collapse; }
.table caption { text-align: left; padding: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); caption-side: top; }
.table th, .table td { padding: 16px 18px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); font-size: 18px; line-height: 1.5; }
.table thead th { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.table tbody th { font-weight: 600; width: 22%; }
.table .big { display: block; font-size: 2.2rem; line-height: 1.05; color: var(--navy); }

/* Other practice areas, guide ----------------------------------------------------------------------- */
.others { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--rule); column-gap: 32px; }
.others a { display: flex; justify-content: space-between; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--rule); font-size: 19.5px; color: var(--ink); }
.others a::after { content: "\203A"; color: var(--gold); }
.others a:hover { color: var(--navy); }
.guide a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.guide { border-top: 1px solid var(--ink); }
.guide__q { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-style: italic; line-height: 1.3; }
.guide__a { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.guide a:hover .guide__q { color: var(--navy); }
@media (max-width: 640px) { .guide a { grid-template-columns: 1fr; gap: 6px; } }

/* Plan diagram -------------------------------------------------------------------------------------- */
.diagram { padding: clamp(18px, 3vw, 36px); background: var(--card); border: 1px solid var(--rule); }
.diagram svg { width: 100%; height: auto; }
.diagram svg text { font-family: var(--serif); }

/* Closing invitation (night) ------------------------------------------------------------------------ */
.closer { position: relative; overflow: hidden; }
.closer .guil { left: 50%; top: 50%; width: 760px; height: 760px; transform: translate(-50%, -50%); color: var(--gold); opacity: .1; }
.closer__in { position: relative; display: grid; justify-items: center; gap: 26px; text-align: center; }
.closer h2 { max-width: 16em; }
.closer__lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 18px; color: var(--on-night-2); }
.closer__lines a { color: var(--on-night); }

/* Bio, book, article ---------------------------------------------------------------------------------- */
.bio__name { display: grid; gap: 10px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 17px; color: var(--muted); }
.byline .who a { grid-template-columns: 44px 1fr; }
.byline .who img { width: 44px; height: 44px; }
.toc { display: grid; border-top: 1px solid var(--rule); }
.toc a { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 18px; line-height: 1.35; color: var(--ink); }
.toc a:hover { color: var(--navy); }
.article { font-size: 21px; line-height: 1.65; }
.article .prose { max-width: 36em; }
.cover-lg { width: min(320px, 70vw); box-shadow: 0 34px 60px -30px rgba(22, 20, 45, .6); justify-self: end; }
@media (max-width: 900px) { .cover-lg { justify-self: start; } }

/* Forms --------------------------------------------------------------------------------------------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 14px; border: 1px solid #8A7650; border-radius: 0; background: var(--card); font-size: 19px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: #9A2B1E; }
.field__err { font-size: 16px; color: #8A2418; }
.choice { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; font-size: 18.5px; line-height: 1.45; cursor: pointer; }
.choice input { width: 20px; height: 20px; min-height: 0; margin-top: 4px; accent-color: var(--navy); }
.field .choice { font-size: 18.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

/* Videos */
.videos a { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 0; }
.videos a > span { display: grid; gap: 2px; }
.videos a i { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--rule-2); border-radius: 50%; color: var(--navy); }
.videos a:hover i { background: var(--navy); color: var(--on-night); border-color: var(--navy); }

/* 404 search */
.found { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 32px; border-top: 1px solid var(--rule); }
.found a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 19px; color: var(--ink); }
.found span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Footer: the vault ---------------------------------------------------------------------------------- */
.ftr { background: var(--night); color: var(--on-night-2); }
.ftr .guil-band { color: var(--gold); opacity: .55; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px clamp(32px, 4vw, 64px); padding-block: clamp(56px, 6vw, 88px) 40px; }
.ftr .brand { color: var(--on-night); }
.ftr .brand__sub { color: var(--gold-lite); }
.ftr__motto { margin: 22px 0 18px; font-size: 1.6rem; font-style: italic; line-height: 1.2; color: var(--on-night); }
.ftr__lines { display: grid; gap: 4px; font-size: 18px; }
.ftr__lines a, .ftr__lines address { color: var(--on-night); font-style: normal; }
.ftr h2 { margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lite); }
.ftr__col a { display: block; padding: 6px 0; font-size: 18px; color: var(--on-night-2); }
.ftr__col a:hover, .ftr__lines a:hover { color: var(--on-night); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 22px 32px; border-top: 1px solid var(--night-rule); font-size: 15.5px; color: var(--on-night-3); }
.ftr__base a { color: var(--on-night-2); }
@media (max-width: 980px) { .ftr__top { grid-template-columns: 1fr 1fr; } .ftr__firm { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ftr__top { grid-template-columns: 1fr; } }

/* "Talk with us": a person-first panel, not a chatbot ------------------------------------------------ */
.talk { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 80; display: grid; justify-items: end; gap: 12px; }
.talk__btn { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 7px 22px 7px 7px; border: 1px solid rgba(221, 186, 106, .5); border-radius: 999px; background: var(--night); color: var(--on-night);
  font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; box-shadow: 0 18px 40px -16px rgba(11, 10, 39, .6); }
.talk__btn img { width: 44px; height: 44px; border-radius: 50%; background: var(--on-night); padding: 3px; }
.talk__btn .dot { width: 8px; height: 8px; border-radius: 50%; background: #6FBF73; box-shadow: 0 0 0 3px rgba(111, 191, 115, .22); }
.talk__btn:hover { background: var(--night-2); }
.talk__panel { width: min(380px, calc(100vw - 36px)); max-height: calc(100svh - 120px); overflow-y: auto; background: var(--card); border: 1px solid var(--rule); border-top: 2px solid var(--navy); box-shadow: 0 40px 80px -30px rgba(11, 10, 39, .5); position: relative; }
.talk__head { padding: 24px 52px 18px 24px; background: var(--night); color: var(--on-night); }
.talk__head h2 { font-size: 1.6rem; line-height: 1.1; }
.talk__head h2:focus { outline: none; }
.talk__head p { margin-top: 10px; font-size: 17px; line-height: 1.45; color: var(--on-night-2); }
.talk__close { position: absolute; top: 10px; right: 10px; z-index: 1; width: 40px; height: 40px; border: 0; background: transparent; color: var(--on-night); font-size: 26px; line-height: 1; cursor: pointer; }
.talk__opt { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 24px; border-bottom: 1px solid var(--rule); color: var(--ink); }
.talk__opt b { font-size: 19px; font-weight: 600; }
.talk__opt span { grid-column: 1; font-size: 16px; color: var(--muted); }
.talk__opt i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; color: var(--gold-ink); }
.talk__opt:hover b { color: var(--navy); }
.talk__cb { display: grid; gap: 14px; padding: 18px 24px 24px; }
.talk__cb h3 { font-size: 1.3rem; }
.talk__cb .field input, .talk__cb .field select { min-height: 48px; font-size: 18px; }
.talk__done { padding: 22px 24px 26px; font-size: 18px; }
@media (max-width: 560px) { .talk__btn span:last-child { display: none; } .talk__btn { padding-right: 12px; } }
body:has(.mnav[open]) .talk { display: none; }
@media print { .talk, .film, .util, .mnav, .local { display: none; } .hdr { position: static; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Round 6: search, tools, deep links, smoother navigation ------------------------------------------- */
.hdr__search { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--rule); background: transparent; color: var(--ink-2); font-size: 15px; letter-spacing: .06em; cursor: pointer; }
.hdr__search kbd { padding: 1px 7px; border: 1px solid var(--rule-2); font: inherit; font-size: 13px; color: var(--muted); }
.hdr__search:hover { border-color: var(--navy); color: var(--navy); }
.js .hdr__search { display: inline-flex; }
@media (max-width: 1260px) { .js .hdr__search { margin-left: auto; padding: 0 12px; } .hdr__search span, .hdr__search kbd { display: none; } .mnav { margin-left: 0; } }
.search { width: min(720px, calc(100vw - 32px)); max-height: min(78svh, 720px); margin: 9vh auto auto; padding: 0; border: 1px solid var(--rule); border-top: 2px solid var(--navy); background: var(--card); color: var(--ink); box-shadow: 0 50px 100px -40px rgba(11, 10, 39, .6); }
.search::backdrop { background: rgba(11, 10, 39, .55); }
.search[open] { display: flex; flex-direction: column; }
.search__bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule); color: var(--gold-ink); }
.search__bar input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; font-size: 22px; color: var(--ink); }
.search__bar input:focus { outline: none; }
.search__bar:focus-within { box-shadow: inset 0 -2px 0 var(--navy); }
.search__close { padding: 4px 10px; border: 1px solid var(--rule-2); background: transparent; font-size: 13px; color: var(--muted); cursor: pointer; }
.search__hint { padding: 14px 20px 6px; font-size: 16px; color: var(--muted); }
.search__results { overflow-y: auto; padding: 6px 10px 14px; }
.search__results a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 12px 12px; border-bottom: 1px solid var(--rule); color: var(--ink); }
.search__results a:hover, .search__results a:focus { background: var(--vellum); outline: none; }
.search__results b { font-size: 19px; font-weight: 600; line-height: 1.25; }
.search__results i { grid-row: span 2; align-self: start; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.search__results span { font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.search__results mark { background: rgba(221, 186, 106, .35); color: inherit; }

.tool { padding: clamp(26px, 3vw, 40px); background: var(--card); border: 1px solid var(--rule); border-top: 2px solid var(--gold); }
.tool__form { display: grid; gap: 18px; margin-top: 6px; }
.tool__q { border: 0; margin: 0; padding: 0; display: grid; gap: 2px; }
.tool__q legend { padding: 0 0 6px; font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.tool__q .choice { padding: 6px 0; }
.tool__out { padding: 22px 24px; background: var(--night); color: var(--on-night); }
.tool__out h3 { font-size: 1.6rem; margin-bottom: 10px; color: var(--on-night); }
.tool__out p, .tool__out li { font-size: 18px; line-height: 1.55; color: var(--on-night-2); }
.tool__out ul { display: grid; gap: 8px; margin: 6px 0 14px; padding-left: 20px; list-style: square; }
.tool__out a { color: var(--on-night); text-decoration: underline; text-decoration-color: var(--gold-lite); text-underline-offset: 3px; }
.tool__out:focus { outline: 2px solid var(--gold-lite); }

.path { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--ink); }
.path li { position: relative; display: grid; align-content: start; gap: 6px; padding: 22px 22px 24px 0; border-bottom: 1px solid var(--rule); counter-increment: s; }
.path li::before { content: counter(s, upper-roman); font-style: italic; font-size: 1.15rem; color: var(--gold-ink); }
.path b { font-size: 1.35rem; font-weight: 600; line-height: 1.15; }
.path span { font-size: 17.5px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 760px) { .path { grid-template-columns: 1fr; } .path li { padding-right: 0; } }

.tile--tool { grid-column: span 4; padding: clamp(22px, 2.4vw, 32px); background: var(--card); border: 1px solid var(--rule); border-top: 2px solid var(--gold); }
.tile--tool h3 { font-size: 1.45rem; }
@media (max-width: 1100px) { .tile--tool { grid-column: span 12; } }

.vcard { display: block; margin-top: 14px; text-align: center; font-size: 16px; color: var(--navy); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
.qa__link { margin-top: 10px; font-size: 14px; letter-spacing: .08em; }
.qa__link a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.qa__link a:hover { color: var(--navy); }
.qa details:target summary h3 { color: var(--navy); }
.share { min-height: 36px; padding: 4px 14px; border: 1px solid var(--rule-2); background: transparent; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); cursor: pointer; }
.share:hover { border-color: var(--navy); }

/* Page-to-page transitions where the browser supports them; none for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .hdr { view-transition-name: hdr; }
  .util { view-transition-name: util; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
}
.hdr__search svg { flex: none; }
@media (max-width: 640px) {
  .hdr__in { gap: 10px; }
  .js .hdr__search { width: 44px; padding: 0; justify-content: center; border: 0; }
  .mnav summary.btn { padding: 8px 14px; }
}

@media (min-width: 1261px) and (max-width: 1480px) {
  .hdr__in { gap: 18px; }
  .hdr__search { padding: 0 12px; }
  .hdr__search span, .hdr__search kbd { display: none; }
  .nav__a { padding: 0 10px; letter-spacing: .11em; }
  .hdr__cta { padding: 10px 14px; letter-spacing: .1em; }
  .brand__name { font-size: 21px; }
}

/* Round 7: consultations */
.consults { display: grid; gap: 22px; }
.consult { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px 40px; padding: clamp(24px, 3vw, 36px); background: var(--card); border: 1px solid var(--rule); scroll-margin-top: calc(var(--hdr) + 24px); }
.consult:target { border-color: var(--navy); }
.consult__main { display: grid; gap: 10px; align-content: start; }
.consult__for { font-style: italic; color: var(--ink-2); }
.consult__side { display: grid; gap: 12px; align-content: start; padding-left: 28px; border-left: 1px solid var(--rule); }
.consult__label { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.consult__side .btn { margin-top: 8px; }
.form__review { padding: 16px 18px; background: var(--night); color: var(--on-night); font-size: 18px; }
@media (max-width: 760px) { .consult { grid-template-columns: 1fr; } .consult__side { padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid var(--rule); } }

/* Round 9: a still, with a long, soft fade into the ivory page; straight guilloche bands only */
.film { background: var(--ivory); height: min(78svh, 50vw + 160px); }
.film::after { inset: auto 0 -2px; height: 72%;
  background: linear-gradient(to bottom,
    rgba(246,241,230,0) 0%, rgba(246,241,230,.04) 14%, rgba(246,241,230,.1) 26%, rgba(246,241,230,.2) 38%,
    rgba(246,241,230,.34) 50%, rgba(246,241,230,.5) 61%, rgba(246,241,230,.67) 71%, rgba(246,241,230,.82) 80%,
    rgba(246,241,230,.93) 88%, rgba(246,241,230,.985) 95%, var(--ivory) 100%); }
.guil-band--top { position: absolute; top: 0; left: 0; right: 0; color: var(--gold); opacity: .5; }
.chamber .guil-band--top, .closer .guil-band--top { height: 28px; }
.chamber, .closer { position: relative; }
.guil-band--bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 28px; color: var(--gold); opacity: .5; }

/* Round 9 */
.team-row { display: flex; flex-wrap: wrap; gap: 18px 28px; }
.team-row a { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 18px; }
.team-row img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.team-row a:hover { color: var(--navy); }
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 36px 48px; }
.topic h3 { margin-bottom: 10px; }
.topic h3 a { color: var(--ink); }
.topic .reading { grid-template-columns: 1fr; }
a[data-maps] svg { display: inline; vertical-align: baseline; margin-left: 4px; }

/* Round 11: one wide photograph the width of the page, the headline set over its left side */
.hero { padding-block: clamp(20px, 3vw, 40px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--rule); }
.hero__photo { position: relative; overflow: hidden; aspect-ratio: 2 / 1; background: var(--night); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,10,39,.78) 0%, rgba(11,10,39,.6) 26%, rgba(11,10,39,.28) 42%, rgba(11,10,39,0) 56%); }
.hero__photo h1 { position: absolute; z-index: 1; left: clamp(22px, 4vw, 64px); bottom: clamp(22px, 4.5vw, 72px); max-width: 44%;
  margin: 0; color: #F6F1E6; font-size: clamp(2rem, 4.2vw, 4.4rem); line-height: 1.04; text-shadow: 0 1px 24px rgba(0,0,0,.35); }
.hero__below { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 104px); align-items: start; margin-top: clamp(28px, 3.5vw, 48px); }
.hero__side { display: grid; gap: 22px; }
.motto { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-style: italic; line-height: 1.15; color: var(--navy); padding-left: 18px; border-left: 2px solid var(--gold); }
.hero .creds { margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 760px) {
  .hero__photo { aspect-ratio: 4 / 3; }
  .hero__photo img { object-position: 60% 50%; }
  .hero__photo::after { background: linear-gradient(0deg, rgba(11,10,39,.82) 0%, rgba(11,10,39,.45) 38%, rgba(11,10,39,0) 62%); }
  .hero__photo h1 { max-width: none; right: 22px; font-size: clamp(1.7rem, 7.4vw, 2.4rem); }
  .hero__below { grid-template-columns: 1fr; }
  .hero .creds { display: none; }
}

/* Social links page */
.socs { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.soc { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto; gap: 14px 20px; padding: 22px; background: var(--card); border: 1px solid var(--rule); color: var(--ink); transition: border-color .2s, transform .2s; }
.soc:hover { border-color: var(--navy); transform: translateY(-2px); }
.soc__pic { grid-row: span 2; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--vellum); display: grid; place-items: center; }
.soc__pic img { width: 100%; height: 100%; object-fit: cover; }
.soc__glyph { color: var(--navy); }
.soc__body { display: grid; gap: 4px; align-content: start; }
.soc__name { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.soc__name svg { color: var(--navy); }
.soc__body b { font-size: 1.4rem; font-weight: 600; line-height: 1.15; }
.soc__body > span:last-child { font-size: 17px; line-height: 1.45; color: var(--muted); }
.soc__go { align-self: end; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .soc:hover { transform: none; } }

/* Social marks in the logo's design: navy field, gold ring, gold mark */
.soc__pic { border-radius: 14px; background: var(--navy); box-shadow: inset 0 0 0 4px var(--navy), inset 0 0 0 6px #FBC304; }
.soc__glyph { color: #FBC304; }
.soc:hover .soc__pic { background: var(--night); }

/* Social page, Dec 2: one column, navy marks on a clear background */
.socs { grid-template-columns: 1fr; max-width: 720px; gap: 16px; }
.soc { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; }
.soc__pic { grid-row: auto; width: 64px; height: 64px; background: transparent; box-shadow: none; border-radius: 0; }
.soc:hover .soc__pic { background: transparent; }
.soc__glyph { color: var(--navy); }
.soc__go { align-self: center; }
@media (max-width: 560px) { .soc { grid-template-columns: 48px minmax(0, 1fr); } .soc__pic { width: 48px; height: 48px; } .soc__go { grid-column: 2; } }
.soc__name svg { display: none; }

/* Social page: the platform is the heading, the handle the detail */
.soc__title { font-size: clamp(1.8rem, 2.6vw, 2.3rem); font-weight: 500; line-height: 1.05; color: var(--ink); }
.soc__handle { font-size: 18px; color: var(--muted); }
.soc:hover .soc__title { color: var(--navy); }
.phead:has(+ .socroom) { border-bottom: 0; padding-bottom: 0; }
.socroom { padding-top: clamp(24px, 3vw, 36px); }
