/* Runtime edits use this trusted stylesheet's CSSOM; no injected HTML or CSS. */

:root [data-deai-text-case="none"] { text-transform: none !important; }
:root [data-deai-text-case="uppercase"] { text-transform: uppercase !important; }
:root [data-deai-text-case="lowercase"] { text-transform: lowercase !important; }
.collaborate .route {
  transition: background-color .25s ease, border-color .4s, box-shadow .6s, opacity .9s var(--ease), transform 1s var(--ease);
}
@media (any-hover: hover) {
  .collaborate .route:hover { background-color: #e9cabc; }
}
.collaborate .route:has(.route-button:focus-visible) { background-color: #e9cabc; }
:root[data-deai-site] {
  --edit-accent:#942610; --edit-dark:#241a16; --edit-glow:#d36a42a6;
  --edit-paper:#fcf9f5; --edit-highlight:#e7bb9e;
  --cover-gradient:radial-gradient(ellipse at 85% 30%,var(--edit-glow),transparent 55%),linear-gradient(135deg,var(--edit-dark) 15%,var(--edit-accent) 100%);
}
[hidden] { display:none!important; }
body { background:var(--edit-paper); }
.hero,.header,.contact,.footer { color:var(--edit-paper); }
.hero::before { background-image:var(--cover-gradient); }
.hero .eyebrow,.hero h1 em,.contact .eyebrow,.contact h2 em { color:var(--edit-highlight); }
.hero .dot { background:var(--edit-highlight); }
.hero .button,.contact-actions .button { background:var(--edit-paper);color:var(--edit-accent); }
.ticker { background:var(--edit-accent);color:var(--edit-paper); }
.hero h1,.collaborate h2,.route h3,.contact h2,.ticker span {
  font-family:var(--edit-title-font,"Helvetica Now Display",Arial,sans-serif);
  font-style:var(--edit-title-style,italic);
  text-transform:var(--edit-title-case,uppercase);
  overflow-wrap:anywhere;
}
.hero { grid-template-columns:minmax(0,var(--edit-copy,1.08fr)) minmax(0,var(--edit-art,1fr));gap:clamp(28px,var(--edit-gap,4vw),72px); }
.hero h1 { font-size:clamp(var(--edit-title-min,48px),var(--edit-title-fluid,5.6vw),var(--edit-title-max,108px)); }
.hero-art .building-scene {
  position:absolute; width:var(--edit-building-size,100%); height:var(--edit-building-size,100%);
  top:var(--edit-building-y,50%);left:var(--edit-building-x,50%);
  transform:translate(var(--edit-building-neg-x,-50%),var(--edit-building-neg-y,-50%));
}
.logo img { width:var(--edit-logo,100px); }
.collaborate { padding-block:var(--edit-section-top,90px) var(--edit-section-bottom,65px); }
.collaborate .eyebrow,.commission-number,.route-detail>a { color:var(--edit-accent); }
.route.selected { border-color:var(--edit-accent); }
.badge:not(.neutral),.route-button[aria-pressed=true] { background:var(--edit-accent);color:var(--edit-paper); }
.contact { padding-block:var(--edit-section-top,90px); }
.contact::before { background-image:radial-gradient(ellipse at 100% 100%,var(--edit-accent),transparent 75%); }
[data-edit-highlight] { outline:2px dashed #f3b38b!important;outline-offset:6px; }
[data-deai-editing] .hero-art { pointer-events:auto;cursor:crosshair; }
[data-deai-editing] main :is(h1,h2,h3,p,.button,.badge) { cursor:crosshair; }

/* Profiles are independent. The active profile is selected by viewport width. */
.hero { min-height:var(--edit-hero-min-height,100svh); }
.logo img { width:var(--edit-logo,100px); }
.contact { padding-block:var(--edit-contact-top,90px) var(--edit-contact-bottom,90px); }
.hero-art { opacity:var(--edit-building-opacity,1);z-index:1; }
[data-building-layer="front"] .hero-art { z-index:3; }
[data-hero-layout="stacked"] .hero { grid-template-columns:minmax(0,1fr);gap:20px; }
[data-hero-layout="stacked"] .hero-copy { width:100%;max-width:680px;justify-self:center; }
[data-hero-layout="stacked"] .hero-art { width:min(100%,560px); }
[data-hero-layout="columns"] .hero { grid-template-columns:minmax(0,var(--edit-copy,1.08fr)) minmax(0,var(--edit-art,1fr)); }
[data-hero-layout="columns"] .hero-copy { max-width:none; }
[data-hero-layout="columns"] .hero-art { width:100%; }
[data-building-layout="free"] .hero-art {
 position:absolute;inset:auto;width:min(var(--edit-building-size,45%),100%,var(--edit-hero-actual-height,100svh));height:auto;
 left:var(--edit-building-x,50%);top:var(--edit-building-y,50%);transform:translate(var(--edit-building-neg-x,-50%),var(--edit-building-neg-y,-50%));
}
[data-building-layout="free"] .hero-art .building-scene { position:absolute;inset:0;width:100%;height:100%;transform:none; }
[data-building-layout="free"][data-hero-layout="stacked"] .hero-copy { align-self:start; }
.building-scene[data-video-state="custom-image"] .hero-motion { visibility:hidden; }
.building-scene[data-video-state="custom-image"] .motion-still { visibility:visible; }
.building-drag-tag,.building-resize-handle { display:none; }
[data-building-edit] .hero-art { z-index:4;pointer-events:auto;touch-action:none;cursor:move;outline:2px dashed #f3b38b;outline-offset:-2px; }
[data-building-edit] .building-drag-tag { display:block;position:absolute;top:8px;left:8px;z-index:8;background:#291713e6;color:#fff5ed;padding:7px 10px;border-radius:6px;font:11px General,Arial,sans-serif;pointer-events:none; }
[data-building-edit] .building-resize-handle { display:block;position:absolute;bottom:0;right:0;z-index:9;width:34px;height:34px;border:1px solid #fff5ed;background:#942610;color:white;border-radius:8px;font-size:20px;cursor:nwse-resize;touch-action:none; }
[data-deai-device="mobile"] .hero { padding-inline:22px;gap:12px; }
[data-deai-device="mobile"] .collaborate { padding-block:var(--edit-section-top,55px) var(--edit-section-bottom,40px); }
/* Explicit sizes stay within the available column and do not replace transforms. */
.route,.calc-layout,.hero .button,.route-button,.contact-actions .button,.contact-actions .phone,.header .nav-contact,#calc-contact{max-width:100%;box-sizing:border-box}
.route,.calc-layout,.collaborate,.contact{margin-inline:auto}
.hero .button,.route-button,.contact-actions .button,.header .nav-contact,#calc-contact{white-space:normal;overflow-wrap:anywhere;height:auto}
[data-custom-calc-sizes] .calc-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr);gap:12px 30px;align-items:end}
[data-custom-calc-sizes] .calc-heading>.eyebrow{grid-column:1/-1}
[data-custom-calc-sizes] .calc-heading>p:last-child{position:static;margin:0}
.header nav,.footer nav{flex-wrap:wrap}
[data-deai-editing] .hero-motion,[data-deai-editing] .motion-still{pointer-events:auto;cursor:crosshair}
@media(max-width:1024px){[data-custom-calc-sizes] .calc-heading{grid-template-columns:minmax(0,1fr)}}

.route{width:100%}

/* Respect the actual header height when its logo or text is enlarged. */
.hero{padding-top:max(clamp(116px,16svh,160px),var(--edit-header-space,0px))}
@media(max-width:900px){.hero{padding-top:max(126px,var(--edit-header-space,0px))}}
@media(max-width:650px){.hero{padding-top:max(116px,var(--edit-header-space,0px))}}

/* The two-column mobile cover pairs the headline and artwork in one row. */
[data-deai-device="mobile"][data-hero-layout="columns"][data-building-layout="column"] .hero {
  container-type: inline-size;
  column-gap: clamp(8px, var(--edit-gap, 2vw), 28px);
  row-gap: 14px;
  padding-top: max(78px, var(--edit-header-space, 96px));
}
[data-deai-device="mobile"][data-hero-layout="columns"][data-building-layout="column"] .hero-copy {
  display: contents;
}
[data-deai-device="mobile"][data-hero-layout="columns"][data-building-layout="column"] .hero-copy > * {
  grid-column: 1 / -1;
}
[data-deai-device="mobile"][data-hero-layout="columns"][data-building-layout="column"] .hero:has(.hero-art:not([hidden])) h1 {
  grid-area: 2 / 1;
}
[data-deai-device="mobile"][data-hero-layout="columns"][data-building-layout="column"] .hero-art {
  grid-area: 2 / 2;
}
[data-deai-device="mobile"][data-hero-layout="columns"][data-building-layout="column"] .hero-copy > :is(.eyebrow, .intro, .hero-note) {
  margin-block: 0;
}
[data-deai-device="mobile"][data-hero-layout="columns"][data-building-layout="column"] .hero .button {
  justify-self: start;
}
[data-deai-device="mobile"] .routes {
  grid-template-columns: minmax(0, 1fr);
  max-width: 480px;
  margin-inline: auto;
}
[data-deai-device="mobile"] .share {
  gap: 14px;
}
[data-deai-device="mobile"] .header nav a {
  align-content: center;
  min-height: 44px;
}

/* Keep the artwork in its column and the two offers aligned on tablet. */
[data-deai-device="tablet"] .hero {
  padding-block: max(96px, var(--edit-header-space, 114px)) clamp(36px, 5vw, 54px);
}
[data-deai-device="tablet"] .hero .intro {
  max-width: 38ch;
  margin-block: 18px;
}
[data-deai-device="tablet"] .routes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}
[data-deai-device="tablet"] .route,
[data-deai-device="tablet"] .route-copy {
  display: flex;
  flex-direction: column;
}
[data-deai-device="tablet"] .route-copy {
  flex: 1;
}
[data-deai-device="tablet"] .route-copy > p {
  min-height: 0;
  margin-bottom: 18px;
}
[data-deai-device="tablet"] .share {
  margin-top: auto;
}
[data-deai-device="tablet"] :is(.result-total, .result-commission) {
  flex-wrap: wrap;
}
@media (min-width:651px) and (max-width:760px) {
  [data-deai-device="tablet"] .section-heading {
    display: grid;
    gap: 14px;
  }
  [data-deai-device="tablet"] .route-detail ol {
    flex-wrap: wrap;
  }
}

.calc-breakdown > summary { display: none; }

[data-deai-device="mobile"] .calc-inner { max-width: 524px; }
[data-deai-device="mobile"] .calc-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
[data-deai-device="mobile"] .calc-heading .eyebrow { margin: 0; }
[data-deai-device="mobile"] .calc-heading h2 { font-size: clamp(28px, 7.2vw, 36px); }
[data-deai-device="mobile"] .calc-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border: 1px solid #ded8cf;
  border-radius: 16px;
  background: #fcf9f5;
  box-shadow: 0 8px 22px -16px #4d180d55;
}
[data-deai-device="mobile"] .calc-layout::before { display: none; }
[data-deai-device="mobile"] .calc-controls {
  padding: clamp(14px, 4vw, 20px);
  border: 0;
  color: #2e2a14;
  background: #fcf9f5;
  backdrop-filter: none;
}
[data-deai-device="mobile"] .calculator .segmented {
  margin-bottom: 16px;
  border: 1px solid #ded8cf;
  border-radius: 12px;
  background: #f2ece4;
}
[data-deai-device="mobile"] .calculator .segmented button {
  min-width: 0;
  min-height: 44px;
  padding: 6px;
  border-radius: 8px;
  color: #51453c;
  line-height: 1.25;
}
[data-deai-device="mobile"] .segmented button span { display: block; margin: 2px 0 0; }
[data-deai-device="mobile"] .calculator .segmented button[aria-pressed="true"] {
  background: #942610;
  color: #fcf9f5;
}
[data-deai-device="mobile"] .calc-controls :focus-visible { outline-color: #942610; }
[data-deai-device="mobile"] .calculator .field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
  column-gap: 10px;
  align-items: center;
}
[data-deai-device="mobile"] .field + .field {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #ded8cf;
}
[data-deai-device="mobile"] .field label { line-height: 1.35; }
[data-deai-device="mobile"] .amount-input {
  margin: 0;
  gap: 3px;
  border-bottom-color: #b9aa9b;
}
[data-deai-device="mobile"] .calculator .amount-input input {
  min-height: 44px;
  text-align: end;
  padding: 3px 0;
  color: #2e2a14;
  font-size: clamp(18px, 4.8vw, 24px);
  font-variant-numeric: tabular-nums;
}
[data-deai-device="mobile"] .calculator .amount-input span { color: #70675f; font-size: 16px; }
[data-deai-device="mobile"] .field > :is(input, .range-labels, small) { grid-column: 1 / -1; }
[data-deai-device="mobile"] .calculator input[type="range"] { height: 44px; margin: 0; accent-color: #942610; }
[data-deai-device="mobile"] .calculator .range-labels { color: #62584e; font-size: 11px; }
[data-deai-device="mobile"] .calculator .field small { color: #62584e; margin-top: 4px; }
[data-deai-device="mobile"] .calc-controls .input-error { color: #942610; }

[data-deai-device="mobile"] .calc-result {
  padding: 18px clamp(14px, 4vw, 20px);
  background: linear-gradient(115deg, #942610, #751e18);
  backdrop-filter: none;
}
[data-deai-device="mobile"] .calculator .result-top { font-size: 10px; }
[data-deai-device="mobile"] .calculator .big-amount {
  margin: 6px 0 8px;
  font-size: clamp(34px, 9vw, 46px);
}
[data-deai-device="mobile"] .calc-breakdown > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  border-top: 1px solid #fcf9f550;
  font-size: 14px;
  list-style: none;
  cursor: pointer;
}
[data-deai-device="mobile"] .calc-breakdown > summary::-webkit-details-marker { display: none; }
[data-deai-device="mobile"] .calc-breakdown > summary::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-inline-end: 4px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
[data-deai-device="mobile"] .calc-breakdown[open] > summary::after { transform: rotate(225deg); }
[data-deai-device="mobile"] .calc-breakdown > summary:focus-visible { outline-color: #fcf9f5; outline-offset: -3px; }
[data-deai-device="mobile"] .result-formula { margin: 0 0 10px; }
[data-deai-device="mobile"] .result-commission { padding-block: 12px; }
[data-deai-device="mobile"] .result-total { padding-top: 12px; }
[data-deai-device="mobile"] .result-note { margin-block: 8px 14px; }
[data-deai-device="mobile"] #calc-contact { margin-top: 4px; min-height: 44px; border-radius: 99px; }
[data-deai-device="mobile"] .calc-disclaimer { margin-top: 14px; }

/* Both material layers share the same grid cell and the editor's image scale. */
.collaborate .route-image {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
}
.collaborate .route-image img {
  grid-area: 1 / 1;
  min-height: 0;
  min-width: 0;
}
.collaborate .route-metal {
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease-in-out;
}
@media (hover: hover) {
  .collaborate .route:hover .route-metal { opacity: 1; }
}
.collaborate .route:has(.route-button:focus-visible) .route-metal { opacity: 1; }
@media (hover: none) {
  .collaborate .route.selected[data-material-selected] .route-metal { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .collaborate .route-metal { transition: none; }
}
