@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 650;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #181e27;
  --ink: #efeee8;
  --muted: #c5cbd2;
  --line: #424c59;
  --gold: #e9af83;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body, p, h1, h2, h3, figure { margin: 0; }
body { font-size: 1rem; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, summary, select { font: inherit; }
a:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(82rem, calc(100% - clamp(2.5rem, 10vw, 10rem))); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 50; padding: .8rem 1rem; color: var(--paper); background: var(--ink); }
.skip:focus { top: .5rem; }

.mast { position: relative; z-index: 2; }
.mastbar, .footbar { display: flex; align-items: center; }
.mastbar { min-height: clamp(5.2rem, 7vw, 6.7rem); justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: clamp(11.8rem, 15vw, 14.15rem); height: auto; filter: brightness(0) invert(1) drop-shadow(0 0 .4px white); }
.desktop-menu, .footer nav { display: flex; align-items: center; gap: clamp(1.35rem, 3vw, 3rem); }
.desktop-menu a, .mobile-menu a, .footer nav a { font-size: .96rem; font-weight: 500; text-decoration: none; }
.desktop-menu a:hover, .mobile-menu a:hover, .footer nav a:hover,
.desktop-menu a[aria-current="page"], .mobile-menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: .38em; }
.nav-proposal { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem 1.25rem; color: #e8c1a2; border: 1px solid #997d69; }
.desktop-menu .nav-proposal { margin-left: .5rem; }
.nav-proposal:hover, .nav-proposal:focus-visible { color: #141b24; background: #f6d5b9; outline-color: #fbdeb8; text-decoration: none !important; }
.mobile-menu { display: none; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .8rem 1.65rem; color: var(--paper); background: var(--gold); text-decoration: none; font-weight: 550; }
.btn:hover, .btn:focus-visible { background: #f4c6a0; }
.btn:focus-visible, .skip:focus-visible { outline-color: #fbdeb8; }
.link { font-weight: 550; text-underline-offset: .35em; text-decoration-line: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }
.overline { display: flex; align-items: center; gap: .7rem; color: var(--gold); font-size: .875rem; line-height: 1.3; }
.overline span { flex: 0 0 1.8rem; height: 1px; background: currentColor; }
.section-title { font: 400 clamp(2.8rem, 4.5vw, 4.9rem)/1.03 var(--serif); letter-spacing: -.032em; }
.cover { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6.5vw, 7rem); padding-block: clamp(3rem, 5vw, 5.3rem); }
.cover-type { min-width: 0; }
.cover h1 { color: #fbf8ed; margin: 1.3rem 0; font: 400 clamp(4.45rem, 7.45vw, 8.1rem)/.91 var(--serif); letter-spacing: -.042em; }
.cover h1 .opening, .cover h1 .middle { display: block; }
.cover h1 em { font-weight: 400; color: var(--gold); }
.cover .lead { max-width: 44ch; color: var(--muted); font-size: clamp(1.02rem, 1.18vw, 1.2rem); line-height: 1.55; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.65rem; margin-top: clamp(1.25rem, 2.3vw, 2.4rem); }
.actions .btn { color: #232936; background: #efe5d4; }
.actions .btn:hover, .actions .btn:focus-visible { background: #faf1e3; }
.actions .link { display: inline-flex; align-items: center; min-height: 44px; }
.cover-image { height: clamp(25rem, 39vw, 37.75rem); min-width: 0; overflow: hidden; background: #262f3b; }
.cover-image img, .case-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.13); }
.cover-image img { object-position: 53% 51%; }
.directory, .reach { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: clamp(2rem, 6.5vw, 7rem); }
.directory { align-items: start; border-top: 1px solid #53606f; padding-top: clamp(2.3rem, 4vw, 4.2rem); padding-bottom: clamp(3rem, 6vw, 6.5rem); }
.index-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.index-row:first-child { padding-top: .1rem; }
.index-row h3 { font: 400 clamp(1.8rem, 2.5vw, 2.65rem)/1.04 var(--serif); letter-spacing: -.02em; }
.index-row p { max-width: 47ch; margin-top: .6rem; line-height: 1.55; color: var(--muted); }
.service-count { white-space: nowrap; color: var(--gold); font-size: .9rem; text-decoration: underline; text-underline-offset: .35em; }
.index-row:hover h3, .places a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .17em; }
.case { color: var(--ink); background: #252e3a; }
.case-layout { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(2rem, 7vw, 8rem); padding-block: clamp(3rem, 6vw, 6rem); }
.case-photo { height: clamp(16rem, 26vw, 23rem); }
.case .overline { color: #e1bd9e; }
.case .section-title { margin: .85rem 0 1.05rem; max-width: 12ch; }
.case-copy > p:not(.overline) { color: var(--muted); max-width: 48ch; }
.case-copy .link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1rem; text-decoration-color: #e8c3a5; }
.reach { align-items: center; padding-block: clamp(3.2rem, 6.5vw, 6.5rem); }
.reach .section-title { margin: .85rem 0; }
.reach p:not(.overline) { color: var(--muted); max-width: 40ch; }
.places { margin: 0; padding: 0; list-style: none; }
.places a { display: flex; justify-content: space-between; align-items: baseline; padding-block: .8rem; text-decoration: none; border-top: 1px solid var(--line); font: 400 clamp(1.8rem, 2.5vw, 2.65rem)/1.2 var(--serif); }
.places li:last-child { border-bottom: 1px solid var(--line); }
.places span { font: 500 .9rem var(--sans); color: var(--gold); }
.footer { background: #141922; }
.footbar { min-height: 6.5rem; border-top: 1px solid var(--line); gap: 2rem; padding-block: 1.25rem; }
.footbar .brand img { width: 8.75rem; }
.footbar > span { color: var(--muted); font-size: .92rem; }
.footbar nav { margin-left: auto; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.75rem); }
  .mastbar { min-height: 4.8rem; }
  .mastbar .brand img { width: 11.1rem; }
  .desktop-menu { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: .5rem .1rem .5rem .6rem; min-height: 44px; list-style: none; cursor: pointer; font-weight: 550; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary i { display: grid; align-content: space-between; width: 1.18rem; height: .45rem; }
  .mobile-menu summary i::before, .mobile-menu summary i::after { content: ""; background: currentColor; width: 100%; height: 1px; }
  .mobile-menu[open] summary i { height: 1px; align-content: center; }
  .mobile-menu[open] summary i::before { transform: translateY(.5px) rotate(45deg); }
  .mobile-menu[open] summary i::after { transform: translateY(-.5px) rotate(-45deg); }
  .mobile-menu nav { position: absolute; inset: 100% 0 auto; display: grid; background: #222b37; padding: .6rem 1.375rem 1.2rem; border-block: 1px solid var(--line); box-shadow: 0 10px 14px #14192240; }
  .mobile-menu nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .mobile-menu nav .nav-proposal { justify-self: start; margin-top: .5rem; }
  .cover { gap: 2rem; padding-block: 2.2rem; }
  .cover h1 { font-size: clamp(4.2rem, 9.2vw, 5.1rem); }
  .cover-image { height: clamp(20rem, 58vw, 26rem); }
  .directory, .reach { grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 2rem; }
  .case-layout { gap: 2rem; }
}
@media (max-width: 600px) {
  .cover, .directory, .case-layout, .reach { grid-template-columns: minmax(0,1fr); }
  .cover { padding-block: 1.7rem 2rem; gap: 1.7rem; }
  .cover h1 { margin: 1.05rem 0 .9rem; font-size: clamp(3.6rem, 14vw, 5.3rem); line-height: .96; }
  .cover h1 .middle { display: inline; }
  .cover-image { height: auto; aspect-ratio: 1.75; }
  .cover-image img { object-position: 50% 57%; }
  .actions { gap: .45rem 1.15rem; margin-top: 1.1rem; }
  .directory, .reach { gap: 1.65rem; }
  .service-count { font-size: .875rem; }
  .index-row { gap: .75rem; padding-block: 1.25rem; }
  .index-row h3 { line-height: 1.15; }
  .case-layout { gap: 1.65rem; }
  .case-photo { height: auto; aspect-ratio: 1.95; }
  .reach { padding-block: 3.25rem; }
  .footbar { flex-wrap: wrap; gap: .65rem 1rem; }
  .footbar > span { order: 2; flex-basis: 100%; }
  .footbar nav { gap: 1rem; }
}
@media (max-width: 365px) {
  .wrap { width: calc(100% - 2rem); }
  .service-count { display: none; }
  .actions .btn { padding-inline: 1.25rem; }
  .footbar .brand img { width: 7.25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
