/* susanseaberry.art — design tokens taken from the original site */

@font-face {
  font-family: 'Crimson Pro';
  src: url('/fonts/crimson-pro.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Crimson Pro';
  src: url('/fonts/crimson-pro-italic.woff2') format('woff2');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/open-sans.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/open-sans-italic.woff2') format('woff2');
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --serif: 'Crimson Pro', serif;
  --sans: 'Open Sans', sans-serif;
  --ink: #141414;
  --text: #333333;
  --link: #4287F5;
  --accent: #A47864;
  --paper: #ffffff;
  --content-max: 1140px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 50px;
  line-height: 1.24;
  color: var(--text);
  margin: 0 0 30px;
}
h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--text);
  margin: 1.4em 0 .5em;
}
h2 { font-size: 34px; }
h3 { font-size: 26px; }

/* ---------- shell: sidebar + content ---------- */
.shell {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 20px;
  min-height: 100vh;
}
.sidebar {
  width: 30%;
  flex-shrink: 0;
  padding-top: 30px;
}
.site-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 50px;
  line-height: 1;
  letter-spacing: 0.5px;
  /* full name is ~311px on one line; cap the width so it stacks to two
     lines ("Susan" / "Seaberry") like the live WP sidebar (~296px). */
  max-width: 280px;
  color: var(--ink);
  margin: 0 0 24px;
}
.site-name a { color: var(--ink); }
.site-name a:hover { text-decoration: none; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block;
  padding: 13px 20px;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 0.5px;
  color: var(--link);
}
.menu a:hover { text-decoration: none; color: var(--ink); }
.menu a[aria-current="page"] { color: var(--ink); }
.signature { width: 230px; margin: 40px 0 0 12px; }

.content {
  flex: 1;
  min-width: 0;
  padding-top: 30px;
  padding-bottom: 60px;
}

/* mobile header + burger */
.mobile-bar { display: none; }

@media (max-width: 767px) {
  .shell { display: block; min-height: 0; padding: 0 16px; }
  .sidebar { display: none; }
  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 6px;
    position: relative;
  }
  .mobile-bar .site-name { margin: 0; font-size: 30px; }
  .burger {
    background: #f3f3f3;
    border: 0;
    padding: 8px 10px;
    cursor: pointer;
    line-height: 0;
    border-radius: 2px;
  }
  .burger svg { width: 22px; height: 22px; fill: var(--ink); }
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    z-index: 50;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a {
    display: block;
    text-align: center;
    padding: 12px 16px;
    color: var(--link);
  }
  .mobile-menu a[aria-current="page"] {
    background: #3a3a3a;
    color: #fff;
  }
  .content { padding-top: 10px; }
  h1 { font-size: 42px; }
}

/* ---------- home hero ---------- */
.home-hero {
  flex: 1;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
@media (max-width: 767px) {
  .home-hero { min-height: 73vh; }
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 48px;
  align-items: start;
}
.gallery figure { margin: 0; }
.gallery a { display: block; cursor: zoom-in; }
.gallery figcaption {
  font-size: 20px;
  font-style: italic;
  text-align: center;
  margin-top: 12px;
  color: var(--text);
}
@media (max-width: 767px) {
  .gallery { grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 32px; }
  .gallery figcaption { font-size: 16px; }
}

/* ---------- lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.97);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}
.lb.open { display: flex; }
.lb img {
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  width: auto;
  height: auto;
  box-shadow: 0 4px 30px rgba(0,0,0,.15);
}
.lb figcaption {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-style: italic;
  font-size: 18px;
  color: var(--text);
}
.lb button {
  position: absolute;
  border: 0;
  cursor: pointer;
  background: #3a3a3a;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb .lb-close { top: 18px; right: 22px; background: transparent; color: #3a3a3a; font-size: 34px; }
.lb .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) {
  .lb .lb-prev { left: 8px; }
  .lb .lb-next { right: 8px; }
}

/* ---------- text pages ---------- */
.prose { max-width: 760px; }
.prose p { margin: 0 0 1.2em; }
.prose ul { padding-left: 1.3em; }
.page-image { margin: 0 0 32px; max-width: 560px; }

/* ---------- contact form ---------- */
.contact-form { max-width: 560px; margin-top: 28px; }
.contact-form label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
}
.contact-form textarea { min-height: 220px; resize: vertical; }
.contact-form button {
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 3px;
  padding: 12px 36px;
  cursor: pointer;
}
.contact-form button:hover { filter: brightness(.95); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid #eee;
  font-size: 15px;
  text-align: center;
  padding: 26px 16px 34px;
  color: var(--text);
}
.site-footer p { margin: 4px 0; }
