/* ==========================================================================
   Maureen Shannon — clean static rebuild
   Faithful reconstruction of the GoDaddy export; no builder runtime.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Open Sans', arial, sans-serif;

  --ink: #151515;
  --ink-soft: #1b1b1b;
  --body: #5e5e5e;
  --footer: #595959;
  --panel: #f3f3f3;
  --hero-panel: #f5f5f5;
  --white: #ffffff;
  --border: #151515;

  --container-max: 1160px;
  --side-pad: 24px;
  --content-col: 725px;
}

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-display.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans.woff2') format('woff2');
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; color: var(--ink); margin: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

/* ==========================================================================
   Header
   Desktop: logo centered in a bordered box, nav centered below.
   Mobile:  hamburger left, logo centered; drawer slides in.
   ========================================================================== */
.site-header {
  background: var(--white);
  padding-top: 56px;
}
.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 54px;
}
.logo {
  display: inline-block;
  border: 1px solid var(--border);
  padding: 8px 24px;
  text-decoration: none;
}
.logo h3 {
  font-size: 24px;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
}
.site-nav ul {
  display: flex;
  justify-content: center;
  gap: 52px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 24px;
}
.site-nav a {
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
}
@media (min-width: 1536px) {
  .site-nav a { font-size: 16px; }
}
.site-nav a:hover,
.site-nav a.active {
  border-bottom-color: #000000;
}

/* Mobile menu button (hidden on desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle svg { display: block; }

/* Mobile drawer */
.mobile-menu {
  display: none;
}

@media (max-width: 767px) {
  .site-header { padding-top: 0; }
  .header-inner {
    position: relative;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 35px var(--side-pad) 31px;
  }
  .logo { padding: 4px 16px; }
  .logo h3 { font-size: 18px; }
  .menu-toggle {
    display: block;
    position: absolute;
    left: var(--side-pad);
    top: 50%;
    transform: translateY(-50%);
    padding: 8px;
  }
  .menu-toggle svg { width: 32px; height: 32px; }
  .site-nav { display: none; }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--panel);
    padding: 24px;
    z-index: 100;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
  }
  .mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
  }
  .mobile-menu ul {
    list-style: none;
    margin: 56px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .mobile-menu a {
    font-family: var(--font-sans);
    font-size: 22px;
    color: var(--ink-soft);
    text-decoration: none;
  }
  .mobile-menu a.active { font-weight: 700; }
  .menu-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none;
    border: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--ink);
  }
}

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
  display: flex;
  align-items: stretch;
  background: var(--white);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}
.hero-media {
  flex: 0 0 667px;
  max-width: 667px;
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--hero-panel);
  padding: 48px 40px;
}
.hero-content h1 {
  font-family: var(--font-sans);
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: 0.7px;
  color: var(--ink);
}

/* Tablet (744-899px, incl. iPad Mini): stack the hero, center image and text block */
@media (max-width: 899px) and (min-width: 744px) {
  .hero { flex-direction: column; margin-top: 40px; }
  .hero-media { flex: none; max-width: 667px; margin: 0 auto; }
  .hero-content { max-width: 667px; margin: 0 auto; }
}

@media (max-width: 767px) {
  .hero { flex-direction: column; margin-top: 40px; }
  .hero-media { flex: none; max-width: none; }
  .hero-content { padding: 32px 24px; margin: 0 auto; }
  .hero-content h1 { font-size: 28px; }
}

/* ==========================================================================
   Content sections (home bio, about, news, contact)
   ========================================================================== */
.content-section {
  padding: 25px 0;
}
.content-col {
  max-width: var(--content-col);
  margin: 0 auto;
  padding: 0;
}
.content-col p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  margin: 0 0 28px;
}
.content-col p:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
  .content-col { padding: 0 var(--side-pad); }
}

/* About: image + text row */
.about-row {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin: 40px 0;
}
.about-media {
  flex: 0 0 339px;
}
.about-media img {
  width: 100%;
  height: auto;
}
.about-text {
  flex: 1;
}
@media (max-width: 767px) {
  .about-row { flex-direction: column; gap: 24px; margin: 24px 0; }
  .about-media { flex-basis: auto; }
}

/* In the news */
.page-heading {
  text-align: center;
  padding-top: 40px;
}
.page-heading h1 {
  font-size: 32px;
  line-height: 1.2;
  color: var(--ink);
}
.news-list {
  list-style: disc;
  margin: 24px auto 365px;
  padding: 0 var(--side-pad) 0 40px;
  max-width: 640px;
  text-align: left;
  display: block;
}
.news-list li {
  margin-bottom: 5px;
}
.news-list a {
  font-size: 16px;
}

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-form {
  max-width: var(--content-col);
  margin: 0 auto;
  padding: 40px 0 40px;
}
.contact-form h1 {
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  text-align: left;
  margin-bottom: 24px;
}
.form-field {
  position: relative;
  margin-bottom: 20px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e2e2e2;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 23px 8px 8px;
  color: var(--ink);
  background: transparent;
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--ink);
}
.form-field textarea {
  border: 1px solid #e2e2e2;
  min-height: 146px;
  padding: 24px 8px 8px;
  resize: vertical;
}
.form-field label {
  position: absolute;
  left: 8px;
  top: 24px;
  font-size: 16px;
  color: var(--body);
  pointer-events: none;
  transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}
.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label {
  top: 6px;
  font-size: 12px;
}
.form-field .error-msg {
  display: none;
  color: #c0392b;
  font-size: 13px;
  margin-top: 4px;
}
.form-field.invalid .error-msg { display: block; }
.form-field.invalid input,
.form-field.invalid textarea { border-bottom-color: #c0392b; }

.form-submit {
  margin-top: 8px;
}
.form-submit button {
  width: 100%;
  background: #000000;
  color: #c6c6c6;
  border: 0;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 3px;
  padding: 8px 32px;
  min-height: 56px;
  cursor: pointer;
}
.form-submit button:hover { color: #ffffff; }
.form-submit button:disabled { opacity: 0.5; cursor: default; }

@media (max-width: 767px) {
  .contact-form { padding: 40px var(--side-pad) 40px; }
}

.form-status {
  display: none;
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
}
.form-status.success { color: #16a34a; }
.form-status.error { color: #dc2626; }

.recaptcha-note {
  font-size: 12px;
  color: var(--footer);
  margin-top: 24px;
  text-align: center;
}
.recaptcha-note a { text-decoration: underline; }

/* ==========================================================================
   Social links
   ========================================================================== */
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 40px 20px;
}
.social-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.social-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px #0003;
}
.social-btn i,
.social-btn svg {
  width: 18px;
  height: 18px;
}
.social-btn--linkedin { background: #0A66C2; }
.social-btn--x { background: #000000; }
.social-btn--crunchbase { background: #0288D1; }
.social-btn--linktree { background: #43E660; }
.social-btn--medium { background: #000000; }
.social-btn--f6s { background: #f16c4f; }
.social-btn--youtube { background: #FF0000; }
.social-btn--issuu { background: #F36E21; }
.social-btn--aboutme { background: #1E90FF; }

.social-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  margin-bottom: 6px;
  padding: 4px 10px;
  background: #1a1a2e;
  color: #fff;
  font-size: 12.5px;
  white-space: nowrap;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, transform 0.18s;
}
.social-btn::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-2px);
  margin-bottom: 0;
  border: 5px solid transparent;
  border-top-color: #1a1a2e;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, transform 0.18s;
  pointer-events: none;
}
.social-btn:hover::after,
.social-btn:hover::before {
  opacity: 1;
  visibility: visible;
}
.social-btn:hover::after {
  transform: translateX(-50%) translateY(-10px);
}
.social-btn:hover::before {
  transform: translateX(-50%) translateY(-8px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 40px 0;
  text-align: center;
}
.site-footer p {
  margin: 0;
  font-size: 12px;
  color: var(--footer);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   404
   ========================================================================== */
.notfound {
  text-align: center;
  padding: 120px 24px;
}
.notfound h1 { font-size: 40px; margin-bottom: 16px; }
.notfound a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
