/* Zoe Hartman Art – site styles
   Colors are set once here; change them to restyle the whole site. */
:root {
  --sage: #8bb483;        /* page background */
  --sage-light: #b5c7b0;  /* home background */
  --forest: #375f47;      /* dark green */
  --leaf: #50a246;        /* bright green buttons */
  --ink: #2f3b40;         /* text */
  --band: #52799a;        /* gallery background */
  --panel: #aeadbf;       /* gallery text panel */
  --white: #fff;
  --radius: 18px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sage);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--white); }
.site-header.header-dark { background: var(--forest); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.logo img { width: 210px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.site-nav a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; }
.header-dark .site-nav a { color: var(--white); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--leaf); }
.menu-toggle { display: none; }

/* Home */
.home { background: var(--sage-light); }
.home-hero { padding: 40px 0 60px; text-align: center; }
.welcome { margin: 0 auto; }
.pills { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 36px; }
.pill {
  display: inline-block; min-width: 110px; padding: 8px 22px; border-radius: 999px;
  background: var(--leaf); color: var(--white); text-decoration: none; font-weight: 500;
}
.pill-dark { background: var(--forest); }
.pill:hover { filter: brightness(1.1); }

/* Galleries */
.gallery-band { background: var(--band); padding: 28px 0 40px; }
.page-title { color: var(--white); text-align: center; font-weight: 500; margin: 0 0 8px; letter-spacing: .04em; }
.divider { display: flex; align-items: center; gap: 12px; color: #111; margin: 26px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 3px; background: var(--white); }
.work { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--white); padding: 12px; }
.work-img { display: block; background: var(--white); cursor: zoom-in; }
.work-img img { width: 100%; height: 100%; max-height: 640px; object-fit: contain; }
.work-info { background: var(--panel); padding: 10px 20px 20px; }
.work-info h2 { font-size: 28px; font-weight: 500; margin: 6px 0 4px; }
.work-info .meta { font-weight: 500; margin: 0 0 14px; }
.work-info p { font-size: 15px; }
.inquire { text-align: center; margin: 34px 0 10px; }

/* About */
.about-hero { padding: 50px 0 30px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.rounded { border-radius: var(--radius); }
.lead { font-size: 15px; }
.tilted { font-size: 26px; line-height: 1.25; color: rgba(47, 59, 64, .45); transform: rotate(-12deg); margin: 30px 0 50px; }
.about-hero hr { border: 0; border-top: 1px solid rgba(255,255,255,.6); }
.aside { font-size: 15px; }
.mission { padding: 30px 0 60px; }
.mission h2 { font-size: 32px; font-weight: 500; margin: 0 0 10px; }
.mission-list { list-style: none; padding: 0; margin: 0; font-size: 22px; }
.mission-list li::before { content: "★ "; color: var(--forest); }

/* Contact */
.contact { padding: 80px 0 120px; text-align: center; }
.contact h1 { font-weight: 500; }
.email a {
  display: inline-block; font-size: clamp(20px, 4vw, 32px); font-weight: 700; color: var(--forest);
  background: var(--white); padding: 14px 28px; border-radius: var(--radius); text-decoration: none;
}
.email a:hover { color: var(--leaf); }

/* Footer */
.site-footer { text-align: center; padding: 40px 0 30px; font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 10px; }
.footer-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--white); }
.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 38px; height: 38px; border-radius: 6px;
  background: var(--leaf); color: var(--white); display: grid; place-items: center;
  text-decoration: none; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none; place-items: center; z-index: 200; padding: 20px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 92vh; object-fit: contain; }
.lightbox .close { position: absolute; top: 10px; right: 18px; color: #fff; font-size: 34px; background: none; border: 0; cursor: pointer; }

/* Phones and small tablets */
@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; }
  .logo img { width: 150px; }
  .menu-toggle {
    display: block; background: var(--forest); color: var(--white); border: 0;
    border-radius: 999px; padding: 8px 18px; font: inherit; font-size: 15px;
  }
  .header-dark .menu-toggle { background: var(--leaf); }
  .site-nav { display: none; width: 100%; flex-direction: column; padding: 8px 0; }
  .site-nav.open { display: flex; }
  .site-nav a { font-size: 17px; padding: 6px 0; }
  .work, .about-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 28px; }
  .about-grid.reverse > img { order: -1; }
  .tilted { transform: rotate(-6deg); font-size: 22px; }
  .work-info h2 { font-size: 24px; }
}
