/* Studio Parkers — plain CSS, mobile-first.
   Tiers: <768 (base) · >=768 tablet · >=1024 small desktop · >=1440 large desktop */

:root {
  /* colors */
  --color-ink: #111;
  --color-muted: #6b6b6b;
  --color-bg: #fff;
  --color-soft: #f4f2ee;
  --color-accent: #ffd23f;
  --color-line: #eee;

  /* spacing (px) */
  --space-s: 8px;
  --space-m: 16px;
  --space-l: 32px;
  --space-xl: 64px;
  --space-2xl: 112px;
  --gutter: 24px;
  --max-width: 1180px;

  /* typography */
  --font-family: "Open Sans", system-ui, sans-serif;
  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-heavy: 800;
  --line-height-body: 1.6;
  --line-height-heading: 1.05;
  --font-size-small: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9rem);
  --font-size-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --font-size-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --font-size-h2: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --font-size-h1: clamp(2.25rem, 1.5rem + 3.6vw, 4.75rem);
  --font-size-logo: clamp(1.5rem, 1.35rem + 0.5vw, 1.875rem);
  --font-size-contact: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);

  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font: var(--weight-regular) var(--font-size-body)/var(--line-height-body) var(--font-family);
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

.wrap {
  width: 100%;
  max-width: calc(var(--max-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* logo (wordmark rebuilt in CSS — approximation of the original) */
.logo {
  display: grid;
  line-height: 0.9;
  text-decoration: none;
  font-style: italic;
  font-weight: var(--weight-heavy);
  text-transform: uppercase;
  font-size: var(--font-size-logo);
  width: max-content;
}
.logo i { border-bottom: 3px solid var(--color-ink); padding-bottom: 4px; margin-top: 2px; }
.logo.sm { font-size: 1.125rem; color: var(--color-muted); }
.logo.sm i { border-bottom-width: 2px; border-color: var(--color-muted); }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-line);
}
.bar { display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: 76px; }
nav { display: flex; gap: var(--space-l); align-items: center; font-weight: var(--weight-semibold); }
nav a { text-decoration: none; }
nav a:not(.pill):hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-link { display: none; }
.pill { background: var(--color-ink); color: #fff; padding: var(--space-s) 20px; border-radius: 99px; }
.pill:hover { background: #333; }

/* hero */
.hero { display: grid; gap: var(--space-l); align-items: center; padding-block: var(--space-l) var(--space-xl); }
.eyebrow {
  font-size: var(--font-size-small); font-weight: var(--weight-semibold);
  color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: var(--space-m);
}
h1 {
  font-size: var(--font-size-h1); line-height: var(--line-height-heading);
  font-style: italic; font-weight: var(--weight-heavy); letter-spacing: -0.02em;
}
h1 em { background: linear-gradient(transparent 62%, var(--color-accent) 62% 92%, transparent 92%); }
.lead { font-size: var(--font-size-lead); color: #333; max-width: 34ch; margin-block: var(--space-l); }
.btn {
  display: inline-block; background: var(--color-ink); color: #fff; text-decoration: none;
  padding: 14px 26px; border-radius: 99px; font-weight: var(--weight-semibold);
  transition: transform 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.bird { width: 100%; max-width: 280px; order: -1; mix-blend-mode: multiply; }

/* sections */
h2 { font-size: var(--font-size-h2); line-height: var(--line-height-heading); font-style: italic; font-weight: var(--weight-heavy); }
.sechead {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  border-top: 3px solid var(--color-ink); padding-top: var(--space-m); margin-bottom: var(--space-l);
}
.sechead p { color: var(--color-muted); font-size: var(--font-size-small); }

/* project grid */
.grid { display: grid; grid-template-columns: 1fr; gap: var(--space-l) var(--space-m); margin-bottom: var(--space-2xl); }
.card { display: block; text-decoration: none; }
.card img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); background: var(--color-soft);
  transition: transform 0.35s, box-shadow 0.35s;
}
.card:hover img { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14); }
.cap { display: block; margin-top: 10px; font-weight: var(--weight-semibold); font-size: var(--font-size-small); line-height: 1.35; }
.card:hover .cap { text-decoration: underline; text-underline-offset: 4px; }

/* clients */
.clients { background: var(--color-soft); padding-block: var(--space-xl); }
.clients h2 { margin-bottom: var(--space-l); }
.clients ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.clients li { background: #fff; border: 1.5px solid var(--color-ink); border-radius: 99px; padding: var(--space-s) 18px; font-weight: var(--weight-semibold); }

/* contact */
.contact { padding-block: var(--space-xl); }
.contact h2 { font-size: var(--font-size-h1); margin-bottom: var(--space-l); }
.cols { display: grid; grid-template-columns: 1fr; gap: var(--space-l); font-size: var(--font-size-contact); }
.cols span {
  display: block; font-size: var(--font-size-small); text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--color-muted); font-weight: var(--weight-semibold); margin-bottom: 6px;
}
.cols a { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* footer */
.foot {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding-block: var(--space-l); border-top: 1px solid var(--color-line);
  color: var(--color-muted); font-size: var(--font-size-small);
}

/* tablet */
@media (min-width: 768px) {
  .nav-link { display: inline; }
  .hero { grid-template-columns: 1.4fr 1fr; padding-block: var(--space-xl); }
  .bird { order: 0; justify-self: end; max-width: 420px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card.big { grid-column: span 2; }
  .card.big img { aspect-ratio: 2.1 / 1; }
  .cols { grid-template-columns: repeat(3, 1fr); }
}

/* small desktop */
@media (min-width: 1024px) {
  :root { --gutter: 32px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-l) 24px; }
  .card.big img { aspect-ratio: 2.75 / 1; }
  .contact { padding-block: var(--space-2xl); }
}

/* large desktop */
@media (min-width: 1440px) {
  :root { --max-width: 1280px; --space-2xl: 140px; }
}
