/* Upscale Malta — design system
   Palette: midnight navy, champagne gold, warm white, slate grey. */

:root {
  --navy: #111214;
  --navy-2: #1C1F23;
  --navy-3: #2A2E34;
  --gold: #E0313F;
  --gold-dark: #CF142B;      /* gold text on light backgrounds (AA) */
  --gold-soft: #F2C4CB;
  --warm: #F7F7F5;
  --paper: #FFFFFF;
  --slate: #6B7079;
  --slate-dark: #4B5058;     /* body secondary text on light (AA) */
  --line: #E2E2E0;
  --line-strong: #C9C9C6;
  --focus: #CF142B;
  --alert: #8A2F2F;
  --ok: #2F5E45;

  --font: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(17,18,20, 0.06), 0 8px 24px rgba(17,18,20, 0.06);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
}

*, *::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 { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--warm);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1.1em; color: var(--slate-dark); }
p.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--slate-dark); max-width: 60ch; }
ul { padding-left: 1.2em; margin: 0 0 1.1em; color: var(--slate-dark); }
li { margin-bottom: 0.4em; }
strong { color: var(--navy); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.on-dark .eyebrow { color: var(--gold); }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--navy { background: var(--navy); color: var(--warm); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--warm); }
.section--navy p, .section--navy li { color: rgba(247,247,245, 0.78); }
.section--paper { background: var(--paper); }
.section--sand { background: #EFEFED; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-bottom: 0; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.gold-rule { width: 56px; height: 2px; background: var(--gold); margin: 0 0 1.5rem; border: 0; }

/* ---------- Header & navigation ---------- */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: var(--warm); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,247,245, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand--reversed img { height: 40px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--navy); text-decoration: none; font-size: 0.92rem; font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav .btn { margin-left: 8px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
  width: 46px; height: 46px; cursor: pointer; color: var(--navy); align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; content: "";
}
.nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--warm); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin: 16px 0 0; border: 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 0.95rem/1 var(--font); letter-spacing: 0.01em;
  padding: 16px 26px; min-height: 50px; border-radius: var(--radius);
  border: 1px solid var(--navy); background: var(--navy); color: var(--warm);
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--navy-3); border-color: var(--navy-3); color: var(--warm); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #FFFFFF; }
.btn--gold:hover { background: #B50F24; border-color: #B50F24; color: #FFFFFF; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--navy); color: var(--warm); border-color: var(--navy); }
.btn--ghost-light { background: transparent; color: var(--warm); border-color: rgba(247,247,245, 0.45); }
.btn--ghost-light:hover { background: var(--warm); color: var(--navy); border-color: var(--warm); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--warm); background: var(--navy); overflow: hidden;
  min-height: min(92vh, 820px); display: flex; align-items: center;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,18,20,0.96) 0%, rgba(17,18,20,0.78) 45%, rgba(17,18,20,0.25) 100%); }
.hero .container { position: relative; padding-block: 120px 96px; }
.hero__content { max-width: 680px; }
.hero h1 { color: var(--warm); margin-bottom: 0.4em; }
.hero h1 span { color: var(--gold); }
.hero p.lead { color: rgba(247,247,245, 0.84); margin-bottom: 2.2rem; }
.hero__meta { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(247,247,245,0.6); }
.hero__meta span::before { content: "— "; color: var(--gold); }

.page-hero { background: var(--navy); color: var(--warm); padding-block: clamp(72px, 10vw, 128px) clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px;
  border: 1px solid rgba(224,49,63,0.18); transform: rotate(45deg); pointer-events: none;
}
.page-hero h1 { color: var(--warm); font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 18ch; }
.page-hero p.lead { color: rgba(247,247,245,0.8); }
.breadcrumb { font-size: 0.82rem; color: rgba(247,247,245,0.6); margin-bottom: 1.4rem; letter-spacing: 0.04em; }
.breadcrumb a { color: rgba(247,247,245,0.8); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; height: 100%;
}
.card p:last-child { margin-bottom: 0; }
.card__num { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; color: var(--gold-dark); margin-bottom: 18px; display: block; }
.card--dark { background: var(--navy-2); border-color: var(--navy-3); }
.card--dark h3 { color: var(--warm); }
.card--dark p { color: rgba(247,247,245,0.75); }
.card--link { text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card--link:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card--link:hover h3 { color: var(--gold-dark); }
.card__more { margin-top: auto; padding-top: 22px; font-size: 0.88rem; font-weight: 600; color: var(--navy); }

.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line); position: relative; margin: 0; color: var(--slate-dark); }
.list-clean li::before { content: ""; position: absolute; left: 0; top: 22px; width: 12px; height: 1px; background: var(--gold); }
.section--navy .list-clean li { border-top-color: rgba(247,247,245,0.14); color: rgba(247,247,245,0.8); }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.figure-panel {
  position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--navy);
}
.figure-panel img { width: 100%; height: 100%; object-fit: cover; }
.figure-panel figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247,247,245,0.85); background: rgba(17,18,20,0.7); padding: 6px 10px; border-radius: 2px; }

/* Stat / highlight strip */
.strip { border-block: 1px solid var(--line); background: var(--paper); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: 28px 24px; border-left: 1px solid var(--line); }
.strip__item:first-child { border-left: 0; }
.strip__item strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.strip__item span { font-size: 0.9rem; color: var(--slate); }
@media (max-width: 860px) { .strip__grid { grid-template-columns: 1fr 1fr; } .strip__item:nth-child(3) { border-left: 0; } .strip__item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .strip__item { border-left: 0; border-top: 1px solid var(--line); } .strip__item:first-child { border-top: 0; } }

/* Six-step process */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.process__step { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line); position: relative; }
.process__step:nth-child(3n+2), .process__step:nth-child(3n+3) { padding-left: 32px; border-left: 1px solid var(--line); }
.process__step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; color: var(--gold-dark); margin-bottom: 18px;
}
.process__step h3 { margin-bottom: 0.5em; }
.process__step p { margin: 0; font-size: 0.97rem; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process__step:nth-child(3n+2) { padding-left: 0; border-left: 0; }
  .process__step:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
  .process__step, .process__step:nth-child(n) { padding: 28px 0; border-left: 0; }
}

/* Category cards */
.category { position: relative; overflow: hidden; }
.category__tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.category ul { margin-top: 12px; }
.category .tag-note { margin-top: auto; padding-top: 20px; font-size: 0.8rem; color: var(--slate); border-top: 1px solid var(--line); }

/* Quote & notes */
.note {
  background: #EFEFED; border-left: 2px solid var(--gold); padding: 20px 24px; border-radius: 0 4px 4px 0;
  font-size: 0.95rem; color: var(--slate-dark);
}
.note strong { color: var(--navy); }
.pull {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.35; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; max-width: 30ch;
}

/* CTA band */
.cta-band { background: var(--navy); color: var(--warm); padding-block: clamp(64px, 8vw, 104px); position: relative; overflow: hidden; }
.cta-band h2 { color: var(--warm); max-width: 20ch; }
.cta-band p { color: rgba(247,247,245,0.78); max-width: 56ch; }
.cta-band .split { align-items: end; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.field .req { color: var(--gold-dark); margin-left: 2px; }
.field .hint { font-size: 0.82rem; color: var(--slate); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--font); color: var(--navy); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 14px 16px; min-height: 52px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(224,49,63,0.35); }
.field[aria-invalid="true"] input, .field[aria-invalid="true"] select, .field[aria-invalid="true"] textarea { border-color: var(--alert); }
.field .error { font-size: 0.84rem; color: var(--alert); display: none; }
.field[aria-invalid="true"] .error { display: block; }
.choice { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--slate-dark); }
.choice input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.choice a { color: var(--navy); }
.choice.is-invalid { color: var(--alert); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 18px 20px; border-radius: var(--radius); font-size: 0.97rem; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #E7EFE9; color: var(--ok); border: 1px solid #BFD5C6; }
.form-status--error { background: #F6E9E9; color: var(--alert); border: 1px solid #E5C4C4; }
.form-status--info { background: #EFEFED; color: var(--navy); border: 1px solid var(--line); }
.form-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.form-panel__head { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.form-panel__head h2, .form-panel__head h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-panel__head p { margin: 0; font-size: 0.95rem; }
.form-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 22px; }
.form-fieldset legend { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px; padding: 0; }

/* ---------- Contact blocks ---------- */
.contact-card { display: grid; gap: 28px; }
.contact-item span { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.contact-item a, .contact-item p { font-size: 1.05rem; color: var(--navy); margin: 0; text-decoration: none; }
.contact-item a:hover { color: var(--gold-dark); }
.section--navy .contact-item span { color: var(--gold); }
.section--navy .contact-item a, .section--navy .contact-item p { color: var(--warm); }

/* Founder block */
.portrait-placeholder {
  aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--navy-2), var(--navy)); border-radius: 6px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 24px; color: rgba(247,247,245,0.7);
}
.portrait-placeholder::before { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(224,49,63,0.35); border-radius: 2px; }
.portrait-placeholder span { position: relative; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.signature { font-weight: 700; font-size: 1.1rem; color: var(--navy); margin: 24px 0 0; }
.signature small { display: block; font-weight: 500; color: var(--slate); font-size: 0.92rem; margin-top: 4px; }

/* Timeline (about) */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-strong); }
.timeline li { position: relative; padding: 0 0 36px 32px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); }
.timeline li:last-child { padding-bottom: 0; }
.timeline strong { display: block; color: var(--navy); margin-bottom: 4px; }
.timeline p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(247,247,245,0.72); padding-top: clamp(56px, 7vw, 88px); font-size: 0.93rem; }
.site-footer a { color: rgba(247,247,245,0.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-grid h4 { color: var(--gold); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid p { color: rgba(247,247,245,0.66); font-size: 0.93rem; margin-bottom: 14px; }
.footer-brand img { height: 42px; width: auto; margin-bottom: 20px; }
.footer-bottom { border-top: 1px solid rgba(247,247,245,0.12); padding-block: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.84rem; color: rgba(247,247,245,0.55); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 680px; margin-inline: auto;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 16px 48px rgba(17,18,20,0.22);
  padding: 22px 24px; display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: 8px; }
.cookie-banner p { font-size: 0.9rem; margin-bottom: 16px; }
.cookie-banner .btn-row { gap: 10px; }
.cookie-banner .btn { min-height: 44px; padding: 10px 18px; font-size: 0.88rem; }
.cookie-prefs { display: none; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.cookie-prefs.is-open { display: block; }
.cookie-prefs label { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; margin-bottom: 12px; color: var(--navy); }
.cookie-prefs input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); }
.cookie-prefs small { display: block; color: var(--slate); }

/* ---------- Legal drafts ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.4em; padding-top: 0.4em; border-top: 1px solid var(--line); }
.legal h2:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.legal p, .legal li { font-size: 0.98rem; }
.draft-banner { background: #EFEFED; border: 1px solid #D6D6D3; color: #3A3D42; padding: 16px 20px; border-radius: 4px; font-size: 0.92rem; margin-bottom: 40px; }
.field-todo { background: #EFEFED; border: 1px dashed #CF142B; padding: 1px 6px; border-radius: 2px; color: #3A3D42; font-weight: 600; white-space: nowrap; }

/* ---------- Admin ---------- */
.admin-body { background: #EFEFED; }
.admin-top { background: var(--navy); color: var(--warm); padding: 18px 0; }
.admin-top .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.admin-top a { color: var(--warm); }
.admin-main { padding-block: 40px 80px; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.admin-toolbar .filters { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-toolbar select, .admin-toolbar input { font: 500 0.92rem var(--font); padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); min-height: 44px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; }
.stat span { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
.stat strong { display: block; font-size: 1.8rem; margin-top: 4px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.table-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow-x: auto; }
table.leads { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 720px; }
table.leads th, table.leads td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.leads th { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); background: #F7F7F5; }
table.leads tr:hover td { background: #F7F7F5; }
table.leads select { font: 500 0.85rem var(--font); padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.pill { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; background: #EFEFED; color: var(--slate-dark); }
.pill--quote { background: #FBE9EB; color: #A90F22; }
.pill--partner { background: #E6E6E4; color: #2A2E34; }
.detail { display: none; }
.detail.is-open { display: table-row; }
.detail td { background: #F7F7F5; }
.detail dl { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; margin: 0; }
.detail dt { font-weight: 700; color: var(--navy); }
.detail dd { margin: 0; color: var(--slate-dark); white-space: pre-wrap; }
.empty { padding: 48px 24px; text-align: center; color: var(--slate); }
.gate { max-width: 460px; margin: 60px auto; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 36px; box-shadow: var(--shadow); }
.mode-banner { background: #EFEFED; border: 1px solid #D6D6D3; color: #3A3D42; padding: 14px 18px; border-radius: 4px; font-size: 0.9rem; margin-bottom: 24px; }

/* ---------- 404 ---------- */
.notfound { min-height: 72vh; display: flex; align-items: center; background: var(--navy); color: var(--warm); }
.notfound h1 { color: var(--warm); font-size: clamp(2.6rem, 7vw, 5rem); }
.notfound .code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); letter-spacing: -0.04em; }
.notfound p { color: rgba(247,247,245,0.78); }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero .container { padding-block: 88px 64px; }
  .hero__media img { object-position: 60% center; }
  .hero__shade { background: linear-gradient(180deg, rgba(17,18,20,0.86) 0%, rgba(17,18,20,0.92) 100%); }
  .btn-row .btn { width: 100%; }
  .page-hero::after { display: none; }
  .brand img { height: 38px; }
}

/* =========================================================
   Premium layer
   Brand: metallic champagne gold drawn from the Upscale Malta emblem.
   Motion is limited to a soft reveal and a header state change.
   ========================================================= */
:root {
  --gold-metal: #CF142B;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Header and logo lockup */
.site-header { background: rgba(247,247,245, 0.96); }
.site-header .container { height: 104px; transition: height .35s var(--ease); }
.brand img { height: 86px; width: auto; transition: height .35s var(--ease); }
.site-header.is-scrolled .container { height: 80px; }
.site-header.is-scrolled .brand img { height: 64px; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(17,18,20, 0.06); }
.nav a { font-size: 0.93rem; letter-spacing: 0.01em; }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { border-bottom-color: transparent; }
@media (max-width: 960px) {
  .site-header .container { height: 84px; }
  .brand img { height: 64px; }
  .site-header.is-scrolled .container { height: 72px; }
  .site-header.is-scrolled .brand img { height: 54px; }
  .nav { inset: 84px 0 auto 0; max-height: calc(100vh - 84px); }
  .nav a:not(.btn)::after { display: none; }
}

/* Eyebrows get a fine gold leader */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .9; }

/* Metallic accent for key words */
.gold-text { color: transparent; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; }
.hero h1 span.gold-text { color: transparent; }

/* Hero */
.hero { min-height: min(94vh, 860px); }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(224,49,63, 0.75) 30%, rgba(224,49,63, 0.75) 70%, transparent);
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -0.035em; line-height: 1.05; }
.hero .lead { font-size: clamp(1.08rem, 1.5vw, 1.2rem); max-width: 52ch; }
.hero__meta span { letter-spacing: 0.12em; }
.hero__shade {
  background:
    linear-gradient(90deg, rgba(17,18,20,0.97) 0%, rgba(17,18,20,0.8) 42%, rgba(17,18,20,0.18) 100%),
    linear-gradient(0deg, rgba(17,18,20,0.7) 0%, rgba(17,18,20,0) 35%);
}
.hero .btn--gold { box-shadow: 0 12px 32px -12px rgba(224,49,63, 0.55); }

/* Buttons: quiet lift on hover */
.btn { letter-spacing: 0.02em; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold-metal); background-size: 200% 100%; background-position: 0% 50%; border-color: transparent; color: #FFFFFF; transition: background-position .6s var(--ease), transform .2s; }
.btn--gold:hover { background: #B50F24; border-color: transparent; color: #FFFFFF; }

/* Cards: gold hairline rises on hover */
.card { position: relative; overflow: hidden; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-metal);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.card:hover { border-color: #D6D6D3; box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card--dark::before { display: none; }
.card .card__num { color: var(--gold-dark); }

/* Sections: a little more air and tighter headings */
.section-head h2 { letter-spacing: -0.025em; }
h2 { letter-spacing: -0.025em; }
.pull { font-family: var(--font); font-weight: 600; }

/* Process: flat, hairline-led */
.process--flat { list-style: none; padding-left: 0; margin: 0; }
.process__step { transition: background .4s var(--ease); }
.process__step:hover { background: linear-gradient(180deg, rgba(224,49,63,0.07), rgba(224,49,63,0)); }
.process__step::before { font-family: var(--font); }
.process-more { margin-top: 32px; margin-bottom: 0; }

/* Lists */
.list-cols { columns: 2; column-gap: 40px; }
.list-cols li { break-inside: avoid; }
@media (max-width: 640px) { .list-cols { columns: 1; } }
.btn-row--top { margin-top: 32px; }

/* Strip: refined dividers */
.strip { background: var(--paper); }
.strip__item strong { font-size: 1.02rem; letter-spacing: -0.01em; }

/* CTA band: subtle gold glow */
.cta-band::before {
  content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%;
  background: radial-gradient(closest-side, rgba(224,49,63,0.16), rgba(224,49,63,0));
  pointer-events: none;
}
.cta-band .container { position: relative; }

/* Forms: premium focus state */
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(224,49,63,0.28); }
.field .choice, .field label.choice { font-weight: 400; }
.form-panel { box-shadow: 0 1px 2px rgba(17,18,20,0.04), 0 24px 60px -28px rgba(17,18,20,0.25); }

/* Footer */
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,49,63,0.7), transparent);
}
.footer-brand img { height: 84px; width: auto; margin-bottom: 24px; }
.footer-grid h4 { color: var(--gold); }
.footer-bottom { letter-spacing: 0.02em; }

/* Page hero: a quieter, more architectural frame */
.page-hero::after { border-color: rgba(224,49,63,0.14); }

/* Reveal on scroll (only when JavaScript is running) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero__content > * { animation: heroIn 1s var(--ease) both; }
.js .hero__content > *:nth-child(2) { animation-delay: .1s; }
.js .hero__content > *:nth-child(3) { animation-delay: .2s; }
.js .hero__content > *:nth-child(4) { animation-delay: .3s; }
.js .hero__content > *:nth-child(5) { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero__content > * { animation: none; }
  .btn--gold { transition: none; }
}

/* Mobile polish */
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .eyebrow { letter-spacing: 0.18em; }
  .footer-brand img { height: 68px; }
  .cta-band::before { display: none; }
  .hero { min-height: 0; }
}

/* =========================================================
   Photo-led layer
   Photography is graded to a muted, corporate tone (see img/photos/CREDITS.md).
   Navy and gold overlays are set here, so the mood can be tuned in one place.
   ========================================================= */
.serif-accent { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--gold-dark); }
.section--navy .serif-accent, .cta-photo .serif-accent, .hero .serif-accent { color: var(--gold); }
.hero__media img { filter: saturate(0.85); }
.hero--photo .hero__shade {
  background:
    linear-gradient(90deg, rgba(17,18,20,0.94) 0%, rgba(17,18,20,0.7) 45%, rgba(17,18,20,0.25) 100%),
    linear-gradient(0deg, rgba(17,18,20,0.85) 0%, rgba(17,18,20,0) 40%);
}

/* Photo service cards */
.card--photo { padding: 0; overflow: hidden; }
.card--photo::before { z-index: 2; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); filter: saturate(0.8); }
.card--photo:hover .card__media img { transform: scale(1.04); }
.card__body { padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }
.card__body .card__num { margin-bottom: 14px; }
.card__body .card__more { margin-top: auto; }

/* Section head split */
.section-head--split { display: flex; justify-content: space-between; align-items: end; gap: 32px; max-width: none; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }
.section-note { max-width: 360px; font-size: 0.94rem; margin: 0; color: var(--slate); }
.section-more { margin: 40px 0 0; }

/* Category photo tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: var(--navy); color: var(--warm); text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) brightness(0.9); transition: transform 1.2s var(--ease), filter .6s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,18,20,0.92) 0%, rgba(17,18,20,0.1) 60%); }
.tile:hover img { transform: scale(1.05); filter: saturate(0.85) brightness(1); }
.tile__label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; display: flex; justify-content: space-between; align-items: end; gap: 12px; font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.tile__arrow { color: var(--gold); font-size: 1.2rem; transition: transform .3s var(--ease); }
.tile:hover .tile__arrow { transform: translateX(4px); }
.tile:focus-visible { outline-offset: 4px; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 3; } }

/* Process on dark band */
.process--dark .process__step { border-color: rgba(247,247,245,0.14); }
.process--dark .process__step h3 { color: var(--warm); }
.process--dark .process__step p { color: rgba(247,247,245,0.72); }
.process--dark .process__step::before { color: var(--gold); }
.process--dark { border-top-color: rgba(247,247,245,0.2); }
.process--dark .process__step:nth-child(3n+2), .process--dark .process__step:nth-child(3n+3) { border-left-color: rgba(247,247,245,0.14); }
.text-link--light { color: var(--warm); border-bottom-color: var(--gold); }
.text-link--light:hover { color: var(--gold); }
.band-photo { position: relative; overflow: hidden; isolation: isolate; }
.band-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/photos/marsa-port.jpg") 60% 40% / cover no-repeat;
  opacity: 0.22; filter: grayscale(0.6);
}
.band-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--navy) 0%, rgba(17,18,20,0.82) 50%, var(--navy) 100%);
}

/* Full-bleed photo call to action */
.cta-photo { position: relative; color: var(--warm); overflow: hidden; isolation: isolate; padding-block: clamp(88px, 12vw, 150px); }
.cta-photo__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(0.7); }
.cta-photo__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,18,20,0.95) 0%, rgba(17,18,20,0.7) 55%, rgba(17,18,20,0.35) 100%); }
.cta-photo__content { max-width: 680px; }
.cta-photo h2 { color: var(--warm); font-size: clamp(2rem, 4.2vw, 3.2rem); }
.cta-photo p { color: rgba(247,247,245,0.82); font-size: 1.05rem; }

@media (max-width: 640px) {
  .hero--photo .hero__shade { background: linear-gradient(180deg, rgba(17,18,20,0.9) 0%, rgba(17,18,20,0.82) 100%); }
  .cta-photo__shade { background: rgba(17,18,20,0.82); }
}

/* Photo page heroes: photograph behind a navy gradient, matching the homepage */
.page-hero--photo { isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75); }
.page-hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(17,18,20,0.96) 0%, rgba(17,18,20,0.78) 50%, rgba(17,18,20,0.55) 100%),
    linear-gradient(0deg, rgba(17,18,20,0.75) 0%, rgba(17,18,20,0) 50%);
}
.page-hero--photo::after { z-index: 0; }
.page-hero--photo .container { position: relative; z-index: 1; }
@media (max-width: 640px) {
  .page-hero__shade { background: linear-gradient(180deg, rgba(17,18,20,0.9) 0%, rgba(17,18,20,0.85) 100%); }
}

/* =========================================================
   Version 2: new logo, menu and design system
   Black, charcoal, grey, white and Malta red. Flat surfaces, hairlines, square corners.
   ========================================================= */
:root {
  --red: #CF142B;
  --red-hover: #A90F22;
  --red-on-dark: #E0313F;
  --ink: #111214;
  --charcoal: #1C1F23;
  --steel: #2A2E34;
  --mist: #EFEFED;
  --cool-white: #F7F7F5;
}
body { background: #FFFFFF; color: var(--ink); font-feature-settings: "ss01", "cv11"; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
p { color: #4B5058; }

/* Eyebrows: small caps label with a red rule */
.eyebrow { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--red); }
.eyebrow::before { width: 24px; height: 2px; background: var(--red); opacity: 1; }
.on-dark .eyebrow, .section--navy .eyebrow, .hero .eyebrow, .cta-photo .eyebrow { color: var(--red-on-dark); }
.on-dark .eyebrow::before, .section--navy .eyebrow::before, .hero .eyebrow::before, .cta-photo .eyebrow::before { background: var(--red-on-dark); }

/* Accents */
.gold-text, .serif-accent { color: var(--red-on-dark); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.serif-accent { color: var(--red); font-family: var(--font); font-style: normal; font-weight: 700; }
.section--navy .serif-accent, .cta-photo .serif-accent, .hero .serif-accent, .hero .gold-text { color: var(--red-on-dark); }

/* ---------- Header and navigation ---------- */
.site-header { background: rgba(255,255,255,0.96); border-bottom: 1px solid #E2E2E0; backdrop-filter: blur(10px); }
.site-header .site-header__inner { height: 84px; transition: height .3s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 68px; }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(17,18,20,0.04); }
.brand { color: var(--ink); line-height: 0; }
.wordmark { display: block; height: 40px; width: auto; }
.site-header.is-scrolled .wordmark { height: 34px; }
.wm-accent { fill: var(--red); }
.wordmark--reversed { color: var(--cool-white); }
.wordmark--reversed .wm-accent { fill: var(--red-on-dark); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a, .nav__trigger {
  font: 500 0.9rem/1 var(--font); color: var(--ink); text-decoration: none; letter-spacing: 0.01em;
  background: none; border: 0; padding: 8px 0; cursor: pointer; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s;
}
.nav > a:hover, .nav__trigger:hover { color: var(--red); }
.nav > a[aria-current="page"], .nav__trigger[aria-current="page"] { border-bottom-color: var(--red); }
.nav > a:not(.btn)::after, .nav__trigger::after { display: none; }
.nav__group { position: relative; }
.nav__trigger { display: inline-flex; align-items: center; gap: 8px; }
.nav__chev { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease); }
.nav__group.is-open .nav__chev { transform: rotate(225deg) translateY(-2px); }
.nav__panel {
  display: none; position: absolute; top: calc(100% + 18px); left: -18px; min-width: 280px; z-index: 60;
  background: #FFFFFF; border: 1px solid #E2E2E0; border-top: 2px solid var(--red); padding: 8px 0;
  box-shadow: 0 18px 40px -18px rgba(17,18,20,0.25);
}
.nav__group.is-open .nav__panel { display: block; }
.nav__panel a { display: block; padding: 13px 22px; color: var(--ink); text-decoration: none; font-size: 0.93rem; border-left: 2px solid transparent; }
.nav__panel a:hover, .nav__panel a[aria-current="page"] { border-left-color: var(--red); background: var(--cool-white); color: var(--ink); }
.nav__cta { padding: 14px 20px; min-height: 0; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }

.nav-toggle { border: 1px solid var(--ink); border-radius: 0; width: auto; height: 42px; padding: 0 14px; gap: 10px; background: #FFFFFF; color: var(--ink); font: 600 0.8rem var(--font); letter-spacing: 0.12em; text-transform: uppercase; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
.nav-toggle span { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav {
    position: fixed; inset: 84px 0 0 0; background: #FFFFFF; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px; overflow-y: auto; max-height: none; transform: none;
    opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav > a, .nav__trigger { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; padding: 20px 0; border-bottom: 1px solid #E2E2E0; width: 100%; justify-content: space-between; text-align: left; }
  .nav__panel { display: none; position: static; min-width: 0; border: 0; box-shadow: none; background: var(--cool-white); padding: 0; border-top: 0; }
  .nav__group.is-open .nav__panel { display: block; }
  .nav__panel a { font-size: 1.05rem; padding: 16px 16px; border-bottom: 1px solid #E2E2E0; }
  .nav__cta { margin-top: 28px; width: 100%; padding: 18px; font-size: 0.9rem; }
  .site-header.is-scrolled .site-header__inner { height: 68px; }
  .nav { inset: 68px 0 0 0; }
  .site-header .site-header__inner { height: 76px; }
}

/* ---------- Buttons: square, uppercase, quiet ---------- */
.btn { border-radius: 0; font: 600 0.8rem/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; padding: 17px 26px; min-height: 50px; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: none; }
.btn { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.btn:hover { background: var(--steel); border-color: var(--steel); color: #FFFFFF; }
.btn--gold { background: var(--red); border-color: var(--red); color: #FFFFFF; }
.btn--gold:hover { background: var(--red-hover); border-color: var(--red-hover); color: #FFFFFF; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.7); }
.btn--ghost-light:hover { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }
.text-link { font-weight: 600; font-size: 0.9rem; border-bottom: 2px solid var(--red); color: var(--ink); padding-bottom: 3px; }
.text-link:hover { color: var(--red); }
.text-link--light { color: #FFFFFF; }

/* ---------- Hero and page heroes ---------- */
.hero { min-height: min(92vh, 820px); }
.hero--photo .hero__shade {
  background: linear-gradient(90deg, rgba(17,18,20,0.92) 0%, rgba(17,18,20,0.6) 50%, rgba(17,18,20,0.15) 100%), linear-gradient(0deg, rgba(17,18,20,0.8) 0%, rgba(17,18,20,0) 45%);
}
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.hero .eyebrow { color: #FFFFFF; }
.hero .eyebrow::before { background: var(--red-on-dark); }
.hero__meta { display: none; }
.hero::after { background: var(--red); height: 3px; }
.page-hero { padding-block: clamp(72px, 9vw, 120px) clamp(56px, 7vw, 92px); }
.page-hero::after { display: none; }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); letter-spacing: -0.04em; }
.page-hero__shade { background: linear-gradient(90deg, rgba(17,18,20,0.95) 0%, rgba(17,18,20,0.7) 55%, rgba(17,18,20,0.45) 100%), linear-gradient(0deg, rgba(17,18,20,0.7) 0%, rgba(17,18,20,0) 50%); }
.breadcrumb { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Sections and surfaces ---------- */
.section--paper { background: var(--cool-white); }
.section--sand { background: var(--mist); }
.section--navy { background: var(--ink); }
.strip { background: #FFFFFF; border-block: 1px solid #E2E2E0; }
.strip__item { padding: 32px 26px; }
.strip__item strong { font-size: 0.98rem; }

/* Cards: flat, hairline, a red rule on hover */
.card { background: #FFFFFF; border: 1px solid #E2E2E0; border-radius: 0; box-shadow: none; }
.card::before { height: 3px; background: var(--red); }
.card:hover { border-color: #BDBDB9; box-shadow: none; }
.card__num { color: var(--red); letter-spacing: 0.16em; font-weight: 700; }
.card--dark { background: var(--ink); border-color: var(--steel); }
.card--dark h3 { color: #FFFFFF; }
.card--dark p { color: rgba(255,255,255,0.72); }
.card--photo .card__body { background: #FFFFFF; }
.card__more { color: var(--ink); }

/* Lists and notes */
.list-clean li::before { background: var(--red); width: 16px; }
.note { background: var(--cool-white); border-left: 3px solid var(--red); border-radius: 0; }
.pull { font-weight: 600; letter-spacing: -0.02em; }

/* Process: numbered in red */
.process { border-top: 2px solid var(--ink); }
.process__step::before { color: var(--red); letter-spacing: 0.14em; }
.process--dark { border-top-color: rgba(255,255,255,0.4); }
.process--dark .process__step::before { color: var(--red-on-dark); }
.process__step:hover { background: rgba(207,20,43,0.04); }
.process--dark .process__step:hover { background: rgba(255,255,255,0.03); }

/* Tiles */
.tile { border-radius: 0; }
.tile__arrow { color: var(--red-on-dark); }
.tile::after { background: linear-gradient(0deg, rgba(17,18,20,0.95) 0%, rgba(17,18,20,0.05) 60%); }
.tile__label { text-transform: none; }

/* Forms */
.form-panel { background: #FFFFFF; border: 1px solid #E2E2E0; border-radius: 0; box-shadow: none; }
.field input, .field select, .field textarea { border-radius: 0; border-color: #C9C9C6; background: #FFFFFF; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(207,20,43,0.18); }
.field[aria-invalid="true"] input, .field[aria-invalid="true"] select, .field[aria-invalid="true"] textarea { border-color: var(--red); }
.field .error { color: var(--red); }
.form-status--ok { background: #EEF5F0; }
.form-status--info { background: var(--cool-white); }
.choice input { accent-color: var(--red); }

/* Footer: charcoal, flat, red rule */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.66); }
.site-footer::before { background: var(--red); height: 3px; }
.footer-wordmark { margin-bottom: 22px; }
.footer-wordmark .wordmark { height: 44px; }
.footer-grid h4 { color: #FFFFFF; font-size: 0.72rem; letter-spacing: 0.18em; }
.footer-grid p { color: rgba(255,255,255,0.6); }
.footer-brand img { display: none; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--red-on-dark); }
.footer-bottom { border-top-color: rgba(255,255,255,0.12); }

/* Cookie banner: square */
.cookie-banner { border-radius: 0; border-color: #C9C9C6; box-shadow: 0 16px 48px rgba(17,18,20,0.25); }
.cookie-prefs input { accent-color: var(--ink); }

/* Legal and admin */
.draft-banner { border-radius: 0; }
.field-todo { border-radius: 0; background: #FBE9EB; border-color: var(--red); color: #A90F22; }
.admin-top { background: var(--ink); }
.admin-body { background: var(--cool-white); }

/* Photo bands and CTAs */
.cta-band { background: var(--ink); }
.cta-band::before { background: radial-gradient(closest-side, rgba(207,20,43,0.22), rgba(207,20,43,0)); }
.cta-photo__shade { background: linear-gradient(90deg, rgba(17,18,20,0.96) 0%, rgba(17,18,20,0.72) 55%, rgba(17,18,20,0.4) 100%); }
.band-photo::after { background: linear-gradient(180deg, var(--ink) 0%, rgba(17,18,20,0.84) 50%, var(--ink) 100%); }

/* Reveal: a touch slower and smaller, nothing bouncing */
.js .reveal { transform: translateY(10px); transition-duration: 1s; }

@media (max-width: 960px) {
  .site-header .site-header__inner { height: 76px; }
}

/* Fixes: menu label and accent word */
.nav-toggle__label { width: auto; height: auto; background: none; position: static; display: inline-block; }
.hero h1 span.gold-text, .hero h1 .gold-text { color: var(--red-on-dark); background: none; -webkit-background-clip: border-box; background-clip: border-box; }

/* Menu toggle: one icon drawn by ::before, so the label never collides with the bars */
.nav-toggle__bars { display: none !important; }
.nav-toggle::before {
  content: ""; display: block; width: 18px; height: 16px;
  background: linear-gradient(currentColor 0 2px, transparent 2px 7px, currentColor 7px 9px, transparent 9px 14px, currentColor 14px 16px);
}
.nav-toggle[aria-expanded="true"]::before {
  background:
    linear-gradient(45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(-45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px));
}
.nav-toggle { gap: 12px; }
@media (max-width: 960px) {
  /* A blur on the header would trap the fixed menu inside it, so remove it on small screens */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #FFFFFF; }
}

/* The header CTA keeps its button styling on desktop and in the mobile menu */
.nav > a.btn.nav__cta {
  background: var(--red); border: 1px solid var(--red); color: #FFFFFF;
  padding: 14px 20px; min-height: 0; border-bottom: 1px solid var(--red);
  font: 600 0.8rem/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase;
}
.nav > a.btn.nav__cta:hover { background: var(--red-hover); border-color: var(--red-hover); color: #FFFFFF; }
@media (max-width: 960px) {
  .nav > a.btn.nav__cta { display: block; text-align: center; margin-top: 28px; padding: 18px; font-size: 0.9rem; border-bottom: 1px solid var(--red); }
}

/* Menu toggle: fixed size, label inside the button */
.nav-toggle { width: auto !important; height: 42px !important; padding: 0 14px !important; display: inline-flex; align-items: center; }
.nav-toggle span:not(.nav-toggle__label) { display: none !important; }
.nav-toggle__label { white-space: nowrap; }
.nav-toggle { font-size: 0.8rem; }
@media (min-width: 961px) { .nav-toggle { display: none !important; } }

/* Logo lockup: monogram tile, UPSCALE, and PROCUREMENT · MALTA */
.wordmark { height: 46px; width: auto; }
.site-header.is-scrolled .wordmark { height: 40px; }
.wm-tile { fill: #111214; }
.wm-u { stroke: #F7F7F5; }
.wm-arrow { stroke: #CF142B; fill: none; }
.wm-name { fill: currentColor; }
.wm-sub { fill: #6B7079; }
.wm-accent { fill: #CF142B; }
.wordmark--reversed .wm-tile { fill: #F7F7F5; }
.wordmark--reversed .wm-u { stroke: #111214; }
.wordmark--reversed .wm-arrow { stroke: #E0313F; }
.wordmark--reversed .wm-sub { fill: #B9BDC4; }
.wordmark--reversed .wm-accent { fill: #E0313F; }
.footer-wordmark .wordmark { height: 52px; }

/* Quote request: short, calm, two columns on desktop */
.quote-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.quote-aside h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 28px; }
.quote-steps { list-style: none; counter-reset: qs; padding: 0; margin: 0 0 40px; }
.quote-steps li { counter-increment: qs; position: relative; padding: 0 0 26px 52px; margin: 0; color: #4B5058; }
.quote-steps li:last-child { padding-bottom: 0; }
.quote-steps li::before {
  content: counter(qs, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 36px; height: 36px;
  display: grid; place-items: center; background: var(--ink); color: #FFFFFF; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
}
.quote-steps strong { display: block; color: var(--ink); margin-bottom: 4px; font-size: 1rem; }
.quote-contact { border-top: 1px solid #E2E2E0; padding-top: 24px; }
.quote-contact span { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 6px; }
.quote-contact a { font-size: 1.05rem; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.quote-panel { padding: clamp(28px, 4vw, 48px); }
.quote-panel .form-grid { gap: 22px 22px; }
.quote-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.quote-submit span { font-size: 0.86rem; color: #6B7079; }
.quote-submit .btn { min-width: 200px; }
@media (max-width: 860px) { .quote-layout { grid-template-columns: 1fr; } }

/* Refinement: header logo about 35% larger, with a responsive step-down on phones */
.wordmark { height: 62px; }
.site-header.is-scrolled .wordmark { height: 54px; }
.site-header .site-header__inner { height: 96px; }
.site-header.is-scrolled .site-header__inner { height: 80px; }
@media (max-width: 960px) {
  .wordmark { height: 52px; }
  .site-header.is-scrolled .wordmark { height: 46px; }
  .site-header .site-header__inner { height: 84px; }
  .site-header.is-scrolled .site-header__inner { height: 72px; }
  .nav { inset: 84px 0 0 0; }
}
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } }

/* Email contact panels (temporary, until Netlify Forms is active) */
.email-panel { display: flex; flex-direction: column; gap: 0; }
.email-panel__label { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 14px; }
.email-panel h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 14px; }
.email-panel p { font-size: 1rem; }
.email-panel__list { list-style: none; padding: 0; margin: 20px 0 28px; border-top: 1px solid #E2E2E0; }
.email-panel__list li { padding: 13px 0 13px 26px; border-bottom: 1px solid #E2E2E0; position: relative; color: #4B5058; margin: 0; }
.email-panel__list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 2px; background: var(--red); }
.email-panel__cta { align-self: flex-start; }
.email-panel__address { margin-top: 22px; font-size: 0.93rem; color: #6B7079; }
.email-panel__address a { color: var(--ink); font-weight: 600; }

/* =========================================================
   Navigation refinement: smooth scroll state, animated underlines,
   fading dropdown, staggered mobile menu. Motion respects reduced-motion.
   ========================================================= */
:root { --nav-ease: cubic-bezier(.22, .8, .2, 1); }

.site-header {
  transition: background-color .45s var(--nav-ease), box-shadow .45s var(--nav-ease), border-color .45s var(--nav-ease);
}
.site-header.is-scrolled { background: rgba(255,255,255,0.92); box-shadow: 0 10px 30px -22px rgba(17,18,20,0.35); border-bottom-color: transparent; }
.site-header .site-header__inner { transition: height .5s var(--nav-ease); }
.wordmark { transition: height .5s var(--nav-ease), transform .5s var(--nav-ease); transform-origin: left center; }
.site-header.is-scrolled .wordmark { transform: scale(0.96); }

/* Animated underline that draws in from the left */
.nav > a:not(.btn), .nav__trigger {
  position: relative; border-bottom: 0 !important; padding: 10px 0;
}
.nav > a:not(.btn)::after, .nav__trigger::after {
  content: ""; display: block !important; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: right center;
  transition: transform .5s var(--nav-ease);
}
.nav > a:not(.btn):hover::after, .nav__trigger:hover::after,
.nav > a[aria-current="page"]:not(.btn)::after, .nav__trigger[aria-current="page"]::after {
  transform: scaleX(1); transform-origin: left center;
}
.nav > a:hover, .nav__trigger:hover { color: var(--ink); }
.nav > a[aria-current="page"]:not(.btn) { color: var(--ink); font-weight: 600; }

/* Dropdown: fades and slides rather than snapping */
.nav__panel {
  display: block !important; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--nav-ease), transform .35s var(--nav-ease), visibility .35s;
}
.nav__group.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; }
.nav__panel a { transition: padding-left .35s var(--nav-ease), color .25s, background-color .25s; }
.nav__panel a:hover { padding-left: 28px; }

/* Header CTA: soft sheen on hover */
.nav > a.btn.nav__cta { position: relative; overflow: hidden; isolation: isolate; }
.nav > a.btn.nav__cta::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg); transition: left .7s var(--nav-ease);
}
.nav > a.btn.nav__cta:hover::before { left: 120%; }

/* Menu toggle: calm hover */
.nav-toggle { transition: background-color .3s, color .3s, border-color .3s; }
.nav-toggle:hover { background: var(--ink); color: #FFFFFF; }
.nav-toggle::before { transition: background .35s var(--nav-ease); }

/* Mobile menu: panel slides down, links rise in one by one */
@media (max-width: 960px) {
  .nav { transform: translateY(-12px); transition: opacity .35s var(--nav-ease), transform .45s var(--nav-ease), visibility .45s; }
  .nav.is-open { transform: none; }
  .nav > a, .nav__trigger, .nav > .nav__group { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--nav-ease), transform .45s var(--nav-ease), color .25s; }
  .nav.is-open > a, .nav.is-open > .nav__group, .nav.is-open .nav__trigger { opacity: 1; transform: none; }
  .nav.is-open > a:nth-child(1), .nav.is-open > .nav__group:nth-child(1) { transition-delay: .05s; }
  .nav.is-open > a:nth-child(2) { transition-delay: .10s; }
  .nav.is-open > a:nth-child(3) { transition-delay: .15s; }
  .nav.is-open > a:nth-child(4) { transition-delay: .20s; }
  .nav.is-open > a.nav__cta { transition-delay: .26s; }
  .nav__panel { transform: none; opacity: 1; visibility: visible; max-height: 0; overflow: hidden; transition: max-height .45s var(--nav-ease); display: block !important; }
  .nav__group.is-open .nav__panel { max-height: 320px; }
  .nav > a:not(.btn)::after, .nav__trigger::after { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .nav, .nav > *, .nav__panel, .wordmark, .site-header, .site-header__inner { transition: none !important; }
  .nav > a.btn.nav__cta::before { display: none; }
}

/* About: photo in place of the founder placeholder (no person shown) */
.about-figure { margin: 0; position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); }
.about-figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 1.4s var(--nav-ease); }
.about-figure:hover img { transform: scale(1.03); }
.about-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; background: linear-gradient(0deg, rgba(17,18,20,0.9), rgba(17,18,20,0)); color: rgba(255,255,255,0.9); font-size: 0.85rem; letter-spacing: 0.02em; }

/* Scroll progress line (sits on the header's bottom edge) */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--red); transform-origin: left center; transform: scaleX(0); z-index: 120; pointer-events: none; }

/* Hero parallax needs room to move without showing an edge */
.hero__media, .page-hero__media { overflow: hidden; }
.hero__media img, .page-hero__media img { will-change: transform; transform-origin: center top; }

/* Page transitions: a soft cross-fade. The new page settles up from a light blur; the old page fades quietly. */
@view-transition { navigation: auto; }
::view-transition-old(root) {
  animation: vt-fade-out .45s cubic-bezier(.4, 0, .2, 1) both;
}
::view-transition-new(root) {
  animation: vt-settle-in .8s cubic-bezier(.22, .8, .2, 1) both;
}
@keyframes vt-fade-out {
  to { opacity: 0; filter: blur(3px); }
}
@keyframes vt-settle-in {
  from { opacity: 0; filter: blur(6px); transform: translateY(12px); }
  to   { opacity: 1; filter: blur(0); transform: none; }
}

/* Extra reveals: slightly more travel for the richer sections */
.js .reveal.about-figure, .js .reveal.tile { transform: translateY(24px) scale(0.99); }
.js .reveal.is-visible.about-figure, .js .reveal.is-visible.tile { transform: none; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .scroll-progress { display: none; }
  .about-figure img { transition: none; }
}

/* Character check (contact form): drawn in brand colours, with a refresh control */
.captcha { gap: 10px; }
.captcha__label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.captcha__row { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.captcha__canvas { border: 1px solid #C9C9C6; background: var(--cool-white); width: 240px; height: 68px; max-width: 100%; display: block; }
.captcha__refresh { background: #FFFFFF; border: 1px solid var(--ink); color: var(--ink); font: 600 0.75rem var(--font); letter-spacing: 0.12em; text-transform: uppercase; padding: 0 16px; cursor: pointer; transition: background .2s, color .2s; }
.captcha__refresh:hover { background: var(--ink); color: #FFFFFF; }
.captcha__refresh:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sr-only-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
