/* ============================================================
   adriannepenullar.com — Portfolio CV Site
   Design system: matches onlinechemtutor.com family
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300;1,9..40,400&display=swap');

/* --- Tokens --- */
:root {
  --paper:          #fdfbf7;
  --linen:          #f5f0e8;
  --ink:            #2a2118;
  --brown:          #70655c;
  --stone:          #8a837b;
  --amber:          #C07820;
  --amber-dark:     #A06010;
  --terracotta:     #c4705a;
  --border-soft:    rgba(42,33,24,0.07);
  --radius:         12px;
  --max-w:          1100px;
  --max-w-narrow:   760px;
}

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

/* --- Layout helpers --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section        { padding: 88px 0; }
.section-alt    { padding: 88px 0; background: var(--linen); }
.section-dark   { padding: 88px 0; background: var(--ink); color: var(--paper); }

/* --- Eyebrow label --- */
.eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.eyebrow-amber { color: var(--amber); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.15;
  font-weight: 500;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; font-weight: 600; font-family: 'DM Sans', sans-serif; }
p  { color: var(--brown); font-size: 1.05rem; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 500; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 13px 26px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.15s;
  text-decoration: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #fff; }
.btn-ghost   { background: transparent; color: var(--ink); border: 1.5px solid var(--border-soft); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); opacity: 1; }

/* --- Header / Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,251,247,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.site-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.site-nav {
  display: flex;
  list-style: none;
  gap: 36px;
}
.site-nav a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--brown);
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--ink); }
.nav-cta { margin-left: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 200;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 32px;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav ul { list-style: none; }
.mobile-nav li { margin-bottom: 18px; }
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
}
.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--brown);
}
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: 190;
}
.mobile-nav-overlay.open { display: block; }

/* --- Hero --- */
.hero {
  padding: 96px 0 80px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
}
.hero-text h1 { margin-bottom: 20px; }
.hero-text .lead {
  font-size: 1.15rem;
  color: var(--brown);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(42,33,24,0.12);
}
.hero-photo figcaption {
  font-size: 0.8rem;
  color: var(--stone);
  font-style: italic;
  margin-top: 10px;
  text-align: center;
}

/* Credential pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 99px;
  background: var(--linen);
  color: var(--ink);
  border: 1px solid var(--border-soft);
}
.pill-amber { background: rgba(192,120,32,0.1); color: var(--amber-dark); border-color: rgba(192,120,32,0.2); }

/* CTA row */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* --- Stat strip --- */
.stat-strip {
  background: var(--linen);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 36px 0;
}
.stat-strip-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.stat-item {}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--stone);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* --- Section headings --- */
.section-head {
  margin-bottom: 52px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { max-width: 580px; font-size: 1.05rem; }

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}
.about-body p { font-size: 1.05rem; margin-bottom: 1.2rem; }
.about-sidebar {}
.sidebar-card {
  background: var(--linen);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 20px;
}
.sidebar-card h4 { margin-bottom: 14px; font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); }
.sidebar-card ul { list-style: none; }
.sidebar-card li {
  font-size: 0.92rem;
  color: var(--brown);
  padding: 7px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.sidebar-card li:last-child { border-bottom: none; }
.sidebar-card li::before {
  content: '→';
  color: var(--amber);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Philosophy --- */
.philosophy-wrap {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  text-align: center;
}
.philosophy-wrap h2 { margin-bottom: 24px; }
.philosophy-wrap .lead { font-size: 1.12rem; margin-bottom: 40px; }
.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}
.pillar {
  background: var(--paper);
  padding: 28px 24px;
}
.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--amber);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 12px;
}
.pillar h4 { font-size: 1rem; margin-bottom: 8px; color: var(--ink); }
.pillar p  { font-size: 0.9rem; margin: 0; }

/* --- Work samples --- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.work-card {
  background: var(--paper);
  padding: 32px 28px;
  transition: background 0.18s;
}
.work-card:hover { background: var(--linen); }
.work-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}
.work-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.work-card p { font-size: 0.9rem; margin: 0; }

/* --- Credentials / CV --- */
.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.cred-block h4 {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}
.cred-list { list-style: none; }
.cred-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-soft);
}
.cred-item:last-child { border-bottom: none; }
.cred-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
}
.cred-inst {
  font-size: 0.88rem;
  color: var(--brown);
}
.cred-year {
  font-size: 0.78rem;
  color: var(--stone);
  margin-top: 2px;
}

/* --- Hire / Coaching CTA band --- */
.cta-band {
  background: var(--ink);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { color: var(--paper); margin-bottom: 16px; }
.cta-band p  { color: rgba(253,251,247,0.72); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--linen); opacity: 1; }

/* --- Businesses --- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.biz-card {
  background: var(--paper);
  padding: 32px 28px;
  transition: background 0.18s;
  text-decoration: none;
  display: block;
}
.biz-card:hover { background: var(--linen); }
.biz-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  display: block;
}
.biz-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--ink); }
.biz-card p { font-size: 0.88rem; margin-bottom: 14px; }
.biz-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--amber);
  text-transform: uppercase;
}

/* --- Footer --- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(253,251,247,0.1);
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,251,247,0.45);
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif;
}
.footer-col p, .footer-col a {
  font-size: 0.9rem;
  color: rgba(253,251,247,0.7);
  line-height: 1.8;
  display: block;
}
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.8rem;
  color: rgba(253,251,247,0.35);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 12px;
  display: block;
}
.footer-bio {
  font-size: 0.88rem;
  color: rgba(253,251,247,0.6);
  line-height: 1.7;
  max-width: 300px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-inner       { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo       { order: -1; max-width: 420px; }
  .about-grid       { grid-template-columns: 1fr; }
  .philosophy-pillars { grid-template-columns: 1fr; }
  .work-grid        { grid-template-columns: 1fr; }
  .cred-grid        { grid-template-columns: 1fr; }
  .biz-grid         { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .site-nav         { display: none; }
  .nav-cta          { display: none; }
  .hamburger        { display: flex; }
}
@media (max-width: 600px) {
  .section, .section-alt, .section-dark { padding: 60px 0; }
  .hero { padding: 60px 0 48px; }
  .stat-strip-inner { justify-content: flex-start; gap: 32px; }
  .footer-grid      { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom    { flex-direction: column; align-items: flex-start; }
}

/* ── Footer social links ── */
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 28px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-social-link:hover {
  color: var(--amber, #C07820);
}
.footer-social-link svg {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.footer-social-link:hover svg {
  opacity: 1;
}
