:root {
  color-scheme: light;
  --ink: #172626;
  --muted: #4a5b58;
  --paper: #f7f4ed;
  --white: #fffdf8;
  --line: #c9c4b8;
  --night: #111f22;
  --teal: #19363a;
  --sand: #edcc9d;
  --accent: #8c5734;
  --serif: Georgia, 'Times New Roman', serif;
  --gutter: clamp(20px, 5vw, 78px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #ae7244; outline-offset: 4px;
}
.wrap { width: min(1320px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
section[id], details[id] { scroll-margin-top: 20px; }
.skip-link { position: absolute; z-index: 4; left: 18px; top: 14px; padding: 10px 16px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
header, footer { background: var(--night); color: var(--white); }
header { border-bottom: 1px solid #dad4c92c; }
.bar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font: 1.65rem/.97 var(--serif); letter-spacing: .10em; }
.brand small { display: block; margin-top: 6px; color: #dec8aa; font: 600 .68rem/1.3 system-ui, sans-serif; letter-spacing: .13em; }
.mark { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid #d5ab7d; color: var(--sand); font-size: 1.62rem; }
nav { display: flex; flex-wrap: wrap; gap: 4px clamp(16px, 2.5vw, 37px); font-size: .94rem; }
nav a:hover, footer a:hover { color: var(--sand); }
.outline, .button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 48px;
  padding: .7rem 1.24rem; border: 1px solid transparent; border-radius: 2px;
  font: 650 .94rem/1.3 system-ui, sans-serif; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.outline { border-color: #e7ccab80; color: #fff5e4; }
.outline:hover { background: #f7ebd61b; border-color: #e7ccab; }
.button { background: var(--sand); border-color: var(--sand); color: #182527; }
.button:hover { background: #f8deb7; border-color: #f8deb7; }
.hero {
  position: relative; z-index: 0; isolation: isolate; overflow: hidden;
  color: var(--white); background: #19373a;
  min-height: clamp(600px, 73svh, 890px);
  display: grid; align-items: end;
}
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: 55% 52%; animation: settle 1.35s cubic-bezier(.16,.7,.25,1) both; }
.hero::after {
  content: '';
  background: linear-gradient(90deg, #08181be0 0%, #091d1fc4 28%, #101b1d6b 57%, #0c202014 83%),
    linear-gradient(0deg, #0d1a1dd6 0%, transparent 58%);
}
.hero-inner { padding-block: clamp(67px, 12vh, 128px) clamp(54px, 9.5vh, 104px); }
.eyebrow {
  display: flex; align-items: center; gap: 11px; margin: 0 0 22px;
  color: var(--accent); font-size: .86rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 1px; background: currentColor; flex: 0 0 28px; }
.hero .eyebrow { color: var(--sand); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; }
h1 { font-size: clamp(3rem, 7.3vw, 7.15rem); letter-spacing: -.057em; max-width: 11em; }
h1 em { color: #f5d2a4; font-weight: 400; }
h2 { font-size: clamp(2.6rem, 5.2vw, 5.2rem); letter-spacing: -.059em; }
h3 { font-size: clamp(1.45rem, 2.25vw, 2.12rem); letter-spacing: -.025em; }
.intro { max-width: 58ch; font-size: clamp(1rem, 1.54vw, 1.2rem); color: #f4ede2; margin: 27px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.services, .cases, .approach, .profile, .contact-section, .brief { padding-block: clamp(61px, 8.5vw, 125px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 25px 54px; margin-bottom: clamp(33px, 5vw, 62px); }
.section-head p { max-width: 44ch; color: var(--muted); margin: 0; }
.service-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start;
  border-top: 1px solid var(--line); column-gap: clamp(25px, 5vw, 78px);
}
.service-grid details { border-bottom: 1px solid var(--line); }
.service-grid details[open] { background: #eae8df8c; }
.service-grid details:target { box-shadow: inset 0 0 0 1px #a88b65; }
summary {
  display: grid; grid-template-columns: 39px minmax(0, 1fr) 30px; gap: 15px;
  align-items: center; min-height: 112px; padding: 17px 12px 17px 10px;
  cursor: pointer; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  display: grid; place-items: center; width: 29px; height: 29px; content: '+';
  color: var(--accent); border: 1px solid #b69a7c; border-radius: 50%; font: 1.1rem/1 system-ui, sans-serif;
}
details[open] summary::after { content: '−'; }
summary:hover { background: #d7d0bc40; }
summary strong { display: block; font: 400 clamp(1.28rem, 2.12vw, 1.86rem)/1.13 var(--serif); letter-spacing: -.024em; }
summary small { display: block; margin-top: 5px; font-size: .91rem; line-height: 1.42; color: var(--muted); }
.symbol { display: grid; place-items: center; color: var(--accent); font: 1.57rem/1 var(--serif); }
details ul { margin: 0; padding: 0 31px 20px 70px; }
details li + li { margin-top: .55em; }
.service-lead, .service-step, .service-contact { margin: 0; padding: 0 24px 12px 54px; }
.service-step { color: #644a35; font: 700 1rem/1.45 system-ui, sans-serif; }
.service-contact { padding-bottom: 20px; }
.cases { background: var(--night); color: #faf4e9; }
.cases .section-head p, .cases .case-status { color: #c2d1ce; }
.case-navigation { display: flex; align-items: end; justify-content: space-between; gap: 13px 28px; flex-wrap: wrap; margin-bottom: 29px; }
.case-filter:not([hidden]) { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.case-filter select { width: auto; min-width: 175px; color: #faf4e9; background-color: #213538; border-color: #698284; }
.case-status { font-size: .9rem; margin: 0; }
.case-status:empty { display: none; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.case {
  display: flex; flex-direction: column; min-width: 0; padding: clamp(22px, 3.25vw, 43px);
  background: #1c3033; border-top: 1px solid #71969868;
}
.case-featured { background: linear-gradient(100deg, #203b40, #24464b 62%, #2d5354); border-color: #b6a387; }
.case-meta { color: #f1c99b; margin: 0 0 15px; font-size: .89rem; font-weight: 650; }
.case h3 { max-width: 25ch; }
.case dl { margin: 20px 0 24px; color: #dce5e0; }
.case dt, .contact-details dt { font-weight: 650; }
.case dt { color: #fff5e6; }
.case dd, .contact-details dd { margin: 3px 0 0; }
.case dd + dt { margin-top: 12px; }
.case .text-link { align-self: flex-start; margin-top: auto; }
.text-link { text-decoration: underline; text-underline-offset: .24em; text-decoration-thickness: 1px; }
.text-link:hover { color: #794724; }
.cases .text-link { color: #f0c99b; }
.cases .text-link:hover, .contact-section .text-link:hover { color: #ffe5bb; }
.projects { margin-top: 64px; padding-top: 42px; border-top: 1px solid #597073; }
.projects .section-head { margin-bottom: 29px; }
.projects h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.projects .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.projects .case { background: #192a2d; }
.projects .case h3 { font-size: clamp(1.42rem, 2.3vw, 1.92rem); }
.approach { background: #eae5da; }
.approach-layout { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1fr); gap: clamp(36px, 8.25vw, 126px); align-items: center; }
.approach-image { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; background: #32474a; }
.approach .section-head { display: block; margin-bottom: 30px; }
.approach .section-head p { margin-top: 19px; }
.steps article { border-top: 1px solid #aeb4aa; padding-block: 18px; }
.steps p { margin: 7px 0 0; color: var(--muted); }
.profile, .brief, .contact-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(28px, 7vw, 105px); }
.profile-intro, .profile-practice { margin: 0; color: var(--muted); }
.profile-practice { margin-top: 13px; }
.career { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 26px 0 0; }
.career div { border-top: 1px solid #b5a895; padding-top: 14px; }
.career dt { font: clamp(1.45rem, 2.65vw, 2.6rem)/1.05 var(--serif); color: var(--accent); }
.career dd { margin: 5px 0 0; color: var(--muted); }
.contact-section { background: var(--teal); color: var(--white); }
.contact-section p { color: #dfe9e3; }
.contact-section .hero-actions { margin-top: 25px; }
.contact-details { border-left: 1px solid #a5b5ac6e; padding-left: clamp(20px, 4vw, 60px); }
.contact-details dl { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 8px 18px; }
.contact-details dd { overflow-wrap: anywhere; }
.brief p:not(.eyebrow) { color: var(--muted); }
form { display: grid; gap: 10px; min-width: 0; }
label { font-weight: 650; }
select, textarea { width: 100%; padding: 11px 12px; border: 1px solid #a3a99e; border-radius: 2px; background: var(--white); color: var(--ink); font: inherit; }
select { min-width: 0; max-width: 100%; }
textarea { resize: vertical; }
form .button { justify-self: start; color: #fffaf0; background: var(--teal); border-color: var(--teal); }
form .button:hover { background: #295155; border-color: #295155; }
.status:empty { display: none; }
footer .bar { min-height: 104px; }
@keyframes settle { from { transform: scale(1.035); } to { transform: scale(1); } }
@media (max-width: 900px) {
  header .bar { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px 14px; padding-top: 14px; }
  header nav { grid-row: 2; grid-column: 1 / -1; gap: 0 19px; border-top: 1px solid #ffffff27; }
  header nav a { padding-block: .62rem; font-size: .89rem; }
  header .outline { grid-row: 1; grid-column: 2; min-height: 42px; }
  .hero { min-height: 570px; }
  .projects .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .bar { gap: 12px; }
  .brand { gap: 9px; font-size: 1.38rem; }
  .mark { width: 36px; height: 36px; font-size: 1.36rem; }
  .brand small { font-size: .62rem; }
  header nav { gap: 0 16px; }
  header nav a { padding-block: .48rem; }
  .hero { min-height: max(540px, 69svh); }
  .hero-inner { padding-top: 73px; }
  .hero-image { object-position: 64% center; }
  .hero::after { background: linear-gradient(90deg, #0a1a1db5, #0b1c1e39), linear-gradient(0deg, #0a171bea, #0b1a1e38 93%); }
  h1 { font-size: clamp(2.25rem, 9.15vw, 3.85rem); }
  .hero .eyebrow { margin-bottom: 16px; }
  .hero .intro { margin-block: 19px 24px; }
  .section-head, .service-grid, .case-grid, .projects .case-grid, .approach-layout, .profile, .contact-layout, .brief { grid-template-columns: minmax(0, 1fr); }
  .section-head { gap: 13px; margin-bottom: 27px; }
  .desktop-break { display: none; }
  summary { min-height: 97px; grid-template-columns: 30px minmax(0, 1fr) 29px; gap: 10px; padding-inline: 5px; }
  details ul { padding-left: 52px; }
  .service-lead, .service-step, .service-contact { padding-left: 39px; }
  .projects { margin-top: 48px; }
  .approach-image { aspect-ratio: 5/3; }
  .contact-details { border-left: none; border-top: 1px solid #a5b5ac6e; padding: 22px 0 0; }
  .contact-details dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .contact-details dd { margin-bottom: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.practice-links { display: flex; flex-wrap: wrap; gap: .55rem 1.15rem; margin-top: 15px; }
.practice-links a { color: #774a2c; }
.practice-hero { padding-block: clamp(44px, 8vw, 100px); background: var(--teal); color: var(--white); }
.practice-hero h1 { font-size: clamp(2.6rem, 6vw, 5.8rem); max-width: 13em; }
.practice-hero .eyebrow { color: var(--sand); }
.practice-breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; color: #f0dfc7; margin: 0 0 27px; }
.practice-breadcrumb a { text-decoration: underline; text-underline-offset: .24em; }
.practice-services, .practice-case, .practice-contact { padding-block: clamp(45px, 6.5vw, 96px); }
.practice-grid, .practice-split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(23px, 5vw, 70px);
}
.practice-grid { margin-top: clamp(28px, 4vw, 55px); }
.practice-grid article { border-top: 1px solid var(--line); padding-top: 21px; }
.practice-grid article p, .practice-contact p { color: var(--muted); }
.practice-case { background: #eae5da; }
.practice-case p { color: var(--muted); }
@media (max-width: 650px) {
  .practice-grid, .practice-split { grid-template-columns: minmax(0, 1fr); }
}
