@font-face {
  font-family: "Delaproza";
  src: url("Font/delaproza/Delaproza-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delaproza";
  src: url("Font/delaproza/Delaproza-Regular.ttf") format("truetype");
  font-weight: 300 399;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Delaproza";
  src: url("Font/delaproza/Delaproza-Regular.ttf") format("truetype");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-heading: "Delaproza", Georgia, serif;
  --font-body: "Delaproza", Georgia, serif;
  --cadosky-font: var(--font-heading);
  --bg: #020202;
  --panel: #1a1a17;
  --line: rgba(255, 230, 184, 0.18);
  --warm: #f5b35c;
  --warm-soft: rgba(245, 179, 92, 0.22);
  --text: #f3eee5;
  --muted: #a7a096;
  --glass: rgba(255, 245, 224, 0.1);
  --page-light: 0;
  --page-text: #f3eee5;
  --page-muted: #a7a096;
  --scroll-title-color: #f3eee5;
  --scroll-body-color: rgba(167, 160, 150, .78);
  --scroll-panel-title-color: #fffaf0;
  --value-heading-progress: 0%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

#planning {
  scroll-margin-top: 24px;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background: #020202;
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 22%, rgba(245, 179, 92, .13), transparent 58%),
    #020202;
  background-size: 72px 72px, 72px 72px, auto, auto;
}

body::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 18, 22, .045) 1px, transparent 1px),
    linear-gradient(rgba(12, 18, 22, .035) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 18%, rgba(245, 179, 92, .16), transparent 62%),
    #f5f2eb;
  background-size: 72px 72px, 72px 72px, auto, auto;
  opacity: var(--page-light);
  transition: opacity 160ms linear;
}

html.is-scrolling body::after {
  transition: none;
}

body.page-light {
  --text: var(--scroll-title-color);
  --muted: var(--scroll-body-color);
  --line: rgba(33, 26, 17, .18);
}

html.brave-browser.is-scrolling .plan-slide::after,
html.brave-browser.is-scrolling .hero-blueprint,
html.brave-browser.is-scrolling .value-icon {
  filter: none !important;
}

html.brave-browser.is-scrolling .plan-slide::after {
  opacity: 0 !important;
  transition: none;
}

html.brave-browser.is-scrolling .home-value-grid article,
html.brave-browser.is-scrolling .admin-login-dialog form,
html.brave-browser.is-scrolling .availability-panel,
html.brave-browser.is-scrolling .site-footer {
  backdrop-filter: none !important;
}

html.brave-browser.is-scrolling .home-value-grid article,
html.brave-browser.is-scrolling body.page-light .home-value-grid article {
  box-shadow: 0 16px 46px rgba(52, 42, 25, .12), inset 0 0 0 1px rgba(255,255,255,.5);
}

html.brave-browser.is-scrolling .advantages-heading h2,
html.brave-browser.is-scrolling .advantages-heading h2 > .editable-content {
  animation-play-state: paused;
}

button,
input,
select,
textarea {
  font: inherit;
}

body.intro-lock {
  overflow: hidden;
}

body:not(.admin-mode) .floating-tuner,
body:not(.admin-mode) .edit-pencil,
body:not(.admin-mode) .frame-toolbar,
body:not(.admin-mode) .frame-resize-handle,
body:not(.admin-mode) .frame-style-panel,
body:not(.admin-mode) .admin-section,
body:not(.admin-mode) [data-admin-gate] {
  display: none !important;
}

/* Text editing is direct in Admin: legacy pencil buttons are never shown. */
.edit-pencil {
  display: none !important;
}

body.admin-mode [data-edit-key],
body.admin-mode [data-dynamic-edit="true"] {
  cursor: pointer;
}

.admin-undo-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  border: 1px solid rgba(245, 179, 92, .42);
  padding: 11px 15px;
  color: #fffaf0;
  background: rgba(8, 8, 7, .94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .48);
  font-size: 10px;
  text-transform: uppercase;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.admin-undo-toast.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.calendar-open {
  overflow: hidden;
}

.availability-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(18px, 4vw, 60px);
  background: rgba(2, 2, 2, .32);
  isolation: isolate;
}

.availability-overlay.hidden {
  display: none;
}

.availability-door {
  position: absolute;
  inset-block: 0;
  z-index: -1;
  width: 51%;
  background:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(245, 179, 92, .1), transparent 48%),
    #050504;
  background-size: 72px 72px, 72px 72px, auto, auto;
  will-change: transform;
  transition: transform 860ms cubic-bezier(.76, 0, .24, 1);
}

.availability-door-left {
  left: 0;
  border-right: 1px solid rgba(245, 179, 92, .16);
  transform: translate3d(-101%, 0, 0);
}

.availability-door-right {
  right: 0;
  border-left: 1px solid rgba(245, 179, 92, .16);
  transform: translate3d(101%, 0, 0);
}

.availability-overlay.is-open .availability-door,
.availability-overlay.closing .availability-door {
  transform: translate3d(0, 0, 0);
}

.availability-overlay.closing .availability-door-left {
  transform: translate3d(-101%, 0, 0);
}

.availability-overlay.closing .availability-door-right {
  transform: translate3d(101%, 0, 0);
}

.availability-panel {
  width: min(900px, 100%);
  border: 1px solid rgba(255, 230, 184, .2);
  padding: clamp(22px, 4vw, 42px);
  color: var(--text);
  background: rgba(8, 8, 7, .9);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .72);
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(.985);
  transition: opacity 420ms 330ms ease, transform 620ms 250ms cubic-bezier(.16, 1, .3, 1);
  backdrop-filter: blur(16px);
}

.availability-overlay.is-open .availability-panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.availability-overlay.closing .availability-panel {
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(.99);
  transition-delay: 0ms;
  transition-duration: 260ms;
}

.availability-heading,
.calendar-toolbar,
.calendar-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.availability-heading {
  margin-bottom: 24px;
}

.availability-heading p {
  margin: 0 0 8px;
  color: var(--warm);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.availability-heading h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 60px);
  line-height: .9;
  text-transform: uppercase;
}

.availability-close,
.calendar-toolbar button {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 230, 184, .2);
  color: var(--text);
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
}

.availability-close {
  width: 42px;
  height: 42px;
  font-size: 24px;
}

.calendar-toolbar {
  min-height: 52px;
  border-block: 1px solid rgba(255, 230, 184, .14);
}

.calendar-toolbar strong {
  font-size: 14px;
  text-transform: uppercase;
}

.calendar-toolbar button {
  width: 38px;
  height: 32px;
}

.calendar-weekdays,
.availability-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  padding-top: 14px;
  color: rgba(255, 250, 238, .44);
  font-size: 9px;
  text-align: center;
  text-transform: uppercase;
}

.availability-calendar {
  gap: 5px;
  margin-top: 8px;
}

.calendar-day {
  position: relative;
  display: grid;
  min-height: 66px;
  place-content: center;
  border: 1px solid rgba(255, 230, 184, .12);
  padding: 0;
  font: inherit;
  text-align: center;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.calendar-day span {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.calendar-day small {
  margin-top: 4px;
  font-size: 8px;
  text-transform: uppercase;
}

.calendar-day.available {
  color: #fffaf0;
  background: rgba(255, 250, 238, .065);
}

.calendar-day.available small {
  color: rgba(245, 179, 92, .78);
}

.calendar-day.unavailable {
  border-color: rgba(255, 255, 255, .045);
  color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .018);
}

.calendar-day.unavailable small {
  color: rgba(255, 255, 255, .2);
}

.calendar-day.outside-month {
  opacity: .24;
}

button.calendar-day {
  cursor: pointer;
}

button.calendar-day:disabled {
  cursor: not-allowed;
}

.calendar-day.selectable:hover,
.calendar-day.selectable:focus-visible {
  z-index: 1;
  border-color: rgba(245, 179, 92, .72);
  background: rgba(245, 179, 92, .11);
  outline: 0;
  transform: translate3d(0, -2px, 0);
}

.calendar-day.past {
  color: rgba(255, 255, 255, .2);
  background: transparent;
}

.calendar-day.in-range {
  border-color: rgba(245, 179, 92, .28);
  color: #fffaf0;
  background: rgba(245, 179, 92, .13);
}

.calendar-day.range-start,
.calendar-day.range-end {
  border-color: #fff4de;
  color: #090806;
  background: #f5b35c;
  box-shadow: 0 0 24px rgba(245, 179, 92, .24);
}

.calendar-day.range-start small,
.calendar-day.range-end small {
  color: rgba(9, 8, 6, .64);
}

.calendar-day.today::after {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(245, 179, 92, .55);
  content: "";
  pointer-events: none;
}

.calendar-legend {
  justify-content: flex-start;
  gap: 22px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.calendar-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-legend i {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 230, 184, .14);
}

.legend-available {
  background: rgba(255, 250, 238, .08);
}

.legend-unavailable {
  background: rgba(255, 255, 255, .02);
  opacity: .45;
}

.calendar-selection-status,
.calendar-range-actions {
  display: none;
}

.availability-overlay.range-mode .calendar-selection-status {
  display: block;
  min-height: 18px;
  margin: 14px 0 0;
  color: rgba(255, 250, 238, .58);
  font-size: 11px;
}

.availability-overlay.range-mode .calendar-selection-status.is-error {
  color: #f5b35c;
}

.availability-overlay.range-mode .calendar-range-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 230, 184, .14);
  padding-top: 18px;
}

.calendar-range-values {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.calendar-range-values span {
  display: grid;
  gap: 5px;
  color: rgba(255, 250, 238, .42);
  font-size: 9px;
  text-transform: uppercase;
}

.calendar-range-values strong {
  color: #fffaf0;
  font-size: 13px;
}

.calendar-range-values > i {
  color: var(--warm);
  font-style: normal;
}

.calendar-range-buttons {
  display: flex;
  gap: 8px;
}

.calendar-range-buttons button {
  min-height: 42px;
  border: 1px solid rgba(255, 230, 184, .2);
  padding: 0 16px;
  color: rgba(255, 250, 238, .72);
  background: rgba(255, 255, 255, .025);
  font-size: 10px;
  text-transform: uppercase;
  cursor: pointer;
}

.calendar-range-buttons #calendarRangeConfirm {
  border-color: rgba(245, 179, 92, .58);
  color: #0a0907;
  background: var(--warm);
}

.calendar-range-buttons #calendarRangeConfirm:disabled {
  border-color: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .035);
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .availability-overlay {
    padding: 10px;
  }

  .availability-panel {
    padding: 18px 12px;
  }

  .calendar-day {
    min-height: 52px;
  }

  .calendar-day span {
    font-size: 14px;
  }

  .calendar-day small {
    display: none;
  }

  .availability-overlay.range-mode .calendar-range-actions {
    grid-template-columns: 1fr;
  }

  .calendar-range-buttons button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .availability-door,
  .availability-panel {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}

.admin-login-dialog {
  width: min(500px, calc(100vw - 32px));
  border: 1px solid rgba(255, 230, 184, .28);
  padding: 0;
  color: var(--text);
  background: rgba(8, 8, 7, .96);
  box-shadow: 0 38px 100px rgba(0, 0, 0, .72);
  backdrop-filter: blur(16px);
}

.admin-login-dialog::backdrop {
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(6px);
}

.admin-login-dialog form {
  display: grid;
  gap: 20px;
  padding: 30px;
}

.admin-login-heading p {
  margin: 0 0 10px;
  color: var(--warm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-login-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 7vw, 54px);
  line-height: .95;
  text-transform: uppercase;
}

.admin-login-heading span,
.admin-login-error {
  color: var(--muted);
  line-height: 1.55;
}

.admin-login-dialog label {
  display: grid;
  gap: 8px;
}

.admin-login-dialog label span {
  color: var(--warm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-login-dialog input {
  min-height: 54px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, .035);
  outline: none;
}

.admin-login-dialog input:focus {
  border-color: rgba(245, 179, 92, .72);
}

.admin-login-error {
  min-height: 20px;
  margin: -8px 0 0;
  color: #e8a2a2;
  font-size: 12px;
}

.admin-login-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.admin-login-actions button {
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 10px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
}

.admin-login-actions button[type="submit"] {
  border-color: rgba(245, 179, 92, .62);
  background: rgba(245, 179, 92, .11);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: transparent;
  pointer-events: auto;
  opacity: 1;
  contain: strict;
  isolation: isolate;
  will-change: opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.intro-panel {
  position: absolute;
  left: 0;
  z-index: 0;
  width: 100%;
  height: calc(50% + 1px);
  overflow: hidden;
  background-color: #020202;
  backface-visibility: hidden;
  will-change: transform;
}

.intro-panel-top {
  top: 0;
}

.intro-panel-bottom {
  bottom: 0;
}

.intro-panel::after {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 68%;
  content: "";
  opacity: 0.5;
  will-change: transform;
  animation: introLightDrift 6s cubic-bezier(.45, 0, .55, 1) infinite alternate;
  transition: opacity 1240ms cubic-bezier(.22, 1, .36, 1);
}

.intro-screen.light-fading .intro-panel::after {
  opacity: 0;
}

.intro-panel-top::after {
  bottom: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(245, 179, 92, 0.07), transparent 44%);
}

.intro-panel-bottom::after {
  top: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 179, 92, 0.07), transparent 44%);
}

@keyframes introLightDrift {
  from {
    transform: translate3d(-6%, 0, 0) scaleX(.97);
  }

  to {
    transform: translate3d(6%, 0, 0) scaleX(1.03);
  }
}

.intro-lockup {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.intro-logo {
  display: flex;
  color: #fffaf0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(245, 179, 92, 0.12);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform;
}

.intro-letter,
.brand-letter {
  display: block;
  margin-right: 8px;
}

.intro-letter {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.96);
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.intro-letter:last-child,
.brand-letter:last-child {
  margin-right: 0;
}

.intro-caption {
  position: absolute;
  top: calc(100% + 38px);
  left: 50%;
  color: rgba(255, 238, 211, 0.6);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 3px;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-50%, 8px, 0);
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  .intro-screen {
    display: none;
  }
}

.hero-dark {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 0 clamp(20px, 4vw, 64px) 48px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 48%, rgba(245, 179, 92, 0.26), transparent 25%),
    radial-gradient(circle at 50% 58%, rgba(245, 179, 92, 0.12), transparent 33%),
    #020202;
}

.hero-dark::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  pointer-events: none;
}

.dark-nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 132px;
  margin-left: calc(-1 * clamp(20px, 4vw, 64px));
  margin-right: calc(-1 * clamp(20px, 4vw, 64px));
  padding: 0 clamp(20px, 4vw, 64px);
  background: transparent;
  backdrop-filter: none;
}

.brand {
  --brand-bg-color: #11110f;
  --brand-bg-opacity: .42;
  --brand-bg-x: 0px;
  --brand-bg-y: 0px;
  position: relative;
  isolation: isolate;
  align-self: stretch;
  display: flex;
  align-items: center;
  min-width: min(440px, 42vw);
  padding: 28px 32px 24px;
  margin-left: calc(-1 * clamp(20px, 4vw, 64px));
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 300;
  background: transparent;
  backdrop-filter: blur(2px);
}

.brand::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: var(--brand-bg-color);
  opacity: var(--brand-bg-opacity);
  transform: translate3d(var(--brand-bg-x), var(--brand-bg-y), 0);
  pointer-events: none;
}

.brand-text {
  position: relative;
  z-index: 1;
  display: flex;
  color: #fffaf0;
  line-height: 1;
  white-space: nowrap;
}

.intro-running .brand-text {
  opacity: 0;
}

.brand > .intro-logo-final {
  font-size: inherit;
  text-shadow: none;
  transform: none !important;
  will-change: auto;
}

.intro-logo-measure {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}

.brand > .intro-logo-final .intro-letter {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.dark-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dark-nav nav a,
.back-link,
.reserve-link,
.submit-step {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
  transition:
    color 300ms ease,
    border-color 300ms ease,
    background-color 300ms ease,
    box-shadow 300ms ease,
    transform 300ms cubic-bezier(.16, 1, .3, 1);
}

.dark-nav nav a::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .04) 43%, rgba(245, 179, 92, .2) 50%, rgba(255, 255, 255, .08) 55%, transparent 68%);
  transform: translate3d(-115%, 0, 0);
  transition: transform 760ms cubic-bezier(.16, 1, .3, 1);
}

.dark-nav nav a:hover,
.dark-nav nav a:focus-visible {
  color: #fffaf0;
  border-color: rgba(245, 179, 92, .55);
  background-color: rgba(245, 179, 92, .055);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28), inset 0 0 18px rgba(245, 179, 92, .035);
  outline: none;
  transform: translate3d(0, -2px, 0);
}

.dark-nav nav a:hover::before,
.dark-nav nav a:focus-visible::before {
  transform: translate3d(115%, 0, 0);
}

.dark-nav nav a:last-child:hover,
.dark-nav nav a:last-child:focus-visible {
  border-color: rgba(245, 179, 92, .78);
  background-color: rgba(245, 179, 92, .1);
  box-shadow: 0 12px 34px rgba(245, 179, 92, .09), inset 0 0 22px rgba(245, 179, 92, .055);
}

.admin-entry {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: 92px;
  padding: 28px clamp(20px, 4vw, 64px) 24px;
  background: #020202;
}

.admin-entry a {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 230, 184, .16);
  padding: 10px 14px;
  color: rgba(255, 250, 238, .58);
  background: rgba(255, 255, 255, .025);
  font-size: 10px;
  text-transform: uppercase;
  transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.admin-entry a:hover,
.admin-entry a:focus-visible {
  border-color: rgba(245, 179, 92, .58);
  color: #fffaf0;
  background: rgba(245, 179, 92, .07);
  outline: none;
}

body.admin-mode .admin-entry a {
  border-color: rgba(245, 179, 92, .36);
  color: var(--warm);
}

@media (prefers-reduced-motion: reduce) {
  .dark-nav nav a,
  .dark-nav nav a::before {
    transition-duration: 0ms;
  }
}

.hero-copy {
  display: none;
}

.hero-copy p,
.reservation-copy p,
.project-header p {
  margin: 0 0 10px;
  color: var(--warm);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0 0 16px;
  max-width: 760px;
  font-size: clamp(42px, 6vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy span {
  display: block;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.6;
}

.building-stage {
  position: relative;
  flex: 1;
  margin-left: 34vw;
  min-height: calc(100vh - 156px);
  padding-top: 36px;
  z-index: 2;
  display: grid;
  width: auto;
  min-width: 0;
  place-items: center;
  perspective: 1400px;
  pointer-events: none;
}

.floor-labels {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.floor-labels a {
  position: absolute;
  left: calc(-34vw + clamp(20px, 4vw, 64px));
  width: min(34vw, 430px);
  color: rgba(255, 250, 238, 0.96);
  font-size: clamp(20px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 2px 18px rgba(0,0,0,0.88);
  transform: translateY(-50%);
  pointer-events: auto;
}

.label-pipes {
  display: none;
}

.label-metal {
  display: none;
}

.label-armature {
  display: none;
}

.label-coffrage {
  top: 24%;
}

.label-earth {
  display: none;
}

.building {
  --rx: 0deg;
  --ry: 0deg;
  --coffrage-width: 1;
  --coffrage-height: 1;
  --coffrage-tilt: 0deg;
  --coffrage-rotate-x: 0deg;
  --coffrage-rotate-y: 0deg;
  position: relative;
  width: min(720px, 60vw);
  aspect-ratio: 0.72;
  transform: scale(1.2) rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(0deg);
  transform-origin: 58% 52%;
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}

.base-plate {
  display: none;
}

.floor-pipes,
.floor-metal,
.floor-armature,
.floor-earth,
.vertical-guides {
  display: none !important;
}

.floor {
  position: absolute;
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 0;
  border: 0;
  padding: 12px 18px;
  color: var(--text);
  text-align: left;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  overflow: visible;
  pointer-events: auto;
  transform-style: preserve-3d;
  clip-path: none;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, filter 220ms ease;
}

.floor::before {
  position: absolute;
  inset: 12% 2% 6%;
  content: "";
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.14) 48% 49%, transparent 49%),
    linear-gradient(0deg, transparent 48%, rgba(255,255,255,0.1) 48% 49%, transparent 49%),
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.025));
  border: 1px solid rgba(255, 229, 184, 0.18);
  clip-path: polygon(13% 0, 100% 8%, 88% 100%, 0 90%);
  opacity: 0.52;
}

.floor::after {
  position: absolute;
  left: 7%;
  right: 8%;
  bottom: -7px;
  height: 16px;
  content: "";
  background: linear-gradient(90deg, rgba(0,0,0,0.58), rgba(245,179,92,0.12), rgba(0,0,0,0.62));
  filter: blur(8px);
}

.floor:hover {
  filter: brightness(1.08);
}

.floor:hover::before {
  border-color: rgba(245, 179, 92, 0.72);
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.18) 48% 49%, transparent 49%),
    linear-gradient(0deg, transparent 48%, rgba(255,255,255,0.13) 48% 49%, transparent 49%),
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.035));
  opacity: 0.72;
}

.floor span {
  display: none;
}

.floor i {
  display: none;
}

.floor b {
  position: absolute;
  inset: 8px 10px;
  z-index: 1;
  opacity: 0.98;
}

.floor-visual {
  display: block;
  pointer-events: none;
}

.plan-zone,
.model-zone {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.035);
  overflow: hidden;
}

.plan-zone {
  display: none;
}

.plan-zone::before,
.plan-zone::after,
.model-zone::before,
.model-zone::after {
  position: absolute;
  content: "";
}

.model-zone {
  position: absolute;
  top: -52%;
  right: -30%;
  bottom: -46%;
  width: 98%;
  transform: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.model-zone img {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(0,0,0,0.52));
  transform: none;
}

.floor-coffrage i {
  display: none;
}

.floor-coffrage span {
  display: none;
}

.floor-coffrage::before,
.floor-coffrage::after {
  content: none;
}

.floor-coffrage .model-zone {
  position: absolute;
  inset: -210% -104% -205% -104%;
  width: auto;
}

.floor-coffrage .model-zone img {
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,0.58));
  transform:
    scaleX(var(--coffrage-width))
    scaleY(var(--coffrage-height))
    rotateX(var(--coffrage-tilt))
    rotateY(var(--coffrage-rotate-y))
    rotateX(var(--coffrage-rotate-x));
  transform-origin: center center;
}

.floating-tuner {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  display: grid;
  width: min(560px, 54vw);
  gap: 10px;
  padding: 14px 16px;
  color: rgba(255, 250, 238, 0.88);
  background: rgba(17, 17, 15, 0.78);
  border: 1px solid rgba(255, 230, 184, 0.18);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
  pointer-events: auto;
  user-select: none;
}

.floating-tuner.minimized {
  width: auto;
  min-width: 168px;
  gap: 0;
  padding: 10px 12px;
}

.floating-tuner.tuner-closed {
  display: none !important;
}

.floating-tuner.minimized label {
  display: none;
}

.hover-tuner {
  left: auto;
  right: 28px;
  bottom: 28px;
  transform: none;
}

.position-tuner {
  left: 28px;
  bottom: 28px;
  transform: none;
}

.title-tuner {
  left: 28px;
  top: 154px;
  bottom: auto;
  transform: none;
}

.brand-bg-tuner {
  left: auto;
  right: 28px;
  top: 154px;
  bottom: auto;
  width: min(430px, calc(100vw - 32px));
  transform: none;
}

.brand-bg-tuner label {
  grid-template-columns: 190px 1fr;
}

.brand-bg-tuner label > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand-bg-tuner output {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.brand-bg-tuner input[type="color"] {
  min-height: 30px;
  border: 1px solid var(--line);
  padding: 2px;
  background: transparent;
  cursor: pointer;
}

.title-direction-tuner {
  left: 28px;
  right: auto;
  top: 154px;
  bottom: auto;
  width: min(440px, calc(100vw - 32px));
  transform: none;
}

.title-direction-tuner label {
  grid-template-columns: 200px 1fr;
}

.title-direction-tuner label > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.title-direction-tuner output {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.text-style-tuner {
  left: auto;
  right: 28px;
  top: 360px;
  bottom: auto;
  width: min(470px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 390px));
  overflow-y: auto;
  transform: none;
}

.image-style-tuner {
  left: 50%;
  top: auto;
  bottom: 24px;
  width: min(600px, calc(100vw - 32px));
}

.image-style-tuner label {
  grid-template-columns: 210px 1fr;
}

.image-style-tuner .tuner-checkbox {
  grid-template-columns: 1fr auto;
  min-height: 30px;
  border: 1px solid rgba(255, 230, 184, .14);
  padding: 8px 10px;
  background: rgba(255, 255, 255, .02);
}

.image-style-tuner .tuner-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--warm);
}

.pricing-payment-note {
  display: block;
  margin-top: 9px;
  color: rgba(255, 250, 238, .42) !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.45;
  text-transform: none !important;
}

.image-style-tuner label > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.image-style-tuner output {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.image-file-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.image-replace-action {
  display: block;
  border: 1px solid rgba(245,179,92,.42);
  padding: 11px 12px;
  color: var(--text);
  background: rgba(245,179,92,.06);
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  font-size: 10px;
}

.image-replace-action input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.image-file-actions button {
  border: 1px solid var(--line);
  padding: 11px 12px;
  color: var(--text);
  background: rgba(255,255,255,.025);
  text-transform: uppercase;
  font-size: 10px;
  cursor: pointer;
}

.image-url-field {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.image-url-field input {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px;
  color: var(--text);
  background: rgba(255,255,255,.025);
  font-size: 10px;
}

.image-url-apply {
  border: 1px solid rgba(245, 179, 92, .42);
  padding: 11px 12px;
  color: var(--text);
  background: rgba(245,179,92,.06);
  text-transform: uppercase;
  font-size: 10px;
  cursor: pointer;
}

.image-replace-action:hover,
.image-file-actions button:hover {
  border-color: rgba(245,179,92,.78);
  background: rgba(245,179,92,.1);
}

.image-file-note {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.text-style-tuner label {
  grid-template-columns: 190px 1fr;
}

.text-style-tuner label > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.text-style-tuner output {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.text-style-tuner select,
.text-style-tuner input[type="color"] {
  min-height: 32px;
  border: 1px solid var(--line);
  padding: 3px 7px;
  color: var(--text);
  background: #11110f;
}

.tuner-section-title {
  margin: 6px 0 0;
  border-top: 1px solid rgba(255, 230, 184, .16);
  padding-top: 12px;
  color: var(--warm);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.floating-tuner.minimized .tuner-section-title {
  display: none;
}

.editable-content {
  display: inline-block;
  transform:
    perspective(var(--editor-text-perspective, 900px))
    translateX(var(--editor-text-offset-x, 0px))
    translateY(var(--editor-text-offset-y, 0px))
    rotateX(var(--editor-text-rotate-x, 0deg))
    rotateY(var(--editor-text-rotate-y, 0deg))
    rotateZ(var(--editor-text-rotate-z, 0deg));
  transform-origin: center center;
  transform-style: preserve-3d;
  cursor: inherit;
  will-change: transform;
}

/* Text must remain readable even when an observer or an intro transition is interrupted. */
.scroll-reveal,
.scroll-reveal.is-revealed,
html.intro-running .scroll-reveal {
  opacity: 1;
  clip-path: none;
  transition: none;
  will-change: auto;
}

.plan-offer .editable-content {
  transform-origin: center center;
}

.admin-mode [data-edit-key] > .editable-content {
  cursor: text;
}

.text-resize-handle {
  position: absolute;
  top: 50%;
  right: -12px;
  z-index: 16;
  display: none;
  width: 9px;
  height: min(74%, 120px);
  min-height: 34px;
  border-right: 2px solid rgba(245, 179, 92, .82);
  border-top: 1px solid rgba(245, 179, 92, .82);
  border-bottom: 1px solid rgba(245, 179, 92, .82);
  cursor: ew-resize;
  opacity: .9;
  transform: translateY(-50%);
}

.admin-mode [data-edit-key]:hover > .text-resize-handle,
.admin-mode [data-edit-key].text-editing > .text-resize-handle,
.admin-mode [data-edit-key].text-resizing > .text-resize-handle {
  display: block;
}

.admin-mode [data-edit-key].text-resizing > .editable-content {
  outline: 1px dashed rgba(245, 179, 92, .72);
  outline-offset: 7px;
}

.tuner-current {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.tuner-current strong {
  color: #fffaf0;
}

.tuner-reset {
  min-height: 38px;
  border: 1px solid rgba(255, 230, 184, .2);
  padding: 8px 12px;
  color: rgba(255, 250, 238, .78);
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  font-size: 10px;
  text-transform: uppercase;
}

.floating-tuner.minimized .tuner-current,
.floating-tuner.minimized .tuner-reset {
  display: none;
}

.tuner-handle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px -4px 2px;
  padding: 6px 4px 10px;
  color: var(--warm);
  cursor: grab;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  user-select: none;
  touch-action: none;
}

.tuner-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tuner-minimize,
.tuner-close {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 230, 184, 0.24);
  padding: 0;
  color: rgba(255, 250, 238, 0.9);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  line-height: 1;
}

.tuner-close {
  font-size: 17px;
}

.tuner-close:hover,
.tuner-close:focus-visible {
  border-color: rgba(255, 130, 100, .68);
  color: #ffb09c;
}

.floating-tuner.dragging .tuner-handle {
  cursor: grabbing;
}

.floating-tuner label {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
}

.hover-tuner label {
  grid-template-columns: 180px 1fr;
}

.title-tuner label {
  grid-template-columns: 130px 1fr;
}

.floating-tuner input {
  width: 100%;
  accent-color: var(--warm);
  user-select: auto;
}

.floor-visual .model-zone::before,
.floor-visual .model-zone::after {
  content: none !important;
}

.floor-pipes {
  left: 27%;
  top: 6%;
  width: 54%;
  height: 11%;
  transform: rotateX(58deg) rotateZ(-7deg) translateZ(86px);
}

.floor-metal {
  left: 22%;
  top: 21%;
  width: 58%;
  height: 12%;
  transform: rotateX(58deg) rotateZ(-5deg) translateZ(68px);
}

.floor-armature {
  left: 17%;
  top: 38%;
  width: 60%;
  height: 12%;
  transform: rotateX(58deg) rotateZ(-4deg) translateZ(50px);
}

.floor-coffrage {
  left: 44%;
  top: 24%;
  width: 62%;
  height: 18%;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-3deg) translateZ(30px);
}

.floor-earth {
  left: 7%;
  bottom: 10%;
  width: 68%;
  height: 14%;
  transform: rotateX(58deg) rotateZ(-2deg) translateZ(0);
}

.ducts .plan-zone::before {
  left: 14%;
  top: 36%;
  width: 72%;
  height: 2px;
  background: #4fdbe4;
  box-shadow: 0 18px 0 #4fdbe4, 28px -10px 0 #d65d4d;
}

.ducts .model-zone::before {
  left: 12%;
  top: 31%;
  width: 78%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c8d0cf, #f3f0e8, #8c9696);
  box-shadow: 0 22px 0 #aeb8b7, 26px 11px 0 #4fdbe4;
}

.ducts .model-zone::after {
  right: 12%;
  top: 26%;
  width: 28px;
  height: 28px;
  border: 5px solid #bac4c3;
  border-radius: 50%;
}

.frame-lines .plan-zone::before {
  inset: 17% 12%;
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: inset 28px 0 0 rgba(255,255,255,0.14), inset -28px 0 0 rgba(255,255,255,0.14);
}

.frame-lines .model-zone::before {
  inset: 17% 14%;
  border: 3px solid rgba(214,224,224,0.72);
  box-shadow: 18px 12px 0 rgba(214,224,224,0.24), inset 0 22px 0 rgba(214,224,224,0.2);
}

.frame-lines .model-zone::after {
  left: 17%;
  right: 13%;
  top: 47%;
  height: 4px;
  background: rgba(245,179,92,0.66);
  box-shadow: 0 -22px 0 rgba(245,179,92,0.4), 0 22px 0 rgba(245,179,92,0.4);
}

.rebar-lines .plan-zone {
  background:
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(245,179,92,0.5) 10px 12px),
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(245,179,92,0.42) 10px 12px),
    rgba(255,255,255,0.04);
}

.rebar-lines .model-zone::before {
  inset: 24% 12%;
  border: 2px solid rgba(245,179,92,0.78);
  background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(245,179,92,0.5) 9px 11px);
}

.rebar-lines .model-zone::after {
  left: 18%;
  bottom: 18%;
  width: 10px;
  height: 38px;
  background: repeating-linear-gradient(0deg, #9b6a42 0 4px, #d2a05f 4px 6px);
  box-shadow: 28px -6px 0 #a06f45, 58px 2px 0 #a06f45;
}

.walls .plan-zone {
  background:
    linear-gradient(90deg, transparent 18%, rgba(255,255,255,0.48) 18% 20%, transparent 20% 70%, rgba(255,255,255,0.48) 70% 72%, transparent 72%),
    linear-gradient(0deg, transparent 22%, rgba(255,255,255,0.42) 22% 24%, transparent 24% 70%, rgba(255,255,255,0.42) 70% 72%, transparent 72%),
    rgba(255,255,255,0.045);
}

.walls .plan-zone::before {
  left: 18%;
  top: 22%;
  width: 54%;
  height: 48%;
  border: 2px solid rgba(255,255,255,0.42);
}

.walls .plan-zone::after {
  left: 55%;
  top: 39%;
  width: 16%;
  height: 22%;
  border: 1px solid rgba(255,255,255,0.55);
}

.walls .model-zone::before {
  left: 16%;
  top: 22%;
  width: 68%;
  height: 55%;
  border: 5px solid rgba(197,197,188,0.72);
  border-right-color: rgba(197,197,188,0.34);
  border-bottom-color: rgba(197,197,188,0.34);
}

.walls .model-zone::after {
  left: 28%;
  top: 16%;
  width: 13px;
  height: 72%;
  background: rgba(211,211,200,0.5);
  box-shadow: 54px 0 0 rgba(211,211,200,0.44), 84px 18px 0 rgba(211,211,200,0.38);
}

.landscape .plan-zone::before {
  inset: 18% 10%;
  border-top: 2px solid rgba(255,255,255,0.34);
  border-bottom: 1px dashed rgba(255,255,255,0.26);
  transform: skewY(-10deg);
  box-shadow: 0 20px 0 rgba(255,255,255,0.16), 0 40px 0 rgba(103,158,91,0.3);
}

.landscape .model-zone::before {
  left: 8%;
  top: 28%;
  width: 84%;
  height: 42%;
  background:
    radial-gradient(ellipse at 26% 62%, rgba(87,139,84,0.72), transparent 34%),
    radial-gradient(ellipse at 70% 45%, rgba(111,155,82,0.58), transparent 36%),
    linear-gradient(160deg, rgba(129,119,92,0.62), rgba(54,68,51,0.4));
  clip-path: polygon(0 22%, 100% 0, 91% 86%, 13% 100%);
}

.landscape .model-zone::after {
  left: 18%;
  bottom: 18%;
  width: 68%;
  height: 16px;
  background: rgba(245,179,92,0.2);
  transform: skewX(-20deg);
}

.vertical-guides {
  position: absolute;
  left: 15%;
  top: 11%;
  width: 58%;
  height: 74%;
  border-inline: 1px dashed rgba(255,230,184,0.2);
  transform: translateZ(-20px);
  pointer-events: none;
}

.vertical-guides::before,
.vertical-guides::after {
  position: absolute;
  top: 0;
  bottom: 0;
  content: "";
  border-left: 1px dashed rgba(255,230,184,0.18);
}

.vertical-guides::before {
  left: 34%;
}

.vertical-guides::after {
  right: 28%;
}

.warm-column {
  display: none;
}

.plan-carousel {
  --coffrage-width: 1.68;
  --coffrage-height: 0.91;
  --coffrage-tilt: 0deg;
  --coffrage-rotate-x: 0deg;
  --coffrage-rotate-y: 0deg;
  --coffrage-offset-y: 0px;
  --hover-rotate-x: 0deg;
  --hover-rotate-y: 0deg;
  --hover-light-x: 50%;
  --hover-light-y: 42%;
  --hover-glow: 0;
  --hover-smooth: 160ms;
  --title-scale: 1;
  --title-offset-y: -18px;
  --title-width: 900px;
  --title-weight: 700;
  --title-color: #666461;
  --title-perspective: 900px;
  position: relative;
  flex: 1;
  min-height: calc(100vh - 156px);
  margin: 0 calc(-1 * clamp(20px, 4vw, 64px));
  padding: 42px 0 70px;
  overflow: hidden;
  perspective: none;
  pointer-events: auto;
}

.plan-carousel {
  overscroll-behavior-x: contain;
  touch-action: pan-y pinch-zoom;
}

.plan-track {
  --slide-index: 0;
  display: flex;
  height: 100%;
  min-height: 620px;
  transform: translate3d(calc(var(--slide-index) * -100vw), 0, 0);
  transition: transform 860ms cubic-bezier(.22, 1, .36, 1);
  will-change: auto;
  backface-visibility: hidden;
}

.plan-carousel.is-sliding .plan-track {
  will-change: transform;
}

.booting .plan-track,
.booting .plan-slide,
.booting .plan-slide::after,
.booting .plan-slide :is(img, video),
.booting .floor,
.booting .building {
  transition: none !important;
  animation: none !important;
}

.home-reveal-ready .plan-slide[data-project="coffrage"] h2 { opacity: 1; }

.home-reveal-ready .plan-carousel {
  pointer-events: none;
}

.plan-slide {
  position: relative;
  display: grid;
  flex: 0 0 100vw;
  min-width: 100vw;
  place-items: start center;
  padding: 64px clamp(20px, 4vw, 64px) 90px;
  cursor: default;
  opacity: .42;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: opacity 440ms ease-out;
}

.plan-slide.active {
  opacity: 1;
}

.plan-carousel.is-sliding .plan-slide {
  pointer-events: none;
}

.home-revealing .plan-slide[data-project="coffrage"] h2 { animation: none; }

.plan-slide::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    radial-gradient(circle 190px at var(--hover-light-x) var(--hover-light-y), rgba(255, 206, 128, calc(var(--hover-glow) * 0.34)), transparent 72%),
    radial-gradient(ellipse at center, rgba(255, 255, 255, calc(var(--hover-glow) * 0.07)), transparent 48%);
  filter: blur(14px);
  opacity: var(--hover-glow);
  pointer-events: none;
  transition: opacity var(--hover-smooth) ease-out;
}

.plan-slide h2 {
  --title-rotate-x: 0deg;
  --title-rotate-y: 0deg;
  --title-rotate-z: 0deg;
  position: relative;
  z-index: 2;
  margin: 0;
  width: min(var(--title-width), 86vw);
  color: var(--title-color);
  font-size: clamp(23px, calc(3.5vw * var(--title-scale)), calc(62px * var(--title-scale)));
  font-weight: var(--title-weight);
  line-height: 0.86;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 4px 28px rgba(0,0,0,0.86);
  transform:
    perspective(var(--title-perspective))
    translateY(var(--title-offset-y))
    rotateX(var(--title-rotate-x))
    rotateY(var(--title-rotate-y))
    rotateZ(var(--title-rotate-z));
  transform-origin: center center;
  transform-style: preserve-3d;
  transition: transform 240ms cubic-bezier(.16, 1, .3, 1);
}

.plan-slide[data-project="coffrage"] h2 {
  color: #666461;
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}

.plan-slide[data-project="coffrage"] h2::after {
  position: absolute;
  inset: 0;
  display: block;
  content: attr(data-title);
  color: transparent;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(255, 255, 255, .08) 47%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, .08) 53%,
    transparent 58%
  );
  background-position: 135% 50%;
  background-size: 280% 100%;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  pointer-events: none;
}

.home-revealing .plan-slide[data-project="coffrage"] h2::after {
  animation: singleTextLightSweep 2645ms 220ms cubic-bezier(.32, 0, .18, 1) both;
}

.plan-slide :is(img, video) {
  --image-scale-x: 1;
  --image-scale-y: 1;
  --image-offset-x: 0px;
  --image-offset-y: 0px;
  --image-rotate-x: 0deg;
  --image-rotate-y: 0deg;
  --image-rotate-z: 0deg;
  --image-opacity: 1;
  position: relative;
  z-index: 1;
  display: block;
  width: min(980px, 76vw);
  max-height: 58vh;
  margin-top: -18px;
  object-fit: contain;
  opacity: var(--image-opacity);
  filter:
    drop-shadow(calc(var(--hover-rotate-y) * -0.7) 28px 38px rgba(0,0,0,0.62))
    drop-shadow(0 0 calc(var(--hover-glow) * 30px) rgba(245,179,92,0.22));
  transform:
    translate3d(var(--image-offset-x), var(--image-offset-y), 0)
    scaleX(var(--image-scale-x))
    scaleY(var(--image-scale-y))
    rotateX(var(--image-rotate-x))
    rotateY(var(--image-rotate-y))
    rotateZ(var(--image-rotate-z))
    rotateX(var(--hover-rotate-x))
    rotateY(var(--hover-rotate-y));
  transform-origin: center center;
  transform-style: preserve-3d;
  transition:
    filter var(--hover-smooth) ease-out,
    transform var(--hover-smooth) cubic-bezier(.16, 1, .3, 1);
}

.plan-slide video {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(245, 179, 92, .18);
  background: #050504;
}

.plan-slide[data-project="coffrage"] :is(img, video) {
  transform:
    translate3d(var(--image-offset-x), calc(var(--coffrage-offset-y) + var(--image-offset-y)), 0)
    scaleX(var(--coffrage-width))
    scaleY(var(--coffrage-height))
    scaleX(var(--image-scale-x))
    scaleY(var(--image-scale-y))
    rotateX(var(--coffrage-tilt))
    rotateY(var(--coffrage-rotate-y))
    rotateX(var(--coffrage-rotate-x))
    rotateX(var(--image-rotate-x))
    rotateY(var(--image-rotate-y))
    rotateZ(var(--image-rotate-z))
    rotateX(var(--hover-rotate-x))
    rotateY(var(--hover-rotate-y));
  transform-origin: center center;
}

@keyframes premiumCoffrageTitle {
  0% {
    opacity: 0;
    transform:
      perspective(var(--title-perspective))
      translate3d(0, calc(var(--title-offset-y) + 14px), 0)
      rotateX(var(--title-rotate-x))
      rotateY(var(--title-rotate-y))
      rotateZ(var(--title-rotate-z));
  }

  100% {
    opacity: 1;
    transform:
      perspective(var(--title-perspective))
      translate3d(0, var(--title-offset-y), 0)
      rotateX(var(--title-rotate-x))
      rotateY(var(--title-rotate-y))
      rotateZ(var(--title-rotate-z));
  }
}

@keyframes singleTextLightSweep {
  0% {
    opacity: 0;
    background-position: 135% 50%;
  }

  18% {
    opacity: 1;
  }

  78% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    background-position: -135% 50%;
  }
}

.plan-slide:not(.active) :is(img, video) {
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)) grayscale(0.4);
}

.project-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  /* Keep a deliberate breathing area between the preceding strip and each project. */
  padding: clamp(78px, 7vw, 116px) clamp(20px, 5vw, 72px) 34px;
  background: transparent;
}

.project-page::before,
.reservation-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 8%, transparent 78%);
  pointer-events: none;
}

.project-page::after,
.reservation-section::after {
  position: absolute;
  inset: 5% 10%;
  z-index: -1;
  content: "";
  background: radial-gradient(ellipse at center, rgba(245, 179, 92, .12), transparent 52%);
  filter: blur(24px);
  pointer-events: none;
}

.hidden {
  display: none;
}

.project-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: clamp(84px, 10vw, 132px);
  margin-bottom: clamp(78px, 7vw, 106px);
}

.project-heading {
  display: grid;
  justify-items: center;
  text-align: center;
}

.project-header #projectEyebrow {
  display: none;
}

.project-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.project-header .back-link {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 230, 184, .32);
  border-radius: 50%;
  padding: 0;
  color: #fffaf0;
  background: rgba(255, 255, 255, .035);
  font-size: 27px;
  line-height: 1;
  transition:
    color 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms cubic-bezier(.16, 1, .3, 1);
}

.project-header .back-link:hover,
.project-header .back-link:focus-visible {
  border-color: rgba(245, 179, 92, .78);
  color: #fff;
  background: rgba(245, 179, 92, .1);
  box-shadow: 0 0 0 5px rgba(245, 179, 92, .045), 0 14px 34px rgba(0, 0, 0, .34);
  outline: none;
  transform: translateY(-3px);
}

.reserve-link {
  display: grid;
  min-width: 348px;
  gap: 5px;
  border-color: rgba(20, 18, 14, .82);
  padding: 24px 30px 25px;
  background:
    linear-gradient(110deg, rgba(18, 16, 12, .98), rgba(38, 30, 18, .9)),
    rgba(12, 10, 8, .96);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 142, .16), 0 18px 48px rgba(0, 0, 0, .28), 0 0 32px rgba(245, 179, 92, .16);
  transition:
    border-color 280ms ease,
    background-color 280ms ease,
    box-shadow 280ms ease,
    transform 280ms cubic-bezier(.16, 1, .3, 1);
}

.project-reserve-link {
  overflow: visible;
}

.project-reserve-link::before {
  position: absolute;
  right: 4%;
  bottom: -42px;
  left: 4%;
  z-index: -1;
  height: 70px;
  content: "";
  background:
    radial-gradient(ellipse at center, rgba(38, 26, 12, .24), rgba(38, 26, 12, .11) 46%, transparent 76%);
  filter: blur(22px);
  opacity: .86;
  pointer-events: none;
  transform: translateZ(0);
  transition: opacity 280ms ease, transform 280ms cubic-bezier(.16, 1, .3, 1);
}

.reserve-link::after {
  position: absolute;
  right: 20px;
  bottom: 16px;
  left: 20px;
  display: block;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(245, 179, 92, .92), transparent);
  box-shadow: 0 0 14px rgba(245, 179, 92, .4);
}

.reserve-link small {
  color: rgba(255, 219, 158, .86);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.reserve-link strong {
  padding-right: 0;
  color: #fffaf0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.reserve-link:hover,
.reserve-link:focus-visible {
  border-color: rgba(255, 198, 113, .95);
  background:
    linear-gradient(110deg, rgba(40, 28, 14, .98), rgba(18, 16, 12, .94)),
    rgba(12, 10, 8, .98);
  box-shadow: inset 0 0 34px rgba(245, 179, 92, .08), 0 20px 52px rgba(0, 0, 0, .34), 0 0 0 4px rgba(245, 179, 92, .1);
  outline: none;
  transform: translateY(-3px);
}

.project-reserve-link:hover::before,
.project-reserve-link:focus-visible::before {
  opacity: 1;
  transform: translateY(4px) translateZ(0);
}

.project-header h2,
.reservation-copy h2 {
  margin: 0;
  color: var(--scroll-title-color);
  font-size: clamp(38px, 6vw, 90px);
  line-height: 0.92;
  text-transform: uppercase;
  transition: color 360ms ease, text-shadow 360ms ease;
}

.project-header h2 {
  width: fit-content;
  max-width: calc(100% - 148px);
  justify-self: center;
  white-space: nowrap;
}

.project-title-switcher {
  position: relative;
  display: grid;
  width: min(940px, calc(100vw - 96px));
  max-width: 100%;
  min-height: clamp(58px, 7.4vw, 96px);
  margin-inline: auto;
  align-items: center;
  justify-items: center;
}

.project-header h2 .editable-content {
  display: inline-block;
  width: auto !important;
  max-width: none;
  white-space: nowrap;
}

.project-title-switcher .project-category-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
}

.project-title-switcher .project-category-prev {
  left: 0;
  transform: translateY(-50%);
}

.project-title-switcher .project-category-next {
  right: 0;
  transform: translateY(-50%);
}

.project-category-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #000000;
  font-family: var(--cadosky-font);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform 320ms cubic-bezier(.22, .8, .2, 1), color 240ms ease, text-shadow 240ms ease;
}

.project-category-arrow:hover,
.project-category-arrow:focus-visible {
  color: #000000;
  text-shadow: 0 0 12px rgba(245, 179, 92, .45);
  outline: none;
}

#projectCategoryPrev:hover,
#projectCategoryPrev:focus-visible {
  transform: translate(-7px, -50%);
}

#projectCategoryNext:hover,
#projectCategoryNext:focus-visible {
  transform: translate(7px, -50%);
}

.project-category-add {
  position: absolute;
  top: 50%;
  right: -42px;
  display: none;
  width: 31px;
  height: 31px;
  border: 1px dashed rgba(245, 179, 92, .58);
  color: var(--warm);
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.admin-mode .project-category-add {
  display: block;
}

.project-category-add:hover,
.project-category-add:focus-visible {
  color: #fff;
  border-color: var(--gold);
  background: rgba(245, 179, 92, .12);
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) 1fr;
  gap: 30px;
  align-items: start;
  min-height: clamp(690px, 62vw, 748px);
}

.project-gallery-stack {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1040px);
  justify-content: center;
}

.project-sidebar {
  position: relative;
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: 0;
}

.project-reserve-link {
  position: relative;
  min-width: 0;
  width: 100%;
  padding: 22px 26px;
  box-shadow: inset 0 0 0 1px rgba(255, 214, 142, .16), 0 10px 34px rgba(0, 0, 0, .18), 0 0 24px rgba(245, 179, 92, .13);
}

.project-reserve-link:hover,
.project-reserve-link:focus-visible {
  box-shadow: inset 0 0 34px rgba(245, 179, 92, .08), 0 12px 38px rgba(0, 0, 0, .22), 0 0 0 4px rgba(245, 179, 92, .1);
}

.project-layout aside {
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 34px);
  min-height: clamp(586px, 51vw, 642px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(5, 5, 4, .48);
  backdrop-filter: blur(3px);
}

.project-layout aside h3 {
  margin: 0 0 24px;
  color: var(--scroll-panel-title-color);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.2;
  transition: color 360ms ease;
}

.project-process {
  position: relative;
  margin-top: 30px;
  border-top: 1px solid rgba(245, 179, 92, .42);
  padding: 24px 0 0;
}

.project-process > span {
  display: block;
  margin-bottom: 9px;
  color: var(--warm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-process h4 {
  margin: 0;
  color: var(--scroll-panel-title-color);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.16;
  transition: color 360ms ease;
}

.project-process p {
  margin: 18px 0 0;
}

.project-layout p {
  color: var(--scroll-body-color);
  margin: 0 0 14px;
  line-height: 1.72;
  transition: color 360ms ease;
}

.work-gallery {
  min-width: 0;
  min-height: clamp(500px, 52vw, 620px);
  overflow: hidden;
  perspective: 1500px;
  overscroll-behavior: contain;
}

.work-carousel {
  --carousel-intent: 0;
  display: grid;
  grid-template-columns: minmax(92px, 1fr) minmax(340px, min(560px, 42vw)) minmax(92px, 1fr);
  align-items: center;
  width: min(100%, 1040px);
  min-height: 510px;
  margin: 0 auto;
  padding: 20px 0;
  cursor: ew-resize;
  /* The frame stays locked; only cards transition between the side and center positions. */
  transform: translate3d(0, 0, 0);
  will-change: contents;
}

.work-carousel-single {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.work-carousel-single .carousel-card-active {
  width: min(560px, 42vw) !important;
  justify-self: center;
  margin-inline: 0;
}

/* Progressive wheel intent: side cards travel toward the foreground before
   the active item changes. The frame itself never moves. */
.work-carousel[data-carousel-intent="forward"] .carousel-card-active {
  transform: translate3d(calc(var(--carousel-intent) * -72px), calc(var(--carousel-intent) * 26px), calc(var(--carousel-intent) * -90px))
    rotateY(calc(var(--carousel-intent) * 7deg))
    rotateZ(calc(var(--carousel-intent) * -1.2deg))
    scale(calc(1 - var(--carousel-intent) * .075));
  opacity: calc(1 - var(--carousel-intent) * .24);
  filter: brightness(calc(1 - var(--carousel-intent) * .2));
}

.work-carousel[data-carousel-intent="backward"] .carousel-card-active {
  transform: translate3d(calc(var(--carousel-intent) * 72px), calc(var(--carousel-intent) * 26px), calc(var(--carousel-intent) * -90px))
    rotateY(calc(var(--carousel-intent) * -7deg))
    rotateZ(calc(var(--carousel-intent) * 1.2deg))
    scale(calc(1 - var(--carousel-intent) * .075));
  opacity: calc(1 - var(--carousel-intent) * .24);
  filter: brightness(calc(1 - var(--carousel-intent) * .2));
}

.work-carousel[data-carousel-intent="forward"] .carousel-side-right {
  z-index: 5;
  transform: translate3d(calc(var(--carousel-intent) * -82%), 0, calc(var(--carousel-intent) * 170px))
    rotateY(calc(-18deg + var(--carousel-intent) * 16deg))
    scale(calc(.82 + var(--carousel-intent) * .17));
  opacity: calc(.5 + var(--carousel-intent) * .5);
  filter: saturate(calc(.7 + var(--carousel-intent) * .3)) brightness(calc(.76 + var(--carousel-intent) * .24));
}

.work-carousel[data-carousel-intent="backward"] .carousel-side-left {
  z-index: 5;
  transform: translate3d(calc(var(--carousel-intent) * 82%), 0, calc(var(--carousel-intent) * 170px))
    rotateY(calc(18deg - var(--carousel-intent) * 16deg))
    scale(calc(.82 + var(--carousel-intent) * .17));
  opacity: calc(.5 + var(--carousel-intent) * .5);
  filter: saturate(calc(.7 + var(--carousel-intent) * .3)) brightness(calc(.76 + var(--carousel-intent) * .24));
}

.work-carousel.is-scrubbing > :is(.carousel-side, .carousel-card-active) {
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(.22, .75, .22, 1);
}

.carousel-side {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 320px;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  opacity: .5;
  filter: saturate(.7) brightness(.76);
  transition: opacity 560ms cubic-bezier(.16, 1, .3, 1), filter 560ms cubic-bezier(.16, 1, .3, 1), transform 720ms cubic-bezier(.16, 1, .3, 1), border-color 420ms ease;
}

.carousel-side img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: contain;
  filter: invert(1) sepia(.18) hue-rotate(350deg) brightness(1.55);
}

.carousel-side.has-color-image img {
  filter: none;
}

.carousel-side-left {
  justify-self: end;
  transform: rotateY(18deg) scale(.82);
  transform-origin: right center;
}

.carousel-side-right {
  justify-self: start;
  transform: rotateY(-18deg) scale(.82);
  transform-origin: left center;
}

.carousel-side:focus-visible {
  outline: 1px solid rgba(245, 179, 92, .48);
  outline-offset: 4px;
}

.carousel-card-active {
  z-index: 3;
  min-height: 470px;
  margin: 0 -12px;
  padding: 22px;
  opacity: 1;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .42), 0 0 44px rgba(245, 179, 92, .08);
}

.carousel-card-active.carousel-image-only {
  position: relative;
  display: grid;
  width: min(560px, 42vw) !important;
  height: clamp(360px, 42vw, 520px) !important;
  min-height: 0;
  margin: 0;
  border: 0 !important;
  padding: 0;
  overflow: hidden;
  place-items: center;
  background: transparent !important;
  box-shadow: none;
  backdrop-filter: none;
}

.carousel-card-active.carousel-image-only:hover {
  border-color: transparent;
  background: transparent !important;
  box-shadow: none;
}

.carousel-card-active.carousel-image-only > img,
.carousel-card-active.carousel-image-only:hover > img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  transform: none;
  transition: none;
}

.carousel-card-active.carousel-image-only > .frame-toolbar {
  top: 8px;
  right: 8px;
}

.work-gallery[data-carousel-motion="forward"] .carousel-card-active {
  animation: carousel-arrive-from-right 980ms cubic-bezier(.16, 1, .3, 1) both;
}

.work-gallery[data-carousel-motion="backward"] .carousel-card-active {
  animation: carousel-arrive-from-left 980ms cubic-bezier(.16, 1, .3, 1) both;
}

.work-gallery[data-carousel-motion="forward"] .carousel-side-left,
.work-gallery[data-carousel-motion="backward"] .carousel-side-right {
  animation: carousel-side-recede 900ms cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes carousel-arrive-from-right {
  from { opacity: .5; transform: translate3d(112px, 0, -80px) rotateY(-18deg) scale(.78); filter: brightness(.7); }
  to { opacity: 1; transform: translateX(0) rotateY(0) scale(1); filter: brightness(1); }
}

@keyframes carousel-arrive-from-left {
  from { opacity: .5; transform: translate3d(-112px, 0, -80px) rotateY(18deg) scale(.78); filter: brightness(.7); }
  to { opacity: 1; transform: translateX(0) rotateY(0) scale(1); filter: brightness(1); }
}

@keyframes carousel-side-recede {
  from { opacity: .94; }
  to { opacity: .5; }
}

/* Every project category uses the same carousel timing and depth treatment. */
.work-carousel > :is(.carousel-side, .carousel-card-active) {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.work-card {
  min-height: 340px;
  border: 1px solid var(--line);
  padding: 18px;
  background: rgba(255, 255, 255, .025);
  backdrop-filter: blur(3px);
  transform-style: preserve-3d;
  transition: border-color 420ms ease, background 420ms ease, transform 620ms cubic-bezier(.16, 1, .3, 1), box-shadow 420ms ease;
}

.work-card:hover {
  border-color: rgba(245, 179, 92, .42);
  background: rgba(245, 179, 92, .045);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .3), 0 0 36px rgba(245, 179, 92, .06);
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
}

.work-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  filter: invert(1) sepia(0.2) hue-rotate(350deg) brightness(1.7);
}

.carousel-card-active img {
  height: 270px;
}

.work-card:hover img {
  transform: scale(1.045) rotate(-.4deg);
  transition: transform 720ms cubic-bezier(.16, 1, .3, 1);
}

.work-card.has-color-image img,
.work-card.has-custom-photo img {
  filter: none;
}

.carousel-card-active.carousel-image-only > img,
.carousel-card-active.carousel-image-only:hover > img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain;
  transform: none;
  transition: none;
}

.work-card h3 {
  margin: 14px 0 0;
  text-transform: uppercase;
}

.reservation-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px);
  background: transparent;
}

.reservation-section::after {
  inset: 8% 4% 4% 32%;
  background: radial-gradient(ellipse at center, rgba(245, 179, 92, .14), transparent 54%);
}

.progressive-form {
  --form-glow: rgba(245, 179, 92, .18);
  display: grid;
  gap: 12px;
  padding: clamp(16px, 3vw, 30px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .022);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .34);
  backdrop-filter: blur(4px);
  transform: translateZ(0);
  will-change: height;
}

.step {
  position: relative;
  isolation: isolate;
  display: none;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(.992);
  transform-origin: center top;
}

.step.active,
.step.revealed {
  display: grid;
  gap: 8px;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.step.is-entering {
  animation: revealFieldPremium 1080ms 90ms cubic-bezier(.16, 1, .3, 1) both;
}

.step.is-entering::before {
  position: absolute;
  inset: -4px;
  z-index: -2;
  border: 1px solid transparent;
  content: "";
  background:
    linear-gradient(#080807, #080807) padding-box,
    linear-gradient(90deg, transparent 0%, rgba(245, 179, 92, .72) 48%, transparent 100%) border-box;
  opacity: 0;
  pointer-events: none;
  animation: newFieldBorder 900ms cubic-bezier(.16, 1, .3, 1) both;
}

.step.is-entering::after {
  position: absolute;
  inset: -12px -8px;
  z-index: -3;
  content: "";
  background: linear-gradient(100deg, transparent 12%, var(--form-glow) 48%, transparent 78%);
  filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-28%, 0, 0);
  animation: newFieldLight 920ms cubic-bezier(.22, 1, .36, 1) both;
}

.step.is-entering > span,
.step.is-entering > input,
.step.is-entering > select,
.step.is-entering > textarea,
.step.is-entering > label,
.step.is-entering > div {
  animation: newFieldContent 860ms 220ms cubic-bezier(.16, 1, .3, 1) both;
}

.progressive-form span {
  color: var(--warm);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.progressive-form input,
.progressive-form select,
.progressive-form textarea {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, .025);
  outline: none;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.progressive-form select {
  appearance: none;
  padding-right: 54px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 244, 224, .9) 50%),
    linear-gradient(135deg, rgba(255, 244, 224, .9) 50%, transparent 50%);
  background-position:
    calc(100% - 28px) calc(50% - 2px),
    calc(100% - 22px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

.format-step {
  margin: 0;
  border: 0;
  padding: 0;
}

.format-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.format-options label {
  position: relative;
  display: block;
  cursor: pointer;
}

.format-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.format-options label > span {
  position: relative;
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid var(--line);
  color: rgba(255, 250, 238, .62);
  background: rgba(255, 255, 255, .025);
  font-size: 12px;
  transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.format-options label > span::before {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 230, 184, .24);
  content: "";
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.format-options input:checked + span {
  border-color: rgba(245, 179, 92, .7);
  color: #fffaf0;
  background: rgba(245, 179, 92, .08);
  box-shadow: inset 0 0 26px rgba(245, 179, 92, .035);
}

.format-options input:checked + span::before {
  border-color: var(--warm);
  background: var(--warm);
  box-shadow: 0 0 12px rgba(245, 179, 92, .5);
}

.format-options input:focus-visible + span {
  outline: 1px solid rgba(245, 179, 92, .72);
  outline-offset: 2px;
}

@media (max-width: 540px) {
  .format-options {
    grid-template-columns: 1fr;
  }
}

.progressive-form input:focus,
.progressive-form select:focus,
.progressive-form textarea:focus {
  border-color: rgba(245, 179, 92, .62);
  background: rgba(245, 179, 92, .035);
  box-shadow: 0 0 0 1px rgba(245, 179, 92, .1);
}

.progressive-form select option {
  color: var(--text);
  background: #0a0a09;
}

.budget-field {
  position: relative;
  display: block;
}

.budget-field .budget-unit {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  text-transform: none;
  transform: translate3d(8px, -50%, 0);
  transition: opacity 180ms ease, transform 240ms cubic-bezier(.16, 1, .3, 1);
}

.budget-field.has-unit .budget-unit {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

.budget-field.has-unit input {
  padding-right: 78px;
}

.submit-step {
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.submit-step:hover {
  border-color: rgba(245, 179, 92, .58);
  color: #fffaf0;
  background: rgba(245, 179, 92, .08);
}

.date-range-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: 100%;
  min-height: 78px;
  border: 1px solid var(--line);
  padding: 14px 18px;
  color: var(--text);
  background: rgba(255, 255, 255, .025);
  text-align: left;
  cursor: pointer;
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.date-range-trigger:hover,
.date-range-trigger:focus-visible {
  border-color: rgba(245, 179, 92, .62);
  background: rgba(245, 179, 92, .045);
  box-shadow: inset 0 0 30px rgba(245, 179, 92, .035);
  outline: 0;
}

.date-range-trigger > span {
  display: grid;
  gap: 6px;
}

.date-range-trigger small {
  color: rgba(255, 250, 238, .4);
  font-size: 9px;
  text-transform: uppercase;
}

.date-range-trigger strong {
  color: rgba(255, 250, 238, .82);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}

.date-range-trigger > i {
  color: var(--warm);
  font-style: normal;
}

.date-range-step.has-range .date-range-trigger {
  border-color: rgba(245, 179, 92, .48);
}

.date-range-hint {
  margin: 0;
  color: rgba(255, 250, 238, .36);
  font-size: 10px;
  line-height: 1.5;
}

.client-password-step small {
  color: rgba(255, 250, 238, .42);
  font-size: 10px;
  line-height: 1.55;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--warm);
  font-weight: 700;
}

@keyframes revealFieldPremium {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 18px, 0) scale(.992);
  }

  45% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes newFieldBorder {
  0% {
    opacity: 0;
    transform: scaleX(.45);
  }

  38% {
    opacity: .72;
  }

  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes newFieldLight {
  0% {
    opacity: 0;
    transform: translate3d(-28%, 0, 0);
  }

  34% {
    opacity: .72;
  }

  100% {
    opacity: 0;
    transform: translate3d(30%, 0, 0);
  }
}

@keyframes newFieldContent {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .step.is-entering,
  .step.is-entering::before,
  .step.is-entering::after,
  .step.is-entering > * {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
  }
}

@media (max-width: 980px) {
  .hero-dark {
    min-height: 1180px;
  }

  .building-stage {
    inset: 420px 0 auto;
    width: 100%;
    min-width: 0;
  }

  .hero-copy {
    margin-top: 40px;
  }

  .project-layout,
  .reservation-section {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    min-height: 0;
  }

  .project-layout,
  .project-layout aside {
    min-height: 0;
  }

  .project-reserve-link {
    position: static;
  }

  .work-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dark-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .building {
    width: 92vw;
  }

  .project-header {
    grid-template-columns: 1fr;
    margin-bottom: 58px;
  }

  .project-actions {
    justify-content: space-between;
  }

  .project-reserve-link {
    min-width: 0;
    width: 100%;
  }

  .project-title-switcher .project-category-arrow {
    width: 32px;
    height: 32px;
    font-size: 19px;
  }

  .project-title-switcher {
    width: min(100%, calc(100vw - 56px));
  }

  .project-header h2 {
    max-width: calc(100% - 92px);
  }

  .project-title-switcher .project-category-prev {
    left: 0;
  }

  .project-title-switcher .project-category-next {
    right: 0;
  }

  .project-category-add {
    right: -34px;
  }

  .date-range-trigger {
    grid-template-columns: 1fr;
  }

  .date-range-trigger > i {
    display: none;
  }
}

/* Content and editing workspace */
.dark-nav nav {
  justify-content: flex-end;
}

.dark-nav nav a {
  padding: 10px 12px;
  font-size: 10px;
}

.plan-offer {
  position: relative;
  z-index: 3;
  width: min(520px, 72vw);
  margin: 8px 0 0;
  color: rgba(255, 250, 238, .42);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.advantages-section,
.admin-section {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: clamp(52px, 7vw, 110px) clamp(20px, 5vw, 72px);
  background: transparent;
}

.advantages-section::before,
.admin-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 8%, transparent 78%);
}

.advantages-section::after,
.admin-section::after {
  position: absolute;
  inset: 18% 12%;
  z-index: -1;
  content: "";
  background: radial-gradient(ellipse at center, rgba(245, 179, 92, .1), transparent 56%);
  filter: blur(26px);
}

.advantages-heading {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(300px, 1fr);
  gap: 36px;
  align-items: start;
  margin-bottom: clamp(48px, 8vw, 110px);
}

.advantages-heading > p,
.admin-heading p {
  margin: 0;
  color: var(--warm);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.advantages-heading h2,
.admin-heading h2 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(36px, 6vw, 88px);
  line-height: .95;
  text-transform: uppercase;
}

.advantages-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advantages-list article {
  min-height: 310px;
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

.advantages-list article:last-child {
  border-right: 0;
}

.advantages-list article > span {
  color: var(--warm);
  font-size: 12.1px;
}

.advantages-list h3 {
  margin: 74px 0 16px;
  font-size: clamp(18px, 2vw, 28px);
  text-transform: uppercase;
}

.advantages-list p,
.reservation-copy > span,
.admin-heading > span {
  color: var(--muted);
  line-height: 1.65;
}

.reservation-copy > span {
  display: block;
  max-width: 540px;
  margin-top: 24px;
}

.request-summary {
  border: 1px solid rgba(245, 179, 92, .22);
  padding: 16px;
  background: rgba(245, 179, 92, .035);
}

.client-portal-section {
  position: relative;
  isolation: isolate;
  min-height: auto;
  overflow: hidden;
  padding: clamp(44px, 5vw, 72px) clamp(24px, 6vw, 88px) clamp(42px, 5vw, 68px);
  background: transparent;
}

.client-portal-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 72px 72px;
}

.client-portal-section::after {
  position: absolute;
  inset: 12% 4% 6% 28%;
  z-index: -1;
  content: "";
  background: radial-gradient(ellipse at center, rgba(245, 179, 92, .13), transparent 57%);
  filter: blur(30px);
  pointer-events: none;
}

.client-portal-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(24px, 3.6vw, 44px);
}

.client-portal-heading p,
.client-login-form > div > span,
.client-dashboard header span {
  margin: 0 0 10px;
  color: var(--warm);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.client-portal-heading h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 96px);
  line-height: .88;
  text-transform: uppercase;
}

.client-portal-heading > span {
  color: var(--muted);
  line-height: 1.65;
}

.client-portal-shell {
  border-top: 1px solid rgba(245, 179, 92, .22);
  padding-top: 28px;
}

.client-login-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(210px, .7fr) minmax(210px, .7fr) auto;
  gap: 14px;
  align-items: end;
}

.client-login-form h3,
.client-dashboard h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 38px);
}

.client-login-form p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.client-login-form label {
  display: grid;
  gap: 8px;
}

.client-login-form label > span {
  color: var(--warm);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.client-login-form input,
.client-login-form button,
.client-dashboard button,
.admin-delivery-form input,
.admin-delivery-form textarea,
.admin-delivery-form select,
.admin-delivery-form button {
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 11px 13px;
  color: var(--text);
  background: rgba(255, 255, 255, .025);
  outline: 0;
}

.client-login-form input:focus,
.admin-delivery-form input:focus,
.admin-delivery-form textarea:focus,
.admin-delivery-form select:focus {
  border-color: rgba(245, 179, 92, .6);
}

.client-login-form button,
.client-dashboard button,
.admin-delivery-form button {
  cursor: pointer;
}

.client-login-form > button {
  border-color: rgba(245, 179, 92, .58);
  color: #080706;
  background: var(--warm);
  font-weight: 700;
  text-transform: uppercase;
}

.client-login-error {
  grid-column: 2 / -1;
  min-height: 18px;
  color: #e8a2a2 !important;
  font-size: 12.1px;
}

.client-dashboard > header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}

.client-projects {
  display: grid;
  gap: 16px;
}

.client-project-card {
  display: grid;
  grid-template-columns: minmax(190px, .38fr) minmax(0, 1fr);
  gap: 24px;
  border: 1px solid var(--line);
  padding: clamp(18px, 3vw, 30px);
  background: rgba(255, 255, 255, .02);
}

.client-project-card h4 {
  margin: 14px 0 8px;
  font-size: 26px;
}

.client-project-card p,
.client-project-meta dd {
  color: var(--muted);
}

.client-project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.client-project-meta dt,
.client-update small {
  color: var(--warm);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.client-project-meta dd {
  margin: 4px 0 0;
}

.client-updates {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.client-updates > h5 {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
}

.client-update {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 14px;
  background: rgba(245, 179, 92, .035);
}

.client-update strong {
  display: block;
  margin-bottom: 5px;
}

.client-update a {
  color: var(--warm);
}

.site-footer {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(210px, .28fr) minmax(0, 1fr);
  gap: 18px clamp(28px, 4vw, 58px);
  min-height: 0;
  padding: 24px clamp(24px, 6vw, 88px) 14px;
  color: #f6efe4;
  background:
    linear-gradient(180deg, rgba(2, 2, 2, .98), #020202),
    #020202;
  overflow: hidden;
}

.site-footer::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 82%);
}

.site-footer::after {
  position: absolute;
  right: 8%;
  bottom: -70%;
  z-index: -1;
  width: min(360px, 48vw);
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(245, 179, 92, .12), transparent 62%);
  filter: blur(14px);
}

.footer-brand {
  display: grid;
  gap: 8px;
  align-self: start;
  border-right: 1px solid rgba(245, 179, 92, .24);
  padding-right: clamp(18px, 3vw, 36px);
}

.footer-brand p,
.site-footer h3 {
  margin: 0;
  color: #f5b35c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-brand h2 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: .88;
  letter-spacing: .1em;
}

.footer-brand > span {
  display: block;
  max-width: 720px;
  color: rgba(246, 239, 228, .7);
  font-size: 10px;
  line-height: 1.35;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-self: start;
  border: 0;
  background: transparent;
}

.footer-grid section {
  min-height: 0;
  border-left: 1px solid rgba(245, 179, 92, .2);
  padding: 0 0 0 14px;
  background: transparent;
}

.site-footer h3 {
  margin-bottom: 7px;
}

.site-footer p {
  margin: 0;
  color: rgba(246, 239, 228, .68);
  font-size: 10px;
  line-height: 1.34;
}

.site-footer section p + p {
  margin-top: 5px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(245, 179, 92, .18);
  padding-top: 10px;
  color: rgba(246, 239, 228, .58);
  font-size: 11px;
  text-transform: uppercase;
}

.footer-bottom a {
  color: #f5b35c;
  text-decoration: none;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #fff0c5;
  outline: none;
}

.admin-delivery-form {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 20px 22px 22px;
  background: linear-gradient(110deg, rgba(245, 179, 92, .035), transparent 55%);
}

.admin-delivery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.admin-delivery-heading span,
.admin-delivery-form label > span {
  color: var(--warm);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-delivery-heading h4 {
  margin: 5px 0 0;
  font-size: 18px;
}

.admin-delivery-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.admin-delivery-fields {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(240px, .65fr) minmax(320px, 1fr);
  gap: 10px;
  align-items: stretch;
}

.admin-delivery-attachments {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(280px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.admin-delivery-form label {
  display: grid;
  gap: 6px;
}

.admin-delivery-form textarea {
  min-height: 76px;
  resize: vertical;
}

.admin-file-picker {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
  overflow: hidden;
}

.admin-file-picker input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.admin-file-button {
  display: grid;
  min-height: 46px;
  place-items: center;
  border-right: 1px solid rgba(255, 230, 184, .2);
  padding: 6px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-file-name {
  min-width: 0;
  padding: 0 12px;
  color: var(--muted);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-file-picker:focus-within,
.admin-file-picker:hover {
  border-color: rgba(245, 179, 92, .6);
}

.admin-delivery-attachments > button {
  min-width: 154px;
  border-color: rgba(245, 179, 92, .6);
  color: #120c04;
  background: var(--warm);
  font-weight: 700;
  text-transform: uppercase;
}

.admin-delivery-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

#requestSummaryContent {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

#requestSummaryContent strong {
  color: var(--text);
  font-weight: 600;
}

.admin-section {
  min-height: auto;
}

.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}

.admin-heading h2 {
  margin-top: 12px;
  font-size: clamp(32px, 5vw, 68px);
}

.admin-heading > span {
  max-width: 360px;
  text-align: right;
}

.admin-controls {
  display: grid;
  grid-template-columns: minmax(320px, .65fr) 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

#blockedDateForm,
.blocked-dates,
.admin-request {
  border: 1px solid var(--line);
  padding: 18px;
  background: rgba(255, 255, 255, .022);
}

#blockedDateForm {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

#blockedDateForm label:last-of-type,
#blockedDateForm button {
  grid-column: 1 / -1;
}

#blockedDateForm label {
  display: grid;
  gap: 7px;
}

#blockedDateForm span,
.admin-request dt {
  color: var(--warm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

#blockedDateForm input,
#blockedDateForm button,
.admin-action {
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, .025);
}

#blockedDateForm button,
.admin-action {
  cursor: pointer;
}

.blocked-dates {
  display: grid;
  align-content: start;
  gap: 10px;
}

.blocked-date {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.blocked-date:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.blocked-date button {
  grid-row: 1 / 3;
  grid-column: 2;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.admin-requests {
  display: grid;
  gap: 14px;
}

.admin-empty {
  border: 1px solid var(--line);
  padding: 32px;
  color: var(--muted);
  text-align: center;
}

.admin-request {
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 230, 184, .2);
  border-radius: 4px;
  background: rgba(9, 9, 8, .72);
}

.admin-request h3 {
  margin: 0;
  font-size: 22px;
}

.admin-request-summary {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(480px, 1.5fr) 130px;
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
  padding: 22px;
}

.admin-request-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-request-identity small {
  display: block;
  margin-top: 12px;
  color: rgba(167, 160, 150, .65);
  font-size: 9px;
  text-transform: uppercase;
}

.admin-request-contact {
  display: grid;
  gap: 4px;
  margin: 16px 0 0;
  color: var(--text);
}

.admin-request-contact a,
.admin-request-meta a {
  color: var(--text);
  text-decoration-color: rgba(245, 179, 92, .5);
  text-underline-offset: 3px;
}

.admin-request-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 18px 24px;
  margin: 0;
}

.admin-request dd {
  margin: 4px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-request-actions {
  display: grid;
  gap: 8px;
}

.admin-action {
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.admin-action:hover {
  transform: translateY(-1px);
}

.admin-action.accept:hover,
.admin-action.accept.is-current {
  border-color: rgba(100, 210, 155, .58);
  color: #b8f2cf;
  background: rgba(100, 210, 155, .1);
}

.admin-action.refuse:hover,
.admin-action.refuse.is-current {
  border-color: rgba(225, 100, 100, .5);
  color: #f1b2b2;
  background: rgba(225, 100, 100, .09);
}

.admin-action.delete-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 38px;
  margin-top: 4px;
  border-color: rgba(225, 100, 100, .18);
  color: rgba(241, 178, 178, .62);
  background: transparent;
  font-size: 10px;
  text-transform: uppercase;
}

.admin-action.delete-request:hover,
.admin-action.delete-request:focus-visible {
  border-color: rgba(225, 100, 100, .62);
  color: #ffd0d0;
  background: rgba(225, 100, 100, .1);
  outline: none;
}

.trash-icon {
  position: relative;
  display: inline-block;
  width: 11px;
  height: 13px;
  border: 1px solid currentColor;
  border-top: 0;
  border-radius: 0 0 2px 2px;
}

.trash-icon::before {
  position: absolute;
  top: -4px;
  left: -2px;
  width: 13px;
  height: 1px;
  content: "";
  background: currentColor;
  box-shadow: 4px -2px 0 -0.25px currentColor;
}

.trash-icon::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 1px;
  height: 6px;
  content: "";
  background: currentColor;
  box-shadow: 3px 0 currentColor;
}

.admin-request-scope {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) 1fr;
  gap: 20px;
  border-top: 1px solid rgba(255, 230, 184, .1);
  padding: 15px 22px;
  background: rgba(255, 255, 255, .012);
}

.admin-request-scope > span {
  color: var(--warm);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-request-scope p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.builder-hidden {
  display: none !important;
}

.form-section-heading {
  border-top: 1px solid rgba(245,179,92,.5);
  padding: 24px 0 4px;
}

.form-section-heading h3 {
  margin: 0;
  color: var(--warm);
  font-size: 16px;
  text-transform: uppercase;
}

.form-builder {
  display: none;
  margin: 28px 0;
  border: 1px solid var(--line);
  padding: 22px;
  background: rgba(255,255,255,.018);
}

.admin-mode .form-builder {
  display: grid;
  gap: 20px;
}

.form-builder > header,
.admin-collapse-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.form-builder header span,
.form-builder-create label > span,
.form-builder-list article > span {
  color: var(--warm);
  font-size: 9px;
  text-transform: uppercase;
}

.form-builder h3 { margin: 5px 0 0; }
.form-builder header p { margin: 0; color: var(--muted); font-size: 12px; }

.form-builder-create {
  display: grid;
  grid-template-columns: .7fr 1fr 1.2fr auto;
  gap: 10px;
  align-items: end;
}

.form-builder-create label { display: grid; gap: 7px; }
.form-builder-create input,
.form-builder-create select,
.form-builder-create button,
.form-builder-list input,
.form-builder-list button {
  min-height: 42px;
  border: 1px solid var(--line);
  padding: 9px 11px;
  color: var(--text);
  background: #0c0c0b;
}

.form-builder-create button { border-color: rgba(245,179,92,.65); cursor: pointer; }
.form-builder-list { display: grid; gap: 7px; }
.form-builder-list article { display: grid; grid-template-columns: 120px minmax(180px, 1fr) auto auto auto; gap: 7px; align-items: center; }
.form-builder-list article[data-builder-native] { grid-template-columns: 120px minmax(180px, 1fr) auto; }
.form-builder-list button { min-width: 42px; cursor: pointer; }
.form-builder-list button[data-builder-delete] { color: #f1b2b2; }

body.admin-mode .admin-section {
  color: #16130f;
}

body.admin-mode .admin-heading p,
body.admin-mode .admin-heading > span,
body.admin-mode .admin-section p,
body.admin-mode .admin-section small,
body.admin-mode .admin-section output,
body.admin-mode .admin-section dd,
body.admin-mode .global-font-actions span,
body.admin-mode .global-font-library-list > p {
  color: rgba(22, 19, 15, .72);
  opacity: 1;
}

body.admin-mode .admin-heading h2,
body.admin-mode .form-builder h3,
body.admin-mode .global-font-manager h3,
body.admin-mode .admin-collapse-header h3 {
  color: #11100d;
}

body.admin-mode .admin-heading p,
body.admin-mode #blockedDateForm span,
body.admin-mode .admin-request dt,
body.admin-mode .form-builder header span,
body.admin-mode .form-builder-create label > span,
body.admin-mode .form-builder-list article > span,
body.admin-mode .global-font-manager header span,
body.admin-mode .global-font-preset span,
body.admin-mode .global-type-controls strong,
body.admin-mode .global-type-controls label,
body.admin-mode .global-type-controls label span {
  color: #a86617;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  opacity: 1;
  text-transform: uppercase;
}

body.admin-mode #blockedDateForm,
body.admin-mode .blocked-dates,
body.admin-mode .form-builder,
body.admin-mode .global-font-manager,
body.admin-mode .global-type-controls > div {
  border-color: rgba(80, 64, 42, .28);
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 18px 50px rgba(60, 42, 18, .08);
}

body.admin-mode :is(
  #blockedDateForm input,
  #blockedDateForm button,
  .form-builder-create input,
  .form-builder-create select,
  .form-builder-create button,
  .form-builder-list input,
  .form-builder-list button,
  .global-font-preset select,
  .global-font-actions button
) {
  border-color: rgba(182, 111, 24, .5);
  color: #fff7e8;
  background-color: #11100d;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13px;
  line-height: 1.25;
  opacity: 1;
}

body.admin-mode :is(
  #blockedDateForm input,
  .form-builder-create input,
  .form-builder-list input
)::placeholder {
  color: rgba(255, 247, 232, .64);
  opacity: 1;
}

body.admin-mode :is(
  #blockedDateForm input,
  #blockedDateForm button,
  .form-builder-create input,
  .form-builder-create select,
  .form-builder-create button,
  .form-builder-list input,
  .form-builder-list button,
  .global-font-preset select,
  .global-font-actions button
):focus-visible {
  border-color: #d99331;
  outline: 2px solid rgba(217, 147, 49, .28);
  outline-offset: 2px;
}

body.admin-mode .form-builder-list article {
  border: 1px solid rgba(80, 64, 42, .2);
  padding: 8px;
  background: rgba(255, 255, 255, .45);
}

body.admin-mode .global-font-drop {
  border-color: rgba(184, 112, 22, .5);
  color: #17130d;
  background: rgba(255, 255, 255, .74);
}

body.admin-mode .global-font-drop span {
  color: rgba(22, 19, 15, .64);
  opacity: 1;
}

body.admin-mode .global-font-library-item {
  border-color: rgba(80, 64, 42, .18);
  background: rgba(255, 255, 255, .62);
}

body.admin-mode .global-font-library-item span {
  color: #17130d;
}

body.admin-mode .admin-empty {
  color: rgba(22, 19, 15, .72);
  background: rgba(255, 255, 255, .56);
}

body.admin-mode .admin-collapsible-panel {
  overflow: hidden;
  transition: padding 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

body.admin-mode .admin-collapsible-panel > :not(.admin-collapse-header) {
  max-height: 2600px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 200ms ease, transform 220ms ease, max-height 260ms ease, margin 220ms ease;
}

body.admin-mode .admin-panel-collapsed {
  align-content: start;
  gap: 0;
  padding-bottom: 18px;
}

body.admin-mode .admin-panel-collapsed > :not(.admin-collapse-header) {
  max-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

body.admin-mode .admin-collapse-header {
  position: relative;
  z-index: 1;
  width: 100%;
}

body.admin-mode .admin-controls > .admin-collapse-header {
  grid-column: 1 / -1;
}

body.admin-mode .admin-collapse-header > div {
  min-width: 0;
}

body.admin-mode .admin-collapse-header p {
  margin-left: auto;
}

body.admin-mode .admin-collapse-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(182, 111, 24, .48);
  color: #fff7e8;
  background: #11100d;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

body.admin-mode .admin-collapse-toggle span {
  display: block;
  color: inherit;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 22px;
  line-height: 1;
  transform: translateY(-2px) rotate(0deg);
  transition: transform 200ms ease;
}

body.admin-mode .admin-collapse-toggle:hover,
body.admin-mode .admin-collapse-toggle:focus-visible {
  border-color: #d99331;
  background: #1b1711;
  outline: none;
  transform: translateY(-1px);
}

body.admin-mode .admin-panel-collapsed .admin-collapse-toggle span {
  transform: translateY(-2px) rotate(-90deg);
}

.admin-custom-answers {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
}

.admin-custom-answers div { display: grid; grid-template-columns: minmax(130px,.35fr) 1fr; gap: 16px; }
.admin-custom-answers dt { color: var(--warm); }
.admin-custom-answers dd { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
  .form-builder-create { grid-template-columns: 1fr; }
  .form-builder-list article,
  .form-builder-list article[data-builder-native] { grid-template-columns: 1fr auto auto auto; }
  .form-builder-list article > span { grid-column: 1 / -1; }
}

.admin-status {
  display: inline-flex;
  border: 1px solid var(--line);
  padding: 5px 8px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.admin-status.pending {
  border-color: rgba(245, 179, 92, .32);
  color: #e8c58e;
}

.admin-status.accepted {
  border-color: rgba(100, 210, 155, .42);
  color: #9ee3bc;
}

.admin-status.refused {
  border-color: rgba(225, 100, 100, .38);
  color: #e8a2a2;
}

/* Direct editing */
[data-edit-key],
[data-dynamic-edit="true"] {
  position: relative;
}

.editable-content[contenteditable="true"] {
  outline: 1px dashed rgba(245, 179, 92, .78);
  outline-offset: 6px;
  cursor: text;
}

.edit-pencil {
  position: absolute;
  top: 50%;
  right: -26px;
  z-index: 12;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(255, 230, 184, .2);
  padding: 0;
  color: rgba(255, 250, 238, .68);
  background: rgba(12, 12, 10, .78);
  cursor: pointer;
  /* This glyph must not inherit a display font that may not contain it. */
  font-family: "Segoe UI Symbol", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  opacity: .72;
  transform: translateY(-50%);
  transition: opacity 180ms ease, border-color 180ms ease, color 180ms ease;
}

[data-edit-key]:hover > .edit-pencil,
[data-dynamic-edit="true"]:hover > .edit-pencil,
.edit-pencil:focus-visible {
  border-color: rgba(245, 179, 92, .62);
  color: var(--warm);
  opacity: 1;
}

.plan-slide h2 .edit-pencil,
.plan-offer .edit-pencil {
  right: -30px;
}

/* Project details are edited in context: keep every pencil clear of the frame edges. */
.admin-mode .project-page [data-edit-key] > .edit-pencil {
  z-index: 30;
  border-color: rgba(245, 179, 92, .62);
  color: var(--warm);
  background: rgba(8, 8, 7, .94);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .42);
  opacity: 1;
}

.admin-mode .project-header #projectEyebrow > .edit-pencil {
  top: 50%;
  right: -30px;
}

.admin-mode .project-header #projectTitle > .edit-pencil {
  top: 50%;
  right: -34px;
}

.admin-mode .project-layout aside > [data-edit-key] > .edit-pencil,
.admin-mode .project-process > [data-edit-key] > .edit-pencil,
.admin-mode .work-card > [data-edit-key] > .edit-pencil {
  right: 8px;
}

.editable-frame {
  --frame-text: var(--text);
  --frame-muted: var(--muted);
  position: relative;
  min-width: 220px;
  min-height: 170px;
  max-width: 100%;
  color: var(--frame-text);
}

.editable-frame p {
  color: var(--frame-muted);
}

.frame-toolbar {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 30;
  display: flex;
  gap: 5px;
  opacity: .76;
}

.editable-frame:hover > .frame-toolbar,
.editable-frame:focus-within > .frame-toolbar {
  opacity: 1;
}

.frame-tool,
.frame-style-close {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 230, 184, .25);
  padding: 0;
  color: rgba(255, 250, 238, .88);
  background: rgba(8, 8, 7, .86);
  cursor: pointer;
  font-size: 12px;
}

.frame-tool[aria-label="Remplacer la photo"] {
  width: 34px;
  font-size: 9px;
  font-weight: 700;
}

.frame-resize-handle {
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 31;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(245, 179, 92, .7);
  border-bottom: 2px solid rgba(245, 179, 92, .7);
  cursor: nwse-resize;
  touch-action: none;
}

.frame-resize-handle::before {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 8px;
  height: 8px;
  border-right: 1px solid rgba(245, 179, 92, .55);
  border-bottom: 1px solid rgba(245, 179, 92, .55);
  content: "";
}

.frame-style-panel {
  position: absolute;
  top: 42px;
  right: 8px;
  z-index: 40;
  display: grid;
  width: min(280px, calc(100vw - 40px));
  gap: 10px;
  border: 1px solid rgba(255, 230, 184, .26);
  padding: 14px;
  color: var(--text);
  background: rgba(8, 8, 7, .94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  backdrop-filter: blur(10px);
}

.frame-style-panel.hidden {
  display: none;
}

.frame-style-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--warm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.frame-style-panel label {
  display: grid;
  grid-template-columns: 1fr 110px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.frame-style-panel input {
  width: 100%;
  accent-color: var(--warm);
}

.work-card {
  overflow: visible;
}

.work-gallery {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.work-card .work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.work-card .work-meta span {
  border: 1px solid var(--line);
  padding: 4px 6px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.work-card .work-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .dark-nav {
    align-items: flex-start;
    min-height: 150px;
    padding-top: 24px;
  }

  .dark-nav nav {
    max-width: 58vw;
  }

  .advantages-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-list article:nth-child(2n) {
    border-right: 0;
  }

  .advantages-list article:last-child {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-dark {
    padding-inline: 16px;
  }

  .dark-nav {
    gap: 12px;
    min-height: 190px;
    margin-inline: -16px;
    padding: 20px 16px 12px;
  }

  .brand {
    min-width: 0;
    min-height: 86px;
    width: min(360px, 92vw);
    margin-left: -16px;
    padding: 22px 20px;
  }

  .dark-nav nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .dark-nav nav a {
    flex: 0 0 auto;
  }

  .footer-brand {
    border-right: 0;
    border-bottom: 1px solid rgba(245, 179, 92, .22);
    padding-right: 0;
    padding-bottom: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .advantages-heading h2 {
    font-size: clamp(42px, 13vw, 76px);
  }

  .advantages-heading > span {
    margin-left: 0;
  }

  .plan-slide {
    padding-top: 44px;
  }

  .plan-offer {
    width: 72vw;
    margin-top: 6px;
    font-size: 10px;
  }

  .advantages-heading,
  .advantages-list,
  .admin-controls,
  .admin-request-summary,
  .admin-request-meta,
  .admin-request-scope,
  .client-portal-heading,
  .client-login-form,
  .client-project-card,
  .admin-delivery-fields,
  .admin-delivery-attachments {
    grid-template-columns: 1fr;
  }

  .admin-delivery-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-delivery-heading p {
    text-align: left;
  }

  .client-login-error,
  .client-updates {
    grid-column: 1;
  }

  .client-update {
    grid-template-columns: 1fr;
  }

  .client-project-meta {
    grid-template-columns: 1fr;
  }

  .advantages-list article,
  .advantages-list article:nth-child(2n) {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .advantages-list h3 {
    margin-top: 44px;
  }

  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-heading > span {
    text-align: left;
  }

  #requestSummaryContent {
    grid-template-columns: 1fr;
  }

  .edit-pencil {
    right: -8px;
    top: -18px;
    transform: none;
  }

  .floating-tuner.brand-bg-tuner {
    right: 16px;
    top: auto;
    bottom: 16px;
    max-height: 70vh;
    overflow: auto;
  }

  .floating-tuner.title-direction-tuner {
    left: 16px;
    right: auto;
    top: 210px;
    bottom: auto;
    max-height: 70vh;
    overflow: auto;
  }

  .floating-tuner.text-style-tuner {
    left: 16px;
    right: auto;
    top: 278px;
    bottom: auto;
    width: min(330px, calc(100vw - 32px));
    max-height: 64vh;
    overflow: auto;
  }

  .floating-tuner.image-style-tuner {
    left: 16px;
    right: auto;
    top: auto;
    bottom: 16px;
    width: min(380px, calc(100vw - 32px));
    max-height: 64vh;
    overflow: auto;
    transform: none;
  }
}

/* Premium architectural home composition */
.hero-dark {
  min-height: 100vh;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(2,2,2,.2), rgba(2,2,2,.05)),
    url("assets/cadosky-architectural-bg-v1.png") center top / cover no-repeat,
    #050505;
}

.hero-dark::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent 4%, black 30%, black 82%, transparent 100%);
}

.dark-nav {
  min-height: 116px;
  margin: 0;
  padding: 0 clamp(32px, 4vw, 74px);
  border-bottom: 1px solid rgba(255, 255, 255, .035);
}

.brand {
  min-width: 0;
  align-self: center;
  margin: 0;
  padding: 0 0 14px;
  font-size: clamp(25px, 2.15vw, 38px);
  background: none;
  backdrop-filter: none;
}

.brand::before {
  inset: auto auto 0 0;
  width: 100px;
  height: 2px;
  opacity: 1;
  background: linear-gradient(90deg, #edae43, #fff0c5, #c97a16);
  box-shadow: 0 0 12px rgba(237, 174, 67, .5);
  transform: none;
}

.brand-letter {
  margin-right: .42em;
}

.brand-letter:nth-last-child(-n+3) {
  color: inherit;
}

/* The fixed mark deliberately matches the original centred intro lockup. */
.brand-letter {
  margin-right: 8px;
}

.brand-letter:last-child {
  margin-right: 0;
}

.dark-nav nav {
  flex-wrap: nowrap;
  gap: 0;
}

.dark-nav nav a {
  border: 0;
  border-left: 1px solid rgba(255,255,255,.13);
  padding: 8px clamp(18px, 1.8vw, 30px);
  background: transparent;
  color: rgba(255, 250, 238, .78);
  font-size: 11px;
  letter-spacing: .08em;
}

.dark-nav nav a:first-child {
  border-left: 0;
}

.dark-nav nav a:hover,
.dark-nav nav a:focus-visible {
  background: transparent;
  box-shadow: none;
  transform: none;
}

/* Header navigation: one calm, self-contained focus state per link. */
.dark-nav nav a::before {
  display: none;
}

.dark-nav nav a::after {
  position: absolute;
  right: clamp(18px, 1.8vw, 30px);
  bottom: 0;
  left: clamp(18px, 1.8vw, 30px);
  height: 1px;
  content: "";
  background: #efb14a;
  box-shadow: 0 0 10px rgba(239, 177, 74, .58);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 260ms cubic-bezier(.22, 1, .36, 1), opacity 180ms ease;
}

.dark-nav nav a:hover,
.dark-nav nav a:focus-visible {
  border-color: transparent;
  border-left-color: rgba(255,255,255,.13);
  color: #fffaf0;
  text-shadow: 0 0 14px rgba(255, 236, 194, .2);
}

.dark-nav nav a:first-child:hover,
.dark-nav nav a:first-child:focus-visible {
  border-left-color: transparent;
}

.dark-nav nav a:hover::after,
.dark-nav nav a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

/* The project tracking link shares the exact same hover treatment as its neighbours. */
.dark-nav nav a:last-child:hover,
.dark-nav nav a:last-child:focus-visible {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.building-stage.plan-carousel {
  flex: 1 0 auto;
  width: 100%;
  min-height: 620px;
  height: calc(100vh - 292px);
  margin: 0;
  padding: 0;
}

.plan-track {
  min-height: 0;
  height: 100%;
}

.plan-slide {
  grid-template-columns: minmax(440px, 34vw) minmax(0, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  place-items: center stretch;
  gap: clamp(12px, 2vw, 34px);
  padding: 20px clamp(32px, 4vw, 74px) 18px;
}

.plan-content {
  position: relative;
  z-index: 3;
  min-width: 0;
  align-self: center;
  padding-bottom: 18px;
}

.plan-slide h2,
.plan-slide[data-project="coffrage"] h2 {
  width: auto;
  max-width: 100%;
  margin: 0;
  color: #f3f0e9;
  font-family: var(--cadosky-font);
  font-size: clamp(58px, 7.7vw, 136px);
  font-weight: 300;
  line-height: .82;
  text-align: left;
  text-shadow: 0 10px 38px rgba(0,0,0,.62);
  transform: none;
}

.plan-slide[data-project="metal"] h2,
.plan-slide[data-project="canalisations"] h2,
.plan-slide[data-project="terrassement"] h2 {
  font-size: clamp(44px, 5.4vw, 96px);
  line-height: .9;
}

.plan-slide[data-project="coffrage"] h2::after {
  display: none;
}

/* Delaproza is the single display voice for every prominent CADOSKY heading. */
h1,
h2,
h3,
h4,
.intro-logo,
.brand,
.floor-labels a,
.reservation-copy,
.advantages-heading,
.project-header {
  font-family: var(--cadosky-font);
}

.progressive-form .step > span {
  display: block;
  min-height: 16px;
}

.progressive-form .step-index {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* The admin-selected typeface also wins over per-text legacy settings. */
body.global-font-active :is(p, span, a, button, label, input, select, textarea, small, strong, output, .editable-content) {
  font-family: var(--font-body) !important;
}

body.global-font-active :is(h1, h2, h3, h4, h5, h6, .intro-logo, .brand, .floor-labels a) {
  font-family: var(--font-heading) !important;
}

body.global-font-active .editable-content[data-font-category="heading"] {
  font-family: var(--font-heading) !important;
}

body.global-font-active .editable-content[data-font-category="body"] {
  font-family: var(--font-body) !important;
}

/* The animated logo and the final header logo always use the same glyph metrics. */
body.global-font-active :is(.intro-logo, .brand, .brand-text, .intro-letter, .brand-letter) {
  font-family: var(--font-heading) !important;
}

.text-font-active {
  margin: -2px 0 2px;
  padding: 9px 10px;
  border-left: 2px solid var(--warm);
  background: rgba(245, 179, 92, .07);
  color: #f6d28f;
  font-size: 11px;
  line-height: 1.35;
}

#textManualFontRow[hidden] { display: none; }

/* Numeric controls remain legible even when an uploaded display font has no figures. */
body.global-font-active :is(output, input, select, option, .tuner-current, .tuner-actions button, .advantages-list article > span) {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Keep editing symbols readable when a custom display font is uploaded. */
body.global-font-active .edit-pencil {
  font-family: "Segoe UI Symbol", "Segoe UI", Arial, sans-serif !important;
  font-weight: 400 !important;
}

body.global-font-active .progressive-form .step-index {
  font-family: Arial, Helvetica, sans-serif !important;
}

.global-font-manager {
  display: grid;
  gap: 16px;
  margin: 18px 0;
  border: 1px solid var(--line);
  padding: 18px;
  background: rgba(255, 255, 255, .022);
}

.global-font-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.global-font-library-column {
  display: grid;
  gap: 10px;
}

.global-font-library-list {
  display: grid;
  gap: 6px;
}

.global-font-library-list > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.global-font-library-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 214, 139, .16);
  background: rgba(255, 255, 255, .025);
}

.global-font-library-item span {
  overflow: hidden;
  color: rgba(255, 246, 231, .9);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-font-library-item button {
  display: grid;
  width: 30px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 154, 130, .36);
  color: #ffb0a0;
  background: rgba(158, 41, 26, .12);
  cursor: pointer;
  font-size: 15px;
}

.global-font-library-item button:hover,
.global-font-library-item button:focus-visible {
  border-color: #ff9d88;
  color: #fff;
  background: rgba(196, 54, 36, .34);
}

.global-font-preset {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.global-font-preset select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  appearance: none;
  padding: 0 54px 0 12px;
  color: #fffaf0;
  background-color: #171511;
  background-image:
    linear-gradient(45deg, transparent 50%, #fffaf0 50%),
    linear-gradient(135deg, #fffaf0 50%, transparent 50%);
  background-position:
    calc(100% - 34px) calc(50% - 2px),
    calc(100% - 28px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  color-scheme: dark;
  cursor: pointer;
}

.global-font-preset select:focus {
  border-color: #ffc05b;
  outline: 2px solid rgba(255, 192, 91, .28);
  outline-offset: 2px;
}

.global-font-preset select option {
  color: #fffaf0;
  background: #171511;
}

.global-font-preset select option:checked {
  color: #14110c;
  background: #ffc05b;
}

.global-font-choices {
  display: grid;
  align-content: center;
  gap: 16px;
  min-width: 0;
}

.global-type-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.global-type-controls > div {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 14px;
  background: rgba(255, 255, 255, .018);
}

.global-type-controls strong { color: var(--warm); font-size: 12px; font-weight: 500; }
.global-type-controls label { display: grid; gap: 7px; color: var(--muted); font-size: 11px; }
.global-type-controls label span { display: flex; justify-content: space-between; gap: 12px; }

html.global-heading-weight body.global-font-active :is(h1, h2, h3, h4, h5, h6, .intro-logo, .brand, .floor-labels a, .editable-content[data-font-category="heading"]) { font-weight: var(--cadosky-heading-weight) !important; }
html.global-heading-spacing body.global-font-active :is(h1, h2, h3, h4, h5, h6, .intro-logo, .brand, .floor-labels a, .editable-content[data-font-category="heading"]) { letter-spacing: var(--cadosky-heading-spacing) !important; }
html.global-body-weight body.global-font-active :is(p, span, a, button, label, input, select, textarea, small, strong, output, .editable-content) { font-weight: var(--cadosky-body-weight) !important; }
html.global-body-spacing body.global-font-active :is(p, span, a, button, label, input, select, textarea, small, strong, output, .editable-content) { letter-spacing: var(--cadosky-body-spacing) !important; }

body.global-font-active .editable-content[data-manual-weight="true"] { font-weight: var(--editor-font-weight) !important; }
body.global-font-active .editable-content[data-manual-spacing="true"] { letter-spacing: var(--editor-letter-spacing) !important; }

.global-font-manager > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.global-font-manager header span,
.global-font-manager h3 {
  margin: 0;
  color: var(--warm);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.global-font-manager h3 {
  margin-top: 5px;
  color: var(--text);
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0;
}

.global-font-manager header p,
.global-font-actions span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.global-font-manager header p {
  max-width: 430px;
}

.global-font-drop {
  display: grid;
  min-height: 116px;
  place-content: center;
  border: 1px dashed rgba(245, 179, 92, .52);
  padding: 18px;
  color: var(--text);
  background: rgba(245, 179, 92, .035);
  text-align: center;
  cursor: pointer;
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.global-font-drop input { display: none; }
.global-font-drop strong { font-size: 18px; font-weight: 400; }
.global-font-drop span { margin-top: 7px; color: var(--muted); font-size: 11px; }
.global-font-drop:hover,
.global-font-drop.is-dragging { border-color: #ffd27b; background: rgba(245, 179, 92, .09); transform: translateY(-2px); }

.global-font-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.global-font-actions button { border: 1px solid var(--line); padding: 10px 14px; color: var(--text); background: transparent; cursor: pointer; }

@media (max-width: 700px) {
  .global-font-manager > header,
  .global-font-actions { align-items: start; flex-direction: column; }
  .global-font-grid { grid-template-columns: 1fr; }
  .global-type-controls { grid-template-columns: 1fr; }
}

.plan-rule {
  display: block;
  width: min(100%, 390px);
  height: 1px;
  margin: clamp(28px, 4vh, 48px) 0 28px;
  background: linear-gradient(90deg, #d88c22 0%, #ffd27b 53%, transparent 100%);
  box-shadow: 0 0 8px rgba(243, 171, 60, .36);
}

.plan-offer {
  width: min(500px, 100%);
  margin: 0;
  color: rgba(245, 242, 235, .7);
  font-size: clamp(16px, 1.25vw, 22px);
  line-height: 1.65;
  text-align: left;
}

.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-width: 250px;
  margin-top: clamp(26px, 4vh, 48px);
  border: 1px solid rgba(238, 170, 62, .74);
  padding: 18px 22px;
  color: #f5f1e9;
  background: rgba(5, 5, 5, .36);
  box-shadow: 0 0 18px rgba(221, 144, 37, .08), inset 0 0 18px rgba(221, 144, 37, .025);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: color 260ms ease, border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.plan-cta span {
  color: #efa927;
  font-size: 22px;
  line-height: 0;
}

.plan-cta:hover,
.plan-cta:focus-visible {
  border-color: #ffd17c;
  color: #fff;
  box-shadow: 0 0 26px rgba(221, 144, 37, .18), inset 0 0 20px rgba(221, 144, 37, .04);
  outline: none;
  transform: translateY(-2px);
}

.plan-slide :is(img, video),
.plan-slide[data-project="coffrage"] :is(img, video) {
  position: relative;
  justify-self: center;
  width: min(1120px, 69vw);
  max-width: none;
  max-height: 68vh;
  margin: 0;
  object-fit: contain;
  filter:
    contrast(1.055)
    saturate(1.06)
    drop-shadow(calc(var(--hover-rotate-y) * -0.7) 28px 38px rgba(0,0,0,.68))
    drop-shadow(0 8px 20px rgba(212,137,34,.08));
  transform:
    translate3d(var(--image-offset-x), calc(var(--coffrage-offset-y) + var(--image-offset-y)), 0)
    scaleX(var(--image-scale-x))
    scaleY(var(--image-scale-y))
    rotateX(var(--image-rotate-x))
    rotateY(var(--image-rotate-y))
    rotateZ(var(--image-rotate-z))
    rotateX(var(--hover-rotate-x))
    rotateY(var(--hover-rotate-y));
}

.plan-slide:not([data-project="coffrage"]) :is(img, video) {
  width: min(780px, 56vw);
}

.hero-values {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 176px;
  border-top: 1px solid rgba(230, 159, 48, .42);
  background: linear-gradient(180deg, rgba(3,3,3,.88), rgba(1,1,1,.97));
  box-shadow: 0 -18px 52px rgba(0,0,0,.58);
}

/* On desktop, the commitments strip is a deliberate second beat of the hero.
   The first downward gesture raises it; normal page scrolling resumes after it settles. */
@media (min-width: 1101px) {
  html.hero-values-stage-ready .hero-dark {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
  }

  html.hero-values-stage-ready .building-stage.plan-carousel {
    height: calc(100vh - 116px);
    transition: height 980ms cubic-bezier(.22, 1, .36, 1);
  }

  html.hero-values-stage-ready .hero-values {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 102%, 0);
    transition:
      transform 980ms cubic-bezier(.22, 1, .36, 1),
      opacity 420ms ease 100ms;
    will-change: transform, opacity;
  }

  html.hero-values-stage-ready.hero-values-stage-open .building-stage.plan-carousel {
    height: calc(100vh - 292px);
  }

  html.hero-values-stage-ready.hero-values-stage-open .hero-values {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }
}

.hero-values article {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 22px;
  padding: 30px clamp(18px, 2vw, 38px);
  border-right: 1px solid rgba(226, 161, 55, .3);
}

.hero-values article::after {
  content: none;
}

.value-glow {
  position: absolute;
  z-index: 2;
  left: calc(clamp(18px, 2vw, 38px) + 3px);
  bottom: 17px;
  width: var(--value-glow-width, 52px);
  height: 3px;
  margin: 0;
  padding: 0;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 207, 109, .74) 46%, transparent);
  box-shadow: 0 0 5px rgba(239, 165, 47, .42), 0 0 10px rgba(239, 165, 47, .18);
  opacity: .68;
  transform: translate(var(--value-glow-x, 0px), var(--value-glow-y, 0px)) scale(var(--value-glow-scale, 1));
  transform-origin: center;
  cursor: default;
}

.admin-mode .value-glow {
  cursor: pointer;
}

.admin-mode .value-glow:hover,
.admin-mode .value-glow:focus-visible {
  outline: 1px dashed rgba(255, 205, 112, .8);
  outline-offset: 5px;
}

.hero-values article:last-child {
  border-right: 0;
}

.hero-values h3 {
  margin: 0 0 10px;
  color: #f5f1e9;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-values p {
  margin: 0;
  color: rgba(245, 241, 233, .62);
  font-size: 13px;
  line-height: 1.55;
}

.value-icon {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  color: #edae43;
  filter: drop-shadow(0 0 5px rgba(237,174,67,.22));
  transform: translate(var(--icon-editor-x, 0px), var(--icon-editor-y, 0px)) scale(var(--icon-editor-scale, 1));
  transform-origin: center;
  transition: color 280ms ease, filter 280ms ease, transform 280ms ease;
}

.admin-mode .value-icon[data-value-icon] {
  cursor: pointer;
}

.admin-mode .value-icon[data-value-icon]:hover {
  outline: 1px dashed rgba(255, 205, 112, .72);
  outline-offset: 8px;
}

.value-icon.has-custom-icon {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}

.value-icon.has-custom-icon::before,
.value-icon.has-custom-icon::after {
  display: none;
}

.value-icon.has-custom-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.14);
  transform-origin: center;
}

.value-icon-tuner {
  top: 220px;
  right: 28px;
  left: auto;
  bottom: auto;
  width: min(360px, calc(100vw - 32px));
}

.value-glow-tuner {
  top: 220px;
  right: 28px;
  left: auto;
  bottom: auto;
  width: min(390px, calc(100vw - 32px));
}

.value-icon-preview {
  display: grid;
  place-items: center;
  min-height: 112px;
  border: 1px solid rgba(255, 230, 184, .16);
  background: rgba(255,255,255,.025);
}

.value-icon-preview .value-icon {
  transform: scale(1.25);
}

.value-icon-file {
  grid-template-columns: 1fr;
  gap: 8px;
}

.value-icon-file input[type="file"] {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px;
  color: var(--muted);
  background: #11110f;
  font-size: 10px;
}

.value-icon-help {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.value-target {
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 16px #020202, inset 0 0 0 18px currentColor;
}

.value-target::before,
.value-target::after {
  position: absolute;
  content: "";
  background: currentColor;
}

.value-target::before { top: -10px; left: 27px; width: 2px; height: 76px; }
.value-target::after { top: 27px; left: -10px; width: 76px; height: 2px; }

.value-shield {
  width: 48px;
  height: 58px;
  border: 2px solid currentColor;
  border-radius: 45% 45% 55% 55% / 16% 16% 70% 70%;
}

.value-shield::before {
  position: absolute;
  inset: 5px;
  content: "";
  border: 1px solid rgba(255,210,124,.36);
  border-radius: 45% 45% 55% 55% / 16% 16% 70% 70%;
}

.value-shield::after {
  position: absolute;
  left: 14px;
  top: 18px;
  width: 17px;
  height: 9px;
  content: "";
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.value-layers::before,
.value-layers::after {
  position: absolute;
  left: 5px;
  width: 46px;
  height: 28px;
  content: "";
  border: 2px solid currentColor;
  transform: rotate(30deg) skewX(-28deg);
}

.value-layers {
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px);
}

.value-layers::before { top: 4px; }
.value-layers::after { top: 22px; }

.value-expertise::before,
.value-expertise::after {
  position: absolute;
  content: "";
  border: 2px solid currentColor;
  border-radius: 50%;
}

.value-expertise::before { top: 2px; left: 18px; width: 20px; height: 20px; }
.value-expertise::after { left: 5px; bottom: 2px; width: 46px; height: 24px; border-bottom: 0; border-radius: 28px 28px 0 0; }

.value-expertise {
  box-shadow: inset -13px 0 0 -11px currentColor;
}

.hero-values article:hover .value-icon {
  color: #ffd27d;
  filter: drop-shadow(0 0 8px rgba(255,190,80,.42));
  transform: translate(var(--icon-editor-x, 0px), calc(var(--icon-editor-y, 0px) - 2px)) scale(var(--icon-editor-scale, 1));
}

/* Premium commitments path. */
.advantages-section {
  padding-block: clamp(82px, 10vw, 150px);
}

.advantages-heading {
  position: sticky;
  top: 24px;
  z-index: 2;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  width: min(1120px, 100%);
  margin: 0 auto clamp(64px, 10vw, 136px);
  pointer-events: none;
}

.advantages-heading > p {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #d89532;
  letter-spacing: .16em;
}

.advantages-heading > p::after {
  width: min(120px, 12vw);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(245,179,92,.9), transparent);
}

.advantages-heading h2 {
  grid-column: 1;
  width: min(980px, 100%);
  max-width: none;
  color: #fffaf0;
  font-size: clamp(48px, 8vw, 112px);
  line-height: .88;
  text-wrap: balance;
}

.advantages-heading > span {
  grid-column: 1;
  display: block;
  width: min(720px, 100%);
  margin-top: clamp(20px, 2.4vw, 34px);
  margin-left: clamp(0px, 22vw, 330px);
  border-left: 1px solid rgba(176,111,24,.46);
  padding: 14px 0 14px clamp(18px, 2.4vw, 34px);
  color: rgba(255, 250, 240, .68);
  font-size: clamp(14px, 1.45vw, 19px);
  line-height: 1.5;
  text-transform: none;
  pointer-events: auto;
}

.home-value-grid {
  position: relative;
  display: grid;
  gap: clamp(36px, 8vw, 96px);
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 10px 0 40px;
}

.home-value-grid::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(176,111,24,.9) 12%, rgba(176,111,24,.54) 72%, transparent);
  box-shadow: 0 0 34px rgba(176,111,24,.22);
}

.home-value-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  width: min(520px, calc(50% - 58px));
  min-height: 220px;
  border: 1px solid rgba(138, 94, 34, .28);
  padding: 32px clamp(24px, 3vw, 42px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.045)),
    rgba(6, 6, 5, calc(.72 - var(--page-light) * .44));
  box-shadow: 0 24px 80px rgba(0,0,0,.16), inset 0 0 34px rgba(245,179,92,.055);
  backdrop-filter: blur(10px);
  transform: translate3d(-44px, 42px, 0) scale(.96);
  opacity: .64;
  transition:
    opacity 720ms ease,
    transform 820ms cubic-bezier(.16, 1, .3, 1),
    border-color 360ms ease,
    box-shadow 360ms ease;
}

.home-value-grid article:nth-child(even) {
  justify-self: end;
  transform: translate3d(44px, 42px, 0) scale(.96);
}

.home-value-grid article.value-card-reveal {
  --value-card-enter-x: -58px;
  --value-card-scan-x: -112%;
  opacity: 0;
  filter: saturate(.72) contrast(.92);
  transform: translate3d(var(--value-card-enter-x), 62px, 0) scale(.94);
  transition:
    opacity 980ms var(--value-card-delay, 0ms) cubic-bezier(.16, 1, .3, 1),
    filter 980ms var(--value-card-delay, 0ms) cubic-bezier(.16, 1, .3, 1),
    transform 1180ms var(--value-card-delay, 0ms) cubic-bezier(.16, 1, .3, 1),
    border-color 520ms ease,
    box-shadow 520ms ease;
  will-change: opacity, filter, transform;
}

.home-value-grid article:nth-child(even).value-card-reveal {
  --value-card-enter-x: 58px;
  --value-card-scan-x: 112%;
}

.home-value-grid article.value-card-reveal::before,
.home-value-grid article.value-card-reveal::after {
  opacity: 0;
  transition:
    opacity 620ms calc(var(--value-card-delay, 0ms) + 520ms) ease,
    transform 760ms calc(var(--value-card-delay, 0ms) + 520ms) cubic-bezier(.16, 1, .3, 1),
    box-shadow 760ms calc(var(--value-card-delay, 0ms) + 520ms) ease;
}

.home-value-grid article.value-card-reveal .value-icon,
.home-value-grid article.value-card-reveal h3,
.home-value-grid article.value-card-reveal p {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 760ms calc(var(--value-card-delay, 0ms) + 380ms) ease,
    transform 820ms calc(var(--value-card-delay, 0ms) + 380ms) cubic-bezier(.16, 1, .3, 1),
    color 280ms ease,
    filter 280ms ease;
}

.home-value-grid article.value-card-reveal .value-icon {
  transform: translate3d(0, 14px, 0) scale(.86);
}

.home-value-grid article.value-card-reveal .value-glow {
  opacity: 0;
  transform: translate(var(--value-glow-x, 0px), var(--value-glow-y, 0px)) scale(.2);
  transition:
    opacity 680ms calc(var(--value-card-delay, 0ms) + 760ms) ease,
    transform 880ms calc(var(--value-card-delay, 0ms) + 760ms) cubic-bezier(.16, 1, .3, 1);
}

.home-value-grid article.value-card-reveal > div::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 0 35%, rgba(245,179,92,.2) 47%, rgba(255,255,255,.28) 50%, rgba(245,179,92,.14) 54%, transparent 66% 100%);
  pointer-events: none;
  transform: translate3d(var(--value-card-scan-x), 0, 0);
  transition: transform 1120ms calc(var(--value-card-delay, 0ms) + 160ms) cubic-bezier(.22, 1, .36, 1);
}

.home-value-grid article.value-card-visible {
  opacity: 1;
  filter: saturate(1) contrast(1);
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.home-value-grid article.value-card-visible::before,
.home-value-grid article.value-card-visible::after {
  opacity: 1;
}

.home-value-grid article.value-card-visible::after {
  animation: valuePathPulse 1100ms calc(var(--value-card-delay, 0ms) + 820ms) cubic-bezier(.16, 1, .3, 1) both;
}

.home-value-grid article.value-card-visible .value-icon,
.home-value-grid article.value-card-visible h3,
.home-value-grid article.value-card-visible p {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-value-grid article.value-card-visible .value-icon {
  transform: translate(var(--icon-editor-x, 0px), var(--icon-editor-y, 0px)) scale(var(--icon-editor-scale, 1));
}

.home-value-grid article.value-card-visible .value-glow {
  opacity: 1;
  transform: translate(var(--value-glow-x, 0px), var(--value-glow-y, 0px)) scale(var(--value-glow-scale, 1));
}

.home-value-grid article.value-card-visible > div::before {
  transform: translate3d(calc(var(--value-card-scan-x) * -1), 0, 0);
}

.home-value-grid article::before {
  position: absolute;
  top: 50%;
  width: 58px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(176,111,24,.95));
}

.home-value-grid article:nth-child(odd)::before {
  left: 100%;
}

.home-value-grid article:nth-child(even)::before {
  right: 100%;
  transform: scaleX(-1);
}

.home-value-grid article::after {
  position: absolute;
  top: calc(50% - 8px);
  width: 16px;
  height: 16px;
  border: 1px solid rgba(176,111,24,.95);
  border-radius: 50%;
  content: "";
  background: #b06f18;
  box-shadow: 0 0 0 8px rgba(176,111,24,.1), 0 0 28px rgba(176,111,24,.42);
}

.home-value-grid article:nth-child(odd)::after {
  left: calc(100% + 50px);
}

.home-value-grid article:nth-child(even)::after {
  right: calc(100% + 50px);
}

.home-value-grid article.is-revealed:not(.value-card-reveal) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-value-grid article.is-revealed:not(.value-card-reveal)::after {
  animation: valuePathPulse 1100ms cubic-bezier(.16, 1, .3, 1) both;
}

.home-value-grid article:hover {
  border-color: rgba(245,179,92,.56);
  box-shadow: 0 28px 100px rgba(0,0,0,.24), 0 0 36px rgba(245,179,92,.13), inset 0 0 38px rgba(245,179,92,.055);
}

.home-value-grid .value-icon {
  color: #b06f18;
  filter: drop-shadow(0 0 16px rgba(176,111,24,.18));
  transform: translate(var(--icon-editor-x, 0px), var(--icon-editor-y, 0px)) scale(var(--icon-editor-scale, 1));
}

.home-value-grid .value-glow {
  position: absolute;
  left: 34px;
  bottom: 22px;
}

.home-value-grid h3 {
  margin: 0 0 10px;
  color: #fffaf0;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-value-grid p {
  margin: 0;
  color: rgba(236,229,216,.72);
  font-size: 14px;
  line-height: 1.65;
}

.home-value-grid article:hover .value-icon {
  color: #ffd27d;
  filter: drop-shadow(0 0 14px rgba(255,190,80,.48));
  transform: translate(var(--icon-editor-x, 0px), calc(var(--icon-editor-y, 0px) - 2px)) scale(var(--icon-editor-scale, 1));
}

body.page-light .advantages-heading h2,
body.page-light .home-value-grid h3,
body.page-light .project-header h2,
body.page-light .reservation-copy h2,
body.page-light .client-portal-heading h2,
body.page-light .admin-heading h2 {
  color: var(--scroll-title-color);
}

body.page-light .home-value-grid p,
body.page-light .project-layout p,
body.page-light .reservation-copy span,
body.page-light .client-portal-heading > span,
body.page-light .advantages-heading > span {
  color: var(--scroll-body-color);
}

body.page-light .project-layout aside {
  border-color: rgba(38, 32, 23, .46);
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(245,239,226,.72)),
    rgba(245,239,226,.86);
  box-shadow: 0 22px 62px rgba(54, 43, 25, .13), inset 0 0 0 1px rgba(255,255,255,.58);
}

body.page-light .project-layout aside h3,
body.page-light .project-process h4 {
  color: var(--scroll-panel-title-color);
  text-shadow: none;
}

body.page-light .project-layout p {
  color: var(--scroll-body-color);
}

body.page-light .project-process {
  border-top-color: rgba(123, 82, 29, .48);
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.45), rgba(128, 111, 84, .16)),
    rgba(255,255,255,.16);
}

body.page-light .project-process > span {
  color: #a66719;
}

body.page-light .home-value-grid article {
  border-color: rgba(84, 60, 28, .28);
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.78)),
    rgba(255,255,255,.9);
  box-shadow: 0 26px 72px rgba(52, 42, 25, .16), inset 0 0 0 1px rgba(255,255,255,.68);
}

.advantages-heading h2,
.advantages-heading h2 > .editable-content {
  color: transparent;
  background: linear-gradient(
    105deg,
    #151411 0%,
    #151411 30%,
    #b98030 43%,
    #fff0c9 50%,
    #a96b20 57%,
    #151411 70%,
    #151411 100%
  );
  background-size: 240% 100%;
  background-position: var(--value-heading-progress) 50%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 18px 54px rgba(118, 80, 28, .12);
}

body:not(.page-light) .advantages-heading h2,
body:not(.page-light) .advantages-heading h2 > .editable-content {
  background-image: linear-gradient(
    105deg,
    #fffaf0 0%,
    #fffaf0 30%,
    #d59a42 43%,
    #fff3cc 50%,
    #b66d1f 57%,
    #fffaf0 70%,
    #fffaf0 100%
  );
  text-shadow: 0 18px 58px rgba(255, 198, 95, .14);
}

@media (prefers-reduced-motion: reduce) {
  .advantages-heading h2,
  .advantages-heading h2 > .editable-content {
    animation: none;
  }

  .home-value-grid article.value-card-reveal,
  .home-value-grid article.value-card-reveal .value-icon,
  .home-value-grid article.value-card-reveal h3,
  .home-value-grid article.value-card-reveal p,
  .home-value-grid article.value-card-reveal .value-glow {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

@keyframes valuePathPulse {
  0% { box-shadow: 0 0 0 0 rgba(176,111,24,.32), 0 0 18px rgba(176,111,24,.26); }
  100% { box-shadow: 0 0 0 16px rgba(176,111,24,0), 0 0 28px rgba(176,111,24,.42); }
}

/* Les trois apercus et l'image centrale partagent la meme liste par section. */
.carousel-assets-manager {
  width: min(900px, calc(100% - 40px));
  margin: 22px auto 0;
  padding: 14px;
  border: 1px solid rgba(232, 175, 75, .38);
  background: rgba(8, 8, 7, .92);
  color: #f4ede2;
}

.carousel-assets-manager-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 12px;
  text-transform: uppercase;
}

.carousel-assets-manager-head span { color: #a99b86; }

.carousel-assets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.carousel-asset-slot {
  min-height: 124px;
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px dashed rgba(232, 175, 75, .38);
  background: rgba(255, 255, 255, .015);
  color: #d9cbb7;
  text-align: center;
  cursor: pointer;
}

.carousel-asset-slot.is-filled {
  grid-template-columns: 76px 1fr;
  grid-template-rows: auto auto;
  place-items: center start;
  border-style: solid;
  text-align: left;
}

.carousel-asset-slot.is-filled > img {
  grid-row: span 2;
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: #111;
}

.carousel-asset-slot input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.carousel-asset-upload,
.carousel-asset-remove {
  padding: 6px 8px;
  border: 1px solid rgba(232, 175, 75, .6);
  background: transparent;
  color: #f3c05b;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  text-transform: uppercase;
}

.carousel-asset-add strong { color: #f3c05b; font-size: 12px; }

.carousel-asset-add:hover,
.carousel-asset-slot:focus-within {
  border-color: #f3b84e;
  background: rgba(243, 184, 78, .08);
}

.carousel-asset-remove {
  color: #efb7aa;
  border-color: rgba(239, 120, 95, .55);
}

.carousel-asset-slot.is-loading {
  opacity: .55;
  pointer-events: none;
}

@media (max-width: 760px) {
  .carousel-assets-manager-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .carousel-assets-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .dark-nav { min-height: 128px; align-items: center; padding-top: 0; }
  .dark-nav nav { max-width: 62vw; overflow-x: auto; }
  .building-stage.plan-carousel { height: auto; min-height: 650px; }
  .plan-slide { grid-template-columns: minmax(260px, 34vw) minmax(0, 1fr); }
  .plan-slide :is(img, video), .plan-slide[data-project="coffrage"] :is(img, video) { width: min(860px, 65vw); }
  .hero-values { grid-template-columns: repeat(2, 1fr); }
  .hero-values article:nth-child(2) { border-right: 0; }
  .hero-values article:nth-child(-n+2) { border-bottom: 1px solid rgba(226, 161, 55, .3); }
  .home-value-grid article { width: min(560px, calc(50% - 46px)); }
}

@media (max-width: 760px) {
  .hero-dark { padding: 0; }
  .dark-nav { min-height: 154px; margin: 0; padding: 20px; }
  .brand { width: auto; min-height: 0; margin: 0; padding: 0 0 12px; }
  .building-stage.plan-carousel { min-height: 680px; }
  .plan-slide { grid-template-columns: 1fr; grid-template-rows: auto minmax(280px, 1fr); padding: 42px 20px 24px; }
  .plan-content { align-self: end; }
  .plan-slide h2, .plan-slide[data-project="coffrage"] h2 { font-size: clamp(48px, 17vw, 76px); }
  .plan-rule { margin: 22px 0 18px; }
  .plan-offer { width: min(390px, 90vw); font-size: 14px; }
  .plan-cta { min-width: 220px; margin-top: 22px; padding: 14px 18px; }
  .plan-slide :is(img, video), .plan-slide[data-project="coffrage"] :is(img, video) { align-self: start; width: min(760px, 104vw); max-height: 41vh; }
  .hero-values { grid-template-columns: 1fr; }
  .hero-values article { border-right: 0; border-bottom: 1px solid rgba(226, 161, 55, .24); }
  .hero-values article:last-child { border-bottom: 0; }
  .home-value-grid { gap: 24px; }
  .home-value-grid::before { left: 20px; }
  .home-value-grid article,
  .home-value-grid article:nth-child(even) {
    justify-self: stretch;
    width: 100%;
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 160px;
    margin-left: 38px;
    padding: 24px 20px 42px;
  }
  .home-value-grid article::before,
  .home-value-grid article::after { display: none; }
  .home-value-grid .value-glow { left: 20px; }
}
