/* ==========================================================================
   NI Construction – main stylesheet
   Mobile-first. No external fonts or frameworks.
   ========================================================================== */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght-normal.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-950: #07111d;
	--navy-900: #0b1726;
	--navy-800: #10233a;
	--navy-700: #17304f;
	--navy-600: #234268;
	--amber-400: #ffb940;
	--amber-500: #f5a524;
	--amber-600: #dc8a0c;
	--amber-50: #fff6e5;
	--ink: #142233;
	--text: #2c3a4b;
	--muted: #5a6a7c;
	--line: #e2e7ee;
	--soft: #f4f6f9;
	--white: #fff;
	--success: #146c43;
	--danger: #b42318;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow-sm: 0 1px 2px rgba(11, 23, 38, .06), 0 1px 3px rgba(11, 23, 38, .08);
	--shadow: 0 10px 30px -12px rgba(11, 23, 38, .25);
	--shadow-lg: 0 24px 60px -20px rgba(7, 17, 29, .45);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--container: 1200px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
svg.icon { flex: none; vertical-align: middle; }
a { color: var(--navy-600); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-900); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 750; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); letter-spacing: -.03em; }
h2, .h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem); }
h3, .h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
.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; }
.skip-link:focus { position: fixed !important; top: .75rem; left: .75rem; z-index: 1000; width: auto; height: auto; clip: auto; padding: .75rem 1rem; background: var(--amber-500); color: var(--navy-900); font-weight: 700; border-radius: var(--radius-sm); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.mt-lg { margin-top: 2.5rem; }
.site-main:focus { outline: none; }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .8rem 1.35rem; border-radius: 10px; border: 2px solid transparent;
	font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
	cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
	white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--sm { padding: .55rem 1rem; font-size: .9375rem; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.btn--accent { background: var(--amber-500); color: var(--navy-950); box-shadow: 0 6px 18px -8px rgba(245, 165, 36, .8); }
.btn--accent:hover { background: var(--amber-400); color: var(--navy-950); }
.btn--primary { background: var(--navy-800); color: var(--white); }
.btn--primary:hover { background: var(--navy-600); color: var(--white); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: var(--white); border-color: var(--white); }
.btn--outline-dark { background: var(--white); color: var(--navy-800); border-color: #c9d2de; }
.btn--outline-dark:hover { border-color: var(--navy-800); color: var(--navy-900); }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.center.btn-row, .btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; color: var(--navy-700); text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .15s; }

/* Badges ----------------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .01em; }
.badge--accent { background: var(--amber-50); color: #8a5200; border: 1px solid #f7d79b; }
.badge--verified { background: #e8f5ee; color: var(--success); border: 1px solid #bfe3cf; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy-900); }
.brand:hover { color: var(--navy-900); text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { font-size: 1.28rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.brand__ni { color: var(--amber-600); }
.brand--footer { color: var(--white); }
.brand--footer:hover { color: var(--white); }
.brand--footer .brand__ni { color: var(--amber-500); }
.custom-logo-link img { max-height: 48px; width: auto; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--navy-900); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .5rem var(--gutter) 1.25rem; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.site-nav.is-open { display: block; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a { display: block; padding: .85rem .25rem; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a, .primary-nav .current-menu-ancestor > a { color: var(--amber-600); }
.primary-nav .sub-menu { list-style: none; padding-left: 1rem; }
.header-ctas { display: grid; gap: .6rem; margin-top: 1rem; }
.no-js .site-nav { display: block; position: static; box-shadow: none; }

@media (min-width: 1080px) {
	.nav-toggle { display: none; }
	.site-nav { display: flex !important; position: static; align-items: center; gap: 1.5rem; padding: 0; border: 0; box-shadow: none; background: none; max-height: none; overflow: visible; }
	.primary-nav .menu { display: flex; gap: .25rem; }
	.primary-nav .menu a { border: 0; padding: .5rem .7rem; border-radius: 8px; font-size: .97rem; color: var(--text); }
	.primary-nav .menu a:hover { background: var(--soft); color: var(--ink); }
	.primary-nav .menu > li { position: relative; }
	.primary-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: .4rem; }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }
	.header-ctas { display: flex; margin: 0; }
}

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; color: #d6deea; background: var(--navy-900); padding: clamp(3rem, 6vw, 5.5rem) 0 0; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(1000px 520px at 85% -10%, rgba(245, 165, 36, .20), transparent 60%),
		radial-gradient(900px 600px at -10% 110%, rgba(35, 66, 104, .9), transparent 60%),
		linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.hero__bg::after { content: ""; position: absolute; inset: 0; opacity: .14;
	background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.hero__inner { display: grid; gap: 2.5rem; align-items: center; }
.hero__title { color: var(--white); font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); line-height: 1.05; margin-bottom: 1.1rem; max-width: 16ch; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: #c3cedd; max-width: 38rem; margin-bottom: 1.8rem; }
.hero__ctas .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .hero__ctas .btn { flex: 0 0 auto; } }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .75rem; font-size: .8rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--amber-600); }
.eyebrow--light { color: var(--amber-400); background: rgba(245, 165, 36, .1); border: 1px solid rgba(245, 165, 36, .3); padding: .35rem .75rem; border-radius: 999px; letter-spacing: .05em; text-transform: none; font-size: .86rem; font-weight: 600; }
.hero__panel { background: var(--white); color: var(--text); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-lg); border-top: 5px solid var(--amber-500); }
.hero__panel-title { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; margin-bottom: 1rem; }
.hero__panel-title .icon { color: var(--amber-600); }
.hero__popular { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; }
.hero__popular::before { content: "Popular:"; color: var(--muted); font-weight: 600; margin-right: .2rem; align-self: center; }
.hero__popular a { display: inline-block; padding: .25rem .65rem; border-radius: 999px; background: var(--soft); color: var(--navy-700); text-decoration: none; font-weight: 600; }
.hero__popular a:hover { background: var(--amber-50); color: var(--navy-900); }
@media (min-width: 960px) {
	.hero__inner { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; }
	.hero__panel { padding: 2rem; }
}
.trust-bar { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 1.25rem 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.trust-bar li { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: #aebbcc; line-height: 1.35; }
.trust-bar strong { display: block; color: var(--white); font-size: .98rem; margin-bottom: .1rem; }
.trust-bar .icon { color: var(--amber-500); margin-top: .1rem; }
@media (min-width: 860px) { .trust-bar { grid-template-columns: repeat(4, 1fr); padding: 1.6rem 0; } }

/* Directory search -------------------------------------------------------- */
.nic-search { display: grid; gap: .75rem; }
.nic-search__field label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: .3rem; text-transform: uppercase; letter-spacing: .05em; }
.nic-search select, .nic-search input[type="search"], .nic-input {
	width: 100%; min-height: 50px; padding: .7rem .9rem; font: inherit; font-size: 1rem; color: var(--ink);
	background: var(--white); border: 1.5px solid #cdd5e0; border-radius: 10px; transition: border-color .15s, box-shadow .15s;
}
.nic-search select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2317304f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; }
select.nic-input { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2317304f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; }
.nic-search select:focus, .nic-search input:focus, .nic-input:focus { border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(35, 66, 104, .15); outline: none; }
.nic-search .btn { min-height: 52px; width: 100%; }
.nic-search--bar { background: var(--white); border-radius: 14px; padding: 1rem; box-shadow: var(--shadow); }
@media (min-width: 860px) {
	.nic-search--bar { grid-template-columns: 1fr 1fr 1.2fr auto; align-items: end; padding: 1rem 1.1rem; }
	.nic-search--bar .btn { width: auto; padding-inline: 2rem; }
}

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section--soft { background: var(--soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.section-head--center { display: block; text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 2.5rem; }

/* Category grid ---------------------------------------------------------- */
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.cat-card { display: flex; flex-direction: column; gap: .55rem; height: 100%; padding: 1.15rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat-card:hover { border-color: var(--amber-500); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); text-decoration: none; }
.cat-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 12px; background: var(--navy-800); color: var(--amber-500); }
.cat-card:hover .cat-card__icon { background: var(--amber-500); color: var(--navy-900); }
.cat-card__name { font-weight: 700; line-height: 1.3; font-size: 1rem; }
.cat-card__meta { font-size: .82rem; color: var(--muted); margin-top: auto; }

/* Steps ------------------------------------------------------------------ */
.steps { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 2rem 1.6rem 1.6rem; box-shadow: var(--shadow-sm); }
.step__num { position: absolute; top: 1.4rem; right: 1.5rem; font-size: 2.8rem; font-weight: 800; color: #e7ebf1; line-height: 1; }
.step__icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 14px; background: var(--amber-50); color: var(--amber-600); margin-bottom: 1rem; border: 1px solid #f7d79b; }
.step h3 { margin-bottom: .4rem; }
.step p { margin: 0; color: var(--muted); }

/* Trade cards ------------------------------------------------------------ */
.trade-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .trade-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trade-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.trade-card { display: flex; flex-direction: column; gap: .75rem; padding: 1.35rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); transition: box-shadow .15s, border-color .15s; }
.trade-card:hover { box-shadow: var(--shadow); border-color: #cfd7e2; }
.trade-card--featured { border-color: #f2c36e; box-shadow: 0 0 0 3px var(--amber-50), var(--shadow-sm); }
.trade-card__head { display: flex; gap: .9rem; align-items: center; }
.trade-card__logo { flex: none; width: 60px; height: 60px; border-radius: 12px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.trade-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.logo-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: var(--navy-800); color: var(--amber-500); font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; }
.trade-card__title { font-size: 1.1rem; margin: 0 0 .15rem; }
.trade-card__title a { color: var(--ink); text-decoration: none; }
.trade-card__title a:hover { color: var(--navy-600); text-decoration: underline; }
.trade-card__cats { margin: 0; font-size: .86rem; color: var(--muted); font-weight: 600; }
.trade-card__badges { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; }
.trade-card__excerpt { margin: 0; font-size: .95rem; color: var(--text); }
.trade-card__areas { display: flex; gap: .35rem; align-items: flex-start; margin: auto 0 0; font-size: .86rem; color: var(--muted); }
.trade-card__areas .icon { color: var(--amber-600); margin-top: .15rem; }
.results-count { font-weight: 650; color: var(--muted); margin-bottom: 1.25rem; }

/* Empty / founding ------------------------------------------------------- */
.empty-state { text-align: center; max-width: 680px; margin: 0 auto; padding: 2.5rem 1.5rem; background: var(--white); border: 1.5px dashed #c9d2de; border-radius: 16px; }
.empty-state__icon { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; background: var(--amber-50); color: var(--amber-600); margin-bottom: 1rem; }
.empty-state .btn-row { justify-content: center; margin: 0; }
.founding { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 18px; background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: #c9d4e2; position: relative; overflow: hidden; }
.founding::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 165, 36, .25), transparent 70%); }
.founding h3 { color: var(--white); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); margin: .8rem 0 .6rem; }
.founding p:last-child { margin: 0; }
.founding__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; align-content: center; position: relative; z-index: 1; }
.founding__list li { display: flex; gap: .6rem; align-items: center; padding: .85rem 1rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; color: var(--white); font-weight: 600; }
.founding__list .icon { color: var(--amber-500); }
@media (min-width: 900px) { .founding { grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; } }

/* Split audience cards --------------------------------------------------- */
.section--split { padding-top: 0; }
.split { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.split__card { padding: clamp(1.6rem, 4vw, 2.5rem); border-radius: 18px; }
.split__card--light { background: var(--amber-50); border: 1px solid #f6dcaa; }
.split__card--dark { background: var(--navy-900); color: #c9d4e2; }
.split__card--dark h2 { color: var(--white); }
.split__icon { display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 14px; background: var(--navy-800); color: var(--amber-500); margin-bottom: 1rem; }
.split__card--dark .split__icon { background: var(--amber-500); color: var(--navy-900); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--amber-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230b1726' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Areas ------------------------------------------------------------------ */
.area-grid { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: 1fr; gap: .6rem; }
@media (min-width: 560px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .area-grid { grid-template-columns: repeat(4, 1fr); } }
.area-grid a { display: flex; align-items: center; gap: .6rem; height: 100%; padding: .9rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: .97rem; transition: border-color .15s, box-shadow .15s; }
.area-grid a:hover { border-color: var(--amber-500); box-shadow: var(--shadow-sm); }
.area-grid .icon { color: var(--amber-600); }
.area-grid__meta { margin-left: auto; font-size: .8rem; color: var(--muted); font-weight: 500; }
.area-list .area-grid a { flex-wrap: wrap; }

/* Planning band ---------------------------------------------------------- */
.section--planning { padding: clamp(2rem, 5vw, 3rem) 0; }
.planning { display: grid; gap: 1.25rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.25rem); border: 1px solid var(--line); border-left: 6px solid var(--amber-500); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-sm); }
.planning__icon { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 16px; background: var(--navy-800); color: var(--amber-500); }
.planning h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.planning p { margin: 0; }
.planning__ctas { margin: 0; }
@media (min-width: 900px) { .planning { grid-template-columns: auto 1fr auto; gap: 1.75rem; } }

/* Posts ------------------------------------------------------------------ */
.post-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.post-card__link { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.post-card__link:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.post-card__media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.post-card__media::after { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 28px 28px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.post-card__placeholder { color: var(--amber-500); position: relative; z-index: 1; }
.post-card__body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-600); margin: 0 0 .5rem; }
.post-card__title { font-size: 1.15rem; margin: 0 0 .5rem; }
.post-card__excerpt { color: var(--muted); font-size: .95rem; }
.post-card .link-arrow { margin-top: auto; }

/* Home content / entry content ------------------------------------------ */
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { margin-top: 2rem; }
.entry-content h3 { margin-top: 1.6rem; }
.entry-content > :first-child { margin-top: 0; }
.entry-content li { margin-bottom: .4rem; }
.entry-content blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--amber-500); background: var(--soft); border-radius: 0 10px 10px 0; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; }
.wp-block-details, details.nic-faq { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin: 0 0 .7rem; padding: 0; overflow: hidden; }
.wp-block-details summary, details.nic-faq summary { cursor: pointer; list-style: none; position: relative; padding: 1.05rem 3rem 1.05rem 1.2rem; font-weight: 700; color: var(--ink); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2317304f' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); background-color: var(--amber-500); }
.wp-block-details[open] summary { border-bottom: 1px solid var(--line); }
.wp-block-details > :not(summary) { padding: 0 1.2rem; }
.wp-block-details > p:first-of-type { padding-top: 1rem; }
.home-content { font-size: 1.05rem; }

/* Page hero -------------------------------------------------------------- */
.page-hero { background: var(--navy-900); color: #c6d1df; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 90% 0%, rgba(245, 165, 36, .16), transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero__title { color: var(--white); margin-bottom: .5rem; max-width: 26ch; }
.page-hero__intro { max-width: 760px; font-size: 1.08rem; color: #c6d1df; }
.page-hero__intro a { color: var(--amber-400); }
.page-hero__intro p:last-child { margin-bottom: 0; }
.page-hero__search { margin-top: 1.75rem; }
.page-hero .eyebrow { color: var(--amber-400); }
.page-hero .meta { display: flex; align-items: center; gap: .4rem; font-size: .92rem; margin: 0; }
.breadcrumbs ol { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .86rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .25rem; color: #9fb0c4; }
.breadcrumbs li + li::before { content: "/"; color: #5f7590; margin-right: .2rem; }
.breadcrumbs a { color: #d6deea; text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--amber-400); }

/* Layout with aside ------------------------------------------------------ */
.layout-aside { display: grid; gap: 2rem; }
@media (min-width: 1000px) {
	.layout-aside { grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; align-items: start; }
	.aside-panel--sticky { position: sticky; top: calc(var(--header-h) + 1.25rem); }
}
.aside-panel { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; }
.aside-panel h2 { font-size: 1.25rem; }
.aside-panel__note { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.aside-panel__note p { margin: 0; }
.aside-panel__note .icon { color: var(--success); flex: none; }
.contact-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .6rem; }

/* Trade profile ---------------------------------------------------------- */
.profile-head { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.profile-head__logo { width: 96px; height: 96px; border-radius: 18px; overflow: hidden; background: var(--white); flex: none; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.profile-head__logo img { width: 100%; height: 100%; object-fit: contain; }
.profile-head__logo .logo-placeholder { font-size: 2rem; }
.profile-head__cats { margin: 0 0 .5rem; font-weight: 600; }
.profile-head__cats a { color: var(--amber-400); text-decoration: none; }
.profile-head__cats a:hover { text-decoration: underline; }
.profile-head__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: 0; }
.profile-head__meta > span { display: inline-flex; align-items: center; gap: .3rem; }
.profile-section { padding-bottom: 1.75rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.profile-section:last-child { border-bottom: 0; }
.profile-section h2 { font-size: 1.35rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-block; padding: .4rem .85rem; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--navy-700); font-weight: 600; font-size: .9rem; text-decoration: none; }
.chips a:hover { border-color: var(--amber-500); }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }

/* Landing extras --------------------------------------------------------- */
.landing-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .landing-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }
.tips-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--amber-500); border-radius: 16px; padding: 1.75rem; box-shadow: var(--shadow-sm); }
.tips-card h2 { font-size: 1.35rem; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
@media (min-width: 600px) { .link-list { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
.link-list a { display: block; padding: .5rem 0; border-bottom: 1px solid var(--line); color: var(--navy-700); text-decoration: none; font-weight: 550; font-size: .95rem; }
.link-list a:hover { color: var(--navy-900); text-decoration: underline; }
.cat-links { columns: 2 220px; }

/* Article ---------------------------------------------------------------- */
.page-hero--article .page-hero__title { max-width: none; }
.article-image { margin-top: -1rem; }
.article-image img { border-radius: 14px; }
.article-cta { margin-top: 3rem; padding: 1.75rem; border-radius: 16px; background: var(--navy-900); color: #c9d4e2; }
.article-cta h2 { color: var(--white); margin-top: 0 !important; font-size: 1.4rem; }

/* CTA band --------------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-950)); color: #c6d1df; padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 4px solid var(--amber-500); }
.cta-band__inner { display: grid; gap: 1.25rem; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: .35rem; }
.cta-band p { margin: 0; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 2rem; } }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: #9fb0c4; font-size: .95rem; }
.site-footer__grid { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; } .site-footer__brand { grid-column: auto; } }
.site-footer__brand p { margin: 1rem 0; max-width: 32ch; }
.footer-col__title { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-col ul, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #c9d4e2; text-decoration: none; }
.site-footer a:hover { color: var(--amber-400); text-decoration: underline; }
.footer-contact li { display: flex; gap: .5rem; align-items: center; }
.footer-contact .icon { color: var(--amber-500); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; justify-content: space-between; padding-block: 1.25rem; font-size: .86rem; }
.site-footer__bottom p { margin: 0; }
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }

/* Forms ------------------------------------------------------------------ */
.nic-form-wrap { margin: 1.5rem 0 2rem; }
.nic-form { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.aside-panel .nic-form { padding: 0; border: 0; box-shadow: none; background: none; }
.nic-form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .nic-form-grid { grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; } .nic-form-grid--compact { grid-template-columns: 1fr; } }
.nic-form-step, .nic-field--wide, .nic-field--checkbox, .nic-field--checkboxes, .nic-field--textarea, .nic-field--captcha { grid-column: 1 / -1; }
.nic-form-step { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; margin: .5rem 0 0; padding-top: .75rem; border-top: 1px solid var(--line); }
.nic-form-step:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.nic-form-step span { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy-800); color: var(--amber-500); font-size: .85rem; }
.nic-field label, .nic-field legend { display: block; font-weight: 650; color: var(--ink); margin-bottom: .35rem; font-size: .95rem; }
.nic-field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.nic-req { color: var(--danger); }
.nic-opt { color: var(--muted); font-weight: 500; font-size: .85rem; }
textarea.nic-input { min-height: 140px; resize: vertical; }
.nic-input--short { max-width: 120px; }
.nic-help { margin: .35rem 0 0; font-size: .85rem; color: var(--muted); }
.nic-error { margin: .35rem 0 0; font-size: .88rem; color: var(--danger); font-weight: 600; }
.has-error .nic-input { border-color: var(--danger); }
.nic-check { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 500 !important; cursor: pointer; line-height: 1.45; }
.nic-check input { width: 20px; height: 20px; margin: .1rem 0 0; flex: none; accent-color: var(--navy-800); }
.nic-checkgrid { display: grid; gap: .5rem 1rem; max-height: 320px; overflow-y: auto; padding: .85rem; border: 1.5px solid #cdd5e0; border-radius: 10px; }
@media (min-width: 640px) { .nic-checkgrid { grid-template-columns: 1fr 1fr; } }
.nic-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nic-form-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin: 1.5rem 0 0; }
.nic-small { font-size: .85rem; color: var(--muted); max-width: 40ch; }
.nic-notice { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.25rem; font-size: .98rem; }
.nic-notice--success { background: #e8f5ee; border: 1px solid #bfe3cf; color: #0d4f30; }
.nic-notice--error { background: #fdecea; border: 1px solid #f5c2bd; color: #8a1c12; }
.search-form { display: flex; gap: .5rem; max-width: 520px; margin: 1rem auto 0; }

/* Pagination ------------------------------------------------------------- */
.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }

/* Print ------------------------------------------------------------------ */
@media print { .site-header, .site-footer, .cta-band, .nav-toggle, .nic-form-wrap { display: none !important; } .page-hero, .hero { background: none; color: #000; } }
