/* Moonshine Inc — site styles
   Theme: deep navy + gold (from logo/business card), layout modeled on a clean
   single-column professional-services site. */

:root {
  --navy-900: #0b1626;
  --navy-800: #0f1f33;
  --navy-700: #16304d;
  --navy-600: #1f3f63;
  --gold-500: #c9a85c;
  --gold-400: #d8bb73;
  --gold-300: #e9d5a1;
  --cream: #f6f1e6;
  --grey-100: #f4f4f4;
  --grey-200: #e6e6e6;
  --grey-600: #5f6368;
  --ink: #1c1c1c;
  --white: #ffffff;
  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.site-header {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(201,168,92,.25);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 48px; width: auto; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .wordmark strong { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: .06em; color: var(--gold-400); }
.brand .wordmark span { font-family: var(--font-head); font-size: .62rem; letter-spacing: .32em; color: var(--gold-300); margin-top: 4px; text-transform: uppercase; }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a {
  font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white); text-decoration: none; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold-400); }
.nav-toggle { display: none; background: none; border: 1px solid var(--gold-400); color: var(--gold-400); padding: 8px 10px; border-radius: 4px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* Hero */
.hero {
  position: relative; min-height: 520px; display: grid; place-items: center; text-align: center;
  color: var(--white); background-color: var(--navy-800); background-size: cover; background-position: center;
  isolation: isolate;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,38,.35), rgba(11,22,38,.55)); z-index: -1; }
.hero .wrap { padding: 80px 24px; }
.hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.45); margin-bottom: .4em; }
.hero .tagline { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: clamp(.95rem, 1.6vw, 1.25rem); text-shadow: 0 2px 12px rgba(0,0,0,.5); color: var(--gold-300); margin: 0 0 2em; }
.hero.tall { min-height: 660px; }
.hero.short { min-height: 340px; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none; padding: 14px 30px; border-radius: 999px; border: 2px solid var(--gold-400);
  background: var(--gold-400); color: var(--navy-900); cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: var(--gold-300); border-color: var(--gold-300); }
.btn.ghost { background: transparent; color: var(--white); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.dark { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.btn.dark:hover { background: var(--navy-600); border-color: var(--navy-600); }

/* Sections */
.section { padding: 80px 0; }
.section.light { background: var(--grey-100); }
.section.navy { background: var(--navy-800); color: var(--white); }
.section.navy h2 { color: var(--gold-300); }
.section-intro { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-intro h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--gold-400); margin: 18px auto 0; }
.eyebrow { font-family: var(--font-head); font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 12px; }

/* Cards */
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--grey-200); border-top: 3px solid var(--gold-400);
  padding: 30px 28px; border-radius: 6px; box-shadow: 0 6px 24px rgba(11,22,38,.05);
}
.card h3 { color: var(--navy-800); margin-bottom: .5em; }
.card p { color: var(--grey-600); margin-bottom: .8em; }
.card a.more { font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; text-decoration: none; color: var(--navy-700); }
.card a.more:hover { color: var(--gold-500); }

/* Feature list (two-column bullets like the reference "What we do") */
.two-col { columns: 2; column-gap: 60px; max-width: 820px; margin: 0 auto; }
.two-col li { break-inside: avoid; margin-bottom: 12px; }
ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { position: relative; padding-left: 28px; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--gold-500); border-bottom: 2px solid var(--gold-500); transform: rotate(-45deg); }

/* Stats / steps */
.steps { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(201,168,92,.3); border-radius: 6px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--gold-400); display: block; margin-bottom: 8px; }
.step h3 { color: var(--white); }
.step p { color: rgba(255,255,255,.78); margin: 0; }

/* Service detail blocks */
.service { display: grid; gap: 40px; grid-template-columns: 1.1fr 1fr; align-items: start; padding: 56px 0; border-top: 1px solid var(--grey-200); scroll-margin-top: 100px; }
.service:first-of-type { border-top: 0; }
.service h2 { text-transform: none; letter-spacing: 0; font-size: 1.6rem; color: var(--navy-800); }
.service h2::before { content: ""; display: block; width: 44px; height: 3px; background: var(--gold-400); margin-bottom: 16px; }
.service .side { background: var(--grey-100); border-radius: 6px; padding: 26px 28px; }
.service .side h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 14px; }
.service .side ul { margin: 0; padding-left: 0; }
.service .side li { margin-bottom: 8px; }

/* About */
.about-grid { display: grid; gap: 48px; grid-template-columns: 1.15fr .85fr; align-items: start; }
.about-grid .portrait { border-radius: 6px; overflow: hidden; background: var(--navy-800); border: 1px solid var(--grey-200); }
.about-grid .portrait img { width: 100%; }
.about-grid .contact-lines { list-style: none; padding: 0; margin: 24px 0 0; }
.about-grid .contact-lines li { margin-bottom: 8px; }
.about-grid .contact-lines a { text-decoration: none; color: var(--navy-700); font-weight: 700; }
.about-grid .contact-lines a:hover { color: var(--gold-500); }
.credentials { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.credentials li { font-family: var(--font-head); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--navy-800); background: var(--cream); border: 1px solid var(--gold-300); padding: 6px 12px; border-radius: 999px; }

/* Contact */
.contact-grid { display: grid; gap: 56px; grid-template-columns: .9fr 1.1fr; align-items: start; }
.form label { display: block; font-family: var(--font-head); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--navy-800); margin: 0 0 6px; }
.form label small { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--grey-600); }
.form .row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form .field { margin-bottom: 18px; }
.form input, .form textarea {
  width: 100%; font: inherit; padding: 12px 16px; border: 1px solid #b9b9b9; border-radius: 999px; background: var(--white); color: var(--ink);
}
.form textarea { border-radius: 14px; min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold-400); border-color: var(--gold-400); }
.form .hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-weight: 700; min-height: 1.5em; }
.form-status.ok { color: #1f7a3a; }
.form-status.err { color: #a12a2a; }
.contact-side h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-500); margin: 24px 0 8px; }
.contact-side h3:first-child { margin-top: 0; }
.contact-side a { text-decoration: none; font-weight: 700; }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.15rem; text-transform: none; letter-spacing: 0; margin-top: 2em; color: var(--navy-800); }
.legal .updated { color: var(--grey-600); font-size: .9rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: var(--white); text-align: center; padding: 72px 0; }
.cta-band h2 { color: var(--gold-300); }
.cta-band p { max-width: 640px; margin: 0 auto 28px; color: rgba(255,255,255,.85); }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--white); padding: 56px 0 40px; border-top: 3px solid var(--gold-400); }
.site-footer .cols { display: grid; gap: 32px; grid-template-columns: repeat(3, 1fr); text-align: center; }
.site-footer h3 { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 10px; }
.site-footer p { margin: 0 0 4px; color: rgba(255,255,255,.88); font-size: .95rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.sub-footer { background: #1a1a1a; color: #cfcfcf; padding: 20px 0; font-size: .88rem; }
.sub-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: center; justify-content: space-between; }
.sub-footer a { color: #e6e6e6; margin-right: 24px; }

@media (max-width: 900px) {
  .service, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .two-col { columns: 1; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-header .wrap { height: 72px; }
  .brand img { height: 40px; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--navy-900); flex-direction: column; gap: 0; padding: 10px 24px 18px; border-bottom: 1px solid rgba(201,168,92,.3); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; }
  .hero { min-height: 420px; }
  .hero.tall { min-height: 520px; }
  .form .row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
