/* ============================================================================
   Pee Poo Bark: the look.
   scrollcraft/scrollcraft.css is the engine's floor. This file sets the
   colours and styles the page. Change a colour once, here, and it changes
   everywhere.
   ========================================================================== */

/* Archivo, self-hosted (SIL Open Font License, see assets/fonts/OFL.txt). */
@font-face {
  font-family: "Archivo";
  src: url(assets/fonts/archivo-latin-ext.woff2) format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url(assets/fonts/archivo-latin.woff2) format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --white: #FFFFFF;
  --sage-deep: #4F6B4C;
  --cream: #FBF8F3;   /* warm off-white */
  --blush: #F6DEDA;   /* pale blush pink */
  --ink:   #34332F;   /* soft charcoal instead of black */

  --sc-canvas:     var(--cream);
  --sc-ink:        var(--ink);
  --sc-ink-soft:   #5F5C55;
  --sc-accent:     var(--sage-deep);
  --sc-accent-ink: var(--cream);
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text:    "Archivo", system-ui, sans-serif;
}

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Each section paints its own background. */
.g-white { background: var(--white); --sc-ink-soft: #5F5C55; color: var(--ink); }
.g-cream { background: var(--cream); --sc-ink-soft: #5F5C55; color: var(--ink); }
.g-blush { background: var(--blush); --sc-ink-soft: #5E4F4C; color: var(--ink); }

/* Your brush lettering, cut out of the original artwork. Drawn as a mask so
   it takes the colour of the text around it. */
.brush {
  display: block;
  background-color: currentColor;
  -webkit-mask: url(assets/logo.webp) center / contain no-repeat;
          mask: url(assets/logo.webp) center / contain no-repeat;
}
.brush--logo { aspect-ratio: 806 / 1263; }

h2 {
  margin: 0;
  font-size: var(--sc-t-2xl);
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.02;
  letter-spacing: var(--sc-track-tight);
  text-wrap: balance;
}

/* ------------------------------------------------------------ 1 · name -- */
.hero {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--sc-6);
  padding: var(--sc-7) var(--sc-gutter);
  text-align: center;
}
.hero__mark { margin: 0; }
.hero__mark .brush { height: min(62svh, 82vw * 1263 / 806); width: auto; }
.hero__tag {
  margin: 0;
  max-width: 30ch;
  font-size: var(--sc-t-lg);
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
}

/* ----------------------------------------------------------- 2 · about -- */
.about { padding: var(--sc-section) var(--sc-gutter); }
.about__grid {
  max-width: 64rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--sc-8);
}
.about__art { margin: 0; }
.about__art svg { width: 100%; height: auto; filter: drop-shadow(0 8px 14px hsl(30 20% 30% / 0.10)); }
.about__copy > * + * { margin-top: var(--sc-4); }
.about__copy h2 + p { margin-top: var(--sc-5); }
.about__copy p { max-width: 38ch; color: var(--sc-ink-soft); }
.about__copy p:first-of-type { color: var(--ink); font-size: var(--sc-t-lg); line-height: 1.4; }
@media (max-width: 760px) {
  .about__grid { grid-template-columns: 1fr; gap: var(--sc-6); }
  .about__art { max-width: 22rem; justify-self: center; }
}

/* ----------------------------------------------------------- 3 · hello -- */
.hello {
  display: grid;
  gap: var(--sc-9);
  padding: var(--sc-section) var(--sc-gutter) var(--sc-6);
}
.hello__inner { text-align: center; }
.hello__inner p { margin: var(--sc-6) 0 0; }
.button {
  display: inline-block;
  padding: var(--sc-3) var(--sc-6);
  border-radius: var(--sc-r-pill);
  background: var(--sage-deep);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--sc-d-fast) var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .button:hover { transform: translateY(-2px); } }
.button:active { transform: scale(0.97); }
.hello__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sc-2) var(--sc-6);
  padding-top: var(--sc-5);
  border-top: 1px solid color-mix(in oklab, currentColor 20%, transparent);
  font-size: var(--sc-t-xs);
  color: var(--sc-ink-soft);
}
.hello__foot p { margin: 0; }

/* Instagram link: icon and text are one link, so either opens the profile. */
.social {
  display: inline-flex;
  align-items: center;
  gap: var(--sc-2);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  /* A bigger tap area for thumbs, without moving anything visually. */
  padding-block: var(--sc-3);
  margin-block: calc(var(--sc-3) * -1);
}
.social__icon {
  width: 1.5rem; height: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform var(--sc-d-fast) var(--sc-ease-out);
}
.social__dot { fill: currentColor; stroke: none; }
@media (hover: hover) and (pointer: fine) {
  .social:hover span { text-decoration: underline; text-underline-offset: 0.24em; }
  .social:hover .social__icon { transform: translateY(-1px); }
}
.social:active .social__icon { transform: scale(0.94); }

.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
