/* ============================================================
   KimberlyEllinwood.com — Stylesheet
   ============================================================ */

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

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Custom Properties ─────────────────────────────────── */
:root {
  --bg:      #FAF9F7;
  --ink:     #111110;
  --charcoal:#2C2C2A;
  --mid:     #6B6A68;
  --rule:    #DEDAD4;
  --maroon:  #6C1E2B;
  --serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --measure: 64ch;
  --max-w:   1180px;
  --gutter:  clamp(1.5rem, 6vw, 5rem);
}

/* ── Base ──────────────────────────────────────────────── */
body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(1.8rem, 3.8vw, 3.2rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.4rem, 2.8vw, 2.2rem); margin-bottom: 1.4rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 1rem; font-style: italic; }

p { max-width: var(--measure); margin-bottom: 1.4rem; }
p:last-of-type { margin-bottom: 0; }

a { color: var(--maroon); text-decoration: none; }
a:hover, a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }

/* ── Skip Link ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--gutter);
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  z-index: 9999;
}
.skip-link:focus { top: 0.6rem; }

/* ── Layout ────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ── Navigation ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo:hover, .site-logo:focus-visible { color: var(--maroon); text-decoration: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
}

.site-nav a {
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--maroon); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0;
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.nav-toggle:hover { color: var(--maroon); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline; }

@media (max-width: 740px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1.5rem var(--gutter) 2rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    display: block;
    padding: 0.8rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--rule);
    width: 100%;
  }
  .site-nav a:last-child { border-bottom: none; }
}

/* ── Section Helpers ───────────────────────────────────── */
.section-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 1.6rem;
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
}

/* ── CTA Links ─────────────────────────────────────────── */
.cta-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.1em;
  margin-top: 1.2rem;
}
.cta-link:hover, .cta-link:focus-visible {
  color: var(--maroon);
  border-bottom-color: var(--maroon);
  text-decoration: none;
}

/* ── Pull Quotes ───────────────────────────────────────── */
blockquote.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-weight: 400;
  line-height: 1.48;
  color: var(--charcoal);
  max-width: 50ch;
  margin: clamp(2rem, 4vw, 3rem) 0;
  padding-left: 1.8rem;
  border-left: 2px solid var(--maroon);
}
blockquote.pull-quote p { max-width: none; margin: 0; }

/* ── Photo Placeholders ────────────────────────────────── */
.photo-placeholder {
  width: 100%;
  background: #EDEBE6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
}
.photo-placeholder--portrait  { aspect-ratio: 3 / 4; }
.photo-placeholder--landscape { aspect-ratio: 4 / 3; }
.photo-placeholder--hero      { aspect-ratio: 5 / 6; }

.photo-placeholder__tag {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.6rem;
}
.photo-placeholder__note {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-style: italic;
  color: var(--mid);
  max-width: 28ch;
  line-height: 1.55;
  margin: 0;
}

/* ── Home Hero ─────────────────────────────────────────── */
.hero {
  padding-top: clamp(0.5rem, 1vw, 0.75rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule);
}

.hero__name-block { margin-bottom: clamp(0.8rem, 1.5vw, 1.2rem); }

.display-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.9vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: block;
  margin-bottom: 0;
}

.hero__tagline {
  font-family: var(--sans);
  font-size: clamp(0.88rem, 1.4vw, 1.05rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 1.2rem;
  margin-bottom: 0;
  max-width: none;
}

.hero__descriptor {
  font-family: var(--sans);
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  letter-spacing: 0.1em;
  color: var(--mid);
  margin-top: 0.5rem;
  margin-bottom: 0;
  max-width: none;
}

.hero__rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.hero__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.hero__intro p {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--charcoal);
  margin-bottom: 1.3rem;
}
.hero__intro p:first-child { font-weight: 500; }
.hero__intro p:last-of-type { margin-bottom: 0; }

@media (max-width: 780px) {
  .hero__body { grid-template-columns: 1fr; }
  .hero__photo { order: -1; }
}

/* ── Home Content Sections ─────────────────────────────── */
.home-sections { padding-bottom: clamp(2rem, 4vw, 3rem); }

.home-section { padding: clamp(2rem, 4vw, 3rem) 0; }
.home-section + .home-section { border-top: 1px solid var(--rule); }

.home-section__content { max-width: calc(var(--measure) + 4ch); }
.home-section__content p { color: var(--charcoal); }

.questions-home {
  margin: 1.8rem 0;
  padding-left: 1.4rem;
  border-left: 1px solid var(--rule);
}
.questions-home p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--mid);
  margin-bottom: 0.3rem;
  max-width: none;
}
.questions-home p:last-of-type { margin-bottom: 0; }

/* ── Page Hero (interior pages) ────────────────────────── */
.page-hero {
  padding-top: clamp(0.5rem, 1vw, 0.75rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.page-hero h1 { font-size: clamp(2rem, 4.5vw, 4rem); margin-bottom: 0; }

.page-intro {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.page-intro p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
  color: var(--charcoal);
}
.page-intro p + p { margin-top: 1rem; }

/* ── Page Sections (interior) ──────────────────────────── */
.page-section {
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.page-section + .page-section { border-top: 1px solid var(--rule); }
.page-section p { color: var(--charcoal); }

/* ── Current Role Block ────────────────────────────────── */
.current-role {
  background: transparent;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  margin: clamp(3rem, 7vw, 5rem) 0;
}
.current-role p { color: var(--charcoal); }

/* ── Credentials ───────────────────────────────────────── */
.credentials-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  max-width: var(--measure);
}
.credentials-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
}
.credentials-list li:first-child { border-top: 1px solid var(--rule); }
.credentials-list li:last-child { border-bottom: none; }
.cred-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink);
}
.cred-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--mid);
  margin-top: 0.15rem;
}

/* ── Questions Block (Creative Direction) ──────────────── */
.questions-block {
  padding: clamp(1rem, 2.5vw, 1.75rem) 0 clamp(1rem, 2.5vw, 1.75rem) 2rem;
  border-left: 2px solid var(--rule);
  margin: clamp(1.5rem, 3.5vw, 2.5rem) 0;
}
.questions-block p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.65;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  max-width: none;
}
.questions-block p:last-of-type { margin-bottom: 0; }

/* ── Areas of Experience ───────────────────────────────── */
.areas-grid {
  columns: 2;
  column-gap: 4rem;
  margin-top: 1.5rem;
  max-width: var(--measure);
}
.areas-grid li {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--charcoal);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  break-inside: avoid;
  list-style: none;
}
.areas-grid li:last-child { border-bottom: none; }

@media (max-width: 600px) {
  .areas-grid { columns: 1; }
}

/* ── Photo Row (Creative Direction) ────────────────────── */
.photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}
@media (max-width: 600px) {
  .photo-row { grid-template-columns: 1fr; }
}

/* ── Belong Differently Page ───────────────────────────── */
.bd-wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 5.5rem);
  letter-spacing: -0.01em;
  line-height: 1.0;
  color: var(--ink);
  display: block;
}

.bd-tagline {
  display: block;
  font-family: var(--sans);
  font-size: clamp(0.72rem, 1.4vw, 0.88rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 1.2rem;
}

.current-work-item {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--rule);
}
.current-work-item:last-of-type { border-bottom: 1px solid var(--rule); }

.work-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--ink);
  display: block;
}

.disclaimer {
  font-family: var(--sans);
  font-size: 0.76rem;
  color: var(--mid);
  font-style: italic;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  max-width: var(--measure);
}

/* ── About Page ────────────────────────────────────────── */
.about-photo img {
  width: 100%;
  display: block;
  max-width: 420px;
}

.about-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
@media (max-width: 780px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
}

.contact-block {
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

/* ── Contact Form ──────────────────────────────────────── */
.contact-form {
  margin-top: 2rem;
  max-width: 48ch;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.contact-form__field label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}

.contact-form__field input,
.contact-form__field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 0.5rem 0;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-bottom-color: var(--ink);
}

.contact-form__field textarea {
  resize: vertical;
  line-height: 1.65;
}

.contact-form__submit {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 0.1em;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.contact-form__submit:hover {
  color: var(--maroon);
  border-bottom-color: var(--maroon);
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 600px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  display: block;
  margin-bottom: 0.4rem;
}
.footer-sub {
  font-size: 0.78rem;
  color: var(--mid);
  max-width: none;
  margin-bottom: 0.25rem;
}
.footer-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  max-width: none;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}
@media (max-width: 600px) {
  .footer-links { flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
}
.footer-links a {
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
}
.footer-links a:hover { color: var(--maroon); text-decoration: none; }

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.7rem;
  color: var(--mid);
  margin-top: 2rem;
  max-width: none;
}
