/* SCULPTURE BOOK INC. — rebuilt from Squarespace original */
:root {
  --bg: #6b635a;
  --cream: #f6f3ec;
  --muted: #c7bfb4;
  --dark: #55504a;
  --line: rgba(246, 243, 236, 0.4);
  --pad: clamp(20px, 4.6vw, 62px);
  --serif: "ivypresto-display", "Cormorant", "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "aktiv-grotesk", "Inter", -apple-system, "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- header ---------- */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px var(--pad);
  max-width: calc(1800px + 2 * var(--pad));
  margin-inline: auto;
}
.site-title {
  font-family: var(--sans);
  font-size: clamp(22px, 1.53vw, 40px);
  letter-spacing: 0.02em;
  color: var(--cream);
  white-space: nowrap;
}
nav.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
nav.site-nav a {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.9;
  padding-bottom: 2px;
}
nav.site-nav a:hover { opacity: 1; }
nav.site-nav a.active { border-bottom: 1px solid var(--cream); }

/* ---------- shared layout ---------- */
/* original site caps all content at 1800px, centered */
.wrap {
  padding-left: var(--pad);
  padding-right: var(--pad);
  max-width: calc(1800px + 2 * var(--pad));
  margin-inline: auto;
}
section { padding-top: clamp(30px, 5vw, 70px); padding-bottom: clamp(30px, 5vw, 70px); }

h1.display, .display {
  font-family: var(--serif);
  font-weight: 100;
  font-size: clamp(48px, 5.3vw, 131px);
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--cream);
}
.display em { font-style: italic; font-weight: 100; }
.display .line { display: block; }
.display .line + .line { margin-top: 33px; }

.page-title {
  font-family: var(--serif);
  font-weight: 100;
  font-size: clamp(40px, 5.3vw, 84px);
  line-height: 1.02;
  max-width: 18em;
}

/* pill button */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 90px;
  transition: background 0.25s, color 0.25s;
  text-align: center;
}
.btn:hover { background: var(--cream); color: var(--bg); }

/* ---------- home ---------- */
.hero { padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(36px, 5vw, 80px); }

.intro-row {
  display: grid;
  grid-template-columns: 293px minmax(0, 519px);
  gap: 84px;
  align-items: start;
}
.intro-row .intro-text p { margin-bottom: 34px; }

.full-image { padding-top: 0; }
/* original crops full-bleed images to 1800x933 */
.full-image img { width: 100%; aspect-ratio: 1800 / 933; object-fit: cover; }

/* project sections: image one side, label+copy the other (measured from original) */
.project-row {
  display: grid;
  grid-template-columns: 41.3% 49.7%;
  justify-content: space-between;
  align-items: center;
}
.project-row.image-right { grid-template-columns: 49.7% 37.1%; }
.project-row.indent .project-image { padding-left: 8.4%; }
.project-body {
  display: grid;
  grid-template-columns: 215px minmax(0, 519px);
  gap: clamp(24px, 3vw, 90px);
  align-items: start;
}
.project-label p { margin-bottom: 22px; color: var(--cream); }
.project-copy p { margin-bottom: 28px; }
.project-copy .btn { margin-top: 40px; }
.project-image img { width: 100%; }

/* ---------- gallery pages ---------- */
.gallery-head { padding-bottom: clamp(20px, 3vw, 40px); text-align: center; }
.gallery-head .page-title { margin: 0 auto; }
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 4vw, 60px);
  row-gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.gallery figure { margin: 0; }
/* natural size, never upscale */
.gallery figure img { width: auto; max-width: 100%; height: auto; cursor: zoom-in; }
.gallery figure.wide { grid-column: 1 / -1; justify-self: center; }
.gallery figure.wide img { max-width: 100%; }
.gallery figure:nth-child(odd):not(.wide) { justify-self: start; }
.gallery figure:nth-child(even):not(.wide) {
  justify-self: end;
  margin-top: clamp(40px, 8vw, 130px);
}
.gallery figure:nth-child(even):not(.wide) img { margin-left: auto; }
.gallery figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.about-grid .lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.3;
  letter-spacing: 0;
}

/* ---------- contact ---------- */
.contact-figure { max-width: 62%; margin: 0 auto; }
.contact-figure img { width: 100%; aspect-ratio: 1240 / 670; object-fit: cover; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 150px);
  align-items: start;
}
.contact-lede {
  font-family: var(--serif);
  font-weight: 100;
  font-size: clamp(36px, 3.4vw, 64px);
  line-height: 1.1;
  color: var(--cream);
}

.cform .f-label {
  display: block;
  font-family: var(--mono);
  font-size: 16px;
  margin: 36px 0 4px;
}
.cform .f-label:first-child { margin-top: 0; }
.cform .sub-label { display: block; font-family: var(--mono); font-size: 11px; margin-bottom: 4px; }
.cform .req { font-size: 10px; color: var(--muted); }
.cform .name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cform input[type="text"],
.cform input[type="email"],
.cform input[type="tel"],
.cform textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--cream);
  border-radius: 0;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 15px;
  padding: 8px 0;
  outline: none;
  resize: vertical;
}
.cform input:focus, .cform textarea:focus { border-bottom-color: #fff; }
.cform .pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.cform .pills input { position: absolute; opacity: 0; pointer-events: none; }
.cform .pills label {
  font-family: var(--mono);
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}
.cform .pills input:checked + label { background: var(--cream); color: var(--bg); }
.submit-btn {
  margin-top: 44px;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  padding: 4px 26px 12px;
  cursor: pointer;
}
.submit-btn:hover { color: var(--cream); border-bottom-color: var(--cream); }
.form-status { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- footer ---------- */
.prefooter {
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: 0;
}
.prefooter p { max-width: 560px; }

footer.site-footer {
  padding: clamp(40px, 6vw, 90px) var(--pad) 40px;
  max-width: calc(1800px + 2 * var(--pad));
  margin-inline: auto;
}
footer .footer-cta { margin-bottom: clamp(48px, 7vw, 110px); }
footer .footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}
footer address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.6;
}
footer address strong { display: block; margin-bottom: 6px; }
footer address a { text-decoration: underline; text-underline-offset: 3px; }
footer .fineprint {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  line-height: 1.8;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(35, 32, 29, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  cursor: zoom-out;
  padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 92vh; width: auto; height: auto; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr; row-gap: 48px; }
  .gallery figure:nth-child(even):not(.wide) { margin-top: 0; justify-self: start; }
  .intro-row { grid-template-columns: 1fr; gap: 32px; }
  .project-row, .project-row.image-right { grid-template-columns: 1fr; gap: 28px; }
  .project-row.indent .project-image { padding-left: 0; }
  .project-body { grid-template-columns: 1fr; gap: 16px; }
  .project-row.image-right .project-image { order: 3; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-figure { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .btn { padding: 13px 48px; }
  footer .fineprint { text-align: left; }
}
