/* LSQ Facilities Group — site styles (design A: calm and architectural)
   Light type, generous space, photography first. Navy is the only strong colour;
   sage appears only as the underline on text links. */

:root {
  --ink: #12263A;
  --text: #34414C;
  --muted: #5C6872;
  --mist: #F3F4F1;
  --paper: #FFFFFF;
  --line: #D9DDD8;
  --field: #C3CAC6;
  --accent: #4E6B5C;
  --accent-hover: #3B5547;
  --footer: #0D1C2B;
  --ok: #1E6B45;
  --err: #A8261E;

  --font: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 60px);
  --space: clamp(104px, 12vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--accent-hover); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-weight: 300; }
h1 { font-size: clamp(50px, 7vw, 100px); line-height: 0.98; letter-spacing: -0.042em; }
h2 { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
h3 { font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.005em; }
.h3-large { font-size: clamp(30px, 2.8vw, 40px); font-weight: 300; line-height: 1.05; letter-spacing: -0.025em; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #FFFFFF; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--ink); color: rgba(255, 255, 255, 0.76); }
.section--navy h2, .section--navy h3 { color: #FFFFFF; }
.section--flush-top { padding-top: 0; }
.muted { color: var(--muted); }
.lede { font-size: 20px; line-height: 1.6; max-width: 30em; }
.intro { max-width: 760px; margin-bottom: clamp(56px, 6vw, 88px); }
.intro h2 { margin-bottom: 24px; }
.intro p { color: var(--muted); max-width: 32em; margin: 0; }

/* Buttons and text links */
.btn {
  display: inline-block; font: 500 16px/1 var(--font);
  padding: 17px 28px; border-radius: 2px; border: 0; cursor: pointer;
  text-decoration: none; background: var(--ink); color: #FFFFFF;
  transition: background-color .15s;
}
.btn:hover { background: #1D3954; color: #FFFFFF; }
.btn--light { background: #FFFFFF; color: var(--ink); }
.btn--light:hover { background: #E6EAE7; color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link {
  font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.link:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo__lsq { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.logo__bar { width: 1.5px; height: 28px; background: currentColor; }
.logo__words { display: flex; flex-direction: column; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; line-height: 1.35; }
.logo--light { color: #FFFFFF; }
.logo--light:hover { color: #FFFFFF; }
.logo--light .logo__bar { background: rgba(255, 255, 255, 0.55); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); list-style: none; margin: 0; padding: 0; }
.nav__link { font-size: 16px; text-decoration: none; padding: 6px 0; }
.nav__link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; text-decoration-thickness: 1px; }
.nav__item { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 14px); left: -24px; min-width: 260px;
  list-style: none; margin: 0; padding: 14px 0; background: #FFFFFF;
  box-shadow: 0 20px 50px -20px rgba(18, 38, 58, 0.3);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility 0s .15s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--menu:hover .submenu,
.nav__item--menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
.submenu a { display: block; padding: 8px 24px; font-size: 16px; text-decoration: none; }
.nav .btn { padding: 13px 22px; font-size: 15px; }

.menu-toggle {
  display: none; background: none; border: 0; padding: 10px 0; cursor: pointer;
  font: 500 16px/1 var(--font); color: var(--ink); align-items: center; gap: 10px;
}
.menu-toggle__icon { width: 20px; height: 10px; position: relative; }
.menu-toggle__icon::before, .menu-toggle__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s;
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: translateY(4.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 960px) {
  .site-header__inner { height: 76px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #FFFFFF; padding: 12px var(--gutter) 32px;
    max-height: calc(100vh - 76px); overflow-y: auto;
    box-shadow: 0 30px 40px -30px rgba(18, 38, 58, 0.35);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; font-size: 24px; font-weight: 300; padding: 12px 0; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 12px; min-width: 0; }
  .submenu::before { display: none; }
  .submenu a { padding: 6px 0 6px 18px; font-size: 17px; color: var(--muted); }
  .nav .btn { align-self: flex-start; margin-top: 20px; padding: 16px 26px; font-size: 16px; }
}

/* Hero (home) and page heads */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; padding-top: clamp(16px, 3vw, 40px); }
.hero__text { display: flex; flex-direction: column; gap: 40px; padding-block: clamp(16px, 3vw, 40px); }
.hero__text .lede { margin: 0; }
.hero__media { position: relative; min-height: clamp(400px, 56vw, 800px); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--page .hero__media { min-height: clamp(320px, 42vw, 600px); }
.hero--page h1 { font-size: clamp(46px, 6vw, 84px); }
.page-head { padding-block: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 56px); }
.page-head h1 { font-size: clamp(46px, 6vw, 84px); margin-bottom: 28px; }
.page-head .lede { margin: 0; }
.crumbs { font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--field); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Services, staggered (home) */
.stagger { display: flex; flex-wrap: wrap; gap: clamp(56px, 6vw, 96px) clamp(32px, 5vw, 80px); align-items: flex-start; }
.stagger__col { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: clamp(56px, 6vw, 96px); }
.stagger__col--offset { padding-top: clamp(0px, 10vw, 160px); }
.service { display: flex; flex-direction: column; gap: 24px; }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service h3 a { text-decoration: none; }
.service h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.service p { margin: 0; max-width: 30em; }
.after-note { margin: clamp(56px, 6vw, 88px) 0 0; max-width: 40em; font-size: 17px; color: var(--muted); }

/* Services, alternating rows (services page) */
.rows { display: flex; flex-direction: column; gap: clamp(80px, 9vw, 136px); }
.row { display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.row:nth-child(even) { flex-direction: row-reverse; }
.row__media { flex: 1.1 1 440px; min-width: 0; }
.row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.row__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.row__text p { margin: 0; }

/* Full-bleed photo with text */
.photo-band img { width: 100%; height: clamp(320px, 46vw, 680px); object-fit: cover; }
.photo-band__text { display: flex; justify-content: flex-end; padding-block: clamp(64px, 7vw, 104px) var(--space); }
.photo-band__text > div { max-width: 680px; display: flex; flex-direction: column; gap: 32px; }
.statement { font-weight: 300; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.32; letter-spacing: -0.015em; color: var(--ink); margin: 0; }

/* Two-column text (heading left, prose right) */
.split { display: flex; flex-wrap: wrap; gap: 40px clamp(48px, 8vw, 128px); align-items: flex-start; }
.split > h2 { flex: 1 1 360px; }
.split__body { flex: 1.3 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; font-size: 20px; line-height: 1.65; }
.split__body p { margin: 0; }

/* Typographic name grid (sectors, property types) */
.names { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 44px 56px; }
.names > div { display: flex; flex-direction: column; gap: 6px; }
.names strong { font-size: 28px; font-weight: 300; letter-spacing: -0.015em; line-height: 1.2; color: var(--ink); }
.names span { font-size: 16px; color: var(--muted); }

/* Columns of headed lists (scope, compliance) */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 56px 56px; }
.cols--4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 48px 40px; }
.cols h3 { margin-bottom: 14px; }
.cols p { color: var(--muted); font-size: 17px; }
.plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 17px; line-height: 1.45; }
.points { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 10px; }
.points li::marker { color: var(--accent); }
.section--navy .plain { color: rgba(255, 255, 255, 0.72); }

/* Contact band */
.contact-band { display: flex; flex-wrap: wrap; gap: 64px clamp(48px, 8vw, 128px); align-items: flex-end; }
.contact-band__main { flex: 1.3 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.contact-band__main p { margin: 0; max-width: 30em; font-size: 19px; }
.contact-band__main .btn { align-self: flex-start; margin-top: 8px; }
.contact-band address { flex: 1 1 320px; font-style: normal; display: flex; flex-direction: column; gap: 10px; font-size: 18px; line-height: 1.5; }
.contact-band address a { color: #FFFFFF; text-decoration: none; font-size: clamp(22px, 2vw, 26px); margin-bottom: 6px; }
.contact-band address a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Other services list on service pages */
.others { display: flex; flex-wrap: wrap; gap: 20px clamp(32px, 5vw, 72px); }
.others a { font-size: clamp(26px, 2.6vw, 36px); font-weight: 300; letter-spacing: -0.02em; text-decoration: none; }
.others a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 8px; }

/* Careers roles */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 48px 40px; }
.roles > div { display: flex; flex-direction: column; gap: 10px; }
.roles p { margin: 0; }
.roles .terms { color: var(--muted); font-size: 16px; }

/* Forms */
.form-layout { display: flex; flex-wrap: wrap; gap: 56px clamp(48px, 8vw, 128px); align-items: flex-start; }
.form-layout__aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.form-layout__form { flex: 1.6 1 520px; min-width: 0; }
.details { margin: 0; display: flex; flex-direction: column; gap: 24px; }
.details dt { font-size: 15px; color: var(--muted); margin-bottom: 2px; }
.details dd { margin: 0; font-size: 19px; color: var(--ink); line-height: 1.5; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 500; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--text); width: 100%;
  padding: 14px 16px; background: #FFFFFF; border: 1px solid var(--field); border-radius: 2px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select {
  appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__error { font-size: 15px; color: var(--err); }
.field__error:empty { display: none; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; }
.form__note { margin: 0; flex: 1 1 260px; font-size: 15px; color: var(--muted); }
.form__status { grid-column: 1 / -1; padding: 16px 18px; font-size: 17px; }
.form__status:empty { display: none; }
.form__status--ok { background: #E7F1EB; color: var(--ok); }
.form__status--err { background: #FAEAE8; color: var(--err); }
.hp { position: absolute; left: -9999px; }

.map { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(1) contrast(1.05); }

/* Legal */
.prose { max-width: 70ch; }
.prose h2 { font-size: 30px; letter-spacing: -0.02em; margin: 56px 0 16px; }
.prose h3 { font-size: 20px; margin: 32px 0 10px; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--accent); }

/* Footer */
.site-footer { background: var(--footer); color: rgba(255, 255, 255, 0.64); padding-block: 56px 40px; font-size: 15px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 48px; margin-bottom: 40px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.site-footer a { color: rgba(255, 255, 255, 0.84); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 5px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14px; }
.site-footer__bottom div { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__bottom a { color: rgba(255, 255, 255, 0.64); }

@media (max-width: 720px) {
  body { font-size: 17px; }
  .lede, .split__body { font-size: 18px; }
  .hero__text { gap: 28px; }
  .row:nth-child(even) { flex-direction: row; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
