/* Construction Connects — shared visual system */
:root {
  --ink: #181b1a;
  --muted: #656b65;
  --orange: #ff601b;
  --orange-text: #dc4b0b;
  --paper: #fafbf8;
  --line: #dedfd9;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 Manrope, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 550; }
::selection { background: #ffc2a5; color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange-text); outline-offset: 5px; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; background: white; padding: 12px 20px; }
.skip-link:focus { top: 15px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 700; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; }
.square { display: inline-block; flex: 0 0 7px; height: 7px; background: var(--orange); }
.section { padding-block: 88px; }
h2 { font-size: clamp(2.2rem, 3.65vw, 3.25rem); line-height: 1.18; letter-spacing: -.042em; }
h2 span { color: #70786d; }
.section-heading { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: end; }
.section-label { color: var(--muted); margin-bottom: 24px; }
.section-heading > p { color: var(--muted); max-width: 370px; justify-self: end; }

/* Navigation */
.header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; font-size: 1.1875rem; font-weight: 800; line-height: 1.08; letter-spacing: -.04em; }
.brand img { width: 43px; height: 43px; border-radius: 50%; }
.brand > span > span { display: block; }
.brand-stop { color: var(--orange-text); }
.main-nav, .footer-nav { display: flex; gap: 32px; align-items: center; }
.main-nav a, .footer-nav a { font-size: .875rem; font-weight: 600; padding-block: 12px; transition: color .2s; }
.main-nav a:hover, .footer-nav a:hover { color: var(--orange-text); }
.mobile-contact, .menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 52px; padding: 14px 22px; border: 1px solid transparent; border-radius: 7px; font-size: .875rem; font-weight: 700; line-height: 1.5; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button > span { font-size: 1.3rem; line-height: 1; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #343a35; }
.button-orange { background: var(--orange); color: #171a17; }
.button-orange:hover { background: #ee5311; }
.header-cta { min-height: 46px; padding: 11px 20px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; border-bottom: 1px solid #b9bdb4; font-size: .875rem; font-weight: 650; transition: border-color .2s; }
.text-link:hover { border-color: var(--ink); }

/* Homepage */
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; padding-block: 48px; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 12px; }
h1 { font-size: clamp(3.8rem, 6.55vw, 6rem); line-height: 1.045; letter-spacing: -.055em; margin-block: 25px; }
h1 > span { color: var(--orange-text); }
.hero-description { max-width: 450px; font-size: 1.0625rem; line-height: 1.8; color: var(--muted); }
.hero-actions { display: flex; gap: 25px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.hero-note { border-left: 2px solid var(--orange); padding-left: 12px; color: var(--muted); font-size: .8125rem; margin-top: 30px; }
.hero-visual { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 575px; border-radius: var(--radius); padding: 27px; color: white; background: #27342d; }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-visual::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #101a1a50, transparent 38%, #101a1a55); pointer-events: none; }
.visual-topline { display: flex; justify-content: space-between; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.workflow { background: rgba(24,27,26,.94); border: 1px solid #ffffff38; border-radius: 10px; padding: 23px; backdrop-filter: blur(12px); }
.workflow-heading { display: flex; align-items: center; gap: 9px; font-size: 1rem; font-weight: 600; }
.workflow-steps { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-block: 21px; }
.workflow-steps > span { font-size: .875rem; line-height: 1.5; }
.workflow-steps small { display: block; font-size: .75rem; color: #b4bcb0; margin-bottom: 5px; }
.workflow-steps i { font-style: normal; color: var(--orange); font-size: 1.2rem; }
.workflow-caption { border-top: 1px solid #ffffff26; padding-top: 13px; font-size: .75rem; color: #bdc4b9; }
.industry-strip { border-block: 1px solid var(--line); }
.industry-inner { display: flex; gap: 40px; justify-content: space-between; align-items: center; padding-block: 23px; }
.industry-inner > p { color: var(--muted); }
.industry-inner ul { display: flex; justify-content: space-between; gap: 45px; flex: 0 1 700px; margin: 0; padding: 0; list-style: none; }
.industry-inner li { font-size: .875rem; font-weight: 600; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 46px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #ffffff70; }
.service { display: flex; flex-direction: column; padding: 32px 36px 22px; }
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.service-number { color: var(--orange-text); font-size: .875rem; font-weight: 650; }
.service-top .eyebrow { color: var(--muted); }
.service h3 { font-size: clamp(1.375rem, 2.15vw, 1.75rem); letter-spacing: -.035em; line-height: 1.3; margin-bottom: 14px; }
.service > p { color: var(--muted); line-height: 1.8; max-width: 46ch; margin-bottom: 24px; }
.service details { margin-top: auto; border-top: 1px solid var(--line); }
.service summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 58px; padding-block: 13px; font-size: .875rem; font-weight: 650; list-style: none; cursor: pointer; }
.service summary::-webkit-details-marker { display: none; }
.service summary:hover { color: var(--orange-text); }
.plus { flex: 0 0 14px; height: 14px; position: relative; }
.plus::before, .plus::after { content: ''; position: absolute; background: currentColor; width: 14px; height: 1.5px; top: 6px; left: 0; }
.plus::after { transform: rotate(90deg); transition: transform .2s; }
details[open] .plus::after { transform: rotate(0); }
.service ul { list-style: none; padding: 0; margin: 0 0 8px; color: var(--muted); font-size: .9375rem; }
.service li { position: relative; padding-left: 18px; margin-block: 9px; }
.service li::before { content: ''; position: absolute; width: 4px; height: 4px; background: var(--orange-text); left: 0; top: 11px; }

/* Implementation */
.approach { background: var(--ink); color: #f5f6f0; }
.approach .section-heading { grid-template-columns: 1.65fr 1fr; }
.approach .section-label, .approach .section-heading > p { color: #bcc3b6; }
.approach h2 span { color: var(--orange); }
.process { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 38px; margin: 52px 0 0; padding: 0; list-style: none; }
.process > li { border-top: 1px solid #ffffff35; padding-top: 24px; }
.step-count { display: block; margin-bottom: 22px; font-size: .8125rem; color: var(--orange); font-weight: 600; }
.process h3 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 13px; }
.process p { color: #bcc3b6; font-size: 1rem; line-height: 1.8; }

/* Construction focus */
.principles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 45px; margin-top: 44px; }
.principles article { border-top: 1px solid var(--line); padding-top: 25px; }
.principle-number { font-size: .8125rem; color: var(--orange-text); font-weight: 600; }
.principles h3 { font-size: 1.375rem; line-height: 1.4; letter-spacing: -.025em; margin-block: 18px 12px; }
.principles p { color: var(--muted); line-height: 1.85; }

/* Enquiries */
.contact { background: var(--orange); border-radius: var(--radius); padding: 50px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 45px; align-items: center; }
.contact .section-label { color: var(--ink); margin-bottom: 24px; }
.contact h2 { font-size: clamp(2rem,3.3vw,2.875rem); line-height: 1.2; }
.contact-content > p:last-child { margin-top: 22px; color: #392115; line-height: 1.8; }
.contact-action { border-left: 1px solid #181b1a40; padding-left: 42px; }
.contact-link { width: 100%; justify-content: space-between; }
.contact-email { display: inline-block; font-size: .875rem; font-weight: 650; margin-top: 19px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-action > p { max-width: 32ch; margin-top: 22px; font-size: .875rem; line-height: 1.75; color: #392115; }
.contact :focus-visible { outline-color: var(--ink); }

/* Footer */
.footer { padding-block: 48px 22px; }
.footer-top { display: flex; align-items: center; gap: 48px; padding-bottom: 35px; }
.footer-top > p { font-size: .875rem; color: var(--muted); line-height: 1.7; }
.footer-nav { margin-left: auto; gap: 30px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.footer-bottom a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--ink); font-size: .875rem; }

/* Tablet */
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 36px; }
  .hero-visual { min-height: 550px; padding: 21px; }
  .hero-actions { gap: 15px; }
  .hero-description { font-size: 1rem; }
  .workflow { padding: 18px; }
  .workflow-steps { gap: 7px; }
  .workflow-steps > span { font-size: .8125rem; }
  .section-heading { gap: 36px; }
  .service { padding: 28px 28px 16px; }
  .process { gap: 26px; }
  .principles { gap: 30px; }
  .contact { padding: 38px; gap: 30px; }
  .contact-action { padding-left: 28px; }
  .footer-top { gap: 28px; }
  .footer-nav { gap: 20px; }
}

/* Mobile navigation and layouts */
@media (max-width: 820px) {
  html { scroll-padding-top: 95px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 16px; flex-wrap: wrap; }
  .brand { font-size: 1.0625rem; }
  .brand img { width: 38px; height: 38px; }
  .header-cta { margin-left: auto; min-height: 44px; padding: 10px 15px; }
  .main-nav { flex-basis: 100%; justify-content: space-between; order: 3; gap: 12px; }
  .main-nav a { font-size: .875rem; }
  .header[data-enhanced] .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 15px 20px 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px #181b1a08; flex-direction: column; align-items: stretch; gap: 0; }
  .header[data-enhanced] .main-nav.is-open { display: flex; }
  .header[data-enhanced] .main-nav a { padding: 13px 8px; }
  .mobile-contact { display: block; }
  .menu-toggle { display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 6px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: transparent; flex: none; }
  .menu-toggle > span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; padding-block: 34px; gap: 30px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(3.6rem,10.5vw,5rem); margin-block: 23px; }
  .hero-description { max-width: 530px; font-size: 1.0625rem; }
  .hero-actions { gap: 20px; margin-top: 25px; }
  .hero-note { margin-top: 25px; }
  .hero-visual { min-height: 390px; padding: 23px; }
  .hero-photo { object-position: 50% 40%; }
  .workflow { max-width: 430px; width: 100%; padding: 21px; }
  .workflow-steps > span { font-size: .875rem; }
  .industry-inner { flex-direction: column; align-items: flex-start; gap: 15px; padding-block: 22px; }
  .industry-inner ul { flex: auto; justify-content: flex-start; gap: 16px 28px; flex-wrap: wrap; }
  .section { padding-block: 64px; }
  .section-heading, .approach .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p { justify-self: start; max-width: 530px; }
  .section-label { margin-bottom: 20px; }
  h2 { font-size: clamp(2.125rem,5.8vw,2.8rem); }
  .service-grid { margin-top: 32px; }
  .service { padding: 24px 22px 12px; }
  .service h3 { font-size: 1.5rem; }
  .service-top { margin-bottom: 22px; }
  .process { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; margin-top: 36px; }
  .principles { gap: 25px; }
  .principles h3 { font-size: 1.25rem; }
  .contact { grid-template-columns: 1fr; padding: 34px; gap: 30px; }
  .contact-action { padding: 26px 0 0; border-left: 0; border-top: 1px solid #181b1a40; }
  .contact-link { width: auto; min-width: 200px; }
  .contact-email { display: block; width: fit-content; }
  .contact-action > p { max-width: 46ch; margin-top: 18px; }
  .footer-top { flex-wrap: wrap; gap: 25px; }
  .footer-nav { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-visual { min-height: 350px; padding: 19px; }
  .workflow { padding: 18px; }
  .workflow-caption { line-height: 1.7; }
  .service-grid { grid-template-columns: 1fr; }
  .service { padding: 26px 24px 14px; }
  .service:nth-child(odd) { border-right: 0; }
  .service:not(:last-child) { border-bottom: 1px solid var(--line); }
  .service h3 { font-size: 1.5rem; }
  .service > p { margin-bottom: 20px; }
  .process { grid-template-columns: 1fr; gap: 24px; }
  .process > li { display: grid; grid-template-columns: 28px 1fr; gap: 18px; padding-top: 23px; }
  .step-count { padding-top: 4px; margin: 0; }
  .process h3 { font-size: 1.375rem; margin-bottom: 10px; }
  .principles { grid-template-columns: 1fr; margin-top: 30px; gap: 26px; }
  .principles h3 { font-size: 1.375rem; margin-top: 15px; }
  .contact { padding: 30px 25px; }
  .contact h2 { font-size: 2rem; }
  .contact h2 br { display: none; }
  .contact-content > p:last-child { margin-top: 20px; }
  .contact-link { width: 100%; }
  .footer { padding-top: 38px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: 24px; }
  .footer-bottom { flex-wrap: wrap; gap: 8px 20px; }
  .footer-nav { gap: 25px; flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .hero-visual { padding: 15px; }
  .workflow { padding: 15px; }
  .workflow-steps { gap: 5px; }
  .workflow-steps > span { font-size: .8125rem; }
  .contact { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
