/* ============================================
   KATIE HURST — Custom Theme Stylesheet
   ============================================ */

:root {
  --color-bg:      #ffffff;
  --color-text:    #1a1a1a;
  --color-muted:   #6b7280;
  --color-border:  #e5e7eb;
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --max-width:     1200px;
  --section-pad:   5rem;
  --nav-height:    80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--color-bg); color: var(--color-text); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Header ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-height); background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-border); display: flex; align-items: center; }
.header-inner { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; gap: 2rem; }
.site-logo img { height: 44px; width: auto; }
.site-logo:hover { opacity: 0.8; }
.primary-nav { display: flex; align-items: center; gap: 0.25rem; margin-left: 1.5rem; }
.primary-nav a { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 0.75rem; border-radius: 4px; transition: background 0.2s; }
.primary-nav a:hover, .primary-nav a.current-menu-item { background: var(--color-border); }
.header-spacer { flex: 1; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-icon-link { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--color-border); transition: border-color 0.2s, background 0.2s, color 0.2s; }
.header-icon-link:hover { border-color: var(--color-text); background: var(--color-text); color: #fff; }
.header-icon-link svg { width: 16px; height: 16px; }
.btn-resume { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.45rem 1.1rem; border: 1.5px solid var(--color-text); border-radius: 4px; transition: background 0.2s, color 0.2s; }
.btn-resume:hover { background: var(--color-text); color: #fff; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); }

/* ── Page wrapper ── */
.page-content { margin-top: var(--nav-height); }

/* ── Hero ── */
.hero { min-height: calc(100vh - var(--nav-height)); display: grid; grid-template-columns: 1fr 1fr; align-items: center; max-width: var(--max-width); margin: 0 auto; padding: var(--section-pad) 2rem; gap: 4rem; }
.hero-text { position: relative; }
.hero-dots { position: absolute; top: -2rem; left: -1rem; opacity: 0.15; pointer-events: none; }
.dot-grid { width: 200px; height: 200px; background-image: radial-gradient(circle, var(--color-text) 1.5px, transparent 1.5px); background-size: 16px 16px; }
.hero-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 1.25rem; }
.hero-headline { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 700; line-height: 1.2; margin-bottom: 2rem; }
.hero-headline em { font-style: italic; color: var(--color-muted); }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.75rem 1.75rem; background: var(--color-text); color: #fff; border-radius: 4px; transition: opacity 0.2s, transform 0.2s; }
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }
.hero-image { position: relative; }
.hero-image::before { content: ''; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 1.5px solid var(--color-border); border-radius: 6px; z-index: 0; }
.hero-image img { position: relative; z-index: 1; width: 100%; max-height: 600px; object-fit: cover; border-radius: 6px; }
.hero-dots-2 { position: absolute; bottom: -2rem; right: -2rem; z-index: 2; opacity: 0.12; }

/* ── Image placeholder (shown until photos are set) ── */
.image-placeholder { width: 100%; min-height: 350px; border: 2px dashed var(--color-border); border-radius: 6px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--color-muted); font-size: 0.9rem; line-height: 1.6; padding: 2rem; }

/* ── About ── */
.section-about { background: #f9fafb; padding: var(--section-pad) 2rem; }
.section-about .inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 1rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.75rem, 2.5vw, 2.5rem); font-weight: 700; line-height: 1.25; margin-bottom: 1.5rem; }
.section-body { color: var(--color-muted); line-height: 1.8; margin-bottom: 1.25rem; }
.btn-outline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.7rem 1.5rem; border: 1.5px solid var(--color-text); border-radius: 4px; transition: background 0.2s, color 0.2s; margin-top: 0.75rem; }
.btn-outline:hover { background: var(--color-text); color: #fff; }
.about-image img { border-radius: 6px; width: 100%; object-fit: cover; }

/* ── Skills / Marquee ── */
.section-skills { padding: var(--section-pad) 2rem; overflow: hidden; }
.section-skills .inner { max-width: var(--max-width); margin: 0 auto 3rem; text-align: center; }
.skills-intro { color: var(--color-muted); max-width: 540px; margin: 0 auto 3rem; line-height: 1.75; }
.marquee-wrapper { overflow: hidden; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 1.25rem 0; }
.marquee-track { display: flex; animation: marquee 18s linear infinite; width: max-content; }
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 1.5rem; padding: 0 2.5rem; white-space: nowrap; font-family: var(--font-display); font-size: 1.2rem; font-style: italic; }
.marquee-item::after { content: '·'; font-style: normal; color: var(--color-border); font-size: 1.5rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Generic pages ── */
.page-hero { padding: 4rem 2rem 3rem; max-width: var(--max-width); margin: 0 auto; border-bottom: 1px solid var(--color-border); }
.page-hero-title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; }
.page-body { max-width: var(--max-width); margin: 0 auto; padding: 3rem 2rem var(--section-pad); }
.entry-content { font-size: 1.05rem; line-height: 1.8; color: var(--color-muted); max-width: 720px; }
.entry-content h2 { font-family: var(--font-display); font-size: 1.75rem; color: var(--color-text); margin: 2.5rem 0 1rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--color-border); padding: 2.5rem 2rem; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-copy { font-size: 0.82rem; color: var(--color-muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.82rem; font-weight: 500; color: var(--color-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--color-text); }

/* ── Scroll animations ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  :root { --section-pad: 3.5rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 3rem; gap: 2.5rem; }
  .hero-image { order: -1; }
  .hero-image::before { display: none; }
  .section-about .inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { display: none; }
}
@media (max-width: 640px) {
  :root { --nav-height: 68px; }
  .header-inner { padding: 0 1.25rem; }
  .primary-nav { display: none; }
  .primary-nav.is-open { display: flex; flex-direction: column; position: fixed; top: var(--nav-height); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem 1.5rem; gap: 0.25rem; z-index: 99; }
  .primary-nav.is-open a { font-size: 1rem; padding: 0.6rem 0; }
  .menu-toggle { display: flex; }
  .hero, .section-about, .section-skills { padding-left: 1.25rem; padding-right: 1.25rem; }
  .page-hero, .page-body { padding-left: 1.25rem; padding-right: 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
