/* ESKIMO – revamp v2 (Direction A "Offshore Grade") in the official palette
   Marine #00305b · Cerulean #0fa7bf · Fire Bush #ed9a1e · Dark Jungle #242323 · Alabaster #fafafa */
:root {
  --marine: #00305b;
  --marine-d: #001f3d;
  --marine-dd: #00162c;
  --cerulean: #0fa7bf;
  --cerulean-l: #5fd0e2;
  --fire: #ed9a1e;
  --fire-d: #d4830b;
  --ink: #242323;
  --muted: #5b6470;
  --alabaster: #fafafa;
  --light: #eef3f7;
  --line: #d9e2ea;
  --white: #fff;
  --wrap: 1240px;
  --cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-family: Barlow, Arial, "Helvetica Neue", sans-serif;
  color: var(--ink);
  line-height: 1.6;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--alabaster); font-size: 17px; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--marine); }
a:hover { color: var(--cerulean); }
h1, h2, h3, h4 { font-family: var(--cond); text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; margin: 0 0 .5em; color: var(--marine); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 24ch; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.05rem; letter-spacing: .06em; color: var(--muted); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--fire); color: #000; padding: 8px 14px; }
.skip:focus { left: 8px; }
.kick, .tag { font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; color: var(--cerulean); margin-bottom: .8em; }
.lead { font-size: 1.15rem; max-width: 60ch; }
.lead.dark { color: var(--muted); }
.right { text-align: right; margin-top: 18px; }
.small, .note { font-size: .9rem; color: var(--muted); }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.btn { display: inline-block; background: var(--fire); color: #1b1300; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .92rem;
  padding: 14px 24px; text-decoration: none; border: 2px solid var(--fire); border-radius: 2px; }
.btn:hover { background: var(--fire-d); border-color: var(--fire-d); color: #000; }
.btn-o { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-o:hover { background: #fff; color: var(--marine); border-color: #fff; }
.btn-o2 { background: transparent; color: var(--marine); border-color: var(--marine); }
.btn-o2:hover { background: var(--marine); color: #fff; border-color: var(--marine); }
.btn-s { padding: 9px 16px; font-size: .82rem; }
.more { font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }

/* header: transparent over hero, solid after scroll / on pages without hero */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; background: linear-gradient(180deg, rgba(0,22,44,.75), rgba(0,22,44,0)); }
.hdr.solid { background: var(--marine-d); box-shadow: 0 2px 18px rgba(0,0,0,.25); }
.bar { display: flex; align-items: center; gap: 22px; height: 78px; }
.brand { flex: none; }
.brand img { width: 158px; }
.brand .ld { display: none; }
#nav { flex: 1; }
#nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px 18px; flex-wrap: wrap; }
#nav a { color: #e9f2f8; text-decoration: none; font-weight: 600; font-size: .86rem; text-transform: uppercase; letter-spacing: .06em; padding: 6px 0; border-bottom: 2px solid transparent; }
#nav a:hover, #nav a[aria-current] { color: #fff; border-bottom-color: var(--cerulean); }
.tools { display: flex; align-items: center; gap: 12px; flex: none; }
.lang { color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; border: 1px solid rgba(255,255,255,.4); padding: 6px 9px; letter-spacing: .08em; }
.lang:hover { background: #fff; color: var(--marine); }
.nav-toggle { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); padding: 8px 14px; font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .tools .btn-s { display: none; }
  #nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: var(--marine-d); padding: 10px 24px 22px; }
  #nav.open { display: block; }
  #nav ul { flex-direction: column; gap: 0; }
  #nav a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .95rem; }
  .bar { justify-content: space-between; }
}

/* hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--marine-dd); color: #fff; }
.hero-s { min-height: 64vh; }
.hmedia { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,22,44,.55) 0%, rgba(0,22,44,.15) 38%, rgba(0,22,44,.92) 100%); }
.htext { position: relative; z-index: 2; width: 100%; padding-top: 130px; padding-bottom: 72px; }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 6.6vw, 6rem); max-width: 14ch; margin-bottom: .35em; }
.hero-s h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 20ch; }
.hero h1 em { font-style: normal; color: var(--cerulean-l); }
.hero .lead { color: #d5e6f1; }
.hero .tag { color: var(--cerulean-l); }

/* stats band */
.stats { background: var(--marine-d); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--cond); font-size: 2.5rem; line-height: 1; color: var(--cerulean-l); }
.stat span { color: #b6c9d8; font-size: .92rem; }
@media (max-width: 800px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } }

/* sections */
.sec { padding: 88px 0; background: var(--white); }
.sec.light { background: var(--light); }
.sec.band { background: var(--marine); color: #dbe7f0; }
.sec.band h2 { color: #fff; }
.sec.band .ticks li::before { border-color: var(--fire); }
.sec.tight { padding: 0 0 70px; }
.crumbs { background: var(--marine-d); padding: 96px 0 0; }
.hero + .crumbs, .crumbs + .hero { padding-top: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 14px 0; font-size: .82rem; color: #9fb6c8; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: #cfe0ec; text-decoration: none; }
main > .crumbs:first-child + .hero .htext { padding-top: 70px; }

/* division tiles */
.tiles { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 3px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 4/3; } }
.tile { position: relative; aspect-ratio: 3/4; overflow: hidden; text-decoration: none; background: var(--marine-dd); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,22,44,.95)); }
.tt { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; }
.tt .n { color: var(--fire); font-family: var(--cond); font-weight: 700; font-size: 1.05rem; letter-spacing: .05em; }
.tt h3 { color: #fff; font-size: 1.65rem; margin: 4px 0 8px; }
.tt p { color: #c6d8e5; font-size: .93rem; margin: 0; }

/* split / prose / facts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.duo .media img, .duo .media video { width: 100%; border-radius: 2px; }
@media (max-width: 960px) { .split, .duo { grid-template-columns: 1fr; gap: 32px; } }
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.3em; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.prose h2:first-child, .prose .kick + h2 { margin-top: 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.3em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--cerulean); border-bottom: 3px solid var(--cerulean); transform: rotate(-45deg); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding: 12px 16px 12px 58px; background: var(--light); border-left: 3px solid var(--cerulean); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 16px; top: 10px; font-family: var(--cond); font-weight: 700; font-size: 1.3rem; color: var(--fire); }
.facts { background: var(--marine); color: #dbe7f0; padding: 26px 26px 18px; position: sticky; top: 100px; }
.facts h2 { color: #fff; font-size: 1.15rem; letter-spacing: .12em; }
.facts dl { margin: 0; }
.facts dl > div { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.12); }
.facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cerulean-l); font-weight: 700; }
.facts dd { margin: 3px 0 0; font-weight: 600; color: #fff; }
.facts a { color: #fff; }

/* tables */
.tblw { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: .96rem; background: #fff; }
.tbl caption { text-align: left; font-family: var(--cond); text-transform: uppercase; font-weight: 700; color: var(--marine); font-size: 1.15rem; padding-bottom: 8px; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { background: var(--marine); color: #fff; font-family: var(--cond); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; font-size: .98rem; }
.tbl tbody th { font-weight: 600; color: var(--marine); }
.spec tbody th { width: 40%; background: var(--light); }
.tiers td { text-align: center; color: var(--cerulean); font-weight: 700; }
.tiers td:last-child { text-align: left; color: var(--muted); font-weight: 400; font-size: .85rem; }

/* galleries */
.gal3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.gal3 img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 700px) { .gal3 { grid-template-columns: 1fr; } }

/* cases */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cases { grid-template-columns: 1fr; } }
.case { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.case:hover { box-shadow: 0 12px 30px rgba(0,48,91,.15); transform: translateY(-3px); color: var(--ink); }
.case img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.case > div { padding: 18px 20px 22px; }
.case h3 { font-size: 1.3rem; }
.case p { color: var(--muted); margin: 0; font-size: .95rem; }
.ctag { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--fire-d); margin-bottom: 8px; }
.css { display: grid; gap: 34px; }
.cs { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.cs:last-child { border-bottom: 0; }
.csimg img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.client { color: var(--muted); font-weight: 600; }
.gca { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 14px; }
.gca > div { background: var(--light); padding: 16px 18px; border-top: 3px solid var(--cerulean); }
.gca > div:nth-child(2) { border-top-color: var(--fire); }
.gca > div:nth-child(3) { border-top-color: var(--marine); }
.gca ul { margin: 0; padding-left: 18px; font-size: .94rem; }
.gca p { font-size: .94rem; margin: 0; }
@media (max-width: 1100px) { .cs { grid-template-columns: 1fr; gap: 20px; } .csimg img { aspect-ratio: 21/9; } }
@media (max-width: 700px) { .gca { grid-template-columns: 1fr; } }

/* partners */
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.pcard { background: #fff; border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.pmark { height: 64px; display: flex; align-items: center; }
.plogo { max-height: 64px; width: auto; object-fit: contain; }
.pcard .wm { font-family: var(--cond); font-weight: 700; font-size: 1.9rem; letter-spacing: .05em; color: var(--marine); line-height: 1; border-left: 4px solid var(--fire); padding-left: 12px; }
.pcard strong { color: var(--marine); font-size: 1.02rem; line-height: 1.3; }
.pcard span { color: var(--muted); font-size: .92rem; }
.pcard .more { margin-top: auto; }
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px 40px; }
.cred { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: start; padding-top: 22px; border-top: 1px solid var(--line); }
.clogo { max-width: 110px; max-height: 70px; width: auto; object-fit: contain; }
.clogo-t { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--light); color: var(--cerulean); font-size: 1.6rem; font-weight: 700; }
.cred h3 { font-size: 1.25rem; }
.cred p { color: var(--muted); font-size: .95rem; }

/* clients, values, offices, facilities */
.clients { background: #fff; padding: 20px; }
.vals { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.val { background: #fff; padding: 24px; border-top: 3px solid var(--fire); }
.val p { color: var(--muted); font-size: .95rem; margin: 0; }
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.office { background: var(--light); padding: 20px; border-left: 3px solid var(--cerulean); }
.office h3 { font-size: 1.15rem; }
.office p { font-size: .95rem; margin-bottom: .6em; }
.facs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.fac img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 16px; }
@media (max-width: 900px) { .facs { grid-template-columns: 1fr; } }

/* product / unit */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; padding-top: 30px; }
.pimg { margin: 0; background: #fff; border: 1px solid var(--line); padding: 20px; }
.pimg figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 10px; }
.h1d { font-size: clamp(2.2rem, 4vw, 3.4rem); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 26px; } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 36px; }
.cbox { background: var(--marine); color: #dbe7f0; padding: 30px; align-self: start; }
.cbox h3 { color: #fff; }
.cbox a { color: #fff; }
.cbox .btn-o2 { color: #fff; border-color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* YouTube click-to-load */
.yt { position: relative; margin-top: 1.4em; aspect-ratio: 16/9; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.yt button { position: absolute; inset: auto 0 0 0; margin: 0 auto 24px; width: max-content; background: var(--fire); border: 0; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq details { border: 1px solid var(--line); background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 17px 52px 17px 20px; font-weight: 700; color: var(--marine); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.5rem; color: var(--fire); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* CTA */
.cta { background: linear-gradient(120deg, var(--marine-d), var(--marine)); color: #d5e6f1; padding: 70px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; max-width: 58ch; }
.cta .btns { margin-top: 0; }

/* footer */
.ftr { background: var(--marine-dd); color: #9fb6c8; font-size: .92rem; padding: 60px 0 26px; }
.ftr a { color: #e6f0f7; }
.ftr h3 { color: #fff; font-size: 1.05rem; letter-spacing: .06em; }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr repeat(4, 1fr); gap: 28px; }
.fbrand img { width: 170px; margin-bottom: 16px; }
.flinks { list-style: none; margin: 0; padding: 0; }
.flinks li { margin-bottom: 6px; }
.flinks a { text-decoration: none; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin: 36px 0 0; padding-top: 20px; font-size: .82rem; }
@media (max-width: 1100px) { .fgrid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 64px 0; }
  .brand img { width: 136px; }
  .hero { min-height: 86vh; }
  .hero-s { min-height: 62vh; }
  .cred { grid-template-columns: 70px 1fr; }
  .clogo { max-width: 70px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .hdr, .ftr, .cta, video { display: none !important; } .hero { min-height: 0; color: #000; } }

/* before / after */
.bas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .bas { grid-template-columns: 1fr; } }
.ba { margin: 0; background: #fff; border: 1px solid var(--line); padding: 16px; }
.ba figcaption { font-size: .93rem; color: var(--muted); margin-bottom: 12px; }
.ba figcaption b { display: block; color: var(--marine); font-family: var(--cond); text-transform: uppercase; font-size: 1.15rem; margin-bottom: 4px; }
.ba2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba2 > div { position: relative; }
.ba2 img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.bal { position: absolute; top: 8px; left: 8px; z-index: 1; background: rgba(0,22,44,.85); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 3px 8px; }
.bal.after { background: var(--fire); color: #1b1300; }
