/* Chickenpen Studio — chickenpen.studio
   Flat static site. No build step, no framework, no backend. */

:root {
  --cream:    #FDF7EC;
  --paper:    #FFFFFF;
  --ink:      #16302A;
  --coral:    #E8503A;
  --teal:     #4FA3A0;
  --marigold: #F5B731;
  --mint:     #C9E4DE;
  --muted:    #6B7F7A;
  --line:     #E4DED1;

  --radius:   22px;
  --radius-s: 14px;
  --maxw:     1120px;
  --shadow:   0 2px 0 var(--ink);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Outfit', ui-sans-serif, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 247, 236, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img { width: 236px; }

/* ---------- scattered eggs ---------- */

.egg {
  position: absolute;
  display: block;
  pointer-events: none;
  z-index: 0;
  opacity: .9;
}

.egg svg { width: 100%; height: 100%; display: block; }

.e1 { width: 42px; height: 44px; top: 13%;  left: 4%;   transform: rotate(-18deg); }
.e2 { width: 58px; height: 60px; top: 66%;  left: 46%;  transform: rotate(14deg); }
.e3 { width: 30px; height: 31px; top: 26%;  right: 3%;  transform: rotate(32deg); }
.e4 { width: 46px; height: 48px; top: 7%;   right: 7%;  transform: rotate(-9deg); }
.e5 { width: 34px; height: 36px; top: 16%;  left: 2.5%; transform: rotate(23deg); }
.e6 { width: 52px; height: 54px; bottom: 9%; right: 4%; transform: rotate(-26deg); }
.e7 { width: 38px; height: 40px; bottom: 11%; left: 5%;  transform: rotate(11deg); }
.e8 { width: 44px; height: 46px; top: 18%;  left: 7%;   transform: rotate(-14deg); }
.e9 { width: 36px; height: 38px; bottom: 16%; right: 9%; transform: rotate(28deg); }

.hero, .section, .contact { position: relative; overflow: hidden; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color .15s ease;
}

.nav a:hover { color: var(--ink); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--marigold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--ink); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--ink); }

.btn-ghost { background: var(--paper); }

/* ---------- hero ---------- */

.hero { padding: 86px 0 72px; }

.hero .wrap { position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--coral);
}

.hero p {
  font-size: 1.22rem;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 34ch;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { position: relative; }

.hero-art::after {
  content: "";
  position: absolute;
  inset: 12% 6% 10%;
  background: var(--mint);
  border-radius: 50%;
  z-index: 0;
}

.hero-art img { position: relative; z-index: 1; }

/* ---------- sections ---------- */

.section { padding: 84px 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 12px;
}

.section h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0 0 16px;
  font-weight: 800;
}

.lede {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 56ch;
  margin: 0 0 44px;
}

/* ---------- project card ---------- */

.project {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 5px 0 var(--ink);
  overflow: hidden;
}

.project-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 44px;
  align-items: center;
}

.project-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.project-head img { width: 54px; }

.project-head h3 {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tag {
  display: inline-block;
  padding: 4px 13px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--mint);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project h4 {
  font-size: 1.3rem;
  color: var(--coral);
  margin: 18px 0 12px;
  font-weight: 700;
}

.project p { color: var(--muted); margin: 0 0 18px; }

.shots {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.shot { text-align: center; flex: 1; max-width: 230px; }

.shot img {
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 4px 0 var(--ink);
  width: 100%;
}

.shot span {
  display: block;
  margin-top: 12px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- approach ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 var(--ink);
  padding: 30px 26px;
}

.card .dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  margin-bottom: 18px;
}

.card:nth-child(1) .dot { background: var(--coral); }
.card:nth-child(2) .dot { background: var(--marigold); }
.card:nth-child(3) .dot { background: var(--teal); }

.card h3 { margin: 0 0 8px; font-size: 1.22rem; font-weight: 800; }
.card p  { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- studio ---------- */

.studio .wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.studio-art img { max-width: 300px; margin: 0 auto; }

.facts {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 10px;
}

.facts li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--muted);
  font-size: 1rem;
}

.facts b { color: var(--ink); font-weight: 700; min-width: 108px; }

/* ---------- peek divider ---------- */

.peek {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  margin-bottom: -2px;
}

.peek img { width: 230px; }

/* ---------- contact ---------- */

.contact {
  background: var(--teal);
  border-block: 2px solid var(--ink);
  text-align: center;
  padding: 76px 0;
}

.contact h2 { color: var(--paper); }
.contact p  { color: rgba(255,255,255,.9); max-width: 46ch; margin: 0 auto 30px; }

.mail {
  display: inline-block;
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  font-weight: 800;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 3px solid var(--marigold);
  padding-bottom: 3px;
}

.mail:hover { color: var(--marigold); }

/* ---------- footer ---------- */

.site-footer { padding: 52px 0 64px; }

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.site-footer img { width: 72px; }

.foot-legal { font-size: .9rem; color: var(--muted); }
.foot-legal strong { color: var(--ink); display: block; font-size: 1rem; }

.foot-links { display: flex; gap: 22px; font-size: .92rem; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero .wrap,
  .project-body,
  .studio .wrap { grid-template-columns: 1fr; gap: 40px; }

  .hero-art { order: -1; max-width: 340px; margin: 0 auto; }
  .studio-art { order: -1; }
  .cards { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero { padding: 54px 0 48px; }
  /* once the columns stack there is no spare margin for eggs to sit in,
     so keep only the two that fall in genuine whitespace */
  .e2, .e4, .e5, .e6, .e7, .e8, .e9 { display: none; }
  .brand img { width: 186px; }
  .section { padding: 60px 0; }
  .project-body { padding: 30px; }
}

@media (max-width: 520px) {
  body { font-size: 17px; }
  .shots { flex-direction: column; align-items: center; }
  .shot { max-width: 260px; }
  .site-footer .wrap { justify-content: center; text-align: center; }
}
