:root {
  --paper: #f9f8f4;
  --surface: #f0eee8;
  --pale: #f3f1eb;
  --ink: #262721;
  --accent: #76573e;
  --rule: #ddd8cd;
  --muted: #615d54;
  --frame-gutter: clamp(12px, 3.1vw, 52px);
}
body { background: var(--paper); }
.head {
  position: sticky;
  top: 0;
  background: #f9f8f4f4;
  color: var(--ink);
  backdrop-filter: blur(12px);
}
.head.scrolled { background: #f9f8f4f4; }
.head-in { border: 0; min-height: 72px; width: calc(100% - var(--frame-gutter) * 2); }
.head .brand img { filter: none; width: clamp(76px, 7vw, 112px); }
.head .desk-nav {
  background: #eeebe3;
  border: 1px solid #e5e0d5;
  border-radius: 100px;
  padding: 5px;
  gap: 2px;
}
.head .desk-nav a { padding: 8px 16px; border-radius: 100px; transition: background .25s; }
.head .desk-nav a:hover { background: #fffdf7; }
.head .nav-contact { font-size: .86rem; border-radius: 100px; padding: 10px 16px; border-color: #a59b8c; }
.head .menu-toggle {
  width: auto;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 10px;
  padding: 0 14px;
  background: #342e24;
  color: #fff8e9;
  border-radius: 100px;
  font-size: .83rem;
}
.menu-toggle i { display: grid; gap: 5px; }
.menu-toggle i b { width: 15px; }
.hero {
  width: calc(100% - var(--frame-gutter) * 2);
  max-width: 1900px;
  margin: 0 auto;
  border-radius: clamp(20px, 2.4vw, 42px);
  min-height: clamp(565px, 79svh, 950px);
  justify-content: space-between;
}
.hero-shade {
  background: linear-gradient(90deg, #20191291, #221b1420 66%, #17110b26),
              linear-gradient(0deg, #21190fe8, #24190f1f 35%, transparent 66%, #261d1652);
}
.hero-content.wrap { width: calc(100% - clamp(38px, 8vw, 125px)); flex: 1; padding: clamp(37px, 6vw, 96px) 0 24px; }
.hero-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: end;
  gap: 20px;
  flex: 1;
}
.hero-message { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; }
.hero-message .place { margin-bottom: 16px; color: #fff2dd; }
.hero h1 {
  color: #fff7e8;
  font-size: clamp(2.8rem, 5.5vw, 6.6rem);
  line-height: .94;
  margin: 0;
  font-weight: 400;
  letter-spacing: -.088em;
}
.hero h1 em { font-size: 1.1em; line-height: .81; display: inline-block; color: #f3d7b4; }
.hero h1 span { white-space: nowrap; }
#hero-copy { margin-top: auto; padding-top: 28px; max-width: 47ch; }
.hero-buttons { gap: 9px; margin-top: 17px; }
.hero .btn, .btn.dark, .btn.line { border-radius: 100px; }
.hero .btn { min-height: 45px; padding: 10px 17px; }
.hero .btn.glass { background: #231b13a8; }
.play-symbol { margin-right: 8px; border: 5px solid transparent; border-right: 0; border-left: 8px solid currentColor; }
.hero-foot.wrap { width: calc(100% - clamp(38px, 8vw, 125px)); max-width: none; }
.hero-foot .hero-fact { justify-items: start; text-align: left; padding-inline: clamp(6px, 2vw, 32px); }
.hero-foot .hero-fact:first-child { padding-left: 0; }
.hero-reel { margin-bottom: 2px; }
.reel-controls [data-slide] { border-radius: 8px; transition: opacity .2s, transform .25s; }
.reel-controls [data-slide]:hover { transform: translateY(-3px); }

.project-intro { border-bottom: 0; grid-template-columns: .7fr 1.3fr; padding-block: clamp(45px, 7vw, 106px) 22px; }
.project-intro > figure { display: none; }
.project-intro h2 { font-size: clamp(3rem, 6vw, 7rem); }
.project-intro p:not(.kicker) { max-width: 54ch; }
.coast-spread {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  align-items: center;
  gap: clamp(8px, 1.35vw, 22px);
  padding: 36px 0 clamp(36px, 6vw, 88px);
  border-bottom: 1px solid var(--rule);
}
.coast-spread figure { position: relative; border-radius: 17px; overflow: hidden; background: var(--surface); }
.coast-spread img { width: 100%; aspect-ratio: 1.47; object-fit: cover; transition: transform .65s cubic-bezier(.2,.65,.2,1); }
.coast-spread figure:nth-child(2) img { aspect-ratio: 1.38; }
.coast-spread figcaption { padding: 12px 14px; font-size: .87rem; color: var(--ink); }
.catalog-card { border-radius: 19px; }
.catalog-filters, .lot-dialog, .calculator { border-radius: 17px; }
.catalog-detail {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 40px;
  border: 1px solid #927b64;
  border-radius: 100px;
  text-decoration: none;
  color: #3c3024;
  transition: color .24s, background .24s, border-color .24s;
}
.catalog-card-open:hover .catalog-detail, .catalog-card-open:focus-visible .catalog-detail {
  background: #3c3024;
  border-color: #3c3024;
  color: #fff7e9;
}
.catalog-drawing img { transition: transform .42s ease; }
.gallery-photo, .infra-figure, .building-feature figure img, .scene-grid article img { border-radius: 18px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .coast-spread figure:hover img { transform: scale(1.035); }
  .catalog-card-open:hover .catalog-drawing img { transform: scale(1.045); }
}

#menu.menupanel {
  inset: 0 0 0 auto;
  width: min(920px, 100%);
  padding: clamp(20px, 4vw, 48px);
  border-radius: 26px 0 0 26px;
  background: #f7f5ef;
}
#menu .menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(18px, 4vw, 58px);
  margin-top: 24px;
}
#menu nav { margin: 0; gap: 0; align-content: start; border-block-start: 1px solid var(--rule); }
#menu nav a {
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  padding: 10px 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  min-height: 46px;
  font-weight: 550;
  letter-spacing: -.035em;
}
#menu nav a:hover { background: transparent; box-shadow: none; color: var(--accent); }
#menu nav .menu-feature small { font-size: .76rem; }
.menu-aside figure { overflow: hidden; border-radius: 16px; }
.menu-aside figure img { width: 100%; aspect-ratio: 1.47; object-fit: cover; }
.menu-contact { background: #ede9de; margin-top: 12px; }
#menu[open] { animation: panel-in .33s ease-out both; }
@keyframes panel-in { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }
#film-dialog {
  width: min(calc(100% - 22px), 960px);
  max-width: none;
  border-radius: 20px;
  background: #221c16;
  color: #fff7e9;
  padding: clamp(12px, 2vw, 23px);
}
#film-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 12px; }
#film-dialog h2 { font-size: clamp(1.3rem, 3vw, 2.2rem); }
#film-dialog .close { flex: 0 0 auto; }
#bali-film { display: block; width: 100%; max-height: calc(100dvh - 128px); aspect-ratio: 16/9; background: black; border-radius: 9px; }

@media (max-width: 1040px) {
  .head .desk-nav a { padding-inline: 10px; }
}
@media (max-width: 900px) {
  .head .desk-nav { display: none; }
}
@media (max-width: 680px) {
  .head-in { min-height: 61px; }
  .head-actions { gap: 6px; }
  .head .nav-contact { display: none; }
  .head .menu-toggle { height: 38px; }
  .hero { min-height: clamp(530px, 79svh, 725px); }
  .hero-feature { display: flex; gap: 12px; flex-direction: column; align-items: stretch; }
  .hero h1 { font-size: clamp(1.65rem, 7.9vw, 2.95rem); }
  .hero-content.wrap { padding-top: 30px; padding-bottom: 11px; }
  #hero-copy { padding-top: 30px; }
  .hero .btn { padding-inline: 11px; min-height: 40px; font-size: .8rem; }
  .hero-foot strong { font-size: clamp(.73rem, 3vw, .96rem); }
  .coast-spread { width: calc(100% - 30px); gap: 5px; padding-top: 14px; }
  .coast-spread figure { border-radius: 10px; }
  .coast-spread img, .coast-spread figure:nth-child(2) img { aspect-ratio: 1; }
  .coast-spread figcaption { padding: 7px 5px; font-size: .66rem; min-height: 42px; }
  #menu.menupanel { border-radius: 0; }
  #menu .menu-layout { grid-template-columns: 1fr; }
  .menu-aside figure { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #menu[open] { animation: none; }
  .reel-controls [data-slide]:hover { transform: none; }
}
