/* Shapes Design: shared visual identity (shapes-design.eu) */
:root {
  --ink: #1c2430;
  --ink-soft: #55606e;
  --paper: #ffffff;
  --paper-warm: #faf8f4;
  --accent: #c8461f;
  --line: #e8e4dc;
  --maxw: 1060px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: 'Urbanist', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img { width: 150px; height: auto; }
.nav { display: flex; gap: 26px; flex-wrap: wrap; }
.nav a {
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  letter-spacing: .01em;
}
.nav a:hover { color: var(--accent); text-decoration: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; background: var(--paper-warm); }
.eyebrow {
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0 0 16px; }
.hero .lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; margin: 0; }

/* CSS-only geometric accents */
.shape { position: absolute; pointer-events: none; }
.shape-square { width: 34px; height: 34px; border: 2px solid var(--accent); }
.shape-circle { width: 52px; height: 52px; border: 2px solid var(--ink); border-radius: 50%; opacity: .3; }
.shape-triangle {
  width: 0; height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 30px solid var(--accent);
  opacity: .85;
}
.shape-pos-1 { top: 58px; right: 9%; }
.shape-pos-2 { bottom: 44px; right: 20%; }
.shape-pos-3 { top: 40px; right: 26%; }

/* ---------- sections ---------- */
.section { padding: 60px 0 8px; }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.section-head h2 { font-size: 1.6rem; margin: 0; }
.section-head .rule { flex: 1; height: 1px; background: var(--line); }
.prose { max-width: 42em; }
.prose p { margin: 0 0 1.1em; }
.note {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 16px;
  color: var(--ink-soft);
  font-size: .95rem;
}

/* ---------- work gallery ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px;
}
.work-grid figure { margin: 0; }
.work-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-warm);
}
.work-grid figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: 8px; }
.work-grid figcaption .name { font-family: 'Urbanist', sans-serif; font-weight: 600; color: var(--ink); display: block; }
.coll {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- article body / prose pages ---------- */
.article { max-width: 42em; padding: 48px 0 8px; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 10px; }
.article .meta { color: var(--ink-soft); font-size: .85rem; margin: 0 0 30px; }
.article h2 { font-size: 1.3rem; margin: 1.9em 0 .5em; font-weight: 700; }
.article p { margin: 0 0 1.1em; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfd6de; margin-top: 72px; }
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: .85rem;
}
.site-footer a { color: #cfd6de; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 90px 0; }
.nf h1 { font-size: 3rem; margin: 0 0 12px; }
.nf p { color: var(--ink-soft); }

@media (max-width: 700px) {
  .site-header .wrap { flex-direction: column; gap: 10px; }
  .hero { padding: 48px 0 40px; }
  .shape-pos-1 { top: 30px; right: 6%; }
  .shape-pos-2, .shape-pos-3 { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0 4px; }
}
