@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400&display=swap');

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

:root {
  --white: #FFFFFF;
  --ink: #1A1612;
  --ink-mid: #5C5248;
  --ink-light: #9C8E82;
  --rust: #B85C38;
}

body {
  background-color: var(--white);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

nav {
  display: flex;
  gap: 2.5rem;
  padding: 1.5rem 3rem;
}

nav a {
  text-decoration: none;
  color: var(--ink-mid);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

nav a:hover { color: var(--rust); }

header { display: flex; flex-direction: column; }

.header-text {
  padding: 1.5rem 3rem 1rem;
  position: relative;
  z-index: 2;
}

.header-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.9;
  margin-bottom: 0.4rem;
}

.byline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--rust);
  margin-bottom: 0.2rem;
}

.tagline {
  font-size: 0.9rem;
  color: var(--ink-mid);
  white-space: nowrap;
}

.hero-image {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  line-height: 0;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-position: center 15%;
}

.photo-credit {
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink-light);
  font-style: italic;
  padding: 0.75rem 0 0;
  letter-spacing: 0.05em;
}

/* ── Work ── */

#work { max-width: 100%; padding: 0; }

.project {
  padding: 4rem 0 5rem;
  position: relative;
}

.project:nth-child(1) { background-color: #E8F0E8; }
.project:nth-child(2) { background-color: #E8E6F2; }
.project:nth-child(3) { background-color: #F2E8E6; }
.project:nth-child(4) { background-color: #E6EEF2; }
.project:nth-child(5) { background-color: #F2EDE6; }

.project-number {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--ink-light);
  display: block;
  max-width: 960px;
  margin: 0 auto 1.5rem;
  padding: 0 3rem;
}

.project-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ── Project meta ── */

.project-meta { display: flex; flex-direction: column; }

.project-tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--ink-light);
  text-transform: lowercase;
  display: block;
  margin-bottom: 0.8rem;
}

.project-meta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.project-meta p {
  color: var(--ink-mid);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.project-link {
  text-decoration: none;
  color: var(--rust);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.project-link:hover { opacity: 0.7; }

/* ── Project image ── */

.project-image-wrapper {
  position: relative;
  padding: 1.5rem 0.5rem;
}

.project-image {
  border-radius: 2px;
  overflow: hidden;
  transform: rotate(1.2deg);
  box-shadow: 3px 3px 16px rgba(26, 22, 18, 0.15);
}

.project:nth-child(even) .project-image {
  transform: rotate(-1.2deg);
}

.project-image.placeholder {
  aspect-ratio: 4/3;
  background-color: rgba(0,0,0,0.08);
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Washi tape ── */

.washi-tape {
  position: absolute;
  top: 0.4rem;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: #F2C94C;
  opacity: 0.85;
  padding: 0.4rem 1.4rem;
  z-index: 2;
  white-space: nowrap;
  text-align: center;
}

.washi-tape-stat {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: #3D2B00;
  display: block;
  line-height: 1.3;
}

.washi-tape-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: #6B4E00;
  text-transform: lowercase;
  display: block;
  line-height: 1.3;
}

/* ── Footer ── */

footer {
  padding: 4rem 3rem;
  border-top: 0.5px solid #E8E2DC;
  display: flex;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

footer a {
  text-decoration: none;
  color: var(--ink-mid);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

footer a:hover { color: var(--rust); }