:root {
  --ink: #1D2A33;
  --muted: #4A5A63;
  --soft: #5B6B74;
  --blue: #0E74B8;
  --blue-dark: #0A5A91;
  --yellow: #FFC61E;
  --yellow-dark: #E8AE0A;
  --green: #17A653;
  --sky: #29B6F6;
  --tint-yellow: #FFEEB8;
  --tint-blue: #CFECFA;
  --tint-green: #CDF2DC;
  --surface: #F4F6F7;
  --surface-blue: #E4F5FC;
  --surface-green: #E1F7EA;
  --line: #E3E8EC;
  --field: #7B8B95;
  --font-head: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff; }
img, svg { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1100px) { .container { padding: 0 64px; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; color: #fff; }

.topbar { background: var(--surface); font-size: 13px; color: var(--muted); }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--muted); text-decoration: none; }
.topbar a:hover { color: var(--blue); text-decoration: underline; }
.topbar__group { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topbar__site { display: none; }
@media (min-width: 768px) { .topbar__site { display: inline; } }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo-letter { font-family: var(--font-head); font-weight: 700; font-size: 24px; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: 0.01em; }
.brand__tag { font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em; color: var(--soft); line-height: 1; text-transform: uppercase; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: 0 12px 24px rgba(29, 42, 51, 0.08); }
.site-nav.is-open { display: block; }
.site-nav ul { display: flex; flex-direction: column; }
.site-nav a.nav-link { display: block; padding: 14px 4px; font-weight: 500; font-size: 17px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.site-nav a.nav-link[aria-current="page"] { color: var(--blue); font-weight: 600; }
.site-nav .btn { width: 100%; margin-top: 16px; }

@media (min-width: 940px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; align-items: center; gap: 36px; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .site-nav ul { flex-direction: row; gap: 32px; }
  .site-nav a.nav-link { padding: 6px 0; font-size: 15px; border-bottom: 2px solid transparent; }
  .site-nav a.nav-link:hover { color: var(--blue); }
  .site-nav a.nav-link[aria-current="page"] { border-bottom-color: var(--yellow); }
  .site-nav .btn { width: auto; margin-top: 0; }
}

.btn { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.2; padding: 13px 24px; border-radius: 4px; text-align: center; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background-color 0.15s, color 0.15s; }
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: var(--yellow-dark); color: var(--ink); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--tint-blue); color: var(--blue-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .btn-row .btn { width: 100%; } }

.eyebrow { font-size: 14px; font-weight: 600; color: var(--blue); }
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 60ch; }
@media (min-width: 768px) { .lead { font-size: 18px; } }

.page-hero { background: linear-gradient(120deg, #E4F5FC 0%, #FFEEB8 100%); border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
.page-hero .container { display: flex; flex-direction: column; gap: 14px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.01em; }
@media (min-width: 900px) { .page-hero { padding: 64px 0 68px; } }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.subnav a { padding: 8px 16px; border: 1.5px solid var(--blue); border-radius: 999px; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.subnav a:hover { background: var(--tint-blue); }

.section { padding: 48px 0; }
.section--blue { background: var(--surface-blue); }
.section--green { background: var(--surface-green); }
@media (min-width: 900px) { .section { padding: 72px 0; } }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; max-width: 62ch; }
.section-head h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 700; }
.section-head h2::after { content: ""; display: block; width: 46px; height: 4px; margin-top: 10px; border-radius: 2px; background: linear-gradient(90deg, var(--yellow), var(--sky), var(--green)); }
.section-head p { color: var(--muted); font-size: 15.5px; }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid { gap: 20px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 900px) { .card { padding: 26px; } }
.card h3 { font-size: 17px; font-weight: 600; }
.card p { font-size: 14.5px; color: var(--soft); line-height: 1.55; }

.cta-band { background: linear-gradient(120deg, #CDF2DC 0%, #CFECFA 100%); border-top: 1px solid var(--line); padding: 48px 0; }
.cta-band__inner { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cta-band h2 { font-size: clamp(22px, 2.8vw, 28px); }
.cta-band p { color: var(--muted); max-width: 56ch; margin-top: 8px; }
@media (min-width: 820px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; } .cta-band { padding: 60px 0; } }

/* About-page specifics */
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } .two-col--wide { grid-template-columns: 0.9fr 1.1fr; } }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 62ch; }
.prose p { color: var(--muted); font-size: 16.5px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); }
.leader { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.leader strong { font-family: var(--font-head); font-size: 19px; }
.leader span { color: var(--soft); font-size: 14.5px; }
.checklist { display: flex; flex-direction: column; gap: 8px; }
.checklist li { position: relative; padding-left: 22px; color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.stmt { display: grid; gap: 20px; }
@media (min-width: 820px) { .stmt { grid-template-columns: 1fr 1fr; gap: 24px; } }
.stmt .card h3 { font-size: 19px; }
.values { display: grid; gap: 16px; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .values { grid-template-columns: repeat(4, 1fr); } }
.values li { padding: 18px 0 0; border-top: 3px solid var(--yellow); display: flex; flex-direction: column; gap: 6px; }
.values li:nth-child(2) { border-top-color: var(--green); }
.values li:nth-child(3) { border-top-color: var(--sky); }
.values li:nth-child(4) { border-top-color: var(--blue); }
.values strong { font-family: var(--font-head); font-size: 17px; }
.values span { font-size: 14.5px; color: var(--soft); }

.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 36px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.3fr 0.7fr 1.4fr; gap: 56px; } }
.footer__blurb { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 40ch; }
.footer__col h2 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.footer__col li + li { margin-top: 8px; }
.footer__col a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer__col a:hover { color: var(--blue); text-decoration: underline; }
.footer__col address { font-style: normal; color: var(--muted); font-size: 14.5px; }
.footer__col address strong { display: block; color: var(--ink); font-size: 14px; }
.footer__bottom { border-top: 1px solid var(--line); padding: 16px 0; font-size: 13px; color: var(--soft); }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Photo hero (Services & Trading) */
.photo-hero { position: relative; background-size: cover; background-position: center 30%; border-bottom: 1px solid var(--line); min-height: 320px; display: flex; align-items: flex-end; }
.photo-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%), linear-gradient(180deg, rgba(8,14,26,0.25) 0%, rgba(8,14,26,0.55) 100%); }
.photo-hero .lead a { color: #FFD866; }
.photo-hero .eyebrow { color: #FFD866; }
.photo-hero .btn--outline { color: #fff; border-color: #fff; }
.photo-hero .btn--outline:hover { background: rgba(255,255,255,0.15); color: #fff; }
.hero--home .lead { font-size: 15px; }
@media (min-width: 768px) { .hero--home .lead { font-size: 16px; } }
.photo-hero .container { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 14px; }
.photo-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.01em; }
.photo-hero .lead { color: #EAF0F4; }
.photo-hero .subnav a { border-color: #fff; color: #fff; }
.photo-hero .subnav a:hover { background: rgba(255,255,255,0.15); }
@media (min-width: 900px) { .photo-hero { min-height: 420px; } .photo-hero .container { padding-top: 72px; padding-bottom: 44px; } }

/* Service rows */
.service { display: grid; gap: 14px; padding: 30px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 8px; }
.service__head { display: flex; align-items: center; gap: 14px; }
.service__head h3 { font-size: 20px; font-weight: 600; }
.service__body { display: flex; flex-direction: column; gap: 12px; max-width: 64ch; }
.service__body p { color: var(--muted); }
@media (min-width: 820px) {
  .service { grid-template-columns: 320px 1fr; gap: 40px; padding: 38px 0; }
  .service__head { align-items: flex-start; }
}
.icon-tile { width: 44px; height: 44px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-tile svg { width: 22px; height: 22px; fill: none; stroke-width: 1.8; }
.tile--yellow { background: #FFDD66; } .tile--yellow svg { stroke: #7A5C08; }
.tile--blue { background: #9FDBF6; } .tile--blue svg { stroke: #14607F; }
.tile--green { background: #8CE6B0; } .tile--green svg { stroke: #1B6E3E; }

/* Contact page */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; } }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 14.5px; }
.field label .req { color: #A33B28; margin-left: 2px; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--field); border-radius: 4px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 1px; }
.form__note { font-size: 13.5px; color: var(--soft); }
.form__status { padding: 14px 16px; border-radius: 4px; font-size: 15px; display: none; }
.form__status.is-success { display: block; background: var(--tint-green); border: 1px solid #A9D8BB; color: #14532D; }
.form__status.is-error { display: block; background: #FDEDE9; border: 1px solid #F0B7AB; color: #7A2413; }
.hp { position: absolute; left: -9999px; }
.office { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; }
.office h3 { font-size: 16px; font-weight: 700; color: #14607F; }
.office address { font-style: normal; color: var(--muted); }
.office a { font-weight: 500; }

/* Work showcase */
.showcase { background: var(--surface-blue); padding: 40px 0 48px; border-bottom: 1px solid var(--line); }
.showcase__grid { max-width: 1040px; margin: 0 auto; display: grid; gap: 20px; grid-template-columns: 1fr; }
.showcase__item { margin: 0; }
.showcase__item img { display: block; width: 100%; height: 260px; object-fit: cover; border-radius: 10px; box-shadow: 0 18px 40px rgba(14,116,184,0.16); border: 1px solid rgba(14,116,184,0.12); }
.showcase__item figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.showcase__item figcaption strong { color: var(--ink); }
@media (min-width: 720px) {
  .showcase__grid { grid-template-columns: 1fr 1fr; }
  .showcase__item img { height: 320px; }
}
@media (min-width: 900px) { .showcase { padding: 56px 0 64px; } }

/* Breadcrumbs */
.breadcrumb { padding: 12px 0; border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--soft); }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:first-child)::before { content: "/"; color: var(--line); margin-right: 6px; }
.breadcrumb a { color: var(--soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb li[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Hero (Home): restored after shared-stylesheet rebuild dropped these */
.hero { padding: 40px 0 48px; position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: 32px; align-items: stretch; }
.hero__text { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.hero h1 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 700; letter-spacing: -0.01em; max-width: 20ch; }
.hero__art { display: flex; justify-content: flex-end; align-items: stretch; position: relative; width: 100%; }
.hero__photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  position: relative;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to left, black 0%, black 28%, rgba(0,0,0,0.65) 52%, rgba(0,0,0,0.22) 78%, transparent 100%);
  mask-image: linear-gradient(to left, black 0%, black 28%, rgba(0,0,0,0.65) 52%, rgba(0,0,0,0.22) 78%, transparent 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 620px;
  height: 620px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,198,30,0.35), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(41,182,246,0.30), transparent 60%),
    radial-gradient(circle at 45% 80%, rgba(23,166,83,0.28), transparent 60%);
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}

/* Trust strip (Home) */
.trust { background: linear-gradient(90deg, #FFEEB8 0%, #CFECFA 50%, #CDF2DC 100%); border-bottom: 3px solid #fff; }
.trust ul { display: grid; }
.trust li { padding: 16px 0; text-align: center; font-weight: 600; font-size: 14.5px; color: #1D2A33; }
.trust li + li { border-top: 1px solid rgba(29,42,51,0.14); }
@media (min-width: 720px) {
  .trust ul { grid-template-columns: repeat(3, 1fr); }
  .trust li { padding: 26px 16px; }
  .trust li + li { border-top: 0; border-left: 1px solid rgba(29,42,51,0.14); }
}

/* Split section heading (Home's Services/Trading section headers) */
.section-head--split { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.section-head--split > div { display: flex; flex-direction: column; gap: 8px; max-width: 62ch; }
.text-link { font-weight: 600; font-size: 15px; }

/* "Not sure which service" CTA card */
.card--cta { background: linear-gradient(135deg, #FFEEB8, #FFDD66); border-color: #F0C440; justify-content: center; align-items: flex-start; gap: 14px; }
.card--cta p { color: #1D2A33; font-size: 15.5px; }
