/* ============================================================
   Enzed Consulting — stylesheet
   Style: engaging but traditional
   Palette: deep navy, bronze/gold accent, warm cream
   Type:   Cormorant Garamond (serif headings) + Source Sans 3 (body)
   ============================================================ */

:root {
  --navy:        #262d2b;   /* charcoal-ink (primary dark) */
  --navy-deep:   #191e1d;
  --bronze:      #5f8268;   /* muted sage-green (accent) */
  --bronze-dark: #4c6b54;
  --cream:       #f5f5f1;
  --cream-2:     #e8e8e0;
  --ink:         #2a302e;
  --muted:       #5b635f;
  --line:        #dcdcd2;
  --white:       #ffffff;
  --shadow:      0 10px 30px rgba(25, 30, 29, 0.10);
  --shadow-sm:   0 4px 14px rgba(25, 30, 29, 0.07);
  --maxw:        1140px;
  --radius:      4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; }

a { color: var(--bronze); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }

img, svg { max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--cream2 { background: var(--cream-2); }
.section--navy   { background: var(--navy); color: #d6dad7; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: "Source Sans 3", sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bronze);
  margin-bottom: 14px;
}

.lead { font-size: 1.22rem; color: var(--muted); max-width: 60ch; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.rule {
  width: 64px; height: 3px; background: var(--bronze);
  border: 0; margin: 18px 0 28px;
}
.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.5px;
  padding: 14px 30px;
  border-radius: var(--radius);
  transition: all .2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn--primary { background: var(--bronze); color: var(--white); }
.btn--primary:hover { background: var(--navy); color: var(--white); }
.btn--outline { border-color: var(--bronze); color: var(--bronze); background: transparent; }
.btn--outline:hover { background: var(--bronze); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 245, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem; font-weight: 700; color: var(--navy);
}
.brand-tag {
  font-size: 0.62rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--bronze); font-weight: 600;
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink); font-weight: 600; font-size: 0.96rem;
  padding: 6px 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--bronze); transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy); }
.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; color: var(--navy);
}
.nav-toggle svg { height: 26px; width: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(25,30,29,.95), rgba(38,45,43,.88)),
    radial-gradient(circle at 80% 20%, rgba(95,130,104,.30), transparent 45%);
  color: #eef0ee;
  padding: 110px 0 96px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .eyebrow { color: var(--bronze); }
.hero-sub { font-size: 1.3rem; color: #c8cdc9; max-width: 56ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Credentials strip ---------- */
.creds {
  background: var(--navy-deep);
  border-top: 3px solid var(--bronze);
}
.creds-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px;
  list-style: none; margin: 0; padding: 26px 24px;
}
.creds-list li {
  color: #aec3b4; font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.4px; display: flex; align-items: center; gap: 10px;
}
.creds-list li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--bronze); flex: none;
}
/* Keep the credentials on a single row from desktop up; font and gaps scale
   to the viewport so the long items still fit. Wraps below 992px. */
@media (min-width: 992px) {
  .creds-list { flex-wrap: nowrap; gap: 0 clamp(10px, 2vw, 24px); }
  .creds-list li {
    white-space: nowrap; gap: 8px;
    font-size: clamp(0.66rem, 1.05vw, 0.8rem); letter-spacing: 0.3px;
  }
  .creds-list li::before { width: 6px; height: 6px; }
}

/* ---------- Generic grid ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card-icon {
  width: 46px; height: 46px; margin-bottom: 18px; color: var(--bronze);
}
.card-icon svg { width: 100%; height: 100%; }

/* ---------- Feature list (ticks) ---------- */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative; padding: 0 0 16px 38px; color: var(--ink);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bronze);
}
.ticks li::after {
  content: ""; position: absolute; left: 7px; top: 10px;
  width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.ticks--two { columns: 2; column-gap: 48px; }
.ticks--two li { break-inside: avoid; }

/* ---------- Split (image-ish / text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.portrait {
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  border-radius: var(--radius);
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.portrait::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(95,130,104,.35), transparent 55%);
}
.portrait .monogram {
  font-family: "Cormorant Garamond", serif; font-size: 8rem; color: rgba(255,255,255,.12);
  font-weight: 700; position: relative; z-index: 2;
}
.portrait .portrait-label {
  position: absolute; bottom: 26px; left: 26px; right: 26px; z-index: 2;
  color: #cfdcd3;
}
.portrait .portrait-label strong { color: #fff; font-size: 1.1rem; display: block; }

/* ---------- Quote / verbatim block ---------- */
.quote {
  background: var(--white);
  border-left: 4px solid var(--bronze);
  padding: 38px 44px;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--ink);
}
.quote p:last-child { margin-bottom: 0; }

/* ---------- Steps / expectations ---------- */
.expect { counter-reset: step; }
.expect .card { position: relative; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info p { color: var(--muted); }
.contact-meta { list-style: none; padding: 0; margin: 26px 0 0; }
.contact-meta li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-meta .ic { color: var(--bronze); flex: none; width: 24px; height: 24px; margin-top: 3px; }
.contact-meta strong { display: block; color: var(--navy); }

.form { background: var(--white); padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--cream); color: var(--ink); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--bronze); background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c5ccc7; max-width: 56ch; margin: 0 auto 28px; font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #a3aca7; padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 38px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #909a94; font-size: 0.96rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: "Source Sans 3", sans-serif; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #a3aca7; font-size: 0.96rem; }
.footer-col a:hover { color: var(--bronze); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: #828b86;
}

/* ---------- Page header (sub pages) ---------- */
.page-head {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #eef0ee; padding: 86px 0 70px; text-align: center;
}
.page-head h1 { color: #fff; }
.page-head p { color: #c5ccc7; max-width: 60ch; margin: 0 auto; font-size: 1.18rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .ticks--two { columns: 1; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .section { padding: 60px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--cream); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 10px 24px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 10px; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-cta { margin: 0; }
  .nav-toggle { display: block; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 70px; }
  .quote { padding: 28px 26px; }
}
