@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&family=Karla:wght@300;400;500&display=swap');

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #e8e8e6;
  color: #000;
  font-family: Karla, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: #000; text-decoration: none; }
a:hover { opacity: 0.55; }

.label {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page {
  max-width: 1280px;
  margin: 24px auto;
  background: #fff;
  border: 1px solid #000;
}

.serif {
  font-family: 'Libre Caslon Display', serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

/* header */
.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 40px;
  border-bottom: 1px solid #000;
}
.site-header .brand {
  font-family: 'Libre Caslon Display', serif;
  font-size: 17px;
}

/* hero */
.hero {
  padding: 48px 40px 40px;
}
.hero h1 {
  margin: 0;
  font-size: 120px;
  line-height: 0.85;
}
.intro {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding: 0 40px 36px;
  border-bottom: 1px solid #000;
}
.intro p {
  grid-column: 1 / span 6;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
.intro nav {
  position: absolute;
  right: 40px;
  top: -72px;
  width: 32%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.nav-easter-egg {
  position: absolute;
  left: -105px;
  top: -18px;
  width: 95px;
  height: auto;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(7px 10px 8px rgba(0,0,0,0.28));
}

@media (max-width: 900px) {
  .nav-easter-egg { display: none; }
}
.intro nav a {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
}

/* carousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #000;
  background: #000;
}
.carousel-track {
  display: flex;
  transition: transform 900ms cubic-bezier(.7,0,.2,1);
}
.carousel-slide {
  min-width: 100%;
  display: flex;
  gap: 1px;
}
.carousel-slide img {
  flex: 1;
  min-width: 0;
  height: 560px;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.carousel-dots {
  position: absolute;
  right: 40px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel-dots .counter {
  margin-right: 8px;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #eee;
}
.carousel-dots button {
  width: 26px;
  height: 3px;
  padding: 0;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.35);
}
.carousel-dots button.active { background: #fff; }

.carousel--mobile { display: none; }

/* generic section */
.section {
  border-bottom: 1px solid #000;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 36px 40px 20px;
}
.section-head h2 {
  margin: 0;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
}

.portfolio-row {
  display: grid;
  grid-template-columns: 60px 1fr 200px 90px;
  gap: 24px;
  align-items: baseline;
  padding: 22px 40px;
  border-top: 1px solid #ddd;
}
.portfolio-row:hover { background: #000; color: #fff; }
.portfolio-row .num { font-family: ui-monospace, monospace; font-size: 11px; }
.portfolio-row .title { font-family: 'Libre Caslon Display', serif; font-size: 40px; letter-spacing: -0.02em; }
.portfolio-row .sub { font-size: 13px; color: #555; }
.portfolio-row:hover .sub { color: #ccc; }
.portfolio-row .arrow { font-family: ui-monospace, monospace; font-size: 11px; text-align: right; }

.note-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 22px 40px 26px;
  border-top: 1px solid #000;
}
.note-row span { font-family: ui-monospace, monospace; font-size: 11px; color: #666; line-height: 1.5; }
.note-row p { margin: 0; max-width: 62ch; font-size: 15px; line-height: 1.7; color: #333; }

/* about teaser / about page */
.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding: 56px 40px;
  border-bottom: 1px solid #000;
}
.about-grid .label-col { grid-column: 1 / span 2; }
.about-grid .text-col { grid-column: 3 / span 5; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.about-grid .text-col .lead { margin: 0; font-family: 'Libre Caslon Display', serif; font-size: 34px; line-height: 1.22; letter-spacing: -0.02em; }
.about-grid .text-col p.body { margin: 0; max-width: 52ch; font-size: 15px; line-height: 1.7; color: #333; }
.about-grid .photo-col { grid-column: 9 / span 4; }
.about-grid .photo-col img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; border: 1px solid #000; }

/* services */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #000;
  border-top: 1px solid #000;
}
.service-card {
  background: #fff;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card .num { font-family: ui-monospace, monospace; font-size: 10px; }
.service-card h3 { margin: 0; font-family: 'Libre Caslon Display', serif; font-weight: 400; font-size: 22px; }
.service-card p { margin: 0; font-size: 14px; line-height: 1.65; color: #333; }

/* footer / contact teaser */
.contact-teaser {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 40px 48px;
}
.contact-teaser h2 { margin: 0; font-family: 'Libre Caslon Display', serif; font-weight: 400; font-size: 64px; line-height: 0.95; letter-spacing: -0.035em; }
.teaser-cta {
  padding: 14px 26px;
  background: #000;
  color: #fff;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.teaser-cta:hover { background: #333; opacity: 1; }
.contact-teaser .links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.contact-teaser .social { display: flex; gap: 14px; justify-content: flex-end; }
.contact-teaser .social span { color: #999; }

/* gallery page hero */
.gallery-hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
  padding: 56px 40px 40px;
  border-bottom: 1px solid #000;
}
.gallery-hero .left { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 18px; }
.gallery-hero .left h1 { margin: 0; font-family: 'Libre Caslon Display', serif; font-weight: 400; font-size: 100px; line-height: 0.86; letter-spacing: -0.045em; }
.gallery-hero .right { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 12px; }
.gallery-hero .right p { margin: 0; font-size: 15px; line-height: 1.65; color: #333; }
.gallery-hero .right .count { font-family: ui-monospace, monospace; font-size: 11px; color: #666; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: #fff;
  border-bottom: 1px solid #000;
}
.gallery-grid img {
  grid-column: span 4;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  border: 1px solid #000;
}
.gallery-grid img:nth-child(4n) { grid-column: span 6; aspect-ratio: 4/5; }

/* about page specific */
.about-hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
  padding: 56px 40px 44px;
  border-bottom: 1px solid #000;
}
.about-hero .label-col { grid-column: 1 / span 3; }
.about-hero h1 { grid-column: 4 / span 9; margin: 0; font-family: 'Libre Caslon Display', serif; font-weight: 400; font-size: 84px; line-height: 0.88; letter-spacing: -0.045em; }

.about-body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px 24px;
  padding: 56px 40px 60px;
  border-bottom: 1px solid #000;
}
.about-body .photo { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 10px; }
.about-body .photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; border: 1px solid #000; }
.about-body .photo span { font-family: ui-monospace, monospace; font-size: 10px; color: #666; }
.about-body .copy { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 26px; }
.about-body .copy .lead { margin: 0; font-family: 'Libre Caslon Display', serif; font-size: 30px; line-height: 1.26; letter-spacing: -0.02em; }
.about-body .copy p.body { margin: 0; max-width: 58ch; font-size: 16px; line-height: 1.75; color: #333; }
.about-body .copy .cta {
  align-self: start;
  padding: 14px 26px;
  background: #000;
  color: #fff;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #000;
}
.stat { display: flex; flex-direction: column; gap: 10px; padding: 40px 40px 44px; border-right: 1px solid #000; }
.stat:last-child { border-right: none; }
.stat .num { font-family: 'Libre Caslon Display', serif; font-size: 76px; line-height: 0.9; letter-spacing: -0.04em; }
.stat .lbl { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #555; }

.strip {
  display: flex;
  gap: 1px;
  background: #fff;
  border-bottom: 1px solid #000;
}
.strip img { flex: 1; min-width: 0; width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; border: 1px solid #000; }

/* contact page */
.contact-hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
  padding: 56px 40px 44px;
  border-bottom: 1px solid #000;
}
.contact-hero .label-col { grid-column: 1 / span 3; }
.contact-hero h1 { grid-column: 4 / span 8; margin: 0; font-family: 'Libre Caslon Display', serif; font-weight: 400; font-size: 88px; line-height: 0.88; letter-spacing: -0.045em; }

.contact-body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px 24px;
  padding: 52px 40px 56px;
  border-bottom: 1px solid #000;
}
.contact-body .side { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 28px; }
.contact-body .side .lead { margin: 0; font-family: 'Libre Caslon Display', serif; font-size: 26px; line-height: 1.3; letter-spacing: -0.015em; }
.contact-body .side .direct { display: flex; flex-direction: column; gap: 14px; font-family: ui-monospace, monospace; font-size: 12px; letter-spacing: 0.04em; }
.contact-body .side .direct .lbl { color: #666; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.contact-body .side .direct a.email { border-bottom: 1px solid #000; padding-bottom: 4px; align-self: start; }
.contact-body .side .direct .social { display: flex; gap: 14px; }
.contact-body .side .direct .social span { color: #999; }

.contact-form { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field .flbl { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #555; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #000;
  background: transparent;
  font-family: Karla, sans-serif;
  font-size: 16px;
  color: #000;
  outline: none;
}
.form-field textarea { line-height: 1.6; resize: vertical; }
.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 4px;
}
.form-submit-row .fineprint { font-family: ui-monospace, monospace; font-size: 10px; color: #777; max-width: 34ch; line-height: 1.6; }
.form-submit-row button {
  padding: 16px 32px;
  background: #000;
  color: #fff;
  border: none;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.form-submit-row button:hover { background: #333; }
.form-success {
  padding: 16px 0;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.contact-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 40px 40px;
}
.contact-footer .name { font-family: 'Libre Caslon Display', serif; font-size: 30px; letter-spacing: -0.02em; }
.contact-footer .role { font-family: ui-monospace, monospace; font-size: 11px; color: #666; }

.honeypot { position: absolute; left: -9999px; }

/* responsive */
@media (max-width: 900px) {
  .page { margin: 0; border-left: none; border-right: none; }
  .hero h1 { font-size: 60px; }
  .intro { grid-template-columns: 1fr; }
  .intro p, .intro nav { grid-column: 1 / -1; }
  .intro nav { position: static; width: auto; margin-top: 16px; }
  .note-row { grid-template-columns: 1fr; gap: 8px; }
  .carousel-slide img { aspect-ratio: 4 / 5; height: auto; width: 100%; }
  .carousel--desktop { display: none; }
  .carousel--mobile { display: block; }
  .carousel--mobile .carousel-dots { right: 16px; gap: 4px; }
  .carousel--mobile .carousel-dots button { width: 10px; }
  .carousel--mobile .carousel-dots .counter { display: none; }
  .about-grid, .about-hero, .about-body, .contact-hero, .contact-body, .gallery-hero {
    grid-template-columns: 1fr;
  }
  .about-grid .text-col, .about-grid .photo-col, .about-hero h1, .about-body .photo, .about-body .copy,
  .contact-hero h1, .contact-body .side, .contact-body .side, .contact-form, .gallery-hero .left, .gallery-hero .right {
    grid-column: 1 / -1;
  }
  .about-grid .photo-col { max-width: 320px; order: -1; }
  .portfolio-row { grid-template-columns: 40px 1fr; }
  .portfolio-row .sub, .portfolio-row .arrow { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid #000; }
  .stat:last-child { border-bottom: none; }
  .strip { flex-direction: column; }
  .gallery-grid img, .gallery-grid img:nth-child(4n) { grid-column: span 12; }
  .form-row { grid-template-columns: 1fr; }
  .contact-teaser, .form-submit-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .contact-teaser .links { text-align: left; }
  .contact-teaser .social { justify-content: flex-start; }
  .site-header { padding: 18px 20px; }
  .hero, .intro, .section-head, .about-grid, .about-hero, .about-body, .contact-hero, .contact-body, .contact-teaser, .contact-footer, .gallery-hero { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 32px; }
}
