@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital@0;1&family=Source+Sans+3:wght@400;600&display=swap');

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; }

/* ── Brand tokens (inlined from assets/brand/) ───────────── */
:root {
  /* Colors */
  --premier-executive-black: #111111;
  --premier-charcoal: #1D1F22;
  --premier-deep-blue-black: #0D1720;
  --premier-shadow-navy: #07111A;
  --premier-deep-trust-blue: #18324A;
  --premier-info-blue: #2F5F88;
  --premier-premier-gold: #C79A45;
  --premier-warm-light-gold: #E6C575;
  --premier-warm-white: #F7F4EC;
  --premier-light-surface: #F3F1EA;
  --premier-ivory-card: #EEEAE0;
  --premier-soft-gray: #D8D5CE;
  --premier-border-neutral: #D7D2C6;
  --premier-paper-white: #FFFFFF;
  --premier-ink-text: #171717;
  --premier-muted-text: #5E6268;
  --premier-success: #2F6F4E;
  --premier-warning: #A76516;
  --premier-error: #A33A33;

  /* Typography */
  --premier-font-display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --premier-font-ui: 'Source Sans 3', 'Source Sans Pro', Arial, Helvetica, sans-serif;
  --premier-type-display-hero: clamp(2.75rem, 4vw, 4.75rem);
  --premier-type-display-title: clamp(2rem, 3vw, 3.25rem);
  --premier-type-heading-xl: 2rem;
  --premier-type-heading-lg: 1.5rem;
  --premier-type-body-lg: 1.125rem;
  --premier-type-body: 1rem;
  --premier-type-body-sm: 0.875rem;
  --premier-type-label: 0.78rem;
  --premier-type-button: 0.95rem;
  --premier-type-caption: 0.78rem;

  /* Graphics */
  --premier-rule-quiet: 1px solid #D7D2C6;
  --premier-rule-standard: 1px solid #C79A45;
  --premier-rule-emphasis: 2px solid #C79A45;
  --premier-radius-sm: 4px;
  --premier-radius-badge: 6px;

  /* Spacing */
  --premier-page-max: 1160px;
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s6: 1.5rem;
  --s8: 2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
}

/* ── Base ─────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--premier-font-ui);
  font-size: var(--premier-type-body);
  line-height: 1.6;
  color: var(--premier-ink-text);
  background: var(--premier-warm-white);
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  margin-inline: auto;
  max-width: var(--premier-page-max);
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

/* ── Section labels & rules ───────────────────────────────── */
.section-label {
  font-family: var(--premier-font-ui);
  font-size: var(--premier-type-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--premier-premier-gold);
  display: block;
  margin-bottom: var(--s3);
}

.gold-rule {
  border: 0;
  border-top: var(--premier-rule-emphasis);
  margin-bottom: var(--s6);
  width: 48px;
}

.section-heading {
  font-family: var(--premier-font-display);
  font-size: var(--premier-type-display-title);
  font-weight: 400;
  line-height: 1.12;
  color: var(--premier-deep-blue-black);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--premier-font-ui);
  font-size: var(--premier-type-button);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--premier-radius-sm);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--premier-premier-gold);
  border: 1px solid var(--premier-premier-gold);
  color: var(--premier-deep-blue-black);
}

.btn-primary:hover {
  background: var(--premier-warm-light-gold);
  border-color: var(--premier-warm-light-gold);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(247, 244, 236, 0.35);
  color: var(--premier-warm-white);
}

.btn-ghost:hover {
  border-color: var(--premier-warm-light-gold);
  color: var(--premier-warm-light-gold);
}

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--premier-deep-blue-black);
  border-bottom: 1px solid rgba(199, 154, 69, 0.15);
  transition: box-shadow 0.2s ease;
}

.site-nav.is-scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--s4);
  gap: var(--s8);
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--s8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s6);
  list-style: none;
}

.nav-links a {
  font-family: var(--premier-font-ui);
  font-size: var(--premier-type-body-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 236, 0.8);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--premier-warm-light-gold);
}

.nav-cta {
  font-family: var(--premier-font-ui);
  font-size: var(--premier-type-body-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--premier-deep-blue-black);
  background: var(--premier-premier-gold);
  border: 1px solid var(--premier-premier-gold);
  border-radius: var(--premier-radius-sm);
  padding: 0.55rem 1.1rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
  min-height: 40px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--premier-warm-light-gold);
  border-color: var(--premier-warm-light-gold);
}

.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid rgba(247, 244, 236, 0.25);
  border-radius: var(--premier-radius-sm);
  padding: var(--s2);
  color: var(--premier-warm-white);
  min-height: 40px;
  min-width: 40px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--premier-shadow-navy);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s6);
    padding: var(--s6) clamp(1rem, 4vw, 3rem) var(--s8);
    border-bottom: 1px solid rgba(199, 154, 69, 0.15);
  }

  .site-nav[data-open="true"] .nav-menu {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s4);
    width: 100%;
  }

  .nav-links a {
    font-size: var(--premier-type-body);
  }
}

/* ── Hero ─────────────────────────────────────────────────── */
/* Background: premier-background-signature.svg — dark formal brand moment
   with diagonal ivory panel, gold rules, and circular sweep accents */
.hero {
  background: var(--premier-deep-blue-black)
    url('/assets/brand/graphics/premier-background-signature.svg')
    center / cover no-repeat;
  padding-block: clamp(5rem, 12vw, 9rem);
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--premier-font-ui);
  font-size: var(--premier-type-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--premier-premier-gold);
  margin-bottom: var(--s6);
}

.hero-headline {
  font-family: var(--premier-font-display);
  font-size: var(--premier-type-display-hero);
  font-weight: 400;
  line-height: 1.04;
  color: var(--premier-warm-white);
  margin-bottom: var(--s6);
}

.hero-sub {
  font-size: var(--premier-type-body-lg);
  line-height: 1.65;
  color: rgba(247, 244, 236, 0.72);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--s10);
}

.hero-ctas {
  display: flex;
  gap: var(--s4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── About ────────────────────────────────────────────────── */
/* Background: premier-pattern-diagonal-fold.svg — light warm background
   with restrained diagonal geometry and quiet rules */
.section-about {
  background: var(--premier-warm-white)
    url('/assets/brand/graphics/premier-pattern-diagonal-fold.svg')
    right center / cover no-repeat;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 767px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-photo {
  aspect-ratio: 3 / 4;
  background: var(--premier-ivory-card);
  border: 1px solid var(--premier-border-neutral);
  border-radius: var(--premier-radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  padding: var(--s8);
}

.about-photo img {
  width: 80px;
  height: 80px;
  opacity: 0.35;
}

.about-photo-caption {
  font-size: var(--premier-type-caption);
  color: var(--premier-muted-text);
  letter-spacing: 0.05em;
  text-align: center;
}

.about-content .section-heading {
  margin-bottom: var(--s6);
}

.about-bio {
  font-size: var(--premier-type-body-lg);
  line-height: 1.7;
  color: var(--premier-ink-text);
  margin-bottom: var(--s6);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s8);
  margin-bottom: var(--s8);
}

.badge {
  align-items: center;
  border: 1.5px solid var(--premier-premier-gold);
  border-radius: var(--premier-radius-badge);
  color: var(--premier-deep-trust-blue);
  display: inline-flex;
  font-family: var(--premier-font-ui);
  font-size: var(--premier-type-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  min-height: 28px;
  padding: 0.45rem 0.7rem;
  text-transform: uppercase;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--premier-type-body-sm);
  font-weight: 600;
  color: var(--premier-info-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

.about-link:hover {
  color: var(--premier-deep-trust-blue);
}

.about-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Services ─────────────────────────────────────────────── */
.section-services {
  background: var(--premier-light-surface);
}

.section-header {
  margin-bottom: var(--s12);
}

.section-header .section-heading {
  margin-top: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--s6);
}

.service-card {
  background: var(--premier-paper-white);
  border: 1px solid var(--premier-border-neutral);
  border-radius: var(--premier-radius-sm);
  padding: var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  transition: box-shadow 0.15s ease;
}

.service-card:hover {
  box-shadow: 0 2px 12px rgba(13, 23, 32, 0.08);
}

.service-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.service-name {
  font-family: var(--premier-font-ui);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--premier-deep-blue-black);
}

.service-desc {
  font-size: var(--premier-type-body-sm);
  line-height: 1.6;
  color: var(--premier-muted-text);
  flex-grow: 1;
}

/* ── Process ──────────────────────────────────────────────── */
.section-process {
  background: var(--premier-paper-white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s8);
  margin-top: var(--s12);
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.step-marker {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--premier-premier-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--premier-font-ui);
  font-size: var(--premier-type-body-sm);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--premier-deep-trust-blue);
  flex-shrink: 0;
}

.step-title {
  font-family: var(--premier-font-ui);
  font-size: var(--premier-type-heading-lg);
  font-weight: 600;
  line-height: 1.25;
  color: var(--premier-deep-blue-black);
}

.step-desc {
  font-size: var(--premier-type-body-sm);
  line-height: 1.65;
  color: var(--premier-muted-text);
}

/* ── Testimonials ─────────────────────────────────────────── */
.section-testimonials {
  background: var(--premier-ivory-card);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s6);
  margin-top: var(--s12);
}

.testimonial-card {
  background: var(--premier-paper-white);
  border: 1px solid var(--premier-border-neutral);
  border-left: 3px solid var(--premier-premier-gold);
  border-radius: var(--premier-radius-sm);
  padding: var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.testimonial-quote {
  font-family: var(--premier-font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--premier-ink-text);
  flex-grow: 1;
}

.testimonial-attribution {
  font-size: var(--premier-type-body-sm);
  font-weight: 600;
  color: var(--premier-muted-text);
  letter-spacing: 0.02em;
}

.placeholder-tag {
  display: inline-block;
  font-family: var(--premier-font-ui);
  font-size: var(--premier-type-caption);
  font-style: normal;
  color: var(--premier-muted-text);
  background: var(--premier-light-surface);
  border-radius: 2px;
  padding: 0.15rem 0.4rem;
  letter-spacing: 0.03em;
}

/* ── Contact ──────────────────────────────────────────────── */
/* Background: premier-pattern-sweep-grid.svg — dark grid with circular
   sweep accents and restrained gold checkpoints */
.section-contact {
  background: var(--premier-deep-blue-black)
    url('/assets/brand/graphics/premier-pattern-sweep-grid.svg')
    center / cover no-repeat;
  color: var(--premier-warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info .section-label {
  color: var(--premier-premier-gold);
}

.contact-heading {
  font-family: var(--premier-font-display);
  font-size: var(--premier-type-display-title);
  font-weight: 400;
  line-height: 1.12;
  color: var(--premier-warm-white);
  margin-bottom: var(--s6);
}

.contact-body {
  font-size: var(--premier-type-body-lg);
  line-height: 1.65;
  color: rgba(247, 244, 236, 0.72);
  margin-bottom: var(--s8);
}

.contact-email-link {
  display: inline-block;
  font-family: var(--premier-font-ui);
  font-size: var(--premier-type-body-sm);
  font-weight: 600;
  color: var(--premier-warm-light-gold);
  text-decoration: none;
  transition: color 0.15s ease;
}

.contact-email-link:hover {
  color: var(--premier-warm-white);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.form-group label {
  font-family: var(--premier-font-ui);
  font-size: var(--premier-type-body-sm);
  font-weight: 600;
  color: rgba(247, 244, 236, 0.8);
  letter-spacing: 0.02em;
}

.form-optional {
  font-weight: 400;
  color: rgba(247, 244, 236, 0.45);
}

.form-group input,
.form-group textarea {
  font-family: var(--premier-font-ui);
  font-size: var(--premier-type-body);
  color: var(--premier-ink-text);
  background: var(--premier-warm-white);
  border: 1px solid var(--premier-border-neutral);
  border-radius: var(--premier-radius-sm);
  padding: 0.65rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--premier-premier-gold);
  box-shadow: 0 0 0 3px rgba(199, 154, 69, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  align-self: flex-start;
}

.form-success {
  background: rgba(247, 244, 236, 0.07);
  border: 1px solid rgba(199, 154, 69, 0.3);
  border-radius: var(--premier-radius-sm);
  padding: var(--s8);
  color: var(--premier-warm-white);
  line-height: 1.65;
}

.form-success p + p {
  margin-top: var(--s3);
  color: rgba(247, 244, 236, 0.72);
}

.form-error {
  margin-top: var(--s4);
  font-size: var(--premier-type-body-sm);
  color: rgba(230, 197, 117, 0.9);
}

.form-error a {
  color: inherit;
}

/* Visually hidden — used to hide honeypot label from sighted users */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--premier-shadow-navy);
  border-top: 1px solid rgba(199, 154, 69, 0.12);
  padding-block: var(--s12);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--s8);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s6);
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-nav {
  display: flex;
  gap: var(--s6);
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: var(--premier-type-body-sm);
  color: rgba(247, 244, 236, 0.55);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--premier-warm-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s4);
  border-top: 1px solid rgba(247, 244, 236, 0.07);
  padding-top: var(--s8);
}

.footer-copy {
  font-size: var(--premier-type-caption);
  color: rgba(247, 244, 236, 0.35);
}

.footer-social a {
  font-size: var(--premier-type-body-sm);
  font-weight: 600;
  color: rgba(247, 244, 236, 0.55);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-social a:hover {
  color: var(--premier-warm-light-gold);
}
