/*
Theme Name: Katherine Wyers
Theme URI: https://katherinewyers.com
Author: Katherine Wyers
Description: A custom WordPress theme for KatherineWyers.com.
Version: 1.0.0
Text Domain: katherinewyers
*/

:root {
  --black: #000;
  --white: #fff;
  --grey: #565656;
  --red: #a3241a;
  --header-height: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; top: 12px; left: 12px; transform: translateY(-150%); background: var(--black); color: var(--white); font-weight: 700; font-size: .95rem; padding: 14px 22px; z-index: 1000; transition: transform .15s ease; }
.skip-link:focus { transform: translateY(0); }
header { border-bottom: 1px solid var(--black); position: sticky; top: 0; z-index: 200; background: var(--white); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.wordmark { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
nav ul { display: flex; gap: 36px; list-style: none; }
nav a { position: relative; display: inline-block; padding: 6px 0; font-size: .9rem; font-weight: 500; }
nav a:hover, nav a:focus-visible { border-bottom: 1px solid var(--black); }
.nav-toggle { display: none; position: relative; width: 32px; height: 32px; padding: 0; background: none; border: 0; cursor: pointer; flex-shrink: 0; }
.nav-toggle-icon { position: absolute; inset: 0; }
.nav-toggle-bar { display: block; position: absolute; left: 4px; right: 4px; height: 2px; background: var(--black); transition: transform .2s ease, opacity .2s ease, top .2s ease; }
.nav-toggle-bar:nth-child(1) { top: 10px; }
.nav-toggle-bar:nth-child(2) { top: 15px; }
.nav-toggle-bar:nth-child(3) { top: 20px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { top: 15px; transform: rotate(-45deg); }
.hero { padding: 110px 0 90px; border-bottom: 1px solid var(--black); }
.hero h1 { font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 5.4rem; line-height: .98; letter-spacing: -.03em; max-width: 920px; }
.hero-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; align-items: start; }
.hero-sub p { font-size: 1.15rem; line-height: 1.5; max-width: 46ch; }
.hero-sub p + p { margin-top: 1.2em; }
.hero-question { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 2rem !important; line-height: 1.2 !important; letter-spacing: -.01em; }
.hero-cta { display: inline-block; padding: 2px 0; font-size: 1rem; font-weight: 600; margin-top: 28px; }
.hero-cta:hover, .hero-cta:focus-visible, .link:hover, .link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.philosophy { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 64px 0; border-bottom: 1px solid var(--black); }
.philosophy h2, .pillars-head h2, .spotlight h2, .contact h2 { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 1.4rem; letter-spacing: -.01em; }
.philosophy p { font-size: 1.35rem; line-height: 1.5; font-weight: 500; max-width: 62ch; letter-spacing: -.005em; }
.philosophy p + p { margin-top: 1.2em; }
.pillars-head { padding: 48px 0 0; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--black); border-bottom: 1px solid var(--black); margin-top: 28px; }
.pillar { padding: 44px 40px 48px; display: flex; flex-direction: column; gap: 18px; }
.pillar:nth-child(even) { border-left: 1px solid var(--black); padding-right: 0; }
.pillar:nth-child(n+3) { border-top: 1px solid var(--black); }
.pillar:nth-child(odd) { padding-left: 0; }
.pillar h3, .contact-options h3, .contact-form-head { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.pillar .tagline { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.pillar .bio { font-size: 1rem; line-height: 1.6; color: var(--grey); max-width: 52ch; flex-grow: 1; }
.pillar .bio p + p { margin-top: 1em; }
.pillar .link { display: inline-block; align-self: flex-start; margin-top: auto; font-size: .95rem; font-weight: 600; padding-top: 4px; }
.spotlight { padding: 56px 0 90px; border-bottom: 1px solid var(--black); }
.spotlight-grid, .contact-grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.spotlight-content { border-left: 3px solid var(--red); padding-left: 28px; }
.spotlight-content p { font-size: 1.2rem; line-height: 1.55; font-weight: 500; max-width: 68ch; letter-spacing: -.005em; }
.spotlight-content p + p { margin-top: 1.2em; }
.spotlight-content .link { display: inline-block; margin-top: 24px; font-size: .95rem; font-weight: 600; }
.contact { padding: 56px 0 90px; }
.contact-intro { font-size: 1rem; line-height: 1.55; color: var(--grey); max-width: 48ch; margin-bottom: 20px; }
.contact-intro + .contact-intro { margin-top: -4px; }
.contact-layout { display: grid; grid-template-columns: minmax(0,560px); gap: 56px; margin-top: 40px; }
.contact-options h3, .contact-form-head { margin-bottom: 20px; }
.contact-option { display: block; padding: 20px 0; border-top: 1px solid var(--black); }
.contact-option:last-child { border-bottom: 1px solid var(--black); }
.contact-option-label { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.contact-option-value { display: inline-block; font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; overflow-wrap: anywhere; }
.contact-option:hover .contact-option-value, .contact-option:focus-visible .contact-option-value { text-decoration: underline; text-underline-offset: 4px; }
.contact-form { max-width: 560px; }
.captcha-row { margin-bottom: 24px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.captcha-row input { width: 80px; font: inherit; padding: 10px 12px; border: 1px solid var(--black); margin-left: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.form-row .field { margin-bottom: 0; }
.field label { font-size: .85rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.field input, .field textarea { font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--black); background: var(--white); border: 1px solid var(--black); padding: 12px 14px; width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.btn-submit { display: inline-block; background: var(--black); color: var(--white); border: 1px solid var(--black); font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 1rem; padding: 16px 32px; cursor: pointer; }
.btn-submit:hover { background: var(--red); border-color: var(--red); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-notice { margin-top: 20px; }
.form-notice:empty { display: none; }
.form-notice:not(:empty) { padding: 16px 20px; border: 1px solid var(--black); font-size: .92rem; font-weight: 600; }
footer { border-top: 1px solid var(--black); padding: 26px 0; font-size: .82rem; color: var(--grey); }
footer .wrap { display: flex; justify-content: space-between; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 2.9rem; }
  .hero-sub { grid-template-columns: 1fr; gap: 24px; }
  .philosophy { grid-template-columns: 1fr; gap: 20px; padding: 44px 0; }
  .philosophy p { font-size: 1.1rem; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(odd), .pillar:nth-child(even) { border-left: 0; border-top: 1px solid var(--black); padding: 28px 4px; }
  .pillar:first-child { border-top: 0; }
  .pillar .link { margin-top: 0; }
  .spotlight-grid, .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-layout { grid-template-columns: minmax(0,1fr); gap: 40px; margin-top: 32px; }
  .contact-form { max-width: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .field { margin-bottom: 24px; }
  .nav-toggle { display: block; }
  #nav-collapse { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; overflow: hidden; z-index: 100; }
  #nav-collapse.is-open { grid-template-rows: 1fr; }
  #primary-nav-list { overflow: hidden; min-height: 0; flex-direction: column; gap: 0; border-bottom: 1px solid var(--black); }
  #primary-nav-list li { border-bottom: 1px solid var(--black); }
  #primary-nav-list li:last-child { border-bottom: 0; }
  #primary-nav-list a { display: block; padding: 16px 22px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
