/* ============================================================
   EddieOthon.com — Main Stylesheet
   Aesthetic: Desert Scholar — warm terracotta + deep sage,
   editorial typography, generous whitespace
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@400&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --sand:       #F5EFE0;
  --cream:      #FAF7F2;
  --terracotta: #C1674A;
  --rust:       #9E4A2E;
  --sage:       #4A6358;
  --deep-sage:  #2E4039;
  --ink:        #1C1C1A;
  --muted:      #6B6560;
  --border:     #DDD5C4;
  --white:      #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius:   6px;
  --radius-lg: 12px;
  --shadow:   0 2px 16px rgba(28,28,26,.08);
  --shadow-lg: 0 8px 40px rgba(28,28,26,.12);

  --nav-h: 68px;
  --max-w: 1160px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── Utility ────────────────────────────────────────────────── */
.container { width: min(var(--max-w), 100% - 2rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,242,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-sage);
  letter-spacing: -.02em;
}
.nav__logo span { color: var(--terracotta); }
.nav__links {
  display: flex; gap: 2rem;
  list-style: none;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.nav__links a {
  color: var(--muted);
  transition: color .2s;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
}
.nav__links a:hover,
.nav__links a.active { color: var(--terracotta); }
.nav__cta {
  background: var(--terracotta); color: var(--white);
  padding: .45rem 1.1rem;
  border-radius: var(--radius);
  font-size: .8rem; font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s;
}
.nav__cta:hover { background: var(--rust); }
.nav__hamburger { display: none; cursor: pointer; background: none; border: none; padding: .5rem; }
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); margin: 5px 0;
  transition: transform .3s, opacity .3s;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - var(--nav-h));
  background: var(--deep-sage);
  overflow: hidden;
  position: relative;
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 4rem 5rem 3rem;
  position: relative; z-index: 2;
}
.hero__kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(193,103,74,.12);
  border: 1px solid rgba(193,103,74,.3);
  padding: .3rem .8rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--sand);
  margin-bottom: 1.25rem;
  letter-spacing: -.03em;
}
.hero__h1 em { color: var(--terracotta); font-style: italic; }
.hero__sub {
  font-size: 1.05rem; color: rgba(245,239,224,.75);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-size: .875rem; font-weight: 500;
  letter-spacing: .02em;
  transition: all .2s;
  cursor: pointer; border: none;
}
.btn--primary { background: var(--terracotta); color: var(--white); }
.btn--primary:hover { background: var(--rust); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(193,103,74,.4); }
.btn--ghost { background: transparent; color: var(--sand); border: 1px solid rgba(245,239,224,.3); }
.btn--ghost:hover { background: rgba(245,239,224,.08); border-color: rgba(245,239,224,.6); }
.hero__image {
  position: relative; overflow: hidden;
}
.hero__image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.65) saturate(.9);
}
.hero__image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--deep-sage) 0%, transparent 40%);
}

/* ── Section shells ─────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section--alt { background: var(--sand); }
.section__kicker {
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: .75rem;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--deep-sage);
  margin-bottom: 1rem;
}
.section__lead {
  font-size: 1.05rem; color: var(--muted);
  max-width: 560px; line-height: 1.8;
  margin-bottom: 3rem;
}

/* ── Newsletter spotlight ────────────────────────────────────── */
.newsletter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 380px 1fr;
}
.newsletter-card__sidebar {
  background: var(--deep-sage);
  padding: 3rem 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.newsletter-card__badge {
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
  padding: .25rem .75rem; border-radius: 100px;
  width: fit-content; margin-bottom: 2rem;
}
.newsletter-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem; color: var(--sand);
  line-height: 1.25; font-weight: 700;
  margin-bottom: 1rem;
}
.newsletter-card__meta {
  font-size: .8rem; color: rgba(245,239,224,.55);
  letter-spacing: .04em;
}
.newsletter-card__content {
  padding: 3rem;
  overflow: hidden;
}
.newsletter-card__content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; color: var(--deep-sage);
  margin-bottom: 1rem;
}
.newsletter-card__content p {
  color: var(--muted); line-height: 1.8;
  margin-bottom: 1rem; font-size: .95rem;
}
.newsletter-card__content p:last-of-type { margin-bottom: 2rem; }

/* ── About strip ─────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  border-radius: var(--radius-lg);
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 2px solid var(--terracotta);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tag {
  font-size: .75rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--sage); font-weight: 500;
  background: var(--white);
}

/* ── Roles grid ──────────────────────────────────────────────── */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.role-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.role-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--terracotta);
  transition: height .3s;
}
.role-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.role-card:hover::before { height: 100%; }
.role-card__icon {
  font-size: 1.75rem; margin-bottom: 1rem;
}
.role-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--deep-sage);
  margin-bottom: .5rem;
}
.role-card__desc {
  font-size: .875rem; color: var(--muted);
  line-height: 1.7;
}
.role-card__link {
  display: inline-block; margin-top: 1rem;
  font-size: .8rem; font-weight: 500;
  color: var(--terracotta);
  letter-spacing: .04em;
}
.role-card__link:hover { text-decoration: underline; }

/* ── Contact section ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem; color: var(--deep-sage);
  margin-bottom: .75rem;
}
.contact-info p { color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }
.contact-detail {
  display: flex; align-items: center; gap: .75rem;
  font-size: .9rem; color: var(--ink);
  margin-bottom: .75rem;
}
.contact-detail span { font-size: 1.1rem; }

/* ── Form ────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .8rem; font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(193,103,74,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(245,239,224,.6);
  padding: 3.5rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--sand);
  margin-bottom: .75rem;
}
.footer__brand span { color: var(--terracotta); }
.footer__tagline { font-size: .875rem; line-height: 1.7; }
.footer__head {
  font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sand);
  margin-bottom: 1rem; font-weight: 500;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: .5rem; }
.footer__links a { font-size: .875rem; transition: color .2s; }
.footer__links a:hover { color: var(--terracotta); }
.footer__bottom {
  border-top: 1px solid rgba(245,239,224,.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem;
}

/* ── Alert messages ──────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: .9rem;
}
.alert--success { background: #EBF5F0; border: 1px solid #4A6358; color: var(--deep-sage); }
.alert--error   { background: #FDF0ED; border: 1px solid var(--terracotta); color: var(--rust); }

/* ── Page header (inner pages) ───────────────────────────────── */
.page-header {
  background: var(--deep-sage);
  padding: 5rem 0 4rem;
  text-align: center;
}
.page-header__kicker {
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: .75rem;
}
.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--sand); font-weight: 700;
  line-height: 1.15; letter-spacing: -.025em;
}
.page-header__sub {
  margin-top: 1rem;
  font-size: 1rem; color: rgba(245,239,224,.7);
  max-width: 540px; margin-inline: auto;
  line-height: 1.75;
}

/* ── Newsletter page ─────────────────────────────────────────── */
.newsletter-issue {
  max-width: 740px; margin-inline: auto;
}
.newsletter-issue h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--deep-sage);
  margin: 2rem 0 .75rem;
}
.newsletter-issue p { color: var(--muted); line-height: 1.85; margin-bottom: 1.25rem; }
.newsletter-issue ul {
  padding-left: 1.5rem; color: var(--muted);
  margin-bottom: 1.25rem; line-height: 1.85;
}
.newsletter-issue blockquote {
  border-left: 3px solid var(--terracotta);
  padding: .75rem 1.5rem;
  background: var(--sand);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--deep-sage);
  margin: 1.5rem 0;
}
.newsletter-archive { margin-top: 3rem; }
.newsletter-archive__item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: .75rem;
  transition: box-shadow .2s;
}
.newsletter-archive__item:hover { box-shadow: var(--shadow); }
.newsletter-archive__title { font-weight: 500; color: var(--deep-sage); }
.newsletter-archive__date { font-size: .8rem; color: var(--muted); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__text { padding: 4rem 1.5rem; }
  .hero__image { height: 320px; }
  .hero__image::after { background: linear-gradient(180deg, var(--deep-sage) 0%, transparent 40%); }

  .newsletter-card { grid-template-columns: 1fr; }
  .newsletter-card__sidebar { padding: 2.5rem 2rem; }

  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 400px; }

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

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: .5rem; text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: block; }
}

@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__kicker  { animation: fadeUp .6s .1s both; }
.hero__h1      { animation: fadeUp .6s .25s both; }
.hero__sub     { animation: fadeUp .6s .4s both; }
.hero__actions { animation: fadeUp .6s .55s both; }
