/* ==========================================================================
   CoreTrade Business

   Palette and logo both come from assets/brand/coretradebusiness-logo-master.png
   (the "CORE" wordmark with a gold globe in place of the O):
     navy #002855
     gold #c6922e
   arc-motif.svg is a hand-drawn wireframe globe echoing that mark, used as
   background decoration behind the hero, feature-split and footer.

   Raw --accent (#c6922e) fails WCAG AA as text/button-fill on white
   (2.78:1, needs 4.5:1) — crimson, the previous accent, passed at 7:1. So
   there are two golds: --accent-dark (#956e23, 4.64:1 on white) carries any
   white text (button fills) and any accent-coloured text on a light
   background (eyebrows, links, ghost buttons); raw --accent stays for
   decorative fills/borders and for text on navy, where it already reads at
   5.25:1+.
   ========================================================================== */

:root {
    --primary: #002855;
    --primary-dark: #001833;
    --primary-deep: #000e1f;
    --mid-navy: #00438f;
    --light-navy: #005bc2;

    --accent: #c6922e;
    --accent-dark: #956e23;
    --accent-bright: #d9ad5a;
    --accent-soft: #f7f2e9;

    --navy-soft: #eef2f7;
    --bg-light: #f5f7fa;
    --text-dark: #002855;
    --text-body: #47536b;
    --text-muted: #6b7789;
    --white: #ffffff;
    --border: #e2e8f0;

    --header-h: 76px;
    --header-h-scrolled: 64px;
    --radius: 12px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--text-body);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    color: var(--primary);
    line-height: 1.15;
    letter-spacing: -0.015em;
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid var(--accent-dark);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 0 0 8px 0;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

/* --------------------------------------------------------- Header / nav */

header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: height 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

header.scrolled {
    height: var(--header-h-scrolled);
    box-shadow: 0 4px 22px rgba(0, 40, 85, 0.09);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
}

.header-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-full {
    height: 58px;
    width: auto;
    display: block;
    transition: height 0.3s var(--ease);
}

header.scrolled .logo-full {
    height: 48px;
}

.logo-mark {
    display: none;
    height: 34px;
    width: auto;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 36px;
}

nav.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 22px;
    align-items: center;
}

nav.desktop-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13.5px;
    font-weight: 600;
    transition: color 0.2s;
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}

nav.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}

nav.desktop-nav a:hover::after,
nav.desktop-nav a.active::after {
    width: 100%;
}

nav.desktop-nav a:hover,
nav.desktop-nav a.active {
    color: var(--primary);
}

.btn-nav {
    background: var(--primary);
    color: var(--white);
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
    white-space: nowrap;
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 40, 85, 0.28);
    background: var(--mid-navy);
}

/* ------------------------------------------------------------ Mobile nav */

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    margin-bottom: 5px;
    transition: transform 0.3s var(--ease), opacity 0.2s;
}

.mobile-toggle span:last-child {
    margin-bottom: 0;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 14, 31, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: var(--white);
    z-index: 1100;
    padding: 72px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: -10px 0 30px rgba(0, 14, 31, 0.14);
    transition: right 0.4s var(--ease);
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
}

.mobile-drawer a {
    text-decoration: none;
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    transition: padding-left 0.2s, color 0.2s;
}

.mobile-drawer a:hover {
    padding-left: 8px;
    color: var(--accent-dark);
}

.drawer-header {
    margin-bottom: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.drawer-header img {
    height: 48px;
    width: auto;
    max-width: 100%;
    display: block;
}

.drawer-cta {
    margin-top: 8px;
    background: var(--accent-dark);
    color: var(--white) !important;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
}

.drawer-cta:hover {
    padding-left: 14px;
    background: var(--accent-dark);
}

/* ------------------------------------------------------------------ Hero */

.hero {
    min-height: calc(100vh - var(--header-h));
    background:
        radial-gradient(circle at 14% 18%, rgba(198, 146, 46, 0.34) 0%, rgba(198, 146, 46, 0) 52%),
        linear-gradient(135deg, #002855 0%, #001833 55%, #000e1f 100%);
    display: flex;
    align-items: center;
    padding: 96px 5% 96px 10%;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* The arch from the logo, blown up and pushed to the right edge. */
.hero::before {
    content: '';
    position: absolute;
    right: -6%;
    bottom: -12%;
    width: min(760px, 62vw);
    aspect-ratio: 600 / 320;
    background: url('../img/arc-motif.svg') center/contain no-repeat;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 68% 42%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 68% 42%, #000 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 660px;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.93);
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.025em;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent-bright);
}

.hero-lede {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
    max-width: 540px;
    margin-bottom: 38px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-hero {
    display: inline-block;
    background: var(--accent-dark);
    color: var(--white);
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-hero:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(198, 146, 46, 0.42);
}

.btn-hero-ghost {
    display: inline-block;
    color: var(--white);
    font-weight: 600;
    padding: 15px 26px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* -------------------------------------------------------- Section basics */

section {
    padding: 88px 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-center {
    text-align: center;
    margin-bottom: 56px;
}

/* Block-level so it always sits on its own line above the heading. */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 14px;
}

.section-center .eyebrow {
    justify-content: center;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-radius: 50% / 100% 100% 0 0;
}

.eyebrow-navy {
    color: var(--mid-navy);
}

.section-center h2 {
    font-size: clamp(27px, 4vw, 36px);
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

/* the logo's arch, small, under every section heading */
.section-center h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -14px;
    width: 68px;
    height: 12px;
    border-top: 3px solid var(--accent);
    border-radius: 50% / 100% 100% 0 0;
}

/* :not(.eyebrow) matters: a bare ".section-center > p" is equally specific
   to ".eyebrow"/".eyebrow-navy" (one class each) and was winning on source
   order, silently painting every eyebrow label var(--text-muted) gray
   instead of its intended accent colour. */
.section-center > p:not(.eyebrow) {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 18px auto 0;
}

/* ----------------------------------------------------------------- About */

.about-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text p {
    font-size: 16.5px;
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--primary);
    font-weight: 600;
}

.about-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 32px;
}

.about-box h3 {
    font-size: 17px;
    margin-bottom: 18px;
}

.about-list {
    list-style: none;
}

.about-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.5;
}

.about-list li:last-child {
    margin-bottom: 0;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 7px;
    border-top: 2px solid var(--accent);
    border-radius: 50% / 100% 100% 0 0;
}

/* ----------------------------------------------------------- Card grids */

.services,
.industries {
    background-color: var(--bg-light);
}

.ecommerce {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 40, 85, 0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

/* a hairline in the group's colour, drawn on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.35s var(--ease);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 40, 85, 0.11);
}

.service-card:hover::before {
    width: 100%;
}

.accent-card::before {
    background: var(--accent);
}

.ecommerce .service-card {
    background: var(--bg-light);
}

.card-large { grid-column: span 4; }
.card-narrow { grid-column: span 2; }
.card-equal { grid-column: span 2; }

.icon-box {
    width: 46px;
    height: 46px;
    background: var(--navy-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.accent-card .icon-box {
    background: var(--accent-soft);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14.5px;
    color: var(--text-muted);
}

/* --------------------------------------------------------- Feature split */

.feature-split {
    background:
        radial-gradient(circle at 88% 12%, rgba(198, 146, 46, 0.3) 0%, rgba(198, 146, 46, 0) 48%),
        linear-gradient(140deg, #002855 0%, #001833 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.feature-split::before {
    content: '';
    position: absolute;
    left: -8%;
    top: -18%;
    width: min(560px, 48vw);
    aspect-ratio: 600 / 320;
    background: url('../img/arc-motif.svg') center/contain no-repeat;
    transform: rotate(180deg);
    pointer-events: none;
}

.feature-grid {
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.feature-text .eyebrow {
    color: var(--accent-bright);
}

.feature-text h2 {
    color: var(--white);
    font-size: clamp(27px, 4vw, 36px);
    margin-bottom: 22px;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 32px;
}

.btn-partnership {
    background: var(--accent-dark);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-partnership:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 24px;
    border-radius: var(--radius);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
}

.feature-card i {
    display: block;
    font-size: 26px;
    margin-bottom: 14px;
    font-style: normal;
}

.feature-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.feature-card p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.55;
}

/* ------------------------------------------------------------------- CTA */

.cta-section {
    background: var(--white);
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 14px 26px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta:hover {
    transform: translateY(-2px);
}

.btn-cta-accent {
    background: var(--accent-dark);
    color: var(--white);
}

.btn-cta-accent:hover {
    background: var(--accent-dark);
}

.btn-cta-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-cta-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-cta-ghost {
    color: var(--accent-dark);
    border: 1px solid transparent;
}

.btn-cta-ghost:hover {
    border-color: var(--accent-soft);
    background: var(--accent-soft);
}

/* ------------------------------------------------------------------ Form */

.inquiry-section {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    border-top: 4px solid var(--accent);
    box-shadow: 0 12px 44px rgba(0, 40, 85, 0.09);
    padding: 50px;
}

.form-header {
    text-align: center;
    margin-bottom: 36px;
}

.form-header h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.form-header p {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-note {
    font-size: 14px;
    color: var(--text-body);
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.form-note a {
    color: var(--accent-dark);
    font-weight: 600;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-submit:hover:not(:disabled) {
    background: var(--mid-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 40, 85, 0.24);
}

.btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-success {
    text-align: center;
    padding: 40px 0;
}

.form-success .form-success-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.form-success h3 {
    margin-bottom: 12px;
}

.form-success button {
    margin-top: 24px;
    background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: inherit;
    padding: 9px 20px;
    border-radius: 6px;
    cursor: pointer;
}

/* ---------------------------------------------------------------- Footer */

footer {
    background: linear-gradient(160deg, #002855 0%, #000e1f 100%);
    color: var(--white);
    padding: 76px 0 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    right: -4%;
    top: -30%;
    width: min(520px, 46vw);
    aspect-ratio: 600 / 320;
    background: url('../img/arc-motif.svg') center/contain no-repeat;
    opacity: 0.5;
    pointer-events: none;
}

footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-logo img {
    height: 52px;
    width: auto;
    display: block;
}

.footer-tagline {
    color: #a9b8ca;
    font-size: 14px;
    margin-bottom: 24px;
    max-width: 300px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.social-btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.footer-col h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 22px;
    color: var(--white);
    letter-spacing: 0.01em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.86;
    transition: opacity 0.2s, color 0.2s;
}

.footer-col ul a:hover {
    opacity: 1;
    color: var(--accent-bright);
}

.contact-info {
    font-size: 14px;
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 14px;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info .pending {
    color: #a9b8ca;
}

.office-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8fa2b8;
    display: block;
    margin-top: 16px;
    margin-bottom: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    margin-left: 24px;
}

.footer-links a:hover {
    color: var(--white);
}

/* ------------------------------------------------------- Hero pillar list */

.hero-pillars {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 44px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-pillars li {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-pillars li::before {
    content: '';
    width: 14px;
    height: 8px;
    border-top: 2px solid var(--accent-bright);
    border-radius: 50% / 100% 100% 0 0;
    flex-shrink: 0;
}

/* ------------------------------------------------- Supply / demand flow */

.flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 20px;
}

.flow-node {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    text-align: center;
}

.flow-node p {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    line-height: 1.4;
}

.flow-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.flow-hub {
    background: var(--primary);
    border-color: var(--primary);
}

.flow-hub p {
    color: var(--white);
}

.flow-hub .flow-label {
    color: var(--accent-bright);
}

/* Double-headed arrow: trade runs in both directions. */
.flow-arrow {
    align-self: center;
    position: relative;
    width: 46px;
    height: 2px;
    background: var(--accent);
    flex-shrink: 0;
}

.flow-arrow::before,
.flow-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

.flow-arrow::before {
    left: 0;
    transform: translateY(-50%) rotate(-135deg);
}

.flow-arrow::after {
    right: 0;
    transform: translateY(-50%) rotate(45deg);
}

.flow-note {
    font-size: 15px;
    color: var(--text-muted);
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

/* --------------------------------------------------- Business development */

.business-development {
    background-color: var(--white);
}

/* ----------------------------------------------------- Offline / online */

.channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 48px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 36px;
    margin-bottom: 48px;
}

.channel-col h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 16px;
}

.channel-col .about-list li {
    margin-bottom: 10px;
}

.channel-note {
    grid-column: 1 / -1;
    font-size: 14.5px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin: 0;
}

/* ------------------------------------------------------------ Industries */

/* Seven cards do not divide into the six-column system, so this section
   runs on its own four-column grid: four on top, three below. */
.industries-grid {
    grid-template-columns: repeat(4, 1fr);
}

.industries-grid .service-card {
    grid-column: span 1;
    padding: 26px 24px;
}

.industries-grid .service-card h3 {
    font-size: 16.5px;
}

.industries-note {
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 36px auto 0;
}

/* ---------------------------------------------------------- Process steps */

.step-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    counter-reset: step;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 20px 24px;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.step:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
}

.step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-dark);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.step p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.55;
    margin: 0;
}

/* ------------------------------------------------------------ Legal pages */

.legal-hero {
    background:
        radial-gradient(circle at 14% 24%, rgba(198, 146, 46, 0.3) 0%, rgba(198, 146, 46, 0) 55%),
        linear-gradient(135deg, #002855 0%, #001833 60%, #000e1f 100%);
    color: var(--white);
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    right: -8%;
    bottom: -46%;
    width: min(520px, 46vw);
    aspect-ratio: 600 / 320;
    background: url('../img/arc-motif.svg') center/contain no-repeat;
    pointer-events: none;
}

.legal-hero .container {
    position: relative;
    z-index: 1;
}

.legal-hero h1 {
    color: var(--white);
    font-size: clamp(28px, 4.4vw, 40px);
    margin-bottom: 14px;
}

.legal-hero .eyebrow {
    color: var(--accent-bright);
}

.legal-updated {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

.legal-body {
    padding: 64px 0 88px;
}

.legal-body .container {
    max-width: 780px;
}

.legal-body h2 {
    font-size: 21px;
    margin: 44px 0 14px;
    padding-top: 4px;
}

.legal-body h2:first-of-type {
    margin-top: 0;
}

.legal-body h3 {
    font-size: 16.5px;
    margin: 26px 0 10px;
}

.legal-body p,
.legal-body li {
    font-size: 15.5px;
    line-height: 1.7;
}

.legal-body p {
    margin-bottom: 16px;
}

.legal-body ul,
.legal-body ol {
    margin: 0 0 18px 22px;
}

.legal-body li {
    margin-bottom: 8px;
}

.legal-body a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-body strong {
    color: var(--primary);
    font-weight: 600;
}

.legal-intro {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 40px;
}

.legal-intro p:last-child {
    margin-bottom: 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 22px;
    font-size: 14.5px;
}

.legal-table th,
.legal-table td {
    text-align: left;
    padding: 11px 14px;
    border: 1px solid var(--border);
    vertical-align: top;
}

.legal-table th {
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 600;
}

.legal-contact {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-top: 36px;
}

.legal-contact p:last-child {
    margin-bottom: 0;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    font-weight: 600;
    font-size: 15px;
    color: var(--primary);
    text-decoration: none;
}

.legal-back:hover {
    color: var(--accent-dark);
}

@media (max-width: 600px) {
    .legal-body {
        padding: 44px 0 64px;
    }

    .legal-intro,
    .legal-contact {
        padding: 20px 22px;
    }

    /* Keep wide tables scrollable rather than squashing the columns. */
    .legal-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* -------------------------------------------------------- Reveal on scroll */

.reveal-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-element {
        opacity: 1;
        transform: none;
    }
}

/* ------------------------------------------------------------- Responsive */

/* The wordmark is long; below this the header keeps the mark only. */
@media (max-width: 1240px) {
    .logo-full {
        display: none;
    }

    .logo-mark {
        display: block;
    }

    .nav-container {
        gap: 24px;
    }
}

@media (max-width: 980px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .card-large,
    .card-narrow,
    .card-equal {
        grid-column: span 3;
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Stack the flow and turn the arrows to point down the column. */
    .flow {
        grid-template-columns: 1fr;
        justify-items: stretch;
        gap: 12px;
    }

    .flow-arrow {
        justify-self: center;
        width: 2px;
        height: 34px;
        background: var(--accent);
    }

    .flow-arrow::before {
        left: 50%;
        top: 0;
        transform: translateX(-50%) rotate(-45deg);
    }

    .flow-arrow::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: 0;
        transform: translateX(-50%) rotate(135deg);
    }
}

@media (max-width: 768px) {
    header {
        padding: 0;
        height: var(--header-h-scrolled);
    }

    header.scrolled {
        height: var(--header-h-scrolled);
    }

    .header-inner {
        padding: 0 5%;
    }

    nav.desktop-nav,
    .btn-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .logo-mark {
        height: 30px;
    }

    .hero {
        min-height: auto;
        padding: 72px 6%;
    }

    .hero::before {
        right: -22%;
        bottom: -8%;
        width: 90vw;
        opacity: 0.7;
    }

    section {
        padding: 64px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .card-large,
    .card-narrow,
    .card-equal {
        grid-column: span 1;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .channels {
        grid-template-columns: 1fr;
        padding: 26px 24px;
    }

    .hero-pillars {
        margin-top: 34px;
        gap: 8px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-links a {
        margin-left: 0;
        margin-right: 24px;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-row .form-group {
        margin-bottom: 0;
    }

    .inquiry-section {
        padding: 64px 0;
    }

    .form-container {
        padding: 30px 20px;
    }

    .cta-buttons,
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-cta,
    .btn-hero,
    .btn-hero-ghost {
        justify-content: center;
        text-align: center;
    }
}
