:root {
  --ink: #16221f;
  --teal-deep: #1b3a3f;
  --teal: #3c6e71;
  --paper: #fefefe;
  --line: #e4e2dc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, .serif {
  font-family: 'Playfair Display', serif;
}

/* --- Nav --- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 6vw;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.nav-links a:hover { opacity: 1; }

/* --- Hero text block --- */
.hero-text {
  text-align: center;
  padding: 6vh 6vw 7vh;
  max-width: 720px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.pill-btn {
  display: inline-block;
  padding: 16px 40px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.pill-btn:hover {
  background: var(--ink);
  color: var(--paper);
}

/* --- Hero image --- */
.hero-image {
  width: 100%;
  min-height: 62vh;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 62vh;
  object-fit: cover;
  display: block;
}

/* --- About / intro section --- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10vh 6vw;
}

.section-narrow {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 10vh 6vw;
}

.section-narrow h2 {
  font-size: 1.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.section-narrow p {
  font-size: 1.05rem;
  line-height: 1.75;
  opacity: 0.8;
}

/* --- Work grid --- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 0 6vw 12vh;
  max-width: 1200px;
  margin: 0 auto;
}

.work-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.work-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
}

.work-item h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 1.15rem;
}

.work-item span {
  font-size: 0.85rem;
  opacity: 0.6;
  letter-spacing: 0.04em;
}

/* --- Contact --- */
footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 8vh 6vw;
}

footer h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

footer a.email {
  color: var(--ink);
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

footer .fine-print {
  margin-top: 3rem;
  font-size: 0.75rem;
  opacity: 0.5;
  letter-spacing: 0.04em;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 2.5rem;
}

.socials a {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease;
}

.socials a:hover {
  background: var(--ink);
  color: var(--paper);
}

.socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

@media (max-width: 640px) {
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 0.75rem; }
}
