:root {
  color-scheme: light;
  --paper: #f6f3ed;
  --white: #fffdfa;
  --ink: #252823;
  --muted: #6b6f65;
  --green: #4e604c;
  --green-dark: #3e503c;
  --green-soft: #e8ede3;
  --line: #dddcd3;
  --amber: #956321;
  --amber-soft: #f5eddc;
  --red: #a34d40;
  --red-soft: #f7e9e5;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
/* Suppress the injected public Netlify badge without changing site-wide settings. */
iframe#nl-badge-frame { display: none !important; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.shell { min-height: 100vh; }
.container { width: min(1280px, calc(100% - 64px)); margin: auto; }
.topbar { height: 82px; border-bottom: 1px solid var(--line); background: rgba(246,243,237,.94); display: flex; align-items: center; position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); }
.topbar-inner { width: min(1440px, calc(100% - 96px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 48px; height: 48px; object-fit: contain; }
.brand-copy { display: flex; align-items: center; }
.brand-copy span { font-size: 16px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; color: var(--green); white-space: nowrap; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 28px; }
.nav-links { color: var(--muted); font-size: 13px; }
.nav-links a { padding: 8px 0; transition: color .18s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-actions { gap: 10px; }
.btn { border: 1px solid transparent; border-radius: 7px; min-height: 48px; padding: 0 20px; display: inline-flex; justify-content: center; align-items: center; gap: 14px; cursor: pointer; font-size: 13px; font-weight: 650; transition: background .18s ease, transform .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: white; background: var(--green); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: transparent; border-color: var(--line); }
.btn-secondary:hover { border-color: var(--green); }
.btn-small { min-height: 40px; padding: 0 16px; }
.btn-login { min-height: 42px; padding: 0 17px; background: var(--white); border-color: var(--line); }
.icon { display: inline-grid; place-items: center; width: 18px; height: 18px; line-height: 1; font-size: 16px; }
.eyebrow { text-transform: uppercase; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.hero { padding: 46px 0 30px; }
.hero-grid { display: grid; grid-template-columns: minmax(380px, .88fr) minmax(0, 1.12fr); gap: 38px; align-items: center; }
.hero-copy { padding: 16px 0 22px; }
.hero h1 { font-size: clamp(50px, 6.2vw, 78px); line-height: 1.04; font-weight: 500; letter-spacing: -.065em; margin: 26px 0 24px; }
.hero-description { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 500px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-label { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 10px; letter-spacing: .11em; color: var(--green); font-weight: 650; }
.hero-label:before { content: ""; width: 27px; height: 1px; background: var(--green); }
.hero-photo { min-height: 490px; background: #d9d8cf; position: relative; overflow: hidden; border-radius: 18px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-pill { position: absolute; left: 20px; top: 20px; border-radius: 100px; background: var(--white); padding: 9px 13px; font-size: 10px; }
.hero-caption { border-bottom: 1px solid var(--line); padding: 13px 0; display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.section { padding: 72px 0; }
.section-white { background: var(--white); }
.split-heading { display: grid; grid-template-columns: minmax(260px,.85fr) 1.15fr; gap: 52px; align-items: start; }
.section h2 { font-weight: 500; letter-spacing: -.055em; font-size: clamp(36px, 4vw, 52px); line-height: 1.12; margin: 15px 0; }
.section-intro { max-width: 520px; margin-top: 38px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.space-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.space-card { background: var(--paper); border-radius: 13px; padding: 26px; min-height: 245px; }
.space-icon { width: 35px; height: 35px; display: grid; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 9px; margin-bottom: 22px; }
.space-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 500; }
.space-card p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0 0 18px; }
.space-card small { color: var(--green); font-size: 10px; }
.services-head { display: grid; grid-template-columns: 1fr minmax(270px, 440px); gap: 42px; align-items: center; margin-bottom: 38px; }
.services-photo { height: 190px; border-radius: 14px; object-fit: cover; width: 100%; background: #d9d8cf; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 46px; }
.service-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.service-item h3 { margin: 3px 0 8px; font-size: 16px; font-weight: 550; }
.service-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.service-glyph { width: 42px; height: 42px; display: grid; place-items: center; background: var(--green-soft); border-radius: 8px; color: var(--green); font-size: 18px; }
.service-glyph img { display: block; width: 23px; height: 23px; object-fit: contain; }
.audience-service-group { border-top: 1px solid var(--line); padding: 22px 0 26px; }
.audience-service-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.audience-service-heading h2 { margin: 6px 0 2px; font-size: 28px; line-height: 1.15; letter-spacing: -.03em; font-weight: 500; }
.audience-service-heading p { max-width: 420px; margin: 0 0 4px; color: var(--muted); font-size: 13px; text-align: right; }
.service-subservices { display: block; margin-top: 8px; color: var(--green); font-size: 10px; line-height: 1.5; }
.services-contact { margin: 20px 0 0; }
.services-contact p { margin: 5px 0 16px; }
.approach-band { background: var(--green); color: white; padding: 68px 0; }
.approach-band .eyebrow { color: #dce5d7; }
.approach-band h2 { font-size: clamp(36px, 5vw, 58px); line-height: 1.08; font-weight: 450; letter-spacing: -.06em; margin: 16px 0; max-width: 720px; }
.approach-band p { max-width: 620px; color: rgba(255,255,255,.75); line-height: 1.7; font-size: 14px; }
.approach-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 38px; }
.approach-step { border-top: 1px solid rgba(255,255,255,.25); padding-top: 16px; }
.approach-step strong { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.approach-step p { margin-bottom: 0; font-size: 12px; }
.footer { border-top: 1px solid var(--line); padding: 30px 0 44px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
.footer .portal-unavailable { opacity: .65; cursor: not-allowed; }

/* Portal */
.portal-shell { min-height: 100vh; background: #f7f7f4; }
.portal-topbar { height: 70px; border-bottom: 1px solid var(--line); background: var(--white); display: flex; align-items: center; position: sticky; top: 0; z-index: 30; }
.portal-topbar-inner { width: min(1280px, calc(100% - 40px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.portal-brand .brand-mark { width: 48px; height: 48px; }
.portal-brand .brand-copy span { font-size: 16px; }
.portal-user { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.portal-logout { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 13px; border-radius: 7px; background: var(--green-soft); color: var(--green-dark); font-size: 11px; font-weight: 600; }
.portal-logout:hover { background: var(--green); color: white; }
.avatar { display: grid; place-items: center; width: 31px; height: 31px; background: var(--green-soft); color: var(--green); border-radius: 50%; font-size: 10px; font-weight: 700; }
.portal-main { width: min(1000px, calc(100% - 40px)); margin: auto; padding: 38px 0 84px; }
.portal-main.wide { width: min(1160px, calc(100% - 40px)); }
.portal-intro { margin-bottom: 24px; }
.portal-intro h1 { margin: 8px 0; font-size: clamp(30px, 5vw, 42px); font-weight: 500; line-height: 1.13; letter-spacing: -.045em; }
.portal-intro p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.crumb { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; color: var(--muted); font-size: 11px; margin: 0 0 18px; }
.crumb a { color: var(--green); }
.project-strip { padding: 15px 17px; background: var(--white); border: 1px solid var(--line); border-radius: 11px; display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 17px; }
.project-strip strong { font-size: 13px; font-weight: 650; }
.project-strip small { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); }
.status-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 50px; padding: 6px 9px; background: var(--green-soft); color: var(--green); font-size: 9px; font-weight: 700; white-space: nowrap; }
.status-chip.pending { background: var(--amber-soft); color: var(--amber); }
.status-chip.alert { background: var(--red-soft); color: var(--red); }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 15px 0; }
.metric { padding: 16px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.metric .metric-label { display: block; font-size: 9px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.metric strong { display: block; margin-top: 8px; font-size: 23px; letter-spacing: -.04em; font-weight: 550; }
.metric small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 11px; padding: 19px; margin-top: 13px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.panel-head h2 { margin: 0; font-size: 15px; font-weight: 600; }
.panel-head p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.project-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.project-card { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 16px; }
.project-card-top { display: flex; justify-content: space-between; gap: 10px; }
.project-card h3 { font-size: 14px; font-weight: 600; margin: 0; }
.project-card p { color: var(--muted); font-size: 10px; margin: 5px 0 12px; }
.progress { height: 5px; background: #eaebe5; border-radius: 99px; overflow: hidden; margin: 8px 0; }
.progress span { height: 100%; display: block; border-radius: inherit; background: var(--green); }
.project-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; margin-top: 8px; }
.attention-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.attention { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 13px; }
.attention span { display: block; color: var(--muted); font-size: 9px; }
.attention strong { display: block; margin-top: 7px; font-size: 17px; font-weight: 600; }
.tabs { display: flex; gap: 5px; border-bottom: 1px solid var(--line); overflow-x: auto; margin: 12px 0 14px; }
.tab { border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: 10px 11px; font-size: 10px; cursor: pointer; white-space: nowrap; }
.tab.active { color: var(--green); border-bottom-color: var(--green); font-weight: 700; }
.row { border-top: 1px solid var(--line); padding: 13px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row:first-child { border-top: 0; }
.row-copy strong { display: block; font-size: 11px; font-weight: 620; }
.row-copy span { display: block; color: var(--muted); font-size: 9px; margin-top: 4px; line-height: 1.45; }
.row-value { text-align: right; font-size: 11px; font-weight: 620; white-space: nowrap; }
.row-value small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 450; }
.decision-card { padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-top: 10px; }
.decision-card h3 { font-size: 13px; margin: 0 0 5px; font-weight: 650; }
.decision-card p { margin: 0; font-size: 10px; color: var(--muted); line-height: 1.55; }
.decision-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(220px,.8fr); gap: 14px; }
.amount { color: var(--green); font-size: 33px; font-weight: 550; letter-spacing: -.045em; margin: 11px 0; }
.stock-total { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 15px 0; }
.stock-total div { background: #f8f8f5; padding: 12px; border-radius: 8px; }
.stock-total span { display: block; color: var(--muted); font-size: 9px; }
.stock-total strong { display: block; font-size: 18px; margin-top: 5px; font-weight: 600; }
.field { display: grid; gap: 6px; margin: 13px 0; }
.field label { font-size: 10px; font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 11px 12px; background: #fff; outline: none; font-size: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(78,96,76,.1); }
.field small { color: var(--muted); font-size: 9px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 23px; }
.signin-layout { max-width: 520px; margin: 34px auto; }
.form-card h2 { margin: 0 0 8px; font-size: 23px; font-weight: 550; letter-spacing: -.04em; }
.form-card > p { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0 0 18px; }
.segmented { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 16px; }
.segmented button { background: #fff; color: var(--muted); border: 1px solid var(--line); border-radius: 50px; padding: 7px 11px; font-size: 9px; cursor: pointer; }
.segmented button.active { background: var(--green); color: white; border-color: var(--green); }
.toast { position: fixed; right: 18px; bottom: 18px; background: var(--ink); color: white; border-radius: 8px; padding: 13px 16px; box-shadow: 0 10px 40px #0002; font-size: 11px; z-index: 70; animation: toast-in .2s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.mobile-nav { display: none; }
.search-row { display: flex; gap: 9px; align-items: center; margin: 14px 0; }
.search-row input { flex: 1; border: 1px solid var(--line); border-radius: 7px; padding: 10px 12px; background: white; font-size: 11px; }
.callout { background: var(--green-soft); color: var(--green-dark); border-radius: 8px; padding: 12px 14px; font-size: 10px; line-height: 1.55; margin: 12px 0; }
.checklist { display: grid; gap: 8px; }
.check-item { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 11px; border-radius: 8px; font-size: 10px; }
.check-item input { accent-color: var(--green); }
.check-item span { flex: 1; }
.check-item small { color: var(--muted); }
.content-copy { max-width: 720px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.content-copy p { margin: 14px 0; }
.contact-card { border-radius: 12px; background: var(--green); color: white; padding: 24px; }
.contact-card p { color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.65; }
.contact-card .btn { background: white; color: var(--green); }
.hidden { display: none !important; }
.partner-nav { display:flex; gap:8px; flex-wrap:wrap; margin:14px 0; }
.nav-count { display:inline-grid; place-items:center; min-width:19px; height:19px; padding:0 5px; margin-left:4px; border-radius:20px; background:var(--green-soft); color:var(--green); }
.partner-client-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0; border-top:1px solid var(--line); }
.partner-client-row:first-child { border-top:0; }
a.partner-client-row:hover .partner-client-main strong { color:var(--green); }
.partner-client-main { min-width:0; }
.partner-client-main strong { display:block; font-size:12px; }
.partner-client-main span,.partner-client-next small { display:block; color:var(--muted); font-size:10px; line-height:1.5; margin-top:4px; }
.partner-client-next { display:grid; justify-items:end; gap:3px; flex:0 0 auto; }
.partner-client-next .status-chip { margin-bottom:3px; }
.inline-form { margin:14px 0; padding:14px; border:1px solid var(--line); border-radius:9px; background:#fbfaf7; }
.inline-form .field { margin:8px 0; }
.inline-form .billing-two-col { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.partner-client-row .decision-actions { justify-content:flex-end; }
.billing-three-col { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.bill-line { border:1px solid var(--line); border-radius:9px; padding:14px; margin:12px 0; background:#fbfaf7; }
.bill-line .field { margin:7px 0; }
.ai-context { display:grid; gap:7px; padding:10px 14px; border-top:1px solid var(--line); font-size:10px; color:var(--muted); }
.ai-context label { display:flex; align-items:center; gap:8px; }
@media(max-width:640px){.billing-three-col{grid-template-columns:1fr}}
@media(max-width:640px){.partner-client-row{align-items:flex-start;flex-direction:column}.partner-client-next{justify-items:start}.inline-form .billing-two-col{grid-template-columns:1fr}}

@media (min-width: 1500px) { .hero-photo { min-height: 570px; } }
@media (max-width: 900px) {
  .container { width: min(100% - 42px, 700px); }
  .topbar-inner { width: calc(100% - 40px); }
  .nav-links { gap: 17px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 23px; }
  .hero h1 { font-size: clamp(47px, 7vw, 62px); }
  .hero-photo { min-height: 420px; }
  .split-heading { gap: 25px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .topbar { height: 66px; }
  .topbar-inner { width: calc(100% - 30px); }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy span { font-size: 13px; letter-spacing: .09em; }
  .nav-links { display: none; }
  .nav-actions .btn-primary { min-height: 40px; padding: 0 13px; font-size: 11px; }
  .nav-actions .btn-login { display: none; }
  .hero { padding: 27px 0 18px; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-copy { padding: 6px 0 0; }
  .hero h1 { font-size: clamp(50px, 15vw, 68px); margin: 18px 0; }
  .hero-description { font-size: 14px; line-height: 1.65; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .btn { min-height: 46px; font-size: 11px; padding: 0 13px; }
  .hero-photo { min-height: 340px; border-radius: 13px; }
  .hero-caption { font-size: 10px; gap: 10px; }
  .section { padding: 52px 0; }
  .split-heading, .services-head { grid-template-columns: 1fr; gap: 16px; }
  .section-intro { margin-top: 0; font-size: 13px; }
  .section h2 { font-size: 38px; }
  .space-cards, .service-grid { grid-template-columns: 1fr; }
  .audience-service-heading { display: block; }
  .audience-service-heading p { text-align: left; margin-top: 5px; }
  .space-card { min-height: auto; padding: 21px; }
  .services-photo { height: 180px; }
  .approach-band { padding: 53px 0; }
  .approach-steps { grid-template-columns: 1fr; gap: 17px; }
  .footer { flex-direction: column; padding-bottom: 128px; }
  .portal-topbar { height: 61px; }
  .portal-topbar-inner { width: calc(100% - 28px); }
  .portal-user { font-size: 9px; gap: 7px; }
  .portal-logout { min-height: 38px; padding: 0 10px; font-size: 10px; }
  .portal-user .avatar { width: 28px; height: 28px; }
  .portal-main, .portal-main.wide { width: calc(100% - 28px); padding: 25px 0 96px; }
  .portal-intro { margin-bottom: 17px; }
  .portal-intro h1 { font-size: 31px; }
  .portal-intro p { font-size: 11px; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .metric { padding: 13px; }
  .metric strong { font-size: 21px; }
  .project-list { grid-template-columns: 1fr; }
  .attention-list { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .panel { padding: 15px; }
  .project-strip { padding: 12px; }
  .stock-total { gap: 5px; }
  .stock-total div { padding: 9px; }
  .stock-total strong { font-size: 16px; }
  .mobile-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 35; justify-content: space-around; gap: 4px; padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); background: var(--white); border-top: 3px solid var(--green); box-shadow: 0 -8px 22px rgba(24,31,23,.22); }
  .mobile-nav a { display: grid; place-items: center; align-content: center; gap: 4px; color: var(--ink); min-width: 50px; min-height: 64px; flex: 1; font-size: 12px; font-weight: 600; }
  .mobile-nav a.active { color: var(--green-dark); background: var(--green-soft); border-radius: 10px; }
  .mobile-nav .nav-icon { display: grid; place-items: center; min-height: 26px; font-size: 23px; line-height: 1; }
  .mobile-nav .nav-logo-small { display: block; width: 22px; height: 22px; object-fit: contain; }
  .signin-layout { margin: 18px auto; }
  .form-card { padding: 18px; }
  .hero-actions .btn { flex: 1; }
}

/* Demo billing and Ask 4D assistant */
.billing-layout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(240px,.75fr); gap:14px; align-items:start; }
.billing-two-col { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.billing-receipt h2 { margin:12px 0 6px; font-size:21px; }
.billing-receipt > p { font-size:11px; color:var(--muted); }
.button-arrow { display:inline-block; width:14px; height:14px; vertical-align:middle; }
.ai-assistant { position:fixed; z-index:80; right:20px; bottom:20px; font-size:12px; }
.ai-launcher { display:flex; align-items:center; gap:8px; padding:13px 17px; background:var(--green); color:white; border:0; border-radius:50px; box-shadow:0 8px 28px #20261e35; cursor:pointer; font-weight:650; }
.ai-launcher span { font-size:17px; }
.ai-panel { width:min(390px,calc(100vw - 28px)); height:min(570px,calc(100dvh - 112px)); background:var(--white); border:1px solid var(--line); border-radius:15px; box-shadow:0 18px 60px #20261e30; overflow:hidden; display:flex; flex-direction:column; margin-bottom:12px; }
.ai-header { padding:15px 17px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.ai-header strong,.ai-header small { display:block; }
.ai-header strong { font-size:14px; }
.ai-header small { margin-top:4px; font-size:9px; color:var(--muted); }
.ai-close { background:transparent; border:0; cursor:pointer; font-size:23px; line-height:1; }
.ai-chat { flex:1; padding:14px; overflow:auto; display:flex; flex-direction:column; gap:9px; }
.ai-message { max-width:90%; padding:10px 12px; border-radius:12px; line-height:1.55; font-size:11px; white-space:pre-wrap; }
.assistant-message { align-self:flex-start; background:#f0f1eb; }
.user-message { align-self:flex-end; background:var(--green); color:white; }
.ai-prompts { display:flex; gap:6px; overflow:auto; padding:10px 12px; border-top:1px solid var(--line); }
.ai-prompts button { border:1px solid var(--line); border-radius:30px; padding:7px 10px; background:white; font-size:9px; white-space:nowrap; cursor:pointer; }
.ai-input-row { padding:10px 12px; display:flex; gap:7px; border-top:1px solid var(--line); }
.ai-input-row input { min-width:0; flex:1; border:1px solid var(--line); border-radius:7px; padding:9px 11px; font-size:11px; }
.ai-input-row .btn { min-height:36px; }
@media(max-width:640px){
 .billing-layout,.billing-two-col { grid-template-columns:1fr; }
 .ai-assistant { right:12px; bottom:78px; }
 .ai-panel { height:min(65dvh,570px); }
}
.inline-form { padding:14px; margin:12px 0; border:1px solid var(--line); border-radius:9px; background:#fbfaf6; }
.setup-list { padding-left:18px; color:var(--muted); font-size:11px; line-height:1.8; }
.task-count { color:var(--green); font-size:10px; font-weight:650; }

/* Public long-scroll website */
.container, .topbar-inner { width: min(1280px, calc(100% - 160px)); }
section[id] { scroll-margin-top: 104px; }
.brand-copy span { letter-spacing: .01em; text-transform: none; color: var(--ink); }
.nav-links .btn { color: var(--white); padding: 0 20px; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 100; padding: 12px 18px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.process-heading { max-width: 650px; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 42px; }
.process-step { border-top: 1px solid var(--line); padding-top: 22px; }
.step-number { font-size: 32px; font-weight: 450; letter-spacing: -.04em; color: var(--green); }
.process-step h3 { font-size: 17px; font-weight: 550; margin: 22px 0 12px; }
.process-step p { font-size: 13px; line-height: 1.75; color: var(--muted); }
.budget-section { background: var(--white); }
.budget-section .content-copy p:first-child { margin-top: 0; }
.text-link { display: inline-flex; gap: 16px; align-items: center; margin-top: 16px; color: var(--green); font-weight: 600; }
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image { border-radius: 16px; overflow: hidden; }
.about-image img { display: block; width: 100%; height: 480px; object-fit: cover; }
.project-cta { background: var(--green); color: var(--white); border-radius: 16px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.project-cta .eyebrow { color: #dce5d7; }
.project-cta h2 { font-size: clamp(32px, 3.5vw, 46px); }
.project-cta p { font-size: 14px; line-height: 1.75; color: #e2e6de; }
.project-cta .btn { background: var(--white); color: var(--green); flex-shrink: 0; }
.website-footer { background: #292f28; color: var(--white); padding: 56px 0 24px; }
.website-footer .brand-copy span { color: var(--white); }
.website-footer .brand-mark { width: 80px; height: auto; }
/* A light surface keeps the supplied black artwork legible on the dark footer. */
.website-footer .brand { gap: 14px; padding: 4px 16px 4px 4px; background: var(--paper); border-radius: 8px; }
.website-footer .brand-copy span { color: var(--ink); }
.footer-main { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-main p { color: #c2c8bd; line-height: 1.8; font-size: 13px; }
.footer-main nav { display: grid; align-content: start; gap: 18px; font-size: 13px; }
.footer-phone { display: inline-block; margin-top: 12px; font-size: 19px; }
.footer-contact .eyebrow { color: #c2c8bd; }
.footer-contact > a { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; }
.portal-unavailable { display: block; margin-top: 24px; color: #9aa194; cursor: default; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #4b5347; padding-top: 24px; font-size: 11px; color: #c2c8bd; }
@media (max-width: 1100px) {
  .container, .topbar-inner { width: calc(100% - 80px); }
  .topbar-inner { gap: 20px; }
  .nav-links { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(46px, 6vw, 68px); }
  .split-heading { grid-template-columns: 1fr; }
  .space-cards { margin-top: 16px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-section { gap: 32px; }
  .project-cta { padding: 32px; }
}
@media (max-width: 700px) {
  .container, .topbar-inner { width: calc(100% - 48px); }
  .topbar { height: auto; min-height: 114px; }
  .topbar-inner { flex-wrap: wrap; gap: 8px; padding: 12px 0; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy span { font-size: 15px; }
  .nav-links { display: flex; width: 100%; justify-content: space-between; gap: 10px; font-size: 12px; }
  .nav-links a { min-height: 40px; display: inline-flex; align-items: center; }
  .nav-links .btn { font-size: 11px; padding: 0 12px; min-height: 40px; gap: 7px; }
  section[id] { scroll-margin-top: 136px; }
  .hero-grid, .services-head, .about-section { grid-template-columns: 1fr; }
  .hero { padding-top: 30px; }
  .hero h1 { font-size: clamp(48px, 14vw, 64px); }
  .hero-photo { min-height: 330px; }
  .hero-caption { font-size: 10px; }
  .section { padding: 52px 0; }
  .section h2 { font-size: 36px; }
  .space-cards, .service-grid, .process-grid { grid-template-columns: 1fr; }
  .service-item { gap: 14px; padding: 24px 0; }
  .service-item h3 { font-size: 16px; }
  .service-item p { font-size: 13px; }
  .process-grid { gap: 24px; margin-top: 30px; }
  .process-step h3 { margin-top: 14px; }
  .about-image img { height: 300px; }
  .project-cta { display: block; padding: 28px 24px; }
  .project-cta h2 { font-size: 32px; }
  .project-cta h2 br, .project-cta p br { display: none; }
  .project-cta .btn { margin-top: 16px; width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-main nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Display the complete supplied canvas with its original transparency and colors. */
.topbar .brand-mark { width: 64px; height: auto; }
@media (max-width: 700px) {
  .topbar .brand-mark { width: 56px; }
}
