* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; color: #111; background: #fff; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
img, video { display: block; width: 100%; height: auto; }
.container { width: 90%; max-width: 1440px; margin: 0 auto; }

/* nav */
nav { position: fixed; top: 0; left: 0; width: 100%; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid #eaeaea; z-index: 10; }
nav .container { display: flex; justify-content: space-between; align-items: center; min-height: 72px; }
.logo { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
nav ul { list-style: none; display: flex; gap: 28px; }
nav ul a { font-size: .95rem; color: #333; }
nav ul a:hover { opacity: .55; }

/* home */
.hero { padding: 150px 0 70px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -.045em; }
.hero p { max-width: 640px; margin-top: 22px; font-size: 1.05rem; color: #555; }
.hero-meta { justify-self: end; width: 100%; max-width: 360px; border-top: 1px solid #111; padding-top: 16px; display: grid; gap: 10px; color: #444; font-size: .95rem; }
.featured-card, .project-card { border: 1px solid #e8e8e8; overflow: hidden; }
.featured-card { display: grid; grid-template-columns: 1.2fr .8fr; margin-bottom: 22px; }
.featured-card img { height: 100%; min-height: 480px; object-fit: cover; }
.featured-content { padding: 44px 38px; display: flex; flex-direction: column; justify-content: center; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding-bottom: 48px; }
.project-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.project-info { padding: 18px 18px 22px; }
.category { display: block; font-size: .78rem; color: #666; margin-bottom: 8px; }
.featured-content h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; }
.project-info h2 { font-size: 1.35rem; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 10px; }
.featured-content p, .project-info p { color: #555; }
.featured-card:hover h2, .project-card:hover h2 { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 2px; }

.more-link { display: inline-block; margin-bottom: 90px; font-size: 1.1rem; font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }

/* inner pages */
.page { padding: 140px 0 90px; }
.page h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 32px; }
.narrow { max-width: 900px; }
.project-body { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; margin: 48px 0; }
.project-body p { max-width: 65ch; }
.project-body p + p { margin-top: 1.1em; }
.details { border-top: 1px solid #111; padding-top: 16px; display: grid; grid-template-columns: 80px 1fr; gap: 8px; }
.details dt { font-weight: 700; }
.gallery { display: grid; gap: 22px; }
.gallery.two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
figcaption { font-size: .9rem; color: #666; margin-top: 8px; }
.gallery.three { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.gallery.three img, .gallery.three video { aspect-ratio: 3 / 2; object-fit: cover; }
.drawings { gap: 48px 22px; }
.drawings figcaption { max-width: 60ch; }
.drawings strong { color: #111; }
.framed { border: 1px solid #e8e8e8; }

/* about, contact */
.about { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 60px; align-items: start; }
.about img { aspect-ratio: 4 / 5; object-fit: cover; }
.bio { max-width: 62ch; font-size: 1.05rem; }
.bio p + p { margin-top: 1.1em; }
.text-link { text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.email { font-size: clamp(1.15rem, 3.4vw, 2.2rem); font-weight: 700; }

footer { border-top: 1px solid #ececec; padding: 22px 0; text-align: center; font-size: .9rem; color: #666; }

@media (max-width: 1024px) {
  .hero-inner, .featured-card { grid-template-columns: 1fr; }
  .featured-card img { min-height: 0; max-height: 480px; }
  .hero-meta { justify-self: start; }
}

@media (max-width: 768px) {
  nav ul { gap: 16px; }
  nav ul a { font-size: .88rem; }
  .logo { font-size: 1.1rem; }
  .hero { padding: 120px 0 50px; }
  .page { padding: 112px 0 60px; }
  .project-grid, .project-body, .about, .gallery.two, .gallery.three { grid-template-columns: 1fr; }
  .project-body { gap: 32px; }
  .featured-content { padding: 28px 22px; }
}
