/* NORSE — Plain CSS, editable using Notepad. Colour settings are here. */
:root {
  --navy: #102c4a; --navy-deep: #09243f; --navy-soft:#183c5a;
  --orange: #f97320; --orange-dark:#db621d; --ink:#3d3d3d;
  --muted:#687685; --line:#e3e8ec; --surface:#f5f7f8;
  --white:#fff; --max:1180px; --radius:5px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:#fff; font-family:Arial, Helvetica, sans-serif; font-size:16px; line-height:1.65; }
a { color:var(--navy); text-decoration:none; }
a:hover, a:focus-visible { color:var(--orange-dark); }
img { display:block; max-width:100%; height:auto; }
button { font:inherit; }
:focus-visible { outline:3px solid var(--orange); outline-offset:3px; }
.container { width:min(var(--max), calc(100% - 36px)); margin-inline:auto; }
.skip-link { position:absolute; left:10px; top:-80px; z-index:110; background:#fff; padding:9px; }
.skip-link:focus { top:7px; }

/* Shared header and navigation */
.site-header { background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:100; box-shadow:0 2px 10px rgba(10,32,55,.05); }
.header-inner { min-height:83px; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.brand { display:flex; align-items:center; flex:none; gap:12px; }
.brand img { max-width:92px; max-height:62px; object-fit:contain; }
.brand-name { font-weight:700; color:var(--navy); font-size:clamp(15px,1.35vw,20px); line-height:1.16; letter-spacing:.01em; }
.brand-name small { display:block; color:var(--muted); font-weight:400; font-size:11px; letter-spacing:.08em; text-transform:uppercase; margin-top:4px; }
.primary-nav { margin-left:auto; }
.primary-nav ul { display:flex; padding:0; margin:0; list-style:none; gap:2px; align-items:center; }
.primary-nav a { display:block; font-size:14px; font-weight:700; color:var(--navy); padding:13px 15px; border-bottom:3px solid transparent; }
.primary-nav a:hover,.primary-nav a[aria-current="page"] { color:var(--orange-dark); border-bottom-color:var(--orange); }
.header-contact { display:flex; align-items:center; gap:10px; white-space:nowrap; }
.header-contact img { width:33px; height:auto; }
.header-contact-links { display:grid; line-height:1.35; gap:2px; }
.header-contact-links a { font-size:12px; color:var(--navy); }
.menu-button { display:none; border:1px solid var(--line); background:#fff; color:var(--navy); padding:8px 11px; border-radius:5px; cursor:pointer; font-size:23px; line-height:1; }

/* Video hero: existing media and exact legacy path */
.hero { background:var(--navy-deep); position:relative; overflow:hidden; }
.hero-media { position:relative; aspect-ratio:16/7; min-height:280px; max-height:690px; overflow:hidden; }
.hero video, .hero-backup { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-backup { display:none; }
.hero.is-fallback .hero-backup { display:block; }
.hero.is-fallback video { display:none; }
.hero-shade { position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,rgba(5,24,43,.40),transparent 65%); }
.hero-content { position:absolute; left:max(calc((100% - var(--max))/2),22px); right:22px; bottom:clamp(22px,4.5vw,65px); color:white; text-shadow:0 2px 9px rgba(0,0,0,.45); }
.hero-content p { font-size:clamp(16px,2vw,21px); margin:0; max-width:650px; }
.hero-content h1 { font-size:clamp(32px,4.5vw,62px); line-height:1.1; margin:0 0 10px; color:white; }
.hero-controls { position:absolute; bottom:16px; right:18px; }
.video-toggle { cursor:pointer; background:rgba(9,36,63,.78); color:#fff; border:1px solid #ffffff88; padding:7px 12px; border-radius:4px; }

/* Sections */
.page-intro { background:var(--navy); color:#fff; padding:55px 0 52px; }
.page-intro h1 { color:#fff; margin:0 0 6px; font-size:clamp(32px,4vw,52px); font-weight:600; }
.page-intro p { max-width:770px; margin:0; color:#e0e8ef; font-size:18px; }
.section { padding:64px 0; }
.section-tight { padding:37px 0; }
.section-alt { background:var(--surface); }
.section-navy { background:var(--navy); color:white; }
.section-navy h1,.section-navy h2,.section-navy h3 { color:#fff; }
.section-navy a { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.section h2 { font-size:clamp(27px,3vw,39px); line-height:1.23; font-weight:500; color:var(--navy); margin:0 0 22px; }
.section.section-navy h2 { color:#fff; }
.section h3 { color:var(--navy); font-size:22px; line-height:1.3; margin:0 0 12px; }
.section p { margin:0 0 17px; }
.lead { font-size:19px; line-height:1.75; }
.eyebrow { text-transform:uppercase; font-weight:700; letter-spacing:.12em; color:var(--orange-dark); font-size:12px; display:block; margin-bottom:12px; }
.section-navy .eyebrow { color:#ffae75; }
.grid-2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:34px; align-items:start; }
.grid-3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.button-link { display:inline-block; padding:12px 22px; background:var(--orange); color:#fff; font-weight:700; border-radius:var(--radius); }
.button-link:hover { background:var(--orange-dark); color:#fff; }
.text-link { color:var(--orange-dark); font-weight:700; }
.service-strip { padding:30px 0 33px; border-bottom:1px solid var(--line); background:#fff; }
.service-icons { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:20px; align-items:center; }
.service-icons img { width:100%; max-height:130px; object-fit:contain; }
.services-mobile-graphic { display:none; margin:0 auto; max-width:600px; }
.company-layout { display:grid; grid-template-columns:minmax(150px,240px) 1fr; gap:48px; align-items:center; }
.company-logo { max-width:200px; margin-inline:auto; }
.group-list { margin:16px 0 0; padding-left:18px; }
.group-list li { padding-bottom:5px; }
.person-grid { display:grid; grid-template-columns:repeat(2,minmax(0,260px)); gap:24px; justify-content:center; }
.person-card { text-align:center; }
.person-card img { width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:3px; }
.person-card p { font-size:14px; margin:10px 0 0; }
.fleet-summary { display:flex; gap:30px; align-items:center; justify-content:space-between; }
.fleet-summary h2 { max-width:900px; }
.fleet-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:23px; }
.fleet-card { background:#fff; border:1px solid var(--line); overflow:hidden; border-radius:3px; }
.fleet-card a { display:block; }
.fleet-card img { width:100%; aspect-ratio: 4 / 3; object-fit:cover; transition:transform .22s; }
.fleet-card:hover img { transform:scale(1.025); }
.fleet-caption { padding:14px 15px 17px; }
.fleet-caption strong { color:var(--navy); font-size:17px; display:block; }
.fleet-caption span { color:var(--muted); font-size:13px; }
.callout { padding:21px 24px; border-left:4px solid var(--orange); background:var(--surface); }
.contact-card { border:1px solid var(--line); padding:26px; background:#fff; border-radius:3px; overflow-wrap:anywhere; }
.contact-card h2 { font-size:24px; margin:0 0 16px; }
.contact-card address { font-style:normal; }
.contact-card p { margin:0 0 10px; }
.contact-card a { color:var(--navy); text-decoration:underline; text-underline-offset:3px; }
.cta-band { background:var(--navy); padding:35px 0; color:#fff; }
.cta-band .container { display:flex; justify-content:space-between; gap:20px; align-items:center; }
.cta-band h2 { margin:0; color:#fff; font-size:25px; }
.site-footer { margin-top:auto; padding:30px 0; background:var(--navy-deep); color:#cdd9e3; font-size:13px; }
.site-footer a { color:#fff; }
.footer-inner { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.footer-links { display:flex; gap:20px; flex-wrap:wrap; }

@media (max-width:1100px) {
 .header-contact { display:none; }
 .fleet-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:800px) {
 .header-inner { min-height:72px; }
 .brand img { max-width:70px; max-height:54px; }
 .menu-button { display:block; margin-left:auto; }
 .primary-nav { display:none; position:absolute; top:100%; left:0; right:0; background:#fff; border-top:1px solid var(--line); box-shadow:0 9px 18px rgba(0,0,0,.12); }
 .primary-nav.is-open { display:block; }
 .primary-nav ul { display:block; padding:7px 18px 15px; }
 .primary-nav a { padding:14px 8px; border-bottom:1px solid var(--line); }
 .primary-nav a[aria-current="page"] { border-bottom-color:var(--orange); }
 .hero-media { aspect-ratio:16/10; min-height:230px; }
 .service-icons { display:none; }
 .services-mobile-graphic { display:block; }
 .grid-2, .grid-3 { grid-template-columns:1fr; }
 .fleet-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .company-layout { grid-template-columns:1fr; gap:25px; }
 .company-logo { max-width:135px; }
 .section { padding:45px 0; }
 .fleet-summary { display:block; }
 .cta-band .container { align-items:flex-start; flex-direction:column; }
}
@media (max-width:520px) {
 .container { width:calc(100% - 28px); }
 .brand-name { font-size:15px; }
 .brand-name small { font-size:9px; }
 .hero-media { aspect-ratio:4/3; min-height:245px; }
 .hero-content h1 { font-size:32px; }
 .hero-content p { font-size:15px; }
 .video-toggle { font-size:12px; }
 .fleet-grid { grid-template-columns:1fr; }
 .person-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .page-intro { padding:42px 0; }
 .footer-inner { display:block; }
 .footer-links { margin-top:12px; }
}
@media (prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* ================================================================
   PHOTO FRAMES - shadow, fine outline and subtle 3D lift.
   Change shadow strength here, not in each HTML file.
   ================================================================ */
:root {
  --photo-outline: rgba(15, 50, 80, .20);
  --photo-shadow: 0 13px 28px rgba(12, 37, 61, .18),
                  0 3px 7px rgba(12, 37, 61, .10);
  --photo-shadow-raised: 0 23px 42px rgba(12, 37, 61, .24),
                         0 8px 15px rgba(12, 37, 61, .12);
}

/* Fleet photographs sit in a thin white frame with layered depth. */
.fleet-card {
  border: 1px solid var(--photo-outline);
  border-radius: 7px;
  box-shadow: var(--photo-shadow);
  transform: translateY(0);
  transition: transform .38s ease, box-shadow .38s ease;
}
.fleet-card img {
  border: 5px solid #fff;
  border-bottom: 0;
  box-shadow: inset 0 0 0 1px var(--photo-outline);
  transition: transform .38s ease, filter .38s ease;
}
/* Portraits and any future image given class="photo-3d". */
.person-card img,
.photo-3d {
  border: 6px solid #fff;
  outline: 1px solid var(--photo-outline);
  outline-offset: 0;
  border-radius: 5px;
  box-shadow: var(--photo-shadow);
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) translateY(0);
  transition: transform .4s ease, box-shadow .4s ease;
}
@media (hover: hover) and (pointer: fine) {
  .fleet-card:hover,
  .fleet-card:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--photo-shadow-raised);
  }
  .fleet-card:hover img,
  .fleet-card:focus-within img { transform: scale(1.018); }
  .person-card:hover img,
  .photo-3d:hover {
    transform: perspective(900px) rotateX(1deg) rotateY(-2deg) translateY(-4px);
    box-shadow: var(--photo-shadow-raised);
  }
}

/* ================================================================
   TEXT FADE-IN - shown when sections enter the viewport.
   JavaScript adds the classes. Text stays visible if JS is disabled.
   ================================================================ */
.motion-ready .text-reveal {
  opacity: 0;
  transform: translateY(13px);
  transition: opacity .72s ease-out, transform .72s cubic-bezier(.2,.75,.24,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-ready .text-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Never hide text in printouts or for users who prefer less motion. */
@media (prefers-reduced-motion: reduce) {
  .motion-ready .text-reveal { opacity: 1; transform: none; transition: none; }
  .fleet-card, .person-card img, .photo-3d { transform: none !important; }
}
@media print {
  .motion-ready .text-reveal { opacity: 1 !important; transform: none !important; }
  .fleet-card, .person-card img, .photo-3d { box-shadow: none; }
}
@media (max-width: 520px) {
  .person-card img, .photo-3d { border-width: 4px; }
  .fleet-card { box-shadow: 0 8px 16px rgba(12,37,61,.15); }
}


/* EVENTS PAGE — one photo from the original signing ceremony, 3D frame in CSS */
.event-tag { display:inline-block; color:#ffbe94; font-size:13px; letter-spacing:.08em; font-weight:700; text-transform:uppercase; margin-bottom:10px; }
.event-content { max-width:1040px; }
.event-photo { margin:0 auto 45px; }
.event-photo img { display:block; width:100%; height:auto; border:9px solid #fff; outline:1px solid rgba(15,50,80,.22); box-shadow:0 22px 48px rgba(12,37,61,.23),0 6px 12px rgba(12,37,61,.12); border-radius:6px; }
.event-photo figcaption { margin:15px 5px 0; font-size:13px; color:var(--muted); text-align:center; }
.event-copy { max-width:900px; margin:0 auto 34px; }
.event-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:30px 0 50px; }
.event-facts>div { background:var(--surface); border-top:3px solid var(--orange); padding:22px 14px; text-align:center; }
.event-facts strong { color:var(--navy); display:block; font-size:clamp(20px,2.5vw,30px); line-height:1.2; }
.event-facts span { display:block; color:var(--muted); font-size:13px; margin-top:8px; }
.event-details { margin:32px 0; }
.event-smallprint { font-size:13px; color:var(--muted); }
.event-home-grid { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:38px; }
.event-home-photo img { width:100%; height:auto; }
@media(max-width:800px) { .event-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }.event-home-grid {grid-template-columns:1fr;} }
@media(max-width:520px) { .event-photo img { border-width:4px; } .event-facts>div { padding:18px 6px; } }

/* RIGHT-SLIDING FLEET PDF VIEWER — no additional JS library required */
body.pdf-is-open { overflow:hidden; }
.pdf-modal { position:fixed; inset:0; z-index:900; visibility:hidden; pointer-events:none; }
.pdf-modal.is-open { visibility:visible; pointer-events:auto; }
.pdf-overlay { position:absolute; inset:0; background:rgba(3,17,29,.62); opacity:0; transition:opacity .35s ease; }
.pdf-modal.is-open .pdf-overlay { opacity:1; }
.pdf-drawer { position:absolute; right:0; top:0; bottom:0; display:flex; flex-direction:column; width:min(940px,94vw); background:white; color:var(--ink); transform:translateX(102%); box-shadow:-12px 0 32px rgba(0,0,0,.20); transition:transform .38s cubic-bezier(.2,.8,.2,1); }
.pdf-modal.is-open .pdf-drawer { transform:translateX(0); }
.pdf-toolbar { padding:12px 20px; display:flex; justify-content:space-between; align-items:center; gap:16px; background:var(--navy); color:#fff; min-height:79px; }
.pdf-titles { min-width:0; }.pdf-kicker { display:block; font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:#ffb687; }
.pdf-toolbar h2 { color:white; font-size:18px; line-height:1.25; margin:4px 0 0; }
.pdf-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.pdf-actions a, .pdf-actions button { color:#fff; background:transparent; border:1px solid #c5d5df91; padding:8px 10px; border-radius:4px; text-decoration:none; font-size:13px; cursor:pointer; white-space:nowrap; }
.pdf-actions a:hover, .pdf-actions button:hover { color:white; background:#ffffff2b; }
.pdf-close { display:flex; align-items:center; gap:5px; }.pdf-close:first-letter {font-size:20px;}
.pdf-viewport { flex:1; min-height:0; background:#f3f5f7; display:flex; flex-direction:column; }
.pdf-viewport iframe { width:100%; flex:1; border:none; background:#fff; min-height:180px; }
.pdf-help { font-size:12px; line-height:1.35; padding:7px 15px; margin:0; color:#485260; background:#eff3f6; }
@media(max-width:700px) { .pdf-drawer { width:100vw; }.pdf-toolbar { flex-direction:column; align-items:stretch; gap:8px; padding:10px 12px; }.pdf-actions { justify-content:flex-start; gap:7px; }.pdf-actions a,.pdf-actions button {font-size:12px; padding:6px 8px;}.pdf-help {font-size:11px;} }
@media(prefers-reduced-motion:reduce) { .pdf-drawer,.pdf-overlay { transition:none; } }

/* Six service subjects preserved; modern artwork and responsive layout. */
.service-strip {padding:28px 0 34px; background:linear-gradient(180deg,#fff 0%,#f7fafc 100%);}
.service-icons {display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:13px; align-items:stretch;}
.service-icon-card {margin:0; min-width:0; padding:16px 8px 15px; background:#fff; border:1px solid #dfe8ef; border-radius:12px; box-shadow:0 7px 18px rgba(16,44,74,.085); display:flex; flex-direction:column; justify-content:center; align-items:center; transition:transform .24s ease,box-shadow .24s ease;}
.service-icon-card img {display:block; width:100%; max-width:150px; height:112px; max-height:none; object-fit:contain;}
.service-icon-card figcaption {font-weight:700; font-size:clamp(11px,1.05vw,13px); line-height:1.35; text-align:center; color:#102c4a; margin-top:8px; min-height:3.2em; display:flex; align-items:center; justify-content:center;}
@media (hover:hover) and (pointer:fine) {.service-icon-card:hover {transform:translateY(-3px);box-shadow:0 12px 23px rgba(16,44,74,.14);}}
@media(max-width:1000px){.service-icons{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}.service-icon-card img{height:105px;}.service-icon-card figcaption{font-size:13px;}}
@media(max-width:800px){.service-icons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}.services-mobile-graphic{display:none;}}
@media(max-width:520px){.service-strip{padding:17px 0 23px;}.service-icons{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.service-icon-card{padding:11px 7px 13px;border-radius:9px;}.service-icon-card img{height:94px;max-width:130px;}.service-icon-card figcaption{font-size:12px;min-height:3.5em;margin-top:5px;}}
@media (prefers-reduced-motion:reduce){.service-icon-card{transition:none;}}


/* ===============================================================
   VISUAL REFINEMENT — 28 Nov 2026
   Preserve page order, layout and Norse colours.  Adjust only
   presentation, PDF readability and mobile scaling.
   =============================================================== */

/* Company: light body restores logo contrast and makes text easier
   to read. The compact navy heading at the top remains unchanged. */
.company-main { background:#fff; color:var(--ink); }
.company-main h2 {color:var(--navy);}
.company-main .eyebrow {color:var(--orange-dark);}
.company-main .company-logo {background:#fff;object-fit:contain;}
.company-main .lead {font-size:18px;line-height:1.65;}
.company-main .group-list {color:var(--ink);}

/* Keep branding and Singapore flag legible in their original position. */
.header-inner {gap:12px;}
.brand {gap:13px; min-width:0;}
.brand img {width:76px;max-width:76px;max-height:66px;flex-shrink:0;}
.brand-name {font-size:19px;white-space:nowrap;}
.brand-name small {font-size:10px;letter-spacing:.075em;}
.primary-nav a {padding:12px 12px;}
.header-contact img {width:44px;min-width:44px;}
.header-contact-links a {font-size:13px;}
@media (min-width:1101px) and (max-width:1250px) {
  .brand img {width:65px;}
  .brand-name {font-size:16px;}
  .primary-nav a {padding:11px 9px;font-size:13px;}
}
@media (max-width:800px) {
 .brand img {width:61px;max-width:61px;max-height:55px;}
 .brand-name {font-size:16px;}
 .brand-name small {font-size:9px;white-space:normal;}
}
@media (max-width:390px){.brand-name{font-size:14px;}.brand-name small{font-size:8px;}}

/* Remove apparent side bars: video always fills the complete hero
   container. A subtle gradient improves overlay text contrast. */
.hero-media {width:100%;max-width:none;isolation:isolate;background:#0a2944;}
.hero-media video {display:block;max-width:none;object-fit:cover;object-position:center center;}
.hero-shade {background:linear-gradient(90deg,rgba(5,20,37,.49) 0%,rgba(5,20,37,.15) 54%,transparent 90%);}
.hero-content {max-width:min(760px,calc(100% - 100px));bottom:clamp(25px,4.5vw,65px);}
.hero-content h1 {font-size:clamp(32px,4vw,54px);letter-spacing:-.025em;line-height:1.12;margin-bottom:8px;}
.hero-content p {font-size:clamp(15px,1.45vw,19px);}
@media(max-width:800px){.hero-content{max-width:calc(100% - 45px);bottom:55px;}.hero-content h1{font-size:clamp(30px,6vw,42px);}}
@media(max-width:520px){.hero-content{left:18px;right:18px;bottom:56px;max-width:calc(100% - 36px);}.hero-content h1{font-size:30px;}.hero-content p{font-size:14px;}.hero-controls{bottom:11px;right:13px;}}

/* Fleet particulars: almost full-screen drawer makes each PDF much
   larger on desktop, while retaining a visible sliver of the page. */
.pdf-drawer {width:min(1450px,96vw);}
.pdf-toolbar {min-height:64px;padding:8px 18px;}
.pdf-viewport iframe {min-height:0;}
.pdf-help {padding:5px 14px;}
@media (max-width:700px){
 .pdf-drawer{width:100vw;}
 .pdf-toolbar{min-height:0;}
 .pdf-toolbar h2{font-size:16px;}
}

/* 2026-11-28: targeted fixes; preserve all other page layout and effects. */
/* Return Singapore flag to compact header size. */
.header-contact img {width:33px; min-width:33px; height:auto;}
/* One management portrait per row on a phone (and smaller tablets). */
@media (max-width:600px) {
  .person-grid {grid-template-columns:minmax(0, 340px); justify-content:center; gap:25px;}
  .person-card {width:100%;}
}

/* 28 Nov 2026: larger Singapore flag as requested; keep existing layout. */
.header-contact img {width:78px; min-width:78px; height:auto; object-fit:contain;}
@media (min-width:801px) and (max-width:1250px) {
  .header-contact img {width:65px;min-width:65px;}
}

/* Self-contained, mobile-first vessel PDF reader. No browser PDF plugin needed. */
.pdf-reader .pdf-drawer { width:min(1550px,97vw); }
.pdf-reader .pdf-toolbar { flex-shrink:0; }
.reader-controls { flex-shrink:0; display:flex;align-items:center;gap:8px;padding:8px 16px;background:#edf2f6;border-bottom:1px solid #cbd7df; color:#13304f; }
.reader-controls button {min-width:39px;min-height:38px;border:1px solid #c4d3de;background:#fff;color:#10324f;font-size:19px;border-radius:7px;cursor:pointer;}
.reader-controls button:disabled {opacity:.35;cursor:default;}
.reader-controls .reader-fit {font-size:13px;padding:0 12px;}
.reader-spacer {flex:1;}
.reader-page,.reader-zoom {font-size:13px;white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums;}
.reader-scroll {flex:1;min-height:0;min-width:0;overflow:auto;background:#aebac4;overscroll-behavior:contain;touch-action:pan-x pan-y;padding:15px;}
.reader-canvas {margin:0 auto;max-width:none;min-width:0;box-shadow:0 6px 24px rgba(0,0,0,.19);background:#fff;}
.reader-page-image {display:block;width:100%;height:auto;max-width:none;}
.reader-status {text-align:center;background:#fff;border-radius:8px;padding:18px;max-width:380px;margin:30px auto;color:#234;}
@media(max-width:700px){
 .pdf-reader .pdf-drawer {width:100vw;width:100dvw;}
 .pdf-reader .pdf-toolbar {padding:8px 10px;gap:6px;}
 .pdf-reader .pdf-actions {gap:6px;}
 .pdf-reader .pdf-actions a,.pdf-reader .pdf-actions button {padding:8px 9px;min-height:37px;font-size:12px;}
 .reader-controls {gap:5px;padding:7px 8px;}
 .reader-controls button {min-width:35px;min-height:38px;}
 .reader-page,.reader-zoom {font-size:12px;}
 .reader-scroll {padding:9px;}
}
@media(max-width:380px){.reader-controls {gap:3px;}.reader-controls button {min-width:31px;}.reader-page{font-size:11px;}}

/* Homepage company presentation: pale blue with management portraits. */
.home-company-section { background:#67d1df; color:#082a46; }
.home-company-section h2 { color:#082a46; }
.home-company-section .eyebrow { color:#994016; }
.home-company-section .company-layout { align-items:center; }
.home-company-section .company-logo { object-fit:contain; }
.home-company-section .button-link { color:#fff; }
.home-company-portraits { padding-top:34px; }
.home-people-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; max-width:1140px; margin:0 auto; }
.home-person-card { margin:0; min-width:0; text-align:center; }
.home-person-card img { display:block; width:100%; height:auto; border:6px solid #fff; border-radius:5px; box-shadow:0 9px 23px rgba(6,36,60,.23); background:#fff; }
.home-person-card figcaption { margin-top:10px; font-size:14px; }
.home-person-card figcaption a { color:#07304e; text-decoration:underline; }
@media (max-width:640px) {
  .home-company-portraits { padding-top:26px; }
  .home-people-grid { grid-template-columns:1fr; max-width:420px; gap:26px; }
}

/* Targeted homepage portrait sizing: 2 modest cards on desktop, stacked on mobile. */
@media (min-width:641px) {
  .home-company-section .home-people-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:790px;
    gap:26px;
    margin-inline:auto;
  }
}
@media (max-width:640px) {
  .home-company-section .home-people-grid {
    grid-template-columns:minmax(0,1fr);
    max-width:340px;
    gap:24px;
    margin-inline:auto;
  }
}

/* ==================================================================
   HOMEPAGE MANAGEMENT / FLAG: explicit breakpoints, 28 Nov 2026
   Applied with new stylesheet path to invalidate previously cached CSS.
   ================================================================== */
@media screen and (min-width: 701px) {
  body[data-page="home"] .home-company-section .home-company-portraits .home-people-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
    max-width:790px;
    width:100%;
    margin-inline:auto;
  }
  body[data-page="home"] .home-company-section .home-person-card { width:100%; min-width:0; }
}
@media screen and (max-width:700px) {
  body[data-page="home"] .home-company-section .home-company-portraits .home-people-grid {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:24px;
    max-width:340px;
    margin-inline:auto;
  }
}
body[data-page="home"] .home-company-section { background:#67d1df; color:#082a46; }
body[data-page="home"] .home-person-card img { width:100%; height:auto; display:block; }
/* Large Singapore flag matching the supplied reference; no desktop shrink. */
@media (min-width: 801px) {
  .site-header .header-contact img { width:90px; min-width:90px; max-width:90px; height:60px; object-fit:contain; }
}

/* 28 Nov: final header flag asset is tightly cropped (no embedded whitespace). */
@media (min-width:1101px) {
  .site-header .header-contact { flex:0 0 auto; gap:12px; align-items:center; }
  .site-header .header-contact img { display:block; width:96px !important; min-width:96px !important; max-width:96px !important; height:64px !important; object-fit:fill !important; }
}
/* Floating return-to-top control, shared by all six pages. */
.norse-back-to-top { position:fixed; right:22px; bottom:24px; z-index:250; min-width:54px; min-height:54px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0; padding:5px 10px; border:1px solid #ffffffa8; border-radius:10px; background:#102c4a; box-shadow:0 7px 22px rgba(9,36,63,.28); color:#fff; font-size:11px; font-weight:700; line-height:1.2; cursor:pointer; opacity:0; visibility:hidden; pointer-events:none; transform:translateY(10px); transition:opacity .2s, transform .2s, visibility .2s; }
.norse-back-to-top .arrow {font-size:25px; line-height:1.1; }
.norse-back-to-top.is-visible {opacity:1;visibility:visible;pointer-events:auto; transform:translateY(0);}
.norse-back-to-top:hover,.norse-back-to-top:focus-visible { background:#f97320; color:#fff; }
@media(max-width:800px) { .norse-back-to-top {right:13px;bottom:16px;min-width:49px;min-height:49px;} }
@media(prefers-reduced-motion:reduce) {.norse-back-to-top {transition:none;}}


/* Video branding overlay: small Norse logo left, pause control right.
   Identical inset and button/logo widths on desktop and mobile. */
.hero-shade { background:none; }
.hero-media { --hero-control-inset:18px; --hero-control-width:112px; }
.hero-brand {
  position:absolute; z-index:3;
  left:var(--hero-control-inset); bottom:var(--hero-control-inset);
  width:var(--hero-control-width);
  display:flex; align-items:center; justify-content:center;
  padding:6px; border-radius:5px;
  background:rgba(255,255,255,.84);
  box-shadow:0 3px 10px rgba(0,0,0,.18);
  pointer-events:none;
}
.hero-brand img {display:block; width:100%; height:auto; object-fit:contain;}
.hero-controls { z-index:3; right:var(--hero-control-inset); bottom:var(--hero-control-inset); }
.video-toggle { width:var(--hero-control-width); min-height:38px; }
@media (max-width:520px) {
  .hero-media { --hero-control-inset:12px; --hero-control-width:88px; }
  .hero-brand {padding:4px;}
  .video-toggle {min-height:34px; padding:6px 4px; font-size:11px;}
}

/* Transparent diamond-only badge overlay, 80% of the Pause button width. */
.hero-brand { width:calc(var(--hero-control-width) * .8) !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
.hero-brand img { width:100% !important; height:auto !important; display:block; filter:drop-shadow(0 2px 4px rgba(0,0,0,.30)); }

/* Norse hero badge: crisp 1px white edge around all opaque badge shapes,
   including N; transparent centre stays transparent and footage visible. */
.hero-brand img {
  filter:
    drop-shadow(1px 0 0 #fff)
    drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff)
    drop-shadow(0 -1px 0 #fff)
    drop-shadow(0 2px 4px rgba(0,0,0,.42)) !important;
}
/* Match Singapore flag's visual WIDTH to the Norse emblem in the header.
   Override older 96px high-specificity rules without moving other items. */
@media (min-width:1101px) {
  .site-header .header-contact img {
    width:76px !important;
    min-width:76px !important;
    max-width:76px !important;
    height:auto !important;
    object-fit:contain !important;
  }
}

/* 28 Nov: clear, continuous Singapore flag border, including bottom edge.
   Keep flag's approved visible size and all header positioning unchanged. */
.site-header .header-contact img {
  border: 1px solid #b7bcc2 !important;
  box-sizing: border-box !important;
}


/* Mobile-only hero controls: desktop retains its approved dimensions.
   Keep left and right offsets equal, badge width at 80% of Pause button. */
@media (max-width: 600px) {
  .hero-media {
    --hero-control-inset: 12px;
    --hero-control-width: 72px;
  }
  .hero-brand {
    width: calc(var(--hero-control-width) * .8) !important;
    padding: 0 !important;
  }
  .hero-controls { right: var(--hero-control-inset); bottom: var(--hero-control-inset); }
  .video-toggle {
    width: var(--hero-control-width);
    min-width: 0;
    min-height: 38px;
    padding: 5px 4px;
    font-size: 11px;
    line-height: 1.2;
  }
}

/* Desktop hero framing correction: source video is 16:9, banner is wider.
   Anchor video to the TOP to preserve the upper part of each shot.
   This does not change banner dimensions, mobile framing, or overlays. */
@media (min-width: 801px) {
  .hero-media video,
  .hero-media .hero-backup { object-position: center top; }
}


/* Full-frame desktop video: source is 16:9. No top OR bottom cropping.
   Do not apply this to mobile, whose layout was approved. */
@media screen and (min-width:801px) {
  .hero .hero-media {
    aspect-ratio:16 / 9 !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }
  .hero .hero-media video,
  .hero .hero-media .hero-backup {
    object-fit:contain !important;
    object-position:center center !important;
  }
}


/* Desktop only: centered full-frame video, not stretched across the full viewport.
   16:9 aspect ratio preserves every pixel of the original video.
   Mobile sizing and video overlay controls are intentionally unchanged. */
@media screen and (min-width:801px) {
  .hero {
    background: #fff !important;
  }
  .hero .hero-media {
    width: calc(100% - 40px) !important;
    max-width: 1100px !important;
    margin: 20px auto !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
  }
  .hero .hero-media video,
  .hero .hero-media .hero-backup {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}
