@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --font-sans: Manrope, Arial, sans-serif;
  --wrap: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
picture {
  display: block;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button {
  color: inherit;
}
::selection {
  background: #bd8658;
  color: #111;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #698fff;
  outline-offset: 6px;
}
section:focus,
main:focus {
  outline: none;
}
.wrap {
  width: min(var(--wrap), calc(100% - 112px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 16px;
  transform: translateY(-180%);
  padding: 14px 22px;
  background: #fff;
  color: #142cb0;
  font-weight: 700;
}
.skip-link:focus {
  transform: translateY(0);
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.6;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
.main-nav a {
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s;
}
.main-nav a:hover {
  color: var(--accent, #2449de);
}
.menu-toggle {
  display: none;
  border: 1px solid currentColor;
  background: transparent;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.menu-toggle span {
  height: 1px;
  width: 20px;
  background: currentColor;
  transition: transform 0.2s;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 54px;
  padding: 17px 24px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.button span {
  font-size: 20px;
  line-height: 1;
}
.button:hover {
  transform: translateY(-2px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
}
.text-link > span {
  font-size: 22px;
  transition: transform 0.2s;
}
.text-link:hover > span {
  transform: translate(2px, -2px);
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
[hidden] {
  display: none !important;
}
dialog:not([open]) {
  display: none;
}
@media (min-width: 1600px) {
  :root {
    --wrap: 1400px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .main-nav {
    gap: 24px;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .js-ready .menu-toggle {
    display: flex;
    flex-shrink: 0;
  }
  .js-ready .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    background: var(--nav-bg, #f5f5f0);
    padding: 24px 20px 30px;
    border-bottom: 1px solid var(--line, #ccc);
    box-shadow: 0 18px 20px #0002;
  }
  .js-ready .main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .js-ready .main-nav a {
    padding: 16px 8px;
    font-size: 15px;
  }
  body:not(.js-ready) .site-header {
    flex-wrap: wrap;
  }
  .main-nav {
    flex-wrap: wrap;
    gap: 20px;
  }
  .main-nav a {
    padding-block: 10px;
  }
  .button {
    padding: 16px 20px;
    gap: 24px;
  }
  .eyebrow {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Draw directional icons as SVG masks so they do not depend on font glyphs. */
.icon-arrow {
  display: inline-block !important;
  font-size: 0 !important;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: currentColor;
  mask: url("/assets/arrow-up-right.svg") center/contain no-repeat;
}
.project-open,
.service-link,
.round-arrow,
.contact-arrow {
  font-size: 0 !important;
}
.project-open::before,
.service-link::before,
.round-arrow::before,
.contact-arrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background: currentColor;
  mask: url("/assets/arrow-up-right.svg") center/contain no-repeat;
}
.round-arrow::before {
  width: 18px;
  height: 18px;
  transform: rotate(135deg);
}

/* v2: progressive motion and a shared, keyboard-operated image viewer. */
html {
  scrollbar-gutter: stable;
}
body.has-modal {
  overflow: hidden;
}
.reveal-pending {
  opacity: 0;
  transform: translateY(16px);
}
.featured-project,
.section-heading,
.about-copy,
.noria-section-heading,
.noria-project,
.studio-grid,
.upcoming-intro {
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.reveal-pending:focus-within {
  opacity: 1;
  transform: none;
}
.dialog-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
}
.dialog-bottom button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #777c6c;
  color: inherit;
  background: transparent;
  font-size: 12px;
  white-space: nowrap;
}
.dialog-bottom button:hover {
  background: #ffffff15;
}
.dialog-bottom .dialog-caption {
  flex: 1;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}
[data-gallery-count] {
  font-size: 12px;
  white-space: nowrap;
}
.gallery-dialog {
  color: #eeeae3;
  background: #111310;
  border: 1px solid #626752;
  padding: 22px;
  width: min(1100px, calc(100% - 40px));
  max-height: 90svh;
  overflow: auto;
}
.gallery-dialog::backdrop {
  background: #070906e8;
  backdrop-filter: blur(6px);
}
.dialog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.dialog-toolbar p {
  font-size: 12px;
}
.dialog-toolbar button {
  min-height: 44px;
  padding: 10px 14px;
  color: inherit;
  border: 1px solid #777c6c;
  background: transparent;
  font-size: 12px;
}
.gallery-dialog > img {
  width: 100%;
  max-height: 62svh;
  object-fit: contain;
}
@media (max-width: 600px) {
  .dialog-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }
  .dialog-bottom .dialog-caption {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  [data-gallery-count] {
    text-align: center;
  }
  .dialog-bottom button {
    padding: 10px 7px;
    font-size: 11px;
  }
  .gallery-dialog {
    width: calc(100% - 24px);
    padding: 14px;
  }
  .dialog-toolbar p {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-pending {
    opacity: 1;
    transform: none;
  }
}
