@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f2eb;
  --white: #fffcf7;
  --ink: #211c19;
  --muted: #584942;
  --orange: #f37a54;
  --peach: #f7c3ae;
  --soft: #fae6d9;
  --accent: #a33c24;
  --line: #d6c5b8;
  --sans: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4.45vw, 72px);
  --panel-pad: clamp(23px, 4vw, 61px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); }
a { color: inherit; }
button { font: inherit; }
p, h1, h2, h3, figure { margin: 0; }
img { display: block; max-width: 100%; }
[id] { scroll-margin-top: 92px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 9px;
  left: 9px;
  padding: 10px 15px;
  background: var(--white);
  transform: translateY(-175%);
}
.skip-link:focus { transform: none; }
.shell { width: min(calc(100% - 2 * var(--gutter)), 1300px); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 23px;
  min-height: 75px;
}
.wordmark {
  display: inline-flex;
  flex: none;
  align-items: end;
  gap: 7px;
  width: fit-content;
  text-decoration: none;
}
.wordmark img { width: 90px; height: auto; }
.wordmark small {
  margin-bottom: 2px;
  font-size: 8px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: clamp(19px, 3.15vw, 45px); }
.main-nav a { font-size: 14px; font-weight: 650; text-decoration: none; }
.main-nav a:hover { color: var(--accent); }
.main-nav .nav-contact, .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 7px 14px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}
.main-nav .nav-contact:hover { background: var(--ink); color: var(--white); }
.menu-toggle { cursor: pointer; font-size: 14px; font-weight: 650; }
.menu-icon, .menu-icon::after { display: block; width: 13px; height: 1px; background: currentColor; }
.menu-icon { position: relative; transform: translateY(-2px); }
.menu-icon::after { position: absolute; top: 5px; content: ""; }
.menu-toggle[aria-expanded="true"] .menu-icon { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(90deg); }

h1, h2, h3 { font-weight: 700; }
h1, h2 { line-height: .99; letter-spacing: -.065em; }
h2 { font-size: clamp(46px, 6vw, 91px); }
h3 { font-size: clamp(22px, 2.45vw, 34px); line-height: 1.06; letter-spacing: -.048em; overflow-wrap: anywhere; }
.label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.button, .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.button {
  justify-content: space-between;
  min-height: 47px;
  padding: 10px 15px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.button-light { border-color: var(--white); color: var(--white); }
.button-light:hover { background: var(--white); color: var(--ink); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--accent); }
.text-link { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { color: var(--accent); }
.arrow {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}
.arrow::before, .arrow::after { position: absolute; content: ""; }
.arrow::before { top: 1px; right: 1px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; }
.arrow::after { top: 6px; right: 0; width: 12px; height: 1px; background: currentColor; transform: rotate(-45deg); }
.arrow-down { transform: rotate(135deg); }
.arrow-up { transform: rotate(-45deg); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr);
  margin-block: clamp(19px, 3vw, 42px) 14px;
  border: 1px solid var(--ink);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  gap: 29px;
  min-height: clamp(407px, 40vw, 570px);
  padding: var(--panel-pad);
  background: var(--ink);
  color: var(--white);
}
.hero h1 { font-size: clamp(46px, 5.65vw, 91px); }
.hero h1 span { display: block; }
.hero h1 span + span { margin-top: .075em; color: var(--orange); }
.hero-copy :focus-visible, .individual-service:last-child :focus-visible { outline-color: var(--white); }

.hero-art {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--ink);
  background: var(--orange);
}
.hero-art::before {
  grid-area: 1 / 1 / 2 / 2;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: #ec6947;
  content: "";
}
.hero-art span {
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.hero-art span:nth-child(1) {
  grid-area: 4 / 1 / 5 / 3;
  border-left: 0;
  background: var(--soft);
}
.hero-art span:nth-child(2) {
  grid-area: 3 / 3 / 5 / 4;
  background: var(--peach);
}
.hero-art span:nth-child(3) {
  grid-area: 2 / 4 / 5 / 5;
  background: var(--paper);
}

.mission {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  border: 1px solid var(--ink);
  background: var(--ink);
  gap: 1px;
}
.mission-heading, .mission-copy { padding: clamp(23px, 3.8vw, 54px); }
.mission-heading { background: var(--white); }
.mission-heading h2 {
  max-width: 28ch;
  margin-top: 14px;
  font-size: clamp(28px, 3.2vw, 50px);
  line-height: 1.1;
  letter-spacing: -.056em;
  text-wrap: pretty;
}
.mission-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  background: var(--soft);
  font-size: clamp(15px, 1.3vw, 19px);
}

.work { padding-block: clamp(55px, 7vw, 106px); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 25px;
}
.section-head .label { margin-bottom: 11px; }
.section-head .text-link { flex-shrink: 0; margin-bottom: 4px; }
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--ink);
  background: var(--ink);
}
.service {
  --service-padding: clamp(17px, 2.5vw, 34px);
  background: var(--white);
}
.service:nth-child(2), .service:nth-child(6) { background: var(--soft); }
.service summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(104px, 11vw, 148px);
  padding: var(--service-padding);
  padding-right: calc(var(--service-padding) + 43px);
  list-style: none;
  font-size: clamp(21px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.044em;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.service summary::-webkit-details-marker { display: none; }
.service summary::before, .service summary::after {
  position: absolute;
  top: 50%;
  right: calc(var(--service-padding) + 5px);
  width: 15px;
  height: 1px;
  background: var(--accent);
  content: "";
}
.service summary::after { transform: rotate(90deg); }
.service[open] summary::after { transform: none; }
.service summary:hover { color: var(--accent); }
.service summary:focus-visible { outline-offset: -5px; }
.service p {
  max-width: 42ch;
  padding: 0 var(--service-padding) var(--service-padding);
  color: var(--muted);
}

.individual { padding-block: clamp(49px, 6.9vw, 94px); border-block: 1px solid var(--line); background: #efe4da; }
.individual-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--ink);
}
.individual-service {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  min-height: clamp(169px, 22vw, 288px);
  padding: var(--panel-pad);
  background: var(--orange);
}
.individual-service:last-child { background: var(--ink); color: var(--white); }
.individual-service h3 {
  font-size: clamp(29px, 4.1vw, 65px);
  line-height: 1;
  letter-spacing: -.063em;
}
.individual-service .text-link:hover { color: var(--ink); text-decoration-thickness: 2px; }
.individual-service:last-child .text-link:hover { color: var(--orange); }

.about {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 1px;
  margin-block: clamp(52px, 7.1vw, 100px) clamp(44px, 6vw, 83px);
  border: 1px solid var(--ink);
  background: var(--ink);
}
.about-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(111px, 11.7vw, 158px);
  align-items: center;
  background: var(--peach);
}
.about-title > div:first-child { padding: var(--panel-pad) 4px var(--panel-pad) var(--panel-pad); }
.about-title .label { color: var(--ink); }
.about-title h2 { margin-top: 12px; font-size: clamp(39px, 3.9vw, 59px); }
.about-portrait {
  position: relative;
  align-self: end;
  height: clamp(127px, 14vw, 182px);
  overflow: hidden;
}
.about-portrait::before {
  position: absolute;
  inset: 25% 0 0 32%;
  background: var(--orange);
  content: "";
}
.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.about-roles {
  padding: var(--panel-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 21px;
  background: var(--white);
}
.about-roles ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}
.about-roles li {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 12px;
  background: var(--white);
  font-size: clamp(15px, 1.45vw, 21px);
  font-weight: 650;
  line-height: 1.2;
}

.guide {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(25px, 6vw, 90px);
  padding-block: 0 clamp(50px, 7vw, 96px);
}
.guide h2 { max-width: 15ch; margin-top: 11px; font-size: clamp(33px, 3.7vw, 58px); }
.guide-intro > p:not(.label) { max-width: 42ch; margin-block: 12px 17px; color: var(--muted); }
.guide-questions details { border-top: 1px solid var(--line); }
.guide-questions details:last-child { border-bottom: 1px solid var(--line); }
.guide-questions summary {
  position: relative;
  display: block;
  list-style: none;
  padding: 14px 32px 14px 0;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.guide-questions summary::-webkit-details-marker { display: none; }
.guide-questions summary::before, .guide-questions summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}
.guide-questions summary::after { transform: rotate(90deg); }
.guide-questions details[open] summary::after { transform: rotate(0); }
.guide-questions summary:hover { color: var(--accent); }
.guide-questions p { max-width: 59ch; padding: 0 15px 15px 0; color: var(--muted); }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  margin-bottom: clamp(46px, 6vw, 84px);
  border: 1px solid var(--ink);
}
.contact-copy, .contact-actions { padding: var(--panel-pad); }
.contact-copy { background: var(--ink); color: var(--white); }
.contact-copy h2 { max-width: 17ch; font-size: clamp(37px, 5vw, 74px); text-wrap: pretty; }
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 12px;
  background: var(--orange);
}
.contact-actions .label { color: var(--ink); }
.contact-actions .text-link { max-width: 100%; font-size: clamp(14px, 1.45vw, 20px); overflow-wrap: anywhere; }
.contact-actions .text-link:hover { color: var(--ink); text-decoration-thickness: 2px; }
.contact-actions :focus-visible, .individual-service:first-child :focus-visible { outline-color: var(--ink); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 77px; padding-block: 12px; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); }
  .hero-copy { padding: clamp(23px, 3.4vw, 39px); }
  .hero h1 { font-size: clamp(40px, 5.7vw, 57px); }
}

@media (max-width: 750px) {
  [id] { scroll-margin-top: 78px; }
  .header-inner { min-height: 64px; flex-wrap: wrap; gap: 0; }
  .wordmark img { width: 79px; }
  .main-nav { flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 11px; }
  .main-nav a { padding: 10px 3px; border-top: 1px solid var(--line); }
  .main-nav .nav-contact { margin-top: 5px; padding-inline: 11px; }
  .hero, .mission, .about, .guide, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { min-height: 0; padding: 23px; gap: 21px; }
  .hero h1 { font-size: clamp(40px, 9.3vw, 70px); }
  .hero-art {
    min-height: clamp(104px, 30vw, 165px);
    border-top: 1px solid var(--ink);
    border-left: 0;
  }
  .mission-heading, .mission-copy { padding: 21px; }
  .section-head { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 19px; }
  .section-head .label { margin-bottom: 7px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide { gap: 23px; }
  .contact-copy, .contact-actions { padding: 23px; }
}

@media (max-width: 460px) {
  .hero h1 { font-size: clamp(34px, 10.25vw, 45px); }
  .services, .individual-services { grid-template-columns: minmax(0, 1fr); }
  .service summary { min-height: 66px; }
  .individual-service { min-height: 151px; gap: 17px; }
  .about-title { grid-template-columns: minmax(0, 1fr) clamp(87px, 25vw, 114px); }
  .about-title > div:first-child { padding-left: 17px; }
  .about-title h2 { font-size: clamp(29px, 8vw, 37px); }
  .about-portrait { height: 116px; }
  .about-roles ul { grid-template-columns: minmax(0, 1fr); }
  .about-roles li { min-height: 43px; }
  .footer-inner { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
