:root {
  --navy: #071b2f;
  --navy-2: #0c2945;
  --blue: #0d72b9;
  --cyan: #58bce7;
  --ice: #eaf5fa;
  --mist: #f4f7f8;
  --ink: #122637;
  --muted: #617181;
  --line: #d7e0e5;
  --white: #ffffff;
  --amber: #f0a846;
  --shell: min(1180px, calc(100vw - 48px));
  --display: "Manrope", Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; }
body.artemis-preview-page { margin: 0; padding: 0; }
body.admin-bar.artemis-preview-page .site-header { top: 32px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 112px 0; }
.sr-only, .skip-link { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 9999; inset: 12px auto auto 12px; width: auto; height: auto; margin: 0; clip: auto; padding: 10px 16px; background: white; color: var(--navy); }

.site-header { position: absolute; z-index: 100; inset: 0 0 auto; border-bottom: 1px solid rgba(255,255,255,.18); }
.site-header.is-scrolled { position: fixed; background: rgba(7,27,47,.96); backdrop-filter: blur(14px); box-shadow: 0 8px 28px rgba(3,17,31,.16); }
.nav-wrap { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand-text { display: grid; line-height: 1; letter-spacing: .14em; }
.brand-text strong { font-family: var(--display); font-size: 1.05rem; }
.brand-text small { margin-top: 7px; font-size: .58rem; letter-spacing: .25em; }
.artemis-site-nav { display: flex; align-items: center; gap: 30px; }
.artemis-site-nav a { position: relative; color: rgba(255,255,255,.9); text-decoration: none; font-size: .9rem; font-weight: 600; }
.artemis-site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--cyan); transition: right .25s ease; }
.artemis-site-nav > a:not(.nav-cta):hover::after, .artemis-site-nav > a:not(.nav-cta):focus-visible::after { right: 0; }
.nav-cta { border: 1px solid rgba(255,255,255,.55); padding: 11px 18px; transition: background .2s ease, color .2s ease; }
.nav-cta:hover, .nav-cta:focus-visible { background: white; color: var(--navy); }
.artemis-menu-checkbox { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.artemis-menu-toggle { display: none; position: relative; z-index: 2; width: 44px; height: 44px; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.artemis-menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 6px 0; background: white; }
.artemis-menu-checkbox:focus-visible + .artemis-menu-toggle { outline: 2px solid var(--cyan); outline-offset: 3px; }

.hero { position: relative; min-height: 820px; display: grid; align-items: end; overflow: hidden; color: white; background: var(--navy); }
.hero-media { position: absolute; inset: 0; background-image: url('../images/artemis-hero.png'); background-size: cover; background-position: center; transform: scale(1.01); }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,18,33,.96) 0%, rgba(4,18,33,.78) 35%, rgba(4,18,33,.2) 72%, rgba(4,18,33,.28) 100%), linear-gradient(0deg, rgba(4,18,33,.82) 0%, transparent 52%); }
.hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 41%; height: 9px; background: var(--blue); }
.hero-content { position: relative; z-index: 1; padding: 190px 0 54px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: #9eddf7; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.04em; }
h1 { max-width: 760px; margin: 0; font-size: clamp(3.4rem, 7.3vw, 7rem); line-height: .97; font-weight: 600; }
.hero h1 { color: #ffffff !important; }
.hero h1 em { color: #9eddf7 !important; font-style: normal; font-weight: 400; }
.hero-lead { max-width: 650px; margin: 34px 0 0; color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.7vw, 1.32rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid transparent; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover, .button-primary:focus-visible { background: #1187d6; }
.button-ghost { border-color: rgba(255,255,255,.5); color: white; }
.button-ghost:hover, .button-ghost:focus-visible { border-color: white; background: rgba(255,255,255,.1); }
.button.full { width: 100%; }
.hero-proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 82px; border-top: 1px solid rgba(255,255,255,.22); }
.hero-proof span { padding: 23px 20px 0 0; color: rgba(255,255,255,.8); font-size: .84rem; }
.hero-proof b { display: block; margin-bottom: 4px; color: var(--cyan); font-size: .72rem; letter-spacing: .14em; }

.intro-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 10%; align-items: start; }
h2 { margin: 0; color: var(--navy); font-size: clamp(2.35rem, 4.7vw, 4.7rem); line-height: 1.05; font-weight: 600; }
.intro-copy { border-left: 1px solid var(--line); padding-left: 10%; }
.intro-copy p { color: var(--muted); }
.intro-copy .lead { margin-top: 0; color: var(--ink); font-size: 1.3rem; line-height: 1.55; }
.audience-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.audience-row span { padding: 7px 12px; border: 1px solid var(--line); color: var(--navy-2); font-size: .82rem; font-weight: 600; }

.services { background: var(--mist); }
.section-head { display: grid; grid-template-columns: 1.5fr .7fr; align-items: end; gap: 12%; margin-bottom: 70px; }
.section-head > p { margin: 0 0 6px; color: var(--muted); font-size: 1.03rem; }
.service-list { border-top: 1px solid #bfcbd2; }
.service-row { display: grid; grid-template-columns: 60px minmax(210px, .82fr) minmax(210px, .72fr) 1fr; gap: 28px; align-items: start; padding: 40px 24px 40px 0; border-bottom: 1px solid #cbd5da; transition: background .25s ease, padding .25s ease; }
.service-row:hover { background: white; padding-left: 24px; }
.service-no { color: var(--blue); font-family: var(--display); font-size: .84rem; font-weight: 700; letter-spacing: .12em; }
.service-kicker { margin: 0 0 8px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.service-title h3 { margin: 0; color: var(--navy); font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.18; }
.service-photo { height: 185px; overflow: hidden; background: #d8e2e7; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-row:hover .service-photo img { transform: scale(1.035); }
.service-body > p { margin: 0; color: var(--muted); }
details { margin-top: 20px; }
summary { width: fit-content; color: var(--blue); cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; display: inline-block; margin-left: 10px; font-size: 1.2rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details ul { margin: 20px 0 0; padding-left: 18px; color: var(--ink); }
details li + li { margin-top: 8px; }
.scope-note { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--blue); background: var(--ice); color: #3d586d; font-size: .88rem; }
.service-featured { position: relative; }
.service-featured::after { content: "MARINE + INDUSTRIAL"; position: absolute; right: 20px; top: 16px; color: #8ca0ac; font-size: .66rem; font-weight: 700; letter-spacing: .16em; }

.industries { background: var(--white); }
.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industry-grid article { min-height: 260px; padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.industry-grid span { display: block; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.industry-grid h3 { min-height: 62px; margin: 58px 0 14px; color: var(--navy); font-size: 1.3rem; line-height: 1.18; }
.industry-grid p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.approach { display: grid; grid-template-columns: 1.05fr .95fr; padding: 0; background: var(--navy); }
.approach-image { min-height: 760px; overflow: hidden; }
.approach-image img { width: 100%; height: 100%; object-fit: cover; }
.approach-panel { display: flex; flex-direction: column; justify-content: center; padding: 90px clamp(42px, 7vw, 110px); color: white; }
.approach-panel h2 { color: white; font-size: clamp(2.55rem, 4.8vw, 4.8rem); }
.process-list { margin: 54px 0 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.16); }
.process-list li > span { color: var(--cyan); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.process-list strong { font-family: var(--display); font-size: 1.05rem; }
.process-list p { margin: 4px 0 0; color: rgba(255,255,255,.66); font-size: .92rem; line-height: 1.5; }

.section-head.compact { margin-bottom: 48px; }
.project-grid { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.project-card { position: relative; min-height: 260px; overflow: hidden; border: 1px solid var(--line); background: var(--ice); }
.project-card-large { grid-row: 1 / 3; min-height: 560px; background: var(--navy); color: white; }
.project-image { position: absolute; inset: 0; background-size: cover; background-position: center; }
.vessel-sunrise { background-image: linear-gradient(0deg, rgba(5,24,42,.88) 0%, rgba(5,24,42,.08) 62%), url('../images/sunrise.jpg'); }
.project-copy { position: relative; z-index: 1; padding: 34px; }
.project-card-large .project-copy { position: absolute; inset: auto 0 0; max-width: 680px; }
.card-label { margin: 0 0 10px; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.project-card-large .card-label { color: #98defb; }
.project-card h3 { margin: 0 0 13px; font-size: clamp(1.5rem, 2.5vw, 2.2rem); line-height: 1.18; }
.project-card-large h3, .dark-card h3 { color: #ffffff !important; }
.project-card p:last-child { margin-bottom: 0; color: #536a79; }
.project-card-large p:last-child, .dark-card p:last-child { color: rgba(255,255,255,.72); }
.project-index { position: absolute; right: 26px; top: 16px; color: rgba(13,114,185,.16); font-family: var(--display); font-size: 5rem; font-weight: 700; line-height: 1; }
.dark-card { background: var(--navy-2); color: white; }
.dark-card .project-index { color: rgba(255,255,255,.08); }
.dark-card .card-label { color: var(--cyan); }

.promise { padding-top: 40px; }
.promise-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 12%; align-items: end; padding-bottom: 110px; border-bottom: 1px solid var(--line); }
.promise-grid > div:last-child > p { margin: 0 0 28px; color: var(--muted); font-size: 1.05rem; }
.text-link { color: var(--blue); font-weight: 700; text-decoration: none; }
.text-link span { margin-left: 6px; }

.clients-link-section { padding: 54px 0; background: var(--navy-2); color: white; }
.clients-link-grid { display: grid; grid-template-columns: .9fr 1.2fr auto; gap: 7%; align-items: center; }
.clients-link-grid .eyebrow { margin-bottom: 8px; }
.clients-link-grid h2 { color: white; font-size: clamp(2rem, 3vw, 3rem); }
.clients-link-grid > p { margin: 0; color: rgba(255,255,255,.7); }
.clients-link-grid .button { white-space: nowrap; }

.contact { background: #06192b; color: white; }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 12%; align-items: center; }
.contact h2 { color: white; }
.contact-grid > div:first-child > p:last-child { max-width: 560px; color: rgba(255,255,255,.65); font-size: 1.08rem; }
.contact-card { padding: 38px; border-top: 5px solid var(--blue); background: white; color: var(--ink); }
.contact-line { display: grid; grid-template-columns: 94px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-line span { color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contact-line a, .contact-line strong { color: var(--navy); font-size: .96rem; font-weight: 600; text-decoration: none; }
.contact-card .button { margin-top: 28px; }

.site-footer { background: #03111f; color: rgba(255,255,255,.6); }
.footer-grid { min-height: 150px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; }
.footer-brand img { width: 52px; height: 52px; }
.footer-grid p { margin: 0; font-size: .78rem; }
.footer-grid p:nth-child(2) { text-align: center; letter-spacing: .04em; }

@media (max-width: 940px) {
  :root { --shell: min(100% - 36px, 760px); }
  .section { padding: 84px 0; }
  .artemis-menu-toggle { display: block; }
  .artemis-site-nav { position: absolute; z-index: 101; top: 100%; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 16px 18px 24px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 30px rgba(3,17,31,.24); }
  .artemis-site-nav.is-open { display: flex; }
  .artemis-menu-checkbox:checked ~ .artemis-site-nav { display: flex; }
  .artemis-site-nav a { padding: 13px 8px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { min-height: 780px; }
  .hero-content { padding-top: 155px; }
  .hero-proof { grid-template-columns: 1fr 1fr; }
  .intro-grid, .section-head, .promise-grid, .contact-grid, .clients-link-grid { grid-template-columns: 1fr; gap: 34px; }
  .intro-copy { padding-left: 0; border-left: 0; }
  .service-row { grid-template-columns: 52px 1fr; gap: 20px; }
  .service-title, .service-photo, .service-body { grid-column: 2; }
  .service-photo { height: 240px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .approach { grid-template-columns: 1fr; }
  .approach-image { min-height: 520px; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .project-card-large { grid-row: auto; min-height: 520px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; padding: 35px 0; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-grid p:nth-child(2) { text-align: center; }
}

@media (max-width: 782px) {
  body.admin-bar.artemis-preview-page .site-header { top: 46px; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  .nav-wrap { min-height: 82px; }
  .brand img { width: 52px; height: 52px; }
  .brand-text strong { font-size: .9rem; }
  .hero { min-height: 760px; }
  .hero-media { background-position: 62% center; }
  .hero-scrim { background: linear-gradient(90deg, rgba(4,18,33,.94), rgba(4,18,33,.64)), linear-gradient(0deg, rgba(4,18,33,.9), transparent 58%); }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-proof { margin-top: 52px; }
  .hero-proof span { font-size: .76rem; padding-right: 12px; }
  .service-row { grid-template-columns: 38px 1fr; padding-right: 0; }
  .service-row:hover { padding-left: 0; }
  .service-featured::after { display: none; }
  .service-photo { height: 210px; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-grid article { min-height: auto; }
  .industry-grid h3 { min-height: 0; margin-top: 34px; }
  .approach-image { min-height: 380px; }
  .approach-panel { padding: 72px 24px; }
  .project-card-large { min-height: 490px; }
  .project-copy { padding: 26px; }
  .contact-card { padding: 26px 22px; }
  .contact-line { grid-template-columns: 1fr; gap: 3px; }
}

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