@font-face {
  font-family: Rubik;
  src: url("/assets/Rubik-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Rubik;
  src: url("/assets/Rubik-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --cobalt: #1231D6;
  --cream: #F6EBE2;
  --black: #060606;
  --coral: #F47A68;
  --line: rgb(6 6 6 / 19%);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 115px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--black);
  font-family: Rubik, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 0.25em; }
button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
figcaption { padding-top: 10px; font-size: 0.83rem; line-height: 1.45; }
p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }
ul { margin-block: 0; padding-left: 1.3em; }
li + li { margin-top: 0.38em; }
h1, h2, h3 {
  margin: 0 0 0.55em;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5vw, 5.25rem); }
h2 { font-size: clamp(2.1rem, 3.5vw, 3.85rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); }
.wrap { width: min(calc(100% - 80px), 1280px); margin-inline: auto; }
.section { padding-block: clamp(48px, 6vw, 85px); }
.lead { max-width: 48rem; font-size: clamp(1.12rem, 1.55vw, 1.32rem); }

.eyebrow {
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  background: var(--coral);
  width: 25px;
  height: 5px;
  margin: 0 12px 3px 0;
}
.skip {
  position: fixed;
  z-index: 40;
  top: 12px;
  left: 16px;
  padding: 12px;
  background: var(--black);
  color: var(--cream);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }
.site-header { position: sticky; z-index: 10; top: 0; background: var(--cream); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 90px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; text-decoration: none; }
.brand img { width: 190px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 3vw, 42px); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; font-size: 0.95rem; }
.nav a:not(.button):hover, .nav a[aria-current="page"] { text-decoration: underline; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 40px;
  background: var(--cobalt);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.coral { background: var(--coral); color: var(--black); }
.home-hero .button:focus-visible, .cta-section .button:focus-visible { outline-color: var(--cream); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--cobalt); font-weight: 700; }

.home-hero { position: relative; overflow: hidden; padding: 55px 0 145px; background: var(--cobalt); color: var(--cream); }
.home-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(35px, 5vw, 70px);
}
.home-copy h1 { margin: 0 0 23px; font-size: clamp(3rem, 5.1vw, 5.2rem); line-height: 1.03; letter-spacing: -0.055em; }
.home-copy h1 span { color: var(--coral); }
.home-copy .lead { max-width: 34rem; font-size: 1.22rem; line-height: 1.5; }
.home-copy .text-link { color: var(--cream); }
.home-photo {
  position: relative;
  margin: 30px 7px 0;
  padding: 12px;
  border-radius: 21px;
  background: var(--cream);
  color: var(--black);
  box-shadow: 10px 15px 0 rgb(6 6 6 / 13%);
  transform: rotate(-2.5deg);
}
.home-photo > img {
  width: 100%;
  aspect-ratio: 1.17;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 12px;
}
.home-photo figcaption { padding: 9px 4px 1px; }
.hero-wave, .hero-m, .cta-m { position: absolute; pointer-events: none; }
.hero-wave { width: 470px; max-width: 45%; bottom: -67px; left: 0; }
.hero-m { width: 440px; max-width: 36%; right: -12px; bottom: -1px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px 42px; margin-bottom: 34px; }
.section-heading h2 { max-width: 48rem; margin-bottom: 0; }
.section-heading > p { max-width: 28rem; margin: 0; }
.section-link { margin-top: 24px; }
.home-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 34px;
  padding-block: 20px;
  border-block: 1px solid var(--line);
}
.home-facts dt { color: var(--cobalt); font-size: clamp(1.3rem, 2.7vw, 2.3rem); letter-spacing: -0.04em; line-height: 1.15; }
.home-facts dd { margin: 5px 0 0; font-size: 0.88rem; }
.home-interiors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.home-interiors figure { padding: 10px; border: 2px solid var(--cobalt); border-radius: var(--radius); }
.home-interiors figure:first-child { transform: rotate(-1deg); }
.home-interiors figure:nth-child(2) { transform: rotate(1deg); }
.photo-link { display: block; border-radius: 13px; }
.photo-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 55%; border-radius: 13px; }
.photo-link:hover img { filter: brightness(0.95); }
.home-interiors figcaption { padding: 9px 4px 3px; }

.philosophy-section { border-block: 1px solid var(--line); }
.philosophy { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.75fr); align-items: start; gap: clamp(32px, 6vw, 86px); }
.philosophy-intro > img { width: 105px; margin-bottom: 22px; }
.philosophy-intro h2 { color: var(--cobalt); }
.philosophy-intro p { max-width: 23rem; }
.philosophy-grid, .project-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 36px; }
.philosophy-grid > div, .project-details > div { padding-top: 17px; border-top: 1px solid var(--cobalt); }
.philosophy-grid h3 { margin-bottom: 0.45em; }
.philosophy-grid p { font-size: 0.96rem; }

.press-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.42fr);
  align-items: start;
  gap: 28px clamp(30px, 6vw, 86px);
}
.press-overview h2 { color: var(--cobalt); }
.press-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.press-list li { margin: 0; border-bottom: 1px solid var(--line); }
.press-list a { display: grid; gap: 4px; align-content: start; min-height: 48px; padding-block: 16px; text-decoration: none; }
.press-medium { color: var(--cobalt); font-weight: 700; font-size: 0.91rem; }
.press-kind { font-size: 0.84rem; }
.press-title { font-size: 1.08rem; line-height: 1.35; text-decoration: underline; text-decoration-thickness: 1px; }
.press-description { font-size: 0.94rem; margin-top: 3px; }
.press-list a:hover .press-title { color: var(--cobalt); text-decoration-thickness: 2px; }
.press-group + .press-group { border-top: 1px solid var(--line); }
.press-group-alt { background: rgb(18 49 214 / 3%); }

.page-intro { padding-block: clamp(42px, 6vw, 75px); border-block: 1px solid var(--line); }
.page-intro h1 { max-width: 60rem; color: var(--cobalt); }
.page-intro .lead { margin-bottom: 0; }
.page-intro .actions { margin-top: 17px; }
.page-intro .lead + .button { margin-top: 16px; }

.photo-story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: clamp(30px, 5vw, 62px); }
.photo-story img, .photo-story .photo-link { border-radius: var(--radius); }
.photo-story h2 { font-size: clamp(1.9rem, 3.4vw, 3.5rem); }
.module-interiors { margin-top: 35px; }
.price-section { padding-top: 0; }
.price-block { background: var(--cobalt); color: var(--cream); padding: clamp(24px, 4.3vw, 58px); border-radius: var(--radius); }
.price-block h2 { max-width: 52rem; font-size: clamp(1.8rem, 3.4vw, 3.4rem); }
.price-block .amount { margin: 0 0 6px; font-size: clamp(2.65rem, 5.3vw, 5.2rem); letter-spacing: -0.06em; line-height: 1.1; }
.price-block .amount small { font-size: 0.4em; letter-spacing: 0; }
.price-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 44px; margin-top: 28px; }
.price-block h3 { font-size: 1.25rem; }
.price-block li::marker { color: var(--coral); }
.price-note { max-width: 32rem; margin-top: 12px; font-size: 0.9rem; }
.price-terms { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgb(246 235 226 / 35%); font-size: 0.9rem; }
.visit-section { padding-top: 0; }
.visit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr);
  align-items: center;
  gap: 24px 60px;
  border: 1px solid var(--cobalt);
  padding: clamp(24px, 4.3vw, 54px);
  border-radius: var(--radius);
}
.visit-panel h2 { font-size: clamp(2rem, 3.2vw, 3.3rem); }

.project-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.project-cards > div { border: 2px solid var(--cobalt); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 34px); }
.project-cards > div:first-child { background: var(--cobalt); color: var(--cream); }
.project-cards > div:nth-child(2) { background: var(--coral); border-color: var(--coral); }
.project-roles { padding-top: 0; }

.cta-section { position: relative; overflow: hidden; padding: 64px 0 125px; background: var(--cobalt); color: var(--cream); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-inner h2 { margin-bottom: 10px; }
.cta-inner .button { flex-shrink: 0; }
.cta-m { right: -12px; bottom: -1px; width: 365px; max-width: 35%; }

.site-footer { padding: 42px 0 24px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 0.8fr)); gap: 24px 36px; }
.footer-brand .brand { background: var(--cobalt); padding: 16px 18px; border-radius: 12px; }
.footer-brand p { margin-top: 10px; font-size: 0.85rem; }
.footer-links { display: grid; gap: 4px; align-content: start; }
.footer-links a { display: flex; align-items: center; min-height: 36px; font-size: 0.93rem; overflow-wrap: anywhere; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--cobalt); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 25px; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 13px; font-size: 0.84rem; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.contact-pair { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 30px clamp(28px, 5.5vw, 78px); align-items: start; }
.form-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(21px, 3.5vw, 40px); }
.form-panel h2, .contact-direct h2 { font-size: clamp(1.55rem, 2.6vw, 2.55rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; }
label span { font-weight: 400; font-size: 0.9rem; }
input:not([type="hidden"]), textarea { width: 100%; min-height: 47px; margin-top: 5px; padding: 9px 11px; border: 1px solid rgb(6 6 6 / 55%); border-radius: 7px; background: var(--cream); }
textarea { resize: vertical; }
.field-help { font-size: 0.88rem; margin-bottom: 3px; }
form > .field-help { margin-bottom: 18px; }
.form-notice { padding: 12px 15px; border: 1px solid var(--cobalt); border-radius: 8px; }
.contact-direct { padding-top: 18px; border-top: 2px solid var(--cobalt); }
.contact-direct a { color: var(--cobalt); overflow-wrap: anywhere; }
.contact-direct h3 { margin-top: 25px; }
.legal { max-width: 50rem; }
.legal h2 { margin-top: 26px; font-size: 1.64rem; }
.legal h2:first-child { margin-top: 0; }

.lightbox { width: min(92vw, 1050px); max-height: 92vh; padding: clamp(13px, 2.5vw, 25px); border: 0; border-radius: 12px; background: var(--black); color: var(--cream); }
.lightbox::backdrop { background: rgb(6 6 6 / 85%); }
.lightbox img { width: auto; height: auto; max-height: 64vh; margin-inline: auto; object-fit: contain; }
.lightbox-top, .lightbox-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lightbox-top { margin-bottom: 12px; }
.lightbox-top p { margin: 0; }
.lightbox-actions { margin-top: 12px; }
.lightbox button { min-height: 44px; padding: 6px 12px; border: 1px solid var(--cream); border-radius: 6px; background: transparent; }

@media (max-width: 990px) {
  .wrap { width: calc(100% - 52px); }
  .brand img { width: 165px; }
  .home-hero { padding-top: 40px; }
  .home-copy h1 { font-size: clamp(2.7rem, 6vw, 4rem); }
  .home-copy .lead { font-size: 1.13rem; }
  .home-photo { margin-inline: 0; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 16px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { position: static; }
  .header-inner { flex-direction: column; align-items: start; gap: 1px; padding-block: 16px 9px; }
  .brand img { width: 145px; }
  .nav { gap: 10px 22px; }
  .nav a { font-size: 0.93rem; }
  .nav .button { padding: 8px 16px; margin-block: 3px; }
  .home-hero { padding: 30px 0 108px; }
  .home-grid { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  .home-copy h1 { font-size: clamp(2.9rem, 11.7vw, 4.7rem); }
  .home-copy .lead { font-size: 1.11rem; }
  .home-photo { margin: 12px 7px 10px; padding: 9px; }
  .home-photo > img { aspect-ratio: 1.35; }
  .hero-wave { width: 250px; max-width: 52%; bottom: -35px; }
  .hero-m { width: 230px; max-width: 45%; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading > p { margin-top: 12px; }
  .home-facts { gap: 12px; padding-block: 15px; }
  .home-facts dt { font-size: clamp(1.05rem, 4.5vw, 1.55rem); }
  .home-facts dd { font-size: 0.83rem; }
  .home-interiors { gap: 14px; }
  .home-interiors figure { padding: 6px; border-radius: 15px; }
  .home-interiors img { aspect-ratio: 3 / 4; border-radius: 9px; }
  .home-interiors figcaption { padding: 7px 1px 2px; }
  .press-overview, .philosophy, .photo-story, .project-cards, .visit-panel, .contact-pair { grid-template-columns: minmax(0, 1fr); }
  .philosophy-intro > img { width: 80px; margin-bottom: 15px; }
  .philosophy-grid { gap: 22px; }
  .photo-story { gap: 22px; }
  .photo-story > div { grid-row: 1; }
  .module-interiors { margin-top: 24px; }
  .project-cards { gap: 13px; }
  .cta-section { padding: 42px 0 100px; }
  .cta-inner { flex-direction: column; align-items: start; }
  .cta-m { width: 230px; max-width: 50%; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .philosophy-grid, .project-details, .price-columns, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .nav { column-gap: 16px; }
  .home-facts dd, figcaption { font-size: 0.82rem; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .hero-m, .hero-wave, .cta-m, .skip, .cta-section { display: none; }
  body, .home-hero, .price-block, .project-cards > div { background: white !important; color: black !important; }
  .home-copy h1 span, .home-copy .text-link { color: black; }
  .home-photo, .home-interiors figure { transform: none !important; box-shadow: none; }
}
