/* Ashcombe — PerfectCMS theme for law firms
   1 Properties  2 Fonts and base  3 Layout  4 Components  5 Sections
   6 Section spacing  7 Touch and mobile  8 Motion  9 Print  10 Cookie consent */

/* 1. Custom properties ---------------------------------------------------- */
:root {
  --bottle: #173b33;
  --brass: #b08d4c;
  --oxblood: #6e2430;
  --parchment: #ede6d6;
  --stone: #e4e6e2;
  --radius: 3px;

  --ink: #18201d;
  --bottle-deep: color-mix(in srgb, var(--bottle) 70%, #000);
  --bottle-soft: color-mix(in srgb, var(--bottle) 82%, var(--parchment));
  --brass-light: color-mix(in srgb, var(--brass) 55%, var(--parchment));
  --white: #fbfbf9;
  --muted: color-mix(in srgb, var(--ink) 66%, var(--stone));
  --line: color-mix(in srgb, var(--ink) 15%, transparent);
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --space: clamp(3.75rem, 8vw, 7rem);
  --shell: 76rem;
}

/* 2. Fonts and base -------------------------------------------------------- */
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 100 900; font-display: swap; src: url(fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2-variations"), url(fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; }
.hero :focus-visible, .band--bottle :focus-visible, .colophon :focus-visible, .contact__aside :focus-visible { outline-color: var(--brass-light); }
::selection { background: var(--brass-light); color: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 50; background: var(--bottle); color: var(--white); padding: .75rem 1rem; }
.skip:focus { top: 1rem; }

/* 3. Layout --------------------------------------------------------------- */
.shell { width: min(100% - 2.75rem, var(--shell)); margin-inline: auto; }
.narrow { max-width: 44rem; }
.band { padding-block: var(--space); }
.band--bottle { background: var(--bottle); color: var(--parchment); }
.band--paper { background: var(--parchment); }
.band__head { max-width: 42rem; margin-block-end: clamp(2rem, 4vw, 3.25rem); }
.band__head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; }
.band__head--row > div { max-width: 42rem; }
.band__title { font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); }
.band__intro { margin-block-start: 1rem; font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.band--bottle .band__intro { color: color-mix(in srgb, var(--parchment) 78%, transparent); }

/* Header */
.masthead { position: sticky; top: 0; z-index: 20; background: var(--stone); border-bottom: 1px solid var(--line); }
.masthead__row { display: flex; align-items: center; gap: 1.75rem; min-height: 5rem; }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; min-height: 44px; flex-shrink: 0; }
.wordmark__logo, .wordmark__mark { width: 44px; height: 44px; object-fit: contain; border-radius: var(--radius); }
.wordmark:has(.wordmark__logo) .wordmark__mark { display: none; }
.wordmark__name { font: 400 1.65rem/1 var(--display); letter-spacing: -0.005em; }
.primary-nav { margin-inline-start: auto; }
.nav { display: flex; gap: .4rem; list-style: none; padding: 0; }
.nav > li { position: relative; }
.nav a { display: flex; align-items: center; min-height: 44px; padding-inline: .75rem; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--oxblood); }
.nav [aria-current="page"], .nav .is-current > a { color: var(--oxblood); box-shadow: inset 0 -2px 0 var(--brass); }
.nav__sub { position: absolute; inset-inline-start: 0; top: 100%; min-width: 16rem; list-style: none; padding: .5rem 0; margin: 0; background: var(--white); border-top: 2px solid var(--bottle); box-shadow: 0 24px 40px -24px rgb(0 0 0 / .4); display: none; }
.nav > li:hover > .nav__sub, .nav > li:focus-within > .nav__sub { display: block; }
.nav__sub a { padding-inline: 1rem; font-weight: 400; }
.nav__sub a:hover { background: var(--parchment); }
.masthead__tel { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; font-variant-numeric: tabular-nums; }
.masthead__tel:hover { color: var(--oxblood); }
.masthead__cta { min-height: 44px; padding-block: .5rem; }
.menu-toggle { display: none; }

/* Footer */
.colophon { background: var(--bottle-deep); color: color-mix(in srgb, var(--parchment) 78%, transparent); font-size: .98rem; padding-block-end: 1.5rem; }
.colophon__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 5rem) 2.5rem; }
.wordmark--light { color: var(--parchment); }
.colophon__pitch { margin-block-start: 1.25rem; max-width: 22rem; font: italic 400 1.35rem/1.35 var(--display); color: var(--parchment); }
.colophon__title { font: 600 .98rem/1.2 var(--body); color: var(--brass-light); margin-block-end: .9rem; }
.colophon ul { list-style: none; padding: 0; display: grid; gap: .15rem; }
.colophon nav a { text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.colophon a:hover { color: var(--white); }
.colophon__col p + p { margin-block-start: .45rem; }
.colophon__col[data-cms-menu], .colophon nav[aria-label="Firm"] { padding-block-start: 2.1rem; }
.colophon__notice { border-top: 1px solid rgb(255 255 255 / .12); padding-block: 1.25rem; font-size: .9rem; max-width: var(--shell); }
.colophon__notice p { max-width: 60rem; }
.colophon__base { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; font-size: .9rem; }
.colophon__cookies { margin-inline-start: auto; background: none; border: 1px solid rgb(255 255 255 / .28); color: inherit; font: inherit; padding: .5rem 1rem; min-height: 40px; border-radius: var(--radius); cursor: pointer; }
.colophon__cookies:hover { border-color: var(--brass-light); color: var(--white); }

/* 4. Components ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.5rem; border: 1px solid transparent; border-radius: var(--radius); font: 600 1rem/1.15 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer; text-align: center; transition: background-color .15s, color .15s, border-color .15s; }
.btn--block { width: 100%; }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-light); }
.btn--bottle { background: var(--bottle); color: var(--parchment); }
.btn--bottle:hover { background: var(--bottle-deep); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.text-link { color: var(--oxblood); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

.prose { font-size: 1.1rem; line-height: 1.75; }
.prose > * + * { margin-block-start: 1.1em; }
.prose h2 { font-size: 2.1rem; margin-block-start: 1.5em; }
.prose h3 { font-size: 1.6rem; margin-block-start: 1.4em; }
.prose a { color: var(--oxblood); }
.prose ul, .prose ol { padding-inline-start: 1.3rem; }
.prose li::marker { color: var(--brass); }
.prose blockquote { font: italic 400 1.6rem/1.35 var(--display); border-inline-start: 2px solid var(--brass); padding-inline-start: 1.25rem; }
.prose--article { font-size: 1.15rem; }
.prose--article > p:first-child::first-letter { float: left; font: 400 4.6rem/.8 var(--display); color: var(--oxblood); margin: .35rem .6rem 0 0; }

.faq__list { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 64px; padding-block: 1.1rem; font: 400 1.6rem/1.2 var(--display); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(var(--oxblood), var(--oxblood)) center / 100% 1.5px no-repeat, linear-gradient(var(--oxblood), var(--oxblood)) center / 1.5px 100% no-repeat; transition: transform .2s; }
.faq__item[open] > .faq__q::after { transform: rotate(45deg); }
.faq__q:hover { color: var(--oxblood); }
.faq__a { padding-block-end: 1.5rem; max-width: 44rem; color: var(--muted); }

/* 5. Sections -------------------------------------------------------------- */

/* Hero */
.hero { position: relative; background: var(--bottle); color: var(--parchment); padding-block: clamp(3.5rem, 8vw, 7rem); overflow: hidden; }
.hero__seal { position: absolute; width: clamp(16rem, 32vw, 28rem); inset-inline-end: -5rem; top: -6rem; opacity: .16; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.hero__title { font-size: clamp(3rem, 1.4rem + 5.6vw, 6.6rem); line-height: .98; letter-spacing: -0.02em; color: var(--white); max-width: 13ch; }
.hero__intro { margin-block-start: 1.75rem; font-size: 1.2rem; max-width: 34rem; color: color-mix(in srgb, var(--parchment) 82%, transparent); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-block-start: 2.25rem; }
.hero__tel { font: 400 1.6rem/1 var(--display); color: var(--white); text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--brass); }
.hero__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-block-end: 2rem; border-radius: var(--radius); filter: grayscale(.25) contrast(1.05); }
.hero__start-title { font: 600 1rem/1.3 var(--body); color: var(--brass-light); margin-block-end: .5rem; }
.starts { list-style: none; padding: 0; border-top: 1px solid color-mix(in srgb, var(--brass) 45%, transparent); }
.starts__item { border-bottom: 1px solid color-mix(in srgb, var(--brass) 45%, transparent); }
.starts__item a { display: flex; align-items: center; min-height: 64px; padding-block: .9rem; font: 400 1.6rem/1.15 var(--display); color: var(--white); text-decoration: none; transition: color .15s, padding .2s; }
.starts__item a:hover { color: var(--brass-light); padding-inline-start: .6rem; }

/* Practice areas: a reference book with thumb-index tabs */
.book { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.book__entry { border-bottom: 1px solid var(--line); }
.book__tab { display: none; }
.book__page { padding-block: 1.75rem; }
.book__clients { font-size: .95rem; font-weight: 600; color: var(--brass); color: color-mix(in srgb, var(--brass) 70%, var(--ink)); margin-block-end: .5rem; }
.book__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.book__title a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.book__title a:hover { color: var(--oxblood); }
.book__summary { margin-block-start: .75rem; font-size: 1.12rem; max-width: 40rem; color: var(--muted); }
.book__matters { list-style: none; padding: 0; margin-block-start: 1.5rem; columns: 2 14rem; column-gap: 2.5rem; }
.book__matters li { break-inside: avoid; position: relative; padding: .5rem 0 .5rem 1.25rem; border-bottom: 1px solid var(--line); }
.book__matters li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.05rem; width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg); }
.book__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 2rem; margin-block-start: 1.75rem; }
.book__fees { font: italic 400 1.3rem/1.3 var(--display); }
.book__more { color: var(--oxblood); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

.js .book__entry:nth-child(1) { --shade: 8%; } .js .book__entry:nth-child(2) { --shade: 16%; } .js .book__entry:nth-child(3) { --shade: 24%; }
.js .book__entry:nth-child(4) { --shade: 32%; } .js .book__entry:nth-child(5) { --shade: 40%; } .js .book__entry:nth-child(6) { --shade: 48%; }
.js .book__entry:nth-child(7) { --shade: 56%; } .js .book__entry:nth-child(8) { --shade: 64%; } .js .book__entry:nth-child(9) { --shade: 72%; }
.js .book__entry:nth-child(10) { --shade: 80%; }
.js .book__tab-full { display: inline; }
.js .book__tab:has(.book__tab-short) .book__tab-full { display: none; }
@media (max-width: 899px) {
  .js .book { display: flex; flex-wrap: wrap; gap: .3rem; border-top: 0; }
  .js .book__entry { display: contents; }
  .js .book__tab { display: flex; justify-content: center; align-items: center; flex: 1 1 auto; min-height: 48px; padding: .55rem .9rem; border: 0; cursor: pointer;
    border-radius: calc(var(--radius) * 3 + 6px) calc(var(--radius) * 3 + 6px) 0 0; font: 400 1.2rem/1.1 var(--display); color: var(--ink);
    background: color-mix(in srgb, var(--brass) var(--shade, 20%), var(--parchment)); }
  .js .book__entry.is-on .book__tab { background: var(--parchment); color: var(--oxblood); box-shadow: inset 0 3px 0 var(--oxblood); }
  .js .book__page { display: none; order: 1; flex: 1 1 100%; margin-block-start: -.3rem; background: var(--parchment); padding: 1.75rem 1.4rem 1.5rem; border-radius: 0 0 var(--radius) var(--radius); }
  .js .book__entry.is-on .book__page { display: block; }
}
@media (min-width: 900px) {
  .js .book { --n: 8; display: grid; grid-template-columns: minmax(0, 1fr) 15.5rem; grid-template-rows: repeat(var(--n), auto) 1fr; border-top: 0; align-items: start; }
  .js .book__entry { display: contents; }
  .js .book__tab {
    grid-column: 2; display: flex; align-items: center; width: 100%; min-height: 3.5rem; margin-block-end: 3px; padding: .7rem 1.1rem .7rem 1.4rem;
    border: 0; border-radius: 0 calc(var(--radius) * 3 + 6px) calc(var(--radius) * 3 + 6px) 0; cursor: pointer; text-align: start;
    font: 400 1.35rem/1.1 var(--display); color: var(--ink);
    background: color-mix(in srgb, var(--brass) var(--shade, 20%), var(--parchment));
    box-shadow: inset 6px 0 8px -6px rgb(0 0 0 / .35);
    transform: translateX(-6px); transition: transform .2s, background-color .2s, color .2s;
  }
  .js .book__tab:hover { transform: translateX(0); }
  .js .book__tab:has(.book__tab-short) .book__tab-full { display: none; }
  .js .book__entry.is-on .book__tab { background: var(--parchment); color: var(--oxblood); box-shadow: none; transform: translateX(-12px); padding-inline-start: 1.8rem; position: relative; z-index: 2; }
  .js .book__page {
    grid-column: 1; grid-row: 1 / -1; display: none; position: relative; z-index: 1; min-height: 100%;
    background: var(--parchment); padding: clamp(2rem, 4vw, 3.75rem) clamp(2rem, 5vw, 4.5rem);
    border-radius: var(--radius) 0 0 var(--radius);
    box-shadow: -1px 0 0 var(--line), 0 30px 50px -30px rgb(0 0 0 / .35);
  }
  .js .book__page::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 18px; background: linear-gradient(90deg, rgb(0 0 0 / .1), transparent); border-radius: var(--radius) 0 0 var(--radius); }
  .js .book__entry.is-on .book__page { display: block; animation: page-in .3s ease-out; }
  .js .book__title { font-size: clamp(2.6rem, 1.6rem + 2.6vw, 4rem); }
  @keyframes page-in { from { opacity: 0; } }
}

/* Process: numbered like clauses */
.approach { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.clauses { list-style: none; padding: 0; counter-reset: clause; display: grid; gap: 0; }
.clause { counter-increment: clause; display: grid; grid-template-columns: 4rem minmax(0, 1fr); column-gap: 1rem; padding-block: 1.6rem; border-top: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
.clause::before { content: counter(clause) "."; grid-row: span 2; font: 400 3rem/.9 var(--display); color: var(--brass); color: color-mix(in srgb, var(--brass) 80%, var(--ink)); }
.clause__title { font-size: 1.8rem; }
.clause__text { margin-block-start: .5rem; color: var(--muted); max-width: 34rem; }

/* People */
.roster { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 2.5rem 1.75rem; }
.counsel { position: relative; }
.counsel__photo { aspect-ratio: 4 / 5; background: var(--bottle) url(images/seal.svg) center / 55% no-repeat; border-radius: var(--radius); overflow: hidden; margin-block-end: 1.1rem; }
.counsel__photo:has(img) { background: var(--bottle); }
.counsel__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.counsel:nth-child(even) .counsel__photo:not(:has(img)) { background-color: var(--bottle-soft); }
.counsel__name { font-size: 1.75rem; }
.counsel__name a { text-decoration: none; }
.counsel__name a::after { content: ""; position: absolute; inset: 0; }
.counsel:hover .counsel__name a { color: var(--oxblood); }
.counsel__role { font-weight: 600; margin-block-start: .3rem; }
.counsel__practice { color: var(--muted); }
.counsel__called { font-size: .92rem; color: var(--muted); margin-block-start: .35rem; }

/* Matters: a ledger */
.matters { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.matters__note { margin-block-start: 1.5rem; font-size: .92rem; color: color-mix(in srgb, var(--parchment) 65%, transparent); }
.ledger { list-style: none; padding: 0; }
.ledger__row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .5rem 2rem; padding-block: 1.6rem; border-top: 1px solid color-mix(in srgb, var(--brass) 40%, transparent); }
.ledger__row:last-child { border-bottom: 1px solid color-mix(in srgb, var(--brass) 40%, transparent); }
.ledger__area { font-weight: 600; color: var(--brass-light); display: flex; flex-direction: column; }
.ledger__year { font-weight: 400; color: color-mix(in srgb, var(--parchment) 60%, transparent); font-variant-numeric: tabular-nums; }
.ledger__text { font: 400 1.55rem/1.3 var(--display); color: var(--white); }

/* Pull quote */
.pull { max-width: 60rem; }
.pull__quote { position: relative; padding-block-start: 3.5rem; }
.pull__quote::before { content: "\201C"; position: absolute; top: -1rem; inset-inline-start: -.25rem; font: 400 8rem/1 var(--display); color: var(--brass); }
.pull__quote p { font: italic 400 clamp(2rem, 1.2rem + 2.8vw, 3.5rem)/1.15 var(--display); letter-spacing: -0.01em; }
.pull__who { margin-block-start: 1.75rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; }
.pull__name { font-weight: 600; }
.pull__role { color: var(--muted); }

/* Guides */
.guides { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 2.5rem 2rem; }
.guide { position: relative; border-top: 2px solid var(--ink); padding-block-start: 1.25rem; display: flex; flex-direction: column; }
.guide__topic { font-size: .95rem; font-weight: 600; color: var(--oxblood); margin-block-end: .6rem; }
.guide__title { font-size: 1.9rem; }
.guide__title a { text-decoration: none; }
.guide__title a::after { content: ""; position: absolute; inset: 0; }
.guide:hover .guide__title a { text-decoration: underline; text-decoration-color: var(--brass); }
.guide__summary { margin-block-start: .6rem; color: var(--muted); }
.guide__meta { margin-block-start: 1rem; font-size: .92rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }

/* CTA */
.cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; }
.cta__title { font-size: clamp(2.6rem, 1.5rem + 3.6vw, 5rem); color: var(--white); }
.cta__text { font-size: 1.15rem; color: color-mix(in srgb, var(--parchment) 82%, transparent); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-block-start: 1.5rem; }
.cta__tel { font: 400 1.6rem/1 var(--display); color: var(--white); text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--brass); }

/* Page heading */
.page-head { padding-block: clamp(3rem, 7vw, 5.5rem) var(--space); }
.crumbs { font-size: .95rem; color: var(--muted); margin-block-end: 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.crumbs a { color: var(--oxblood); }
.page-head__title { font-size: clamp(3rem, 1.6rem + 5vw, 6rem); letter-spacing: -0.02em; line-height: .98; max-width: 16ch; }
.page-head__intro { margin-block-start: 1.4rem; font-size: 1.22rem; max-width: 40rem; color: var(--muted); }
.page-head .book__clients, .page-head .guide__topic { font-size: 1.05rem; }
.page-head--lost { min-height: 50vh; }
.page-head--article .page-head__title { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); }
.byline { margin-block-start: 1.5rem; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-weight: 600; }
.byline__time { font-weight: 400; color: var(--muted); }
.lost__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: 2rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.form { background: var(--white); padding: clamp(1.4rem, 4vw, 3rem); border-top: 3px solid var(--bottle); border-radius: var(--radius); display: grid; gap: 1.2rem; }
.form__title { font-size: 2.4rem; }
.form__warning { background: color-mix(in srgb, var(--oxblood) 7%, var(--white)); border-inline-start: 3px solid var(--oxblood); padding: .9rem 1.1rem; font-size: .98rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .98rem; }
.field__hint { font-weight: 400; color: var(--muted); font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--white); border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: var(--radius); padding: .75rem .9rem; min-height: 50px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bottle); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bottle) 20%, transparent); }
.form .btn { justify-self: start; }
.contact__aside { background: var(--bottle); color: var(--parchment); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius); position: sticky; top: 7rem; }
.contact__title { font-size: 2.2rem; color: var(--white); margin-block-end: .75rem; }
.contact__tel { display: inline-flex; align-items: center; min-height: 48px; font: 400 2.3rem/1 var(--display); color: var(--white); text-decoration: none; border-bottom: 1px solid var(--brass); margin-block: 1.25rem 1.5rem; }
.contact__facts { display: grid; gap: 1rem; font-size: .98rem; }
.contact__facts dt { font-weight: 600; color: var(--brass-light); font-size: .92rem; }

/* Practice-area page, lawyer profile, article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.article__main { max-width: 44rem; }
.article__sub { font-size: 2rem; margin-block-end: .75rem; }
.article__faq { margin-block-start: 3rem; }
.article__notice { margin-block-start: 3rem; padding: 1.25rem 1.4rem; background: var(--parchment); border-inline-start: 3px solid var(--brass); font-size: .98rem; }
.article__notice a { color: var(--oxblood); font-weight: 600; }
.brief { position: sticky; top: 7rem; background: var(--parchment); padding: 1.75rem; border-radius: var(--radius); display: grid; gap: 1.25rem; }
.brief__title { font-size: 1.6rem; margin-block-end: .5rem; }
.brief__list { list-style: none; padding: 0; }
.brief__list li { position: relative; padding: .45rem 0 .45rem 1.2rem; border-bottom: 1px solid var(--line); }
.brief__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .95rem; width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg); }
.brief__fees { font: italic 400 1.3rem/1.3 var(--display); }
.brief__tel { justify-self: center; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--oxblood); }
.brief__facts { display: grid; gap: .9rem; }
.brief__facts dt { font-size: .88rem; color: var(--muted); }
.brief__facts dd { font-weight: 500; overflow-wrap: anywhere; }
.brief__facts a { color: var(--oxblood); }
.profile__grid { display: grid; grid-template-columns: minmax(14rem, 19rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.profile__side { display: grid; gap: 1.5rem; position: sticky; top: 7rem; }
.counsel__photo--large { margin: 0; }
.profile__main { max-width: 44rem; }
.profile__role { margin-block: .9rem 2rem; font-size: 1.15rem; font-weight: 600; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.profile__practice { font-weight: 400; color: var(--muted); }
.profile__edu { margin-block-start: 2.5rem; }
.list-inline:not(:last-child)::after { content: ", "; }

/* Maintenance */
.maintenance { min-height: 100vh; display: grid; place-items: center; background: var(--bottle); color: var(--parchment); }
.maintenance .page-head__title { color: var(--white); }
.maintenance__box { text-align: center; display: grid; gap: 1.25rem; justify-items: center; padding: 2rem; max-width: 34rem; }

/* 6. Section spacing --------------------------------------------------------
   Plain sections share the space between them; coloured bands keep their own
   padding, and the section after a coloured band gets full space. */
.page-head + .band:not(.band--bottle, .band--paper) { padding-top: 0; }
.band:not(.band--bottle, .band--paper) + .band:not(.band--bottle, .band--paper) { padding-top: 0; }
.band:not(.band--bottle, .band--paper) + .sec--quote, .sec--quote + .band:not(.band--bottle, .band--paper) { padding-top: var(--space); }
.band:not(.band--bottle, .band--paper) + .sec--quote { border-top: 1px solid var(--line); margin-inline: auto; }

/* 7. Touch and mobile ------------------------------------------------------ */
@media (max-width: 1100px) {
  .masthead__tel { display: none; }
  .colophon__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .masthead__row { gap: .75rem; min-height: 4.5rem; flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 1rem; background: transparent; border: 1px solid var(--ink); border-radius: var(--radius); font: 600 1rem var(--body); color: var(--ink); cursor: pointer; }
  .menu-toggle[aria-expanded="true"] { background: var(--ink); color: var(--white); }
  html:not(.js) .menu-toggle { display: none; }
  .masthead__cta { margin-inline-start: auto; }
  .primary-nav { order: 9; flex-basis: 100%; margin-inline-start: 0; }
  .js .primary-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--stone); border-bottom: 2px solid var(--bottle); max-height: calc(100dvh - 5rem); overflow-y: auto; padding: .5rem 1.4rem 1.5rem; }
  .js .primary-nav.is-open { display: block; }
  .nav { flex-direction: column; gap: 0; }
  .nav a { min-height: 54px; border-bottom: 1px solid var(--line); font: 400 1.5rem/1.1 var(--display); padding-inline: 0; }
  .nav__sub { position: static; display: block; border: 0; box-shadow: none; background: none; padding: 0 0 0 1rem; min-width: 0; }
  .nav__sub a { font: 400 1.05rem/1.2 var(--body); min-height: 48px; }
  .nav [aria-current="page"], .nav .is-current > a { box-shadow: inset 3px 0 0 var(--brass); padding-inline-start: .75rem; }
  .hero__grid, .approach, .matters, .faq, .cta, .contact, .article, .profile__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__aside, .brief, .profile__side { position: static; }
  .profile__side { max-width: 22rem; }
  .book__matters { display: none; }
}
@media (max-width: 980px), (pointer: coarse) {
  .crumbs a, .colophon nav a, .colophon a, .contact__facts a, .brief__facts a, .colophon__credit { display: inline-flex; align-items: center; min-height: 44px; }
  .colophon__cookies { min-height: 44px; }
}
@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; }
  .colophon__grid { grid-template-columns: 1fr; gap: 2rem; }
  .colophon__col[data-cms-menu], .colophon nav[aria-label="Firm"] { padding-block-start: 0; }
  .colophon__cookies { margin-inline-start: 0; }
  .ledger__row { grid-template-columns: minmax(0, 1fr); }
  .ledger__area { flex-direction: row; gap: .75rem; }
  .ledger__text { font-size: 1.35rem; }
  .masthead__cta { display: none; }
  .menu-toggle { margin-inline-start: auto; }
  .clause { grid-template-columns: 2.75rem minmax(0, 1fr); }
  .clause::before { font-size: 2.3rem; }
  .starts__item a { font-size: 1.4rem; }
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .counsel__name { font-size: 1.4rem; }
  .hero__seal { width: 13rem; top: -4rem; inset-inline-end: -4rem; }
}
@media (max-width: 349px) {
  .wordmark__name { font-size: 1.3rem; }
}

/* 8. Motion: only the book page turns; nothing moves on its own */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 9. Print */
@media print {
  .masthead, .colophon__base, .hero__actions, .contact__aside, .book__tab { display: none !important; }
  .hero, .band--bottle { background: none !important; color: #000 !important; }
  .js .book__page { display: block !important; }
}

/* 10. Cookie consent ------------------------------------------------------- */
body .pcms-consent { background: var(--white); color: var(--ink); border-top: 3px solid var(--bottle); font-family: var(--body); font-size: 1rem; box-shadow: 0 -20px 40px -24px rgb(0 0 0 / .35); }
body .pcms-consent__text { color: var(--ink); }
body .pcms-consent__text h2, body .pcms-consent__text strong { font-family: var(--display); font-weight: 400; font-size: 1.6rem; }
body .pcms-consent a { color: var(--oxblood); }
body .pcms-consent button, body .pcms-consent-panel button { min-height: 48px; padding: .6rem 1.3rem; border-radius: var(--radius); font: 600 1rem/1.1 var(--body); cursor: pointer; background: var(--bottle); color: var(--parchment); border: 1px solid var(--bottle); }
body .pcms-consent button:hover, body .pcms-consent-panel button:hover { background: var(--bottle-deep); }
body .pcms-consent .pcms-consent__choose { background: transparent; color: var(--ink); border-color: var(--ink); }
body .pcms-consent .pcms-consent__choose:hover { background: var(--stone); color: var(--ink); }
body .pcms-consent button:focus-visible, body .pcms-consent-panel button:focus-visible, body .pcms-consent-panel input:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; }
body .pcms-consent-panel { background: rgb(15 30 26 / .6); font-family: var(--body); }
body .pcms-consent-panel__box { background: var(--white); color: var(--ink); border-radius: var(--radius); border-top: 3px solid var(--brass); max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; }
body .pcms-consent-panel h2 { font-family: var(--display); font-weight: 400; font-size: 2rem; }
body .pcms-consent-panel li { border-bottom: 1px solid var(--line); padding-block: .8rem; }
body .pcms-consent-panel input { accent-color: var(--bottle); width: 22px; height: 22px; }
body .pcms-consent-panel__actions { gap: .6rem; }
body .pcms-embed-wait { background: var(--parchment); color: var(--ink); padding: 1.5rem; border-radius: var(--radius); }
body .pcms-embed-wait button { min-height: 44px; background: var(--bottle); color: var(--parchment); border: 0; border-radius: var(--radius); padding: .5rem 1rem; font: 600 1rem var(--body); cursor: pointer; }
body:has(.pcms-consent:not([hidden])) .colophon { padding-bottom: calc(1.5rem + var(--consent-h, 12rem)); }
