/* The CT Chamber Company. Colours from the client's logo pack: charcoal #1F2933,
   yellow #FFD100, grey #9CA3AF, white. Montserrat for headings (the closest web face
   to the preferred logo artwork), Inter for body. */

:root {
  --charcoal: #1F2933;
  --charcoal-2: #2A3540;
  --charcoal-3: #34414D;
  --yellow: #FFD100;
  --yellow-2: #F0C300;
  --grey: #9CA3AF;
  --ink: #1F2933;
  --muted: #4B5563;
  --line: #E3E6EA;
  --wash: #F4F5F7;
  --white: #FFFFFF;
  --head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --wrap: 1180px;
  --r: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--charcoal); padding: 8px 14px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.muted { color: var(--muted); }

/* Eyebrow mirrors the logo's spaced tagline */

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none; border-radius: 8px; padding: 13px 22px; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-yellow { background: var(--yellow); color: var(--charcoal); }
.btn-yellow:hover { background: var(--yellow-2); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--charcoal-3); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--charcoal); border-bottom: 3px solid var(--yellow); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
/* Logo in two parts: the icon at its original size, the lettering larger so the tagline reads. */
.brand, .logo-pair { display: flex; align-items: center; gap: 6px; }
.brand img, .logo-pair img { display: block; width: auto; }
.brand .logo-mark { height: 64px; }
.brand .logo-type { height: 72px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { color: #E5E7EB; text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 6px; }
.site-nav a:not(.btn):hover { color: var(--white); background: var(--charcoal-2); }
.site-nav a[aria-current="page"]:not(.nav-cta) { color: var(--white); box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.nav-cta { margin-left: 10px; padding: 10px 18px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 24px; height: 2px; background: var(--white); position: relative; content: ''; }
.nav-toggle .bars::before { position: absolute; top: -7px; }
.nav-toggle .bars::after { position: absolute; top: 7px; }
/* Menu button from 960px down: the full-size logo leaves no room for the nav below that. */
@media (max-width: 960px) {
  .brand .logo-mark { height: 56px; }
  .brand .logo-type { height: 63px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--charcoal); flex-direction: column; align-items: stretch; padding: 8px 16px 18px; border-bottom: 3px solid var(--yellow); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 13px 8px; border-bottom: 1px solid var(--charcoal-3); }
  .site-nav a[aria-current="page"]:not(.nav-cta) { box-shadow: inset 4px 0 0 var(--yellow); padding-left: 14px; }
  .nav-cta { margin: 14px 0 0; }
}
@media (max-width: 880px) { .wrap { padding: 0 16px; } }

/* Sections */
.band { padding: 88px 0; }
.band-tight { padding: 64px 0; }
.on-dark { background: var(--charcoal); color: var(--white); }
.on-dark p { color: #D1D5DB; }
.on-wash { background: var(--wash); }
.on-yellow { background: var(--yellow); color: var(--charcoal); }
.lede { font-size: 19px; color: var(--muted); max-width: 62ch; }
.on-dark .lede { color: #D1D5DB; }
.section-head { max-width: 760px; margin-bottom: 40px; }

/* Hero */
.hero { background: var(--charcoal); color: var(--white); padding: 72px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lede { margin-bottom: 28px; }
.hero-viewer { background: var(--white); border-radius: 18px; padding: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.figs { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin: 36px 0 0; border-top: 1px solid var(--charcoal-3); padding-top: 18px; }
.figs > div { padding-right: 28px; }
.figs > div + div { padding-left: 28px; border-left: 1px solid var(--charcoal-3); }
.figs dt { font-size: 14px; color: var(--grey); margin-bottom: 2px; }
.figs dd { margin: 0; font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1.15; color: var(--yellow); }
.figs dt, .figs dd { white-space: nowrap; }
@media (max-width: 1180px) { .figs > div { padding-right: 18px; } .figs > div + div { padding-left: 18px; } .figs dd { font-size: 23px; } }
@media (max-width: 520px) {
  .figs { grid-template-columns: repeat(2, auto); row-gap: 16px; }
  .figs > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding: 48px 0 60px; }
}

/* Cards */
/* Workshop route: the four steps a chamber goes through before dispatch, read along one line */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.route::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--charcoal); }
.route li { position: relative; padding: 38px 28px 0 0; }
.route li::before { content: ''; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 999px; background: var(--yellow); border: 2px solid var(--charcoal); }
.route li:last-child::before { background: var(--charcoal); }
.route h3 { margin-bottom: 8px; }
.route p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 880px) {
  .route { grid-template-columns: minmax(0, 1fr); }
  .route::before { display: none; }
  .route li:not(:last-child)::after { content: ''; position: absolute; left: 9px; top: 20px; bottom: 0; width: 2px; background: var(--charcoal); }
  .route li { padding: 0 0 28px 40px; }
  .route li:last-child { padding-bottom: 0; }
}

/* Split media */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split img { border-radius: var(--r); }
.split-rev > :first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } .split-rev > :first-child { order: 0; } }

/* Ticks */
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 4px; background: var(--yellow); }
.ticks li::after { content: ''; position: absolute; left: 6px; top: calc(.35em + 3px); width: 5px; height: 9px; border: solid var(--charcoal); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Specification table */
.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { text-align: left; padding: 15px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-family: var(--body); font-weight: 600; color: var(--muted); width: 42%; }
.spec td { font-weight: 600; font-size: 16px; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 2px solid var(--charcoal); }
.spec .tbc { font-family: var(--body); color: var(--muted); font-style: italic; }
.spec .spec-group th { font-family: var(--head); font-weight: 700; color: var(--ink); font-size: 18px; padding-top: 26px; border-bottom: 2px solid var(--charcoal); }
.spec tr.spec-group:first-child th { padding-top: 15px; }
.spec-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 8px 0; }

/* Also available */
.mentions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.mentions > div { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.mentions > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.mentions p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 880px) { .mentions { grid-template-columns: minmax(0, 1fr); } .mentions > div + div { padding-left: 0; border-left: 0; } }

/* Heritage band */
.heritage { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; }
.heritage .year { font-family: var(--head); font-weight: 800; font-size: clamp(64px, 9vw, 112px); line-height: 1; color: var(--yellow); }
@media (max-width: 720px) { .heritage { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* CTA band */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; }
.cta .phone { align-self: center; font-family: var(--head); font-size: 20px; font-weight: 700; color: var(--charcoal); text-decoration: none; }

/* Page head */
.page-head { background: var(--charcoal); color: var(--white); padding: 56px 0 52px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 50px); color: var(--white); }
.page-head .lede { margin: 0; }
.crumbs { font-size: 14px; color: var(--grey); margin-bottom: 14px; }
.crumbs a { color: var(--grey); }

/* Viewer stage */
.stage { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 10px; margin-top: -36px; position: relative; box-shadow: 0 18px 40px rgba(31, 41, 51, .12); }
.band-flush { padding-top: 0; }
.after { margin: 22px 0 0; }
.val { font-weight: 600; color: var(--charcoal); white-space: nowrap; }

/* Parts list under the viewer: the crawlable content behind the hotspots */
.parts-h { font-size: 22px; margin: 36px 0 14px; }
.parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.parts button { width: 100%; height: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left; font: inherit; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.parts button:hover { border-color: var(--charcoal); }
.parts button:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 2px; }
.parts .is-active button { border-color: var(--charcoal); background: var(--wash); }
.part-n { flex: none; width: 28px; height: 28px; border-radius: 999px; border: 2px solid var(--charcoal); background: var(--yellow); font-family: var(--head); font-weight: 700; font-size: 13px; line-height: 24px; text-align: center; }
.parts .is-active .part-n { background: var(--charcoal); color: var(--yellow); }
.parts strong { display: block; font-family: var(--head); font-size: 15px; line-height: 1.3; margin-bottom: 4px; }
.part-body { display: block; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* Download */
.download { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: var(--white); }
.download .doc { flex: none; width: 46px; height: 58px; border: 2px solid var(--charcoal); border-radius: 4px; position: relative; font-family: var(--head); font-size: 11px; font-weight: 700; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; }
.download .doc::before { content: ''; position: absolute; top: -2px; right: -2px; width: 14px; height: 14px; background: var(--white); border-left: 2px solid var(--charcoal); border-bottom: 2px solid var(--charcoal); }
.download h3 { margin-bottom: 4px; }
.download p { margin: 0; color: var(--muted); font-size: 15px; }
.dl-ask { display: inline-block; margin-top: 10px; font-weight: 600; }

/* Explainer */
.explain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 56px; }
.explain > div { border-top: 1px solid var(--line); padding-top: 18px; }
.explain p { color: var(--muted); margin: 0; }
.spec-narrow { max-width: 820px; }
.explain h3 { font-size: 24px; margin-bottom: 6px; }
@media (max-width: 880px) { .explain { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 600px) { .form .row2 { grid-template-columns: minmax(0, 1fr); } }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1.5px solid #C9CED4; border-radius: 8px; padding: 12px 14px; }
.field input:focus, .field textarea:focus { border-color: var(--charcoal); outline: 3px solid rgba(255, 209, 0, .55); outline-offset: 0; }
.field textarea { min-height: 150px; resize: vertical; }
.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { font-weight: 600; font-size: 15px; margin-bottom: 4px; padding: 0; }
.choice .hint { color: var(--muted); font-size: 15px; margin: 0 0 10px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-row label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border: 1.5px solid #C9CED4; border-radius: 8px; background: var(--white); font-size: 16px; cursor: pointer; }
.choice-row input { width: 20px; height: 20px; margin: 0; accent-color: var(--charcoal); }
.choice-row label:has(input:checked) { border-color: var(--charcoal); box-shadow: inset 0 0 0 1px var(--charcoal); }
.choice-row input:focus-visible { outline: 3px solid rgba(255, 209, 0, .8); outline-offset: 2px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; margin: 0; }
.form-status.ok { color: #166534; }
.form-status.err { color: #B91C1C; }
.aside { background: var(--wash); border-radius: var(--r); padding: 28px 26px; }
.aside-call { margin: 0 0 22px; }
.form-h { font-size: 22px; margin: 0; }
/* On phones the call button comes first: most contractors will ring rather than type. */
@media (max-width: 880px) { .contact-grid .aside { order: -1; } }
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline:hover { background: var(--wash); }
.thanks { min-height: 46vh; }
.thanks .prose h2 { margin-top: 0; }
.next { padding-left: 1.2em; margin: 0 0 28px; }
.next li { margin-bottom: 8px; }
.on-dark .lede a { color: var(--yellow); }
.aside dl { margin: 0; }
.aside dt { font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 20px; }
.aside dt:first-child { margin-top: 0; }
.aside dd { margin: 4px 0 0; font-size: 18px; }
.aside dd a { text-decoration: none; font-weight: 600; }
.aside dd a:hover { text-decoration: underline; }

/* Prose */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.4em; }

/* Footer */
.site-foot { background: var(--charcoal); color: #D1D5DB; padding: 64px 0 0; font-size: 15px; border-top: 3px solid var(--yellow); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.logo-pair { margin-bottom: 14px; }
.logo-pair .logo-mark { height: 64px; }
.logo-pair .logo-type { height: 72px; }
.foot-h { font-family: var(--head); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); margin: 0 0 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: var(--white); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: var(--yellow); }
.site-foot .muted { color: var(--grey); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid var(--charcoal-3); padding-top: 20px; padding-bottom: 28px; font-size: 14px; color: var(--grey); }
.foot-base a { color: #E5E7EB; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-brand { grid-column: 1 / -1; } }

/* FAQs */
.faq-list { max-width: 820px; border-top: 2px solid var(--charcoal); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--head); font-weight: 700; font-size: 19px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; border: solid var(--charcoal); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:focus-visible { outline: 3px solid rgba(255, 209, 0, .8); outline-offset: 2px; }
.faq-a { padding: 0 0 22px; max-width: 70ch; }
.faq-a p { color: var(--muted); margin: 0 0 12px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a .sum { font-family: var(--head); font-weight: 700; color: var(--ink); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
