/* NZF Hukuk: ink on paper. Bodoni for headlines, Hanken Grotesk for reading. */

@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-moda-latin-standard-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-moda-latin-ext-standard-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range:
    U+0100-0130, U+0132-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range:
    U+0100-0130, U+0132-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF;
}

:root {
  --paper: #f5f0e6;
  --paper-2: #ebe4d6;
  --ink: #16140f;
  --ink-2: #2a2720;
  --muted: #575045;
  --rule: #c9c0ae;
  --accent: #7a1f26;
  --on-ink: #f5f0e6;
  --on-ink-muted: #c4bcab;
  --rule-ink: #47423a;
  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(72px, 10vw, 148px);
  color-scheme: light;
}

@view-transition {
  navigation: auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.03rem, 0.98rem + 0.2vw, 1.15rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
  background: var(--paper-2);
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
p a,
.prose a,
.hint a {
  color: var(--accent);
  font-weight: 600;
}
.ink p a,
.cta-band p a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}
.ink :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--on-ink);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 20;
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 7.4vw, 7.2rem);
}
h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
}
h3 {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.14;
  letter-spacing: 0;
}
p {
  margin: 0 0 1em;
}
p:last-child {
  margin-bottom: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: 1520px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow {
  width: 100%;
  max-width: calc(760px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--on-ink);
}
.skip:focus {
  top: 12px;
}

.demo-strip {
  margin: 0;
  padding: 7px var(--gutter);
  background: var(--ink);
  color: var(--on-ink-muted);
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
}
.demo-strip a {
  color: var(--on-ink);
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.header-row {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
  text-decoration: none;
}
.brand svg {
  width: 112px;
  height: auto;
}
.brand-sub {
  padding-left: 14px;
  border-left: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
}
.main-nav a {
  position: relative;
  padding-block: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.menu-toggle {
  display: none;
  min-height: 46px;
  padding: 0 18px;
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font: 600 0.95rem var(--sans);
  cursor: pointer;
}
.mobile-nav {
  padding: 8px var(--gutter) 28px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  font-variation-settings: "opsz" 20;
  line-height: 1.1;
  text-decoration: none;
}
.mobile-nav small {
  color: var(--muted);
  font: 600 0.8rem var(--sans);
}
.mobile-nav .mobile-mail {
  border: 0;
  padding-top: 22px;
  color: var(--accent);
  font: 600 1.05rem var(--sans);
}

/* Buttons: always a solid, obvious target */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border: 1.5px solid var(--ink);
  font: 600 1.02rem / 1.2 var(--sans);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.btn-solid {
  background: var(--ink);
  color: var(--on-ink);
}
.btn-solid:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-line {
  background: transparent;
  color: var(--ink);
}
.btn-line:hover {
  background: var(--ink);
  color: var(--on-ink);
}
.btn-light {
  background: var(--on-ink);
  border-color: var(--on-ink);
  color: var(--ink);
}
.btn-light:hover {
  background: transparent;
  color: var(--on-ink);
}
.btn-small {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.95rem;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.arrow {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 0.25s ease;
}
a:hover > .arrow,
a:hover .more .arrow,
button:hover > .arrow,
.more:hover .arrow {
  transform: translateX(5px);
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.more span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ink .eyebrow,
.cta-band .eyebrow {
  color: var(--on-ink-muted);
}
.lead {
  max-width: 40em;
  color: var(--ink-2);
  font-size: clamp(1.14rem, 1.05rem + 0.5vw, 1.45rem);
  line-height: 1.5;
}
.chip {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font: 700 0.68rem / 1.4 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.chip-dark {
  border-color: var(--on-ink-muted);
  color: var(--on-ink-muted);
}
.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.meta-cat {
  color: var(--accent);
  font-weight: 700;
}

/* Reveal: visible by default, only hidden once JS has announced itself */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Hero */
.hero {
  padding-top: clamp(32px, 5vw, 72px);
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 24px;
}
.hero-text {
  position: relative;
  z-index: 2;
  grid-column: 1 / span 8;
  grid-row: 1;
  align-self: center;
  padding-block: clamp(16px, 4vw, 72px);
}
.hero-text h1 {
  margin-bottom: clamp(20px, 2.6vw, 36px);
}
.hero-text .lead {
  max-width: 31em;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.hero-img {
  grid-column: 8 / -1;
  grid-row: 1;
  align-self: stretch;
  min-height: clamp(420px, 44vw, 720px);
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  animation: settle 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes settle {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(28px, 4vw, 56px) 0 0;
  border-top: 1.5px solid var(--ink);
}
.hero-facts div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px 16px 22px 0;
}
.hero-facts dt {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  font-variation-settings: "opsz" 20;
  line-height: 1;
}
.hero-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.3;
}

/* Sections */
.section-head {
  max-width: 980px;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}
.section-head-row > div {
  max-width: 880px;
}
.section-lead {
  max-width: 38em;
  margin-top: 22px;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
}
.section-foot {
  margin-top: 40px;
}
.areas,
.process,
.writing,
.team,
.about-mission {
  padding-block: var(--section);
}

/* Practice list with following picture */
.areas-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
.area-list {
  border-top: 1.5px solid var(--ink);
}
.area-list li {
  border-bottom: 1px solid var(--rule);
}
.area-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 26px;
  grid-template-areas: "no name arrow" ". short arrow";
  align-items: center;
  gap: 2px 8px;
  padding-block: clamp(14px, 1.5vw, 20px);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    padding 0.25s ease;
}
.area-row:hover,
.area-row:focus-visible {
  padding-inline: 14px;
  background: var(--paper-2);
}
.area-no {
  grid-area: no;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.area-name {
  grid-area: name;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
  font-weight: 700;
  font-variation-settings: "opsz" 20;
  line-height: 1.12;
}
.area-short {
  grid-area: short;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.4;
}
.area-row .arrow {
  grid-area: arrow;
}
.preview-stack {
  position: sticky;
  top: 112px;
  aspect-ratio: 4 / 5;
  max-height: calc(100vh - 150px);
  width: 100%;
  overflow: hidden;
  background: var(--paper-2);
}
.preview {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.preview.is-active {
  opacity: 1;
}
.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ink story */
.ink {
  background: var(--ink);
  color: var(--on-ink);
  padding-block: var(--section);
}
.letters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule-ink);
}
.letter-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: clamp(18px, 2.4vw, 36px);
  padding-left: 0;
  text-decoration: none;
}
.letter-card + .letter-card {
  padding-left: clamp(18px, 2.4vw, 36px);
  border-left: 1px solid var(--rule-ink);
}
.letter {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(7rem, 17vw, 17rem);
  font-weight: 600;
  font-variation-settings: "opsz" 30;
  line-height: 0.92;
  transition: color 0.25s ease;
}
.letter-card:hover .letter {
  color: #d9c9a5;
}
.letter-name {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  font-weight: 700;
  font-variation-settings: "opsz" 20;
  line-height: 1.15;
}
.letter-role {
  color: var(--on-ink-muted);
  font-weight: 600;
}
.letter-focus {
  color: var(--on-ink-muted);
  flex: 1;
  margin-bottom: 8px;
}
.letter-card .more,
.cta-band .more {
  color: var(--on-ink);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}
.steps li {
  padding-top: 18px;
  border-top: 1.5px solid var(--ink);
}
.step-no {
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.steps h3 {
  margin-bottom: 10px;
}
.steps p {
  color: var(--muted);
}
.steps-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 36px;
}
.steps-compact .step-no {
  margin-bottom: 14px;
}

/* Posts */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 3.4vw, 52px) clamp(20px, 2.4vw, 36px);
}
.post-grid-home {
  grid-template-columns: 2fr 1fr 1fr;
}
.post-card a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  text-decoration: none;
}
.post-card-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.post-card a:hover img {
  transform: scale(1.035);
}
.post-card h3 {
  transition: color 0.2s ease;
}
.post-card a:hover h3 {
  color: var(--accent);
}
.post-card-sum {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.post-card-big h3 {
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  line-height: 1.08;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.tabs a:hover,
.tabs a[aria-current="page"] {
  background: var(--ink);
  color: var(--on-ink);
}
.post-list-section {
  padding-block: 0 var(--section);
}

/* CTA */
.cta-band {
  background: var(--accent);
  color: var(--on-ink);
  padding-block: clamp(56px, 8vw, 110px);
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: end;
}
.cta-band p {
  margin-bottom: 26px;
  font-size: clamp(1.08rem, 1rem + 0.3vw, 1.25rem);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--on-ink);
  padding-block: clamp(52px, 7vw, 92px) 28px;
  font-size: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 40px clamp(24px, 4vw, 60px);
}
.footer-logo {
  display: block;
  width: min(220px, 70%);
  margin-bottom: 18px;
}
.site-footer p {
  color: var(--on-ink-muted);
}
.site-footer h2 {
  margin-bottom: 14px;
  color: var(--on-ink-muted);
  font: 700 0.82rem var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-footer li {
  padding-block: 4px;
}
.site-footer a {
  text-decoration: none;
}
.site-footer li a:hover,
.demo-strip a:hover {
  text-decoration: underline;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(40px, 5vw, 68px);
  padding-top: 20px;
  border-top: 1px solid var(--rule-ink);
  font-size: 0.88rem;
}
.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
}
.footer-legal li {
  color: var(--on-ink-muted);
}

/* Inner pages */
.page-head {
  padding-block: clamp(48px, 7vw, 104px) clamp(36px, 5vw, 72px);
}
.page-head h1 {
  max-width: 13em;
  margin-bottom: 24px;
}
.page-head .detail-img {
  margin-top: clamp(32px, 5vw, 64px);
}
.h1-small {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}
.detail-head {
  padding-top: clamp(28px, 4vw, 48px);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(26px, 4vw, 52px);
  color: var(--muted);
  font-size: 0.92rem;
}
.crumbs a {
  font-weight: 600;
}
.detail-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.detail-title > * {
  grid-area: auto;
}
.detail-title .area-no {
  font-size: 1rem;
}
.detail-img img {
  width: 100%;
  height: clamp(260px, 42vw, 620px);
  object-fit: cover;
}
.detail-body {
  padding-block: clamp(48px, 7vw, 100px);
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: start;
}
.detail-side {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 24px;
}
.detail-side h2 {
  margin-bottom: 10px;
  color: var(--muted);
  font: 700 0.82rem var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.detail-side li a {
  display: block;
  padding: 7px 0;
  font-weight: 600;
  text-decoration: none;
}
.detail-side li a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.detail-side .btn {
  width: 100%;
}
.detail-main > section {
  margin-top: clamp(52px, 6vw, 84px);
}
.detail-main h2 {
  margin-bottom: clamp(20px, 2.6vw, 32px);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
}
.prose-intro p:first-child {
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink);
}
.check-list {
  border-top: 1.5px solid var(--ink);
}
.check-list li {
  position: relative;
  padding: 15px 0 15px 34px;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.45em;
  width: 16px;
  height: 2px;
  background: var(--accent);
}
.faq {
  border-bottom: 1px solid var(--rule);
}
.faq:first-of-type {
  border-top: 1.5px solid var(--ink);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 60px;
  padding-block: 16px;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.32;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--accent);
}
.faq-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease;
}
.faq-icon::after {
  transform: rotate(90deg);
}
.faq[open] .faq-icon::after {
  transform: rotate(0);
}
.faq p {
  max-width: 42em;
  padding-bottom: 20px;
  margin: 0;
  color: var(--ink-2);
}
.fine {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.lawyer-minis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 12px;
}
.lawyer-mini {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--paper-2);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.lawyer-mini:hover {
  background: var(--ink);
  color: var(--on-ink);
}
.lawyer-mini-letter {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 600;
  font-variation-settings: "opsz" 28;
  line-height: 1;
}
.lawyer-mini strong {
  display: block;
  line-height: 1.25;
}
.lawyer-mini small {
  font-size: 0.88rem;
}
.related {
  border-top: 1.5px solid var(--ink);
}
.related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 700;
  text-decoration: none;
}
.related a:hover {
  color: var(--accent);
}
.next-area {
  border-top: 1.5px solid var(--ink);
}
.next-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: center;
  padding-block: clamp(30px, 4vw, 54px);
  text-decoration: none;
}
.next-link small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 600;
}
.next-link span {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 700;
  font-variation-settings: "opsz" 20;
  line-height: 1.08;
}
.next-link:hover span {
  color: var(--accent);
}
.next-link .arrow {
  width: 36px;
  height: 36px;
}

/* Area cards */
.area-cards-section {
  padding-block: 0 var(--section);
}
.area-cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(36px, 3.6vw, 56px) clamp(16px, 2vw, 30px);
}
.area-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  grid-column: span 3;
  text-decoration: none;
}
.area-card-big {
  grid-column: span 4;
}
.area-cards .area-card:nth-child(n + 8) {
  grid-column: span 4;
}
.area-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 6px;
}
.area-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.area-card:hover img {
  transform: scale(1.04);
}
.area-card h2 {
  font-size: clamp(1.65rem, 2.3vw, 2.2rem);
  line-height: 1.1;
  transition: color 0.2s ease;
}
.area-card:hover h2 {
  color: var(--accent);
}
.area-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* About */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 24px clamp(32px, 6vw, 96px);
}
.big-text {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.9vw, 2.7rem);
  font-weight: 600;
  font-variation-settings: "opsz" 18;
  line-height: 1.22;
}
.about-mission {
  border-top: 1.5px solid var(--ink);
}
.team {
  background: var(--paper-2);
}
.person {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 24px clamp(32px, 6vw, 96px);
  padding-block: clamp(36px, 5vw, 64px);
  border-top: 1.5px solid var(--ink);
  scroll-margin-top: 90px;
}
.person-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  max-width: 400px;
  background: var(--ink);
  color: var(--on-ink);
}
.person-mark span {
  font-family: var(--serif);
  font-size: clamp(8rem, 16vw, 15rem);
  font-weight: 600;
  font-variation-settings: "opsz" 30;
  line-height: 1;
}
.person-text {
  max-width: 44em;
}
.person-text .eyebrow {
  margin-bottom: 10px;
}
.person-text h3 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
}
.person-text h4 {
  margin: 26px 0 12px;
  font: 700 0.82rem var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1.5px solid var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.tag-list a:hover {
  background: var(--ink);
  color: var(--on-ink);
}

/* Post page */
.post-head {
  padding-top: clamp(32px, 5vw, 64px);
}
.post-head h1 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5.4vw, 4.8rem);
}
.post-head .lead {
  margin-bottom: 24px;
}
.post-img {
  margin-top: clamp(30px, 5vw, 60px);
}
.post-img img {
  width: 100%;
  height: clamp(240px, 38vw, 560px);
  object-fit: cover;
}
.prose {
  padding-block: clamp(40px, 6vw, 80px);
}
.prose h2 {
  margin: 1.6em 0 0.55em;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.12;
}
.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li {
  margin-bottom: 0.45em;
}
.prose li::marker {
  color: var(--accent);
  font-weight: 700;
}
.facts {
  margin: 1.6em 0;
  border-top: 1.5px solid var(--ink);
}
.facts div {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(0, 3fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.facts dt {
  font-weight: 700;
}
.facts dd {
  margin: 0;
}
.sources {
  margin-top: 3em;
  padding: clamp(20px, 3vw, 32px);
  background: var(--paper-2);
  font-size: 0.97rem;
}
.sources h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}
.sources p {
  margin: 12px 0 0;
  color: var(--muted);
}
.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.post-more {
  padding-block: var(--section);
  background: var(--paper-2);
}
.post-more h2 {
  margin-bottom: 36px;
}
.post-more .post-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Contact */
.contact {
  padding-bottom: var(--section);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 22px;
  padding-top: 26px;
  border-top: 1.5px solid var(--ink);
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}
.field small {
  color: var(--muted);
  font-weight: 500;
}
input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  background: #fbf8f1;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
}
textarea {
  resize: vertical;
}
select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.check input {
  flex: none;
  width: 24px;
  height: 24px;
  min-height: 0;
  margin: 2px 0 0;
  accent-color: var(--accent);
}
.contact-form .btn {
  justify-self: start;
}
.form-done {
  padding: 16px 18px;
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
}
.contact-side {
  display: grid;
  gap: 30px;
}
.office {
  padding-top: 14px;
  border-top: 1.5px solid var(--ink);
}
.office h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}
.office address {
  font-style: normal;
}
.big-link {
  margin: 0;
  color: inherit;
  font-size: 1.2rem;
  font-weight: 700;
}
a.big-link {
  color: var(--accent);
}
.contact-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.not-found {
  min-height: 62vh;
}
.not-found .btn-row {
  margin-top: 28px;
}

/* Narrower screens */
@media (max-width: 1160px) {
  .brand-sub,
  .header-cta {
    display: none;
  }
}
@media (max-width: 900px) {
  html {
    scroll-padding-top: 90px;
  }
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-row {
    min-height: 68px;
  }
  .menu-open .site-header {
    max-height: 100dvh;
    overflow-y: auto;
  }
  .hero-text,
  .hero-img {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .hero-img {
    min-height: 0;
    height: 62vw;
  }
  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-facts div {
    border-bottom: 1px solid var(--rule);
  }
  .areas-grid,
  .detail-grid,
  .cta-grid,
  .two-col,
  .contact-grid,
  .person {
    grid-template-columns: minmax(0, 1fr);
  }
  .preview-stack {
    display: none;
  }
  .letters {
    grid-template-columns: minmax(0, 1fr);
  }
  .letter-card,
  .letter-card + .letter-card {
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid var(--rule-ink);
  }
  .steps,
  .post-grid,
  .post-grid-home,
  .post-more .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .post-grid-home .post-card-big {
    grid-column: 1 / -1;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .detail-side {
    position: static;
  }
  .detail-side .btn {
    width: auto;
    justify-self: start;
  }
  .area-card,
  .area-card-big,
  .area-cards .area-card:nth-child(n + 8) {
    grid-column: span 6;
  }
  .person-mark {
    aspect-ratio: 16 / 9;
    max-width: none;
    width: 100%;
  }
  .person-mark span {
    font-size: clamp(7rem, 26vw, 11rem);
  }
}
@media (max-width: 600px) {
  .steps,
  .post-grid,
  .post-grid-home,
  .post-more .post-grid,
  .steps-compact,
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .area-card,
  .area-card-big,
  .area-cards .area-card:nth-child(n + 8) {
    grid-column: 1 / -1;
  }
  .brand svg {
    width: 92px;
  }
  .site-header .brand-sub {
    display: none;
  }
  .btn-row .btn,
  .post-actions .btn {
    width: 100%;
  }
  .contact-form .btn {
    width: 100%;
    justify-self: stretch;
  }
  .facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .area-row {
    grid-template-columns: 34px minmax(0, 1fr) 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none;
    transition: none;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .hero-img img {
    animation: none;
  }
  @view-transition {
    navigation: none;
  }
}

@media print {
  .site-header,
  .demo-strip,
  .site-footer,
  .cta-band,
  .next-area {
    display: none;
  }
}
