/* Reading Security Ltd — site styles
   Design notes
   - Palette: deep navy, cool mist, white, one restrained gold accent.
   - Type: Inter Display (headlines, tight and heavy) with Inter (text). Self-hosted.
   - Signature device: the logo's chamfered shield corner, reused as a cut
     top-right corner on photography and key panels. Nothing else decorates.
*/

@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-ExtraBold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --ink: #0A1628;
  --navy: #112441;
  --navy-2: #1B3560;
  --text: #1C2738;
  --muted: #4E5D72;
  --mist: #EEF2F7;
  --line: #D6DDE7;
  --gold: #C9A14A;
  --gold-hi: #D9B865;
  --gold-ink: #7E6019;
  --on-dark: #C5D0DF;
  --white: #FFFFFF;
  --error: #B42318;
  --focus: #1F5BD8;

  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Display", "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --chamfer: 22px;
  --section: clamp(64px, 9vw, 120px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.h-sm { font-size: 1.5rem; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-dark, .site-header, .site-footer, .section-navy, .hero, .banner, .page-head, .cta-band, .side-card { --focus: var(--gold-hi); }

.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 { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(780px + var(--gutter) * 2); }
.center { text-align: center; }

/* ---------------------------------------------------------------- chamfer */
.cut, .cut-img { clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%); }
.cut { background: var(--navy); overflow: hidden; }
.cut img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1.2 var(--font);
  padding: 13px 22px; border: 2px solid transparent; border-radius: 2px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn-lg { padding: 16px 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); color: var(--ink); }
.btn-navy { background: var(--ink); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, .75); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }

.link-arrowless, .text-link { font-weight: 600; color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 46px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > ul { list-style: none; display: flex; gap: 6px; align-items: center; }
.primary-nav > ul > li > a { display: inline-block; color: var(--white); text-decoration: none; font-weight: 500; font-size: .975rem; padding: 10px 10px; border-bottom: 2px solid transparent; }
.primary-nav > ul > li > a:hover, .primary-nav > ul > li > a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--white); }
.has-menu { position: relative; display: flex; align-items: center; }
.menu-toggle { background: none; border: 0; color: var(--white); padding: 10px 6px; margin-left: -6px; cursor: pointer; display: inline-flex; }
.menu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 14px); left: -20px; width: 520px;
  background: var(--white); color: var(--text); padding: 22px 24px 18px;
  box-shadow: 0 18px 40px rgba(10, 22, 40, .22); border-top: 3px solid var(--gold);
  --focus: #1F5BD8;
}
.menu ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 20px; }
.menu a { display: block; padding: 7px 0; color: var(--ink); text-decoration: none; font-size: .95rem; }
.menu a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.menu .menu-all { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.nav-toggle { display: none; }
.header-cta { padding: 11px 18px; }

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid rgba(255, 255, 255, .35);
    color: var(--white); font: 600 .95rem var(--font); padding: 10px 14px; border-radius: 2px; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 12px var(--gutter) 32px; gap: 20px; overflow-y: auto; display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .primary-nav > ul > li > a { font-size: 1.15rem; padding: 16px 0; border: 0; }
  .has-menu { flex-wrap: wrap; justify-content: space-between; }
  .menu-toggle { padding: 16px 8px; }
  .menu { position: static; width: 100%; box-shadow: none; background: transparent; border: 0; padding: 0 0 12px; --focus: var(--gold-hi); }
  .menu ul { grid-template-columns: 1fr; }
  .menu a { color: var(--on-dark); padding: 9px 0 9px 14px; border-left: 2px solid rgba(255, 255, 255, .12); }
  .menu .menu-all { color: var(--white); border-top: 0; margin-top: 4px; }
  .header-cta { padding: 16px; font-size: 1.05rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand img { height: 38px; } .nav-toggle-label { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--ink); min-height: clamp(560px, 88vh, 820px); display: flex; flex-direction: column; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, .94) 0%, rgba(10, 22, 40, .82) 38%, rgba(10, 22, 40, .38) 75%, rgba(10, 22, 40, .25) 100%),
    linear-gradient(0deg, rgba(10, 22, 40, .7) 0%, rgba(10, 22, 40, 0) 35%);
}
.hero-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 72px; }
.hero-title { color: var(--white); font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: .98; letter-spacing: -0.035em; max-width: 12.5ch; }
.hero-lede { font-size: clamp(1.075rem, 1.6vw, 1.25rem); color: #DCE3ED; max-width: 50ch; margin: 28px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot { border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-foot p { margin: 0; padding: 18px 0; color: var(--on-dark); font-size: .95rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-title, .hero-lede, .hero-actions { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-lede { animation-delay: .12s; }
  .hero-actions { animation-delay: .22s; }
  .hero-img { animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }

/* ---------------------------------------------------------------- sections */
.section { padding: var(--section) 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: var(--on-dark); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.125rem; margin: 0; }
.section-navy .section-head p { color: var(--on-dark); }
.lede { font-size: clamp(1.075rem, 1.5vw, 1.2rem); }
.prose h2 { margin: 1.6em 0 .55em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose h3:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 68ch; }
.prose ul:not([class]) { padding-left: 1.2em; margin: 0 0 1em; }
.prose ul:not([class]) li { margin-bottom: .35em; }
.display-sm { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.08; }

.intro-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-grid .prose { font-size: 1.125rem; }

/* Services: featured four with photography, the rest as an index */
.service-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service-feature-link { text-decoration: none; color: inherit; display: block; }
.service-feature .cut { aspect-ratio: 4 / 3; margin-bottom: 18px; }
.service-feature h3 { font-size: 1.3rem; margin-bottom: 8px; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color .15s; }
.service-feature-link:hover h3 { text-decoration-color: var(--gold); }
.service-feature p { color: var(--muted); font-size: 1rem; margin: 0; }
.service-index { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin-top: 56px; border-top: 2px solid var(--ink); }
.service-index li, .related li { border-bottom: 1px solid var(--line); }
.service-index a, .related a { display: grid; grid-template-columns: minmax(180px, 2fr) 3fr; gap: 16px; padding: 18px 0; text-decoration: none; color: inherit; align-items: baseline; }
.si-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.si-sum { color: var(--muted); font-size: .975rem; }
.service-index a:hover .si-name, .related a:hover .si-name { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Why choose us */
.why-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.why-intro h2 { margin-bottom: 16px; }
.why-intro > p { font-size: 1.125rem; max-width: 40ch; }
.why-img { margin-top: 36px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; max-height: 520px; background: var(--navy-2); }
.why-points { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 40px; padding-top: 8px; }
.why-point { border-top: 3px solid var(--gold); padding-top: 22px; }
.why-point h3 { font-size: 1.35rem; margin-bottom: 10px; }
.why-point p { margin: 0; }

/* Industries */
.industry-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.industry a { display: block; text-decoration: none; color: inherit; }
.industry .cut { aspect-ratio: 3 / 2; margin-bottom: 14px; }
.industry-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.industry a:hover .industry-name { text-decoration-color: var(--gold); }

/* Process: a real sequence, so it is numbered */
.process { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.process li { counter-increment: step; position: relative; padding-top: 72px; }
.process li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold); font: 800 1.35rem var(--font-display);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.process li::after { content: ""; position: absolute; top: 23px; left: 64px; right: -16px; height: 2px; background: var(--line); }
.process li:last-child::after { display: none; }
.process h3 { margin-bottom: 8px; }
.process p { color: var(--muted); margin: 0; }
.process-cta { margin: 48px 0 0; }

/* FAQs */
.faq-wrap { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side h2 { margin-bottom: 14px; }
.faq-side p { color: var(--muted); }
.faq-list { border-top: 2px solid var(--ink); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 1.125rem; font-weight: 700; }
.faq-icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: var(--ink); transition: transform .2s; }
.faq-icon::after { transform: rotate(90deg); }
.faq[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 48px 22px 0; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 16px; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--on-dark); padding: clamp(56px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--gold); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 54ch; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- inner page heads */
.page-head { background: var(--ink); color: var(--on-dark); padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); }
.page-head h1, .banner h1 { color: var(--white); max-width: 20ch; }
.page-head .lede, .banner .lede { max-width: 58ch; margin: 18px 0 0; color: #DCE3ED; }
.banner { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: var(--ink); min-height: clamp(340px, 50vh, 500px); display: flex; align-items: flex-end; }
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 22, 40, .92) 0%, rgba(10, 22, 40, .7) 50%, rgba(10, 22, 40, .35) 100%), linear-gradient(0deg, rgba(10, 22, 40, .6), rgba(10, 22, 40, 0) 60%); }
.banner-inner { padding-top: 64px; padding-bottom: clamp(40px, 6vw, 64px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; margin-bottom: 18px; color: var(--on-dark); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--on-dark); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); }

/* Services overview */
.service-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 2px solid var(--ink); }
.service-row { border-bottom: 1px solid var(--line); }
.service-row-link { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 28px 0; text-decoration: none; color: inherit; align-items: center; }
.service-row-img { aspect-ratio: 3 / 2; --chamfer: 14px; }
.service-row h2 { font-size: 1.35rem; margin-bottom: 6px; }
.service-row p { color: var(--muted); margin: 0 0 10px; font-size: 1rem; }
.service-row .text-link { font-size: .95rem; text-decoration-color: transparent; }
.service-row-link:hover .text-link { text-decoration-color: var(--gold); }
.note { margin-top: 64px; padding: 36px 40px; background: var(--mist); display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: center; }
.note h2 { font-size: 1.5rem; }
.note p { margin: 0; color: var(--muted); }
.note .btn { grid-row: 1 / span 2; grid-column: 2; }

/* Service detail */
.detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.tick-list { list-style: none; margin: 0 0 1em; }
.tick-list li { position: relative; padding: 8px 0 8px 34px; border-bottom: 1px solid var(--line); }
.tick-list li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 14px; height: 8px; border-left: 3px solid var(--gold-ink); border-bottom: 3px solid var(--gold-ink); transform: rotate(-45deg); }
.detail-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 28px; }
.side-card { background: var(--ink); color: var(--on-dark); padding: 30px 28px; clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%); }
.side-card h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.side-block h2 { font-size: 1.05rem; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.side-block ul { list-style: none; }
.side-block li { padding: 6px 0; }
.side-block p { color: var(--muted); font-size: .975rem; }
.related { list-style: none; border-top: 2px solid var(--ink); margin-top: 20px; }

/* About */
.split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split .cut { aspect-ratio: 4 / 5; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.values > div { border-top: 3px solid var(--gold); padding-top: 20px; }
.values h3 { margin-bottom: 8px; }
.values p { margin: 0; }
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; }
.comp-grid .prose { background: var(--white); padding: 32px; }
.creds { margin-top: 40px; padding: 28px 32px; background: var(--white); border-left: 4px solid var(--gold); }
.creds ul { list-style: none; margin-top: 12px; }
.small-print { color: var(--muted); font-size: .9rem; margin-top: 32px; }

/* Industries page */
.jump { padding: 0; background: var(--mist); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 20; }
.jump ul { list-style: none; display: flex; gap: 4px 24px; overflow-x: auto; padding: 14px 0; scrollbar-width: thin; }
.jump a { white-space: nowrap; color: var(--ink); font-weight: 500; font-size: .95rem; text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.jump a:hover { border-bottom-color: var(--gold); }
.sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.sector-grid.flip > .cut { order: 2; }
.sector-grid .cut { aspect-ratio: 3 / 2; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list a { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.pill-list a:hover { background: var(--ink); color: var(--white); }

/* ---------------------------------------------------------------- quote form */
.quote-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote-form fieldset { border: 0; margin: 0 0 36px; padding: 0; min-width: 0; }
.quote-form legend { font: 800 1.45rem var(--font-display); color: var(--ink); letter-spacing: -0.015em; padding: 0; margin-bottom: 18px; }
.form-intro { color: var(--muted); font-size: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.req { color: var(--error); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--white);
  border: 1.5px solid #7A889C; border-radius: 2px; padding: 12px 14px; min-height: 50px;
}
.field textarea { resize: vertical; min-height: 150px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230A1628' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--focus); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-hint { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.field-error { font-size: .925rem; color: var(--error); font-weight: 600; margin: 6px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: .925rem; color: var(--muted); }
.form-status { padding: 18px 20px; margin-bottom: 28px; border-left: 4px solid; font-weight: 500; }
.form-status.is-error { background: #FDECEA; border-color: var(--error); color: #7A1A11; }
.form-status.is-info { background: #FFF6DF; border-color: var(--gold-ink); color: #4D3A0C; }
.form-status.is-success { background: #E7F4EC; border-color: #1E7A44; color: #134D2B; }
.form-status ul { margin: 8px 0 0 1.2em; }
.contact-panel { background: var(--mist); padding: 32px 30px; clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%); position: sticky; top: calc(var(--header-h) + 24px); }
.contact-panel h2 { font-size: 1.5rem; margin-bottom: 18px; }
.contact-list { margin: 0 0 8px; }
.contact-list dt { font-weight: 600; color: var(--ink); font-size: .9rem; }
.contact-list dd { margin: 2px 0 16px; }
.panel-note { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.panel-note h3 { font-size: 1.05rem; margin-bottom: 6px; }
.panel-note p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Thank you / 404 */
.thanks { text-align: left; }
.thanks h1 { margin-bottom: 16px; }
.thanks .btn { margin: 6px 8px 6px 0; }
.thanks-mark { color: var(--gold-ink); margin-bottom: 18px; }

/* Legal */
.legal h2 { font-size: 1.5rem; }
.review-note, .info-note { padding: 18px 20px; background: #FFF6DF; border-left: 4px solid var(--gold-ink); margin-bottom: 36px; color: #4D3A0C; font-size: .975rem; }
.info-note { background: var(--mist); border-color: var(--ink); color: var(--text); }
.credits { font-size: .95rem; }

/* Placeholders for missing company details */
.ph { display: inline-block; padding: 0 6px; background: #FFF6DF; color: #5C440C; border: 1px dashed var(--gold-ink); font-size: .92em; line-height: 1.5; border-radius: 2px; }
.site-footer .ph, .section-navy .ph { background: rgba(201, 161, 74, .14); color: #EAD39A; border-color: var(--gold); }
.ph-block { padding: 16px 18px; border: 1.5px dashed var(--gold-ink); background: #FFF6DF; color: #4D3A0C; font-size: .975rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(56px, 7vw, 88px); font-size: .975rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-h { font: 700 1rem var(--font-display); color: var(--white); margin: 0 0 14px; letter-spacing: 0; }
.footer-h:not(:first-child) { margin-top: 28px; }
.footer-list { list-style: none; }
.footer-list li { padding: 4px 0; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer .btn-gold { color: var(--ink); }
.site-footer .btn-gold:hover { color: var(--ink); text-decoration: none; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; padding-bottom: 32px; font-size: .875rem; color: #A9B6C8; display: grid; gap: 12px; }
.footer-legal p { margin: 0; }
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a { color: #A9B6C8; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .service-feature-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .intro-grid, .why-grid, .faq-wrap, .detail-grid, .split, .two-col, .quote-grid, .sector-grid, .comp-grid { grid-template-columns: 1fr; }
  .sector-grid.flip > .cut { order: 0; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .process li:nth-child(2)::after { display: none; }
  .service-list { grid-template-columns: 1fr; }
  .service-index { grid-template-columns: 1fr; }
  .detail-side, .contact-panel { position: static; }
  .why-img { max-height: 380px; aspect-ratio: 16 / 10; }
  .split .cut { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  :root { --chamfer: 16px; }
  body { font-size: 1rem; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 56px; padding-bottom: 48px; }
  .hero-actions .btn { width: 100%; }
  .service-feature-grid, .industry-grid, .why-points, .values, .process, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .process li::after { display: none; }
  .service-index a, .related a { grid-template-columns: 1fr; gap: 4px; }
  .service-row-link { grid-template-columns: 110px 1fr; gap: 16px; align-items: start; }
  .service-row h2 { font-size: 1.15rem; }
  .service-row p { font-size: .95rem; }
  .note { grid-template-columns: 1fr; padding: 28px 24px; }
  .note .btn { grid-row: auto; grid-column: auto; justify-self: start; margin-top: 12px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .faq-a { padding-right: 0; }
  .comp-grid .prose { padding: 24px 20px; }
  .contact-panel { padding: 26px 22px; }
}

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

@media print {
  .site-header, .site-footer, .cta-band, .hero-img, .banner-img { display: none; }
  .hero, .banner, .page-head { background: none; color: #000; min-height: 0; }
  .hero h1, .banner h1, .page-head h1 { color: #000; }
}

/* If a photo fails to load, keep the navy block clean rather than printing alt text over it. */
.hero-img, .banner-img, .cut img, .why-img { color: transparent; font-size: 0; }

/* Header phone links */
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 600; font-size: .975rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-phone svg { color: var(--gold); }
.header-phone:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); }
.call-mobile { display: none; }
.hero-foot strong { color: var(--white); font-weight: 600; }
.legal-meta { color: var(--muted); font-size: .95rem; }
@media (max-width: 1200px) and (min-width: 1041px) { .header-phone span { display: none; } .primary-nav { gap: 20px; } }
@media (max-width: 1040px) {
  .header-inner { gap: 12px; }
  .brand { margin-right: auto; }
  .call-mobile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--gold); color: var(--ink); border-radius: 2px; }
  .header-phone { font-size: 1.1rem; padding: 6px 0; }
}
