@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Poppins:wght@300;400;600&display=swap');

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

html {
  font-size: 12px;
  scrollbar-gutter: stable;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #000;
  background: #f4efe9;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

img {
  display: block;
  max-width: 100%;
}

/* ─── Header ─── */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(244, 239, 233, 0);
  transition: background 0.3s ease;
}

header.scrolled {
  background: rgba(244, 239, 233, 0.97);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  transition: opacity 0.15s;
}

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

.nav-links a.active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo img {
  height: 30px;
  width: auto;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 1px;
  background: #000;
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #f4efe9;
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #000;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

/* ─── Gallery (Originals) ─── */

.gallery-page {
  padding-top: 60px;
  background: #fff;
}

.gallery {
  padding: 16px;
}

.gallery-sizer,
.gallery-item {
  width: calc(25% - 12px);
}

.gallery-item {
  margin-bottom: 16px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: opacity 0.2s;
}

.gallery-item:hover img {
  opacity: 0.85;
}

/* ─── Lightbox ─── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(244, 239, 233, 0.97);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-img-wrap {
  max-width: 85vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 85vw;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #000;
  line-height: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #000;
  padding: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  opacity: 0.4;
  transition: opacity 0.15s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* ─── Content pages ─── */

.content-page {
  padding-top: 100px;
  padding-bottom: 80px;
}

.content-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.content-page h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0;
  color: #000;
}

.content-page h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 20px;
  letter-spacing: 0;
  color: #000;
}

.content-page h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.content-page p {
  font-size: 12px;
  line-height: 1.85;
  color: #000;
  margin-bottom: 16px;
}

.divider {
  border: none;
  border-top: 1px solid #d8d0c8;
  margin: 20px 0 44px;
}

/* ─── Section bands ─── */

.section-white {
  background: #fff;
  padding: 56px 0;
}

.section-white .content-inner > h2:first-child {
  margin-top: 0;
}

.section-white--bordered {
  border-top: 1px solid #e8e8e8;
}

.section-cream {
  background: #f4efe9;
  padding: 56px 0;
}

.section-cream--bordered {
  border-top: 1px solid #d8d0c8;
}

/* ─── Commissions ─── */

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.intro-split p {
  margin-bottom: 0;
  line-height: 1.9;
}

.commission-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.commission-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 0;
}

.commission-card p {
  font-size: 11px;
  margin-bottom: 20px;
  line-height: 1.9;
  color: #444;
}

.commission-card img {
  width: 100%;
  display: block;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px 40px;
  margin-bottom: 56px;
}

.process-step h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 0;
}

.process-step p {
  font-size: 11px;
  margin-bottom: 0;
  line-height: 1.9;
  color: #444;
}

/* ─── Contact Form ─── */

.form-cta {
  margin-top: 0;
}

.form-cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.form-cta-text h2 {
  font-size: 22px;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.3;
}

.form-cta-text p {
  line-height: 1.85;
  margin-bottom: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  margin-bottom: 6px;
  color: #555;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #000;
  padding: 8px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #000;
  background: transparent;
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: #000;
}

.form-group textarea {
  height: 100px;
  resize: none;
}

.btn-submit {
  margin-top: 24px;
  background: none;
  border: 1px solid #000;
  padding: 10px 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #000;
  cursor: pointer;
  letter-spacing: 0.04em;
  -webkit-appearance: none;
  transition: background 0.15s, color 0.15s;
}

.btn-submit:hover {
  background: #000;
  color: #fff;
}

/* ─── Method page ─── */

.method-intro {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.method-intro-text p {
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 16px;
  color: #000;
}

.method-pen-img img {
  width: 60%;
  max-width: 220px;
}

.process-pair {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 20px;
  margin: 24px 0 40px;
}

.process-pair-item {}

.process-pair-item img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-bottom: 10px;
}

.process-pair-item .caption {
  font-size: 11px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.process-pair-item .label {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.detail-section {
  margin-bottom: 56px;
}

.detail-split {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 20px;
  margin-bottom: 56px;
}

.detail-split-left {
  display: flex;
  flex-direction: column;
}

.detail-split-left img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.detail-split-right {
  min-height: 100%;
}

.detail-split-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.detail-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0;
  margin-bottom: 8px;
}

.detail-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.detail-images img {
  width: 100%;
}

/* ─── About page ─── */

.about-page {
  padding-top: 140px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 0 24px;
}

.about-text-col .about-h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 52px;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #000;
}

.about-divider {
  width: 120px;
  border: none;
  border-top: 1px solid #d8d0c8;
  margin: 0 0 28px;
}

.about-text-col p {
  font-size: 14px;
  line-height: 1.85;
  color: #000;
  margin-bottom: 16px;
}

.about-email {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Footer ─── */

footer {
  background: #fff;
  padding: 32px 0 28px;
}

.footer-logo img {
  height: 22px;
  width: auto;
  margin-bottom: 20px;
}

.footer-divider {
  border: none;
  border-top: 2px solid #d8d0c8;
  margin-bottom: 16px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-icons a {
  display: flex;
  align-items: center;
  color: #000;
  transition: opacity 0.15s;
}

.footer-icons a:hover {
  opacity: 0.5;
}

.footer-icons svg {
  width: 22px;
  height: 22px;
}

.footer-copy {
  font-size: 11px;
  color: #888;
}

/* ─── Responsive ─── */

@media (max-width: 900px) {
  .gallery-sizer,
  .gallery-item {
    width: calc(33.333% - 11px);
  }
}

@media (max-width: 600px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-photo-col {
    display: flex;
    justify-content: center;
  }

  .about-photo {
    max-width: 300px;
    border-radius: 24px 0 0 24px;
  }
}

@media (max-width: 640px) {
  header {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  .logo img {
    height: 22px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .gallery {
    padding: 10px;
  }

  .gallery-sizer,
  .gallery-item {
    width: calc(50% - 8px);
  }

  .gallery-item {
    margin-bottom: 10px;
  }

  .content-inner {
    padding: 0 20px;
  }

  .content-page {
    padding-top: 72px;
  }

  .intro-split {
    grid-template-columns: 1fr;
  }

  .intro-split > div:first-child {
    display: none;
  }

  .commission-options {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .form-cta-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .process-pair {
    grid-template-columns: 1fr;
  }

  .method-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .method-pen-img img {
    width: 80px;
    max-width: 80px;
  }

  .detail-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .detail-split-right img {
    height: 300px;
    object-fit: cover;
  }

  .process-pair {
    gap: 32px;
  }

  .process-pair-item img {
    height: 440px;
  }

  .process-pair-item:first-child img {
    height: 600px;
  }

  .detail-images {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 24px 20px 20px;
  }
}
