/* ==========================================================================
   Prestige Commercial Solutions LLC — one-page marketing site
   Design tokens per design handoff (colors in OKLCH).
   ========================================================================== */

:root {
  /* Surfaces */
  --bg:              oklch(0.985 0.003 80);   /* warm off-white page */
  --bg-raised:       oklch(0.99 0.003 80);    /* cards, nav */
  --bg-nav:          oklch(0.99 0.003 80 / 0.94);
  --bg-muted:        oklch(0.93 0.008 75);    /* light gray section */
  --bg-dark:         oklch(0.16 0.005 60);    /* trust strip, CTA band */
  --bg-darkest:      oklch(0.13 0.005 60);    /* footer */

  /* Text */
  --text:            oklch(0.18 0.005 60);
  --text-heading:    oklch(0.16 0.005 60);
  --text-body:       oklch(0.38 0.008 60);
  --text-body-soft:  oklch(0.42 0.008 60);
  --text-nav:        oklch(0.3 0.008 60);
  --text-on-dark:    oklch(0.96 0.005 75);
  --text-on-dark-2:  oklch(0.78 0.008 70);
  --text-footer:     oklch(0.72 0.008 75);
  --text-footer-mut: oklch(0.55 0.005 70);
  --text-footer-fin: oklch(0.5 0.005 70);

  /* Brand */
  --gold:            oklch(0.6 0.1 78);
  --gold-link:       oklch(0.55 0.1 78);
  --gold-link-hover: oklch(0.45 0.1 78);
  --gold-on-dark:    oklch(0.7 0.1 78);
  --on-gold:         oklch(0.15 0.005 60);

  /* Lines */
  --line:            oklch(0.88 0.01 70);
  --line-nav:        oklch(0.88 0.015 70);
  --line-footer:     oklch(0.28 0.008 60);

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1400px;
  --gutter: 6vw;
  --section-y: 90px;

  /* Elevation */
  --shadow-hero:
    0 4px 12px -2px oklch(0.16 0.005 60 / 0.35),
    0 40px 70px -24px oklch(0.16 0.005 60 / 0.55),
    0 70px 110px -30px oklch(0.16 0.005 60 / 0.4);
  --shadow-photo: 0 12px 24px -14px oklch(0.16 0.005 60 / 0.35);
}

/* --- Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--gold-link); text-decoration: none; }
a:hover { color: var(--gold-link-hover); }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-heading);
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-link);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
}

.section {
  padding: var(--section-y) var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--on-gold);
  padding: 12px 20px;
  font-weight: 700;
  z-index: 50;
}
.skip-link:focus { left: var(--gutter); }

/* --- Shared bits --------------------------------------------------------- */

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-link);
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 50px;
}
.section-head h2 {
  font-weight: 900;
  font-size: 36px;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

.btn {
  display: inline-block;
  padding: 16px 30px;
  border-radius: 0;          /* squared CTAs — deliberate, do not round */
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--primary {
  background: var(--gold);
  color: var(--on-gold);
}
.btn--primary:hover {
  background: var(--gold-link);
  color: var(--on-gold);
}
.btn--outline {
  border: 1.5px solid var(--text);
  color: var(--text);
}
.btn--outline:hover {
  background: var(--text);
  color: var(--bg);
}

/* --- Nav ----------------------------------------------------------------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-nav);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-nav);
}

.nav__logo { height: 72px; width: auto; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  color: var(--text-nav);
  font-weight: 600;
  font-size: 15px;
}
.nav__links a:hover { color: var(--gold-link-hover); }

.nav__phone {
  background: var(--gold);
  color: var(--on-gold);
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}
.nav__phone:hover { background: var(--gold-link); color: var(--on-gold); }

/* --- Hero ---------------------------------------------------------------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 80px var(--gutter) 90px;
  max-width: var(--wrap);
  margin-inline: auto;
}

.hero__copy {
  flex: 1 1 480px;
  min-width: 300px;
  animation: fadeUp 0.7s ease both;
}
.hero__copy .eyebrow { margin-bottom: 18px; }

.hero__copy h1 {
  font-weight: 900;
  font-size: 52px;
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero__lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 520px;
  margin: 0 0 34px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__media { flex: 1 1 420px; min-width: 300px; }

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: var(--shadow-hero);
}

/* --- Trust strip --------------------------------------------------------- */

.trust {
  background: var(--bg-dark);
  color: oklch(0.94 0.005 75);
  padding: 24px var(--gutter);
}
.trust ul {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* --- Services ------------------------------------------------------------ */

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
}

/* Hairline dividers come from each card's own outline rather than a bleed-through
   container background — 9 cards rarely fill the last row, and a bled background
   would leave a visible empty cell there. */
.service {
  background: var(--bg-raised);
  padding: 32px 28px;
  outline: 1px solid var(--line);
}

.service__chip {
  width: 34px;
  height: 34px;
  background: oklch(0.6 0.1 78 / 0.16);
  border-radius: 2px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service__chip::after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--gold);
}

.service h3 {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}

.service p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-body-soft);
  margin: 0;
}

.callout {
  margin-top: 24px;
  padding: 26px 28px;
  background: var(--bg-muted);
  border-left: 3px solid var(--gold);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-nav);
}
.callout strong { color: var(--text-heading); }

/* --- Gallery ------------------------------------------------------------- */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery__grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow-photo);
}

/* --- Process ------------------------------------------------------------- */

.process {
  background: var(--bg-muted);
  padding: var(--section-y) var(--gutter);
}
.process .section-head { margin-bottom: 56px; }

.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}

.step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: oklch(0.6 0.1 78 / 0.5);
  margin-bottom: 14px;
}
.step h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}
.step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0;
}

/* --- CTA band ------------------------------------------------------------ */

.cta {
  padding: 80px var(--gutter);
  text-align: center;
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.cta h2 {
  font-weight: 900;
  font-size: 32px;
  margin-bottom: 18px;
  color: inherit;
}
.cta p {
  font-size: 16px;
  color: var(--text-on-dark-2);
  margin: 0 0 30px;
}
.cta .btn { border-radius: 2px; padding-inline: 34px; }

/* --- Footer -------------------------------------------------------------- */

.footer {
  padding: 56px var(--gutter) 44px;
  background: var(--bg-darkest);
  color: var(--text-footer);
}

.footer__top {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer__plate {
  background: var(--bg-raised);
  padding: 10px 16px;
  border-radius: 2px;
  display: flex;
  align-items: center;
}
.footer__plate img { height: 64px; width: auto; }

.footer__address,
.footer__contact {
  font-size: 14px;
  line-height: 1.7;
  font-style: normal;
}
.footer__contact a { color: var(--gold-on-dark); }
.footer__contact a:hover { color: var(--gold); }
.footer__hours { margin-top: 6px; color: var(--text-footer-mut); }

.footer__legal {
  max-width: var(--wrap);
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-footer);
  font-size: 12.5px;
  color: var(--text-footer-fin);
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 900px) {
  :root { --section-y: 64px; }

  .hero { padding-top: 56px; padding-bottom: 64px; }
  .hero__copy h1 { font-size: 40px; }
  .hero__lede { font-size: 17px; }

  .section-head h2,
  .process .section-head h2 { font-size: 30px; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); }

  .trust ul { justify-content: flex-start; gap: 14px 28px; }
}

@media (max-width: 680px) {
  :root { --gutter: 22px; }

  .nav {
    position: static;          /* stacked nav is too tall to pin on phones */
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    text-align: center;
  }
  .nav__logo { height: 56px; margin-inline: auto; }
  .nav__right {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .nav__links {
    justify-content: space-between;
    gap: 12px;
  }
  .nav__phone { text-align: center; }

  .hero__copy h1 { font-size: 32px; }
  .hero__ctas .btn { flex: 1 1 100%; text-align: center; }

  .gallery__grid { grid-template-columns: 1fr; }

  .cta h2 { font-size: 26px; }
  .cta .btn { display: block; }

  .footer__top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__copy { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
