:root {
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ink: var(--wp-ink);
  --blue: var(--wp-blueprint);
  --muted: var(--wp-graphite);
  --paper: var(--wp-paper);
  --line: var(--wp-rule);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--wp-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.viewer-open {
  overflow: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--wp-font-display);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.045em;
}
p {
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
::selection {
  color: var(--ink);
  background: #c6d7ff;
}
.container {
  width: min(1280px, calc(100% - 100px));
  margin-inline: auto;
}
.section {
  padding-block: 120px;
}
.eyebrow {
  font-family: var(--wp-font-label);
  font-size: 10px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.small-note {
  font-size: 12px;
  color: var(--muted);
}
.button {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  border-radius: 100px;
  padding: 15px 24px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    transform 0.6s var(--ease),
    background 0.35s,
    color 0.35s;
}
.button:hover {
  transform: translateY(-3px);
}
.button span,
.text-link span {
  display: inline-block;
  transition: transform 0.6s var(--ease);
}
.button:hover span,
.text-link:hover span {
  transform: translate(2px, -2px);
}
.button-small {
  padding: 13px 21px;
}
.button-dark {
  background: var(--ink);
  color: #fff;
}
.button-dark:hover {
  background: var(--blue);
}
.button-outline {
  border: 1px solid #ccd2dc;
  background: transparent;
}
.button-outline:hover {
  background: var(--ink);
  color: #fff;
}
.button-light {
  background: #fff;
  color: var(--ink);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  background: none;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: inherit;
  line-height: 1.6;
}
.quiet-link {
  font-size: 13px;
  color: var(--muted);
}
.quiet-link span {
  margin-left: 14px;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 12px 24px;
  background: #fff;
  z-index: 20;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 50px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition:
    height 0.5s var(--ease),
    border-color 0.3s;
}
.site-header.scrolled {
  height: 72px;
  border-color: var(--line);
}
.brand {
  display: block;
  width: 192px;
}
.brand img {
  width: 100%;
  height: auto;
}
#navigation {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
  font-weight: 600;
}
#navigation > a:not(.button) {
  position: relative;
}
#navigation > a:not(.button):after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
#navigation > a:hover:after {
  transform: scaleX(1);
}
.menu-toggle {
  display: none;
}
.hero {
  background: linear-gradient(#fff 34%, #f7f8fa 100%);
  padding-bottom: 38px;
  overflow: hidden;
}
.hero-intro {
  text-align: center;
  padding-top: 42px;
}
.hero h1 {
  font-size: clamp(56px, 6.2vw, 92px);
  line-height: 1.04;
  margin-top: 18px;
  letter-spacing: -0.065em;
}
.hero h1 span {
  color: var(--blue);
}
.hero-copy {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 20px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}
.action-divider {
  height: 15px;
  width: 1px;
  background: #cdd3dd;
}
.intro-enter {
  animation: enter 1.1s var(--ease) both;
}
.hero h1 {
  animation-delay: 0.08s;
}
.hero-copy {
  animation-delay: 0.17s;
}
.hero-actions {
  animation-delay: 0.24s;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.portfolio {
  padding-top: 42px;
  outline-offset: -7px;
  scroll-margin-top: 90px;
}
.portfolio-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.portfolio-hint {
  font-size: 10px;
}
.portfolio-hint span {
  margin-left: 16px;
  font-size: 15px;
}
.carousel-stage {
  position: relative;
  height: clamp(270px, 35.4vw, 510px);
  width: 100%;
  perspective: 1800px;
  touch-action: pan-y;
  user-select: none;
  isolation: isolate;
}
.project-window {
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  width: min(65vw, 920px);
  aspect-ratio: 16/9;
  padding: 0;
  border-radius: 14px;
  background: white;
  overflow: hidden;
  border: 1px solid #e2e5e9;
  box-shadow: 0 18px 40px -20px #0e172640;
  transform: translateX(-50%);
  transition:
    transform 0.95s var(--ease),
    opacity 0.75s var(--ease),
    box-shadow 0.7s var(--ease);
  transform-origin: center center;
  backface-visibility: hidden;
  text-align: left;
  will-change: transform;
}
.project-window.is-active {
  box-shadow: 0 22px 60px -25px #0e172650;
}
.window-bar {
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 14px;
  background: #fff;
  color: #7b828b;
  font: 9px var(--wp-font-body);
}
.window-dots {
  display: flex;
  gap: 4px;
}
.window-dots i {
  height: 5px;
  width: 5px;
  background: #dce0e5;
  border-radius: 50%;
}
.window-invitation {
  display: flex;
  align-items: center;
  gap: 24px;
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 12px);
  opacity: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 600;
  padding: 10px 17px;
  border: 1px solid #fff6;
  border-radius: 30px;
  white-space: nowrap;
  transition:
    opacity 0.4s,
    transform 0.6s var(--ease);
}
.is-active:hover .window-invitation,
.is-active:focus-visible .window-invitation {
  opacity: 1;
  transform: translate(-50%, 0);
}
.mini-site {
  display: block;
  height: calc(100% - 29px);
  font-family: Georgia, serif;
  overflow: hidden;
}
.mini-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 2.3% 5%;
  font-size: clamp(5px, 0.67vw, 10px);
  font-family: var(--wp-font-body);
}
.mini-nav > b {
  font-family: Georgia, serif;
  font-size: clamp(15px, 2.05vw, 29px);
  letter-spacing: -0.06em;
}
.mini-nav > b > span {
  margin-left: 3px;
  font-size: 0.5em;
}
.mini-pill {
  padding: 7px 12px;
  border: 1px solid currentColor;
  border-radius: 50px;
  font-size: 0.8em;
}
.mini-grace {
  background: #faf5ef;
  color: #2b201c;
}
.mini-grace-body,
.mini-forma-body,
.mini-aurel-body {
  display: flex;
  height: 85%;
  align-items: center;
  padding: 1% 7%;
  position: relative;
  gap: 4%;
}
.mini-grace-body > span,
.mini-forma-body > span:first-child,
.mini-aurel-body > span:first-child {
  width: 56%;
  z-index: 1;
}
.mini-site small {
  display: block;
  font: clamp(5px, 0.64vw, 10px) var(--wp-font-body);
  letter-spacing: 0.12em;
  margin-bottom: 5%;
}
.mini-site strong {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(20px, 3.5vw, 51px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.mini-copy {
  display: block;
  font: clamp(6px, 0.79vw, 12px) / 1.6 var(--wp-font-body);
  margin-top: 6%;
  opacity: 0.75;
}
.mini-button {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 40px;
  background: #342a25;
  color: #fff;
  font: clamp(6px, 0.69vw, 10px) var(--wp-font-body);
  margin-top: 6%;
}
.mini-grace-body img {
  width: 53%;
  height: 112%;
  object-fit: contain;
  position: absolute;
  right: 0;
  bottom: -8%;
  pointer-events: none;
}
.mini-forma {
  color: #332f27;
  background: #eae8e0;
}
.mini-forma .mini-nav {
  border-bottom: 1px solid #332f2720;
}
.mini-forma-body {
  padding-right: 0;
  align-items: center;
}
.architecture-art {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 51%;
  background: #c6c0ac;
  overflow: hidden;
  isolation: isolate;
}
.arch-wall {
  position: absolute;
  right: -8%;
  top: 10%;
  width: 88%;
  height: 92%;
  background: linear-gradient(100deg, #eee8d8, #d5cbb6);
  transform: skewY(-12deg);
  box-shadow: -20px 10px 24px #3f3c2920;
}
.arch-window {
  position: absolute;
  right: 15%;
  top: 25%;
  width: 38%;
  height: 57%;
  background: linear-gradient(100deg, #272a22, #535843);
  border-radius: 48% 48% 0 0;
  box-shadow: inset 12px 0 12px #0006;
  border: 7px solid #b0a38a;
  z-index: 2;
}
.arch-step {
  position: absolute;
  left: -12%;
  bottom: -4%;
  height: 30%;
  width: 120%;
  background: #aca28a;
  transform: skewY(-12deg);
  box-shadow:
    0 -7px #cec3aa,
    0 -15px #e6dbc3;
  z-index: 3;
}
.arch-sun {
  position: absolute;
  top: 8%;
  left: 6%;
  width: 27%;
  aspect-ratio: 1;
  background: #f1e6b9;
  border-radius: 50%;
}
.mini-forma .mini-button {
  background: transparent;
  color: inherit;
  border: 1px solid #332f2750;
}
.mini-aurel {
  background: #edf0df;
  color: #323d2c;
}
.mini-aurel .mini-nav > b {
  font-style: italic;
}
.mini-aurel .mini-button {
  background: #3e4b30;
}
.lamp-art {
  position: absolute;
  right: 2%;
  top: 0;
  height: 100%;
  width: 43%;
  background: radial-gradient(ellipse at 50% 90%, #c8ceae, transparent 70%);
}
.lamp-shade {
  position: absolute;
  top: 10%;
  left: 2%;
  width: 90%;
  height: 45%;
  border-radius: 50% 50% 8% 8%;
  background: repeating-linear-gradient(
    90deg,
    #ded7bc 0 2%,
    #f7edd4 2% 3.5%,
    #e2d7b6 3.5% 4%
  );
  box-shadow:
    inset -20px 0 20px #897a4a30,
    0 6px 8px #83734920;
  z-index: 3;
}
.lamp-stem {
  position: absolute;
  top: 48%;
  left: 43%;
  width: 12%;
  height: 40%;
  background: linear-gradient(90deg, #5b543f, #ada68b, #59513d);
  z-index: 2;
}
.lamp-foot {
  position: absolute;
  bottom: 9%;
  left: 29%;
  width: 40%;
  height: 7%;
  background: linear-gradient(#97917c, #56513f);
  border-radius: 50%;
  z-index: 2;
}
.lamp-shadow {
  position: absolute;
  bottom: 5%;
  left: 10%;
  width: 85%;
  height: 5%;
  background: #5e634940;
  filter: blur(7px);
  border-radius: 50%;
}
.carousel-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}
.project-caption {
  display: flex;
  gap: 24px;
  align-items: center;
}
.project-count {
  font: 10px var(--wp-font-label);
  color: #7c8592;
}
.project-caption h2 {
  font-size: 17px;
  letter-spacing: -0.04em;
}
.project-caption p {
  font-size: 10px;
  margin-top: 5px;
}
.carousel-controls {
  display: flex;
  gap: 15px;
  align-items: center;
}
.circle-button {
  border: 1px solid #dce0e6;
  background: #fff8;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  line-height: 1;
  font-size: 16px;
  transition:
    background 0.3s,
    transform 0.5s var(--ease);
}
.circle-button:hover {
  background: var(--ink);
  color: white;
  transform: scale(1.07);
}
.autoplay-toggle {
  width: 30px;
  height: 30px;
  font-size: 10px;
}
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.carousel-dots button {
  position: relative;
  padding: 0;
  width: 7px;
  height: 7px;
  border-radius: 10px;
  background: #ced3dc;
  transition:
    width 0.6s var(--ease),
    background 0.4s;
}
.carousel-dots button:before {
  content: "";
  position: absolute;
  inset: -14px -3px;
}
.carousel-dots button[aria-current="true"] {
  width: 25px;
  background: var(--ink);
}
.explore-selected {
  justify-self: end;
}
.concept-note {
  font-size: 10px;
  margin-top: 20px;
  color: #687384;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin-bottom: 60px;
}
.display-heading {
  font-size: clamp(34px, 4.1vw, 59px);
  letter-spacing: -0.055em;
  line-height: 1.13;
}
.muted-word {
  color: #929baa;
}
.blue-word {
  color: var(--blue);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 12%;
}
.intro-detail p {
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 20px;
}
.intro-detail .text-link {
  margin-top: 6px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  margin-top: 90px;
}
.principle-symbol {
  height: 45px;
  display: block;
  font: 29px var(--wp-font-display);
  color: var(--blue);
}
.principles h3 {
  font-size: 18px;
  margin-top: 17px;
}
.principles p {
  font-size: 13px;
  line-height: 1.85;
  margin-top: 12px;
  max-width: 290px;
}
.services-section {
  background: var(--paper);
}
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 60px;
}
.section-title-row > p {
  max-width: 330px;
  font-size: 14px;
  line-height: 1.85;
}
.service-row {
  display: grid;
  grid-template-columns: 50px 1fr 1fr 155px;
  align-items: center;
  gap: 35px;
  border-top: 1px solid #dce1e8;
  padding: 32px 0;
}
.service-row:last-child {
  border-bottom: 1px solid #dce1e8;
}
.row-number {
  font: 11px var(--wp-font-label);
  color: #959da8;
}
.service-row h3 {
  font-size: 24px;
  letter-spacing: -0.04em;
}
.service-row p {
  font-size: 13px;
  max-width: 330px;
  line-height: 1.8;
}
.service-tag {
  justify-self: end;
  font-size: 10px;
  border: 1px solid #d6dce5;
  border-radius: 30px;
  padding: 6px 12px;
  white-space: nowrap;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
}
.process-heading {
  position: sticky;
  top: 130px;
  height: fit-content;
}
.process-heading > p {
  font-size: 14px;
  line-height: 1.9;
  margin-top: 25px;
  margin-bottom: 25px;
}
.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-list li {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.process-list li:first-child {
  padding-top: 0;
}
.process-list li > span {
  font: 11px var(--wp-font-label);
  color: #9aa2b1;
  margin-top: 5px;
}
.process-list h3 {
  font-size: 23px;
}
.process-list p {
  font-size: 13px;
  line-height: 1.9;
  margin-top: 13px;
}
.pricing-section {
  background: var(--paper);
}
.pricing-section .section-title-row {
  margin-bottom: 25px;
}
.preview-note {
  font-size: 11px;
  margin-bottom: 30px;
  color: #697586;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: white;
  padding: 28px 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.price-card .eyebrow {
  font-size: 8px;
  letter-spacing: 0.07em;
}
.price-card h3 {
  font-size: 20px;
  margin-top: 18px;
}
.price-card .price {
  font: 500 37px/1.3 var(--wp-font-display);
  letter-spacing: -0.06em;
  color: var(--ink);
  margin-block: 23px 17px;
}
.price-card .custom-price {
  font-size: 27px;
  line-height: 1.78;
  letter-spacing: -0.055em;
}
.price-card > p:not(.price) {
  font-size: 12px;
  line-height: 1.9;
  min-height: 69px;
}
.price-card ul {
  padding: 0;
  margin: 25px 0 30px;
  list-style: none;
  flex: 1;
}
.price-card li {
  font-size: 11px;
  margin-block: 12px;
  color: var(--muted);
}
.price-card li:before {
  content: "✓";
  color: var(--blue);
  margin-right: 8px;
}
.price-card .button {
  padding: 13px 20px;
  font-size: 11px;
}
.price-featured {
  border-color: #abc0f4;
  box-shadow: 0 8px 30px -25px var(--blue);
}
.care-note {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 30px 0 0;
  margin-top: 25px;
}
.care-icon {
  font-size: 27px;
  color: var(--blue);
}
.care-note h3 {
  font-size: 16px;
}
.care-note p {
  font-size: 11px;
  max-width: 690px;
  margin-top: 7px;
}
.care-note .text-link {
  margin-left: auto;
  white-space: nowrap;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10%;
}
.faq-heading h2 {
  margin-top: 28px;
}
.faq-heading p {
  font-size: 13px;
  margin-top: 24px;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.4s var(--ease);
}
.faq-list [open] summary span {
  transform: rotate(45deg);
}
.faq-list details p {
  font-size: 13px;
  line-height: 1.9;
  padding: 0 30px 25px 0;
  animation: enter 0.5s var(--ease);
}
.contact-section {
  background: var(--ink);
  color: white;
}
.contact-top .eyebrow {
  color: #b6c1d2;
}
.contact-top h2 {
  font-size: clamp(52px, 7.8vw, 110px);
  line-height: 1.03;
  letter-spacing: -0.065em;
  margin-top: 30px;
}
.contact-top h2 span {
  color: var(--wp-blueprint-light);
}
.contact-top > p:last-child {
  font-size: 15px;
  color: #bcc4d1;
  margin-top: 30px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15%;
  margin-top: 85px;
  border-top: 1px solid #ffffff24;
  padding-top: 40px;
}
.contact-grid .eyebrow {
  color: #aebed6;
}
.contact-copy {
  color: #d3dae5;
  max-width: 300px;
  font-size: 22px;
  line-height: 1.5;
  margin-top: 24px;
}
.contact-placeholder {
  font-size: 15px;
  color: #aebed6;
  margin-top: 35px;
}
.contact-preview-note {
  font-size: 11px;
  line-height: 1.9;
  max-width: 280px;
  color: #aebed6;
  margin-top: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
label {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: #bcc8db;
  margin-bottom: 24px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #ffffff38;
  border-radius: 0;
  background: transparent;
  color: white;
  padding: 12px 0;
  font-size: 13px;
  resize: vertical;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #8f9caf;
}
select option {
  color: var(--ink);
  background: white;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline-color: #8aa9f5;
  outline-offset: 3px;
}
form .button {
  margin-top: 5px;
}
.enquiry-result {
  margin-top: 30px;
  border-top: 1px solid #ffffff38;
  padding-top: 20px;
}
.enquiry-result p {
  color: #c8d5e8;
  font-size: 12px;
}
.enquiry-result pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 12px/1.8 var(--wp-font-body);
  color: #fff;
}
.enquiry-result .text-link {
  color: white;
}
.enquiry-result #copy-status {
  margin-top: 8px;
}
body > footer {
  padding-top: 45px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 45px;
}
.footer-top p {
  font-size: 12px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #7c8694;
  border-top: 1px solid var(--line);
  padding-block: 20px;
}
.reveal {
  opacity: 1;
  transform: none;
}
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.85s var(--ease),
    transform 1s var(--ease);
}
.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.principles > .reveal:nth-child(2),
.pricing-grid > .reveal:nth-child(2) {
  transition-delay: 0.07s;
}
.principles > .reveal:nth-child(3),
.pricing-grid > .reveal:nth-child(3) {
  transition-delay: 0.14s;
}
.pricing-grid > .reveal:nth-child(4) {
  transition-delay: 0.21s;
}
dialog {
  border: 1px solid #ffffff50;
  padding: 0;
  width: calc(100vw - 60px);
  max-width: 1550px;
  height: calc(100dvh - 60px);
  max-height: 1100px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 120px #0003;
  overflow: hidden;
}
dialog::backdrop {
  background: #0e172699;
  backdrop-filter: blur(12px);
}
dialog[open] {
  animation: viewer-in 0.55s var(--ease);
}
@keyframes viewer-in {
  from {
    opacity: 0;
    transform: translateY(35px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.viewer-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.viewer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.viewer-header h2 {
  font-size: 17px;
}
.viewer-header p {
  font-size: 10px;
  margin-top: 5px;
}
.viewer-tools {
  display: flex;
  gap: 24px;
  align-items: center;
}
.viewer-tools .text-link {
  font-size: 11px;
}
.device-controls {
  background: #f0f2f5;
  border-radius: 25px;
  padding: 4px;
  display: flex;
  gap: 3px;
}
.device-controls button {
  padding: 7px 13px;
  border-radius: 20px;
  font-size: 10px;
  background: transparent;
  color: var(--muted);
}
.device-controls [aria-pressed="true"] {
  background: white;
  box-shadow: 0 2px 5px #0001;
  color: var(--ink);
}
.viewer-canvas {
  flex: 1;
  min-height: 0;
  background: #e9ecf0;
  display: flex;
  justify-content: center;
  padding: 14px;
}
.viewer-canvas iframe {
  background: white;
  border: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  transition: width 0.65s var(--ease);
  box-shadow: 0 2px 15px #0e172610;
}
.viewer-canvas iframe.is-mobile {
  width: 390px;
  max-width: 100%;
}
.viewer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  gap: 18px;
}
.viewer-footer > span {
  font-size: 10px;
  color: var(--muted);
}
.viewer-footer .text-link {
  font-size: 11px;
}
.noscript-note {
  position: fixed;
  bottom: 0;
  padding: 14px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  width: 100%;
  text-align: center;
  z-index: 12;
}
@media (min-width: 1600px) {
  .carousel-stage {
    height: 530px;
  }
  .hero-intro {
    padding-top: 65px;
  }
  .portfolio {
    padding-top: 60px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .site-header {
    padding-inline: 32px;
  }
  #navigation {
    gap: 22px;
  }
  .brand {
    width: 170px;
  }
  .service-row {
    grid-template-columns: 30px 1fr 1fr;
    gap: 25px;
  }
  .service-tag {
    display: none;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .price-card > p:not(.price) {
    min-height: 0;
  }
  .section {
    padding-block: 90px;
  }
  .principles {
    gap: 35px;
  }
  .care-note p {
    max-width: 450px;
  }
  .process-grid,
  .intro-grid {
    gap: 8%;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 85px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 74px;
    padding-inline: 20px;
  }
  .site-header.scrolled {
    height: 65px;
  }
  .brand {
    width: 162px;
  }
  .menu-toggle {
    display: flex;
    background: none;
    font-size: 12px;
    gap: 20px;
    align-items: center;
  }
  .menu-toggle span {
    font-size: 20px;
  }
  .menu-toggle[aria-expanded="true"] span {
    transform: rotate(45deg);
  }
  #navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 24px 24px 32px;
    flex-direction: column;
    background: #fff;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    gap: 0;
    box-shadow: 0 20px 30px #0e172610;
  }
  #navigation.is-open {
    display: flex;
  }
  #navigation > a {
    padding-block: 14px;
    font-size: 16px;
  }
  #navigation .button {
    margin-top: 18px;
    font-size: 13px;
    padding: 15px 23px;
    align-self: start;
  }
  .hero-intro {
    padding-top: 35px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero h1 {
    font-size: clamp(43px, 10.6vw, 73px);
    margin-top: 20px;
    letter-spacing: -0.06em;
  }
  .hero-copy {
    font-size: 12px;
    margin-top: 20px;
  }
  .hero-actions {
    gap: 18px;
    margin-top: 22px;
  }
  .hero-actions .text-link,
  .quiet-link {
    font-size: 11px;
    gap: 16px;
  }
  .portfolio {
    padding-top: 36px;
  }
  .portfolio-heading {
    margin-bottom: 23px;
  }
  .portfolio-hint {
    font-size: 0;
  }
  .portfolio-hint span {
    font-size: 18px;
  }
  .carousel-stage {
    height: clamp(225px, 57vw, 420px);
    perspective: 1000px;
  }
  .project-window {
    width: 84vw;
    border-radius: 10px;
    aspect-ratio: 1.65;
  }
  .window-bar {
    height: 22px;
    padding-inline: 10px;
    font-size: 7px;
  }
  .window-dots {
    gap: 3px;
  }
  .window-dots i {
    width: 4px;
    height: 4px;
  }
  .mini-site {
    height: calc(100% - 22px);
  }
  .mini-nav {
    font-size: 6px;
    padding: 3% 5%;
  }
  .mini-nav > b {
    font-size: 20px;
  }
  .mini-nav > span:not(.mini-pill) {
    font-size: 5px;
  }
  .mini-pill {
    padding: 4px 6px;
    font-size: 5px;
  }
  .mini-site small {
    font-size: 5px;
  }
  .mini-site strong {
    font-size: clamp(23px, 5.2vw, 38px);
  }
  .mini-copy {
    font-size: 6px;
  }
  .mini-button {
    font-size: 5px;
    padding: 6px 9px;
  }
  .mini-grace-body img {
    height: 110%;
    width: 56%;
    right: -2%;
  }
  .mini-grace-body,
  .mini-forma-body,
  .mini-aurel-body {
    padding-left: 6%;
    height: 85%;
  }
  .window-invitation {
    display: none;
  }
  .carousel-footer {
    grid-template-columns: 1fr auto;
    gap: 18px;
    margin-top: 10px;
  }
  .project-caption {
    gap: 12px;
  }
  .project-caption h2 {
    font-size: 15px;
  }
  .project-caption p {
    font-size: 8px;
  }
  .project-count {
    font-size: 8px;
  }
  .carousel-controls {
    gap: 9px;
  }
  .circle-button {
    width: 34px;
    height: 34px;
  }
  .autoplay-toggle {
    width: 28px;
    height: 28px;
  }
  .carousel-dots {
    gap: 5px;
  }
  .carousel-dots button {
    width: 5px;
    height: 5px;
  }
  .carousel-dots button[aria-current="true"] {
    width: 16px;
  }
  .explore-selected {
    grid-column: 1/-1;
    justify-self: center;
    margin-top: 13px;
    font-size: 12px;
  }
  .concept-note {
    text-align: center;
    max-width: 300px;
    font-size: 8px;
    line-height: 1.8;
    margin-top: 18px;
  }
  .hero {
    padding-bottom: 25px;
  }
  .section {
    padding-block: 65px;
  }
  .section-label {
    margin-bottom: 36px;
    padding-top: 18px;
  }
  .section-label .eyebrow {
    font-size: 8px;
  }
  .small-note {
    font-size: 9px;
  }
  .display-heading {
    font-size: clamp(34px, 7.5vw, 52px);
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .intro-detail p {
    font-size: 13px;
    line-height: 1.9;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 45px;
  }
  .principles > div {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 20px;
  }
  .principle-symbol {
    grid-row: span 2;
    font-size: 24px;
  }
  .principles h3 {
    font-size: 17px;
    margin-top: 3px;
  }
  .principles p {
    font-size: 12px;
    margin-top: 9px;
    max-width: 400px;
  }
  .section-title-row {
    display: block;
    margin-bottom: 35px;
  }
  .section-title-row > p {
    font-size: 13px;
    margin-top: 24px;
    max-width: 410px;
  }
  .service-row {
    grid-template-columns: 24px 1fr;
    gap: 12px;
    padding-block: 26px;
  }
  .service-row h3 {
    font-size: 21px;
  }
  .service-row p {
    grid-column: 2;
    font-size: 12px;
    max-width: 100%;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-heading {
    position: static;
  }
  .process-heading > p {
    font-size: 13px;
    margin-block: 22px;
  }
  .process-list li {
    gap: 22px;
    padding-block: 25px;
  }
  .process-list h3 {
    font-size: 21px;
  }
  .process-list p {
    font-size: 12px;
  }
  .pricing-grid {
    gap: 14px;
  }
  .price-card {
    padding: 24px 18px;
  }
  .price-card .eyebrow {
    font-size: 7px;
  }
  .price-card h3 {
    font-size: 17px;
    line-height: 1.3;
  }
  .price-card .price {
    font-size: 31px;
  }
  .price-card .custom-price {
    font-size: 23px;
    line-height: 1.75;
  }
  .price-card > p:not(.price) {
    font-size: 11px;
  }
  .price-card ul {
    margin-top: 15px;
  }
  .price-card li {
    font-size: 10px;
  }
  .price-card .button {
    font-size: 10px;
    padding: 12px 15px;
    gap: 10px;
  }
  .preview-note {
    font-size: 9px;
    line-height: 1.8;
  }
  .care-note {
    align-items: start;
    gap: 14px;
    flex-wrap: wrap;
  }
  .care-note h3 {
    font-size: 15px;
  }
  .care-note > div {
    flex: 1;
  }
  .care-note p {
    font-size: 10px;
  }
  .care-note .text-link {
    margin-left: 40px;
    font-size: 11px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .faq-heading h2 {
    margin-top: 20px;
  }
  .faq-heading p {
    font-size: 12px;
    margin-top: 18px;
  }
  .faq-list summary {
    font-size: 13px;
    padding-block: 21px;
  }
  .faq-list details p {
    font-size: 12px;
  }
  .contact-top h2 {
    font-size: clamp(47px, 10.4vw, 80px);
    margin-top: 24px;
  }
  .contact-top > p:last-child {
    font-size: 13px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 45px;
    padding-top: 30px;
  }
  .contact-copy {
    max-width: 100%;
    font-size: 18px;
    margin-top: 16px;
  }
  .contact-placeholder {
    font-size: 13px;
    margin-top: 22px;
  }
  .contact-preview-note {
    max-width: 100%;
    font-size: 10px;
    margin-top: 10px;
  }
  .form-row {
    gap: 18px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 30px;
  }
  .footer-top p {
    font-size: 11px;
  }
  .footer-top .text-link {
    font-size: 11px;
  }
  .footer-top .brand {
    width: 150px;
  }
  .footer-bottom {
    font-size: 9px;
  }
  .viewer-header {
    padding: 12px 14px;
    gap: 10px;
  }
  .viewer-header h2 {
    font-size: 15px;
  }
  .viewer-header p {
    font-size: 8px;
    max-width: 160px;
  }
  .viewer-tools {
    gap: 12px;
  }
  .device-controls {
    display: none;
  }
  .viewer-tools .text-link {
    font-size: 9px;
  }
  .viewer-tools .circle-button {
    width: 32px;
    height: 32px;
  }
  .viewer-footer {
    padding: 11px 14px;
    display: block;
    text-align: center;
  }
  .viewer-footer > span {
    display: none;
  }
  .viewer-footer .text-link {
    font-size: 11px;
  }
  .viewer-canvas {
    padding: 0;
  }
  .viewer-canvas iframe {
    border-radius: 0;
  }
  dialog {
    width: calc(100vw - 20px);
    height: calc(100dvh - 24px);
    border-radius: 12px;
  }
}
@media (max-width: 390px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .price-card .custom-price {
    line-height: 1.3;
  }
  .carousel-dots {
    display: none;
  }
  .hero-actions {
    gap: 12px;
  }
  .project-caption {
    gap: 8px;
  }
  .carousel-controls {
    gap: 7px;
  }
  .mini-site strong {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
  .project-window {
    will-change: auto;
  }
}
/* Keep the portfolio visible in the first desktop viewport. */
@media (min-width: 761px) {
  .hero-intro {
    padding-top: 29px;
  }
  .hero h1 {
    font-size: clamp(45px, 5.25vw, 76px);
    margin-top: 18px;
    white-space: nowrap;
  }
  .hero h1 br {
    display: none;
  }
  .hero h1 span {
    margin-left: 0.18em;
  }
  .hero-copy {
    margin-top: 18px;
  }
  .portfolio {
    padding-top: 32px;
  }
  .portfolio-heading {
    margin-bottom: 22px;
  }
  .carousel-stage {
    height: clamp(270px, 35.4vw, 510px);
  }
}
.portfolio {
  scroll-margin-top: 0;
}
.autoplay-toggle:disabled {
  opacity: 0.5;
  cursor: default;
}

.project-window {
  transition: none;
}
.carousel-ready .project-window {
  transition:
    transform 0.95s var(--ease),
    opacity 0.75s var(--ease),
    box-shadow 0.7s var(--ease);
}
@media (min-width: 761px) {
  .hero h1 span {
    margin-left: 0;
  }
}
.project-count {
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 390px) {
  .hero h1 {
    font-size: clamp(34px, 10.6vw, 43px);
  }
  .mini-site strong {
    font-size: 18px;
  }
  .mini-nav > span:not(.mini-pill) {
    display: none;
  }
  .mini-copy {
    font-size: 5px;
  }
}
