/* Yellow Sapphire Consulting — static landing */
:root {
  --ink: #0c1222;
  --ink-muted: #3d4a63;
  --surface: #f6f3ec;
  --surface-warm: #fffcf7;
  --line: #e2ddd4;
  --gold: #8a6508;
  --gold-bright: #c9a227;
  --sapphire: #1e3a5f;
  --sapphire-deep: #0f1f35;
  --white: #ffffff;
  --shadow: 0 24px 60px -20px rgba(12, 18, 34, 0.18);
  --radius: 12px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface-warm);
}

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

a {
  color: var(--sapphire);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--sapphire);
  color: var(--white);
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--gold);
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-copy {
  display: grid;
  gap: 0.18rem;
  line-height: 0.96;
}

.brand-name {
  font-size: 1.24rem;
  color: var(--gold);
  transition: color 0.2s;
}

.brand-descriptor {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sapphire-deep);
}

.brand-descriptor::after {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: var(--sapphire-deep);
}

.site-header .brand:hover .brand-name {
  color: var(--gold-bright);
}

@media (max-width: 420px) {
  .brand-descriptor {
    display: none;
  }

  .brand-name {
    font-size: 1rem;
  }
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-main a {
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-main a:hover {
  color: var(--ink);
}

.nav-cta {
  display: none;
  padding: 0.5rem 1.1rem;
  background: var(--ink);
  color: var(--white) !important;
  border-radius: 6px;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: var(--sapphire);
  text-decoration: none;
}

@media (min-width: 720px) {
  .nav-cta {
    display: inline-block;
  }
}

.menu-btn {
  display: flex;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
  color: var(--ink);
}

@media (min-width: 720px) {
  .menu-btn {
    display: none;
  }
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1.5rem 1rem;
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  background: var(--surface-warm);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  color: var(--ink-muted);
  padding: 0.5rem 0;
  font-weight: 500;
}

/* Layout */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4.5rem 0;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 2.85rem);
  margin: 0 0 1rem;
  color: var(--sapphire-deep);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  margin: 0 0 1.25rem;
  color: var(--sapphire-deep);
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

p.lead {
  font-size: 1.12rem;
  color: var(--ink-muted);
  max-width: 38ch;
}

/* Hero */
.hero {
  padding: 2rem 0 4rem;
  background: linear-gradient(165deg, var(--surface-warm) 0%, #e8e4dc 100%);
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.hero-visual {
  position: relative;
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .hero-visual {
    margin-top: 0;
  }
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--sapphire);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--gold);
  text-decoration: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Services */
.services {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-intro {
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

.service-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.service-card h3,
.service-card p {
  padding: 0 1.25rem;
}

.service-card h3 {
  margin-top: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--sapphire-deep) 0%, var(--sapphire) 100%);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.cta-band h2,
.cta-band p {
  color: rgba(255, 255, 255, 0.92);
}

.cta-band p {
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-primary {
  background: var(--gold-bright);
  color: var(--ink);
  margin-top: 0.5rem;
}

.cta-band .btn-primary:hover {
  background: #ddb83a;
  color: var(--ink);
}

/* Approach */
.approach {
  background: var(--surface-warm);
}

.approach-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .approach-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.pill-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--ink-muted);
}

.pill-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.approach-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.approach-aside h3 {
  color: var(--sapphire);
}

/* Commitment */
.commitment {
  background: var(--white);
  border-top: 1px solid var(--line);
  text-align: center;
}

.commitment p {
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.commitment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Contact */
.contact {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--sapphire-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-bright);
  text-decoration: none;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.2fr;
  }
}

.footer-heading {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.site-footer .brand {
  color: var(--white);
  font-size: 1.05rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
  line-height: 1.5;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
}
