@font-face{font-family:Barlow;src:url("assets/barlow-400.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Barlow;src:url("assets/barlow-500.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Barlow;src:url("assets/barlow-600.woff2") format("woff2");font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:Barlow;src:url("assets/barlow-700.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:Plex;src:url("assets/ibm-plex-mono-500.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url("assets/instrument-italic.woff2") format("woff2");font-style:italic;font-weight:400;font-display:swap}

:root {
  --ink: #16191d;
  --soft-ink: #4d5256;
  --paper: #fff;
  --mist: #f0f1ee;
  --line: #d5d8d4;
  --accent: #ff7448;
  --accent-ink: #a03517;
  --body: Barlow, Arial, sans-serif;
  --mono: Plex, Consolas, monospace;
  --gutter: clamp(1.25rem, 5.3vw, 5.5rem);
  font: 100%/1.5 var(--body);
  color: var(--ink);
  background: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ol, figure { margin: 0; }
body { -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button { background: none; border: 0; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #006ac6; outline-offset: 4px; }
.hero :focus-visible, .contact :focus-visible, footer :focus-visible { outline-color: #a4d9ff; }
:target { scroll-margin-top: 1.5rem; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 81rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; top: .5rem; left: .75rem; padding: .75rem 1rem; color: var(--ink); background: white; z-index: 10; }
::selection { color: #121315; background: #ffbfa6; }

.masthead { position: relative; z-index: 3; background: #fff; }
.nav-row, #primary-nav { display: flex; align-items: center; }
.nav-row { min-height: 5.15rem; justify-content: space-between; gap: 0 1.5rem; flex-wrap: wrap; container: site-nav / inline-size; }
.brand { flex: none; width: 11.65rem; display: inline-flex; align-items: center; min-height: 2.75rem; position: relative; }
.brand img { width: 100%; height: auto; }
.brand-live img { clip-path: inset(0 0 0 25.68%); }
.identity-symbol { overflow: visible; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 25.6757%; height: auto; }
#primary-nav { gap: clamp(1.35rem, 2.7vw, 3.1rem); }
#primary-nav > a:not(.btn), .top-link { padding-block: .7rem; text-decoration: none; font-weight: 500; }
#primary-nav > a:not(.btn):hover, .top-link:hover { text-decoration: underline; text-underline-offset: .32em; }
.btn, .pill { display: inline-flex; gap: .6rem; justify-content: center; align-items: center; width: fit-content; min-height: 3rem; padding: .65rem 1.35rem; border: 1px solid transparent; border-radius: .3rem; font-size: 1.0625rem; font-weight: 600; line-height: 1.2; text-decoration: none; }
.btn-dark, .pill.dark { color: white; background: var(--ink); }
.btn-dark:hover, .pill.dark:hover { background: #343b40; }
.btn-orange { background: var(--accent); color: #171819; }
.btn-orange:hover { background: #ff966f; }
#primary-nav .btn { min-height: 2.75rem; padding-inline: 1.2rem; font-size: 1rem; }
#menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; color: #f6f6f3; background: #1b1d1f; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; position: relative; }
.hero-copy { min-width: 0; padding-block: clamp(3.3rem, 5.1vw, 5.7rem) clamp(3.5rem, 5.4vw, 6.2rem); position: relative; z-index: 1; }
.location { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; color: #dcddd9; font: 500 .8125rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .055em; }
.location span { width: 1.6rem; height: 2px; background: var(--accent); }
.location i { color: #929494; font-style: normal; }
h1, h2, h3 { font-family: var(--body); font-weight: 600; }
.hero h1 { margin: 1.5rem 0 1.3rem; font-size: clamp(4rem, 6.7vw, 6.7rem); line-height: .95; letter-spacing: -.055em; }
.hero h1 span { color: #c4c6c3; }
.hero-intro { max-width: 28rem; color: #d6d8d6; font-size: clamp(1.06rem, 1.35vw, 1.24rem); line-height: 1.48; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.75rem; margin-top: 1.8rem; }
.services-link, .contact-email { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .36em; text-decoration-color: #949897; font-weight: 500; }
.services-link:hover, .contact-email:hover { text-decoration-color: var(--accent); }
.hero-visual { position: relative; align-self: stretch; display: grid; align-items: center; min-width: 0; }
.hero-object { width: 111%; margin-left: -5%; pointer-events: none; mask-image: linear-gradient(90deg, transparent, black 12%, black 92%, transparent),linear-gradient(0deg, transparent, black 10%, black 92%, transparent); mask-composite: intersect; }
.hero-object img { width: 100%; height: auto; }
.brand-motion { position: absolute; bottom: 1.15rem; right: 0; padding: .55rem .85rem; display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; border: 1px solid #727674; border-radius: 2rem; background: #1b1d1fd9; color: #eceeeb; font-size: .9rem; font-weight: 500; }
.brand-motion:hover { background: #363a3c; border-color: #dfe1dc; }
.brand-motion i { display: inline-block; width: 0; height: 0; border-block: .28rem solid transparent; border-left: .48rem solid currentColor; }
html[data-motion="on"] .brand-motion i { width: .5rem; height: .65rem; border: solid currentColor; border-width: 0 2px; }

h2 { font-size: clamp(2.3rem, 3.65vw, 3.65rem); line-height: 1.03; letter-spacing: -.047em; }
.service-spread.wrap, .contact .wrap, .footer-row {
  width: min(calc(100% - 2 * var(--gutter)), clamp(81rem, 77vw, 104rem));
}
/* Each service is one inquiry target, including its title and description. */
.services {
  background: #fff;
  padding-block: clamp(3.3rem, 6vw, 7rem);
}
.service-spread {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
  gap: clamp(2.6rem, 6.5vw, 8rem);
  align-items: start;
}
.service-intro { min-width: 0; }
.service-intro h2 {
  font-size: clamp(3.35rem, 5.5vw, 6.8rem);
  line-height: 1.02;
  letter-spacing: -.06em;
}
.service-intro h2 em {
  font: italic 400 1.1em/1 "Instrument Serif", Georgia, serif;
  letter-spacing: -.045em;
  color: #943d25;
}
.service-intro > p {
  margin-top: .75rem;
  max-width: 36ch;
  color: #4c4f4a;
  font-size: clamp(1.08rem, 1.24vw, 1.32rem);
}
.service-photo {
  margin-top: clamp(1.55rem, 2.5vw, 3rem);
  width: 100%;
  height: auto;
  aspect-ratio: 1.21;
  object-fit: cover;
  object-position: 65% 50%;
  background: #242321;
}
.capabilities { position: relative; border-top: 2px solid var(--ink); container: service-list / inline-size; }
.icon-library { position: absolute; overflow: hidden; }
.capability {
  position: relative;
  padding: clamp(1.05rem, 1.5vw, 1.7rem) 4.4rem clamp(1.15rem, 1.6vw, 1.85rem) 0;
  border-bottom: 1px solid #c9ccc5;
}
.capability h3 {
  font-size: clamp(1.55rem, 2.1vw, 2.45rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.capability h3 a { text-decoration: none; }
.capability h3 a::after { content: ""; position: absolute; inset: 0; }
.capability p {
  margin-top: .45rem;
  color: #4a4e4b;
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1.14vw, 1.25rem);
  line-height: 1.45;
}
.inquiry-icon {
  position: absolute;
  right: 0;
  top: clamp(1rem, 1.5vw, 1.7rem);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #9a9e98;
  border-radius: 50%;
}
.inquiry-icon svg { width: 1.22rem; height: 1.22rem; }
.capability h3 a:focus-visible { outline: none; }
.capability:focus-within { outline: 3px solid #006ac6; outline-offset: 4px; }
.capability h3 a:focus-visible { color: var(--accent-ink); }
.capability h3 a:focus-visible .inquiry-icon {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
@media (hover: hover) {
  .capability h3 a:hover { color: var(--accent-ink); }
  .capability h3 a:hover .inquiry-icon { color: white; background: var(--ink); border-color: var(--ink); }
}
@media (min-width: 768px) and (min-height: 650px) {
  .service-intro { position: sticky; top: 1.25rem; }
}
@media (max-width: 767px) {
  .service-spread { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; }
  .service-intro h2 { font-size: clamp(3.15rem, 10.5vw, 4.5rem); }
  .service-intro > p { margin-top: .55rem; }
  .service-photo { aspect-ratio: 2; object-position: 55% 53%; margin-top: 1.3rem; }
  .capability { padding: 1.15rem 3.75rem 1.25rem 0; }
  .inquiry-icon { top: 1rem; }
}
@media (max-width: 365px) {
  .capability { padding-right: 3.1rem; }
  .capability h3 { font-size: 1.45rem; }
}
@container service-list (max-width: 16.5rem) {
  .capability { padding-inline-end: 0; overflow-wrap: anywhere; }
  .capability h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .17em; }
  .inquiry-icon { display: none; }
}
.service-intro h2 { overflow-wrap: anywhere; }


.contact-inner > div { min-width: 0; }
.contact-inner .btn { max-width: 100%; text-align: center; overflow-wrap: anywhere; }
.contact { background: #f3f1eb; color: var(--ink); position: relative; isolation: isolate; overflow: hidden; }
.contact::before, .contact::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: -18%;
  right: max(-6rem, calc((100% - 125rem) / 2));
  aspect-ratio: 76/64;
  background: #e5e2da;
  pointer-events: none;
}
.contact::before { clip-path: polygon(2.6% 89.1%,39.5% 10.9%,60.5% 10.9%,23.7% 89.1%); }
.contact::after { clip-path: polygon(52.6% 39.1%,63.2% 17.2%,96.1% 89.1%,75% 89.1%); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(3.8rem, 7vw, 8rem); }
.contact h2 { max-width: 16em; font-size: clamp(2.8rem, 4.6vw, 5.7rem); }
.contact h2 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 1.1em; }
.contact-email { overflow-wrap: anywhere; max-width: 100%; margin-top: .65rem; color: #464b46; text-decoration-color: #747970; }
.contact :focus-visible { outline-color: #005ab2; }
footer { background: #191c1f; color: #f7f8f5; }
.footer-row { border-top: 1px solid #474b4f; display: flex; align-items: center; gap: 1.8rem; padding-block: 1.9rem; }
.footer-row .brand { width: 9.4rem; max-width: 100%; }
.footer-row small { color: #c1c5c2; font-size: .875rem; }
.top-link { margin-left: auto; font-size: .9375rem; }

dialog { margin: auto; padding: 0; width: min(34rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; border: 0; border-radius: .5rem; color: var(--ink); background: white; box-shadow: 0 20px 80px #0003; }
dialog::backdrop { background: #0c1014bb; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-body { padding: clamp(1.3rem, 4vw, 2.4rem); }
.dialog-close { position: absolute; top: .65rem; right: .65rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .3rem; }
.dialog-close:hover, #menu-toggle:hover { background: #ebede9; }
dialog h2 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: calc(100% - 1.7rem); }
.dialog-intro { margin: .85rem 0 1.45rem; color: var(--soft-ink); }
.dialog-intro a, .copy-button { text-underline-offset: .18em; }
form, label { display: grid; }
form { gap: 1rem; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
label { min-width: 0; gap: .3rem; font-size: .98rem; font-weight: 600; }
input, textarea, select { width: 100%; min-width: 0; padding: .65rem .7rem; border: 1px solid #777f7b; border-radius: .25rem; background: #fff; font-size: 1rem; font-weight: 400; }
select { appearance: none; padding-right: 2rem; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23383c3a' stroke-width='1.6'/%3E%3C/svg%3E") right .75rem center/14px auto no-repeat; }
textarea { resize: vertical; }
input:user-invalid, textarea:user-invalid { border-color: #ab3921; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; }
.copy-button { min-height: 2.75rem; padding: .5rem .3rem; text-decoration: underline; }
#inquiry-status:empty { display: none; }

@media (max-width: 799px) {
  .nav-row { min-height: 4.15rem; flex-wrap: wrap; gap: 0; }
}
@container site-nav (max-width: 43.5rem) {
  .brand { width: min(10rem, calc(100% - 3.4rem)); }
  #menu-toggle { width: 2.85rem; height: 2.85rem; border: 1px solid #c6cac6; border-radius: .3rem; }
  .nav-row:has(#primary-nav[data-open]) #menu-toggle { display: grid; place-content: center; gap: 5px; }
  #menu-toggle span { display: block; width: 1.1rem; height: 1.5px; background: currentColor; }
  #menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  #menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  #primary-nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; padding-block: .4rem 1rem; gap: .35rem 1.5rem; }
  #primary-nav[data-open=false] { display: none; }
  #primary-nav[data-open=true] { display: grid; gap: .2rem; padding-block: .6rem 1.15rem; border-top: 1px solid var(--line); }
  #primary-nav[data-open=true] .btn { margin-top: .3rem; }
}
@media (max-width: 719px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 2.6rem 0 0; }
  .hero h1 { font-size: min(clamp(3.8rem, 12.9vw, 5.3rem), 16vw); overflow-wrap: anywhere; margin-block: 1.05rem; }
  .hero-intro { max-width: 28rem; font-size: 1.1rem; }
  .hero-actions { margin-top: 1.25rem; }
  .hero-visual { min-height: 0; justify-self: stretch; padding: 0 0 2.05rem; }
  .hero-object { width: calc(100% + 1rem); max-width: 30rem; justify-self: center; margin: -.2rem 0 0; }
  .brand-motion { bottom: .75rem; right: 0; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 1.35rem; }
  .footer-row { flex-wrap: wrap; gap: .7rem 1rem; }
  .footer-row small { order: 3; width: 100%; }
}
@media (max-width: 520px) {
  .contact::before, .contact::after { right: -13rem; }
  .form-pair { grid-template-columns: 1fr; }
}
@media (max-width: 359px) {
  .location { font-size: .75rem; gap: .4rem; }
  .hero-actions { gap: .3rem 1rem; }
  .btn { padding-inline: 1rem; }
}
@media (forced-colors: active) {
  .btn, .pill, .brand-motion { border: 1px solid ButtonText; }
  select { appearance: auto; }
}
