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

:root {
  --black: #0c0c0c;
  --panel: #161615;
  --card: #1c1c1a;
  --cream: #efece2;
  --muted: #9a968a;
  --line: #2b2b28;
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 28px 8px;
}
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-right: 22px;
  transition: color 0.2s;
}
.site-header nav a:hover { color: var(--cream); }
.nav-right { text-align: right; }
.nav-right a { margin-right: 0; margin-left: 22px; }
.logo { display: inline-flex; }
.logo img {
  height: 65px;
  width: auto;
  display: block;
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 64px 0 52px;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, #1d1c19 0%, var(--black) 70%);
  border-radius: 0 0 var(--radius) var(--radius);
}
.hero-label {
  position: absolute;
  left: 8px;
  top: 72px;
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero h1 {
  font-weight: 500;
  line-height: 1.02;
}
.hero h1 span { display: block; }
.line-sans {
  font-size: clamp(2rem, 5.8vw, 4.3rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.line-serif {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 4.2vw, 3.2rem);
  color: var(--cream);
  margin-top: 0.08em;
}
.hero-copy {
  max-width: 340px;
  margin: 26px 8px 0 auto;
  text-align: left;
  font-size: 0.9rem;
  color: var(--muted);
}
.scroll-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cream);
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.2s, transform 0.2s;
}
.scroll-hint:hover { background: var(--panel); transform: translateY(3px); }

/* Sections */
.section { padding: 110px 0 30px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}
.title-sans {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}
.title-serif {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  text-align: center;
  margin-bottom: 56px;
}
.section-side {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  line-height: 1.7;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}
.feature-card:first-child { grid-column: 2; }
.feature-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--card);
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: auto;
}
.feature-card h3 {
  font-weight: 500;
  font-size: 1.25rem;
  margin: 26px 0 10px;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Works */
.works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.work-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--cream);
}
.work-wide { grid-column: 1 / -1; }
.work-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work-wide img { aspect-ratio: 21 / 10; }
.work-half img { aspect-ratio: 1 / 1; }
a.work-card:hover img { transform: scale(1.03); }
.work-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}
.work-caption .arrow { transition: transform 0.2s; }
a.work-card:hover .work-caption .arrow { transform: translateX(4px); }

/* Contact */
.contact {
  text-align: center;
  padding-bottom: 90px;
}
.contact .section-side {
  display: block;
  text-align: center;
  margin-bottom: 18px;
}
.contact-mail {
  display: inline-block;
  margin-top: 34px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(1.3rem, 3.4vw, 2.2rem);
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  transition: border-color 0.2s;
}
.contact-mail:hover { border-color: var(--cream); }
.contact-mail .arrow { font-style: normal; }

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 26px 8px 34px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 860px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:first-child { grid-column: auto; }
  .hero-label { display: none; }
  .hero-copy { margin: 36px auto 0; text-align: center; }
}
@media (max-width: 620px) {
  .site-header { grid-template-columns: auto 1fr; }
  .nav-left { display: none; }
  .logo { justify-self: start; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .works { grid-template-columns: 1fr; }
  .work-half img { aspect-ratio: 16 / 10; }
  .section { padding-top: 80px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-side { text-align: left; }
}
