@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500;1,9..144,600&display=swap');

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

html { scroll-behavior: smooth; }

:root {
  --paper:   #F6F2EC;
  --cream:   #E8E0D5;
  --ink:     #1A1815;
  --ink-2:   #6B6259;
  --rule:    #CFC6BA;
  --clay:    #C98C6A;
  --font:    'Inter', -apple-system, sans-serif;
  --display: 'Fraunces', Georgia, serif;
}

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--cream); color: var(--ink); }

/* ── Navigation ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.nav-center {
  display: flex;
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.nav-center a { transition: opacity 0.15s; }
.nav-center a:hover { opacity: 0.6; }
.nav-center a.active { border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.lang-toggle {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.01em;
}

.lang-toggle:hover { opacity: 0.6; }

.cta-pill {
  background: var(--ink);
  color: var(--paper);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: opacity 0.15s;
}

.cta-pill:hover { opacity: 0.8; }

/* ── Hero ── */
.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  background: var(--cream);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
  opacity: 0.85;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 900px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
}

.hero-cta {
  position: absolute;
  z-index: 1;
  bottom: 40px;
  right: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  color: var(--ink);
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}

.hero-cta:hover { background: #fff; }

/* ── Category tiles ── */
.categories {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cat-tile {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
}

.cat-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.6s ease;
}

.cat-tile:hover img { transform: scale(1.1); }

.cat-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.05) 55%, transparent 100%);
}

.cat-label {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cat-label h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.cat-count {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 4px;
  opacity: 0.85;
}

/* ── Editorial / Studio ── */
.editorial {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 40px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.editorial-kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 20px;
}

.editorial h2 {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 22px;
}

.editorial p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 440px;
  margin-bottom: 28px;
}

.link-btn {
  display: inline-flex;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 3px;
  transition: opacity 0.15s;
}

.link-btn:hover { opacity: 0.6; }

.editorial-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--cream);
}

.editorial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Work sections ── */
.work-wrap {
  background: var(--cream);
}

.work {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
}

.work-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.work-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 42px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.work-head .sub {
  font-size: 13px;
  color: var(--ink-2);
  max-width: 280px;
  text-align: right;
  line-height: 1.5;
}

.work-section {
  margin-bottom: 64px;
}

.work-section:last-child { margin-bottom: 0; }

.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

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

.project-card {
  cursor: pointer;
  display: block;
}

.project-image {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 14px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-image img { transform: scale(1.04); }

.project-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.project-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.project-year {
  font-size: 13px;
  color: var(--ink-2);
}

.project-desc {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.4;
}

/* ── Footer ── */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 40px 36px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-tagline {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 340px;
}

.footer-subscribe {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.footer-subscribe input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(246,242,236,0.35);
  color: var(--paper);
  padding: 8px 0;
  flex: 1;
  font-size: 13px;
  font-family: var(--font);
  outline: none;
}

.footer-subscribe input::placeholder { color: rgba(246,242,236,0.45); }

.footer-subscribe button {
  background: var(--paper);
  color: var(--ink);
  border: 0;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
}

.footer-col .col-head {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.footer-col a:hover { opacity: 1; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .project-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-center { display: none; }
  .hero { height: 70vh; }
  .hero-inner { padding: 60px 24px; }
  .hero-cta { bottom: 24px; right: 24px; }
  .categories { padding: 20px 24px 0; gap: 10px; }
  .cat-label h3 { font-size: 22px; }
  .editorial { grid-template-columns: 1fr; padding: 80px 24px; gap: 40px; }
  .editorial-img { aspect-ratio: 3/2; }
  .work { padding: 60px 24px; }
  .work-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .work-head .sub { text-align: left; max-width: 100%; }
  .project-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  footer { padding: 48px 24px 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .logo { font-size: 16px; }
  .categories { grid-template-columns: 1fr; gap: 8px; }
  .cat-tile { aspect-ratio: 3/2; }
  .project-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-inner { grid-template-columns: 1fr; }
}
