:root {
  /* Working brand tokens: change these to re-theme the full site. */
  --ink: #0d2a43;
  --ink-deep: #071b2c;
  --accent: #f47a3a;
  --accent-soft: #fff0e8;
  --sky: #dfeaf2;
  --mist: #f4f7f9;
  --paper: #ffffff;
  --text: #172734;
  --muted: #647382;
  --line: #d9e1e7;
  --shadow: 0 24px 70px rgba(9, 33, 53, .12);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Manrope, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.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-link { position: fixed; z-index: 100; left: 16px; top: -60px; padding: 12px 16px; background: var(--paper); border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(13, 42, 67, .09);
  background: rgba(246, 249, 251, .76);
  backdrop-filter: blur(16px);
}
.site-header.solid { position: relative; background: var(--paper); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { width: 260px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 27px; font-size: .88rem; font-weight: 700; }
.site-nav > a:not(.button) { position: relative; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; height: 2px; width: 0; left: 0; bottom: -8px; background: var(--accent); transition: width .2s ease; }
.site-nav > a:not(.button):hover::after { width: 100%; }
.menu-button { display: none; border: 0; background: none; padding: 10px; }
.menu-button > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  color: var(--paper);
  background: var(--ink);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--ink-deep); box-shadow: 0 12px 28px rgba(13, 42, 67, .18); }
.button-small { min-height: 44px; padding-inline: 16px; font-size: .82rem; }
.button-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.text-link { font-weight: 800; color: var(--ink); }
.text-link span { color: var(--accent); }

.hero {
  min-height: 790px;
  padding: 170px 0 90px;
  background:
    radial-gradient(circle at 82% 21%, rgba(244, 122, 58, .10), transparent 25%),
    linear-gradient(135deg, #f6f9fb 0%, #edf3f7 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: .91fr 1.09fr; gap: 68px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--ink); font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; }
.eyebrow.light { color: #b8ccdb; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--accent); }
h1, h2, h3 { font-family: "Space Grotesk", Manrope, sans-serif; color: var(--ink); margin-top: 0; }
h1 { margin-bottom: 25px; max-width: 730px; font-size: clamp(3.2rem, 5.6vw, 5.7rem); line-height: .98; letter-spacing: -.055em; }
.hero-lede { max-width: 600px; margin: 0 0 34px; color: #4c6172; font-size: 1.18rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; color: var(--muted); font-size: .77rem; font-weight: 700; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--accent); }

.system-card { position: relative; padding: 22px; border: 1px solid rgba(13, 42, 67, .10); border-radius: 30px; background: rgba(255,255,255,.74); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.system-topline { display: flex; justify-content: space-between; padding: 2px 5px 18px; color: #6e7f8e; font-size: .67rem; letter-spacing: .15em; font-weight: 800; }
.status { color: var(--ink); }
.status i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #2ca56a; box-shadow: 0 0 0 4px rgba(44,165,106,.12); }
.house-map { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 110px 90px; min-height: 475px; padding: 28px; border-radius: 19px; background: linear-gradient(145deg, #e9f0f5, #f7fafc); overflow: hidden; }
.house-map::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(13,42,67,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(13,42,67,.08) 1px, transparent 1px); background-size: 30px 30px; }
.room { position: relative; z-index: 2; align-self: center; min-height: 122px; padding: 18px; border: 1px solid rgba(13,42,67,.08); border-radius: 16px; background: rgba(255,255,255,.93); box-shadow: 0 10px 30px rgba(13,42,67,.08); }
.room strong, .room span { display: block; }
.room strong { margin: 8px 0 3px; color: var(--ink); font-family: "Space Grotesk"; }
.room span { color: var(--muted); font-size: .70rem; }
.room-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-weight: 900; }
.connections { position: absolute; z-index: 1; inset: 34px 20px; width: calc(100% - 40px); height: calc(100% - 68px); }
.connections path { fill: none; stroke: #9eb6c7; stroke-width: 2; stroke-dasharray: 6 8; }
.connections circle { fill: var(--accent); }
.hub-mark { position: absolute; z-index: 3; width: 62px; height: 62px; left: 50%; top: 50%; padding: 12px; transform: translate(-50%, -50%); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(13,42,67,.16); }

.principles { color: #fff; background: var(--ink); }
.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.principles article { display: flex; gap: 16px; align-items: flex-start; min-height: 128px; padding: 32px 28px; border-right: 1px solid rgba(255,255,255,.12); }
.principles article:last-child { border-right: 0; }
.principles strong { color: var(--accent); font-size: .72rem; letter-spacing: .1em; }
.principles h2 { margin: 0 0 4px; color: #fff; font-size: 1rem; }
.principles p { margin: 0; color: #aec0cd; font-size: .78rem; line-height: 1.5; }

.section { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 70px; align-items: end; margin-bottom: 58px; }
.section-heading h2, .approach h2, .about h2, .faq h2, .contact h2 { margin-bottom: 0; font-size: clamp(2.45rem, 4vw, 4.2rem); line-height: 1.06; letter-spacing: -.04em; }
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.75; }
.services { background: var(--paper); }
.service-explorer { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 2fr); min-height: 620px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--mist); box-shadow: 0 22px 70px rgba(13, 42, 67, .08); }
.service-tabs { display: flex; flex-direction: column; padding: 18px; border-right: 1px solid var(--line); background: #eef3f6; }
.service-tab { position: relative; display: grid; grid-template-columns: 36px 1fr; align-items: center; width: 100%; min-height: 72px; padding: 10px 16px; border: 0; border-bottom: 1px solid rgba(13,42,67,.10); color: #506475; background: transparent; text-align: left; font-weight: 750; cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease; }
.service-tab:last-child { border-bottom: 0; }
.service-tab span { color: #8193a1; font-family: "Space Grotesk"; font-size: .72rem; font-weight: 700; }
.service-tab::after { content: ""; position: absolute; right: 15px; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: 0; }
.service-tab:hover { color: var(--ink); background: rgba(255,255,255,.55); }
.service-tab.active { color: var(--ink); border-bottom-color: transparent; border-radius: 12px; background: #fff; box-shadow: 0 10px 26px rgba(13,42,67,.10); transform: translateX(4px); }
.service-tab.active span { color: var(--accent); }
.service-tab.active::after { opacity: 1; }
.service-tab:focus-visible { outline: 3px solid rgba(244,122,58,.35); outline-offset: 2px; }
.service-panels { min-width: 0; background: #fff; }
.service-panel { min-height: 100%; padding: clamp(36px, 5vw, 70px); animation: service-in .3s ease; }
.service-panel[hidden] { display: none; }
.service-panel-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.service-kicker { max-width: 520px; margin: 0 0 22px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.service-symbol { display: grid; place-items: center; flex: 0 0 58px; height: 58px; border-radius: 16px; color: var(--accent); background: var(--accent-soft); font-family: "Space Grotesk"; font-size: 1.5rem; font-weight: 700; }
.service-panel h3 { margin-bottom: 18px; font-size: clamp(2.35rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -.045em; }
.service-summary { max-width: 820px; margin: 0; color: #566b7b; font-size: 1rem; line-height: 1.8; }
.service-detail-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(35px, 6vw, 85px); padding-top: 38px; margin-top: 38px; border-top: 1px solid var(--line); }
.service-detail-grid h4 { margin: 0 0 18px; color: var(--ink); font-family: "Space Grotesk"; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.service-detail-grid ul { padding: 0; margin: 0; list-style: none; }
.service-detail-grid li { position: relative; padding: 7px 0 7px 21px; color: #415565; font-size: .86rem; line-height: 1.55; }
.service-detail-grid li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.service-good-fit { padding-top: 25px; margin-top: 25px; border-top: 1px solid var(--line); }
.service-good-fit h4 { margin-bottom: 10px; }
.service-good-fit p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.7; }
.service-fit { padding: 24px; border-radius: 16px; background: var(--mist); }
.service-fit p { margin: 0 0 24px; color: var(--muted); font-size: .84rem; line-height: 1.7; }
.service-fit span, .service-fit > strong { display: block; }
.service-fit span { margin-bottom: 6px; color: #83919c; font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.service-fit > strong { color: var(--ink); font-size: .77rem; line-height: 1.5; }
.platform-list { display: grid; gap: 13px; padding: 0; margin: 14px 0 0; list-style: none; }
.platform-list li { position: relative; padding-left: 17px; }
.platform-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.platform-list strong, .platform-list small { display: block; }
.platform-list strong { margin-bottom: 3px; color: var(--ink); font-size: .78rem; line-height: 1.4; }
.platform-list small { color: var(--muted); font-size: .72rem; line-height: 1.55; }
.service-cta { display: inline-flex; align-items: center; min-height: 45px; padding: 0 17px; margin-top: 38px; border: 1px solid var(--ink); border-radius: 8px; color: var(--ink); font-size: .79rem; font-weight: 800; transition: color .2s ease, background .2s ease; }
.service-cta:hover { color: #fff; background: var(--ink); }
@keyframes service-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.builders { color: #fff; background: linear-gradient(145deg, var(--ink-deep), var(--ink)); }
.builders h2, .builders h3 { color: #fff; }
.builders-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: end; }
.builders-intro h2 { max-width: 720px; margin-bottom: 0; font-size: clamp(2.7rem, 4.5vw, 4.8rem); line-height: 1.02; letter-spacing: -.045em; }
.builders-copy > p { margin: 0 0 28px; color: #b7c8d4; line-height: 1.8; }
.builder-benefits { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.builder-benefits article { min-height: 220px; padding: 28px 24px; border-right: 1px solid rgba(255,255,255,.14); }
.builder-benefits article:last-child { border-right: 0; }
.builder-benefits span { display: block; margin-bottom: 35px; color: var(--accent); font-family: "Space Grotesk"; font-size: .72rem; }
.builder-benefits strong { display: block; margin-bottom: 10px; color: #fff; font-family: "Space Grotesk"; font-size: 1rem; }
.builder-benefits p { margin: 0; color: #9fb3c2; font-size: .78rem; line-height: 1.65; }
.package-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: end; margin: 90px 0 36px; }
.package-heading h3 { max-width: 680px; margin: 0; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em; }
.package-heading > p { margin: 0; color: #9fb3c2; font-size: .88rem; line-height: 1.8; }
.builder-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.builder-package { display: flex; flex-direction: column; min-height: 510px; padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.045); }
.builder-package.featured { border-color: rgba(244,122,58,.7); background: linear-gradient(160deg, rgba(244,122,58,.16), rgba(255,255,255,.05)); }
.package-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.package-top span { padding: 6px 9px; border-radius: 99px; color: #d9e4eb; background: rgba(255,255,255,.1); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.package-top b { color: var(--accent); font-family: "Space Grotesk"; font-size: .72rem; }
.builder-package h3 { margin-bottom: 12px; font-size: 1.55rem; }
.builder-package > p { min-height: 78px; margin: 0 0 20px; color: #aebfcb; font-size: .84rem; line-height: 1.7; }
.builder-package ul { display: grid; gap: 11px; padding: 22px 0 0; margin: auto 0 0; border-top: 1px solid rgba(255,255,255,.12); list-style: none; }
.builder-package li { position: relative; padding-left: 19px; color: #d5e0e7; font-size: .78rem; line-height: 1.55; }
.builder-package li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.builder-process { margin-top: 30px; padding: 28px 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.035); }
.builder-process > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.builder-process span { color: #fff; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.builder-process i { flex: 1; height: 1px; background: rgba(244,122,58,.58); }
.builder-process p { margin: 20px 0 0; color: #91a8b8; font-size: .76rem; line-height: 1.65; }

.approach { color: #fff; background: var(--ink-deep); }
.approach-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; }
.approach h2 { color: #fff; }
.approach-intro > p:last-child { max-width: 480px; color: #a9bdcc; line-height: 1.8; }
.approach-points article { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.approach-points article > span { color: var(--accent); font-family: "Space Grotesk"; font-size: .78rem; }
.approach-points h3 { margin: 0 0 7px; color: #fff; font-size: 1.2rem; }
.approach-points p { margin: 0; color: #9fb3c2; font-size: .88rem; line-height: 1.7; }

.projects { background: var(--mist); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { min-height: 350px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.project-tag { display: inline-block; margin-bottom: 76px; padding: 7px 10px; border-radius: 99px; color: var(--ink); background: var(--sky); font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.project-card h3 { margin-bottom: 12px; font-size: 1.55rem; }
.project-card p { min-height: 76px; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.project-card a { display: inline-flex; gap: 10px; color: var(--ink); font-size: .8rem; font-weight: 800; }
.project-card a span { color: var(--accent); }

.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; align-items: center; }
.experience-card { display: flex; flex-direction: column; justify-content: flex-end; min-height: 480px; padding: 38px; color: #fff; border-radius: 28px; background: linear-gradient(155deg, var(--ink) 0 68%, var(--accent) 68%); box-shadow: var(--shadow); }
.experience-card strong { font-family: "Space Grotesk"; font-size: 6rem; line-height: 1; letter-spacing: -.07em; }
.experience-card span { max-width: 240px; margin-top: 16px; font-size: .9rem; line-height: 1.55; }
.about-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.about-meta { display: flex; gap: 24px; padding-top: 22px; margin-top: 28px; border-top: 1px solid var(--line); color: var(--ink); font-size: .78rem; font-weight: 800; }
.about-meta span::before { content: "●"; margin-right: 8px; color: var(--accent); font-size: .55rem; }

.faq { background: var(--mist); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.accordion details { border-top: 1px solid #cbd6de; }
.accordion details:last-child { border-bottom: 1px solid #cbd6de; }
.accordion summary { display: flex; justify-content: space-between; gap: 20px; padding: 23px 4px; color: var(--ink); font-family: "Space Grotesk"; font-size: 1.05rem; font-weight: 600; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--accent); font-family: Manrope; font-size: 1.4rem; transition: transform .2s ease; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { max-width: 670px; margin: 0 0 24px 4px; color: var(--muted); line-height: 1.75; }

.contact { padding: 110px 0; color: #fff; background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; }
.contact h2 { color: #fff; }
.contact-copy > p:not(.eyebrow) { color: #aec0cd; line-height: 1.8; }
.preview-note { margin-top: 34px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; font-size: .74rem; }
.contact-form { display: grid; gap: 18px; padding: 34px; border-radius: var(--radius); background: rgba(255,255,255,.07); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 8px; font-size: .76rem; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; outline: none; color: #fff; background: rgba(255,255,255,.08); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(244,122,58,.15); }
select option { color: var(--text); background: white; }
.form-status { min-height: 22px; margin: 0; color: #ffd4bd; font-size: .8rem; }
.form-status[data-state="success"] { color: #c7efd9; }
.form-status[data-state="error"] { color: #ffd4bd; }
.contact-form button:disabled { cursor: wait; opacity: .62; transform: none; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { padding: 72px 0 25px; color: #9fb2c0; background: var(--ink-deep); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; padding-bottom: 60px; }
.footer-grid img { width: 250px; padding: 10px; border-radius: 8px; background: #fff; }
.footer-grid p { max-width: 420px; font-size: .84rem; line-height: 1.7; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid strong { margin-bottom: 8px; color: #fff; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid a, .footer-grid span { font-size: .8rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .7rem; }

.portal-page { min-height: 100vh; background: linear-gradient(135deg, #eef4f7, #fff7f1); }
.portal-main { width: min(1050px, calc(100% - 40px)); min-height: calc(100vh - 88px); margin: auto; display: grid; grid-template-columns: 1fr 440px; gap: 90px; align-items: center; padding: 70px 0; }
.portal-intro h1 { font-size: clamp(3rem, 5vw, 5rem); }
.portal-intro > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.portal-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.portal-features span { padding: 8px 11px; border-radius: 99px; background: #fff; color: var(--ink); box-shadow: 0 5px 18px rgba(13,42,67,.08); font-size: .72rem; font-weight: 800; }
.login-card { padding: 38px; border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: var(--shadow); }
.login-card > img { width: 54px; margin-bottom: 26px; }
.login-card h2 { font-size: 1.8rem; }
.login-card .muted { color: var(--muted); font-size: .86rem; }
.login-card form { display: grid; gap: 16px; margin: 30px 0 15px; }
.login-card input { border-color: var(--line); color: var(--text); background: #fff; }
.login-card small { color: var(--muted); line-height: 1.6; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .site-nav { position: absolute; left: 20px; right: 20px; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .hero-grid, .approach-grid, .about-grid, .faq-grid, .contact-grid, .portal-main { grid-template-columns: 1fr; }
  .hero { padding-top: 145px; }
  .system-card { max-width: 720px; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .principles article:nth-child(2) { border-right: 0; }
  .service-explorer { grid-template-columns: 1fr; min-height: 0; overflow: visible; background: #fff; }
  .service-tabs { flex-direction: row; gap: 8px; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
  .service-tab { flex: 0 0 auto; display: block; min-height: 46px; width: auto; padding: 0 16px; border: 1px solid transparent; border-bottom: 1px solid transparent; border-radius: 10px; white-space: nowrap; }
  .service-tab span { margin-right: 7px; }
  .service-tab::after { display: none; }
  .service-tab.active { border-color: var(--line); transform: none; }
  .project-grid { grid-template-columns: 1fr; }
  .builders-intro, .package-heading { grid-template-columns: 1fr; gap: 35px; }
  .builder-benefits { grid-template-columns: 1fr 1fr; }
  .builder-benefits article:nth-child(2) { border-right: 0; }
  .builder-benefits article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .builder-packages { grid-template-columns: 1fr; }
  .builder-package { min-height: 0; }
  .builder-package > p { min-height: 0; }
  .approach-grid, .about-grid, .faq-grid, .contact-grid { gap: 60px; }
  .experience-card { min-height: 360px; }
  .portal-main { max-width: 700px; gap: 45px; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 74px; }
  .brand img { width: 205px; }
  .hero { min-height: auto; padding: 120px 0 58px; }
  .hero-grid { gap: 45px; }
  h1 { font-size: 3.25rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .house-map { min-height: 490px; gap: 110px 20px; padding: 15px; }
  .room { padding: 14px; }
  .room span { font-size: .63rem; }
  .principles-grid, .section-heading, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .principles article { min-height: 100px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .section { padding: 85px 0; }
  .section-heading { gap: 20px; margin-bottom: 40px; }
  .service-panel { padding: 30px 22px; }
  .service-symbol { flex-basis: 48px; height: 48px; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .builder-benefits { grid-template-columns: 1fr; }
  .builder-benefits article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .builder-benefits article:last-child { border-bottom: 0; }
  .builder-benefits span { margin-bottom: 18px; }
  .package-heading { margin-top: 65px; }
  .builder-package { padding: 25px; }
  .builder-process > div { align-items: flex-start; flex-direction: column; }
  .builder-process i { width: 1px; height: 20px; flex: none; margin-left: 4px; }
  .project-tag { margin-bottom: 38px; }
  .approach-grid, .about-grid, .faq-grid, .contact-grid { gap: 45px; }
  .about-meta { flex-direction: column; gap: 10px; }
  .contact-form { padding: 22px; }
  .footer-grid { gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .portal-main { width: calc(100% - 28px); padding: 45px 0; }
  .login-card { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Rads Tech Works — restrained trade-company visual system */
:root {
  --ink: #0b2031;
  --ink-deep: #061521;
  --accent: #dc6724;
  --accent-soft: #f7e6d8;
  --sky: #dbe3e5;
  --cream: #f3e8d6;
  --mist: #e9e2d7;
  --paper: #fbf6ec;
  --text: #111d26;
  --muted: #667783;
  --line: #bcc6c8;
  --shadow: 0 18px 48px rgba(6, 21, 33, .08);
  --radius: 4px;
}

body { background: var(--cream); }
h1, h2, h3 { font-family: "Barlow Semi Condensed", Manrope, sans-serif; }
.eyebrow { font-size: .68rem; letter-spacing: .25em; }
.eyebrow-dot { width: 9px; height: 9px; margin-right: 13px; }

.site-header { border-bottom-color: rgba(11,32,49,.2); background: rgba(251,246,236,.95); backdrop-filter: blur(10px); }
.nav-wrap { min-height: 104px; }
.brand img { width: 270px; }
.site-nav { gap: 24px; font-size: .72rem; letter-spacing: .095em; text-transform: uppercase; }
.site-nav > a:not(.button)::after { bottom: -12px; height: 1px; }
.menu-button > span:not(.sr-only) { background: var(--ink); }

.button { min-height: 50px; border-radius: 2px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; box-shadow: none; }
.button:hover { box-shadow: 5px 5px 0 rgba(220,103,36,.24); transform: translate(-2px,-2px); }
.button-small { min-height: 42px; }
.text-link { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

.hero {
  min-height: 820px;
  padding-top: 190px;
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(11,32,49,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,32,49,.045) 1px, transparent 1px);
  background-size: 42px 42px;
}
.hero::after { content: ""; position: absolute; right: 0; top: 104px; width: 31%; height: 1px; background: var(--accent); }
.hero { position: relative; }
.hero-grid { gap: 76px; }
h1 { max-width: 680px; font-size: clamp(3.6rem, 6.2vw, 6.6rem); line-height: .92; letter-spacing: -.035em; }
.hero-lede { max-width: 570px; color: #526572; font-size: 1.05rem; }
.trust-row { gap: 28px; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.trust-row span::before { content: "●"; font-size: .5rem; }

.system-card { padding: 18px; border-color: rgba(11,32,49,.28); border-radius: 2px; background: rgba(250,247,239,.92); box-shadow: 12px 12px 0 rgba(11,32,49,.08); backdrop-filter: none; }
.system-topline { padding: 4px 4px 17px; color: #536b79; }
.house-map { border: 1px solid rgba(11,32,49,.2); border-radius: 0; background: #e9ece8; }
.house-map::before { opacity: .55; background-size: 24px 24px; }
.room { border-color: rgba(11,32,49,.2); border-radius: 1px; background: rgba(250,247,239,.96); box-shadow: 4px 4px 0 rgba(11,32,49,.08); }
.room-icon { border-radius: 50%; background: var(--accent); color: #fff; }
.hub-mark { border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 7px rgba(220,103,36,.15); }

.principles { color: var(--text); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--cream); }
.principles article { border-right-color: rgba(11,32,49,.24); }
.principles h2 { color: var(--ink); font-size: 1.08rem; }
.principles p { color: var(--muted); }
.principles strong { color: var(--accent); }

.section { padding: 130px 0; }
.section-heading { border-top: 1px solid var(--line); padding-top: 25px; }
.section-heading h2, .approach h2, .about h2, .faq h2, .contact h2 { font-size: clamp(2.7rem, 4.5vw, 4.7rem); }
.services { background: var(--paper); }
.service-explorer { border-color: var(--ink); border-radius: 0; background: var(--paper); box-shadow: none; }
.service-tabs { border-right-color: var(--ink); background: #e9e7df; }
.service-tab { min-height: 70px; border-bottom-color: rgba(11,32,49,.18); font-size: .77rem; letter-spacing: .045em; text-transform: uppercase; }
.service-tab.active { border-radius: 0; background: var(--paper); box-shadow: inset 4px 0 0 var(--accent); transform: none; }
.service-panels, .service-panel { background: var(--paper); }
.service-symbol { border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.service-kicker { letter-spacing: .18em; }
.service-panel h3 { font-size: clamp(2.7rem, 4.5vw, 4.6rem); }
.service-detail-grid { border-top-color: var(--ink); }
.service-fit { border: 1px solid var(--line); border-radius: 0; background: #efede6; }
.service-cta { border-radius: 0; letter-spacing: .08em; text-transform: uppercase; }

.builders { border-top: 7px solid var(--accent); background: var(--ink-deep); }
.builder-benefits, .builder-benefits article, .builder-package, .builder-process { border-color: rgba(250,247,239,.22); }
.builder-package { border-radius: 1px; background: rgba(250,247,239,.035); }
.builder-package.featured { border-color: var(--accent); background: rgba(220,103,36,.09); }
.package-top span { border: 1px solid rgba(250,247,239,.22); border-radius: 1px; background: transparent; }
.builder-process { border-radius: 1px; }

.approach { border-top: 1px solid rgba(250,247,239,.18); background: #102c41; }
.approach-points article { border-bottom-color: rgba(250,247,239,.2); }
.projects { background: #e9e7df; }
.project-card { border-color: var(--ink); border-radius: 0; background: var(--paper); box-shadow: 7px 7px 0 rgba(11,32,49,.08); }
.project-tag { border: 1px solid var(--line); border-radius: 1px; background: transparent; letter-spacing: .12em; }

.experience-card { position: relative; min-height: 500px; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: transparent; box-shadow: 9px 9px 0 var(--accent-soft); }
.experience-card::before { content: "FIELD EXPERIENCE"; position: absolute; left: 38px; top: 34px; color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .22em; }
.experience-card strong { color: var(--ink); font-family: "Barlow Semi Condensed"; font-weight: 600; }
.about-meta { border-top-color: var(--ink); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }

.faq { background: var(--paper); }
.accordion details { border-top-color: var(--ink); }
.accordion details:last-child { border-bottom-color: var(--ink); }
.accordion summary { font-family: "Barlow Semi Condensed"; font-size: 1.18rem; letter-spacing: .025em; }

.contact { border-top: 7px solid var(--accent); background: var(--ink); }
.preview-note, .contact-form { border: 1px solid rgba(250,247,239,.22); border-radius: 0; background: transparent; }
input, select, textarea { border-radius: 1px; }

.site-footer { border-top: 1px solid rgba(250,247,239,.2); }
.footer-grid img { width: 300px; padding: 18px; border-radius: 0; background: var(--paper); }
.footer-grid strong, .footer-grid a, .footer-grid span { letter-spacing: .07em; }

.portal-page { background-color: var(--cream); background-image: linear-gradient(rgba(11,32,49,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(11,32,49,.04) 1px,transparent 1px); background-size: 42px 42px; }
.portal-intro h1 { font-size: clamp(3.5rem, 6vw, 6.2rem); }
.portal-features span { border: 1px solid var(--line); border-radius: 1px; background: var(--paper); box-shadow: none; letter-spacing: .07em; text-transform: uppercase; }
.login-card { border-color: var(--ink); border-radius: 0; background: var(--paper); box-shadow: 10px 10px 0 rgba(11,32,49,.09); }
.login-card > img { width: 64px; }

.plan-board { border: 1px solid var(--ink); background: var(--paper); box-shadow: 12px 12px 0 rgba(11,32,49,.09); }
.plan-board-head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px; border-bottom: 1px solid var(--ink); color: var(--ink); font-size: .65rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.plan-board-head b { color: var(--accent); font-family: "Barlow Semi Condensed"; font-size: .85rem; }
.plan-board-main { display: grid; grid-template-columns: minmax(0,1fr) 155px; min-height: 430px; }
.plan-drawing { position: relative; padding: 22px; border-right: 1px solid var(--ink); background-image: linear-gradient(rgba(11,32,49,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(11,32,49,.055) 1px,transparent 1px); background-size: 22px 22px; }
.plan-drawing svg { display: block; width: 100%; height: 100%; }
.plan-walls { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: square; }
.plan-furniture { fill: none; stroke: #82949d; stroke-width: 2; }
.plan-runs { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 9 7; }
.plan-points { fill: var(--accent); stroke: var(--paper); stroke-width: 3; }
.plan-labels { fill: var(--ink); font-family: Manrope,sans-serif; font-size: 11px; font-weight: 800; letter-spacing: 1.3px; }
.plan-note { position: absolute; left: 24px; bottom: 18px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.plan-note span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.plan-schedule { display: grid; grid-template-rows:auto repeat(4,1fr); }
.schedule-title { padding: 13px 12px; border-bottom: 1px solid var(--ink); color: var(--ink); font-size: .57rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.plan-schedule > div:not(.schedule-title) { display: grid; grid-template-columns: 23px 1fr; align-content: center; padding: 11px 10px; border-bottom: 1px solid var(--line); }
.plan-schedule > div:last-child { border-bottom: 0; }
.plan-schedule b { grid-row: 1 / 3; color: var(--accent); font-family: "Barlow Semi Condensed"; font-size: .7rem; }
.plan-schedule span { color: var(--ink); font-family: "Barlow Semi Condensed"; font-size: .88rem; font-weight: 700; }
.plan-schedule small { margin-top: 4px; color: var(--muted); font-size: .57rem; line-height: 1.55; }
.plan-title-block { display: grid; grid-template-columns: 1fr 1fr 1.2fr; border-top: 1px solid var(--ink); }
.plan-title-block > div { min-height: 64px; padding: 11px 14px; border-right: 1px solid var(--ink); }
.plan-title-block > div:last-child { border-right: 0; }
.plan-title-block small,.plan-title-block strong { display: block; }
.plan-title-block small { margin-bottom: 7px; color: var(--muted); font-size: .52rem; letter-spacing: .12em; text-transform: uppercase; }
.plan-title-block strong { color: var(--ink); font-family: "Barlow Semi Condensed"; font-size: .75rem; letter-spacing: .025em; }

@media (max-width: 980px) {
  .site-nav { background: var(--paper); }
  .service-tabs { border-bottom-color: var(--ink); }
  .service-tab.active { box-shadow: inset 0 -3px 0 var(--accent); }
}

@media (max-width: 640px) {
  .nav-wrap { min-height: 88px; }
  .brand img { width: 220px; }
  .hero { padding-top: 145px; background-size: 32px 32px; }
  h1 { font-size: 3.7rem; }
  .section { padding: 95px 0; }
  .system-card { box-shadow: 7px 7px 0 rgba(11,32,49,.08); }
  .plan-board { box-shadow: 7px 7px 0 rgba(11,32,49,.09); }
  .plan-board-main { grid-template-columns: 1fr; }
  .plan-drawing { min-height: 380px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .plan-schedule { grid-template-columns: repeat(2,1fr); grid-template-rows: auto auto auto; }
  .schedule-title { grid-column: 1 / -1; }
  .plan-schedule > div:not(.schedule-title) { border-right: 1px solid var(--line); }
  .plan-title-block { grid-template-columns: 1fr; }
  .plan-title-block > div { border-right: 0; border-bottom: 1px solid var(--ink); }
  .plan-title-block > div:last-child { border-bottom: 0; }
}
