:root {
  --paper: #f5f4ef;
  --ink: #263b35;
  --muted: #66736d;
  --line: #d9ded5;
  --green: #244c40;
  --accent: #b6c7a3;
  --radius: 6px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
a {
  color: inherit;
}
button,
select,
textarea {
  font: inherit;
}
button,
.button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #63884e;
  outline-offset: 4px;
}
.sidebar {
  position: fixed;
  width: 244px;
  inset: 0 auto 0 0;
  background: #203b33;
  color: #f6f5ec;
  padding: 42px 28px;
  display: flex;
  flex-direction: column;
}
.brand img {
  width: 154px;
  height: auto;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin: 0 0 14px;
  display: block;
}
.sidebar > .eyebrow {
  color: #b9cbbd;
  margin-top: 40px;
  font-size: 9px;
}
nav {
  display: grid;
  gap: 8px;
}
nav a {
  text-decoration: none;
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: #b9cbbd;
  padding: 14px 10px;
  border-radius: 4px;
}
nav a span {
  font-size: 13px;
  color: #f6f5ec;
}
nav a:hover,
nav a.active {
  background: #ffffff10;
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 12px;
  line-height: 2.2;
}
.sidebar-bottom small {
  color: #b9cbbd;
}
.dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
}
main {
  margin-left: 244px;
  padding: 0 clamp(24px, 4.5vw, 80px);
  max-width: 1800px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  font-size: 12px;
  gap: 16px;
}
.muted {
  color: var(--muted);
}
.pill {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 5px 12px;
  font-size: 10px;
  white-space: nowrap;
}
.section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(34px, 3.4vw, 56px);
  line-height: 1.15;
  margin-bottom: 0;
}
h2 {
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 12px;
}
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 35ch;
  margin-bottom: 0;
  font-size: 13px;
}
.hero {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  color: white;
  background: #334a42;
}
.hero > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #102b25bf, #102b2510),
    linear-gradient(0deg, #102b2550, transparent);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 64px 44px;
  max-width: 470px;
}
.hero h2 {
  font-size: clamp(32px, 3vw, 48px);
}
.hero p {
  max-width: 32ch;
  font-size: 14px;
  color: #f0f2e9;
  margin-bottom: 28px;
}
.hero-label {
  position: absolute;
  z-index: 1;
  bottom: 22px;
  right: 24px;
  font-size: 10px;
  letter-spacing: 0.06em;
}
.button {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 4px;
  padding: 13px 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.button.light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.button:hover {
  filter: brightness(1.12);
}
.project-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
}
.project-strip .eyebrow {
  color: var(--muted);
  margin-bottom: 6px;
  font-size: 9px;
}
.project-strip strong {
  font-size: 13px;
  font-weight: 500;
}
.material-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.material-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fafaf6;
}
.material-card.selected {
  outline: 2px solid var(--green);
}
.material-card img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  display: block;
}
.card-body {
  padding: 26px;
}
.card-body .eyebrow {
  color: var(--muted);
  font-size: 9px;
}
.card-body p {
  color: var(--muted);
  font-size: 13px;
  max-width: 46ch;
  min-height: 44px;
}
.card-actions {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.card-actions button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 11px;
}
.card-actions button[aria-pressed="true"] {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.card-actions a {
  font-size: 11px;
  text-decoration: none;
}
.status {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.review-copy {
  max-width: 43ch;
  color: var(--muted);
  font-size: 14px;
}
.notice {
  padding: 18px 20px;
  background: #e9ece3;
  border-left: 2px solid #98ab89;
  font-size: 12px;
  color: var(--muted);
  margin-top: 28px;
}
.review-form label {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
  font-weight: 600;
}
select,
textarea {
  width: 100%;
  border: 1px solid #c7cec3;
  border-radius: 4px;
  color: var(--ink);
  background: #fafaf6;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 13px;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
.form-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.text-button {
  padding: 10px 0;
  background: none;
  border: none;
  color: var(--green);
  font-size: 12px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.resource-grid a {
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.resource-grid a:hover {
  background: #e9ece3;
}
.resource-icon {
  display: block;
  font-size: 24px;
  margin-bottom: 22px;
}
.resource-grid h3 {
  font-size: 16px;
}
.resource-grid p {
  font-size: 12px;
  color: var(--muted);
}
.resource-grid a > span:last-child {
  font-size: 11px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0;
  font-size: 10px;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .sidebar {
    width: 200px;
    padding: 32px 20px;
  }
  main {
    margin-left: 200px;
    padding: 0 28px;
  }
  .section-heading {
    align-items: start;
  }
  .review-grid {
    gap: 28px;
  }
  .resource-grid {
    gap: 12px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: relative;
    width: 100%;
    padding: 20px;
  }
  .brand img {
    width: 120px;
  }
  .sidebar > .eyebrow,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow-x: auto;
    margin-top: 16px;
    gap: 4px;
  }
  nav a {
    padding: 8px;
    white-space: nowrap;
    gap: 8px;
  }
  nav a span {
    font-size: 11px;
  }
  main {
    margin-left: 0;
    padding: 0 20px;
  }
  .topbar {
    font-size: 10px;
  }
  .section {
    padding: 34px 0;
  }
  .section-heading {
    flex-direction: column;
    gap: 18px;
  }
  .section-heading p:not(.eyebrow) {
    max-width: 48ch;
  }
  .hero {
    min-height: 420px;
  }
  .hero-content {
    padding: 40px 26px 76px;
  }
  .hero-label {
    left: 26px;
    right: 16px;
    font-size: 9px;
  }
  .project-strip {
    gap: 12px;
  }
  .project-strip strong {
    font-size: 11px;
  }
  .material-grid,
  .review-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .material-grid {
    gap: 20px;
  }
  .card-body {
    padding: 22px;
  }
  footer {
    flex-direction: column;
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
/* The presentation studio shares the portal's material language. */
.studio-preview {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #253b35;
}
.studio-preview img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
  transition: filter 0.5s;
}
.studio-preview[data-mood="golden"] img {
  filter: sepia(0.3) saturate(1.3) brightness(0.92);
}
.studio-preview[data-mood="evening"] img {
  filter: brightness(0.55) saturate(0.8) sepia(0.2);
}
.studio-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 28px 20px;
  color: white;
  background: linear-gradient(transparent, #102b25b0);
}
.studio-caption h3 {
  margin: 0;
}
.studio-controls {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 22px;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 0;
}
legend {
  font-size: 11px;
  margin-bottom: 10px;
  color: var(--muted);
}
.studio-controls button,
.library-filters button,
.scale-presets button {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  padding: 10px 14px;
  font-size: 12px;
  margin: 0 4px 6px 0;
}
button[aria-pressed="true"] {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.scale-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 28px;
}
.scale-plan {
  background: #e5eadd;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.scale-plan svg {
  display: block;
  width: 100%;
  height: auto;
}
.plan-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px;
  font-size: 10px;
  color: var(--muted);
}
.scale-controls {
  padding: 24px;
  background: #eeefe7;
  border-radius: 6px;
}
.scale-controls label {
  display: block;
  font-size: 12px;
  margin: 18px 0 8px;
}
.scale-controls output {
  float: right;
  font-weight: 600;
}
.scale-controls input {
  width: 100%;
  accent-color: var(--green);
  margin-bottom: 16px;
}
.scale-controls select {
  margin-bottom: 0;
}
.scale-presets {
  display: flex;
}
.scale-stat {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 22px 0;
}
.scale-stat strong {
  font:
    500 42px Inter,
    Arial,
    sans-serif;
}
.scale-stat span {
  font-size: 12px;
  color: var(--muted);
}
.library-filters {
  margin-bottom: 20px;
}
.design-library {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.library-card {
  text-align: left;
  padding: 0;
  border: 1px solid var(--line);
  background: #fafaf6;
  color: var(--ink);
  border-radius: 6px;
  overflow: hidden;
}
.library-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
  transition: transform 0.4s;
}
.library-card:hover img {
  transform: scale(1.03);
}
.library-card span {
  display: block;
  padding: 16px 18px;
  font-size: 14px;
}
dialog {
  width: min(880px, calc(100% - 32px));
  max-height: 90vh;
  border: 0;
  border-radius: 8px;
  padding: 28px;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop {
  background: #102b25c0;
  backdrop-filter: blur(5px);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header button {
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  color: var(--ink);
}
#modal-content > img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 4px;
  margin: 20px 0;
}
#modal-content h2 {
  margin-top: 20px;
}
#modal-content p {
  max-width: 65ch;
  color: var(--muted);
}
.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.swatch i {
  display: block;
  height: 56px;
  border: 1px solid #0001;
  border-radius: 4px;
}
.swatch span {
  font-size: 11px;
  display: block;
  margin-top: 8px;
}
@media (max-width: 1000px) {
  .scale-layout {
    grid-template-columns: 1fr;
  }
  .design-library {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .design-library {
    grid-template-columns: 1fr;
  }
  .swatches {
    grid-template-columns: 1fr 1fr;
  }
  dialog {
    padding: 20px;
  }
}
.exterior-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  gap: 28px;
}
.exterior-viewport {
  position: relative;
  height: 460px;
  background: #dce5e2;
  border-radius: 6px;
  overflow: hidden;
  touch-action: none;
}
.exterior-viewport canvas,
#walk-viewport canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.viewport-hint {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-size: 11px;
  pointer-events: none;
  color: #29473c;
}
.renderer-loading {
  padding: 24px;
}
.finish-panel {
  padding: 26px;
  background: #eeefe7;
  border-radius: 6px;
}
.finish-panel p {
  font-size: 13px;
  color: var(--muted);
}
.exterior-swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.exterior-swatches button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px;
  text-align: left;
  font-size: 11px;
  color: var(--ink);
}
.exterior-swatches button[aria-pressed="true"] {
  border: 2px solid var(--green);
  background: #dfe7d8;
  padding: 9px;
}
.exterior-swatches i {
  display: block;
  height: 45px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.spatial-invite {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.spatial-invite p {
  max-width: 50ch;
  font-size: 14px;
  color: var(--muted);
}
#walk-modal {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: #172c27;
  color: white;
  overflow: hidden;
}
#walk-viewport {
  position: absolute;
  inset: 0;
  touch-action: none;
  outline: none;
}
.walk-top,
.walk-bottom {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 32px;
  pointer-events: none;
}
.walk-top {
  top: 0;
  background: linear-gradient(#10231dcc, transparent);
}
.walk-top .eyebrow {
  font-size: 9px;
  margin-bottom: 8px;
}
.walk-top h2 {
  font-size: 22px;
  letter-spacing: -0.03em;
}
.walk-top button,
.walk-bottom button,
.walk-bottom select {
  pointer-events: auto;
  color: white;
  background: #203b33d9;
  border: 1px solid #ffffff40;
  border-radius: 5px;
  padding: 10px 14px;
  font-size: 12px;
}
.walk-top button {
  width: 44px;
  height: 44px;
  font-size: 24px;
}
.walk-bottom {
  bottom: 22px;
  align-items: end;
  background: linear-gradient(transparent, #10231dcc);
}
.walk-bottom p {
  font-size: 11px;
  margin: 6px 0 0;
  color: #d7e3dc;
}
.walk-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.walk-bottom select {
  width: auto;
  margin: 0;
}
.walk-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  opacity: 0.55;
  transform: translate(-50%, -50%);
}
.walk-disclaimer {
  position: absolute;
  bottom: 8px;
  left: 32px;
  font-size: 9px;
  color: #c2d0c7;
  pointer-events: none;
}
.touch-walk {
  position: absolute;
  bottom: 150px;
  right: 24px;
  text-align: center;
  z-index: 3;
}
.touch-walk button {
  width: 42px;
  height: 42px;
  margin: 2px;
  border-radius: 5px;
  border: 1px solid #ffffff50;
  color: white;
  background: #203b33b0;
  font-size: 18px;
  touch-action: none;
}
@media (min-width: 900px) and (pointer: fine) {
  .touch-walk {
    display: none;
  }
}
@media (max-width: 760px) {
  .exterior-layout {
    grid-template-columns: 1fr;
  }
  .exterior-viewport {
    height: 340px;
  }
  .spatial-invite {
    flex-direction: column;
    align-items: start;
  }
  .walk-top,
  .walk-bottom {
    padding: 18px;
  }
  .walk-top h2 {
    font-size: 18px;
  }
  .walk-bottom {
    flex-direction: column;
    align-items: start;
    gap: 16px;
  }
  .walk-actions {
    flex-wrap: wrap;
  }
  .walk-actions button,
  .walk-actions select {
    font-size: 10px;
    padding: 8px;
  }
  .walk-disclaimer {
    left: 18px;
  }
  .walk-bottom p {
    max-width: 30ch;
  }
  .touch-walk {
    bottom: 190px;
  }
}
#walk-viewport {
  overflow: hidden;
  background: #172c27;
}
.rendered-scene {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: render-in 0.45s ease-out;
}
img.rendered-scene {
  transform: scale(1.15);
  cursor: grab;
}
img.rendered-scene:active {
  cursor: grabbing;
}
.tour-scene-nav {
  position: absolute;
  top: 110px;
  left: 32px;
  right: 32px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tour-scene-nav button {
  color: white;
  background: #203b33d9;
  border: 1px solid #ffffff50;
  border-radius: 30px;
  padding: 8px 14px;
  font:
    11px Inter,
    sans-serif;
}
.tour-scene-nav button[aria-pressed="true"] {
  color: #203b33;
  background: #f5f4ef;
}
.tour-error {
  padding: 240px 32px;
}
@keyframes render-in {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 760px) {
  .tour-scene-nav {
    left: 18px;
    right: 18px;
    top: 96px;
    gap: 5px;
  }
  .tour-scene-nav button {
    padding: 6px 10px;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rendered-scene {
    animation: none;
  }
}
/* Three interior worlds and the supplied Earthy Luxe references. */
@media (min-width: 1200px) {
  .material-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
#earthy-luxe-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#earthy-luxe-gallery img {
  aspect-ratio: 1.5;
  object-fit: contain;
  background: #e9e5df;
}
@media (max-width: 760px) {
  #earthy-luxe-gallery {
    grid-template-columns: 1fr;
  }
}
#modal-content:has(#el-next) > img {
  max-height: 60vh;
  object-fit: contain;
}
