/* Julia Hugg — consulting site
   Palette drawn from Julia Hugg Portfolio 2025: pale sage paper, deep forest serif. */
:root {
  --ink: #2d3a2b;
  --forest: #2b4a2f;
  --forest-deep: #1f3823;
  --paper: #eceee8;
  --paper-soft: #f4f5f0;
  --muted: #5d685a;
  --accent: #3d6b45;
  --accent-dark: #2b4a2f;
  --border: #d6dccf;
  --card: #f7f8f3;
  --max: 1060px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif {
  font-family: "Bitter", "Iowan Old Style", Palatino, Georgia, serif;
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--forest-deep);
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--forest-deep); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  border-bottom: 1px solid var(--border);
  background: var(--paper);
  position: sticky; top: 0; z-index: 10;
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 16px 24px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
}
.nav-name { font-family: "Bitter", Georgia, serif; font-weight: 600; color: var(--forest-deep); font-size: 18px; }
.nav-links { display: flex; gap: 22px; font-size: 15px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--forest-deep); }

/* Hero */
.hero { padding: 76px 24px 72px; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.eyebrow {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(33px, 5vw, 52px); max-width: 17ch; margin-bottom: 24px; }
.hero .lede { font-size: clamp(18px, 2.2vw, 20px); color: var(--muted); max-width: 56ch; margin-bottom: 36px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 6px;
  font-weight: 600; font-size: 16px; transition: background 0.15s ease;
}
.btn-primary { background: var(--forest); color: #f4f5f0; }
.btn-primary:hover { background: var(--forest-deep); color: #f4f5f0; }
.btn-ghost { border: 1.5px solid var(--forest); color: var(--forest-deep); background: transparent; }
.btn-ghost:hover { background: var(--card); }

/* Portrait */
.portrait-frame { position: relative; max-width: 340px; margin: 0 auto; }
.portrait {
  width: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 4.6;
  border-radius: 999px 999px 14px 14px;
  border: 1px solid var(--border);
}
.portrait-frame::after {
  content: ""; position: absolute; inset: -12px;
  border: 1px solid var(--forest); border-radius: 999px 999px 18px 18px;
  opacity: 0.35; pointer-events: none;
}

/* Sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--border); }
h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 18px; max-width: 26ch; }
.section-intro { color: var(--muted); max-width: 62ch; margin-bottom: 40px; font-size: 18px; }
.prose p { max-width: 68ch; margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

/* Services grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 26px 26px 24px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* Proof / logo wall */
.proof-groups { display: grid; gap: 38px; }
.proof-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: baseline; }
.logo-word {
  font-family: "Bitter", Georgia, serif;
  font-size: 23px; font-weight: 600; color: var(--forest);
  letter-spacing: 0.01em;
}
.logo-word small { display: block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; margin-top: 2px; }

/* Case study cards */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.case-card {
  display: block; background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 28px; color: var(--ink); transition: border-color 0.15s ease, transform 0.15s ease;
}
.case-card:hover { border-color: var(--forest); color: var(--ink); transform: translateY(-2px); }
.case-tag { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.case-card h3 { font-size: 22px; margin-bottom: 10px; }
.case-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.case-metric { font-family: "Bitter", Georgia, serif; font-size: 19px; font-weight: 600; color: var(--forest-deep); }
.case-metric small { display: block; font-family: inherit; font-weight: 400; font-size: 14px; color: var(--muted); }
.case-more { margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--accent); }

/* Industries */
.industry-row { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.industry-pill {
  font-size: 15px; color: var(--forest-deep); background: var(--card);
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 18px;
}

/* About */
.about-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.about-photo {
  width: 240px; border-radius: 12px; display: block;
  border: 1px solid var(--border);
}
@media (max-width: 640px) { .about-grid { grid-template-columns: 1fr; } .about-photo { width: 200px; } }

/* Contact / footer */
.contact { text-align: left; }
footer { border-top: 1px solid var(--border); padding: 34px 0 44px; color: var(--muted); font-size: 14.5px; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Case study page */
.case-hero { padding: 72px 24px 48px; }
.case-hero h1 { font-size: clamp(30px, 4.6vw, 44px); max-width: 22ch; margin: 14px 0 18px; }
.case-hero .lede { font-size: 19px; color: var(--muted); max-width: 60ch; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-size: 15px; color: var(--muted); }
.meta-row strong { color: var(--forest-deep); font-weight: 600; }
.results-band { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 34px; margin: 10px 0 26px; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; }
.result-stat { font-family: "Bitter", Georgia, serif; font-size: 31px; font-weight: 600; line-height: 1.1; color: var(--forest-deep); }
.result-stat small { display: block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14.5px; font-weight: 400; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.case-body h2 { font-size: 26px; margin: 44px 0 14px; }
.case-body ul { max-width: 66ch; margin: 0 0 18px 22px; }
.case-body li { margin-bottom: 10px; }
.back-link { font-size: 15px; font-weight: 600; }
.next-case { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); }
