/* StruXure.co v4 Contact and Let's Connect, isometric (6 Nov). Three options, same family system as the
   product pages (sx-iso.css): option 1 (<page>.html) a left-text hero with sheet C-101 on the right; option 2
   (<page>-2.html) a centred headline over the site plan with the contact card nested in it (isokit.hero_site);
   option 3 (<page>-3.html) a navy hero band with the office room (isokit.room) carrying the contact story.
   The form + contact rows (.ct-grid, carried from Kinetech's contact page) and the trailing sections stay the
   same shape across all three; only the hero and its drawing change. Used by contact.html(-2/-3) and
   lets-connect.html(-2/-3), built by build_contact.py. */

/* ---- option 1: left-text hero, sheet on the right ------------------------------------------------------ */
.ph { padding: 56px 0 72px; background: var(--grid-paper), radial-gradient(80% 70% at 70% 60%, var(--tint) 0, #fff 72%); border-bottom: 1px solid var(--line); }
.ph-hero-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px 56px; align-items: center; }
.ph-copy h1, .ph-site-copy h1 { font-size: clamp(2.6rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -0.02em; font-weight: 700; overflow-wrap: break-word; } /* a word wider than the screen wraps instead of running off it (enlarged text on a 320px phone; bot, 10 Nov) */
.ph-copy h1 .acc, .ph-site-copy h1 .acc { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: .07em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.ph-side { margin-top: 18px; }
.ph-side .lead + .lead { margin-top: 12px; }
.ph-side .lead { max-width: 50ch; }
.ph-side a { font-weight: 600; }
.ph-sheet { margin: 0; }

/* ---- option 2: centred headline over the site plan ------------------------------------------------------ */
.ph-site { text-align: center; }
.ph-site-copy { max-width: 62ch; margin: 0 auto; }
.ph-side.ctr { margin: 18px auto 0; }
.ph-sitefig { margin: 40px auto 0; max-width: 1040px; }

/* ---- option 3: navy hero band, the office room ---------------------------------------------------------- */
.ph-navy { padding-block: 72px; }
.ph-navy-g { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); gap: 28px 56px; align-items: center; }
.ph-navy .ph-copy h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.04; font-weight: 700; }
.ph-roomfig { margin: 0; }

/* ---- the sheet shell (C-101), shared by option 1's hero and option 3's small inline copy ------------------ */
.sx-sheet.ph-sheet, .sx-sheet.ph-sitefig { grid-template-columns: minmax(0, 1fr); }
.ct-sheet { margin: 0; grid-template-columns: minmax(0, 1fr); }
.ct-sheet .sx-area, .ph-sheet .sx-area, .ph-sitefig .sx-area { padding: 12px 14px 6px; }
.ct-sheet .sx-tb, .ph-sheet .sx-tb { flex-direction: row; margin: 0 6px 6px; border-left: 0; border-top: 1px solid var(--navy); }
.ct-sheet .sx-tb > div, .ph-sheet .sx-tb > div { border-bottom: 0; border-right: 1px solid var(--navy); display: flex; flex-direction: column; justify-content: center; padding: 8px 12px; }
.ct-sheet .sx-tb > div:last-child, .ph-sheet .sx-tb > div:last-child { border-right: 0; }
.ct-sheet .sx-tb .ttl, .ph-sheet .sx-tb .ttl { flex: 1; font-size: 15px; }
.ct-sheet .sx-tb .no, .ph-sheet .sx-tb .no { font-size: 24px; }
.ct-sheet-sm { max-width: 420px; margin: 24px 0 0; }
.v-narrow { display: none; }

/* ---- the HubSpot meetings calendar: the main booking action, lazy-loaded (contact.js); the form below is
   the fallback ------------------------------------------------------------------------------------------- */
.ct-cal-sec { padding: 40px 0 0; }
.ct-cal { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); min-height: 480px; }
.ct-cal .meetings-iframe-container { width: 100%; min-height: 440px; }
.ct-cal .meetings-iframe-container iframe { width: 100% !important; min-width: 0 !important; max-width: 100%; min-height: 600px; border: 0; }
.ct-cal-wait { display: grid; place-items: center; min-height: 440px; color: var(--muted); font-size: 14px; }

/* ---- the form card (Kinetech .ct-form + .fld) beside the contact rows (all options) ----------------------- */
.ct-main { padding-top: 48px; }
.ct-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px 48px; align-items: start; }
.ct-form { display: grid; gap: 16px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
.ct-form h2 { font-size: 1.75rem; }
.ct-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.fld input, .fld textarea { width: 100%; min-height: 46px; padding: 11px 12px; background: #fff; border: 1px solid #A3ADB6; border-radius: var(--r); color: var(--ink); font: 500 15px/1.4 var(--sans); }
.fld textarea { resize: vertical; min-height: 104px; }
.fld ::placeholder { color: var(--muted); opacity: 1; font-weight: 400; }
.fld input:focus-visible, .fld textarea:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 1px; border-color: var(--navy); }
.ct-form .btn { justify-self: start; }
.ct-form .btn:disabled { opacity: .6; cursor: progress; }
.form-msg { padding: 12px 14px; border-radius: var(--r); background: #E8F4EE; color: #165C3A; font-size: 15px; font-weight: 500; }
.form-msg.bad { background: #FBEDEC; color: #9E2A23; }

/* contact rows (Kinetech .ct-rows): two columns under a navy rule */
.ct-info h2 { margin-top: 0; font-size: 1.25rem; }
.ct-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 12px; border-top: 2px solid var(--navy); }
.ct-row { padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.ct-row.wide { grid-column: 1 / -1; }
.ct-k { font: 600 13px/1.2 var(--sans); color: var(--muted); }
.ct-v { margin-top: 6px; font: 600 1.125rem/1.45 var(--display); color: var(--navy); overflow-wrap: anywhere; }
.ct-v a { color: var(--navy); }
.ct-v a:hover { color: var(--teal-deep); }

/* ---- a note on technology (generic trust icon, unchanged across options) --------------------------------- */
.note-sec { padding-block: 56px; }
.note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 28px; align-items: start; padding: 28px 32px; }
.note svg { width: 56px; height: 56px; }
.note h2 { font-size: 1.35rem; }
.note p { margin-top: 8px; color: var(--ink-soft); max-width: 75ch; }

/* ---- interested in the platform / blog prompt: the Kinetech pricing split --------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px 64px; align-items: center; }
.split .lead { margin-top: 18px; max-width: 52ch; }
.split .btns { margin-top: 28px; }
.split-art { margin: 0; max-width: 360px; justify-self: center; width: 100%; }

/* ---- Let's Connect: why we do what we do, on the blueprint band ------------------------------------------- */
.why-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: center; }
.why-g h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 700; line-height: 1.04; }
.why-g .lead { margin-top: 18px; max-width: 46ch; }
.why-fig { margin: 0; max-width: 460px; justify-self: center; width: 100%; }
.why-vid { margin: 24px 0 0; max-width: 46ch; }
.why-vid .vid { aspect-ratio: 940 / 573; box-shadow: var(--shadow); }
.sx-tag.big { background: none; border: 0; padding: 0; color: var(--blue); font: 700 clamp(40px, 5.6vw, 72px)/1 var(--display); letter-spacing: -0.03em; }
.blog-p .h2 { max-width: 24ch; }

@media (max-width: 1080px) {
  .ct-grid { grid-template-columns: minmax(0, 1fr); }
  .ct-info { display: contents; }
  .ct-info h2 { margin-top: 24px; }
}
@media (max-width: 860px) {
  .ph { padding: 36px 0 56px; }
  .ph-hero-g, .ph-navy-g, .split, .why-g { grid-template-columns: minmax(0, 1fr); }
  .ph-navy { padding-block: 48px; }
  .split-art, .why-fig { max-width: 300px; }
}
@media (max-width: 639px) {
  .v-wide { display: none; }
  .v-narrow { display: block; }
  .ct-sheet .sx-tb, .ph-sheet .sx-tb { flex-wrap: wrap; }
  .ct-sheet .sx-tb .ttl, .ph-sheet .sx-tb .ttl { flex: 1 1 50%; }
  .ct-form { padding: 22px; }
  .ct-form .two { grid-template-columns: minmax(0, 1fr); }
  .ct-rows { grid-template-columns: minmax(0, 1fr); }
  .note { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .note svg { width: 44px; height: 44px; }
}
/* reduced motion or no JS: the drawing is shown in its final, stamped state, so the travelling document and
   its route are not left mid-flight */
.rm .k-travel, html:not(.js) .k-travel { display: none; }

/* 7 Nov (Max): the street map round the office, under the contact rows (art/contact_map.py) */
.ct-map { margin: 28px 0 0; }
.mp-box { position: relative; aspect-ratio: 560 / 380; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md, 10px); background: #f4f8fd; box-shadow: var(--shadow); }
.mp-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mp-bg { fill: #f4f8fd; }
.mp-bld path { fill: #e3eaf4; stroke: #c3cfe0; stroke-width: .8; }
.mp-river path { fill: none; stroke: #8fd0ef; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.mp-cas path { fill: none; stroke: #b4c2d8; stroke-linecap: round; stroke-linejoin: round; }
.mp-road path { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.mp-office { fill: var(--amber-bright, #E6A700); stroke: var(--navy); stroke-width: 1.6; }
.mp-pin-b { fill: var(--navy); }
.mp-pin-d { fill: #fff; }
.mp-pin-sh { fill: rgba(16, 45, 123, .25); }
.mp-n { fill: var(--navy); }
.mp-nl { position: absolute; transform: translate(-50%, 0); font: 700 11px/1 var(--sans); color: var(--navy); }
.mp-st { position: absolute; transform: translate(-50%, -50%) rotate(var(--r)); white-space: nowrap; font: 600 10.5px/1 var(--sans); letter-spacing: .02em; color: #5b6a85; background: rgba(255, 255, 255, .85); padding: 2px 4px; border-radius: 3px; pointer-events: none; }
.mp-you { position: absolute; transform: translate(-50%, -100%); display: grid; gap: 2px; padding: 6px 10px 7px; border-radius: 8px; background: var(--navy); color: #fff; font: 500 11.5px/1.25 var(--sans); white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(16, 45, 123, .5); }
.mp-you b { font: 700 13px/1.2 var(--display, var(--sans)); }
.mp-cap { margin-top: 6px; font-size: 11px; color: var(--muted); }
.js:not(.rm) .ct-map:not(.play) .mp-pin { opacity: 0; transform: translateY(-14px); }
.js:not(.rm) .ct-map.play .mp-pin { transition: transform .5s cubic-bezier(.23, 1, .32, 1) calc(var(--d) * 1ms), opacity .25s ease-out calc(var(--d) * 1ms); }
@media (max-width: 640px) { .mp-st { font-size: 9px; } .mp-you { font-size: 10.5px; padding: 4px 8px 5px; } }
