/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent: #8b1e2b;
  --accent-light: #b8334a;
  --bg: #fafafa;
  --bg-alt: #f0ede8;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --white: #ffffff;
  --max-width: 1100px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Navigation ===== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: padding var(--transition);
}

#nav.scrolled {
  padding: 0.85rem 2rem;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-logo:hover {
  color: var(--accent);
}

#nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

#nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

#nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

#nav-links a:hover {
  color: var(--text);
}

#nav-links a:hover::after {
  width: 100%;
}

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

#menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

#menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
#menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  background: var(--bg);
  padding: 6rem 2rem 2rem;
}

.hero-content {
 max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

#hero h1 {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 2,5;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: 1.5rem;
  font-weight: 200;
  max-width: 500px;
  color: var(--black);
  margin: 0 auto 2.5rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 230, 255, 0.15);
}

/* ===== Section Titles ===== */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
}

/* ===== About ===== */
#about {
  padding: 6rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.about-images {
  margin-top: 0rem;
}

.about-images img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.8s ease;
}

/* ===== Work ===== */
#work {
  padding: 6rem 0;
  background: var(--bg);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.work-item {
  cursor: pointer;
}

.work-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: transform var(--transition);
}

.work-item:hover .work-thumb {
  transform: translateY(-6px);
}

.work-label {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
}

.work-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.work-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
}

.work-note {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== Photography ===== */
#photography {
  padding: 6rem 0;
  background: var(--white);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.photo-item {
  aspect-ratio: 1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform var(--transition);
}

.photo-item:hover {
  transform: scale(1.02);
}

.photo-label {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
}

/* ===== Contact ===== */
#contact {
  padding: 6rem 0;
  background: var(--bg-alt);
  text-align: center;
}

.contact-container {
  max-width: 600px;
}

.contact-intro {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.contact-btn {
  margin-bottom: 3rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.social-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ===== Footer ===== */
footer {
  padding: 2.5rem 0;
  text-align: center;
  background: var(--text);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  #menu-toggle {
    display: flex;
  }
  .about-images {
  margin-top: 2rem;
}

  #nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--white);
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  #nav-links.open {
    transform: translateY(0);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 2rem;
  }

  #about, #work, #photography, #contact {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .social-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===== Fade-in animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.product-grid .photo-item:nth-child(1),
.product-grid .photo-item:nth-child(2),
.product-grid .photo-item:nth-child(6),
.product-grid .photo-item:nth-child(7) {
  grid-column: span 3;
}

.product-grid .photo-item:nth-child(3),
.product-grid .photo-item:nth-child(4),
.product-grid .photo-item:nth-child(5) {
  grid-column: span 2;
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.portrait-grid .photo-item {
  aspect-ratio: auto;
  height: auto;
  overflow: visible;
  margin-bottom: 0;
}

.portrait-grid .photo-item:nth-child(1),
.portrait-grid .photo-item:nth-child(2) {
  grid-column: span 3;
}

.portrait-grid .photo-item:nth-child(3) {
  grid-column: span 6;
}

.portrait-grid .photo-item:nth-child(4),
.portrait-grid .photo-item:nth-child(5),
.portrait-grid .photo-item:nth-child(6) {
  grid-column: span 2;
}

.portrait-grid img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
}
.photo-category {
  margin-top: 4rem;
  margin-bottom: 1.5rem;
}
.product-grid .photo-item {
  border-radius: 5px !important;
  overflow: hidden;
}

.product-grid .photo-item img {
  border-radius: 5px;
}
.portrait-grid .photo-item:nth-child(4),
.portrait-grid .photo-item:nth-child(5),
.portrait-grid .photo-item:nth-child(6) {
  grid-column: span 2;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.portrait-grid .photo-item:nth-child(4) img,
.portrait-grid .photo-item:nth-child(5) img,
.portrait-grid .photo-item:nth-child(6) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait-grid .photo-item:nth-child(7),
.portrait-grid .photo-item:nth-child(8) {
  grid-column: span 3;
}

.portrait-grid .photo-item:nth-child(9),
.portrait-grid .photo-item:nth-child(10),
.portrait-grid .photo-item:nth-child(11) {
  grid-column: span 2;
}
.portrait-grid .photo-item:nth-child(4),
.portrait-grid .photo-item:nth-child(5),
.portrait-grid .photo-item:nth-child(6),
.portrait-grid .photo-item:nth-child(9),
.portrait-grid .photo-item:nth-child(10),
.portrait-grid .photo-item:nth-child(11) {
  grid-column: span 2;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.portrait-grid .photo-item:nth-child(4) img,
.portrait-grid .photo-item:nth-child(5) img,
.portrait-grid .photo-item:nth-child(6) img,
.portrait-grid .photo-item:nth-child(9) img,
.portrait-grid .photo-item:nth-child(10) img,
.portrait-grid .photo-item:nth-child(11) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait-grid .photo-item:nth-child(7),
.portrait-grid .photo-item:nth-child(8) {
  grid-column: span 3;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.portrait-grid .photo-item:nth-child(7) img,
.portrait-grid .photo-item:nth-child(8) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-grid .photo-item:nth-child(1),
.product-grid .photo-item:nth-child(2),
.product-grid .photo-item:nth-child(6),
.product-grid .photo-item:nth-child(7) {
  grid-column: span 3;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.product-grid .photo-item:nth-child(3),
.product-grid .photo-item:nth-child(4),
.product-grid .photo-item:nth-child(5) {
  grid-column: span 2;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.architecture-grid .photo-item:nth-child(1),
.architecture-grid .photo-item:nth-child(2) {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.architecture-grid .photo-item:nth-child(1) {
  grid-column: 1 / 4;
}

.architecture-grid .photo-item:nth-child(2) {
  grid-column: 4 / 7;
}

.architecture-grid .photo-item:nth-child(1) img,
.architecture-grid .photo-item:nth-child(2) img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}.architecture-grid .photo-item:nth-child(3) {
  grid-column: span 6;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.architecture-grid .photo-item:nth-child(4),
.architecture-grid .photo-item:nth-child(5),
.architecture-grid .photo-item:nth-child(6) {
  grid-column: span 2;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.architecture-grid .photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}
/* ===== Architecture Photography ===== */

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 0.5rem;
  row-gap: 1.5rem;
  padding: 0;
}

.architecture-grid .photo-item:nth-child(1),
.architecture-grid .photo-item:nth-child(2) {
  grid-column: span 3;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.architecture-grid .photo-item:nth-child(1) img,
.architecture-grid .photo-item:nth-child(2) img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.architecture-grid .photo-item:nth-child(3) {
  grid-column: span 6;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.architecture-grid .photo-item:nth-child(4),
.architecture-grid .photo-item:nth-child(5),
.architecture-grid .photo-item:nth-child(6) {
  grid-column: span 2;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.architecture-grid .photo-item:nth-child(3) img,
.architecture-grid .photo-item:nth-child(4) img,
.architecture-grid .photo-item:nth-child(5) img,
.architecture-grid .photo-item:nth-child(6) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}
.architecture-grid .photo-item:nth-child(1) {
  margin-right: -0.5rem;
}

.architecture-grid .photo-item:nth-child(2) {
  margin-left: -0.5rem;
}
/* ===== Design / Study Projects ===== */

.design-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.design-title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 4rem;
  margin-bottom: 0.5rem;
}

.design-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.design-intro {
  max-width: 800px;
  margin-bottom: 3rem;
}

.design-intro p {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.design-item {
  overflow: hidden;
  border-radius: 5px;
}

.design-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* First project */

/* Logo / Concept layout */

/* Logo / Concept layout */

.design-logo-grid {
  justify-items: center;
}

.design-logo-grid .design-item:nth-child(1) {
  grid-column: 2 / 6;
}

.design-logo-grid .design-item:nth-child(2),
.design-logo-grid .design-item:nth-child(3) {
  grid-column: span 3;
}

/* Catalogue */

.design-heading {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
}

  .design-single {
    max-width: 280px;
    margin: 0 auto;
  }

}

.design-pdf-placeholder {
  padding: 5rem 2rem;
  background: var(--bg-alt);
  text-align: center;
  color: var(--text-muted);
  border-radius: 5px;
  transition: transform var(--transition);
}

.design-pdf-placeholder:hover {
  transform: translateY(-4px);
}

/* Poster variations */

.design-variations-grid {
  margin-top: 2rem;
}

.design-variations-grid .design-item {
  grid-column: span 3;
}