/* ===========================================================
   Christa & Co. - Executive Image Consultant
   KosmiClix Marketing + Design
   Palette pulled from the logo: deep navy + warm gold + ivory
   =========================================================== */

:root {
  /* Sampled straight from the logo artwork and the business card. */
  --navy-950: #01131D;
  --navy-900: #021C2B;
  --navy-850: #02253A;
  --navy-800: #02324C;   /* brand navy, the logo letterforms */
  --navy-700: #043E5F;
  --navy-600: #0A5076;

  /* The artwork's gold is #E3B217. At full saturation that reads neon against
     the dark navy, so the screen palette pulls the saturation back while holding
     the same hue. The print artwork itself is untouched. */
  --gold:      #C9A227;
  --gold-soft: #E7D199;
  --gold-deep: #8E7118;

  /* Metallic gold. Dark edges into a light centre is what reads as a sheen
     on a surface rather than a flat fill. Three ramps, because a button, a
     hairline and small type each need a different amount of contrast:
     the button ramp never goes dark enough to hurt its navy label, and the
     text ramp never goes dark at all. */
  --gold-grad:      linear-gradient(103deg, #B08A22 0%, #D4B04A 24%, #F4E7BC 50%, #D4B04A 76%, #B08A22 100%);
  --gold-grad-text: linear-gradient(103deg, #C9A227 0%, #EBD693 40%, #F6EDCD 54%, #D9BB5A 78%, #C9A227 100%);
  --gold-grad-rule: linear-gradient(90deg,  #8E7118 0%, #C9A227 18%, #F4E7BC 50%, #C9A227 82%, #8E7118 100%);

  --ivory:  #F5F2EC;
  --cream:  #EAE4D9;
  --mist:   #A8BACA;
  --muted:  #7E93A6;

  --maxw: 1180px;
  --gut: 28px;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --script: "Pinyon Script", cursive;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: .005em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Grain overlay, the "moody" texture ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: 820px; }
section { position: relative; }
.pad-xl { padding: 140px 0; }
.pad-lg { padding: 110px 0; }
.pad-md { padding: 80px 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: .01em;
  line-height: 1.12;
  margin: 0;
}
h1 { font-size: clamp(2.9rem, 6.4vw, 5.1rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.25; }
p  { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--serif);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}
.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.8;
  color: var(--ivory);
  font-weight: 300;
}
.muted { color: var(--mist); }
.serif-em { font-family: var(--serif); font-style: italic; color: var(--gold-soft); }

/* Gold hairline, the signature device from the logo */
.rule {
  width: 100%;
  height: 1px;
  background: var(--gold-grad-rule);
  border: 0;
  margin: 0;
}
.rule-short { width: 86px; height: 1px; background: var(--gold-grad-rule); border: 0; margin: 0 0 30px; }
.rule-center { margin-left: auto; margin-right: auto; }

/* ---------- Gradient gold type ---------- */
/* Guarded: without background-clip the flat `color` above still applies, so
   these never render as invisible text. Kept off the small field labels,
   where a ramp costs more legibility than the sheen is worth. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .eyebrow,
  .hero h1 em,
  .serif-em,
  .step .n,
  .card .num,
  .quote-band cite {
    background-image: var(--gold-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
  .step .n, .hero h1 em { background-image: var(--gold-grad); }
}

/* ---------- Brand logo ---------- */
.brand { display: block; line-height: 0; }
.brand-img { height: 60px; width: auto; }
.foot-logo { height: 78px; width: auto; margin-bottom: 22px; }

/* ---------- Header ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
/* The blurred bar lives on a pseudo element, never on .site-head itself.
   A backdrop-filter on the header would make it the containing block for
   its own position:fixed children, which traps the mobile nav inside it. */
.site-head::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(1, 19, 29, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .35s ease;
}
.site-head.scrolled::before { opacity: 1; }
.site-head.scrolled {
  padding: 13px 0;
  border-bottom-color: rgba(201,162,39,.22);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: 38px; }
.nav a {
  white-space: nowrap;
  font-size: .78rem;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 400;
  padding: 6px 0;
  position: relative;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold); transition: width .3s ease;
}
.nav a:hover { color: var(--gold-soft); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .20em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.btn:hover { background: var(--gold); color: var(--navy-900); }
.btn-solid {
  background: var(--gold-grad);
  background-size: 190% 100%;
  background-position: 30% 0;
  color: var(--navy-950);
  border-color: #D4B04A;
  font-weight: 500;
  transition: background-position .55s ease, color .3s ease;
}
.btn-solid:hover { background-position: 78% 0; color: var(--navy-950); }
.btn-sm { padding: 12px 26px; font-size: .72rem; }

/* ---------- Mobile nav ---------- */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 34px; height: 26px; position: relative; padding: 0;
  flex: none;
}
.nav-toggle span {
  position: absolute; left: 0; width: 100%; height: 1px; background: var(--cream);
  transition: transform .3s ease, opacity .25s ease;
}
.nav-toggle span:nth-child(1) { top: 3px; }
.nav-toggle span:nth-child(2) { top: 12px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) contrast(1.05) brightness(.72); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--navy-950) 4%, rgba(2,28,43,.90) 42%, rgba(2,28,43,.46) 74%, rgba(2,28,43,.66) 100%),
    radial-gradient(120% 90% at 18% 48%, rgba(1,19,29,.72) 0%, transparent 62%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 170px var(--gut) 110px; }
.hero-copy { max-width: 720px; }
.hero h1 { margin-bottom: 30px; }
.hero h1 .ln { display: block; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .lede { max-width: 540px; margin-bottom: 44px; color: var(--cream); }
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  border-top: 1px solid rgba(201,162,39,.25);
  background: rgba(1,19,29,.40);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-foot ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-foot li {
  padding: 24px 28px;
  font-family: var(--serif);
  font-size: .8rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cream);
  border-right: 1px solid rgba(201,162,39,.18);
  text-align: center;
}
.hero-foot li:last-child { border-right: 0; }

/* ---------- Page banner (interior pages) ---------- */
.banner { position: relative; padding: 200px 0 110px; overflow: hidden; }
.banner-media { position: absolute; inset: 0; z-index: 0; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.5) brightness(.6); }
.banner-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, var(--navy-950) 10%, rgba(2,28,43,.86) 55%, rgba(2,28,43,.60) 100%);
}
.banner .wrap { position: relative; z-index: 2; }
.banner h1 { max-width: 15ch; }
.banner .lede { max-width: 560px; margin-top: 26px; }

/* ---------- Split panels ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 86px; }
.split.tight { gap: 64px; }
.split-media { position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) brightness(.86); }
.split-media .frame {
  position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid rgba(201,162,39,.42);
  z-index: -1;
}
.split-media.portrait img { aspect-ratio: 4 / 5; }
.split-media.lift img { filter: saturate(.72) brightness(1.32); }
.split-body h2 { margin-bottom: 26px; }

/* ---------- Alternating section tones ---------- */
.tone-deep { background: var(--navy-950); }
.tone-base { background: var(--navy-900); }
.tone-mid  { background: var(--navy-850); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(201,162,39,.22); border: 1px solid rgba(201,162,39,.22); }
.card { background: var(--navy-900); padding: 54px 38px; transition: background .35s ease; }
.card:hover { background: var(--navy-850); }
.card .num {
  font-family: var(--serif);
  font-size: .78rem; letter-spacing: .3em; color: var(--gold); display: block; margin-bottom: 22px;
}
.card h3 { margin-bottom: 16px; }
.card p { font-size: .97rem; color: var(--mist); margin: 0; }

/* ---------- Service blocks (How I Help) ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 96px 0; border-bottom: 1px solid rgba(201,162,39,.16); }
.svc:last-of-type { border-bottom: 0; }
.svc:nth-child(even) .svc-media { order: 2; }
.svc-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; filter: saturate(.6) brightness(.84); }
.svc h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; }
.ticks li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid rgba(168,186,202,.14); font-size: .97rem; color: var(--cream); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 19px;
  width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg);
}

/* ---------- Quote band ---------- */
.quote-band { position: relative; overflow: hidden; padding: 130px 0; text-align: center; }
.quote-band .bg { position: absolute; inset: 0; z-index: 0; }
.quote-band .bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.42); }
.quote-band .bg::after { content: ""; position: absolute; inset: 0; background: rgba(1,19,29,.62); }
.quote-band .wrap { position: relative; z-index: 2; }
.quote-band blockquote {
  margin: 0 auto; max-width: 940px;
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.34; color: var(--ivory);
}
.quote-band cite {
  display: block; margin-top: 34px; font-family: var(--sans); font-style: normal;
  font-size: .76rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(201,162,39,.24); }
.step { padding: 44px 30px 10px; border-right: 1px solid rgba(201,162,39,.16); }
.step:last-child { border-right: 0; }
.step .n {
  font-family: var(--serif); font-size: 2.9rem; font-weight: 300; color: var(--gold); line-height: 1; display: block; margin-bottom: 18px;
}
.step h3 { font-size: 1.22rem; margin-bottom: 12px; }
.step p { font-size: .93rem; color: var(--mist); margin: 0; }

/* ---------- Credentials ---------- */
.creds { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; }
.creds li { padding: 18px 0; border-bottom: 1px solid rgba(168,186,202,.16); display: flex; gap: 20px; align-items: baseline; }
.creds li:first-child { border-top: 1px solid rgba(168,186,202,.16); }
.creds .k { font-family: var(--serif); font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); min-width: 130px; flex: none; }
.creds .v { font-size: .99rem; color: var(--cream); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: 124px 0; background: var(--navy-950); }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 140% at 50% 0%, rgba(10,80,118,.46) 0%, transparent 62%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { margin-bottom: 22px; }
.cta-band .lede { max-width: 620px; margin: 0 auto 42px; color: var(--mist); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 86px; align-items: start; }
.field { margin-bottom: 24px; }
.field label {
  display: block; font-family: var(--serif); font-size: .74rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,.035);
  border: 1px solid rgba(168,186,202,.26);
  color: var(--ivory); font-family: var(--sans); font-size: 1rem; font-weight: 300;
  padding: 14px 16px; transition: border-color .25s, background .25s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(255,255,255,.06);
}
.field select option { background: var(--navy-900); color: var(--ivory); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 18px; }

.alert { padding: 18px 22px; border: 1px solid var(--gold); background: rgba(201,162,39,.10); margin-bottom: 34px; font-size: .97rem; color: var(--ivory); }
.alert.bad { border-color: #C96A50; background: rgba(201,106,80,.12); }

.contact-aside { border-left: 1px solid rgba(201,162,39,.26); padding-left: 44px; }
.contact-aside h3 { font-size: 1.3rem; margin-bottom: 18px; }
.contact-list { list-style: none; margin: 0 0 42px; padding: 0; }
.contact-list li { padding: 13px 0; border-bottom: 1px solid rgba(168,186,202,.14); }
.contact-list .k { display: block; font-family: var(--serif); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.contact-list a:hover { color: var(--gold-soft); }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy-950); border-top: 1px solid rgba(201,162,39,.24); padding: 76px 0 34px; }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 56px; padding-bottom: 50px; }
.foot-top p { font-size: .95rem; color: var(--mist); max-width: 40ch; margin: 26px 0 0; }
.foot-col h4 { font-family: var(--serif); font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 11px; font-size: .95rem; color: var(--mist); }
.foot-col a:hover { color: var(--gold-soft); }
.foot-bot {
  border-top: 1px solid rgba(168,186,202,.14); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted);
}
.foot-bot a:hover { color: var(--gold-soft); }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .split, .svc, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc:nth-child(even) .svc-media { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid rgba(201,162,39,.16); }
  .step:nth-child(2) { border-right: 0; }
  .contact-aside { border-left: 0; border-top: 1px solid rgba(201,162,39,.26); padding-left: 0; padding-top: 44px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .split-media .frame { display: none; }
  /* Stacked, these would otherwise run at full natural height and leave
     big dead areas where the photo is dark. Crop them instead. */
  .split-media img { aspect-ratio: 4 / 3; }
  .split-media.portrait img { aspect-ratio: 4 / 5; max-height: 540px; }
}

@media (max-width: 760px) {
  :root { --gut: 22px; }
  body { font-size: 16px; }
  .pad-xl { padding: 86px 0; }
  .pad-lg { padding: 72px 0; }
  .pad-md { padding: 56px 0; }
  /* Must sit above the .nav overlay or the close X is painted under it. */
  .nav-toggle { display: block; flex: none; position: relative; z-index: 95; }
  .head-inner { gap: 14px; }
  .nav {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(1,19,29,.985);
    flex-direction: column; justify-content: center; gap: 30px;
    transform: translateY(-100%); transition: transform .42s cubic-bezier(.4,0,.2,1);
  }
  .nav-open .nav { transform: none; }
  .nav a { font-size: 1.05rem; letter-spacing: .22em; }
  .nav .btn { margin-top: 14px; }
  .site-head { padding: 16px 0; }
  .brand-img { height: 44px; }
  .head-inner { position: relative; z-index: 95; }
  .hero-inner { padding: 136px var(--gut) 150px; }
  .hero-foot ul { grid-template-columns: 1fr; }
  .hero-foot li { border-right: 0; border-bottom: 1px solid rgba(201,162,39,.18); padding: 15px 20px; font-size: .72rem; }
  .hero-foot li:last-child { border-bottom: 0; }
  .banner { padding: 150px 0 72px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; padding: 32px 0 6px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .card { padding: 40px 28px; }
  .svc { padding: 64px 0; }
  .creds li { flex-direction: column; gap: 6px; }
}

@media (max-width: 400px) {
  .brand-img { height: 36px; }
}

/* Tablet range: the full nav still fits, but only if it tightens up. */
@media (min-width: 761px) and (max-width: 1040px) {
  .brand-img { height: 50px; }
  .nav { gap: 20px; }
  .nav a { font-size: .68rem; letter-spacing: .13em; }
  .btn-sm { padding: 10px 16px; font-size: .64rem; }
}
