@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Align Law palette, from the firm's existing site */
  --green: #0f3d2e;
  --background: #f7f9f7;
  --ink: #0b1f16;
  --muted: #5d6b63;
  --border: #dfe7e3;
  --soft: #e9f3ee;
  --white: #ffffff;
  --button-soft: #eef5f1;
  --chip-border: #d8e6df;
  /* Functional additions */
  --on-green: rgb(255 255 255 / .84);
  --raised: rgb(255 255 255 / .08);
  --control-border: #7f9188;
  --error: #9b2c1f;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 24px;
  --radius-inner: 18px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --shadow: 0 1px 2px rgb(11 31 22 / .04), 0 18px 40px -24px rgb(11 31 22 / .22);
  --ease: 220ms cubic-bezier(.2, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--background); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); overflow-wrap: break-word; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
main:focus { outline: none; }
::selection { background: var(--green); color: var(--white); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--green); text-wrap: balance; }
h1 { font-size: clamp(2.625rem, 1.7rem + 3.9vw, 4.75rem); line-height: 1.03; letter-spacing: -.026em; }
h2 { font-size: clamp(2.125rem, 1.6rem + 2.1vw, 3.375rem); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.012em; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.55; }

.container { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 12px 20px; border-radius: 12px; background: var(--green); color: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: none; outline-color: var(--white); outline-offset: -6px; }
.icon { display: inline-block; flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }

/* Buttons and links */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border: 1px solid var(--green); border-radius: 999px; background: var(--green); color: var(--white); font-weight: 600; font-size: 1rem; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; transition: background-color var(--ease), border-color var(--ease), color var(--ease); }
.button:hover { background: var(--ink); border-color: var(--ink); }
.button-soft { background: var(--button-soft); border-color: var(--chip-border); color: var(--green); }
.button-soft:hover { background: var(--chip-border); border-color: var(--chip-border); }
.button-light { background: var(--white); border-color: var(--white); color: var(--green); }
.button-light:hover { background: var(--chip-border); border-color: var(--chip-border); }
.button-outline { background: transparent; border-color: rgb(255 255 255 / .45); }
.button-outline:hover { background: var(--raised); border-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--green); font-weight: 600; text-decoration-color: var(--control-border); }
.text-link .icon, .area-name .icon { transition: transform var(--ease); }
.text-link:hover .icon, .area-cards a:hover .area-name .icon { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; z-index: 20; top: 0; background: var(--background); border-bottom: 1px solid var(--border); }
.header-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px 12px; min-height: 76px; }
.logo { display: inline-block; justify-self: start; border-radius: 8px; }
.logo img { width: 58px; height: auto; }
.header-cta { min-height: 46px; padding: 10px 18px; white-space: nowrap; }
.site-nav { grid-column: 1 / -1; grid-row: 2; padding-bottom: 12px; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; font-weight: 500; text-decoration: none; transition: background-color var(--ease), color var(--ease); }
.site-nav a:hover { color: var(--green); background: var(--button-soft); }
.site-nav a[aria-current] { background: var(--soft); color: var(--green); font-weight: 600; }
.menu-toggle { display: none; position: relative; width: 46px; height: 46px; padding: 0; border: 1px solid var(--chip-border); border-radius: 50%; background: var(--button-soft); cursor: pointer; }
.menu-toggle span { position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: var(--green); transition: transform var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 71.99em) {
  .js .menu-toggle { display: block; }
  .js .site-nav { display: none; }
  .js .menu-open .site-nav { display: block; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 78px); overflow-y: auto; padding: 12px var(--gutter) 24px; background: var(--background); border-bottom: 1px solid var(--border); box-shadow: 0 30px 40px -30px rgb(11 31 22 / .35); }
  .js .site-nav ul { display: grid; }
  .js .site-nav a { min-height: 58px; padding-inline: 18px; border-radius: 14px; font: 400 1.4375rem/1.2 var(--serif); }
}
@media (max-width: 23.99em) {
  .logo img { width: 50px; }
  .header-cta { padding-inline: 14px; font-size: .9375rem; }
  .header-inner { column-gap: 8px; }
}
@media (min-width: 72em) {
  /* Equal outer columns keep the navigation centered on the page itself. */
  .header-inner { grid-template-columns: 1fr auto 1fr; min-height: 92px; }
  .logo img { width: 68px; }
  .site-nav { grid-column: 2; grid-row: 1; padding: 0; }
  .site-nav ul { flex-wrap: nowrap; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); }
  .site-nav a { padding-inline: 17px; white-space: nowrap; font-size: 1rem; }
  .header-cta { grid-column: 3; justify-self: end; }
}

html:not(.js) .site-header { position: static; }

/* Home hero */
.hero { position: relative; overflow: clip; }
.hero-grid { display: grid; gap: 48px; padding-block: clamp(44px, 7vw, 88px) clamp(56px, 8vw, 96px); }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 36ch; margin-top: 24px; color: var(--muted); }
.hero .actions { margin-top: 32px; }
.hero-portrait, .founder-portrait { position: relative; }
.hero-portrait img, .founder-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: var(--radius); }
.hero-portrait { max-width: 520px; isolation: isolate; }
.hero-portrait::before { content: ""; position: absolute; z-index: -1; inset: 64px -100vw -28px 34%; border-radius: 32px 0 0 32px; background: var(--green); }
figcaption { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--white); color: var(--green); font-weight: 600; font-size: 1rem; line-height: 1.35; box-shadow: var(--shadow); }
@media (min-width: 60em) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
  .hero-portrait { width: 100%; max-width: 480px; justify-self: center; }
  .hero-portrait::before { inset: -44px -100vw 72px 42%; }
  .hero-portrait figcaption { left: -28px; bottom: 32px; max-width: none; }
}

/* Intro */
.intro { display: grid; gap: 24px; }
.intro p + p { margin-top: 16px; color: var(--muted); }
.intro .text-link { margin-top: 16px; }
@media (min-width: 60em) { .intro { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); } .intro h2 { max-width: 12ch; } }

/* Practice showcase */
.showcase { padding-block: clamp(72px, 9vw, 112px); border-radius: clamp(28px, 4vw, 48px); background: var(--green); color: var(--on-green); }
.showcase h2, .showcase h3 { color: var(--white); }
.showcase h2 { text-align: center; }
.showcase :focus-visible, .page-hero :focus-visible, .location-panel :focus-visible, .invite :focus-visible, .inquiry-intro :focus-visible { outline-color: var(--white); }
.tab-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: fit-content; max-width: 100%; margin: 32px auto; padding: 6px; border-radius: 30px; background: var(--raised); }
.tab-list a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 20px; border-radius: 999px; color: var(--white); font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color var(--ease), color var(--ease); }
.tab-list a:hover { background: var(--raised); }
.tab-list a[aria-selected="true"] { background: var(--white); color: var(--green); }
.tab-panels { display: grid; gap: 20px; }
.practice-panel { display: grid; width: 100%; max-width: 1000px; margin-inline: auto; padding: 10px; border-radius: 28px; background: var(--raised); }
.js .practice-panel { animation: panel-in 240ms ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.practice-media { overflow: hidden; border-radius: 20px; background: var(--chip-border); }
.practice-media img { width: 100%; height: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 250ms ease-out; }
.practice-panel:hover .practice-media img { transform: scale(1.02); }
.practice-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 18px 22px; }
.practice-copy h3 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); letter-spacing: -.02em; }
.practice-copy .button { margin-top: 16px; }
@media (min-width: 40em) { .tab-list { display: flex; } }
@media (min-width: 48em) {
  .practice-panel { grid-template-columns: 1fr 1fr; }
  .practice-media img { aspect-ratio: 10 / 11; }
  .practice-copy { padding: clamp(24px, 3.5vw, 44px); }
  .practice-copy .button { margin-top: auto; }
}

/* Process */
.process { counter-reset: step; display: grid; gap: 16px; margin-top: 44px; }
.process li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.process li::before { content: counter(step); margin-bottom: 12px; color: var(--green); font: 300 3.25rem/1 var(--serif); }
.process p { color: var(--muted); }
@media (min-width: 56em) { .process { grid-template-columns: repeat(3, 1fr); } .process li::before { margin-bottom: 76px; } }

/* FAQ */
.split-section { display: grid; gap: 32px; }
.split-heading p { margin-top: 16px; color: var(--muted); }
.faq-list { display: grid; align-content: start; gap: 10px; }
.faq-list details { border: 1px solid var(--border); border-radius: var(--radius-inner); background: var(--white); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 16px 20px 16px 24px; border-radius: var(--radius-inner); color: var(--green); font: 400 1.3125rem/1.3 var(--serif); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-mark { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); transition: background-color var(--ease); }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; top: 17px; left: 11px; width: 14px; height: 2px; background: var(--green); transition: transform var(--ease); }
.faq-mark::after { transform: rotate(90deg); }
summary:hover .faq-mark { background: var(--chip-border); }
details[open] .faq-mark::after { transform: none; }
.faq-answer { max-width: 66ch; padding: 0 24px 24px; color: var(--muted); }
.faq-answer a { color: var(--green); font-weight: 600; }
@media (min-width: 60em) { .split-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 64px; } }

/* Inquiry form */
.inquiry-panel { display: grid; padding: 10px; border-radius: 32px; background: var(--green); color: var(--on-green); }
.inquiry-intro { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px) clamp(16px, 3.5vw, 48px); }
.inquiry-intro h2 { color: var(--white); }
.inquiry-intro > p { margin-top: 20px; max-width: 42ch; }
.plain-details { display: grid; gap: 20px; margin-top: 36px; }
.plain-details dt { color: var(--white); font-weight: 600; }
.plain-details a { display: inline-flex; align-items: center; min-height: 44px; }
.inquiry-form { display: grid; align-content: start; gap: 22px 18px; min-width: 0; padding: clamp(20px, 3.5vw, 40px); border-radius: var(--radius); background: var(--white); color: var(--ink); }
.field, .field-wide { min-width: 0; border: 0; }
.field > label:not(.acknowledge), .field legend { display: block; padding: 0; margin-bottom: 8px; font-weight: 600; line-height: 1.35; }
.optional, .hint { color: var(--muted); font-weight: 400; }
.hint { font-size: 1rem; line-height: 1.45; }
.field .hint { margin-bottom: 10px; }
.field input:not([type="radio"], [type="checkbox"]), .field select, .field textarea { display: block; width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--control-border); border-radius: 12px; background: var(--background); transition: border-color var(--ease), background-color var(--ease); }
.field select { appearance: none; padding-right: 44px; background: var(--background) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3d2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 20px; }
.field textarea { min-height: 124px; resize: vertical; }
.field :is(input, select, textarea):hover { border-color: var(--green); }
.field :is(input, select, textarea):focus { outline: 3px solid var(--green); outline-offset: 1px; }
.field :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-error { margin-top: 8px; color: var(--error); font-weight: 600; font-size: 1rem; line-height: 1.4; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: flex; flex: 1 1 120px; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; border: 1px solid var(--control-border); border-radius: 12px; background: var(--background); cursor: pointer; transition: border-color var(--ease), background-color var(--ease); }
.choice:hover, .choice:has(:checked) { border-color: var(--green); }
.choice:has(:checked) { background: var(--soft); }
.inquiry-form :is([type="radio"], [type="checkbox"]) { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--green); }
.acknowledge { display: flex; gap: 14px; padding: 16px; border-radius: 14px; background: var(--button-soft); font-size: 1rem; line-height: 1.5; cursor: pointer; }
.inquiry-form .acknowledge input { margin-top: 1px; }
.demo-note { padding: 14px 18px; border: 1px solid var(--chip-border); border-radius: 14px; background: var(--soft); color: var(--green); line-height: 1.5; }
.demo-note strong { display: block; }
.inquiry-form { position: relative; }
.form-status:empty { position: absolute; }
.form-status:not(:empty) { padding: 14px 18px; border-radius: 14px; background: var(--green); color: var(--white); font-weight: 600; line-height: 1.45; }
.form-status:is([data-state="invalid"], [data-state="failed"]):not(:empty) { background: #fbefec; color: var(--error); box-shadow: inset 0 0 0 1px currentColor; }
.form-end { display: grid; gap: 12px; }
.form-end .hint { text-align: center; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 40em) {
  .inquiry-form { grid-template-columns: 1fr 1fr; }
  .field-wide, .demo-note, .form-status { grid-column: 1 / -1; }
}
@media (min-width: 60em) { .inquiry-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }

/* Watermark made from the firm's own mark */
.page-hero::after, .inquiry-intro::after { content: ""; position: absolute; aspect-ratio: 984 / 900; background: rgb(255 255 255 / .07); -webkit-mask: url("../img/align-law-mark.webp") center / contain no-repeat; mask: url("../img/align-law-mark.webp") center / contain no-repeat; pointer-events: none; }
.inquiry-intro::after { display: none; left: -24px; bottom: -28px; width: 320px; }
@media (min-width: 60em) { .inquiry-intro::after { display: block; } }

/* Interior page introduction */
.page-hero { position: relative; overflow: hidden; margin: 12px 12px 0; padding-block: clamp(64px, 9vw, 120px); border-radius: clamp(24px, 3vw, 36px); background: var(--green); color: var(--on-green); }
.page-hero::after { top: 50%; right: max(-40px, calc(50vw - 660px)); width: clamp(260px, 33vw, 440px); transform: translateY(-50%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 15ch; color: var(--white); }
.page-hero .lead { max-width: 44ch; margin-top: 22px; }
.page-hero .actions, .jump-links { margin-top: 32px; }
.jump-links { display: flex; flex-wrap: wrap; gap: 10px; }
.jump-links a { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 20px; border: 1px solid rgb(255 255 255 / .32); border-radius: 999px; color: var(--white); font-weight: 600; font-size: 1rem; text-decoration: none; transition: background-color var(--ease), color var(--ease); }
.jump-links a:hover { background: var(--white); color: var(--green); }
@media (max-width: 47.99em) { .page-hero::after { top: auto; bottom: -70px; right: -70px; transform: none; } }

/* About */
.founder { display: grid; gap: 40px; }
.founder-portrait { max-width: 520px; }
.founder .lead { margin-block: 20px 16px; }
.founder p + p { color: var(--muted); margin-bottom: 16px; }
.founder .button { margin-top: 16px; }
@media (min-width: 48em) { .founder { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(36px, 7vw, 96px); } }
.values-band { padding-block: var(--section); background: var(--soft); }
.values { display: grid; gap: 16px; margin-top: 40px; }
.values li { padding: 26px; border-radius: var(--radius); background: var(--white); }
.value-icon { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--soft); color: var(--green); }
.values h3 { margin: 24px 0 8px; }
.values p { color: var(--muted); }
@media (min-width: 40em) { .values { grid-template-columns: 1fr 1fr; } }
@media (min-width: 72em) { .values { grid-template-columns: repeat(4, 1fr); } }
.area-cards { display: grid; gap: 16px; margin-top: 40px; }
.area-cards a { display: grid; grid-template-columns: 112px 1fr; align-items: center; height: 100%; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--green); text-decoration: none; transition: border-color var(--ease), box-shadow var(--ease); }
.area-cards a:hover { border-color: var(--control-border); box-shadow: var(--shadow); }
.area-image { overflow: hidden; border-radius: 17px; }
.area-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.area-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; font: 400 1.4375rem/1.2 var(--serif); }
@media (min-width: 40em) { .area-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60em) { .area-cards { grid-template-columns: repeat(4, 1fr); } .area-cards a { grid-template-columns: 1fr; } .area-name { font-size: 1.375rem; } }

/* Practice areas */
.practice-list { display: grid; gap: clamp(72px, 9vw, 120px); }
.practice-row { display: grid; gap: 32px; }
.practice-row .practice-media { border-radius: var(--radius); }
.practice-detail .lead { margin-top: 18px; }
.practice-detail .lead + p { margin-top: 14px; color: var(--muted); }
.practice-detail h3 { margin-top: 32px; }
.question-list { margin: 12px 0 32px; border-top: 1px solid var(--border); }
.question-list li { padding: 13px 0; border-bottom: 1px solid var(--border); }
.quiet-note { max-width: 68ch; color: var(--muted); }
@media (min-width: 60em) { .practice-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(36px, 7vw, 96px); } }

/* Resources */
.resource-layout { display: grid; gap: 40px; }
.resource-index h2 { font-size: 1.5rem; }
.resource-index ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.resource-index a { display: flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--chip-border); border-radius: 999px; background: var(--button-soft); color: var(--green); font-weight: 600; font-size: 1rem; line-height: 1.3; text-decoration: none; transition: background-color var(--ease); }
.resource-index a:hover { background: var(--chip-border); }
.resource-note { display: grid; gap: 10px; padding: 24px; border-radius: var(--radius-inner); background: var(--soft); }
.resource-group { margin-top: clamp(48px, 6vw, 72px); }
.resource-group h2 { font-size: clamp(1.875rem, 1.6rem + 1.2vw, 2.5rem); }
.resource-group > p { margin-top: 8px; color: var(--muted); }
.resource-group ul { margin-top: 20px; border-top: 1px solid var(--border); }
.resource-group li { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.resource-group li p { color: var(--muted); }
.resource-link { display: inline-block; padding-block: 10px; color: var(--green); font-weight: 600; font-size: 1.125rem; line-height: 1.4; text-decoration-color: var(--control-border); }
.resource-link:hover, .resource-phone:hover { text-decoration-thickness: 2px; }
.resource-phone { display: inline-block; padding-block: 8px; color: var(--green); font-weight: 600; white-space: nowrap; }
.resource-type { justify-self: start; padding: 4px 12px; border: 1px solid var(--chip-border); border-radius: 999px; background: var(--white); color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.resource-type.is-official { background: var(--soft); color: var(--green); font-weight: 600; }
@media (min-width: 40em) { .resource-group li { grid-template-columns: 1fr auto; align-items: center; } }
@media (min-width: 60em) {
  .resource-layout { grid-template-columns: 250px minmax(0, 1fr); gap: clamp(48px, 7vw, 96px); }
  .resource-index nav { position: sticky; top: 124px; }
  .resource-index ul { display: grid; gap: 2px; margin-inline: -14px; }
  .resource-index a { padding-inline: 14px; border: 0; border-radius: 12px; background: none; }
  .resource-index a:hover { background: var(--soft); }
}

/* Contact */
.contact-grid { display: grid; gap: 40px; }
.contact-grid .inquiry-form { box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-details > p { margin-top: 16px; color: var(--muted); }
.contact-details ul { display: grid; gap: 12px; margin-top: 32px; }
.contact-details li { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-inner); background: var(--white); }
.contact-details li > div { min-width: 0; }
.contact-details li h3 { font: 600 1rem/1.4 var(--sans); letter-spacing: 0; }
.contact-details li a { display: inline-block; padding-block: 8px; margin-block: -4px; }
@media (min-width: 60em) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); align-items: start; gap: clamp(40px, 5vw, 72px); } }
.location-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 64px); border-radius: 32px; background: var(--green); color: var(--on-green); }
.location-panel h2 { color: var(--white); }
.location-panel address { margin-top: 14px; font-size: 1.125rem; }

/* Footer */
.site-footer { padding: 12px; border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0; background: var(--green); color: var(--on-green); }
.invite { padding-block: clamp(64px, 8vw, 104px); text-align: center; }
.invite h2 { color: var(--white); }
.invite p { max-width: 46ch; margin: 18px auto 30px; }
.invite .actions { justify-content: center; }
.footer-panel { padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px) 32px; border-radius: clamp(20px, 3vw, 36px); background: var(--white); color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; max-width: 1200px; margin-inline: auto; }
.footer-brand img { width: 104px; }
.footer-brand p { max-width: 24ch; margin-top: 18px; color: var(--muted); }
.footer-grid h2 { margin-bottom: 8px; font-size: 1.3125rem; letter-spacing: -.01em; }
.footer-grid li a, .footer-grid address a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; text-decoration-color: transparent; transition: text-decoration-color var(--ease); }
.footer-grid address a { display: block; text-decoration-color: var(--control-border); }
.footer-grid a:hover { color: var(--green); text-decoration-color: currentColor; }
.footer-legal { display: grid; gap: 8px; max-width: 1200px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 1rem; line-height: 1.55; }
@media (min-width: 30em) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 60em) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
  .footer-brand { grid-column: auto; }
  .footer-legal { grid-template-columns: auto minmax(0, 68ch); justify-content: space-between; gap: 48px; }
}

/* Depth, hover and motion */
.button { box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 2px 3px rgb(11 31 22 / .18), 0 10px 20px -8px rgb(11 31 22 / .45); transition: background-color var(--ease), border-color var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease); }
.button-soft { box-shadow: inset 0 1px 0 var(--white), 0 2px 3px rgb(11 31 22 / .08), 0 10px 20px -8px rgb(11 31 22 / .26); }
.button:active { transform: translateY(1px); box-shadow: inset 0 1px 2px rgb(11 31 22 / .2), 0 1px 2px rgb(11 31 22 / .2); }
.button .icon { transition: transform var(--ease); }

.hero-portrait picture, .founder-portrait picture { display: block; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 50px -34px rgb(11 31 22 / .55); }
.hero-portrait img, .founder-portrait img { border-radius: 0; transition: transform 600ms cubic-bezier(.2, .7, .3, 1); }
figcaption { box-shadow: 0 2px 4px rgb(11 31 22 / .12), 0 16px 32px -8px rgb(11 31 22 / .5); transition: transform 300ms cubic-bezier(.2, .7, .3, 1), box-shadow 300ms ease-out; animation: caption-in 700ms 350ms cubic-bezier(.2, .7, .3, 1) backwards, caption-float 1.9s 1.05s ease-in-out 2; }
@keyframes caption-in { from { opacity: 0; transform: translateY(26px); } }
@keyframes caption-float { 50% { transform: translateY(-9px); } }

.process li, .values li, .contact-details li, .faq-list details, .practice-panel, .area-cards a, .practice-row .practice-media { transition: transform 260ms cubic-bezier(.2, .7, .3, 1), box-shadow 260ms ease-out, background-color 260ms ease-out, border-color 260ms ease-out; }
.process li, .values li, .contact-details li, .area-cards a { box-shadow: 0 1px 2px rgb(11 31 22 / .04), 0 12px 24px -18px rgb(11 31 22 / .3); }
.faq-list details { box-shadow: 0 1px 2px rgb(11 31 22 / .04), 0 8px 18px -14px rgb(11 31 22 / .28); }
.practice-row .practice-media { box-shadow: 0 24px 40px -32px rgb(11 31 22 / .5); }
.practice-row .practice-media img, .area-image img { transition: transform 600ms cubic-bezier(.2, .7, .3, 1); }
.value-icon { transition: background-color 260ms ease-out, color 260ms ease-out, transform 260ms cubic-bezier(.2, .7, .3, 1); }
.process li::before { transform-origin: left bottom; transition: transform 260ms cubic-bezier(.2, .7, .3, 1); }

/* An open question turns green */
.faq-list summary, .faq-answer, .faq-answer a { transition: color 260ms ease-out; }
.faq-list details[open] { background: var(--green); border-color: var(--green); box-shadow: 0 20px 36px -22px rgb(11 31 22 / .7); }
.faq-list details[open] :is(summary, .faq-answer a) { color: var(--white); }
.faq-list details[open] .faq-answer { color: var(--on-green); }
.faq-list details[open] .faq-mark { background: var(--white); }
.faq-list details[open] :focus-visible { outline-color: var(--white); outline-offset: -6px; }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-list details::details-content { block-size: 0; overflow: clip; transition: block-size 300ms cubic-bezier(.2, .7, .3, 1), content-visibility 300ms allow-discrete; }
  .faq-list details[open]::details-content { block-size: auto; }
}

/* Only where a pointer can hover, so effects never stick after a tap */
@media (hover: hover) {
  .button:not(:active):hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 4px 6px rgb(11 31 22 / .16), 0 20px 28px -10px rgb(11 31 22 / .5); }
  .button:hover .icon { transform: translateX(2px); }
  .hero-portrait:hover img, .founder-portrait:hover img { transform: scale(1.03); }
  .hero-portrait:hover figcaption, .founder-portrait:hover figcaption { transform: translateY(-8px); box-shadow: 0 4px 8px rgb(11 31 22 / .12), 0 28px 40px -10px rgb(11 31 22 / .6); }
  .process li:hover, .values li:hover, .contact-details li:hover, .area-cards a:hover { transform: translateY(-8px); border-color: var(--control-border); box-shadow: 0 2px 4px rgb(11 31 22 / .05), 0 30px 40px -24px rgb(11 31 22 / .45); }
  .process li:hover::before { transform: scale(1.16); }
  :is(.values, .contact-details) li:hover .value-icon { background: var(--green); color: var(--white); transform: scale(1.06); }
  .area-cards a:hover .area-image img, .practice-row .practice-media:hover img { transform: scale(1.06); }
  .practice-row .practice-media:hover { transform: translateY(-8px); box-shadow: 0 40px 50px -32px rgb(11 31 22 / .6); }
  .practice-panel:hover { transform: translateY(-6px); background: rgb(255 255 255 / .12); box-shadow: 0 36px 50px -28px rgb(0 0 0 / .6); }
  .practice-panel:hover .practice-media img { transform: scale(1.04); }
  .faq-list details:not([open]):hover { transform: translateY(-3px); background: var(--soft); border-color: var(--control-border); box-shadow: 0 18px 28px -18px rgb(11 31 22 / .45); }
  .faq-list details:not([open]):hover .faq-mark { background: var(--green); }
  .faq-list details:not([open]):hover .faq-mark::before, .faq-list details:not([open]):hover .faq-mark::after { background: var(--white); }
}

/* Cards and pictures rise into place once as they are scrolled to (main.js) */
.reveal-wait { opacity: 0; }
.reveal-in { animation: reveal 650ms calc(var(--reveal-order, 0) * 90ms) cubic-bezier(.2, .7, .3, 1) backwards; }
@keyframes reveal { from { opacity: 0; transform: translateY(32px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after, ::details-content { animation: none !important; transition: none !important; }
  .button:hover, figure:hover :is(img, figcaption), :is(.process, .values, .contact-details) li:hover, .process li:hover::before, li:hover .value-icon, .area-cards a:hover, .area-cards a:hover img, .practice-panel:hover, .practice-media:hover, .practice-media:hover img, .practice-panel:hover .practice-media img, .faq-list details:hover { transform: none !important; }
}
@media print { .site-header, .site-footer .invite, .inquiry-form { display: none; } }
