/* ==========================================================================
   Link Asia Manpower Solutions Corp. — site styles
   Single stylesheet. No frameworks, no build step.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #070b18;
  --navy-800: #0a101f;
  --navy-700: #101a33;
  --navy-600: #1a2748;
  --navy-500: #263457;

  --gold-500: #dba73f;
  --gold-text: #9e7a24;
  --gold-400: #e5b955;
  --gold-300: #efd28a;
  --gold-050: #faf3e0;

  --ink-900: #101828;
  --ink-700: #344054;
  --ink-500: #667085;
  --ink-300: #98a2b3;

  --paper: #f8f7f3;
  --paper-alt: #ffffff;
  --line: #e7e3d8;
  --line-dark: rgba(255, 255, 255, 0.12);

  --serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --radius: 14px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.1);
  --shadow-md: 0 10px 30px rgba(7, 13, 24, 0.10);
  --shadow-lg: 0 24px 60px rgba(7, 13, 24, 0.18);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--navy-800); color: rgba(255,255,255,0.78); }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 14px;
}
.section--dark .eyebrow { color: var(--gold-400); }

.lede { font-size: 1.08rem; color: var(--ink-500); max-width: 62ch; }
.section--dark .lede { color: rgba(255,255,255,0.66); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); }
.btn--ghost { border-color: rgba(255,255,255,0.28); color: #fff; }
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-300); }
.btn--outline { border-color: var(--line); color: var(--ink-900); background: #fff; }
.btn--outline:hover { border-color: var(--gold-500); color: var(--gold-500); }
.btn--wa { background: #25d366; color: #05330f; }
.btn--wa:hover { background: #38e07a; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 11, 24, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand__logo { height: 46px; width: auto; flex: none; }
.brand__sub {
  display: block;
  color: var(--gold-300);
  font-size: 0.68rem;
  line-height: 1.35;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 600;
  padding-left: 13px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
@media (max-width: 480px) {
  .brand__logo { height: 38px; }
  .brand__sub { font-size: 0.6rem; padding-left: 10px; }
}

.nav__links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.nav__links a:hover { color: #fff; border-color: var(--gold-500); }
.nav__links a[aria-current="page"] { color: var(--gold-300); border-color: var(--gold-500); }

.nav__toggle {
  display: none;
  background: none; border: 1px solid var(--line-dark); border-radius: 8px;
  width: 44px; height: 40px; cursor: pointer; color: #fff;
}
.nav__toggle span { display: block; width: 20px; height: 1.6px; background: #fff; margin: 4px auto; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
.nav[data-open="true"] .nav__toggle span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav[data-open="true"] .nav__toggle span:nth-child(2) { opacity: 0; }
.nav[data-open="true"] .nav__toggle span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy-900); border-bottom: 1px solid var(--line-dark);
    padding: 8px 22px 18px; display: none;
  }
  .nav[data-open="true"] .nav__links { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-dark); width: 100%; }
  .nav__cta { display: none; }
  .nav[data-open="true"] .nav__cta { display: inline-flex; margin-top: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 520px at 78% 12%, rgba(219,167,63,0.16), transparent 62%),
    linear-gradient(168deg, var(--navy-900) 0%, var(--navy-700) 58%, var(--navy-800) 100%);
  color: #fff;
  overflow: hidden;
  padding: clamp(64px, 9vw, 118px) 0 clamp(52px, 7vw, 92px);
}
.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(760px 420px at 72% 30%, #000, transparent 76%);
  pointer-events: none;
}
/* Decorative deployment-arc motif, right side of dark heads */
.hero::before,
.pagehead::before {
  content: "";
  position: absolute;
  right: -130px;
  top: 50%;
  width: 560px;
  height: 560px;
  margin-top: -280px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%,
      rgba(219, 167, 63, 0.30) 0 1px,
      transparent 1px 68px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 76%);
  pointer-events: none;
  z-index: 0;
}
.hero::before { opacity: 0.85; }
.pagehead::before { opacity: 0.7; }
@media (max-width: 1080px) {
  .hero::before, .pagehead::before { display: none; }
}
/* When a photo/graphic is present it carries its own motif — don't double up */
.hero--photo::before, .pagehead--photo::before { display: none; }

.hero > * { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero__intro { color: rgba(255,255,255,0.74); font-size: 1.09rem; max-width: 60ch; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(219,167,63,0.42);
  background: rgba(219,167,63,0.10);
  color: var(--gold-300);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
  margin-bottom: 22px;
  max-width: 100%;
  flex-wrap: wrap;
}
@media (max-width: 420px) { .badge { font-size: 0.72rem; padding: 6px 12px; } }
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); flex: none; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 26px 30px;
  margin-top: clamp(38px, 5vw, 56px);
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
  max-width: 820px;
}
.stat__num {
  font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  font-weight: 700; color: #fff; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat__num span { color: var(--gold-400); }
.stat__label { font-size: 0.82rem; color: rgba(255,255,255,0.6); letter-spacing: 0.02em; }

/* ---------- Page hero (inner pages) ---------- */
.pagehead {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 400px at 82% 0%, rgba(219,167,63,0.15), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: clamp(52px, 7vw, 88px) 0 clamp(44px, 6vw, 72px);
}
.pagehead > * { position: relative; z-index: 1; }
.pagehead h1 { color: #fff; max-width: 18ch; }
.pagehead p { color: rgba(255,255,255,0.72); max-width: 62ch; font-size: 1.06rem; }
.pagehead__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Trust strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: -34px;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow-md);
}
.trust__item { background: #fff; padding: 22px 24px; }
.trust__item strong { display: block; font-family: var(--serif); font-size: 1.16rem; color: var(--ink-900); }
.trust__item span { font-size: 0.86rem; color: var(--ink-500); }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.95rem; color: var(--ink-500); }
.card__kicker { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 8px; }

.card--dark { background: var(--navy-700); border-color: rgba(255,255,255,0.09); }
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(255,255,255,0.66); }
.card--dark:hover { border-color: rgba(219,167,63,0.5); }

.icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--gold-050); color: var(--gold-500);
  display: grid; place-items: center; margin-bottom: 16px;
  border: 1px solid rgba(219,167,63,0.24);
}
.card--dark .icon { background: rgba(219,167,63,0.14); border-color: rgba(219,167,63,0.3); color: var(--gold-300); }
.icon svg { width: 21px; height: 21px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 20px; }
.checks li { position: relative; padding-left: 28px; font-size: 0.94rem; color: var(--ink-700); }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 5px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e7a24' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5.2 5.2L20 6.8'/%3E%3C/svg%3E");
}
.section--dark .checks li { color: rgba(255,255,255,0.8); }

.frame {
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  border: 1px solid rgba(255,255,255,0.08);
  padding: 34px 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.frame::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(219,167,63,0.35) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.45;
  mask-image: linear-gradient(200deg, #000, transparent 72%);
}
.frame__year { position: relative; font-family: var(--serif); font-size: 2.9rem; color: var(--gold-400); line-height: 1; }
.frame__note { position: relative; color: rgba(255,255,255,0.72); font-size: 0.92rem; margin: 8px 0 0; }

/* ---------- Corridor list ---------- */
.corridors { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.corridor {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 24px 22px;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.corridor:hover { border-color: rgba(219,167,63,0.5); background: rgba(219,167,63,0.06); }
.corridor__tag { font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold-400); font-weight: 600; }
.corridor h3 { color: #fff; margin: 10px 0 8px; font-size: 1.25rem; }
.corridor p { color: rgba(255,255,255,0.62); font-size: 0.92rem; margin: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 34px; }
.step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--serif); font-size: 1.5rem; color: var(--gold-text);
  border: 1px solid rgba(219,167,63,0.35); border-radius: 12px;
  width: 58px; height: 58px; display: grid; place-items: center;
  background: var(--gold-050);
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-500); font-size: 0.96rem; }
@media (max-width: 620px) { .step { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Accordion ---------- */
.faq { border-top: 1px solid var(--line); margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 0;
  position: relative;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 8px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--gold-500); }
.faq .faq__body { padding: 0 20px 22px 0; color: var(--ink-500); font-size: 0.97rem; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- Form ---------- */
.formcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 17px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--ink-900); margin-bottom: 6px; }
.field .req { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink-900);
  background: #fff;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(219,167,63,0.16);
}
.field textarea { min-height: 118px; resize: vertical; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .field__row { grid-template-columns: 1fr; } }
.form__note { font-size: 0.82rem; color: var(--ink-500); margin-top: 14px; }
.form__section {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-text); margin: 26px 0 14px; padding-top: 18px; border-top: 1px solid var(--line);
}
.form__section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.form__hint { font-size: 0.84rem; color: var(--ink-500); margin: -2px 0 10px; }

/* Category checklist with per-category headcount */
.catgrid { display: grid; gap: 8px; }
.cat {
  display: flex; align-items: center; gap: 11px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 12px; cursor: pointer; font-size: 0.9rem; color: var(--ink-700);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.cat:hover { border-color: var(--gold-400); }
.cat:has(input[type="checkbox"]:checked) { border-color: var(--gold-500); background: var(--gold-050); }
.cat input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--gold-500); flex: none; margin: 0; }
.cat span { flex: 1; }
.cat .cat__count { width: 76px; padding: 7px 9px; font-size: 0.88rem; flex: none; }
.form__status { margin-top: 14px; font-size: 0.9rem; font-weight: 600; display: none; }
.form__status[data-state="ok"] { display: block; color: #067647; }
.form__status[data-state="err"] { display: block; color: #b42318; }

/* ---------- Contact tiles ---------- */
.contactgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 18px; }
.contacttile {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; background: #fff;
}
.contacttile__label { font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.contacttile a { color: var(--ink-900); font-weight: 600; text-decoration: none; word-break: break-word; }
.contacttile a:hover { color: var(--gold-500); }
.contacttile span { display: block; font-size: 0.85rem; color: var(--ink-500); margin-top: 4px; }

/* ---------- Map ---------- */
.mapframe {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-alt);
  box-shadow: var(--shadow-sm);
}
.mapframe iframe { display: block; width: 100%; height: 380px; border: 0; }
.mapframe__fallback { margin: 0; padding: 10px 16px; font-size: 0.84rem; color: var(--ink-500); border-top: 1px solid var(--line); }
.mapframe__fallback a { color: var(--gold-text); font-weight: 600; }

/* Dark section variant of the form card */
.section--dark .formcard { border-color: rgba(255,255,255,0.1); }

/* ---------- Notice ---------- */
.notice {
  border-left: 3px solid var(--gold-500);
  background: var(--gold-050);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  font-size: 0.95rem;
  color: #6b4f0a;
}
.notice strong { color: #573f05; }
.notice--warn { border-color: #d92d20; background: #fef3f2; color: #912018; }
.notice--warn strong { color: #7a271a; }

/* ---------- Article cards ---------- */
.post {
  text-decoration: none;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; height: 100%;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post__top { height: 6px; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); }
.post__img {
  position: relative;
  height: 172px;
  background-color: var(--navy-800);
  background-image: var(--photo, none), linear-gradient(150deg, var(--navy-700), var(--navy-900));
  background-size: cover, auto;
  background-position: center;
}
.post__body { padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__meta { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.post h3 { font-size: 1.16rem; margin: 0; transition: color 0.16s var(--ease); }
.post:hover h3 { color: var(--gold-500); }
.post p { font-size: 0.93rem; color: var(--ink-500); margin: 0; }
.post__foot { margin-top: auto; padding-top: 12px; font-size: 0.82rem; color: var(--ink-300); }

/* ---------- Article ---------- */
.article { max-width: 760px; margin-inline: auto; }

.backlink { color: var(--gold-text); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.backlink:hover { text-decoration: underline; }

.artphoto {
  margin: 0 0 26px;
  border-radius: var(--radius);
  min-height: clamp(220px, 38vw, 400px);
  background-color: var(--navy-800);
  background-image: var(--photo, none), linear-gradient(150deg, var(--navy-700), var(--navy-900));
  background-size: cover, auto;
  background-position: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.article__metarow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.article__minor { font-size: 0.84rem; color: var(--ink-300); }
.article__title { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 30px; }

.chip {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  background: var(--paper-alt);
  color: var(--ink-500);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 0.78rem; font-weight: 600;
}
.chip--cat { background: var(--gold-050); border-color: rgba(219,167,63,0.5); color: var(--gold-text); }

.exec {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin: 0 0 34px;
}
.exec__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 12px; }
.exec ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.exec li { font-size: 0.96rem; color: var(--ink-700); }

.cmptable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 6px 0 28px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.cmptable th, .cmptable td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmptable thead th { background: var(--navy-800); color: #fff; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.cmptable tbody td:first-child { font-weight: 600; color: var(--ink-900); white-space: nowrap; }
.cmptable tbody td:last-child { background: var(--gold-050); }
.cmptable tbody tr:last-child td { border-bottom: 0; }
.article__meta { font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 26px; }
.article__lead { font-size: 1.16rem; color: var(--ink-900); line-height: 1.6; }
.article h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 2em; }
.article p { line-height: 1.72; }

/* Content gate — the article fades into the offer rather than stopping dead */
.gate {
  position: relative;
  margin-top: -90px;
  padding: 118px 30px 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--paper) 62px, var(--gold-050) 62px);
  border-radius: var(--radius);
  text-align: center;
}
.gate::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 62px;
  border-top: 1px solid rgba(219,167,63,0.35);
}
.gate h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 12px; }
.gate p { color: var(--ink-500); max-width: 56ch; margin-inline: auto; font-size: 0.98rem; }
.gate__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.gate__note { font-size: 0.84rem !important; color: var(--ink-300) !important; margin-top: 16px !important; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 22px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7,13,24,0.72); backdrop-filter: blur(3px); }
.modal__panel {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 34px 32px 28px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  animation: modal-in 0.28s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal__panel { animation: none; } }
.modal__panel h3 { font-size: 1.5rem; margin-bottom: 10px; }
.modal__panel p { color: var(--ink-500); font-size: 0.97rem; }
.modal__x {
  position: absolute; top: 10px; right: 12px;
  background: none; border: 0; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--ink-300);
  width: 38px; height: 38px; border-radius: 8px;
}
.modal__x:hover { color: var(--ink-900); background: var(--paper-alt); }

/* ---------- Featured article ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.feature:hover { box-shadow: var(--shadow-md); border-color: var(--gold-300); transform: translateY(-2px); }
.feature__body { padding: clamp(26px, 4vw, 42px); }
.feature__body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; transition: color 0.16s var(--ease); }
.feature:hover .feature__body h2 { color: var(--gold-500); }
.feature__body p { color: var(--ink-500); margin-bottom: 18px; }
.feature__link { color: var(--gold-text); font-weight: 600; font-size: 0.94rem; }
.feature__side {
  min-height: 230px;
  background-color: var(--navy-800);
  background-image: var(--photo, none), linear-gradient(150deg, var(--navy-700), var(--navy-900));
  background-size: cover, auto;
  background-position: center;
}
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature__side { order: -1; min-height: 170px; } }

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(140deg, var(--navy-900), var(--navy-600));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 52px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
}
.cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta p { color: rgba(255,255,255,0.7); margin: 0; font-size: 0.98rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.62); padding: clamp(48px, 6vw, 72px) 0 30px; font-size: 0.93rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: rgba(255,255,255,0.72); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__license {
  display: inline-block; margin-top: 16px;
  border: 1px solid rgba(219,167,63,0.35); color: var(--gold-300);
  border-radius: 7px; padding: 6px 12px; font-size: 0.78rem; font-weight: 600;
}
.footer__bottom {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 0.84rem; color: rgba(255,255,255,0.45);
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #04310e;
  border-radius: 999px; padding: 12px 18px 12px 14px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform 0.18s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; border-radius: 50%; } }

/* ---------- Photo slots -------------------------------------------------
   Each slot keeps a gradient underneath, so a missing image degrades to a
   clean panel rather than a broken box. Drop the file in and it appears.
   ---------------------------------------------------------------------- */
.hero, .pagehead { background-color: var(--navy-900); }

.hero--photo {
  background-image:
    linear-gradient(96deg, rgba(7,13,24,0.97) 0%, rgba(7,13,24,0.88) 42%, rgba(7,13,24,0.55) 72%, rgba(7,13,24,0.42) 100%),
    var(--photo, none),
    radial-gradient(1200px 520px at 78% 12%, rgba(219,167,63,0.16), transparent 62%),
    linear-gradient(168deg, var(--navy-900) 0%, var(--navy-700) 58%, var(--navy-800) 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center right, center, center;
  background-repeat: no-repeat;
}
.pagehead--photo {
  background-image:
    linear-gradient(96deg, rgba(7,13,24,0.96) 0%, rgba(7,13,24,0.86) 46%, rgba(7,13,24,0.5) 78%, rgba(7,13,24,0.4) 100%),
    var(--photo, none),
    radial-gradient(900px 400px at 82% 0%, rgba(219,167,63,0.15), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  background-size: auto, cover, auto, auto;
  background-position: center, center right, center, center;
  background-repeat: no-repeat;
}

.photo {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 340px;
  background-color: var(--navy-800);
  background-image:
    var(--photo, none),
    linear-gradient(150deg, var(--navy-700), var(--navy-900));
  background-size: cover, auto;
  background-position: center, center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-end;
}
.photo__caption {
  width: 100%;
  padding: 20px 22px;
  background: linear-gradient(0deg, rgba(7,13,24,0.92), rgba(7,13,24,0));
  color: #fff;
}
.photo__caption strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--gold-400); }
.photo__caption span { font-size: 0.88rem; color: rgba(255,255,255,0.72); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold-500); color: var(--navy-900); padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; font-weight: 600;
}
.skip:focus { left: 0; }

/* Coming-soon badge on articles not yet published */
.post--soon .post__img::after {
  content: "Coming soon";
  position: absolute; top: 12px; left: 12px;
  background: rgba(7, 12, 29, 0.82);
  color: var(--gold-300);
  border: 1px solid rgba(219, 167, 63, 0.45);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
}
