/* ==========================================================================
   Sincer Logistics Ltd — styles matching the design in Sincer-Logistics-Website-full.png
   (Cardo + DM Sans, navy / gold). Sizes are measured at a 1475px wide window.
   ========================================================================== */

@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cardo"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cardo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cardo"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cardo-latin-400-italic.woff2") format("woff2"); }

:root {
  --navy-950: #050d20;   /* footer */
  --navy-900: #07122b;   /* how we work, contact */
  --navy-hero: #071026;  /* hero */
  --navy: #0b1733;       /* buttons, dark cards */
  --ink: #0a1530;        /* headings and dark text */
  --gold: #c9a44c;       /* gold fills, rings, bullets */
  --gold-light: #e5c77a; /* gold text on dark backgrounds */
  --gold-text: #85651a;  /* small gold labels on light backgrounds (5:1) */
  --gold-em: #9a7522;    /* italic words in headings on light backgrounds */
  --gold-eyebrow-dark: #ad8a3c; /* hero eyebrow; the design's #926f1e is below 4.5:1 */
  --soft: #f4f6fa;       /* light section background */
  --line: #e0e5ed;
  --muted: #5f687b;      /* body text on light backgrounds */
  --muted-dark: #a5afc6; /* body text on dark backgrounds */
  --error: #a83232;
  --serif: "Cardo", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 400; }
em { font-style: italic; font-weight: 400; }
.wrap { width: min(1180px, calc(100% - 100px)); margin-inline: auto; }
section { scroll-margin-top: 68px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* the gold ring is too faint on white: navy there */
.sectors :focus-visible, .services :focus-visible, .why :focus-visible, .contact-card :focus-visible,
.page-simple :focus-visible, .cookie-banner :focus-visible { outline-color: var(--navy); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: #fff; color: var(--navy); padding: 12px 18px; border-radius: 30px; font-size: 14px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.skip-link:focus-visible { outline-color: var(--navy); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Shared ---------- */
.eyebrow { display: flex; align-items: center; color: var(--gold-text); font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .28em; text-transform: uppercase; }
.section { padding: 111px 0 111px; }
.section h2 { margin-top: 22px; font-family: var(--serif); font-size: 60px; line-height: 1.05; letter-spacing: -.015em; color: var(--ink); }
.section h2 em { color: var(--gold-em); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-intro { flex: 0 0 410px; margin-bottom: -2.25px; color: var(--muted); font-size: 17.4px; line-height: 1.71; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 53px; padding: 0 27px 0 28px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn-arrow { width: 16.5px; height: 16.5px; flex: none; }
.btn-gold { min-height: 55.5px; padding: 0 27.6px 0 29.1px; background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px rgba(201, 164, 76, .28); }
.btn-gold:hover { background: #d6b25c; }
.btn-outline { min-height: 55.5px; padding: 0 29.1px; border: 1px solid rgba(255, 255, 255, .42); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #1a2a52; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; color: #fff;
  background-color: rgba(7, 16, 38, 0);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0), 0 8px 24px rgba(3, 8, 20, 0);
  transition: background-color .3s ease, box-shadow .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background-color: rgba(7, 16, 38, .85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08), 0 8px 24px rgba(3, 8, 20, .28);
}
/* no blur available: solid navy instead */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-scrolled { background-color: #071026; }
}
.header-inner { height: 102px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(255, 255, 255, .1); transition: height .3s ease, border-color .3s ease; }
.site-header.is-scrolled .header-inner { height: 68px; border-bottom-color: transparent; }
.brand { display: inline-flex; align-items: center; min-height: 48px; margin-top: 10px; flex: none; transition: margin-top .3s ease; }
.site-header.is-scrolled .brand { margin-top: 0; }
.brand img { width: 200px; height: auto; margin-left: -1px; transform-origin: left center; transition: transform .3s ease; }
.site-header.is-scrolled .brand img { transform: scale(.82); }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { font-size: 14.8px; color: #dce2ee; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="location"] { color: var(--gold-light); }
.nav-links .nav-contact { display: inline-flex; align-items: center; height: 44px; padding: 0 25.25px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-light); }
.nav-links .nav-contact:hover { background: rgba(201, 164, 76, .12); }
.nav-links .nav-contact[aria-current="location"] { background: rgba(201, 164, 76, .16); }
.menu-toggle { display: none; width: 48px; height: 48px; margin-right: -10px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; place-items: center; }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-hero); color: #fff; }
.hero-picture { position: absolute; inset: 0; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 69.7% 50%; }
.hero-horizon { display: none; }
/* desktop: the drawn globe fades in over the photo; the photo stays underneath as the fallback */
.hero-globe { position: absolute; pointer-events: none; }
/* canvas layers made by assets/js/globe.js (desktop globe and phone horizon) */
.globe-layer { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.is-ready > .globe-layer { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 16, 38, 0) 55%, rgba(7, 16, 38, .32) 100%),
    linear-gradient(90deg, rgba(7, 16, 38, .9) 0%, rgba(7, 16, 38, .84) 33%, rgba(7, 16, 38, .58) 46%, rgba(7, 16, 38, .24) 55%, rgba(7, 16, 38, .1) 66%, rgba(7, 16, 38, .12) 100%);
}
.hero-inner { position: relative; z-index: 2; min-height: 924px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 216px 0 49.5px; }
.hero-content { max-width: 640px; }
.hero .eyebrow { color: var(--gold-eyebrow-dark); letter-spacing: .274em; }
.hero h1 { margin-top: 28.25px; font-family: var(--serif); font-size: 85.8px; line-height: 87.75px; letter-spacing: -.0143em; }
.hero h1 em { color: var(--gold-light); }
.hero-copy { max-width: 560px; margin-top: 31px; color: #ccd4e5; font-size: 19.4px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 40.5px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(255, 255, 255, .14); border-radius: 15px; background: rgba(13, 28, 64, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-fact { min-width: 0; padding: 24.5px 20px 24px 28px; }
.hero-fact + .hero-fact { border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-fact strong { display: block; color: var(--gold-light); font-size: 11.6px; font-weight: 700; line-height: 1.2; letter-spacing: .185em; text-transform: uppercase; }
.hero-fact span { display: block; margin-top: 8.4px; color: #fff; font-size: 15.4px; line-height: 1.5; }

/* ---------- 01 Sectors ---------- */
.sectors { background: var(--soft); }
.sectors .section-heading { margin-bottom: 54px; }
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.sector-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 23px; background: #fff; box-shadow: 0 24px 40px -14px rgba(11, 23, 51, .18); }
.sector-art { width: 100%; height: auto; aspect-ratio: 1.915; object-fit: cover; object-position: center top; background: var(--navy); }
.sector-info { display: flex; flex-direction: column; flex: 1; padding: 39.5px 33px 26px; }
.sector-info h3 { font-family: var(--serif); font-size: 33.4px; line-height: 1.15; letter-spacing: -.01em; }
.sector-info p { margin-top: 15.05px; color: var(--muted); font-size: 15.3px; line-height: 25.5px; }
.sector-info ul { margin-top: 23.75px; padding-top: 22.5px; border-top: 1px solid #e6e9f0; }
.sector-info li { position: relative; margin-bottom: 11.8px; padding-left: 19px; font-size: 15.3px; line-height: 22.5px; }
.sector-info li::before { content: ""; position: absolute; left: 1.2px; top: 9.6px; width: 5.8px; height: 5.8px; background: var(--gold); transform: rotate(45deg); }

/* ---------- 02 Services ---------- */
.services { background: #fff; padding: 114px 0 112.5px; }
.services-layout { display: grid; grid-template-columns: minmax(0, 1fr) 700.5px; column-gap: 94.5px; align-items: start; }
.services h2 { margin-top: 23.75px; font-size: 51.6px; line-height: 54.7px; }
.services-lead > p:not(.eyebrow) { margin-top: 21.25px; color: var(--muted); font-size: 17.4px; line-height: 29.6px; }
.services-lead .btn { margin-top: 35.75px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 61.5px minmax(0, 1fr); align-items: start; padding: 35px 42px 34px 0; border-bottom: 1px solid var(--line); }
.service-item:nth-child(odd) { border-right: 1px solid var(--line); }
.service-item:nth-child(even) { padding: 35px 0 34px 42px; }
.service-num { margin-top: 2px; color: #a07a26; font-family: var(--serif); font-size: 30px; line-height: 1; }
.service-item h3 { font-size: 18px; font-weight: 700; line-height: 24.3px; }
.service-item p { margin-top: 9px; color: var(--muted); font-size: 15.3px; line-height: 24.5px; }
.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 63px; }
.scope-card { position: relative; display: flex; flex-direction: column; justify-content: flex-start; min-height: 249px; padding: 40px 120px 40.6px 45px; border-radius: 23px; background: var(--navy); color: #fff; }
.scope-card-light { border: 1px solid #e1e6ee; background: var(--soft); color: var(--ink); }
.scope-label { color: var(--gold-light); font-size: 11.6px; font-weight: 700; line-height: 1.2; letter-spacing: .2em; text-transform: uppercase; }
.scope-card-light .scope-label { color: var(--gold-text); }
.scope-card h3 { margin-top: 12.9px; font-family: var(--serif); font-size: 37.4px; line-height: 1.15; letter-spacing: -.01em; }
.scope-card > p:not(.scope-label) { max-width: 376px; margin-top: 18.4px; color: #9aa5bd; font-size: 15.3px; line-height: 24.75px; }
.scope-card-light > p:not(.scope-label) { color: var(--muted); }
.scope-arrow { position: absolute; right: 45px; bottom: 40.5px; display: grid; place-items: center; width: 57px; height: 57px; border-radius: 50%; background: var(--gold); color: var(--navy); transition: transform .2s; }
.scope-card-light .scope-arrow { border: 1px solid var(--navy); background: transparent; color: var(--navy); }
.scope-arrow:hover { transform: translateX(3px); }
.scope-arrow svg { width: 17px; height: 17px; }

/* ---------- 03 How we work ---------- */
.process { position: relative; background: radial-gradient(ellipse 360px 380px at 88.5% 150px, #14264f 0%, rgba(20, 38, 79, 0) 100%), var(--navy-900); color: #fff; padding-top: 114.75px; }
.process .eyebrow { color: var(--gold-light); }
.process h2 { margin-top: 20.5px; color: #fff; }
.process h2 em { color: var(--gold-light); }
.process .section-intro { margin-bottom: -1.5px; color: var(--muted-dark); }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 84px; }
.process-grid::before { content: ""; position: absolute; top: 36px; left: 73px; right: calc(25% - 24px); height: 1px; background: rgba(201, 164, 76, .6); }
.process-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-right: 22px; }
.step-number { display: grid; place-items: center; width: 73px; height: 73px; border: 1px solid var(--gold); border-radius: 50%; background: var(--navy-900); color: #dcbd6c; font-family: var(--serif); font-size: 24.3px; line-height: 1; }
.process-step:last-child .step-number { background: var(--gold); color: var(--navy); }
.process-step h3 { margin-top: 31.6px; font-family: var(--serif); font-size: 29.1px; line-height: 39px; letter-spacing: -.01em; }
.process-step p { margin-top: 11.15px; color: var(--muted-dark); font-size: 15.3px; line-height: 25.5px; }
.process-step .step-label { margin-top: auto; padding-top: 17.95px; color: #8a95b1; font-size: 11.6px; font-weight: 700; line-height: 1.2; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- 04 Why Sincer ---------- */
.why { background: var(--soft); padding: 115.5px 0 115.25px; }
.why-heading { text-align: center; }
.why-heading .eyebrow { justify-content: center; }
.why h2 { margin-top: 25.85px; font-size: 66.3px; line-height: 69.75px; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 61.8px; border-top: 1px solid var(--line); }
.why-item { min-width: 0; padding: 42px 30px 0 33px; }
.why-item:first-child { padding-left: 0; }
.why-item + .why-item { border-left: 1px solid var(--line); }
.why-icon { display: grid; place-items: center; width: 53px; height: 53px; border: 1px solid var(--gold); border-radius: 50%; color: var(--ink); }
.why-icon svg { width: 18px; height: 18px; }
.why-item h3 { margin-top: 23.25px; font-family: var(--serif); font-size: 26px; line-height: 35.25px; letter-spacing: -.01em; }
.why-item p { margin-top: 11.15px; color: var(--muted); font-size: 15.3px; line-height: 25.5px; }
.company-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.82fr); margin-top: 65px; overflow: hidden; border-radius: 23px; background: #fff; box-shadow: 0 24px 40px -14px rgba(11, 23, 51, .15); }
.company-quote { padding: 60.25px 45px 45px; background: var(--navy); color: #fff; }
.company-monogram { width: 89.2px; height: auto; margin-left: -1px; }
.company-quote p { margin-top: 28.75px; font-family: var(--serif); font-size: 27px; line-height: 33px; letter-spacing: -.01em; }
.company-quote em { color: var(--gold-light); }
.company-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; padding: 46px 45px 44.5px; }
.company-detail:nth-child(-n+2) { padding-bottom: 49px; border-bottom: 1px solid var(--line); }
.company-detail:nth-child(n+3) { padding-top: 24px; }
.company-detail dt { color: var(--gold-text); font-size: 11.6px; font-weight: 700; line-height: 1.2; letter-spacing: .2em; text-transform: uppercase; }
.company-detail dd { margin-top: 7px; color: var(--ink); font-size: 17.3px; font-weight: 500; line-height: 1.4; }

/* ---------- Contact ---------- */
.contact { background: var(--navy-900); color: #fff; padding: 114px 0 102.75px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 676px; column-gap: 80px; align-items: start; }
.contact .eyebrow { color: var(--gold-light); }
.contact h2 { margin-top: 21.5px; color: #fff; }
.contact h2 em { color: var(--gold-light); }
.contact-intro { margin-top: 23.75px; color: var(--muted-dark); font-size: 17.4px; line-height: 29.6px; }
.contact-detail { display: flex; align-items: flex-start; gap: 18px; margin-top: 22.5px; }
.contact-intro + .contact-detail { margin-top: 44.8px; }
.contact-icon { display: grid; place-items: center; flex: none; width: 47px; height: 47px; margin-top: 5px; border: 1px solid rgba(201, 164, 76, .5); border-radius: 50%; color: var(--gold-light); }
.contact-icon svg { width: 17px; height: 17px; }
.contact-label { color: var(--gold-light); font-size: 11.6px; font-weight: 700; line-height: 1.2; letter-spacing: .2em; text-transform: uppercase; }
.contact-value { display: block; margin-top: 5.6px; color: #e6eaf3; font-size: 16.25px; line-height: 21.75px; }
a.contact-value:hover { color: var(--gold-light); }

.contact-card { margin-top: -1.5px; padding: 48.75px 48.75px 49.5px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23.25px 23.25px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; line-height: 1.3; }
.field input, .field select, .field textarea { width: 100%; height: 52.5px; margin-top: 9.25px; padding: 0 17px; border: 1px solid #e0e4ec; border-radius: 11px; background: #f8f9fc; color: var(--ink); font-size: 15.3px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: #f8f9fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1733' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 19px center / 15px 15px; cursor: pointer; }
.field select:invalid { color: var(--muted); }
.field select option { color: var(--ink); }
.field textarea { height: 132.75px; padding-top: 14px; padding-bottom: 14px; resize: none; line-height: 1.5; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 13px; font-weight: 700; line-height: 1.4; }
.field-error:not(:empty) { margin-top: 6px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 27.75px; }
.form-footer p { max-width: 350px; color: #6b7385; font-size: 13.3px; line-height: 19.5px; }
.form-footer p a { text-decoration: underline; text-underline-offset: 2px; }
.form-footer .btn { flex: none; min-height: 52.5px; }
.form-message { color: var(--error); font-size: 13px; font-weight: 700; line-height: 1.5; }
.form-message:not(:empty) { margin-top: 14px; }
.form-message a { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #fff; padding: 63px 0 34.7px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 39.6px; border-bottom: 1px solid #152247; }
.footer-brand { display: block; width: fit-content; }
.footer-brand img { width: 196px; height: auto; margin-left: -1px; }
.footer-identity p { margin-top: 14.3px; color: #8d99b7; font-size: 14.3px; line-height: 1.5; }
.footer-nav { display: flex; gap: 37px; margin-bottom: 6px; }
.footer-nav a { color: #bcc4d6; font-size: 14.1px; white-space: nowrap; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding-top: 24.6px; color: #8d99b7; font-size: 13.3px; line-height: 1.5; }
.footer-legal a, .footer-legal button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; transition: color .2s; }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 460px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; box-shadow: 0 12px 32px rgba(7, 16, 38, .25); font-size: 15px; line-height: 1.55;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; margin-top: 14px; }
.cookie-actions .btn { flex: 1; min-height: 48px; font-size: 14px; }
.btn-outline-navy { border: 1px solid #c9ccd4; background: #fff; color: var(--navy); }
.btn-outline-navy:hover { border-color: var(--navy); }
@media (min-width: 701px) { .cookie-banner { left: 24px; bottom: 24px; } }

/* ---------- Simple pages (thank-you, privacy) ---------- */
.site-header.is-static { position: relative; background: var(--navy-hero); }
.page-simple { background: var(--soft); padding: 96px 0 104px; min-height: 60vh; }
.page-simple h1 { max-width: 760px; margin: 22px 0 18px; font-family: var(--serif); font-size: clamp(38px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -.015em; }
.page-simple .lead { margin-bottom: 30px; color: var(--muted); font-size: 17.4px; line-height: 1.7; }
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 12px; font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; }
.prose p + p { margin-top: 14px; }
.prose ul { margin-top: 10px; padding-left: 20px; list-style: disc; }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
.todo { background: #fff1c9; padding: 0 4px; border-radius: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .hero h1 { font-size: clamp(58px, 6.9vw, 85.8px); line-height: 1.05; }
  .section h2 { font-size: clamp(44px, 4.9vw, 60px); }
  .services h2 { font-size: clamp(40px, 4.2vw, 51.6px); line-height: 1.06; }
  .why h2 { font-size: clamp(46px, 5.4vw, 66.3px); line-height: 1.05; }
  .services-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: 56px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); column-gap: 56px; }
}
/* hero on laptops and desktops (over 900px): title, text, buttons and the four facts all fit the first screen.
   Sizes follow the window height and reach the design's sizes at 900px and more. */
@media (min-width: 901px) {
  .hero-inner {
    min-height: min(100vh, 1000px); min-height: min(100svh, 1000px);
    gap: clamp(22px, 4.4vh, 40px);
    padding-top: clamp(126px, 45vh - 205px, 216px);
    padding-bottom: clamp(22px, 5.5vh, 49.5px);
  }
  .hero h1 { margin-top: clamp(14px, 3.1vh, 28.25px); font-size: clamp(50px, min(9.4vh, 6.9vw), 85.8px); line-height: 1.023; }
  .hero-copy { margin-top: clamp(14px, 3.4vh, 31px); font-size: clamp(17px, 2.15vh, 19.4px); }
  .hero-actions { margin-top: clamp(20px, 4.5vh, 40.5px); }
  .hero-fact { padding-top: clamp(14px, 2.7vh, 24.5px); padding-bottom: clamp(14px, 2.7vh, 24px); }
}
@media (max-width: 1100px) {
  .nav-links { gap: 26px; }
  .section-intro { flex-basis: 360px; }
  .sector-info { padding-left: 26px; padding-right: 26px; }
  .why-item { padding-left: 22px; padding-right: 18px; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
  .header-inner { height: 84px; }
  .brand { margin-top: 0; }
  .brand img { width: 168px; }
  .site-header.is-scrolled .brand img { transform: scale(.86); }
  .menu-toggle { display: grid; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 32px 24px; background: var(--navy-hero); border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-links.open { display: flex; }
  .nav-links a { display: flex; align-items: center; min-height: 48px; font-size: 16px; }
  .nav-links .nav-contact { justify-content: center; height: 48px; margin-top: 10px; }
  .hero-inner { min-height: 0; padding-top: 168px; }
  .hero-bg { object-position: 64% 50%; }
  .hero::after { background: linear-gradient(90deg, rgba(7, 16, 38, .92) 0%, rgba(7, 16, 38, .78) 50%, rgba(7, 16, 38, .35) 100%), linear-gradient(0deg, rgba(7, 16, 38, .55), rgba(7, 16, 38, 0) 55%); }
  .hero-picture, .hero-globe { display: none; }
  .hero::after { display: none; }
  .hero-inner { gap: 0; }
  .hero-horizon {
    --globe-d: min(140vw, 980px);
    position: relative; display: block;
    height: calc(var(--globe-d) * .33 + 30px);
    margin: 4px calc(50% - 50vw) 0;
    /* until the canvas is drawn (or without JavaScript): a blue horizon in CSS */
    background: radial-gradient(circle at 50% calc(30px + var(--globe-d) / 2), #0b1d46 0, #0a1a40 calc(var(--globe-d) / 2 - 1px), rgba(120, 178, 255, .55) calc(var(--globe-d) / 2), rgba(64, 130, 255, .2) calc(var(--globe-d) / 2 + 10px), rgba(7, 16, 38, 0) calc(var(--globe-d) / 2 + 28px));
  }
  /* the globe fades into the navy at the bottom, under the credentials */
  .hero-horizon { -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
  .hero-horizon.is-ready { background: none; }
  .hero-facts { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -40px; }
  .hero-fact:nth-child(3) { border-left: 0; }
  .hero-fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .section, .services, .process, .why, .contact { padding: 88px 0; }
  .section-heading { display: block; }
  .section-intro { margin-top: 22px; max-width: 560px; }
  .section h2 br, .services h2 br, .contact h2 br { display: none; }
  .sector-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .services-layout { grid-template-columns: 1fr; row-gap: 48px; }
  .scope-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; margin-top: 56px; }
  .process-grid::before { display: none; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-item { padding: 34px 24px 34px 0; }
  .why-item + .why-item { border-left: 0; }
  .why-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .why-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .company-card { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; row-gap: 48px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-nav { flex-wrap: wrap; gap: 0 28px; margin-bottom: 0; }
  /* touch screens: 48px tap targets */
  .footer-nav a, .footer-legal a, .footer-legal button, .contact-value[href] { display: inline-flex; align-items: center; min-height: 48px; }
}
/* ---------- Phones and small tablets: fixed bar with the main action ---------- */
.mobile-cta { display: none; }
@media (max-width: 767px) {
  :root { --bar-room: calc(69px + env(safe-area-inset-bottom)); }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: flex; align-items: center; gap: 10px;
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    border-top: 1px solid rgba(255, 255, 255, .1); background: var(--navy); box-shadow: 0 -10px 28px rgba(5, 13, 32, .3);
    transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s;
  }
  .mobile-cta.is-visible { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
  .mobile-cta .mobile-cta-main { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; box-shadow: none; }
  .mobile-cta-email { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 1px solid rgba(201, 164, 76, .6); border-radius: 50%; color: var(--gold-light); }
  .mobile-cta-email svg { width: 20px; height: 20px; }
  /* room under the footer, so the bar never covers its last lines */
  .has-mobile-cta .site-footer { padding-bottom: calc(34.7px + var(--bar-room)); }
  .cookie-banner { bottom: calc(12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
  .header-inner { height: 72px; }
  .brand img { width: 150px; }
  .nav-links { top: 100%; padding: 8px 18px 20px; }
  .site-header.is-scrolled .header-inner { height: 60px; }
  .site-header.is-scrolled .brand img { transform: scale(.88); }
  section { scroll-margin-top: 60px; }
  /* hero: first screen unchanged */
  .hero-inner { padding-top: 120px; padding-bottom: 22px; gap: 0; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .2em; }
  .hero h1 { margin-top: 20px; font-size: clamp(44px, 12.4vw, 58px); }
  .hero-copy { margin-top: 20px; font-size: 17px; }
  .hero-actions { margin-top: 30px; gap: 12px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-fact { padding: 14px 12px 14px 16px; }
  .hero-fact span { font-size: 14px; }

  /* compact sections: 64px top and bottom, body text of at least 16px */
  .eyebrow { font-size: 11.5px; letter-spacing: .22em; }
  .section, .services, .process, .why, .contact { padding: 64px 0; }
  .section h2, .services h2, .why h2 { margin-top: 14px; font-size: clamp(31px, 8.8vw, 36px); line-height: 1.08; }
  .why h2 br, .why-item h3 br { display: none; }
  .section-intro { margin-top: 14px; }
  .section-intro, .services-lead > p:not(.eyebrow), .contact-intro { font-size: 16px; line-height: 1.55; }
  .sector-info p, .sector-info li, .service-item p, .scope-card > p:not(.scope-label), .process-step p, .why-item p { font-size: 16px; line-height: 1.5; }

  /* 01 sectors */
  .sectors .section-heading { margin-bottom: 24px; }
  .sector-grid { gap: 18px; }
  .sector-art { aspect-ratio: auto; height: 120px; }
  .sector-info { padding: 22px 20px 20px; }
  .sector-info h3 { font-size: 27px; }
  .sector-info p { margin-top: 6px; }
  .sector-info ul { margin-top: 12px; padding-top: 12px; }
  .sector-info li { margin-bottom: 6px; line-height: 1.4; }
  .sector-info li:last-child { margin-bottom: 0; }
  .sector-info li::before { top: 8.6px; }

  /* 02 services */
  .services-layout { row-gap: 26px; }
  .services-lead > p:not(.eyebrow) { margin-top: 14px; }
  .services-lead .btn { margin-top: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item, .service-item:nth-child(even) { grid-template-columns: 46px minmax(0, 1fr); padding: 15px 0; }
  .service-item:nth-child(odd) { border-right: 0; }
  .service-num { margin-top: 0; font-size: 26px; }
  .service-item h3 { font-size: 17px; }
  .service-item p { margin-top: 5px; }
  .scope-grid { gap: 14px; margin-top: 28px; }
  .scope-card { min-height: 0; padding: 20px 20px 22px; }
  .scope-card h3 { margin-top: 6px; font-size: 28px; }
  .scope-card > p:not(.scope-label) { max-width: none; margin-top: 8px; }
  .scope-arrow { top: 16px; right: 16px; bottom: auto; width: 48px; height: 48px; }

  /* 03 how we work: a timeline with the numbers on the left */
  .process-grid { grid-template-columns: 1fr; row-gap: 20px; margin-top: 26px; }
  .process-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; align-items: start; padding-right: 0; }
  .process-step > :not(.step-number) { grid-column: 2; }
  .step-number { grid-row: 1 / span 3; width: 52px; height: 52px; font-size: 19px; }
  .process-step:not(:last-child)::after { content: ""; position: absolute; left: 26px; top: 52px; bottom: -20px; width: 1px; background: rgba(201, 164, 76, .6); }
  .process-step h3 { margin-top: 10px; font-size: 25px; line-height: 1.25; }
  .process-step p { margin-top: 4px; }
  .process-step .step-label { margin-top: 8px; padding-top: 0; }

  /* 04 why sincer */
  .why-grid { grid-template-columns: 1fr; margin-top: 22px; }
  .why-item, .why-item:nth-child(even) { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 15px 0; border-left: 0; }
  .why-item + .why-item { border-top: 1px solid var(--line); }
  .why-item > :not(.why-icon) { grid-column: 2; }
  .why-icon { grid-row: 1 / span 2; width: 44px; height: 44px; }
  .why-icon svg { width: 16px; height: 16px; }
  .why-item h3 { margin-top: 5px; font-size: 23px; line-height: 1.25; }
  .why-item p { margin-top: 4px; }
  .company-card { margin-top: 22px; }
  .company-quote { padding: 22px 20px; }
  .company-monogram { width: 64px; }
  .company-quote p { margin-top: 14px; font-size: 22px; line-height: 1.3; }
  .company-details { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; padding: 6px 20px 8px; }
  .company-detail:nth-child(-n+2), .company-detail:nth-child(n+3) { padding: 12px 0; }
  .company-detail dd { font-size: 16px; }

  /* contact */
  .contact-layout { row-gap: 24px; }
  .contact h2 { margin-top: 14px; }
  .contact-intro { margin-top: 14px; }
  .contact-detail { margin-top: 14px; }
  .contact-intro + .contact-detail { margin-top: 24px; }
  .contact-card { margin-top: 0; padding: 22px 18px; border-radius: 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  /* 16px in fields stops iPhone from zooming in */
  .field input, .field select, .field textarea { margin-top: 7px; font-size: 16px; }
  .field textarea { height: 104px; }
  .form-footer { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 18px; }
  .form-footer p { max-width: none; }
  .form-footer .btn { width: 100%; }

  /* footer */
  .site-footer { padding: 34px 0 20px; }
  .has-mobile-cta .site-footer { padding-bottom: calc(20px + var(--bar-room)); }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 18px; }
  .footer-identity p { margin-top: 10px; }
  .footer-nav { flex-wrap: wrap; gap: 0 22px; }
  .footer-identity p, .footer-bottom { font-size: 14px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 16px; }
  .page-simple { padding: 64px 0 76px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
