/* NEA Project — quay-side grid, container-code labels, one crane-orange accent */
:root {
  --neap-bg: #eef1f3;
  --neap-surface: #ffffff;
  --neap-ink: #0f1d2a;
  --neap-muted: #536372;
  --neap-line: #c9d2da;
  --neap-steel: #1b3346;
  --neap-steel-ink: #e8eef3;
  --neap-accent: #e2561b;
  --neap-accent-ink: #ffffff;
  --neap-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --neap-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --neap-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --neap-bg: #0c1620; --neap-surface: #122130; --neap-ink: #e6edf2; --neap-muted: #93a5b4;
    --neap-line: #243748; --neap-steel: #0a1a28; --neap-steel-ink: #dfe8ef; --neap-accent: #f06a2e; --neap-accent-ink: #140a05;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--neap-bg); color: var(--neap-ink); font-family: var(--neap-body); font-size: 17px; line-height: 1.6; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--neap-accent); outline-offset: 3px; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }

.neap-wrap { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 480px) { .neap-wrap { padding-inline: 16px; } }

.neap-code { font-family: var(--neap-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--neap-muted); margin: 0; }
.neap-code b { color: var(--neap-accent); font-weight: 500; }
.neap-code .nm { text-transform: none; letter-spacing: .02em; color: inherit; font-weight: 500; }
.wp-site-blocks h1, .wp-site-blocks h2, .wp-site-blocks h3,
.editor-styles-wrapper h1, .editor-styles-wrapper h2, .editor-styles-wrapper h3 { font-family: var(--neap-display); text-wrap: balance; margin: 0; line-height: 1.02; }
.neap-section h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; }
.neap-section h3 { font-size: 1.3rem; font-weight: 700; font-stretch: 105%; line-height: 1.2; }
.neap-section p, .neap-hero p { margin: 0; }

/* Header */
.neap-top { position: sticky; top: 0; z-index: 10; background: var(--neap-steel); color: var(--neap-steel-ink); }
.admin-bar .neap-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .neap-top { top: 0; position: relative; } }
.neap-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.neap-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--neap-display); font-weight: 900; font-stretch: 125%; font-size: clamp(1.35rem, 2.6vw, 1.9rem); letter-spacing: .02em; }
.neap-brand i { width: 0.7em; height: 0.7em; background: var(--neap-accent); display: inline-block; }
.neap-links { display: flex; gap: 22px; font-size: 15px; }
.neap-links a { text-decoration: none; opacity: .85; }
.neap-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.neap-right { display: flex; align-items: center; gap: 12px; }
.neap-lang { display: flex; border: 1.5px solid color-mix(in srgb, var(--neap-steel-ink) 35%, transparent); }
.neap-lang a { padding: 7px 10px; font: 500 13px var(--neap-mono); letter-spacing: .06em; text-decoration: none; opacity: .7; }
.neap-lang a[aria-current] { background: var(--neap-steel-ink); color: var(--neap-steel); opacity: 1; }
.neap-btn, .neap-actions .wp-block-button__link {
  display: inline-flex; align-items: center; background: var(--neap-accent); color: var(--neap-accent-ink);
  font: 600 15px var(--neap-body); text-decoration: none; padding: 12px 20px; border: 0; border-radius: 0;
}
.neap-btn:hover, .neap-actions .wp-block-button__link:hover { filter: brightness(1.08); }
.neap-actions .is-style-outline .wp-block-button__link { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; border: 0; }
@media (max-width: 760px) { .neap-links { display: none; } }
@media (max-width: 480px) { .neap-top .neap-btn { display: none; } }

/* Hero */
.neap-hero { background: var(--neap-steel); color: var(--neap-steel-ink); overflow: hidden; }
.neap-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; padding-block: 56px 0; }
.neap-hero-grid > * { min-width: 0; }
.neap-hero .neap-code { color: color-mix(in srgb, var(--neap-steel-ink) 70%, transparent); }
.neap-hero h1 { font-size: clamp(2.7rem, 7.4vw, 5.6rem); font-weight: 900; font-stretch: 118%; letter-spacing: -.02em; margin-block: 18px 22px; color: inherit; }
.neap-hero h1 em { font-style: normal; color: var(--neap-accent); }
.neap-lead { font-size: 1.15rem; max-width: 36em; color: color-mix(in srgb, var(--neap-steel-ink) 88%, transparent); }
.neap-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 30px 56px !important; }
.neap-crane { width: 100%; max-width: 100%; height: auto; display: block; }
.neap-crane .trolley { animation: neap-roll 9s ease-in-out infinite alternate; }
@keyframes neap-roll { from { transform: translateX(0); } to { transform: translateX(-120px); } }
@media (prefers-reduced-motion: reduce) { .neap-crane .trolley { animation: none; } }
.neap-quay { height: 18px; background: repeating-linear-gradient(90deg, var(--neap-accent) 0 28px, var(--neap-steel) 28px 56px); opacity: .9; }
@media (max-width: 860px) {
  .neap-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .neap-actions { margin-bottom: 24px !important; }
  .neap-crane { max-width: 420px; margin-left: auto; }
}

.neap-section { padding-block: 88px; }
@media (max-width: 600px) { .neap-section { padding-block: 60px; } }
.neap-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: 44px; }
.neap-head > * { min-width: 0; }
.neap-head-title { display: grid; gap: 14px; align-content: start; }
.neap-intro { color: var(--neap-muted); max-width: 34em; }
.neap-contact .neap-intro { margin-top: 4px; }
@media (max-width: 760px) { .neap-head { grid-template-columns: 1fr; } }

/* Philosophy */
.neap-philosophy { background: var(--neap-surface); border-bottom: 1px solid var(--neap-line); }
.neap-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.neap-pillar { border-top: 3px solid var(--neap-accent); padding-top: 20px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.neap-section .neap-pillar h3 { font-size: 1.45rem; }
.neap-pillar p { color: var(--neap-muted); font-size: 16px; }
@media (max-width: 800px) { .neap-pillars { grid-template-columns: 1fr; gap: 28px; } }

/* Sectors */
.neap-sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--neap-line); border: 1px solid var(--neap-line); }
.neap-sector { background: var(--neap-surface); padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.neap-sector p:not(.neap-code) { color: var(--neap-muted); font-size: 15.5px; }
.neap-bullets { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15.5px; }
.neap-bullets li { padding-left: 18px; position: relative; }
.neap-bullets li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--neap-accent); }
@media (max-width: 900px) { .neap-sectors { grid-template-columns: 1fr; } }

/* Clients */
.neap-clients { background: var(--neap-surface); border-block: 1px solid var(--neap-line); }
.neap-who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.neap-who-item { border-top: 3px solid var(--neap-ink); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.neap-who-item p { color: var(--neap-muted); font-size: 15.5px; }
@media (max-width: 800px) { .neap-who { grid-template-columns: 1fr; gap: 28px; } }

/* Approach */
.neap-steps { display: grid; grid-template-columns: repeat(5, 1fr); }
.neap-step { padding-right: 20px; display: grid; gap: 10px; align-content: start; }
.neap-phase { font-family: var(--neap-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--neap-accent); padding-bottom: 14px; border-bottom: 2px solid var(--neap-line); margin-bottom: 6px !important; }
.neap-step p:not(.neap-phase) { color: var(--neap-muted); font-size: 15px; }
@media (max-width: 960px) { .neap-steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; } }
@media (max-width: 520px) { .neap-steps { grid-template-columns: 1fr; } }

/* Why band */
.neap-band { background: var(--neap-steel); color: var(--neap-steel-ink); }
.neap-band .neap-code { color: color-mix(in srgb, var(--neap-steel-ink) 70%, transparent); }
.neap-band h2, .neap-band h3 { color: inherit; }
.neap-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.neap-band-grid > * { min-width: 0; }
.neap-fact { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding-block: 18px; border-top: 1px solid color-mix(in srgb, var(--neap-steel-ink) 20%, transparent); }
.neap-band .neap-fact h3 { font-size: 1.05rem; font-weight: 700; font-stretch: 110%; line-height: 1.4; }
.neap-fact p { color: color-mix(in srgb, var(--neap-steel-ink) 80%, transparent); font-size: 15.5px; }
@media (max-width: 860px) { .neap-band-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .neap-fact { grid-template-columns: 1fr; gap: 4px; } }

/* Contact */
.neap-contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; }
.neap-contact-grid > * { min-width: 0; }
.neap-card { background: var(--neap-surface); border: 1px solid var(--neap-line); padding: 30px; display: grid; gap: 14px; align-content: start; }
.neap-mail { font-family: var(--neap-mono); font-size: 1.05rem; overflow-wrap: anywhere; margin-bottom: 8px !important; }
.neap-brief { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15.5px; }
.neap-brief li { display: grid; grid-template-columns: 26px 1fr; }
.neap-brief li span { font-family: var(--neap-mono); color: var(--neap-accent); font-size: 13px; padding-top: 2px; }
@media (max-width: 860px) { .neap-contact-grid { grid-template-columns: 1fr; } }

/* Footer and plain pages */
.neap-footer { border-top: 1px solid var(--neap-line); padding-block: 28px; color: var(--neap-muted); font-size: 14px; }
.neap-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.neap-page { max-width: 760px; margin-inline: auto; padding: 64px 24px; }
.neap-page h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; font-stretch: 112%; margin-bottom: 24px; }

/* Where we work, country pages, hub */
.neap-hero-small .neap-hero-text { padding-block: 56px 48px; }
.neap-hero-small h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
.neap-hero-small .neap-actions { margin-block: 28px 0 !important; }
.neap-countries { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); background: var(--neap-surface); border-top: 1px solid var(--neap-line); border-left: 1px solid var(--neap-line); }
.neap-countries li { border-right: 1px solid var(--neap-line); border-bottom: 1px solid var(--neap-line); }
.neap-countries li:last-child a { color: var(--neap-accent); }
.neap-countries a { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; text-decoration: none; font-family: var(--neap-display); font-weight: 700; font-stretch: 108%; font-size: 1.1rem; }
.neap-countries a::after { content: "→"; color: var(--neap-accent); }
.neap-countries a:hover { background: var(--neap-bg); }
.neap-hub h3 a { text-decoration: none; }
.neap-hub h3 a:hover { color: var(--neap-accent); }
.neap-footer-countries { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--neap-line); }
.neap-footer-countries span { font-family: var(--neap-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; width: 100%; }
.neap-footer-countries a { text-decoration: none; }
.neap-footer-countries a:hover { color: var(--neap-accent); }
@media (max-width: 900px) { .neap-hub { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .neap-hub { grid-template-columns: 1fr; } }
