/* A-B Hire Ltd — Coming Soon
   Tokens mirror the A-B Hire design system (tokens/*.css). */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Ink */
  --black-950: #0B0B0C;
  --black-900: #111113;
  --black-800: #1A1A1D;

  /* Neutrals */
  --neutral-500: #6E6E73;
  --neutral-300: #B8B6B0;
  --white: #FFFFFF;

  /* Gold — the single accent. Muted, metallic, never yellow. */
  --gold-700: #8C6D2F;
  --gold-600: #A98846;
  --gold-500: #C1A05A;
  --gold-400: #D4B978;
  --gold-300: #E4D2A6;

  /* Semantic */
  --text-invert: var(--white);
  --text-invert-muted: var(--neutral-300);
  --accent: var(--gold-500);
  --accent-hover: var(--gold-400);
  --accent-press: var(--gold-600);
  --on-accent: var(--black-950);
  --border-hairline-invert: rgba(255, 255, 255, 0.14);
  --border-gold: rgba(193, 160, 90, 0.45);
  --focus-ring: var(--gold-500);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-display-lg: clamp(2.5rem, 4.5vw, 4rem);
  --fs-display-md: clamp(2rem, 3.2vw, 2.75rem);
  --fs-lg: 1.125rem;
  --fs-base: 1rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-eyebrow: 0.75rem;
  --lh-tight: 1.05;
  --lh-snug: 1.2;
  --lh-relaxed: 1.65;
  --ls-eyebrow: 0.22em;

  /* Layout */
  --container-max: 1240px;
  --container-pad: clamp(20px, 5vw, 64px);

  /* Effects */
  --radius-sm: 4px;
  --radius-lg: 14px;
  --shadow-gold: 0 8px 26px rgba(140, 109, 47, 0.28);
  --gradient-gold: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 45%, var(--gold-700) 100%);
  --hairline-gold: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: #000;
  color: var(--text-invert);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: var(--radius-sm); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Page backdrop ---------- */
.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
}
.page::before,
.page::after,
.bg-glow,
.bg-spotlight {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* faint dotted grid */
.page::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
}
/* warm gold vignette from top centre */
.bg-glow {
  background:
    radial-gradient(58% 52% at 50% 20%, rgba(193, 160, 90, 0.16), transparent 68%),
    radial-gradient(120% 80% at 50% 0%, rgba(40, 36, 30, 0.55), transparent 60%);
}
/* breathing spotlight */
.bg-spotlight {
  background: radial-gradient(40% 34% at 50% 16%, rgba(212, 185, 120, 0.22), transparent 70%);
  animation: abGlow 6s var(--ease-in-out) infinite;
}
/* gold hairline on the top edge */
.page::after {
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--hairline-gold);
}

.container {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) var(--container-pad) clamp(40px, 6vw, 72px);
}

/* ---------- Shared primitives ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--gold-400);
}
.gold-bar {
  width: 64px;
  height: 2px;
  background: var(--gradient-gold);
  margin: 20px auto 0;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-display-md);
  line-height: var(--lh-snug);
  margin-top: 14px;
  color: var(--white);
  text-wrap: balance;
}
.icon-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(193, 160, 90, 0.10);
  color: var(--gold-300);
}
.icon-ring--sm { width: 48px; height: 48px; }
.surface {
  border: 1px solid var(--border-hairline-invert);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out);
}

/* ---------- Buttons (design-system Button, size=lg) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 17px 34px;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary:active { background: var(--accent-press); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: var(--border-hairline-invert);
}
.btn--ghost:hover { border-color: var(--border-gold); background: rgba(255, 255, 255, 0.09); }
.btn--ghost:active { background: rgba(255, 255, 255, 0.04); }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__logo {
  width: min(560px, 82vw);
  height: auto;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 90% 82% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 82% at 50% 50%, #000 62%, transparent 100%);
  animation: abFloat 7s var(--ease-in-out) infinite;
}
/* Type-set fallback, shown only if the PNG is missing */
.hero__wordmark { gap: 14px; animation: abFloat 7s var(--ease-in-out) infinite; }
.hero__wordmark[hidden] { display: none; }
.hero__logo--failed { display: none; }
.hero .eyebrow { margin-top: clamp(24px, 4vw, 44px); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-display-lg);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin-top: 22px;
  max-width: min(20ch, 100%);
  text-wrap: balance;
}
.hero__lede {
  max-width: min(56ch, 100%);
  margin-top: 20px;
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--text-invert-muted);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  max-width: 100%;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__badges {
  display: flex;
  width: 100%;
  gap: 10px;
  margin-top: 34px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 860px;
  padding: 0;
  list-style: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(193, 160, 90, 0.08);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
}
.badge svg { width: 15px; height: 15px; color: var(--gold-400); flex-shrink: 0; }

/* ---------- Services ---------- */
.services { margin-top: clamp(72px, 10vw, 128px); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  list-style: none;
}
.service { padding: 28px 26px; }
.service:hover { transform: translateY(-4px); border-color: var(--border-gold); }
.service h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--white);
  margin: 18px 0 8px;
}
.service p {
  font-size: var(--fs-sm);
  color: var(--text-invert-muted);
  line-height: var(--lh-relaxed);
}
.icon-ring svg { width: 22px; height: 22px; }
.icon-ring--sm svg { width: 20px; height: 20px; }

/* ---------- Contact ---------- */
.contact { margin-top: clamp(72px, 10vw, 128px); }
.contact .section-head { margin-bottom: 44px; }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  text-decoration: none;
  color: inherit;
}
a.contact-card:hover { transform: translateY(-4px); border-color: var(--border-gold); }
.contact-card__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-invert-muted);
}
.contact-card__value {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--white);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.contact-card__value--email { font-size: var(--fs-base); }
.contact-card__note {
  font-size: var(--fs-xs);
  color: var(--text-invert-muted);
  margin-top: 2px;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: clamp(64px, 8vw, 104px);
  padding-top: 32px;
  border-top: 1px solid var(--border-hairline-invert);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.wordmark__ab {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  letter-spacing: 0.01em;
}
.wordmark__ab span { color: var(--accent); padding: 0 1px; }
.wordmark__hire {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--white);
}
.wordmark--hero .wordmark__ab { font-size: clamp(64px, 10vw, 112px); }
.wordmark--hero .wordmark__hire { font-size: clamp(18px, 3vw, 30px); }

.socials { display: flex; gap: 10px; align-items: center; padding: 0; list-style: none; }
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border-hairline-invert);
  color: var(--text-invert-muted);
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.social:hover { border-color: var(--border-gold); color: var(--gold-300); }
.social svg { width: 17px; height: 17px; }

.footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}
.footer__legal a {
  color: var(--text-invert-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer__legal a:hover { color: var(--gold-300); }
.footer__meta {
  font-size: var(--fs-xs);
  color: var(--text-invert-muted);
  letter-spacing: 0.04em;
}

/* ---------- Motion ---------- */
@keyframes abFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes abGlow {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__logo, .hero__wordmark, .bg-spotlight { animation: none; }
  .surface, .btn, .social, .footer__legal a { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}
