/* Ewe Turn public home. Bright cloud page, plush fur wordmark, soft pillow panels. */

:root {
  --cloud: #f8f6fb;
  --paper: #ffffff;
  --ink: #2b2540;
  --soft: #5f5976;
  --mint: #cdebd6;
  --sage: #9fcfae;
  --moss: #4d8a62;
  --lilac: #e3d8f7;
  --lavender: #b9a3e8;
  --plum: #7a5cc0;
  --mist: #eef7f1;
  --display: "Fredoka", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --pillow-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 14px 34px rgba(90, 70, 140, .10), 0 2px 6px rgba(90, 70, 140, .06);
  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--plum);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--cloud);
  color: var(--ink);
  font: 16px/1.55 var(--body);
  overflow-x: clip;
}

[hidden] { display: none !important; }

img { max-width: 100%; }

a { color: inherit; }

:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 8px; }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 99px;
  background: var(--ink); color: #fff; font: 600 14px var(--display); text-decoration: none;
  transition: top .15s ease;
}
.skip:focus { top: 12px; }

/* Hidden holder for shared SVG defs (filter + gradients). Not display:none, so the filter still renders. */
svg.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: max(16px, 3vw); }

/* ---------- Top zone: fog, nav, hero ---------- */

.top-zone { position: relative; overflow-x: clip; }

.fog {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  /* Fade the fog out at the bottom so the hero melts into the page with no hard seam. */
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.fog i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .65; }
.fog i:nth-child(1) { width: 520px; height: 420px; left: -120px; top: -80px; background: var(--mint); }
.fog i:nth-child(2) { width: 560px; height: 460px; right: -140px; top: 40px; background: var(--lilac); }
.fog i:nth-child(3) { width: 380px; height: 300px; left: 40%; top: 360px; background: #eaf6ee; }

nav.top {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-block: 18px;
  font: 600 14px var(--display);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.links { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.links a {
  display: block; padding: 8px 12px; border-radius: 99px;
  color: var(--soft); text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.links a:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 99px;
  font: 600 15px var(--display); text-decoration: none;
  background: var(--ink); color: #fff;
  box-shadow: 0 6px 18px rgba(122, 92, 192, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(122, 92, 192, .32); }
.pill:focus-visible { outline: none; box-shadow: var(--focus); }
.pill.soft { background: var(--paper); color: var(--ink); box-shadow: 0 4px 14px rgba(43, 37, 64, .08); }
.pill.soft:hover { box-shadow: 0 8px 20px rgba(43, 37, 64, .14); }
.pill.soft:focus-visible { box-shadow: var(--focus); }
.login { padding: 9px 16px; font-size: 14px; }

header.hero { position: relative; z-index: 1; padding-block: 10px 48px; text-align: center; }

.eyebrow {
  margin: 0;
  font: 500 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--moss);
}

.wordmark { margin: 0; line-height: 0; }
svg.fur-word { display: block; width: min(100%, 960px); height: auto; margin: 4px auto 0; overflow: visible; }
.fur-letters { font-family: var(--display); }

.hero .lede { max-width: 560px; margin: 6px auto 24px; color: var(--soft); font-size: 18px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.pom { position: absolute; width: 70px; height: 70px; overflow: visible; pointer-events: none; animation: bob 5s ease-in-out infinite; }
.pom-a { left: 2%; bottom: 90px; }
.pom-b { right: 3%; bottom: 50px; animation-delay: 1.5s; }
.pom-c { left: 12%; top: -6px; width: 48px; height: 48px; animation-delay: 3s; }
.pom-ev { right: 22px; top: -26px; width: 64px; height: 64px; animation-delay: .8s; }

@keyframes bob { 50% { transform: translateY(-10px) rotate(6deg); } }

/* ---------- Sections ---------- */

main section { position: relative; padding-block: 40px; scroll-margin-top: 16px; }

.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-h h2 { margin: 0; font: 700 clamp(28px, 5vw, 36px)/1.1 var(--display); }
.tag { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }

.pillow { background: var(--paper); border-radius: 28px; box-shadow: var(--pillow-shadow); }

/* Who we are */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.about-copy { padding: 28px; }
.about-copy h3 { margin: 0 0 8px; font: 700 22px/1.2 var(--display); }
.about-copy > p { margin: 0; color: var(--soft); }
.ack { margin-top: 18px; padding-top: 16px; border-top: 2px dashed var(--lilac); }
.ack-h { margin: 0 0 4px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--moss); }
.ack p { margin: 0; font: 400 13px/1.55 var(--mono); color: var(--soft); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.stat { display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border-radius: 22px; }
.stat b { display: block; font: 700 44px/1 var(--display); }
.stat small { margin-top: 6px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.stat.g { background: var(--mint); }
.stat.p { background: var(--lilac); }
.stat.w { background: var(--paper); box-shadow: var(--pillow-shadow); }
.stat.wide { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 12px; }
.stat.wide small { margin-top: 0; }

/* Our art */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.works > li { display: flex; }
.work { flex: 1; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.work:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 20px 40px rgba(90, 70, 140, .14), 0 2px 6px rgba(90, 70, 140, .06); }

.work-media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
/* A real photo drops in here later and fills the frame. */
.work-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-tile { position: absolute; inset: 0; }
.work-tile::after {
  content: ""; position: absolute; inset: 0; mix-blend-mode: soft-light;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='f'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .25 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}
.w1 .work-tile { background: radial-gradient(circle at 35% 40%, #fff 0 8%, var(--lavender) 30%, var(--plum) 90%); }
.w2 .work-tile { background: radial-gradient(ellipse at 50% 100%, var(--sage), var(--mint) 45%, #f4fbf6 80%); }
.w3 .work-tile { background: conic-gradient(from 120deg at 50% 55%, var(--lilac), var(--mint), var(--lavender), var(--sage), var(--lilac)); }

.work .txt { padding: 16px 20px 22px; }
.work .n { font: 500 11px var(--mono); letter-spacing: .14em; color: var(--moss); }
.work h3 { margin: 2px 0 4px; font: 700 21px/1.2 var(--display); }
.work p { margin: 0; font-size: 15px; color: var(--soft); }

/* Events */
.event {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px;
  padding: 32px;
  background: linear-gradient(120deg, var(--mint), #f3eefc 55%, var(--lilac));
}
.event h3 { margin: 6px 0; font: 700 clamp(32px, 7vw, 44px)/1 var(--display); }
.event .when { margin: 0; color: var(--ink); font-weight: 600; }
.nowrap { white-space: nowrap; }
.perks { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.perks li {
  padding: 5px 12px; border-radius: 99px;
  background: rgba(255, 255, 255, .7);
  font: 600 13px var(--display); color: var(--ink);
}

.count { display: flex; gap: 10px; }
.count > div { min-width: 72px; padding: 12px 14px; border-radius: 18px; background: var(--paper); text-align: center; box-shadow: 0 6px 16px rgba(90, 70, 140, .10); }
.count b { display: block; font: 700 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.count small { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.count-status { margin: 0; padding: 12px 18px; border-radius: 18px; background: var(--paper); font: 700 18px var(--display); text-align: center; }

/* Footer */
.site-foot { padding-block: 34px 50px; color: var(--soft); font-size: 14px; }
.foot-inner { display: grid; justify-items: center; gap: 10px; text-align: center; }
.foot-inner p { margin: 0; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--display); color: var(--ink); }
.foot-brand img { width: 28px; height: 28px; object-fit: contain; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.foot-links a { color: var(--soft); text-underline-offset: 3px; }
.foot-links a:hover { color: var(--ink); }
.foot-note { font-size: 13px; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .works { grid-template-columns: 1fr 1fr; }
  .works > li:last-child { grid-column: 1 / -1; }
  .works > li:last-child .work-media { aspect-ratio: 16 / 7; }
}

@media (max-width: 760px) {
  .about, .event { grid-template-columns: 1fr; }
  .event { padding: 26px 22px; }
  .count-box { justify-self: start; }
  .pom-a { left: 8%; bottom: 0; width: 46px; height: 46px; }
  .pom-b { right: 10%; bottom: -8px; width: 40px; height: 40px; }
  .pom-c { display: none; }
}

@media (max-width: 640px) {
  nav.top { flex-wrap: wrap; row-gap: 6px; }
  .links { order: 3; width: 100%; justify-content: center; gap: 2px; }
  .links a { padding: 6px 10px; }
  .works { grid-template-columns: 1fr; }
  .works > li:last-child .work-media { aspect-ratio: 4 / 3; }
  .hero .lede { font-size: 17px; }
  .pom-ev { width: 48px; height: 48px; top: -20px; right: 14px; }
}

@media (max-width: 400px) {
  .about-copy { padding: 22px; }
  .stat { padding: 16px; }
  .stat b { font-size: 38px; }
  .count { gap: 8px; }
  .count > div { min-width: 64px; padding: 10px 10px; }
  .count b { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pill:hover, .work:hover { transform: none; }
}
