/*
Theme Name: Northstar Maritime
Template: hello-elementor
Description: Child theme for nmsline.com: header, services menu, footer and styles. Page content is built in Elementor.
Version: 1.0.0
Text Domain: northstar
*/

/* Raleway, self-hosted (variable weight 100-900) */
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/raleway-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/raleway-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("fonts/raleway-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("fonts/raleway-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #011758;
  --night: #020d33;
  --ocean: #2590d8;
  --sand: #e5dcc0;
  --sand-soft: #f6f2e7;
  --paper: #fbfcfe;
  --ink: #0e1a3a;
  --slate: #4e5b7a;
  --rule: #d9deea;
  --signal: #f4a52a;
  --signal-ink: #2a1a00;
  --ns-display: "Raleway", "Segoe UI", Arial, sans-serif;
  --ns-body: "Raleway", "Segoe UI", Arial, sans-serif;
  --ns-label: "Raleway", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
body.ns { font-variant-numeric: lining-nums; background: var(--paper); color: var(--ink); font-family: var(--ns-body); font-size: 16px; line-height: 1.6; }
body.ns a { color: inherit; }
body.ns h1, body.ns h2, body.ns h3 { font-family: var(--ns-display); line-height: 1.15; text-wrap: balance; margin: 0; }
body.ns p { margin: 0; }
body.ns .wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
body.ns .eyebrow { font-family: var(--ns-label); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ocean); }
body.ns :focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
* { transition: none !important; animation: none !important; }
}
body.ns .flag { font-family: var(--ns-label); font-weight: 600; font-size: 11px; color: #b36b00; }
body.ns .note { background: var(--sand); color: var(--navy); font-family: var(--ns-label); font-weight: 600; font-size: 12px; }
body.ns .note .wrap { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; padding-block: 8px; }
body.ns .hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: #fff; border-bottom: 1px solid var(--rule); }
body.ns .hdr > .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; position: relative; }
body.ns .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
body.ns .logo svg { flex: none; }
body.ns .logo b { display: block; font-family: var(--ns-display); font-weight: 700; font-size: 18px; letter-spacing: .06em; line-height: 1; }
body.ns .logo span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-top: 3px; }
body.ns .nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-weight: 500; font-size: 15px; }
body.ns .nav > a, body.ns .nav .drop > a { text-decoration: none; color: var(--ink); padding-block: 24px; border-bottom: 2px solid transparent; display: inline-block; }
body.ns .nav > a:hover, body.ns .nav .drop > a:hover, body.ns .nav a.current { border-color: var(--ocean); color: var(--navy); }
body.ns .drop { position: relative; }
body.ns .drop > a::after { content: " \25BE"; font-size: 11px; color: var(--slate); }
body.ns .mega { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: min(760px, 92vw); background: #fff; border: 1px solid var(--rule); border-top: 2px solid var(--ocean); box-shadow: 0 18px 40px rgba(2,13,51,.14); padding: 24px; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.ns .drop:hover .mega, body.ns .drop:focus-within .mega { display: grid; }
body.ns .mega h4 { font-family: var(--ns-label); font-weight: 600; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ocean); margin: 0 0 8px; }
body.ns .mega ul { list-style: none; margin: 0; padding: 0; display: grid; }
body.ns .mega a { display: block; padding: 7px 0; text-decoration: none; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--rule); }
body.ns .mega a:hover, body.ns .mega a.current { color: var(--ocean); }
body.ns .mega .all { grid-column: 1 / -1; font-weight: 600; color: var(--navy); border: 0; padding: 0; }
body.ns .hdr-cta { display: flex; align-items: center; gap: 16px; }
body.ns .tel { font-family: var(--ns-label); font-weight: 600; font-size: 14px; color: var(--navy); white-space: nowrap; }
body.ns .btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ns-body); font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 4px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
body.ns .btn-signal { background: var(--signal); color: var(--signal-ink); }
body.ns .btn-signal:hover { background: #ffb947; }
body.ns .btn-line { border-color: rgba(255,255,255,.7); color: #fff; }
body.ns .btn-line:hover { background: #fff; color: var(--navy); }
body.ns .btn-navy { background: var(--navy); color: #fff; }
body.ns .btn-navy:hover { background: var(--ocean); }
body.ns .menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); border-radius: 4px; padding: 8px 12px; font: 600 14px var(--ns-body); color: var(--navy); cursor: pointer; }
body.ns .actions { display: flex; flex-wrap: wrap; gap: 12px; }
body.ns .hero { position: relative; color: #fff; background: var(--night); }
body.ns .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(2,13,51,.94) 0%, rgba(2,13,51,.82) 42%, rgba(2,13,51,.35) 75%, rgba(2,13,51,.2) 100%); }
body.ns .hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; padding-block: 88px 96px; }
body.ns .hero .eyebrow { color: var(--sand); }
body.ns .hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; margin-top: 16px; letter-spacing: -.01em; }
body.ns .hero h1 em { font-style: normal; color: var(--sand); }
body.ns .hero .lede { font-size: 18px; max-width: 34em; color: #d7def0; margin-top: 20px; }
body.ns .hero .actions { margin-top: 32px; }
body.ns .phero { position: relative; color: #fff; background: var(--night) var(--img, none) center / cover no-repeat; }
body.ns .phero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(2,13,51,.95) 0%, rgba(2,13,51,.85) 50%, rgba(2,13,51,.45) 100%); }
body.ns .phero .wrap { position: relative; padding-block: 56px 64px; display: grid; gap: 14px; }
body.ns .crumbs { font-family: var(--ns-label); font-weight: 600; font-size: 12px; color: #aab6d4; display: flex; flex-wrap: wrap; gap: 6px; }
body.ns .crumbs a { color: #d7def0; text-decoration: none; }
body.ns .crumbs a:hover { color: #fff; text-decoration: underline; }
body.ns .phero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; max-width: 18em; }
body.ns .phero .lede { font-size: 18px; color: #d7def0; max-width: 38em; }
body.ns .call { background: #fff; color: var(--ink); border-radius: 6px; padding: 28px; box-shadow: 0 24px 60px rgba(2,13,51,.45); }
body.ns .call.flat { box-shadow: none; border: 1px solid var(--rule); }
body.ns .call h2 { font-size: 22px; color: var(--navy); }
body.ns .call > p { color: var(--slate); font-size: 14px; margin-top: 4px; }
body.ns .call form { display: grid; gap: 14px; margin-top: 20px; }
body.ns .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.ns .call label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--slate); }
body.ns .call input, body.ns .call select, body.ns .call textarea { font: 15px var(--ns-body); color: var(--ink); padding: 10px 12px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; width: 100%; }
body.ns .call textarea { min-height: 110px; resize: vertical; }
body.ns .chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
body.ns .chips legend { font-size: 13px; font-weight: 600; color: var(--slate); margin-bottom: 6px; padding: 0; }
body.ns .chip input { position: absolute; opacity: 0; pointer-events: none; }
body.ns .chip span { display: inline-block; font-size: 13px; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; cursor: pointer; color: var(--ink); background: #fff; }
body.ns .chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
body.ns .chip input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
body.ns .call .btn { justify-content: center; width: 100%; }
body.ns .form-msg { font-size: 13px; color: var(--navy); background: var(--sand-soft); border-radius: 4px; padding: 10px 12px; }
body.ns .ports { background: var(--navy); color: #c9d3ec; font-family: var(--ns-label); font-weight: 600; font-size: 13px; }
body.ns .ports .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
body.ns .ports .wrap > div { padding: 18px 20px; border-left: 1px solid rgba(255,255,255,.12); }
body.ns .ports .wrap > div:first-child { border-left: 0; padding-left: 0; }
body.ns .ports strong { display: block; color: #fff; font-weight: 500; letter-spacing: .08em; }
body.ns section { padding-block: clamp(64px, 9vw, 104px); }
body.ns .sec-head { display: grid; gap: 12px; max-width: 40em; }
body.ns .sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; color: var(--navy); }
body.ns .sec-head p { color: var(--slate); font-size: 17px; }
body.ns .split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
body.ns .prose { display: grid; gap: 16px; color: var(--slate); font-size: 17px; max-width: 38em; }
body.ns .prose h2 { font-size: 26px; color: var(--navy); margin-top: 16px; }
body.ns .prose h2:first-child { margin-top: 0; }
body.ns .facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); margin-top: 8px; }
body.ns .facts div { padding: 20px 16px 0 0; }
body.ns .facts b { display: block; font-family: var(--ns-display); font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
body.ns .facts span { display: block; font-size: 14px; color: var(--slate); margin-top: 8px; }
body.ns .tint { background: var(--sand-soft); }
body.ns .groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
body.ns .group { background: #fff; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
body.ns .group img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
body.ns .group-body { padding: 24px; display: grid; gap: 12px; }
body.ns .group h3 { font-size: 21px; color: var(--navy); }
body.ns .svc-list { list-style: none; margin: 0; padding: 0; }
body.ns .svc-list a { display: block; position: relative; padding: 12px 28px 12px 0; border-top: 1px solid var(--rule); text-decoration: none; }
body.ns .svc-list b { display: block; font-weight: 600; color: var(--ink); }
body.ns .svc-list small { display: block; font-size: 14px; line-height: 1.5; color: var(--slate); margin-top: 2px; }
body.ns .svc-list a::after { content: "\2192"; position: absolute; right: 4px; top: 12px; color: var(--ocean); transition: transform .15s; }
body.ns .svc-list a:hover b { color: var(--ocean); }
body.ns .svc-list a:hover::after { transform: translateX(4px); }
body.ns .all-link { margin-top: 32px; font-weight: 600; color: var(--navy); }
body.ns .why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
body.ns .why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
body.ns .why-item { border-top: 2px solid var(--sand); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
body.ns .why-item h3 { font-size: 19px; color: var(--navy); }
body.ns .why-item p { color: var(--slate); font-size: 15px; }
body.ns .values { background: var(--sand-soft); padding-block: clamp(48px, 7vw, 80px); }
body.ns .values .wrap { display: grid; gap: 40px; }
body.ns .mv { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
body.ns .mv > div { display: grid; gap: 10px; align-content: start; }
body.ns .mv-text { font-family: var(--ns-display); font-weight: 600; font-size: clamp(19px, 2vw, 23px); line-height: 1.4; color: var(--navy); max-width: 30em; }
body.ns .core { display: grid; gap: 14px; border-top: 1px solid var(--sand); padding-top: 28px; }
body.ns .value-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
body.ns .value-list li { font-size: 14px; font-weight: 500; color: var(--navy); background: #fff; border: 1px solid var(--sand); border-radius: 999px; padding: 6px 14px; }
body.ns .value-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 32px; margin-top: 40px; }
body.ns .faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
body.ns .faq-list { display: grid; }
body.ns .faq-list details { border-top: 1px solid var(--rule); }
body.ns .faq-list details:last-child { border-bottom: 1px solid var(--rule); }
body.ns .faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; color: var(--navy); font-size: 17px; }
body.ns .faq-list summary::-webkit-details-marker { display: none; }
body.ns .faq-list summary::after { content: "+"; font-family: var(--ns-label); font-weight: 600; color: var(--ocean); font-size: 20px; line-height: 1; }
body.ns .faq-list details[open] summary::after { content: "\2212"; }
body.ns .faq-list details p { color: var(--slate); padding-bottom: 18px; max-width: 40em; }
body.ns .process { background: var(--night); color: #d7def0; }
body.ns .process .sec-head h2 { color: #fff; }
body.ns .process .sec-head p { color: #aab6d4; }
body.ns .process .eyebrow { color: var(--sand); }
body.ns .steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
body.ns .steps li { counter-increment: step; padding: 0 24px 0 0; display: grid; gap: 10px; align-content: start; }
body.ns .steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--ns-label); font-weight: 600; font-size: 13px; color: var(--signal); border-top: 1px solid rgba(255,255,255,.2); padding-top: 16px; }
body.ns .steps h3 { font-size: 19px; color: #fff; }
body.ns .steps p { font-size: 15px; color: #aab6d4; }
body.ns .doc { font-family: var(--ns-label); font-weight: 600; font-size: 12px; color: var(--sand); letter-spacing: .06em; }
body.ns .svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
body.ns .includes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
body.ns .includes li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--rule); color: var(--ink); font-size: 16px; }
body.ns .includes li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 2px; background: var(--ocean); }
body.ns .figure { margin: 8px 0 0; }
body.ns .figure img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
body.ns .aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 24px; }
body.ns .aside-box { border: 1px solid var(--rule); border-radius: 6px; padding: 22px; background: #fff; }
body.ns .aside-box h3 { font-family: var(--ns-label); font-weight: 600; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ocean); margin-bottom: 8px; }
body.ns .aside-box ul { list-style: none; margin: 0; padding: 0; }
body.ns .aside-box li a { display: block; padding: 9px 0; border-top: 1px solid var(--rule); text-decoration: none; font-size: 15px; }
body.ns .aside-box li:first-child a { border-top: 0; }
body.ns .aside-box li a:hover, body.ns .aside-box li a.current { color: var(--ocean); }
body.ns .aside-box li a.current { font-weight: 600; }
body.ns .aside-cta { background: var(--navy); color: #fff; border-radius: 6px; padding: 24px; display: grid; gap: 12px; }
body.ns .aside-cta h3 { font-size: 20px; }
body.ns .aside-cta p { color: #c9d3ec; font-size: 15px; }
body.ns .aside-cta .tel { color: var(--sand); font-size: 16px; user-select: all; }
body.ns .aside-cta .btn { justify-content: center; }
body.ns .related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
body.ns .rel { display: grid; gap: 10px; text-decoration: none; background: #fff; border-radius: 6px; overflow: hidden; }
body.ns .rel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
body.ns .rel div { padding: 0 20px 20px; display: grid; gap: 6px; }
body.ns .rel b { font-family: var(--ns-display); font-size: 18px; color: var(--navy); }
body.ns .rel small { color: var(--slate); font-size: 14px; }
body.ns .rel:hover b { color: var(--ocean); }
body.ns .contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
body.ns .clines { display: grid; gap: 20px; }
body.ns .clines div { display: grid; gap: 2px; border-left: 2px solid var(--sand); padding-left: 16px; }
body.ns .clines small { font-family: var(--ns-label); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ocean); }
body.ns .clines span { font-size: 18px; font-weight: 500; color: var(--navy); user-select: all; }
body.ns .clines em { font-style: normal; color: var(--slate); font-size: 15px; }
body.ns .quote .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; background: var(--navy); color: #fff; border-radius: 8px; padding: clamp(32px, 5vw, 56px); }
body.ns .quote-outer { padding-inline: var(--gutter); }
body.ns .quote h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; }
body.ns .quote p { color: #c9d3ec; margin-top: 12px; max-width: 32em; }
body.ns .quote .actions { margin-top: 28px; }
body.ns .contact-lines { display: grid; gap: 14px; }
body.ns .contact-lines div { display: grid; gap: 2px; border-left: 2px solid var(--sand); padding-left: 16px; }
body.ns .contact-lines small { font-family: var(--ns-label); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); }
body.ns .contact-lines span { font-size: 18px; font-weight: 500; user-select: all; }
body.ns .contact-lines .sub { font-size: 14px; color: #c9d3ec; }
body.ns .quote .flag { color: var(--signal); }
body.ns .ftr { background: var(--night); color: #aab6d4; font-size: 14px; }
body.ns .ftr .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 40px; }
body.ns .ftr h4 { font-family: var(--ns-label); font-weight: 600; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin: 0 0 14px; }
body.ns .ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
body.ns .ftr a { text-decoration: none; }
body.ns .ftr a:hover { color: #fff; }
body.ns .ftr .logo { color: #fff; }
body.ns .ftr .logo span { color: #8c99bb; }
body.ns .ftr .blurb { margin-top: 16px; max-width: 26em; }
body.ns .ftr .bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }
body.ns main > section:last-child { padding-bottom: clamp(64px, 9vw, 104px); }
@media (max-width: 980px) {
body.ns .nav, body.ns .hdr-cta .tel { display: none; }
body.ns .menu-btn { display: inline-block; }
body.ns .nav.open { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 8px var(--gutter) 16px; border-bottom: 1px solid var(--rule); gap: 0; max-height: calc(100vh - 110px); overflow-y: auto; }
body.ns .nav.open > a, body.ns .nav.open .drop > a { padding: 12px 0; border-bottom: 1px solid var(--rule); display: block; }
body.ns .nav.open .mega { display: grid; position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 8px 0 8px 12px; grid-template-columns: 1fr; gap: 12px; }
body.ns .drop > a::after { content: ""; }
body.ns .hero .wrap, body.ns .split, body.ns .why-grid, body.ns .quote .wrap, body.ns .faq-grid, body.ns .mv, body.ns .svc-layout, body.ns .contact-grid { grid-template-columns: 1fr; }
body.ns .aside { position: static; }
body.ns .groups, body.ns .related { grid-template-columns: 1fr 1fr; }
body.ns .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
body.ns .ftr .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
body.ns .hdr-cta .btn { display: none; }
body.ns .hero .wrap { padding-block: 56px 64px; }
body.ns .ports .wrap { grid-template-columns: 1fr; }
body.ns .ports .wrap > div { border-left: 0; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); }
body.ns .ports .wrap > div:first-child { border-top: 0; }
body.ns .groups, body.ns .related, body.ns .why-list, body.ns .steps, body.ns .row2, body.ns .ftr .top, body.ns .includes { grid-template-columns: 1fr; }
body.ns .facts b { font-size: 32px; }
}

/* ===== Elementor, Hello and Contact Form 7 adaptations ===== */

/* Containers start neutral; our classes do the layout. */
body.ns .e-con { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; --margin-top: 0px; --margin-bottom: 0px; --border-radius: 0; min-height: 0; }
body.ns .e-con.wrap { --padding-left: var(--gutter); --padding-right: var(--gutter); max-width: var(--wrap); margin-inline: auto; width: 100%; }
body.ns .e-con.ns-sec { --padding-top: clamp(64px, 9vw, 104px); --padding-bottom: clamp(64px, 9vw, 104px); }
body.ns .e-con.values { --padding-top: clamp(48px, 7vw, 80px); --padding-bottom: clamp(48px, 7vw, 80px); }
body.ns .elementor-widget:not(:last-child) { margin-block-end: 0; }
body.ns .elementor-widget { width: 100%; }
body.ns .actions > .elementor-widget { width: auto; }
body.ns .e-con.ns-sec.last { --padding-bottom: clamp(64px, 9vw, 104px); }
body.ns .e-con.quote { --padding-bottom: clamp(64px, 9vw, 104px); }

/* Layout containers use grid. */
body.ns .e-con.split, body.ns .e-con.why-grid, body.ns .e-con.faq-grid, body.ns .e-con.svc-layout,
body.ns .e-con.contact-grid, body.ns .e-con.mv, body.ns .e-con.sec-head, body.ns .e-con.prose,
body.ns .e-con.why-list, body.ns .e-con.why-item, body.ns .e-con.core, body.ns .e-con.hero-grid,
body.ns .e-con.phero-inner, body.ns .e-con.call, body.ns .e-con.values-inner, body.ns .e-con.aside, body.ns .e-con.aside-cta { display: grid; }
body.ns .e-con.hero-grid { grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; --padding-top: 88px; --padding-bottom: 96px; position: relative; }
body.ns .e-con.phero-inner { gap: 14px; --padding-top: 56px; --padding-bottom: 64px; position: relative; }
body.ns .e-con.values-inner { gap: 40px; }
body.ns .e-con.why-list { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
body.ns .e-con.call { gap: 4px; }
body.ns .e-con.call > .elementor-widget-shortcode { margin-top: 16px; }
body.ns .e-con.actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; }
body.ns .e-con.hero-copy { display: block; }
body.ns .e-con.hero-copy > * + * { margin-top: 16px; }
body.ns .e-con.hero-copy > .lede { margin-top: 20px; }
body.ns .e-con.hero-copy > .actions { margin-top: 32px; }
body.ns .e-con.aside { position: sticky; top: 96px; gap: 24px; }
body.admin-bar.ns .e-con.aside { top: 128px; }

/* Heroes: keep content above the dark overlay. */
body.ns .e-con.hero { background-image: url("/wp-content/uploads/2024/06/port-agency.jpg"); background-size: cover; background-position: center 60%; }
body.ns .e-con.hero > .e-con, body.ns .e-con.phero > .e-con { z-index: 1; }
body.ns .e-con.phero { background-color: var(--night); background-size: cover; background-position: center; }

/* Heading and text widgets inherit our type. */
body.ns .elementor-widget-heading .elementor-heading-title { font-family: var(--ns-display); line-height: 1.15; }
body.ns .eyebrow .elementor-heading-title { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }
body.ns .hero .elementor-heading-title, body.ns .phero .elementor-heading-title, body.ns .process .elementor-heading-title,
body.ns .aside-cta .elementor-heading-title { color: #fff; }
body.ns .hero h1 em { color: var(--sand); font-style: normal; }
body.ns .sec-head .elementor-heading-title, body.ns .prose h2.elementor-heading-title, body.ns .why-item .elementor-heading-title,
body.ns .call .elementor-heading-title { color: var(--navy); }
body.ns .process .sec-head .elementor-heading-title { color: #fff; }
body.ns .mv-text .elementor-heading-title { font-family: var(--ns-display); font-weight: 600; font-size: clamp(19px, 2vw, 23px); line-height: 1.4; color: var(--navy); }
body.ns .elementor-widget-text-editor { color: inherit; font-family: inherit; font-size: inherit; line-height: inherit; font-weight: inherit; }
body.ns .elementor-widget-text-editor p { margin: 0; }
body.ns .elementor-widget-text-editor p + p { margin-top: 1em; }
body.ns .prose .elementor-widget-text-editor a { color: var(--navy); font-weight: 600; }
body.ns .process .sec-head p { color: #aab6d4; }
body.ns .why-item p, body.ns .why-item .elementor-widget-text-editor { color: var(--slate); font-size: 15px; }
body.ns .aside-cta .elementor-widget-text-editor { color: #c9d3ec; font-size: 15px; }

/* Buttons */
body.ns .ns-btn .elementor-button { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ns-body); font-weight: 600; font-size: 15px; line-height: 1.2; padding: 13px 20px; border-radius: 4px; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
body.ns .ns-btn.signal .elementor-button { background: var(--signal); color: var(--signal-ink); }
body.ns .ns-btn.signal .elementor-button:hover { background: #ffb947; }
body.ns .ns-btn.line .elementor-button { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
body.ns .ns-btn.line .elementor-button:hover { background: #fff; color: var(--navy); }
body.ns .ns-btn.navy .elementor-button { background: var(--navy); color: #fff; }
body.ns .ns-btn.navy .elementor-button:hover { background: var(--ocean); }
body.ns .aside-cta .ns-btn .elementor-button { width: 100%; justify-content: center; }

/* Images */
body.ns .figure img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }

/* FAQ toggles */
body.ns .faq-list .elementor-toggle-item { border-top: 1px solid var(--rule); }
body.ns .faq-list .elementor-toggle-item:last-child { border-bottom: 1px solid var(--rule); }
body.ns .faq-list .elementor-tab-title { display: flex; flex-direction: row-reverse; justify-content: space-between; gap: 16px; padding: 18px 0; border: 0; font-family: var(--ns-body); font-weight: 600; font-size: 17px; color: var(--navy); cursor: pointer; }
body.ns .faq-list .elementor-tab-title a { color: var(--navy); text-decoration: none; }
body.ns .faq-list .elementor-toggle-icon { color: var(--ocean); fill: var(--ocean); flex: none; }
body.ns .faq-list .elementor-toggle-icon svg { width: 14px; height: 14px; fill: var(--ocean); }
body.ns .faq-list .elementor-tab-content { padding: 0 0 18px; border: 0; color: var(--slate); max-width: 40em; }

/* Contact Form 7 inside our cards */
body.ns .wpcf7 form { display: grid; gap: 14px; margin: 0; }
body.ns .wpcf7-form-control-wrap { display: block; }
body.ns .call .chips .wpcf7-form-control { display: flex; flex-wrap: wrap; gap: 8px; }
body.ns .call .chips .wpcf7-list-item { margin: 0; }
body.ns .call .chips .wpcf7-list-item label { display: inline-block; position: relative; }
body.ns .call .chips .wpcf7-list-item input { position: absolute; opacity: 0; pointer-events: none; width: auto; }
body.ns .call .chips .wpcf7-list-item-label { display: inline-block; font-size: 13px; font-weight: 400; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; cursor: pointer; color: var(--ink); background: #fff; }
body.ns .call .chips input:checked + .wpcf7-list-item-label { background: var(--navy); border-color: var(--navy); color: #fff; }
body.ns .call .chips input:focus-visible + .wpcf7-list-item-label { outline: 3px solid var(--signal); outline-offset: 2px; }
body.ns .call input.wpcf7-submit { width: 100%; justify-content: center; font: 600 15px var(--ns-body); padding: 13px 20px; border: 0; border-radius: 4px; background: var(--signal); color: var(--signal-ink); cursor: pointer; }
body.ns .call input.wpcf7-submit:hover { background: #ffb947; }
body.ns .wpcf7-spinner { display: none; }
body.ns .wpcf7-not-valid-tip { font-size: 13px; font-weight: 400; color: #b3261e; margin-top: 4px; }
body.ns .wpcf7 form .wpcf7-response-output { margin: 0; padding: 10px 12px; border-radius: 4px; font-size: 14px; border-width: 1px; }

/* Hello Elementor resets that fight the design */
body.ns { margin: 0; }
body.ns .site-header, body.ns .site-footer { display: none; }
body.ns .skip-link:focus { position: absolute; left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
body.ns .custom-logo-link img { max-height: 52px; width: auto; }

@media (max-width: 980px) {
  body.ns .e-con.hero-grid, body.ns .e-con.split, body.ns .e-con.why-grid, body.ns .e-con.faq-grid,
  body.ns .e-con.svc-layout, body.ns .e-con.contact-grid, body.ns .e-con.mv { grid-template-columns: 1fr; }
  body.ns .e-con.aside { position: static; }
}
@media (max-width: 640px) {
  body.ns .e-con.hero-grid { --padding-top: 56px; --padding-bottom: 64px; }
  body.ns .e-con.why-list { grid-template-columns: 1fr; }
}

body.ns .eyebrow.ns-sand { color: var(--sand); }
body.ns .quote .elementor-heading-title { color: #fff; }
body.ns .quote .elementor-widget-text-editor { color: #c9d3ec; }
body.ns a.tel { text-decoration: none; }
body.ns a.tel:hover { color: var(--ocean); }
body.ns .logo-img { display: block; line-height: 0; }
body.ns .hdr .logo-img img { height: 54px; width: auto; max-width: 200px; }
body.ns .ftr .logo-img img { height: 64px; width: auto; max-width: 220px; }
body.ns .ftr .blurb a { color: inherit; }
@media (max-width: 640px) { body.ns .hdr .logo-img img { height: 44px; } }
body.ns .ftr .bottom a { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; }
body.ns .ftr .bottom a:hover { color: #fff; }

body.ns .call .wpcf7-turnstile { min-height: 0; line-height: 0; }
body.ns .call .wpcf7-turnstile iframe { max-width: 100%; }

body.ns input, body.ns select, body.ns textarea, body.ns button { font-variant-numeric: lining-nums; }
body.ns .call input, body.ns .call select, body.ns .call textarea { font-variant-numeric: lining-nums; }

/* Back to top (homepage) */
body.ns .to-top { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 8px 24px rgba(2,13,51,.28); text-decoration: none; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, background .15s; }
body.ns .to-top.show { opacity: 1; transform: none; pointer-events: auto; }
body.ns .to-top:hover { background: var(--ocean); }
body.ns .to-top:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
@media (max-width: 640px) { body.ns .to-top { right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { body.ns .to-top { transition: none; transform: none; } }

/* Floating contact button + popup */
body.ns .contact-fab { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 31; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--signal); color: var(--signal-ink); font: 600 15px var(--ns-body); text-decoration: none; box-shadow: 0 10px 28px rgba(2,13,51,.3); transition: background .15s, transform .15s; }
body.ns .contact-fab:hover { background: #ffb947; transform: translateY(-1px); }
body.ns .contact-fab:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
body.ns .to-top { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); right: calc(21px + env(safe-area-inset-right, 0px)); }
html:has(.contact-pop[open]) { overflow: hidden; }
body.ns .contact-pop { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 8px; background: transparent; overflow: visible; }
body.ns .contact-pop::backdrop { background: rgba(2,13,51,.62); }
body.ns .contact-pop[open] { animation: ns-pop .18s ease-out; }
@keyframes ns-pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body.ns .contact-pop .call { position: relative; max-height: calc(100dvh - 32px); overflow-y: auto; padding: 28px; box-shadow: 0 24px 60px rgba(2,13,51,.45); }
body.ns .contact-pop .call > p { margin-top: 4px; padding-right: 24px; }
body.ns .contact-pop .call > p a { color: var(--navy); font-weight: 600; }
body.ns .contact-pop h2 { font-size: 22px; font-weight: 700; color: var(--navy); padding-right: 40px; }
body.ns .contact-pop .wpcf7 { margin-top: 18px; }
body.ns .pop-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--sand-soft); color: var(--navy); cursor: pointer; }
body.ns .pop-close:hover { background: var(--sand); }
@media (max-width: 640px) {
  body.ns .contact-fab { right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); height: 46px; padding: 0 16px 0 14px; }
  body.ns .to-top { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); }
  body.ns .contact-pop .call { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { body.ns .contact-pop[open] { animation: none; } body.ns .contact-fab:hover { transform: none; } }

/* Round contact button (overrides the earlier pill styles) */
body.ns .contact-fab { width: 56px; height: 56px; padding: 0; gap: 0; justify-content: center; border-radius: 50%; }
body.ns .contact-fab svg { width: 24px; height: 24px; flex: none; }
body.ns .contact-fab .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.ns .to-top { right: calc(25px + env(safe-area-inset-right, 0px)); bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 640px) {
  body.ns .contact-fab { width: 52px; height: 52px; padding: 0; }
  body.ns .to-top { right: calc(19px + env(safe-area-inset-right, 0px)); bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}
