:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --ink: #192538;
  --muted: #4b5563;
  --line: #d9dcd8;
  --sage: #e9ebed;
  --accent: #e5c67e;
  --rust: #80591e;
  --wash: #efefe9;
  --card: #fbf9f2;
  --art-ink: #172335;
  --art-field: #23344a;
  --art-line: #e6e4d4;
  --mark-light: #fff1c2;
  --tag: #f1e6cb;
  --radius: 22px;
  --wrap: 1180px;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  line-height: 1.55;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--rust); }
a:focus-visible { outline: 3px solid var(--rust); outline-offset: 5px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.055em; font-weight: 760; }
h1 { font-size: clamp(3.1rem, 6.5vw, 5.85rem); }
h2 { font-size: clamp(2.45rem, 5.1vw, 4.5rem); }
h3 { font-size: 1.65rem; }
.wrap { width: min(var(--wrap), calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-180%); padding: .6rem 1rem; background: var(--paper); z-index: 2; }
.skip:focus { transform: none; }
.kicker { display: flex; align-items: center; gap: .65rem; font: 700 .72rem/1.5 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.kicker::before { content: ""; width: .52rem; height: .52rem; background: var(--rust); transform: rotate(45deg); flex: 0 0 auto; }
header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 81px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 820; letter-spacing: -.075em; font-size: 1.68rem; white-space: nowrap; }
.brand img { width: 39px; height: 39px; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); font-size: .92rem; font-weight: 670; }
nav a { text-decoration: none; }
.nav-contact { border: 1px solid var(--ink); padding: .51rem .95rem; border-radius: 999px; white-space: nowrap; }
.hero { padding: 65px 0 69px; display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero h1 { margin-top: 1rem; }
.hero h1 em { font: italic 500 1.03em/.97 Georgia, serif; letter-spacing: -.075em; display: block; color: var(--rust); text-wrap: balance; }
.hero .lede { margin-top: 1.35rem; max-width: 32rem; font-size: clamp(1.06rem, 1.7vw, 1.23rem); color: var(--muted); }
.hero-visual { border-radius: var(--radius); width: 100%; aspect-ratio: 540 / 525; object-fit: cover; background: var(--art-ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.05rem 1.35rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; background: var(--ink); color: var(--paper); border: 1px solid transparent; padding: .8rem 1.14rem; border-radius: 999px; font-weight: 720; text-decoration: none; min-height: 47px; }
.button:hover { background: var(--art-field); color: var(--paper); }
.button.light { background: var(--accent); color: var(--ink); }
.button.light:hover { background: var(--mark-light); color: var(--ink); }
.text-link { font-weight: 740; display: inline-flex; align-items: center; gap: .5rem; }
.arrow { font-weight: 500; }
.section { padding: clamp(3.6rem, 7.2vw, 6.4rem) 0; }
.services { border-block: 1px solid var(--line); background: var(--wash); }
.section-head { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 1.4rem 3rem; margin-bottom: 2.05rem; }
.section-head h2 { margin-top: .65rem; }
.section-head > p { color: var(--muted); max-width: 29rem; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--card); padding: clamp(1.3rem, 3vw, 2.25rem); }
.service-num { display: flex; justify-content: space-between; align-items: center; gap: .5rem; color: var(--rust); font: 700 .75rem ui-monospace, monospace; margin-bottom: 2.2rem; }
.service-num svg { width: 36px; height: 36px; stroke: currentColor; }
.service p { color: var(--muted); margin-top: .78rem; }
.service h4 { margin: 1.15rem 0 0; line-height: 1.35; }
.service h4 + p { margin-top: .35rem; }
.case-feature { display: flex; flex-wrap: wrap; border-radius: var(--radius); overflow: hidden; background: var(--sage); }
.case-copy { flex: .87 1 17rem; min-width: 0; padding: clamp(1.65rem, 4.6vw, 4.25rem); align-self: center; }
.case-copy h2 { font-size: clamp(2.7rem, 5vw, 4.65rem); margin-top: .7rem; }
.case-copy p { color: var(--muted); margin-top: .95rem; }
.case-copy .text-link { margin-top: 1.35rem; }
.case-art { display: flex; flex: 1.13 1 17rem; align-items: center; padding: clamp(1.45rem, 4vw, 3.4rem); background: var(--art-field); min-width: 0; }
.publication { width: 100%; background: var(--card); border-radius: 15px; box-shadow: 0 15px 32px #0004; overflow: hidden; transform: rotate(-2deg); }
.publication-bar { display: flex; justify-content: space-between; align-items: center; gap: .6rem; background: var(--sage); padding: .7rem 1.15rem; font: 700 .65rem/1.3 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }
.dots { letter-spacing: .15em; color: var(--rust); }
.publication-body { padding: clamp(1.1rem, 3vw, 2rem); }
.publication-body h3 { font-family: Georgia, serif; color: var(--rust); font-size: clamp(1.55rem, 3vw, 2.2rem); }
.entry { border-top: 1px solid var(--line); margin-top: .8rem; padding-top: .75rem; display: grid; gap: .2rem; }
.entry strong { font-size: .98rem; }
.entry time { color: var(--muted); font-size: .78rem; }
.pill { justify-self: start; padding: .12rem .46rem; background: var(--tag); color: var(--rust); border-radius: 50px; font: 700 .63rem/1.45 ui-monospace, monospace; letter-spacing: .04em; text-transform: uppercase; }
.contact { background: var(--ink); color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 1.5rem 3.75rem; align-items: center; }
.contact .kicker::before { background: var(--accent); }
.contact h2 { margin-top: .68rem; }
.contact p { color: var(--art-line); max-width: 28rem; margin-bottom: 1rem; }
.contact a:focus-visible { outline-color: var(--accent); }
footer { border-top: 1px solid var(--line); padding: 1.45rem 0 1.8rem; font-size: .84rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem 2rem; flex-wrap: wrap; }
.footer-inner .brand { color: var(--ink); font-size: 1.25rem; }
.footer-inner .brand img { width: 30px; height: 30px; }
.footer-details { max-width: 33rem; }
.footer-details p + p { margin-top: .28rem; }
.article-hero { padding: clamp(3.8rem, 8vw, 7rem) 0 clamp(3.1rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.article-hero h1 { margin-top: .8rem; max-width: 57rem; font-size: clamp(3.1rem, 7.3vw, 6.1rem); }
.article-hero .lede { max-width: 42rem; color: var(--muted); margin-top: 1.15rem; font-size: 1.24rem; }
.article-hero .back { display: inline-block; margin-bottom: 1.5rem; font-size: .92rem; font-weight: 700; }
.article-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: clamp(1.6rem, 6vw, 6rem); }
.article-copy { display: grid; gap: 1.5rem; }
.article-copy section { display: grid; gap: .68rem; }
.article-copy h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); }
.article-copy p { color: var(--muted); }
.article-copy ol { margin: .2rem 0 0; padding-left: 1.4rem; display: grid; gap: .55rem; }
.article-copy li::marker { color: var(--rust); font-weight: 780; }
.facts { padding: 1.65rem; background: var(--sage); border-radius: var(--radius); }
.facts h2 { font-size: 1.6rem; margin-bottom: .8rem; }
.facts ul { list-style: none; margin: 0; padding: 0; }
.facts li { border-top: 1px solid #cbd0c3; padding: .72rem 0; }
.facts a { font-weight: 680; }

:root[data-large-text] { font-size: 125%; }
:root[data-high-contrast] {
  --paper: #fff;
  --ink: #0b1322;
  --muted: #202936;
  --line: #667080;
  --sage: #f0f1f3;
  --accent: #ffe388;
  --rust: #563907;
  --wash: #f4f5f6;
  --card: #fff;
  --tag: #fff2c0;
}
:root[data-high-contrast] nav a { text-decoration: underline; }

.accessibility-button {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: .4em;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.accessibility-button svg { width: 1.65em; height: 1.65em; }
.accessibility-button:hover, .accessibility-button[aria-expanded="true"] { background: var(--wash); }
.accessibility-button:focus-visible, .display-option input:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}
.display-preferences { border-top: 1px solid var(--line); background: var(--wash); }
.display-preferences fieldset { border: 0; min-width: 0; margin: 0; padding: 0 0 .75rem; }
.display-preferences legend { padding: .65rem 0 .12rem; font-weight: 750; }
.display-options { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.display-option { display: inline-flex; align-items: center; gap: .55em; min-height: 2.75rem; cursor: pointer; }
.display-option input { margin: 0; width: 1em; height: 1em; accent-color: var(--ink); }

@media (max-width: 890px) {
  .wrap { width: calc(100% - 52px); }
  .hero { gap: 2rem; padding-top: 48px; }
  .service-num { margin-bottom: 1.35rem; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 68px; flex-wrap: wrap; gap: .4rem 1rem; padding: .7rem 0; }
  .brand { font-size: 1.4rem; }
  .brand img { width: 33px; height: 33px; }
  nav { gap: .8rem; font-size: .79rem; }
  .nav-contact { padding: .35rem .55rem; }
  .hero, .section-head, .contact-grid, .article-grid { grid-template-columns: 1fr; }
  .case-feature { flex-direction: column; }
  .case-copy, .case-art { flex-basis: auto; }
  .hero { padding: 44px 0 40px; gap: 2rem; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4.35rem); }
  .hero-visual { max-height: 430px; object-fit: contain; }
  .service-grid { grid-template-columns: 1fr; }
  .service-num { margin-bottom: 1rem; }
  .case-art { min-height: 16rem; }
}
@media (max-width: 360px) {
  .header-inner { justify-content: flex-start; }
  h1 { font-size: 2.8rem; }
}
