/* ============================================
   NUMEN STUDIO — Main Stylesheet
   Palette: Warm authority (Option A)
   ============================================ */

/* ── Variables ──────────────────────────────── */
:root {
  --color-dark:       #2D3A42;
  --color-bg:         #FAFAF7;
  --color-accent:     #B8755D;
  --color-text:       #1A1A1A;
  --color-text-muted: #6B7280;
  --color-divider:    #E8E5E0;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --max-body:  720px;
  --max-wide: 1100px;
  --section-v: 96px;
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; }
body  {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img   { max-width: 100%; display: block; }
ul    { list-style: none; }
a     { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--color-dark);
  line-height: 1.15;
}
p { margin-bottom: 1.375rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout helpers ─────────────────────────── */
.container {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 2rem;
}
.container--narrow {
  max-width: var(--max-body);
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: var(--section-v) 0;
}
.section + .section {
  border-top: 1px solid var(--color-divider);
}
.section--dark {
  background-color: var(--color-dark);
}
.section--dark h2,
.section--dark h3,
.section--dark p { color: rgba(255,255,255,0.88); }
.section--dark h2,
.section--dark h3 { color: #fff; }

/* ── Site header / Navigation ───────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--color-dark);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav__bar {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo:hover { text-decoration: none; color: #fff; }

.nav__links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}
.nav__links a {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.18s;
}
.nav__links a:hover,
.nav__links a.active { color: #fff; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #fff;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  background-color: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 2rem 1.5rem;
}
.nav__mobile.is-open { display: block; }
.nav__mobile a {
  display: block;
  padding: 0.7rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a.active,
.nav__mobile a:hover { color: #fff; }

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  padding: 0.875rem 2rem;
  border-radius: 2px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s;
  line-height: 1;
}
.btn--primary {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background-color: #a56450;
  border-color: #a56450;
  color: #fff;
  text-decoration: none;
}
.btn--outline {
  background-color: transparent;
  color: var(--color-dark);
  border-color: var(--color-divider);
}
.btn--outline:hover {
  border-color: var(--color-dark);
  color: var(--color-dark);
  text-decoration: none;
}
.btn--outline-light {
  background-color: transparent;
  color: rgba(255,255,255,0.82);
  border-color: rgba(255,255,255,0.28);
}
.btn--outline-light:hover {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  text-decoration: none;
}

/* ── Hero ───────────────────────────────────── */
.hero {
  padding: 110px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero__decoration {
  position: absolute;
  right: -180px;
  top: 50%;
  transform: translateY(-50%);
  width: 540px;
  height: 540px;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.125rem, 5vw, 3.625rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-dark);
  max-width: 840px;
  margin-bottom: 1.5rem;
}
.hero__subhead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}
.hero__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── About page hero (two-column) ──────────── */
.about-hero {
  border-bottom: 1px solid var(--color-divider);
  padding: 80px 0 60px;
}
.about-hero__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 4.5rem;
  align-items: stretch;
}
.about-hero__photo {
  flex: 0 0 400px;
  overflow: hidden;
  border-radius: 7px;
}
.about-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-hero__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-hero__text .hero__headline {
  max-width: 100%;
}
.about-hero__text .hero__subhead {
  max-width: 100%;
  margin-bottom: 0;
}

/* ── Proof bar ──────────────────────────────── */
.proof-bar {
  padding: 30px 0;
  background-color: var(--color-accent);
}
.proof-bar__text {
  font-size: 0.8125rem;
  color: #fff;
  text-align: center;
  line-height: 1.85;
  letter-spacing: 0.015em;
}
.proof-bar__sep {
  margin: 0 0.75rem;
  color: rgba(255,255,255,0.45);
}
.proof-bar__item {
  display: inline;
}

/* ── Section labels / headings ──────────────── */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.875rem;
}
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.18;
  margin-bottom: 1.5rem;
}
.section-heading--light { color: #fff; }

/* ── Body prose ─────────────────────────────── */
.prose p {
  font-size: 1.0625rem;
  line-height: 1.82;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}
.prose p:last-child { margin-bottom: 0; }

/* ── Differentiator cards (2×2 grid) ────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--color-divider);
}
.diff-card {
  padding: 2.5rem;
  border-right: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.diff-card:nth-child(even)   { border-right: none; }
.diff-card:nth-child(3),
.diff-card:nth-child(4)      { border-bottom: none; }
.diff-card__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.875rem;
  line-height: 1.3;
}
.diff-card__body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text);
}

/* ── Approach cards (numbered, stacked) ─────── */
.approaches {
  border: 1px solid var(--color-divider);
}
.approach {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.75rem;
  padding: 2.75rem 3rem;
  border-bottom: 1px solid var(--color-divider);
}
.approach:last-child { border-bottom: none; }
.approach__num {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  padding-top: 0.3rem;
  flex-shrink: 0;
}
.approach__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.2rem;
  line-height: 1.25;
}
.approach__context {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.approach__body {
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--color-text);
}
.approach__body p { margin-bottom: 0.75rem; }
.approach__body p:last-child { margin-bottom: 0; }
.approach__link {
  display: inline-block;
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.approach__link:hover { color: #a56450; }

/* ── Credentials strip ──────────────────────── */
.credentials {
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding: 2.75rem 0;
}
.credentials__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.cred__label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.cred__value {
  font-size: 0.9375rem;
  color: var(--color-dark);
  line-height: 1.5;
}
.cred__value em {
  font-family: var(--font-serif);
  font-style: italic;
}

/* ── Quiet CTA section ──────────────────────── */
.cta-block {
  padding: 80px 2rem;
  text-align: center;
}
.cta-block__text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.5625rem);
  line-height: 1.55;
  color: var(--color-dark);
  max-width: 620px;
  margin: 0 auto 2rem;
}
.cta-block--dark .cta-block__text { color: rgba(255,255,255,0.9); }

/* ── Contact layout ─────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  align-items: start;
}

/* Form */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background-color: #fff;
  border: 1px solid var(--color-divider);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.18s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--color-accent); }
.form-group textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.65;
}

/* Contact sidebar */
.contact-info__item { margin-bottom: 2rem; }
.contact-info__label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.45rem;
}
.contact-info__value {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.5;
}
.contact-info__value a {
  color: var(--color-dark);
}
.contact-info__value a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* Form alerts */
.form-errors {
  background: #fff8f6;
  border: 1px solid #e0a898;
  border-left: 4px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  border-radius: 2px;
}
.form-errors p {
  font-size: 0.9rem;
  color: #7a3a28;
  margin-bottom: 0;
}

/* ── Footer ─────────────────────────────────── */
.footer {
  background-color: var(--color-dark);
  padding: 3.5rem 0 2rem;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.footer__brand-logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}
.footer__brand-logo:hover { text-decoration: none; color: #fff; }
.footer__tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
}
.footer__contact a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.18s;
}
.footer__contact a:hover { color: #fff; text-decoration: none; }
.footer__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.footer__location { color: rgba(255,255,255,0.35); }

/* ── Horizontal rule / section divider ──────── */
.hr { border: none; border-top: 1px solid var(--color-divider); }

/* ── AI section callout ─────────────────────── */
.callout {
  padding: 2.75rem 3rem;
  border: 1px solid var(--color-divider);
  border-left: 4px solid var(--color-accent);
  background-color: #fff;
  margin-top: 3rem;
}
.callout p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}
.callout p:last-child { margin-bottom: 0; }

/* ── Bio headshot ───────────────────────────── */
.bio-photo {
  display: block;
  width: 280px;
  max-width: 100%;
  margin-bottom: 40px;
}
.bio-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-divider);
}

/* ── Thank-you state (PHP response) ─────────── */
.thankyou-box {
  padding: 3rem;
  background: #fff;
  border: 1px solid var(--color-divider);
  border-left: 4px solid var(--color-accent);
  max-width: 560px;
}
.thankyou-box h2 {
  font-size: 1.625rem;
  margin-bottom: 0.75rem;
}
.thankyou-box p {
  font-size: 1rem;
  color: var(--color-text-muted);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .hero__decoration { opacity: 0; }

  .about-hero__inner {
    flex-direction: column;
    gap: 2rem;
  }
  .about-hero__photo {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
    max-height: 320px;
    border-radius: 6px;
    margin-left: auto;
    margin-right: auto;
  }
  .about-hero__text {
    padding: 0;
  }
}

@media (max-width: 960px) {
  .diff-grid  { grid-template-columns: 1fr; }
  .diff-card  { border-right: none; }
  .diff-card:nth-child(1),
  .diff-card:nth-child(2),
  .diff-card:nth-child(3) { border-bottom: 1px solid var(--color-divider); }
  .diff-card:nth-child(4) { border-bottom: none; }

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

  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }

  .approach {
    padding: 2rem 2.25rem;
    grid-template-columns: 44px 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 700px) {
  :root { --section-v: 64px; }

  .nav__links  { display: none; }
  .nav__toggle { display: flex; }

  .hero { padding: 72px 0 60px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; text-align: center; }

  .approach {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 1.75rem;
  }
  .approach__num { padding-top: 0; }

  .footer__top   { flex-direction: column; gap: 1.5rem; }
  .footer__bottom { flex-direction: column; gap: 0.4rem; text-align: center; }
  .footer__location { text-align: center; }

  .callout { padding: 2rem; }
}

@media (max-width: 480px) {
  .container,
  .container--narrow { padding: 0 1.25rem; }

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

  .diff-card { padding: 2rem 1.5rem; }

  .proof-bar__sep  { display: none; }
  .proof-bar__item { display: block; padding: 0.2rem 0; }
}
