@font-face {
  font-family: "Scala Sans";
  src: url("../fonts/scala-sans-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Scala Sans";
  src: url("../fonts/scala-sans-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Scala Sans";
  src: url("../fonts/scala-sans-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #17222c;
  --muted: #5d6973;
  --paper: #bfc5c3;
  --white: #fff;
  --blue-section: #a4aec2;
  --blue-dark: #34425f;
  --line: #d8d5cf;
  --accent: #34425f;
  --shell: min(1180px, calc(100% - 40px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Scala Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-wrap: anywhere;
  background: var(--white);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a, button { touch-action: manipulation; }
.shell { width: var(--shell); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 18px; }

.site-header {
  position: relative;
  z-index: 50;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; }
.brand-name { color: var(--blue-dark); font-size: 25px; font-weight: 750; letter-spacing: .01em; }
.brand-line {
  color: var(--blue-dark);
  font-size: 12px;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.site-nav .menu {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.site-nav .current-menu-item > a,
.site-nav a:hover { color: var(--accent); }
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  display: none;
  padding: 8px;
  background: transparent;
  border: 0;
}
.nav-toggle > span:not(.screen-reader-text) {
  width: 26px;
  height: 2px;
  display: block;
  margin: 5px;
  background: var(--ink);
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding-block: 70px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1,
.page-hero h1 {
  margin: 0;
  font: 400 clamp(48px, 6.7vw, 92px)/.98 var(--serif);
  letter-spacing: -.045em;
}
.hero-lead {
  max-width: 640px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 21px;
}
.button-row { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 22px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: .2s;
}
.button:hover { background: var(--accent); border-color: var(--accent); }
.text-link { font-size: 14px; font-weight: 700; }
.hero-carousel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 700 / 467;
  background: var(--paper);
  outline: 0;
}
.carousel-viewport { position: absolute; inset: 0; }
.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}
.carousel-slide.is-active { opacity: 1; pointer-events: auto; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  background: rgba(23, 34, 44, .84);
  color: #fff;
  border: 0;
  border-radius: 50%;
  font: 24px/1 var(--sans);
  cursor: pointer;
  transform: translateY(-50%);
}
.carousel-arrow:hover { background: var(--blue-dark); }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-footer {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.carousel-dots {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  background: rgba(23, 34, 44, .82);
  border-radius: 18px;
}
.carousel-dot {
  width: 10px;
  min-width: 10px;
  height: 10px;
  min-height: 10px;
  padding: 0;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 50%;
  cursor: pointer;
}
.carousel-dot.is-active { background: #fff; }
.carousel-counter {
  padding: 5px 9px;
  background: rgba(23, 34, 44, .82);
  color: #fff;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
}
.hero-carousel:focus-visible,
.carousel-arrow:focus-visible,
.carousel-dot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.section-pad { padding-block: 110px; }
.statement { background: var(--paper); }
.statement-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 50px; }
.statement blockquote {
  margin: 0;
  font: clamp(30px, 4vw, 57px)/1.17 var(--serif);
  letter-spacing: -.025em;
}
.statement cite {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font: 700 12px/1.4 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 56px; }
.section-heading h2,
.cta h2,
.two-col h2 {
  max-width: 750px;
  margin: 0;
  font: clamp(34px, 4vw, 58px)/1.06 var(--serif);
  letter-spacing: -.025em;
}
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.service-grid article { min-height: 260px; padding: 30px 25px 10px 0; border-right: 1px solid var(--line); }
.service-grid article + article { padding-left: 25px; }
.service-grid article:last-child { border-right: 0; }
.service-grid span,
.detail-list > article > span,
.three-steps span { color: var(--accent); font-size: 12px; font-weight: 750; }
.service-grid h3 { margin: 42px 0 14px; font: 26px/1.15 var(--serif); }
.service-grid p { color: var(--muted); font-size: 15px; }

.projects { background: var(--blue-section); color: var(--ink); }
.projects .eyebrow { color: var(--blue-dark); }
.projects .text-link { color: var(--blue-dark); }
.work-categories {
  margin: 0;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.work-carousel {
  position: relative;
  height: 670px;
  overflow: hidden;
  outline: 0;
}
.work-slide {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 72px 72px;
}
.work-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.work-cover-link { display: block; color: inherit; text-decoration: none; }
.work-cover-frame {
  width: min(390px, 100%);
  height: 530px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-cover-frame img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(23, 34, 44, .16));
}
.work-placeholder {
  width: 354px;
  max-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px;
  background: var(--blue-dark);
  color: #fff;
  font: 400 38px/1.08 var(--serif);
  text-align: center;
}
.work-short-title {
  max-width: 620px;
  display: block;
  margin-top: 14px;
  color: var(--blue-dark);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}
.work-carousel .carousel-arrow { top: 42%; }
.work-carousel-footer,
.gallery-carousel-footer { justify-content: center; }
.work-carousel .carousel-dots { max-width: 620px; flex-wrap: wrap; justify-content: center; }
.reference-projects { margin-top: 30px; }
.project-grid { display: grid; grid-template-columns: 1.35fr .7fr .8fr; align-items: end; gap: 24px; }
.project { margin: 0; }
.project img { width: 100%; height: 430px; object-fit: cover; background: #fff; }
.project-wide img { height: 520px; }
.project figcaption,
.portfolio-grid figcaption { display: flex; flex-direction: column; margin-top: 16px; }
.project figcaption span,
.portfolio-grid figcaption span { color: var(--blue-dark); font-size: 14px; }

.cta { background: var(--blue-dark); color: #fff; }
.cta .eyebrow { color: #d4dde5; }
.cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.button-light { background: #fff; color: var(--ink); border-color: #fff; }

.site-footer {
  padding: 70px var(--safe-right) calc(25px + env(safe-area-inset-bottom, 0px)) var(--safe-left);
  background: #101820;
  color: #c8d0d6;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-brand { margin-top: 0; color: #fff; font-size: 24px; font-weight: 750; }
.footer-label { color: #fff; font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.site-footer a { color: #fff; }
.footer-bottom { margin-top: 45px; padding-top: 20px; border-top: 1px solid #35404a; font-size: 12px; }

.page-main { padding-bottom: 110px; }
.page-hero { padding-block: 100px 75px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 1000px; }
.page-hero > p:last-child { max-width: 730px; margin: 28px 0 0; color: var(--muted); font-size: 20px; }
.detail-list > article { display: grid; grid-template-columns: 90px 1fr; padding: 48px 0; border-bottom: 1px solid var(--line); }
.detail-list h2,
.timeline h2,
.portal-card h2 { margin: 0 0 12px; font: 38px/1.1 var(--serif); }
.detail-list p { max-width: 760px; margin: 0; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.tag-list { display: flex; flex-wrap: wrap; align-content: start; gap: 10px; }
.tag-list span { padding: 10px 14px; border: 1px solid var(--line); font-size: 13px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 54px 24px; padding-top: 30px; }
.portfolio-grid figure { margin: 0; }
.portfolio-image { height: 360px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 24px; background: var(--paper); }
.portfolio-image img { width: 100%; max-height: 100%; object-fit: contain; }
.portfolio-grid figcaption span { color: var(--muted); }
.project-detail-header h1 { font-size: clamp(40px, 5.3vw, 76px); }
.project-gallery-section { padding-block: 70px 20px; }
.gallery-carousel {
  position: relative;
  height: min(720px, 65vw);
  min-height: 480px;
  overflow: hidden;
  background: var(--paper);
  outline: 0;
}
.gallery-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px 76px 82px;
}
.gallery-item {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}
.gallery-media {
  width: 100%;
  min-height: 0;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}
.gallery-media a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-item figcaption { max-width: 720px; margin-top: 14px; text-align: center; }
.gallery-caption { color: var(--blue-dark); font-size: 14px; line-height: 1.35; }
.gallery-carousel:focus-visible,
.work-carousel:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; }
.center-cta { display: flex; align-items: center; justify-content: space-between; margin-top: 90px; border-top: 1px solid var(--line); }
.timeline { padding-block: 30px; }
.timeline article { display: grid; grid-template-columns: 1fr 3fr; padding: 45px 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--accent); font-weight: 750; }
.timeline p { max-width: 700px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; padding-top: 60px; }
.contact-grid h2,
.contact-card h2 { margin-top: 0; font: 34px/1.15 var(--serif); }
.contact-card { padding: 42px; background: var(--paper); }
.contact-card address { margin-bottom: 30px; font-style: normal; }
.contact-card dl { display: grid; grid-template-columns: 80px 1fr; gap: 10px; margin: 0; }
.contact-card dt { color: var(--muted); font-size: 13px; }
.contact-card dd { margin: 0; }
.small { color: var(--muted); font-size: 13px; }
.setup-note,
.legal-note { padding: 18px; background: var(--paper); border-left: 4px solid var(--accent); font-size: 14px; }
.dtp-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
.dtp-form textarea,
.dtp-form select {
  width: 100% !important;
  padding: 13px !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  font-size: 16px !important;
}
.dtp-form button[type="submit"],
.dtp-form input[type="submit"] { padding: 13px 22px !important; background: var(--ink) !important; color: #fff !important; border-radius: 0 !important; }
.portal-card { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; margin-top: 60px; padding: 55px; background: var(--paper); }
.portal-action { align-self: center; }
.portal-action .button { width: 100%; }
.three-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.three-steps article { padding-top: 22px; border-top: 1px solid var(--line); }
.three-steps h3 { font: 26px/1.15 var(--serif); }
.three-steps p { color: var(--muted); }
.prose { padding-top: 55px; }
.prose.narrow { max-width: 800px; margin-left: max(20px, calc((100vw - 1180px) / 2)); }
.prose h2 { margin: 45px 0 12px; font: 30px/1.2 var(--serif); }
.legal-page .page-hero { padding-bottom: 55px; }
.legal-note { margin-bottom: 40px; }

@media (max-width: 1100px) {
  .header-inner { gap: 20px; }
  .site-nav .menu { gap: 16px; }
  .hero { gap: 42px; }
  .hero-book-one { left: 7%; }
  .hero-book-two { right: 6%; }
  .service-grid h3 { font-size: 22px; }
  .contact-grid { gap: 55px; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .header-inner { min-height: 82px; }
  .brand-line { display: none; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 82px; right: 0; left: 0; padding: 20px; background: #fff; border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav .menu { display: block; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { display: flex; padding: 13px; }
  .hero { grid-template-columns: 1fr; gap: 45px; }
  .hero-art { min-height: 460px; }
  .statement-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid article:nth-child(even) { border-right: 0; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-wide { grid-column: 1 / -1; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .contact-grid,
  .portal-card,
  .two-col { grid-template-columns: 1fr; gap: 35px; }
  .three-steps { grid-template-columns: 1fr; }
  .timeline article { grid-template-columns: 1fr 2fr; }
  .work-carousel { height: 620px; }
  .work-cover-frame { height: 480px; }
  .gallery-carousel { height: 620px; min-height: 0; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  body { font-size: 16px; }
  .brand-name { font-size: 21px; }
  .hero { min-height: auto; padding-block: 55px; }
  .hero h1,
  .page-hero h1 { font-size: clamp(42px, 13vw, 48px); }
  .hero-lead,
  .page-hero > p:last-child { font-size: 18px; }
  .carousel-arrow { width: 42px; height: 42px; }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }
  .carousel-footer { right: 10px; bottom: 10px; left: 10px; }
  .work-categories { white-space: normal; }
  .work-carousel { height: 550px; }
  .work-slide { padding: 0 50px 70px; }
  .work-cover-frame { height: 400px; }
  .work-placeholder { width: 267px; font-size: 31px; }
  .work-short-title { font-size: 14px; }
  .gallery-carousel { height: 470px; }
  .gallery-slide { padding: 25px 50px 70px; }
  .button-row,
  .section-heading,
  .cta-inner,
  .center-cta { align-items: stretch; flex-direction: column; }
  .button-row .button,
  .cta .button,
  .center-cta .button { width: 100%; }
  .section-pad { padding-block: 75px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article,
  .service-grid article + article { min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-grid h3 { margin-top: 25px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-wide { grid-column: auto; }
  .project img,
  .project-wide img { height: auto; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-image { height: min(420px, 110vw); }
  .page-hero { padding-block: 70px 50px; }
  .detail-list > article { grid-template-columns: 38px minmax(0, 1fr); }
  .timeline article { grid-template-columns: 1fr; }
  .contact-card,
  .portal-card { padding: 24px; }
  .contact-card dl { grid-template-columns: 1fr; }
  .contact-card dd { margin-bottom: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .prose.narrow { margin-inline: 14px; }
}

@media (max-width: 390px) {
  .carousel-dots { gap: 5px; padding-inline: 7px; }
  .carousel-dot { width: 8px; min-width: 8px; height: 8px; min-height: 8px; }
  .section-pad { padding-block: 60px; }
  .page-main { padding-bottom: 75px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .carousel-slide { transition: none; }
}
