/* Medentae — shared stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Libre+Caslon+Text:wght@500&display=swap');

:root {
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --navy: #1F3F78;
  --navy-dark: #132C59;
  --deep: #0A1A36;
  --canvas: #FFFFFF;
  --paper: #F2F4F7;
  --ink: #111827;
  --ink-light: #4B5563;
  --line: #E5E7EB;
  --wrap: 1280px;
  --gutter: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--canvas); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; border: none; background: none; outline: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; top: -100px; left: 0; background: var(--navy); color: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { top: 0; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Typography */
.h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
.h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 300; line-height: 1.3; letter-spacing: -0.01em; }
.h3 { font-size: 18px; font-weight: 500; line-height: 1.4; }
.sec-title { margin-bottom: 32px; }

/* Buttons & Links */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 16px; font-size: 14px; font-weight: 500; border-radius: 0; cursor: pointer; transition: all 0.2s; border: 1px solid transparent; white-space: nowrap; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-dark); }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--secondary:hover { background: var(--paper); border-color: var(--navy); }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; color: var(--navy); font-weight: 500; font-size: 15px; transition: color 0.2s; }
.link-arrow:hover { color: var(--navy-dark); }
.link-arrow .ico { width: 14px; height: 14px; transition: transform 0.2s; }
.link-arrow:hover .ico { transform: translateX(2px); }

/* Utility Bar */
.util { background: var(--paper); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-light); }
.util__in { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.util__r { display: flex; gap: 24px; }
.util__r a:hover { color: var(--navy); }

/* Header */
.hdr { background: #fff; border-bottom: 0; position: relative; z-index: 40; }
.hdr__in { display: flex; align-items: center; gap: 32px; height: 80px; }
.logo { font-family: "Libre Caslon Text", serif; font-size: 24px; font-weight: 500; letter-spacing: 0.14em; color: var(--navy); text-transform: uppercase; flex: none; }
.hdr__search { flex: 1; display: flex; justify-content: center; }
.search { display: flex; width: 100%; max-width: 600px; height: 40px; border: 1px solid var(--line); border-radius: 0; transition: border-color 0.2s; }
.search:focus-within { border-color: var(--navy); }
.search__sel { border-right: 1px solid var(--line); background: var(--paper); display: flex; align-items: center; padding: 0 12px; position: relative; flex: none; }
.search__sel select { appearance: none; padding-right: 20px; font-size: 14px; color: var(--ink); cursor: pointer; }
.search__sel .ico { position: absolute; right: 8px; width: 12px; height: 12px; pointer-events: none; color: var(--ink-light); }
.search__in { flex: 1; padding: 0 16px; font-size: 14px; min-width: 0; }
.search__btn { width: 48px; background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.search__btn:hover { background: var(--navy-dark); }
.search__btn .ico { width: 16px; height: 16px; }
.hdr__act { display: flex; align-items: center; gap: 16px; flex: none; }
.menu-btn { display: none; width: 40px; height: 40px; place-items: center; color: var(--navy); cursor: pointer; }

/* Navigation */
.dnav { background: var(--deep); color: #fff; position: relative; z-index: 30; }
.dnav__in { display: flex; justify-content: space-between; }
.dnav__list, .dnav__sec { display: flex; }
.dnav__item { position: static; }
.dnav__top { display: flex; align-items: center; height: 48px; padding: 0 16px; font-size: 14px; font-weight: 500; transition: background 0.2s; }
.dnav__item:hover .dnav__top { background: var(--navy); }
.dnav__sec a { display: flex; align-items: center; height: 48px; padding: 0 16px; font-size: 14px; color: rgba(255,255,255,0.8); transition: color 0.2s; }
.dnav__sec a:hover { color: #fff; }

/* Mega Menu */
.mega { position: absolute; top: 100%; left: 0; right: 0; width: auto; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); visibility: hidden; opacity: 0; transition: all 0.2s; }
.dnav__item:hover .mega { visibility: visible; opacity: 1; }
.mega__in { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; padding-block: 32px; }
.mega__col h4 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.mega__col ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.mega__col a { font-size: 14px; color: var(--ink-light); transition: color 0.2s; }
.mega__col a:hover { color: var(--navy); }
.mega__col--promo { background: var(--paper); padding: 24px; border-radius: 0; }
.mega__col--promo p { font-size: 14px; color: var(--ink-light); margin-bottom: 16px; line-height: 1.5; }

/* Sections */
.sec { padding-block: 48px; }
.bg-light { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--deep); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; filter: saturate(0.8) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,20,44,0.88) 0%, rgba(8,20,44,0.7) 30%, rgba(8,20,44,0.3) 62%, rgba(8,20,44,0.12) 100%), linear-gradient(0deg, rgba(8,20,44,0.45) 0%, rgba(8,20,44,0) 40%); }
.hero__in { position: relative; z-index: 2; padding-block: 80px 96px; }
.hero__text { max-width: 620px; padding: 48px; background: rgba(12,30,64,0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.12); border-radius: 0; box-shadow: 0 10px 30px rgba(5,15,35,0.25); }
.hero__btn-main { background: #fff; color: var(--deep); border: 1px solid #fff; }
.hero__btn-main:hover { background: #E8EEF8; }
.hero__btn-alt { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.7); }
.hero__btn-alt:hover { background: rgba(255,255,255,0.1); }
@media (max-width: 680px) { .hero__in { padding-block: 32px; } .hero__text { padding: 24px; } }
.hero__sub { font-size: 16px; line-height: 1.6; margin-top: 16px; color: rgba(255,255,255,0.9); }
.hero__cta { display: flex; gap: 16px; margin-top: 32px; }

/* Intro Block */
.intro-block { max-width: 800px; }
.intro-block__text { font-size: 16px; color: var(--ink); line-height: 1.6; }

/* Division Cards */
.div-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.div-card { background: #fff; border: 1px solid var(--line); border-radius: 0; display: flex; flex-direction: column; overflow: hidden; transition: border-color 0.2s; }
.div-card:hover { border-color: var(--navy); }
.div-card__img { height: 200px; background: var(--paper); }
.div-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.div-card__content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.div-card__content .h3 { margin-bottom: 8px; color: var(--ink); font-weight: 400; font-size: 20px; }
.div-card__content p { font-size: 15px; color: var(--ink-light); margin-bottom: 24px; line-height: 1.5; flex: 1; }
.div-card__content .link-text { margin-top: auto; align-self: flex-start; font-size: 15px; font-weight: 500; color: var(--navy); }
.div-card__content .link-text:hover { text-decoration: underline; }
@media (max-width: 960px) { .div-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .div-cards { grid-template-columns: 1fr; } }

/* Featured categories */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 0; overflow: hidden; transition: border-color 0.2s; }
.feat-card:hover { border-color: var(--navy); }
.feat-card__img { height: 150px; background: var(--paper); overflow: hidden; }
.feat-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.feat-card:hover .feat-card__img img { transform: scale(1.03); }
.feat-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.feat-card__div { font-size: 12px; color: var(--ink-light); }
.feat-card__title { font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.feat-card:hover .feat-card__title { color: var(--navy); }
@media (max-width: 960px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feat-card__img { height: 120px; } .feat-grid { gap: 12px; } }

/* Category Tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cat-tile { display: flex; align-items: center; padding: 12px; border: 1px solid var(--line); background: #fff; border-radius: 0; text-align: left; transition: border-color 0.2s; }
.cat-tile:hover { border-color: var(--navy); }
.cat-tile__img-wrap { width: 64px; height: 64px; flex: none; margin-right: 16px; background: var(--canvas); }
.cat-tile__img-wrap img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.cat-tile__title { font-size: 14px; font-weight: 500; color: var(--navy); line-height: 1.4; }

/* Text Block */
.text-block { max-width: 800px; }
.text-block .h2 { margin-bottom: 16px; }
.text-block p { font-size: 16px; color: var(--ink-light); line-height: 1.6; margin-bottom: 24px; }

/* Data List */
.data-list { display: grid; gap: 16px; margin-top: 24px; }
.data-list li { font-size: 15px; color: var(--ink-light); line-height: 1.5; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.data-list li:last-child { border-bottom: none; padding-bottom: 0; }
.data-list strong { color: var(--ink); font-weight: 600; }

/* Contact Band */
.contact-band { background: var(--navy); padding-block: 48px; color: #fff; }
.contact-band__in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.contact-band__text .h2 { font-size: 24px; margin-bottom: 8px; color: #fff; }
.contact-band__text p { color: rgba(255,255,255,0.8); font-size: 16px; }
.contact-band .btn--primary { background: #fff; color: var(--navy); }
.contact-band .btn--primary:hover { background: var(--paper); }

/* Logo Strip */
.logo-strip { padding-block: 28px 30px; border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.logo-strip__label { margin: 0 0 18px; text-align: center; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8A93A3; }
.logo-strip__track { display: flex; overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-strip__row { display: flex; align-items: center; gap: 72px; animation: scroll 55s linear infinite; padding-right: 72px; margin: 0; list-style: none; flex: none; }
.logo-strip__item { flex: none; position: relative; display: block; }
.logo-strip__row img { display: block; height: 100%; width: auto; max-width: 170px; object-fit: contain; transition: opacity .3s ease; }
.logo-strip__row .lg-mono { opacity: 0.8; }
.logo-strip__row .lg-color { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: 0; }
.logo-strip__item:hover .lg-mono { opacity: 0; }
.logo-strip__item:hover .lg-color { opacity: 1; }

/* Intro (about) */
.intro__in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro__eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.intro__title { margin: 0 0 20px; }
.intro__text p:not(.intro__eyebrow) { color: #4A5568; font-size: 17px; line-height: 1.65; margin: 0 0 16px; max-width: 540px; }
.intro__text .link-text { display: inline-block; margin-top: 8px; color: var(--navy); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.intro__text .link-text:hover { color: var(--navy-dark); }
.intro__img { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 0; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 960px) { .intro__in { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 760px) { .logo-strip__label { font-size: 10.5px; letter-spacing: 0.1em; padding-inline: 16px; } .logo-strip__row { gap: 48px; padding-right: 48px; } }
@media (prefers-reduced-motion: reduce) { .logo-strip__row { animation: none; } }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Inner Page Heros */
.phero { background: var(--navy); color: #fff; padding-block: 64px 80px; }
.phero__text { max-width: 600px; }
.phero__sub { font-size: 16px; line-height: 1.6; margin-top: 16px; color: rgba(255,255,255,0.9); }

.subhero { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 32px; }
.subhero__lead { font-size: 16px; color: var(--ink-light); margin-top: 12px; max-width: 800px; line-height: 1.5; }

/* Breadcrumbs */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-light); margin-bottom: 24px; }
.crumbs a { color: var(--navy); }
.crumbs a:hover { text-decoration: underline; }
.crumbs .ico { width: 12px; height: 12px; transform: rotate(-90deg); }
.phero .crumbs { color: rgba(255,255,255,0.6); }
.phero .crumbs a { color: #fff; }

/* Inner Page Layout */
.cpage { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.prose h2 { font-size: 20px; font-weight: 500; margin: 32px 0 16px; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 15px; color: var(--ink-light); line-height: 1.6; margin-bottom: 16px; max-width: 700px; }
.prose a { color: var(--navy); text-decoration: underline; }

/* Tables */
.spec { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.spec th { text-align: left; padding: 10px 12px; background: var(--paper); border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.spec td { padding: 12px; border-bottom: 1px solid var(--line); color: var(--ink-light); vertical-align: top; }
.spec td:first-child { font-weight: 500; color: var(--ink); width: 40%; }

/* Side Cards */
.cpage__side { display: grid; gap: 32px; position: sticky; top: 32px; }
.side-card { background: transparent; border: none; border-top: 2px solid var(--navy); padding: 24px 0; }
.side-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: var(--ink); }
.side-card p { font-size: 14px; color: var(--ink-light); line-height: 1.5; margin-bottom: 16px; }
.side-card .btn { width: 100%; }
.side-card ul { display: grid; gap: 8px; }
.side-card li { font-size: 14px; color: var(--ink-light); display: flex; align-items: center; gap: 8px; }
.side-card li::before { content: "•"; color: var(--navy); }

/* Forms */
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 0; padding: 10px 12px; font-size: 14px; transition: border-color 0.2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy); }
.field textarea { height: 100px; resize: vertical; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item details summary { padding: 20px 0; font-size: 16px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details summary .ico { width: 16px; height: 16px; color: var(--ink-light); transition: transform 0.2s; }
.faq-item details[open] summary .ico { transform: rotate(180deg); }
.faq-item p { padding-bottom: 20px; color: var(--ink-light); line-height: 1.6; }

/* Footer */

/* Mobile Drawer */
.drawer { display: none; }

/* Responsive */
@media (max-width: 1024px) {
}
@media (max-width: 768px) {
  .hdr__in { gap: 16px; }
  .hdr__search { display: none; }
  .hdr__act .btn { display: none; }
  .menu-btn { display: grid; }
  .dnav { display: none; }
  .hero__in { padding-block: 64px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-tile { padding: 12px; flex-direction: column; align-items: flex-start; }
  .cat-tile__img-wrap { width: 48px; height: 48px; margin-right: 0; margin-bottom: 12px; }
  .cpage { grid-template-columns: 1fr; }
  .cpage__side { position: static; }
  
  .drawer { display: block; position: fixed; inset: 0; z-index: 100; visibility: hidden; }
  .drawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.2s; }
  .drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: 300px; background: #fff; transform: translateX(100%); transition: transform 0.2s; display: flex; flex-direction: column; }
  .menu-open .drawer { visibility: visible; }
  .menu-open .drawer__scrim { opacity: 1; }
  .menu-open .drawer__panel { transform: translateX(0); }
  .drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
  .drawer__body { padding: 16px; overflow-y: auto; }
  .drawer__body a { display: block; padding: 12px 0; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--line); }
}
/* Region selector */
.region { position: relative; }
.region__btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; font: inherit; color: inherit; cursor: pointer; }
.region__btn:hover { color: var(--navy); }
.region__menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 170px; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(10,26,54,.12); display: none; }
.region.open .region__menu { display: block; }
.region__menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px 16px; font: inherit; font-size: 14px; color: var(--ink, #1A2332); cursor: pointer; }
.region__menu button:hover, .region__menu button[aria-current="true"] { background: var(--paper); color: var(--navy); }

/* Intro stats */
.intro__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.intro__stats dt { font-size: 28px; font-weight: 500; color: var(--navy); line-height: 1.1; }
.intro__stats dd { margin: 6px 0 0; font-size: 14px; color: #6B7280; }
@media (max-width: 640px) { .intro__stats { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* Cookie notice */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(10,26,54,.12); }
.cookie__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 20px; }
.cookie__text { margin: 0; font-size: 14px; line-height: 1.55; color: #4A5568; max-width: 760px; }
.cookie__text a { color: var(--navy); text-decoration: underline; }
.cookie__btns { display: flex; gap: 12px; flex: none; }
.cookie__alt { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.cookie__alt:hover { background: var(--paper); }
@media (max-width: 760px) { .cookie__in { flex-direction: column; align-items: stretch; gap: 16px; } .cookie__btns { flex-direction: column-reverse; } .cookie__btns .btn { width: 100%; justify-content: center; } }

/* Cookie preferences panel */
.cookie__link { background: none; border: 0; padding: 0 8px; font: inherit; font-size: 14px; color: var(--navy); text-decoration: underline; cursor: pointer; align-self: center; }
.cpref { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cpref[hidden] { display: none; }
.cpref__scrim { position: absolute; inset: 0; background: rgba(10,26,54,.55); }
.cpref__panel { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: #fff; box-shadow: 0 24px 60px rgba(10,26,54,.3); }
.cpref__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.cpref__head h2 { margin: 0; font-size: 22px; font-weight: 500; }
.cpref__x { background: none; border: 0; font-size: 28px; line-height: 1; color: #6B7280; cursor: pointer; }
.cpref__body { padding: 8px 28px; overflow-y: auto; }
.cpref__intro { font-size: 14px; color: #4A5568; line-height: 1.55; margin: 16px 0 8px; }
.cpref__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.cpref__row:first-of-type { border-top: 0; }
.cpref__row h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.cpref__row p { margin: 0; font-size: 14px; color: #6B7280; line-height: 1.5; }
.cpref__always { flex: none; font-size: 13px; font-weight: 600; color: var(--navy); }
.cpref__foot { display: flex; justify-content: flex-end; gap: 12px; padding: 18px 28px; border-top: 1px solid var(--line); background: var(--paper); }
.switch { position: relative; flex: none; width: 44px; height: 24px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span:first-of-type { position: absolute; inset: 0; background: #CBD2DC; border-radius: 12px; transition: background .2s; }
.switch span:first-of-type::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--navy); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 760px) { .cookie__link { padding: 4px 0; } .cpref__foot { flex-direction: column-reverse; } .cpref__foot .btn { width: 100%; justify-content: center; } }

/* Footer */
.foot { background: var(--deep); color: #fff; padding-top: 72px; }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.foot .foot__logo { display: inline-block; font-family: "Libre Caslon Text", Georgia, serif; font-weight: 500; font-size: 22px; letter-spacing: .14em; line-height: 1; color: #fff !important; margin-bottom: 20px; }
.foot__brand p { margin: 0 0 10px; max-width: 320px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.65); }
.foot__h { margin: 5px 0 18px; line-height: 1; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.foot ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.foot a { font-size: 14px; color: rgba(255,255,255,.7); transition: color .2s; }
.foot a:hover { color: #fff; }
@media (max-width: 960px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot__top { grid-template-columns: 1fr; gap: 32px; } }

.foot__ack { margin: 0; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.55); }
.foot__bot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px 26px; border-top: 1px solid rgba(255,255,255,.12); }
.foot__copy { margin: 0; font-size: 13px; line-height: 1; color: rgba(255,255,255,.55); }
.foot__right { display: flex; align-items: center; gap: 32px; }
.foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.foot__legal a, .foot__legal button { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; line-height: 1; color: rgba(255,255,255,.75); cursor: pointer; }
.foot__legal a:hover, .foot__legal button:hover { color: #fff; text-decoration: underline; }
.foot__region { display: flex; align-items: center; gap: 7px; padding-left: 32px; border-left: 1px solid rgba(255,255,255,.2); font-size: 13px; line-height: 1; color: rgba(255,255,255,.75); }
@media (max-width: 960px) { .foot__bot { flex-direction: column-reverse; align-items: flex-start; gap: 20px; } .foot__right { flex-wrap: wrap; gap: 20px; } .foot__legal { gap: 14px 24px; } .foot__region { padding-left: 0; border-left: 0; } }

/* About hero */
.ahero { position: relative; color: #fff; overflow: hidden; background: var(--deep); }
.ahero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: saturate(.7); }
.ahero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,20,44,.92) 0%, rgba(8,20,44,.75) 45%, rgba(8,20,44,.35) 100%); }
.ahero__in { position: relative; z-index: 2; padding-block: 56px 88px; }
.ahero .h1 { margin: 0; }
.ahero__sub { max-width: 560px; margin: 16px 0 0; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.88); }
.ahero .crumbs { color: rgba(255,255,255,.6); }
.ahero .crumbs a { color: #fff; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 32px 28px; }
.pillar__n { display: block; margin-bottom: 20px; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--navy); }
.pillar .h3 { margin: 0 0 10px; }
.pillar p { margin: 0; font-size: 15px; line-height: 1.6; color: #4A5568; }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; } }

/* How to order (help layout) */
.hero--page .hero__in { padding-block: 64px 72px; }
.hero--page .crumbs { color: rgba(255,255,255,.6); margin-bottom: 20px; }
.hero--page .crumbs a { color: #fff; }
.help { display: grid; grid-template-columns: 240px 1fr; gap: 72px; align-items: start; }
.help__nav { position: sticky; top: 24px; border-left: 1px solid var(--line); padding-left: 20px; }
.help__navh { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--ink, #1A2332); }
.help__nav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.help__nav a { font-size: 14px; color: #4A5568; }
.help__nav a:hover { color: var(--navy); text-decoration: underline; }
.help__main { max-width: 820px; }
.hsec { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.hsec:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.hsec h2 { margin: 0 0 16px; font-size: 26px; font-weight: 400; color: var(--ink, #1A2332); }
.hsec p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: #4A5568; }
.hsec p:last-child { margin-bottom: 0; }
.hsec a { color: var(--navy); text-decoration: underline; }
.otable { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.otable th, .otable td { padding: 18px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; line-height: 1.6; }
.otable th { width: 180px; padding-right: 24px; font-weight: 600; color: var(--ink, #1A2332); }
.otable td { color: #4A5568; }
.otable--steps th { width: 100px; font-weight: 500; color: var(--navy); }
.otable--steps td strong { display: block; margin-bottom: 2px; font-weight: 600; color: var(--ink, #1A2332); }
.otable--steps td span { display: block; }
@media (max-width: 960px) { .help { grid-template-columns: 1fr; gap: 32px; } .help__nav { position: static; } }
@media (max-width: 640px) { .otable th { width: 110px; } .otable--steps th { width: 70px; } }
.otable tr:last-child th, .otable tr:last-child td { border-bottom: 0; padding-bottom: 0; }

/* FAQ accordion */
.qa-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-size: 16px; font-weight: 500; color: var(--ink, #1A2332); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--navy); }
.qa__ico { position: relative; flex: none; width: 14px; height: 14px; }
.qa__ico::before, .qa__ico::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; background: var(--navy); transition: transform .2s; }
.qa__ico::after { transform: rotate(90deg); }
.qa[open] .qa__ico::after { transform: rotate(0deg); }
.qa__a p { margin: 0; padding: 0 40px 22px 0; font-size: 15px; line-height: 1.7; color: #4A5568; }
.qa__a a { color: var(--navy); text-decoration: underline; }
.qa:last-child { border-bottom: 0; }

/* Contact */
.cgrid { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: start; }
.cform h2, .cside h2 { margin: 0 0 12px; font-size: 26px; font-weight: 400; color: var(--ink, #1A2332); }
.cform__lead { margin: 0 0 28px; font-size: 16px; line-height: 1.6; color: #4A5568; }
.cform form { max-width: 720px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cform .btn { margin-top: 8px; }
.cside { padding-left: 48px; border-left: 1px solid var(--line); }
.cside h2 { margin-bottom: 20px; }
.cside__h2 { margin-top: 40px !important; }
.office { padding: 20px 0; border-top: 1px solid var(--line); }
.office:last-of-type { border-bottom: 1px solid var(--line); }
.office h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; color: var(--ink, #1A2332); }
.office p { margin: 0 0 8px; font-size: 15px; color: #4A5568; }
.office a, .cside .otable a { font-size: 15px; color: var(--navy); text-decoration: underline; }
.cside .otable th { width: 150px; }
@media (max-width: 960px) { .cgrid { grid-template-columns: 1fr; gap: 48px; } .cside { padding-left: 0; border-left: 0; } }
@media (max-width: 640px) { .cform__row { grid-template-columns: 1fr; gap: 0; } }
.cside .otable th { width: 160px; white-space: nowrap; }
.office p { margin: 0; }
.dnav__list > .dnav__item:first-child { margin-left: -16px; }
.dnav__sec > li:last-child { margin-right: -16px; }

/* Hero: box with left accent bar + serif headline */
.hero__text { max-width: 680px; padding: 52px 56px; border-left: 4px solid #fff; }
.hero .h1 { font-family: "Libre Caslon Text", Georgia, serif; font-weight: 400; font-size: 46px; line-height: 1.15; letter-spacing: -.005em; }
.hero__sub { font-size: 17px; color: rgba(255,255,255,.8); margin-top: 18px; }
@media (max-width: 760px) { .hero__text { padding: 32px 28px; } .hero .h1 { font-size: 34px; } }
.hero .h1 { max-width: none; }
.hero__text { max-width: 720px; }
.hero__text { max-width: 780px; }
.hero .h1 { font-size: 44px; text-wrap: balance; }
.hero__text { max-width: 640px; }
.hero .h1 { font-size: 48px; }
@media (max-width: 760px) { .hero .h1 { font-size: 34px; } }
.hero__text { max-width: 720px; }
.hero__sub { text-wrap: balance; }

/* Hero headline: Caslon Display */
.hero .h1 { font-family: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif; font-weight: 400; font-size: 54px; line-height: 1.1; letter-spacing: 0; }
@media (max-width: 760px) { .hero .h1 { font-size: 38px; } }
.hero .h1 { text-wrap: balance; }
.feat-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-grid--3 .feat-card__img { height: 200px; }
.feat-card__desc { font-size: 14px; line-height: 1.5; color: #6B7280; }
.feat-grid--3 .feat-card__body { padding: 20px 22px 22px; gap: 6px; }
.feat-grid--3 .feat-card__title { font-size: 17px; }
@media (max-width: 960px) { .feat-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feat-grid--3 { grid-template-columns: 1fr; } }
.feat-grid--3 { gap: 20px; }
.feat-grid--3 .feat-card__img { height: 140px; }
.feat-grid--3 .feat-card__body { padding: 14px 18px 16px; gap: 3px; }
.feat-grid--3 .feat-card__title { font-size: 16px; }
.feat-card__desc { font-size: 13px; }

/* Division: what we supply + industries */
.supply { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.supply__intro .h2 { margin: 0 0 16px; }
.supply__intro p { margin: 0 0 28px; font-size: 16px; line-height: 1.7; color: #4A5568; }
.supply__table th { width: 220px; }
.inds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.ind { padding: 24px 0; border-top: 1px solid var(--line); }
.ind h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--ink, #1A2332); }
.ind p { margin: 0; font-size: 15px; line-height: 1.6; color: #4A5568; }
@media (max-width: 960px) { .supply { grid-template-columns: 1fr; gap: 32px; } .inds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .inds { grid-template-columns: 1fr; } .supply__table th { width: 130px; } }

/* ANZ map */
.intro__map { margin: 0; padding: 36px 32px 24px; background: var(--paper); border: 1px solid var(--line); }
.ozmap { display: block; width: 100%; height: auto; }
.ozmap__pulse { transform-box: fill-box; transform-origin: center; animation: ozpulse 2.4s ease-out infinite; }
.ozmap__office:nth-of-type(2) .ozmap__pulse { animation-delay: 1.2s; }
@keyframes ozpulse { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(3.2); opacity: 0; } }
.ozmap__arcs path { stroke-dashoffset: 0; animation: ozdash 30s linear infinite; }
@keyframes ozdash { to { stroke-dashoffset: -400; } }
.map-key { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: #4A5568; }
.map-key span { display: inline-flex; align-items: center; gap: 8px; }
.map-key i { display: inline-block; border-radius: 50%; }
.map-key__office { width: 12px; height: 12px; background: #0A1A36; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #0A1A36; }
.map-key__city { width: 9px; height: 9px; background: #1F3F78; }
@media (prefers-reduced-motion: reduce) { .ozmap__pulse, .ozmap__arcs path { animation: none; } }
.intro__map { padding: 28px 24px 20px; }
.intro__map { padding: 0; background: none; border: 0; }
.qform__msg { margin: 16px 0 0; padding: 14px 16px; font-size: 15px; line-height: 1.5; border-left: 3px solid; }
.qform__msg.is-ok { background: #EEF6F0; border-color: #2F7D4F; color: #1E4D31; }
.qform__msg.is-err { background: #FBEFEF; border-color: #B33A3A; color: #7A2222; }

/* Search suggestions */
.search { position: relative; }
.sugg { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 70; max-height: 460px; overflow-y: auto; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(10,26,54,.16); padding: 6px 0; }
.sugg__g { padding: 12px 16px 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8A93A3; }
.sugg__i { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 16px; font-size: 14px; color: var(--ink, #1A2332); text-decoration: none; }
.sugg__i:hover, .sugg__i.is-active { background: var(--paper); }
.sugg__t mark { background: none; color: var(--navy); font-weight: 600; }
.sugg__s { flex: none; font-size: 12px; color: #8A93A3; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sugg__none { padding: 12px 16px; font-size: 14px; color: #6B7280; }
.sugg__quote { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 12px; color: var(--navy); }
.sugg__quote::before { content: "\2192"; margin-right: 8px; }
.sugg__quote { justify-content: flex-start; }
.search__sel { width: 150px; }
.search__sel select { width: 100%; min-width: 0; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }

/* 404 */
.nf__in { max-width: 720px; padding-block: 40px 24px; }
.nf__h { font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; margin: 0 0 16px; }
.nf__p { font-size: 17px; line-height: 1.6; color: #4A5568; margin: 0 0 28px; }
.nf__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.nf__links { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; gap: 28px; flex-wrap: wrap; }
.nf__links a { color: var(--navy); text-decoration: underline; font-size: 15px; }

/* Mobile fixes */
.crumbs { flex-wrap: wrap; row-gap: 4px; }
.otable--steps th { white-space: nowrap; }
@media (max-width: 960px) { .menu-btn { margin-left: auto; } }
@media (max-width: 640px) { .crumbs { font-size: 12px; } .hero__text .crumbs span, .hero__text .crumbs a { white-space: nowrap; } }
@media (max-width: 768px) { .hdr__act { margin-left: auto; } }

/* Logo strip: size via --h; tighter on phones */
.logo-strip__item { height: var(--h, 34px); }
.logo-strip__label { text-wrap: balance; }
@media (max-width: 760px) {
  .logo-strip { padding-block: 22px 24px; }
  .logo-strip .wrap { padding-inline: 0; max-width: none; }
  .logo-strip__label { padding-inline: 24px; margin-bottom: 14px; }
  .logo-strip__track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .logo-strip__item { height: calc(var(--h, 34px) * 0.7); }
  .logo-strip__row { gap: 36px; padding-right: 36px; animation-duration: 40s; }
  .logo-strip__row img { max-width: 120px; }
}
