/* Vault Daylight: concept demo styles (light re-theme of Vault Noir) */
:root {
  /* Token names kept from the dark theme so every rule still resolves:
     --onyx = page ground, --graphite = alternate band, --diamond = primary text. */
  --onyx: #FAF8F4;        /* ivory ground */
  --graphite: #F3EEE5;    /* parchment band */
  --graphite-2: #EAE3D6;
  --pearl: #FFFFFF;       /* cards, sheets, the plan paper */
  --line: #DCD3C4;
  --line-soft: #E9E2D6;
  --line-strong: #8C8478; /* outlines that must read as a control edge */
  --line-control: #A0968A; /* edges of toggles, chips, segments, pills */
  --steel: #50555D;       /* secondary text */
  --muted: #606469;       /* captions, small labels (AA on ivory, parchment, umber, vellum) */
  --body: #2B2F35;        /* table and list text */
  --diamond: #14161A;     /* primary ink */
  --champagne: #7A5F30;   /* gold for text, strokes and thin lines */
  --champagne-deep: #6B5528;
  --gold-fill: #BE9E62;   /* gold for fills: buttons, selected states */
  --gold-fill-hover: #CBAE76;
  --gold-tint: #F2E8D3;
  --cable: #D9661A;
  --cable-text: #A3460C;
  --paper: #FFFFFF;
  --ink: #14161A;
  --ink-2: #4A4F57;
  --vellum: #EEE8DC;      /* drafting-table band */
  --vellum-2: #DCD3C2;
  --sheet: #FFFFFF;
  --umber: #F0E9DB;       /* warm process band */
  --umber-line: #DCD0B8;
  --shadow-warm: 60, 45, 20;

  --cam-turret: #1E6FB0;
  --cam-pinpoint: #7448C8;
  --cam-dome: #0B7D60;
  --cam-fisheye: #C23A62;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: 16px;
  --max: 1240px;
  --chamfer: 12px;
  --hatch: repeating-linear-gradient(135deg, rgba(122, 95, 48, .42) 0 1px, transparent 1px 6px), #F4EEE2;
  --section-pad: clamp(56px, 6vw, 80px);
}
@media (min-width: 760px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--onyx);
  color: var(--diamond);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  font-optical-sizing: none;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; font-optical-sizing: auto; font-variation-settings: "SOFT" 0, "WONK" 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--diamond); color: var(--onyx); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Banner */
.demo-banner { background: #EFE6D3; border-bottom: 1px solid #DDCFB2; color: #3B3020; font-size: .8125rem; line-height: 1.4; text-align: center; padding: 7px var(--gutter); }
.demo-banner strong { font-weight: 600; }
.banner-note { color: #65553A; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250, 248, 244, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark-glyph { width: 30px; height: 26px; fill: none; stroke: var(--champagne); stroke-width: 1.3; stroke-linejoin: round; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1; }
.wm-short { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: .01em; }
.wm-rest { font-size: .6875rem; color: var(--steel); letter-spacing: .08em; margin-top: 4px; }

.menu-btn { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line); color: var(--diamond); font: 500 .875rem var(--sans); padding: 9px 14px; cursor: pointer; }
.menu-btn-bars { width: 16px; height: 10px; position: relative; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.menu-btn-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; transform: translateY(-50%); }
.menu-btn[aria-expanded="true"] .menu-btn-bars { border-color: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn-bars::after { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-bars::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; transform: rotate(-45deg); }

.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; text-decoration: none; font-size: .9375rem; color: #3A3F47; }
.site-nav a:hover { color: var(--diamond); }
.site-nav .nav-cta { color: var(--champagne); border: 1px solid rgba(122, 95, 48, .55); margin-left: 8px; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); padding: 8px 16px; }
.site-nav .nav-cta:hover { background: rgba(190, 158, 98, .14); }

@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--onyx); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(var(--shadow-warm), .3); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.0625rem; }
  .site-nav .nav-cta { margin: 16px 0 0; text-align: center; padding: 14px; border-bottom: 1px solid rgba(122, 95, 48, .55); }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; border: 0; clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer)); transition: background-color .2s, color .2s; }
.btn-gold { background: var(--gold-fill); color: #15120C; }
.btn-gold:hover { background: var(--gold-fill-hover); }
.btn-line { background: transparent; color: var(--diamond); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--diamond); }
.btn:focus-visible { outline-offset: 4px; clip-path: none; }
.text-link { display: inline-block; margin-top: 14px; color: var(--champagne); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { color: var(--diamond); }

/* Sections */
.section { padding: var(--section-pad) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2, .digital-copy h2, .casting-copy h2, .contact-copy h2 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -.012em; margin-bottom: 20px; text-wrap: balance; }
.section-head p { color: var(--steel); font-size: 1.125rem; max-width: 62ch; }
@media (min-width: 1041px) {
  .section-head.head-split { max-width: none; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
  .section-head.head-split h2 { margin-bottom: 0; }
  .section-head.head-split p { max-width: 56ch; }
}

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 5vw, 64px); overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero-facets { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #E7DFD0; stroke-width: 1; fill: none; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-where { display: flex; align-items: center; gap: 10px; color: var(--champagne); font-family: var(--serif); font-style: italic; font-size: 1.125rem; margin-bottom: 28px; }
.hero-where svg { width: 14px; height: 16px; fill: none; stroke: var(--champagne); stroke-width: 1.2; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.125rem); line-height: 1.02; letter-spacing: -.01em; font-weight: 600; text-wrap: balance; }
.hero-lede { margin-top: 28px; color: #3A3F47; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-art { margin: 0; position: relative; }
.diamond { width: 100%; max-width: 500px; margin-left: auto; overflow: visible; }
.diamond .ring { fill: none; stroke: #C4BAA8; stroke-width: 1; stroke-dasharray: 2 6; }
.diamond .ring-2 { stroke: rgba(11, 125, 96, .4); stroke-dasharray: 1 5; }
.facets path { fill: none; stroke: var(--diamond); stroke-width: 1; stroke-linejoin: round; opacity: .62; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.facets .f-g { stroke: var(--champagne); stroke-width: 1.6; opacity: 1; }
.facets .f-t { stroke: var(--champagne); opacity: .9; }
.dome-body { fill: var(--pearl); stroke: var(--champagne); stroke-width: 1.2; }
.dome-glass { fill: #2E3238; stroke: var(--champagne); }
.dome-lens { fill: var(--cam-dome); }
.glint { fill: var(--gold-fill); opacity: 0; transform-origin: 156px -170px; }
.hero-caption { margin-top: 10px; text-align: right; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: .9375rem; }
.hero-points { list-style: none; margin: clamp(40px, 5vw, 56px) 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; color: var(--steel); font-size: .9875rem; }
.hero-points strong { color: var(--diamond); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .facets path { stroke-dashoffset: 1; animation: draw 1.4s cubic-bezier(.6, .1, .2, 1) forwards; animation-delay: calc(var(--i) * 28ms + 150ms); }
  .dome { animation: fadeIn .8s ease 1.2s both; }
  .diamond .ring-2 { animation: fadeIn 1s ease 1.6s both; }
  .glint { animation: glint 1.6s ease 2.1s both; }
}
@media (prefers-reduced-motion: reduce) { .glint { opacity: .8; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes glint { 0% { opacity: 0; transform: scale(.2) rotate(0); } 45% { opacity: 1; transform: scale(1.15) rotate(45deg); } 100% { opacity: .75; transform: scale(1) rotate(90deg); } }

/* Services */
.services-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.services-top h2 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -.012em; }
.services-top p { color: var(--steel); font-size: 1.125rem; max-width: 56ch; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 64px); border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.service h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.15; margin-bottom: 12px; }
.service p { color: var(--steel); max-width: 62ch; }
.service-glyph { width: 48px; height: 48px; fill: none; stroke: var(--champagne); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.service-glyph .fill { fill: var(--champagne); }
.service-glyph .cable { stroke: var(--cable); }
.kit { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.kit li { font-size: .8125rem; color: var(--body); background: var(--pearl); border: 1px solid var(--line); padding: 4px 10px; }
.service-feature { grid-column: 1 / -1; background: linear-gradient(90deg, rgba(190, 158, 98, .16), rgba(190, 158, 98, 0) 72%); border-left: 2px solid var(--champagne); padding: 32px 24px; }
.service-feature p { max-width: 74ch; }
.service-feature h3 { color: var(--champagne); }
.service-feature .kit li { border-color: rgba(122, 95, 48, .32); }
.service-quiet h3 { font-style: italic; font-size: 1.375rem; }

/* Plan demo */
.plan-section { background: var(--graphite); border-bottom: 1px solid var(--line-soft); }
.axo-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(36px, 5vw, 64px); }
.axo-intro .section-head { margin-bottom: 0; }
.axo-notes { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.axo-notes li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); color: #3A3F47; font-size: .9875rem; }
.axo-notes li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; border-top: 2px solid var(--cable); }
.axo-fig { margin: 0; }
.axo { width: 100%; height: auto; display: block; overflow: visible; }
.axo-fig figcaption { margin-top: 12px; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: .9375rem; text-align: right; }
.axo .face { stroke: rgba(20, 22, 26, .5); stroke-width: .8; stroke-linejoin: round; }
.axo .f-top { fill: #FFFFFF; }
.axo .f-l { fill: #E6E0D5; }
.axo .f-r { fill: #D8D0C2; }
.axo .f-low.f-top { fill: #FBF9F5; }
.axo .f-furn.f-top { fill: #F5F4F1; }
.axo .f-furn.f-l { fill: #E3E1DC; }
.axo .f-furn.f-r { fill: #D1CEC7; }
.axo .f-dark { stroke: var(--champagne); }
.axo .f-dark.f-top { fill: #EADCBE; }
.axo .f-dark.f-l { fill: #D6C29A; }
.axo .f-dark.f-r { fill: #C4AD80; }
.axo .floor { fill: #F2EDE3; stroke: rgba(20, 22, 26, .45); stroke-width: 1; }
.axo .tile { stroke: rgba(20, 22, 26, .07); stroke-width: .6; fill: none; }
.axo .run { fill: none; stroke: var(--cable); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; opacity: 1; }
.axo .stem { stroke: #6E727A; stroke-width: .8; }
.axo .sec-dot { fill: var(--diamond); stroke: var(--onyx); stroke-width: .8; }
.axo .net-dot { fill: var(--champagne); stroke: var(--onyx); stroke-width: .8; }
.axo .leader { stroke: var(--champagne); stroke-width: .8; fill: none; }
.axo .leader-dot { fill: var(--champagne); }
.axo .callout rect { fill: var(--pearl); stroke: rgba(122, 95, 48, .6); stroke-width: .8; }
.axo .callout text { font-family: var(--sans); font-weight: 500; fill: var(--diamond); }
/* gold stage behind the 3D overview (theme gold) so the light model and orange runs stand out */
.axo-fig { position: relative; padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px) 16px; color: var(--diamond);
  background:
    radial-gradient(ellipse 70% 62% at 52% 48%, rgba(122, 95, 48, .26) 0%, rgba(122, 95, 48, .08) 55%, rgba(122, 95, 48, 0) 78%),
    linear-gradient(rgba(60, 45, 20, .12) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(60, 45, 20, .12) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(160deg, #CDAF74 0%, #BE9E62 55%, #AD8D52 100%);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  box-shadow: inset 0 0 0 1px rgba(107, 85, 40, .5); }
.axo-fig .axo { filter: drop-shadow(0 22px 18px rgba(60, 45, 20, .38)); }
.axo-fig figcaption { color: #2B2414; margin-top: 22px; }
.axo-fig .axo .leader { stroke: var(--diamond); stroke-width: 1; }
.axo-fig .axo .leader-dot { fill: var(--diamond); }
.axo-fig .axo .callout rect { stroke: var(--champagne-deep); }
@media (max-width: 640px) { .axo .callout, .axo .leader, .axo .leader-dot { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .axo.is-drawing .run { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s cubic-bezier(.5, 0, .2, 1) var(--d, 0s) forwards; }
}
.plan-lead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-bottom: 18px; }
.plan-lead h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.plan-lead p { color: var(--steel); font-size: 1rem; max-width: 62ch; }
.plan-shell { background: var(--onyx); border: 1px solid var(--line); clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px); }
.plan-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.seg { display: inline-flex; border: 1px solid var(--line-control); }
.seg-btn { background: none; border: 0; color: var(--steel); font: 600 .9375rem var(--sans); padding: 10px 16px; cursor: pointer; text-align: left; line-height: 1.2; }
.seg-btn span { display: block; font-weight: 400; font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.seg-btn + .seg-btn { border-left: 1px solid var(--line-control); }
.seg-btn[aria-checked="true"] { background: var(--gold-fill); color: #15120C; }
.seg-btn[aria-checked="true"] span { color: #2E2618; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line-control); color: var(--muted); font: 500 .875rem var(--sans); padding: 9px 12px; cursor: pointer; min-height: 40px; }
.toggle[aria-pressed="true"] { color: var(--diamond); border-color: var(--line-strong); }
.tg-swatch { width: 18px; height: 10px; display: inline-block; opacity: .5; }
.toggle[aria-pressed="true"] .tg-swatch { opacity: 1; }
.tg-runs { border-top: 2px solid var(--cable); height: 2px; }
.tg-cov { background: rgba(30, 111, 176, .4); clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.tg-rooms { border: 1px solid var(--steel); }

.plan-body { display: grid; grid-template-columns: minmax(0, 1fr); }
.plan-scroller { overflow: hidden; }
.plan-canvas { position: relative; padding: clamp(8px, 2vw, 28px); min-width: 0; }
#plan-svg { width: 100%; height: auto; max-height: min(74vh, 780px); user-select: none; -webkit-user-select: none; touch-action: pan-x pan-y; }
.plan-foot { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-tb { display: grid; grid-template-columns: repeat(4, auto); margin: 0; flex: 1 1 auto; }
.plan-tb > div { padding: 8px 18px; border-right: 1px solid var(--line); min-width: 0; }
.plan-tb dt { font-size: .75rem; color: var(--muted); }
.plan-tb dd { margin: 0; font-size: .875rem; color: var(--body); }
.plan-tb .tb-opt dd { color: var(--champagne); font-family: var(--serif); font-style: italic; font-size: 1rem; }
.plan-zoom { display: none; align-items: center; gap: 8px; background: none; border: 0; border-left: 1px solid var(--line); color: var(--champagne); font: 500 .875rem var(--sans); padding: 10px 16px; cursor: pointer; }
.plan-zoom svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.plan-noscript { padding: 20px; color: var(--steel); }
.plan-side { padding: 24px 28px 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr) minmax(0, 1fr); gap: 20px 36px; align-items: start; }
.plan-intro { display: flex; flex-direction: column; gap: 18px; }
.plan-summary h3 { font-size: 1.375rem; margin-bottom: 12px; }
.counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.counts > div { padding: 10px 10px 0 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.counts > div + div { padding-left: 12px; border-left: 1px solid var(--line-soft); }
.counts dd { margin: 0; font: 600 2.75rem/1 var(--serif); color: var(--diamond); font-variant-numeric: lining-nums; }
.counts dd.is-zero { color: var(--line-strong); }
.counts dt { margin-top: 6px; font-size: .8125rem; line-height: 1.35; color: var(--steel); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8125rem; color: var(--steel); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 10px; height: 10px; display: inline-block; border-radius: 50%; }
.lg-turret { background: var(--cam-turret); }
.lg-pinpoint { background: var(--cam-pinpoint); border-radius: 2px; }
.lg-dome { background: var(--cam-dome); }
.lg-fisheye { background: var(--cam-fisheye); }
.lg-sec { background: var(--diamond); transform: rotate(45deg); border-radius: 0; width: 8px; height: 8px; }
.lg-net { background: var(--champagne); border-radius: 0; }
.lg-run { width: 16px; height: 2px; background: var(--cable); border-radius: 0; }

.dl-details > summary { display: none; }
.device-list { display: flex; flex-direction: column; gap: 14px; }
.dl-group h4 { margin: 0 0 6px; font: 600 .8125rem var(--sans); color: var(--steel); }
.dl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--pearl); border: 1px solid var(--line-control); color: var(--body); font: 500 .8125rem var(--sans); padding: 6px 9px; cursor: pointer; min-height: 34px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"] { border-color: var(--champagne); color: var(--diamond); background: var(--gold-tint); }
.chip.is-later { color: var(--muted); border-style: dashed; border-color: var(--line-control); }
.device-detail { border-left: 1px solid var(--line); padding-left: 24px; font-size: .9375rem; color: var(--steel); min-height: 120px; }
.device-detail h4 { margin: 0 0 4px; font: 500 1.25rem var(--serif); color: var(--diamond); }
.dd-type { font-size: .8125rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.dd-type i { width: 8px; height: 8px; border-radius: 50%; }
.dd-spec { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 14px; margin: 12px 0 0; font-size: .875rem; }
.dd-spec dt { color: var(--muted); padding: 5px 0; border-top: 1px solid var(--line-soft); }
.dd-spec dd { margin: 0; color: var(--body); padding: 5px 0; border-top: 1px solid var(--line-soft); }
.dd-later { margin-top: 10px; color: var(--champagne); font-size: .875rem; }

/* plan svg parts */
#plan-svg .room { fill: #FFFFFF; stroke: none; }
#plan-svg .room-vault { fill: #F6EFE1; }
#plan-svg .walls { fill: none; stroke: #5A5F67; stroke-width: 3; }
#plan-svg .walls-outer { stroke: #1E2126; stroke-width: 6; }
#plan-svg .door-gap { stroke: #FFFFFF; stroke-width: 8; }
#plan-svg .door-gap-out { stroke: var(--onyx); stroke-width: 10; }
#plan-svg .door-leaf { stroke: #2B2F35; stroke-width: 2; fill: none; }
#plan-svg .door-swing { stroke: #A39B8E; stroke-width: 1; fill: none; stroke-dasharray: 3 3; }
#plan-svg .door-steel .door-leaf { stroke: var(--champagne); stroke-width: 4; }
#plan-svg .door-glass .door-leaf { stroke: #3E8FC4; stroke-width: 2; }
#plan-svg .furn { fill: #F3EFE8; stroke: #A79F92; stroke-width: 1.2; }
#plan-svg .furn-case { fill: #F2F2EF; stroke: #8C8A84; }
#plan-svg .furn-safe { fill: #EADFC8; stroke: var(--champagne-deep); stroke-width: 1.5; }
#plan-svg .furn-label { fill: #676B72; font: 500 11px var(--sans); }
#plan-svg .room-label { fill: #4A4F57; font: italic 500 17px var(--serif); }
#plan-svg .street-label { fill: #676B72; font: 500 12px var(--sans); letter-spacing: .04em; }
#plan-svg .north { fill: none; stroke: #676B72; }
#plan-svg .north text { fill: #676B72; stroke: none; font: 600 11px var(--sans); }
#plan-svg .cov { opacity: .08; mix-blend-mode: multiply; transition: opacity .3s; }
#plan-svg .cov.is-hot { opacity: .22; }
#plan-svg .run { fill: none; stroke: var(--cable); stroke-width: 1.6; stroke-linejoin: round; opacity: 1; transition: opacity .25s; }
#plan-svg .run.is-later { stroke-dasharray: 5 4; opacity: .85; }
#plan-svg .run.is-hot { stroke-width: 3; opacity: 1; }
#plan-svg.has-hot .run:not(.is-hot) { opacity: .35; }
#plan-svg .dev { cursor: pointer; }
#plan-svg .dev .hit { fill: transparent; stroke: none; }
#plan-svg .dev .ring { fill: none; stroke: var(--champagne); stroke-width: 2; opacity: 0; }
#plan-svg .dev.is-hot .ring { opacity: 1; }
#plan-svg .dev.is-later .glyph { opacity: .6; }
#plan-svg .dev.is-later .glyph * { stroke-dasharray: 3 2; }
#plan-svg .layer-off { display: none; }
#plan-svg .trunk-label { fill: var(--cable-text); font: 600 11.5px var(--sans); paint-order: stroke; stroke: #FFFFFF; stroke-width: 4px; stroke-linejoin: round; }
#plan-svg .run-draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: runDraw 1s ease forwards; }
@keyframes runDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { #plan-svg .run-draw { animation: none; stroke-dashoffset: 0; stroke-dasharray: none; } #plan-svg .cov, #plan-svg .run { transition: none; } }

.plan-tip { position: absolute; z-index: 5; width: 240px; max-width: calc(100% - 16px); background: rgba(255, 255, 255, .98); border: 1px solid var(--line); border-top: 2px solid var(--champagne); padding: 12px 14px; font-size: .875rem; line-height: 1.45; color: #3A3F47; pointer-events: none; box-shadow: 0 16px 36px -14px rgba(var(--shadow-warm), .32), 0 2px 6px rgba(var(--shadow-warm), .08); }
.plan-tip strong { display: block; color: var(--diamond); font: 500 1.0625rem var(--serif); margin-bottom: 2px; }
.plan-tip .tip-type { display: block; font-size: .75rem; margin-bottom: 6px; }
.plan-tip .tip-later { display: block; margin-top: 6px; color: var(--champagne); }

@media (max-width: 1040px) {
  .plan-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dl-details { grid-column: 1 / -1; grid-row: 2; }
  .device-detail { border-left: 0; padding-left: 0; }
}
@media (max-width: 760px) {
  .plan-zoom { display: inline-flex; }
  .plan-tb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-tb > div:nth-child(1), .plan-tb > div:nth-child(4) { display: none; }
  .plan-tb > div { padding: 8px 12px; }
  .dl-details { border: 1px solid var(--line); }
  .dl-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; cursor: pointer; list-style: none; font: 500 .9375rem var(--sans); color: var(--diamond); min-height: 44px; }
  .dl-details > summary::-webkit-details-marker { display: none; }
  .dl-details > summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--champagne); border-bottom: 1.5px solid var(--champagne); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
  .dl-details[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
  .dl-details[open] > summary { border-bottom: 1px solid var(--line); }
  .dl-details .device-list { padding: 14px; }
  .axo-intro { grid-template-columns: minmax(0, 1fr); }
  .axo-fig figcaption { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .dl-details > summary::after { transition: none; } }
@media (max-width: 700px) {
  .plan-canvas { padding: 6px; }
  .plan-toolbar { padding: 14px; }
  .seg { width: 100%; }
  .seg-btn { flex: 1; padding: 10px 12px; }
  .plan-side { padding: 16px; grid-template-columns: minmax(0, 1fr); }
  .dl-details { grid-row: auto; }
  .device-detail { order: -1; border-bottom: 1px solid var(--line); padding-bottom: 16px; min-height: 0; }
  .plan-tip { width: 210px; font-size: .8125rem; padding: 10px 12px; }
  .plan-shell { clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
}

/* Drawings */
/* Drawings: the deeper parchment band, like sheets laid on a drafting table */
.drawings { background: var(--vellum); color: var(--ink); }
.drawings .section-head p { color: var(--ink-2); }
.drawings :focus-visible { outline-color: var(--champagne-deep); }
.sheets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 3vw, 44px); }
.sheet { margin: 0; }
.sheet-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; color: inherit; }
.sheet-open svg, .sd-body svg { background: var(--sheet); width: 100%; height: auto; }
.sheet-open svg { box-shadow: 0 18px 40px -22px rgba(var(--shadow-warm), .45), 0 2px 6px rgba(var(--shadow-warm), .10); transition: box-shadow .2s, transform .2s; }
.sheet-open:hover svg { box-shadow: 0 24px 48px -22px rgba(var(--shadow-warm), .5), 0 2px 6px rgba(var(--shadow-warm), .12); }
.sheet-open:focus-visible { outline: 2px solid var(--champagne-deep); outline-offset: 4px; }
.sheet-zoom { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--gold-fill); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.sheet-zoom svg { width: 18px !important; height: 18px !important; background: none !important; box-shadow: none !important; fill: none; stroke: #15120C; stroke-width: 1.6; stroke-linecap: round; }
.sheet figcaption { margin-top: 16px; color: var(--ink-2); font-size: .9375rem; max-width: 58ch; }
.sheet figcaption strong { color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.125rem; }
.sheets-note { align-self: center; padding: clamp(8px, 2vw, 24px) clamp(0px, 2vw, 32px); }
.sheets-note svg { width: 52px; height: 52px; fill: none; stroke: var(--champagne-deep); stroke-width: 1.2; stroke-linejoin: round; margin-bottom: 18px; }
.sheets-note h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.1; margin-bottom: 4px; }
.sheets-role { font-family: var(--serif); font-style: italic; color: var(--champagne-deep); margin-bottom: 14px !important; }
.sheets-note p { color: var(--ink-2); max-width: 46ch; }
.sheets-hint { margin-top: 16px !important; font-size: .875rem; color: var(--ink) !important; font-weight: 500; }
.sh-border { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.sh-draw { fill: none; stroke: var(--ink); }
.sh-wall { fill: rgba(27, 32, 39, .06); stroke: var(--ink); stroke-width: 1.2; }
.sh-part { fill: rgba(179, 154, 104, .16); }
.sh-floor { fill: rgba(27, 32, 39, .04); stroke: var(--ink); stroke-width: 1.4; }
.sh-solid { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.sh-fill { fill: #D3D8DE; }
.sh-wallplan { stroke-width: 3; }
.sh-thin { fill: none; stroke: #5B6470; stroke-width: .8; }
.sh-dash { stroke-dasharray: 3 3; }
.sh-cable { fill: none; stroke: var(--cable); stroke-width: 1.6; }
.sh-cam circle { fill: var(--paper); stroke: #1E5E96; stroke-width: 1.6; }
.sh-rack { fill: #B39A68; stroke: var(--ink); stroke-width: 1; }
.sh-hatch { stroke: #5B6470; stroke-width: 1; }
.sh-note path { stroke: #5B6470; stroke-width: .8; fill: none; }
.sh-note text, .sh-dim text, .sh-sched text, .sh-small, .sh-lbl { fill: var(--ink); stroke: none; font: 500 9.5px var(--sans); }
.sh-small { font-size: 8.5px; fill: #4A525D; }
.sh-dim path { stroke: #5B6470; stroke-width: .8; }
.sh-sched rect, .sh-sched path { stroke: var(--ink); stroke-width: .8; fill: none; }
.sh-title rect { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.sh-title path { stroke: var(--ink); stroke-width: .8; fill: none; }
.sh-title text { fill: var(--ink); font: 500 9.5px var(--sans); }
.sh-title .tb-big { font: 600 14px var(--sans); letter-spacing: .02em; }

/* Proposals */
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.option { background: var(--graphite); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
.option { display: flex; flex-direction: column; }
.option-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.option-head .option-letter { font: italic 500 3.5rem/0.9 var(--serif); color: var(--champagne); }
.option-b .option-head .option-letter { color: var(--diamond); }
.option-head h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.15; margin-bottom: 6px; }
.option-head p { color: var(--steel); font-size: .9375rem; }
.option-head .option-flag { display: none; margin-top: 10px; color: var(--champagne); font-size: .8125rem; font-weight: 500; align-items: center; gap: 8px; }
.option-flag::before { content: ""; width: 7px; height: 7px; background: var(--champagne); transform: rotate(45deg); }
.option.is-current .option-flag { display: inline-flex; }
.option-show { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 18px 0 0; color: var(--champagne); font: 500 .9375rem var(--sans); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
.option-show:hover { color: var(--diamond); }
.option.is-current .option-show { color: var(--muted); }
.lines { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.lines th { text-align: left; font: 500 .8125rem var(--sans); color: var(--muted); padding: 12px 8px 8px 0; border-bottom: 1px solid var(--line); }
.lines td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--body); }
.lines { margin-bottom: 4px; }
.lines td:nth-child(2), .lines th:nth-child(2) { width: 3.4em; color: var(--steel); }
.lines td:nth-child(3), .lines th:nth-child(3) { width: 6.6em; text-align: right; }
.lines td:last-child, .lines th:last-child { width: 4.6em; padding-right: 0; padding-left: 10px; text-align: right; }
.lines td.price { padding: 0 0 0 10px; }
.lines td.price::after { content: ""; display: block; height: 20px; margin-top: 7px; background: var(--hatch); border: 1px solid #D6C9AE; }
.lines td.price-later::after { opacity: .35; }
.tag { display: inline-block; font-size: .75rem; padding: 2px 8px; border: 1px solid; white-space: nowrap; }
.tag-eq { color: #2C4F73; border-color: #B6C8DA; background: #F3F7FA; }
.tag-lab { color: #8A4417; border-color: #E5C6A6; background: #FCF5EE; }
.tag-mat { color: #2D5B48; border-color: #B3CFC1; background: #F2F8F5; }
.tag-later { color: var(--champagne); border-color: rgba(122, 95, 48, .5); border-style: dashed; }
.lines tr.later td { color: var(--muted); font-style: italic; }
.options-foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(24px, 4vw, 64px); margin-top: 28px; align-items: start; }
.price-note { display: flex; gap: 12px; align-items: center; color: var(--body); font-size: .9375rem; }
.hatch-swatch { flex: none; width: 44px; height: 18px; background: var(--hatch); border: 1px solid #CDBF9F; }
.options-note { color: var(--steel); max-width: 72ch; font-size: .9375rem; }

/* Process */
.process { background: var(--umber); border-top: 1px solid var(--umber-line); border-bottom: 1px solid var(--umber-line); }
.process .step-n { --fill: var(--umber); }
.process .step::before { border-color: var(--umber-line); }
.handover { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--umber-line); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 80px); }
.handover-head h3 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); line-height: 1.1; margin-bottom: 12px; }
.handover-head p { color: var(--steel); max-width: 40ch; }
.handover-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.handover-list li { position: relative; padding: 14px 0 14px 36px; border-top: 1px solid var(--umber-line); color: var(--steel); font-size: .9375rem; }
.handover-list strong { display: block; color: var(--diamond); font-family: var(--serif); font-weight: 500; font-size: 1.1875rem; margin-bottom: 2px; }
.handover-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 20px; height: 20px; border: 1px solid var(--champagne); clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); }
.handover-list li::after { content: ""; position: absolute; left: 6px; top: 22px; width: 8px; height: 5px; border-left: 1.5px solid var(--champagne); border-bottom: 1.5px solid var(--champagne); transform: rotate(-45deg); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.step { position: relative; padding: 0 24px 0 0; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; border-top: 1px solid var(--line); }
.step:last-child::before { right: auto; width: 56px; }
.step-n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; background: var(--graphite); border: 1px solid var(--champagne); color: var(--champagne); font: 500 1.25rem var(--sans); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); margin-bottom: 24px; }
.step h3 { font-size: 1.375rem; line-height: 1.2; margin-bottom: 10px; }
.step p { color: var(--steel); font-size: .9375rem; }

/* Digital */
.digital-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.digital-copy > p { color: var(--steel); font-size: 1.125rem; max-width: 60ch; }
.upgrades { margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.upgrades > div { padding: 16px 0; border-top: 1px solid var(--line); }
.upgrades dt { font-family: var(--serif); font-size: 1.1875rem; margin-bottom: 4px; }
.upgrades dd { margin: 0; color: var(--steel); font-size: .9375rem; }
.digital-art, .casting-art { margin: 0; }
.casting-art svg { max-width: 360px; margin: 0 auto; }
.digital-art figcaption, .casting-art figcaption { margin-top: 12px; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: .9375rem; }
.da-row { display: flex; align-items: center; gap: clamp(10px, 2vw, 20px); }
.da-ledger { width: 34%; max-width: 170px; flex: none; transform: rotate(-3deg); }
.da-arrow { width: 36px; flex: none; fill: none; stroke: var(--champagne); stroke-width: 1.5; }
.ledger rect { fill: #F2E9D5; stroke: #A8987A; }
.ledger-rule { stroke: #D3C5A6; stroke-width: 1; fill: none; }
.hand { stroke: #34466A; stroke-width: 1.4; fill: none; stroke-linecap: round; }
.ledger-title { fill: #34466A; font: italic 600 18px var(--serif); }
.phone { flex: 1 1 auto; max-width: 270px; min-width: 0; background: #1D1F23; border: 1px solid #3A3D42; border-radius: 26px; padding: 10px; box-shadow: 0 34px 60px -30px rgba(var(--shadow-warm), .55), 0 3px 10px rgba(var(--shadow-warm), .12); }
.phone-screen { background: #FFFFFF; border-radius: 18px; padding: 14px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.phone-bar { display: flex; align-items: center; justify-content: space-between; }
.phone-bar span:first-child { font: 500 1.0625rem var(--serif); color: var(--diamond); }
.phone-pill { font-size: .6875rem; color: var(--champagne); border: 1px solid rgba(122, 95, 48, .45); padding: 1px 7px; }
.phone-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.phone-list li { background: #F6F3ED; border-left: 2px solid #B5AC9C; padding: 7px 9px; display: flex; flex-direction: column; gap: 2px; }
.phone-list li.is-due { border-left-color: var(--champagne); }
.phone-list li.is-back { border-left-color: var(--cam-dome); }
.phone-list b { font-weight: 600; font-size: .75rem; color: var(--diamond); line-height: 1.3; }
.phone-list span { font-size: .6875rem; color: #5A5F67; line-height: 1.35; }
.phone-list li.is-due span { color: var(--champagne); }
.phone-cam { position: relative; }
.phone-cam svg { width: 100%; height: auto; }
.phone-cam span { position: absolute; left: 22px; top: 5px; font-size: .625rem; color: var(--diamond); background: rgba(236, 231, 222, .92); padding: 0 4px; }

/* Casting */
.casting { background: var(--graphite); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.casting-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.casting-copy > p { color: var(--steel); font-size: 1.125rem; max-width: 60ch; }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.path { border-top: 2px solid var(--champagne); padding-top: 18px; }
.path + .path { border-top-color: var(--diamond); }
.path h3 { font-size: 1.375rem; margin-bottom: 8px; }
.path p { color: var(--steel); font-size: .9375rem; }
.casting-art svg { overflow: visible; }
.tree { fill: none; stroke: var(--diamond); stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.tree * { vector-effect: non-scaling-stroke; }
#cast-ring .band { fill: none; stroke: rgba(20, 22, 26, .78); stroke-width: 1; }
#cast-ring .band-in { stroke: rgba(20, 22, 26, .42); }
#cast-ring .stone { fill: var(--onyx); stroke: var(--champagne); stroke-width: 1; }
#cast-ring .stone-f { fill: none; stroke: var(--champagne); stroke-width: .7; opacity: .8; }
.tree .sprue { stroke: rgba(20, 22, 26, .78); }
.tree .branch { stroke: rgba(20, 22, 26, .62); }
.tree .base { stroke: var(--champagne); fill: none; }
.tree .layers { stroke: #C4BAA8; stroke-dasharray: 2 4; }

/* About */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.member { padding: 28px 0 0; border-top: 1px solid var(--line); }
.member svg { width: 52px; height: 52px; fill: none; stroke: var(--diamond); stroke-width: 1.2; stroke-linejoin: round; margin-bottom: 20px; }
.member svg .accent { stroke: var(--cable); }
.member h3 { font-size: 1.5rem; margin-bottom: 10px; }
.member p { color: var(--steel); font-size: .9875rem; }
.member-partner { border-top-color: var(--champagne); }
.member-partner svg { stroke: var(--champagne); }
.member-role { color: var(--champagne) !important; font-family: var(--serif); font-style: italic; margin: -4px 0 10px; }

/* Contact */
.contact { background: var(--graphite); border-top: 1px solid var(--line-soft); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-copy > p { color: var(--steel); font-size: 1.125rem; max-width: 48ch; }
.contact-lines { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-lines li { display: grid; grid-template-columns: 70px minmax(0, 1fr); padding: 12px 0; border-top: 1px solid var(--line); font-size: 1.0625rem; }
.contact-lines span { color: var(--muted); font-size: .875rem; padding-top: 2px; }
.contact-lines a { color: var(--diamond); text-decoration-color: rgba(122, 95, 48, .6); text-underline-offset: 4px; }
.contact-small { margin-top: 18px; color: var(--muted) !important; font-size: .875rem !important; }
.contact-form { background: var(--onyx); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .checks legend { font-size: .875rem; color: #3A3F47; font-weight: 500; }
.field input, .field textarea { width: 100%; background: var(--onyx); border: 1px solid var(--line-strong); color: var(--diamond); font: 400 1rem var(--sans); padding: 12px 12px; border-radius: 0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--champagne); box-shadow: 0 0 0 1px var(--champagne); }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; flex-direction: row; }
.checks legend { margin-bottom: 8px; padding: 0; }
.checks label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-control); padding: 8px 12px; cursor: pointer; font-size: .9375rem; color: var(--body); font-weight: 400; }
.checks input { accent-color: var(--champagne); width: 16px; height: 16px; margin: 0; }
.checks label:has(input:checked) { border-color: var(--champagne); background: var(--gold-tint); }
.checks label:has(input:focus-visible) { outline: 2px solid var(--champagne); outline-offset: 2px; }
.contact-form .btn { align-self: flex-start; }
.form-status { font-size: .9375rem; min-height: 1.5em; }
.form-status.is-demo { color: var(--diamond); background: var(--gold-tint); border-left: 2px solid var(--champagne); padding: 12px 14px; }
.form-status.is-error { color: #B3261E; }

/* Footer */
.site-footer { background: var(--onyx); border-top: 1px solid var(--line); padding: 48px 0 56px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) auto; gap: 32px; align-items: start; }
.footer-mark { font: 600 1.25rem var(--serif); }
.footer-legal { color: var(--muted); font-size: .875rem; max-width: 72ch; }
.footer-top { color: var(--champagne); font-size: .875rem; }

/* Responsive */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 420px; justify-self: center; width: 100%; }
  .diamond { margin: 0 auto; }
  .hero-caption { text-align: center; }
  .services-top { grid-template-columns: minmax(0, 1fr); }
  .handover { grid-template-columns: minmax(0, 1fr); }
  .options-foot { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding: 0 0 32px; }
  .step::before { left: 27px; right: auto; top: 56px; bottom: 0; border-top: 0; border-left: 1px solid var(--line); width: 0; }
  .step:last-child::before { display: none; }
  .step-n { grid-row: 1 / span 2; margin: 0; }
  .step h3 { padding-top: 12px; }
  .digital-grid, .casting-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .digital-art { max-width: 460px; }
  .casting-art { max-width: 320px; order: 2; }
  .team { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 860px) {
  .options { grid-template-columns: minmax(0, 1fr); }
  .service-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .sheets { grid-template-columns: minmax(0, 1fr); }
  .sheets-note { padding: 0; }
  .handover-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hero-points { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .service { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 28px 0; }
  .service-glyph { width: 40px; height: 40px; }
  .service-feature { padding: 26px 16px; grid-template-columns: minmax(0, 1fr); }
  .counts dd { font-size: 2.375rem; }
  .upgrades, .paths, .field-row { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; }
  .lines { font-size: .875rem; }
  .lines td:nth-child(3), .lines th:nth-child(3) { width: 6.2em; }
  .lines td:last-child, .lines th:last-child { width: 2.8em; padding-left: 8px; }
  .lines td.price { padding-left: 8px; }
  .lines .tag { padding: 2px 6px; }
  .option-head .option-letter { font-size: 2.75rem; }
  .da-ledger { width: 38%; }
  .da-arrow { width: 24px; }
  .wm-rest { display: none; }
  .demo-banner { font-size: .75rem; }
}

/* Chamfered frames: outline drawn by layering, so the cut corners keep their edge */
.plan-shell, .option, .contact-form, .btn-line, .site-nav .nav-cta, .step-n {
  position: relative; isolation: isolate; border: 0; box-shadow: none;
  background: var(--frame);
  clip-path: polygon(var(--fc) 0, 100% 0, 100% calc(100% - var(--fc)), calc(100% - var(--fc)) 100%, 0 100%, 0 var(--fc));
}
.plan-shell::before, .option::before, .contact-form::before, .btn-line::before, .site-nav .nav-cta::before, .step-n::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--fill);
  clip-path: polygon(var(--fc) 0, 100% 0, 100% calc(100% - var(--fc)), calc(100% - var(--fc)) 100%, 0 100%, 0 var(--fc));
}
.plan-shell { --fc: 20px; --frame: var(--line); --fill: var(--onyx); }
.option { --fc: 18px; --frame: var(--line); --fill: var(--pearl); }
.option.is-current { --frame: var(--champagne); }
.option-b.is-current .option-letter { color: var(--champagne); }
.contact-form { --fc: 18px; --frame: var(--line); --fill: var(--pearl); }
.btn-line { --fc: var(--chamfer); --frame: var(--line-strong); --fill: var(--onyx); }
.btn-line:hover { --frame: var(--diamond); box-shadow: none; }
.site-nav .nav-cta { --fc: 8px; --frame: rgba(122, 95, 48, .6); --fill: var(--onyx); }
.site-nav .nav-cta:hover { --fill: var(--gold-tint); background: var(--frame); }
.step-n { --fc: 10px; --frame: var(--champagne); --fill: var(--graphite); }
@media (max-width: 1040px) { .site-nav .nav-cta { --fill: var(--onyx); } }
@media (max-width: 700px) { .plan-shell { --fc: 14px; } }

/* Dialogs: full-size sheet and full-screen plan */
dialog { color: inherit; }
dialog::backdrop { background: rgba(20, 22, 26, .52); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.sheet-dialog { width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; background: var(--vellum); color: var(--ink); overflow: hidden; box-shadow: 0 40px 90px -30px rgba(20, 22, 26, .5); }
.sheet-dialog[open] { display: flex; flex-direction: column; }
.sd-head, .pd-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.sd-head { border-bottom: 1px solid var(--vellum-2); }
.sd-head p, .pd-head p { font: 500 1.125rem var(--serif); }
.sd-close, .pd-close { background: var(--gold-fill); color: #15120C; border: 0; font: 500 .9375rem var(--sans); padding: 10px 16px; min-height: 44px; cursor: pointer; }
.pd-close { background: var(--gold-fill); color: #15120C; }
.sd-body { overflow: auto; padding: 16px; flex: 1 1 auto; }
.sd-body svg { display: block; max-height: calc(100vh - 130px); width: auto; max-width: 100%; margin: 0 auto; box-shadow: 0 2px 8px rgba(var(--shadow-warm), .14); }
.plan-dialog { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--onyx); color: var(--diamond); }
.plan-dialog[open] { display: flex; flex-direction: column; }
.pd-head { border-bottom: 1px solid var(--line); }
.pd-head span { color: var(--champagne); font-style: italic; }
.pd-scroller { flex: 1 1 auto; overflow: auto; -webkit-overflow-scrolling: touch; display: flex; align-items: center; }
.pd-scroller .plan-canvas { min-width: 920px; padding: 16px; }
.pd-scroller #plan-svg { max-height: none; }
.pd-hint { padding: 10px 16px 16px; font-size: .8125rem; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 700px) {
  .sd-body svg { width: 760px; max-width: none; max-height: none; }
}

/* Legal pages (privacy, terms) */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.legal-body { max-width: 72ch; }
.legal-body h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -.01em; }
.legal-date { margin: 12px 0 36px; color: var(--muted); font-size: .9375rem; }
.legal-body h2 { font-size: 1.5rem; line-height: 1.2; margin: 2.2em 0 .6em; }
.legal-body p, .legal-body li { color: var(--body); font-size: 1.0625rem; line-height: 1.65; }
.legal-body p { margin: 0 0 1em; }
.legal-body ul { margin: 0 0 1em; padding-left: 1.2em; }
.legal-body li { margin-bottom: .6em; }
.legal-body a { color: var(--champagne); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-body strong { color: var(--diamond); font-weight: 600; }
.legal-back { color: var(--champagne); text-decoration: none; font-size: .9375rem; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.footer-side { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: flex-end; }
.footer-side a { color: var(--champagne); font-size: .875rem; }
@media (max-width: 760px) { .footer-side { justify-content: flex-start; } }
