/* jennyleecreative.co holding page. The only stylesheet on the site.
   Brand values come from the old site's Elementor kit (post-6.css):
   purple #8C52FF, teal #00C6D7, gold #FFC72C, blush #FCF4FB, Lato. */

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/lato-400.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/lato-700.woff2") format("woff2");
}

:root {
  --purple: #8C52FF;
  --purple-ink: #5B2BB5;   /* darker shade of the brand purple for text: 7.6:1 on white */
  --teal: #00C6D7;
  --gold: #FFC72C;
  --blush: #FCF4FB;
  --ink: #1A1523;
  --muted: #4A4453;
  --white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--purple-ink); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1rem; }

/* Header */
.site-head { padding: 1rem 0; border-top: 6px solid var(--purple); }
.site-head .wrap { display: flex; align-items: center; gap: 0.75rem; }
.site-head img { width: 64px; height: 64px; }
.site-name { margin: 0; font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; }

/* Intro */
.intro { background: var(--blush); padding: 2.5rem 0 3rem; }
.intro .wrap { display: grid; gap: 2rem; align-items: center; }
.intro h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
}
.intro h1 .accent { color: var(--purple-ink); }
.intro p { margin: 0 0 1rem; max-width: 34rem; color: var(--muted); }
.intro p.lead { color: var(--ink); font-size: 1.25rem; }

.portrait { position: relative; max-width: 26rem; margin: 0 auto; }
.portrait::before {
  content: "";
  position: absolute;
  inset: 1rem -0.75rem -0.75rem 1rem;
  background: var(--gold);
  border-radius: 1.5rem;
}
.portrait img { position: relative; border-radius: 1.5rem; }

/* Contact */
.reach { margin-top: 1.5rem; }
.reach h2 { margin: 0 0 0.75rem; font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.06em; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.btn {
  display: inline-block;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--purple-ink);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}
.btn-main { background: var(--purple-ink); color: var(--white); }
.btn-main:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-line { background: var(--white); color: var(--purple-ink); }
.btn-line:hover { background: var(--purple-ink); color: var(--white); }
.intro .email-line { margin: 0.75rem 0 0; font-size: 1rem; }  /* .intro scope: ".intro p" would otherwise win and drop the gap */

/* Gallery */
.gallery { padding: 3rem 0; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 1rem; }
.grid li:last-child { grid-column: span 2; }
.grid li:last-child img { aspect-ratio: 2 / 1; }

/* Footer */
.site-foot { border-top: 1px solid #E6DDF0; padding: 1.5rem 0 2rem; font-size: 1rem; color: var(--muted); }
.site-foot p { margin: 0; }

/* 404 page */
.notfound { padding: 3rem 0 4rem; }
.notfound h1 { margin: 0 0 1rem; font-size: 2rem; line-height: 1.2; }

@media (min-width: 48rem) {
  .intro { padding: 4rem 0; }
  .intro .wrap { grid-template-columns: 1.15fr 1fr; gap: 3rem; }
  .portrait { margin: 0; }
  .grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .grid li:last-child { grid-column: auto; }
  .grid li:last-child img { aspect-ratio: 1 / 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 0.15s ease, color 0.15s ease; }
}
