/* ==========================================================================
   Drop Frame Creative — site styles
   Rebuilt to match the live Squarespace site's "light-bold" theme:
   white background, near-black text, light-weight body, lowercase headings.

   FONTS: the original uses Adobe's "Halyard Display"/"Halyard Text"
   (licensed via Squarespace's built-in Adobe Fonts). To keep the exact
   typeface after leaving Squarespace, create a free web project at
   fonts.adobe.com (included with Creative Cloud), and add its embed
   <link> in index.html, then set --font-display/--font-text to
   halyard-display / halyard-text. Until then, a close system stack is
   used below.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --ink: #1c1c1c;
  --ink-strong: #000000;
  --ink-soft: #555555;
  --line: #1c1c1c;
  --font-display: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-text: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-weight: 300;
  font-size: 1.21rem; /* ≈19.4px, as the original */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}

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

.sr-only, .hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0 4rem;
}

.hero-brand h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem); /* ≈46px, matches original H2 */
  margin-bottom: 0.75rem;
}

.hero-mark { width: min(374px, 70%); }

.hero-tag { text-align: left; padding-top: 0.35rem; justify-self: end; }

.tagline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}

.tagline-sub { margin: 0; max-width: 26ch; }

/* --------------------------------------------------------------------------
   Section headings ("things we've done.", "rent our gear.")
   -------------------------------------------------------------------------- */

.work h2,
.rentals h2 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  margin: 0 0 2rem;
}

/* --------------------------------------------------------------------------
   Work carousel
   -------------------------------------------------------------------------- */

.work { padding: 2rem 0 4rem; }

.carousel { position: relative; }

.carousel-track {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0 0 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.carousel-track li {
  flex: 0 0 250px;
  scroll-snap-align: start;
}

.carousel-track figure { margin: 0; }

.carousel-track img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  background: #eee;
}

.carousel-track figcaption {
  font-size: 0.88rem;
  padding-top: 0.5rem;
  line-height: 1.35;
}

.carousel-btn {
  position: absolute;
  top: 105px;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(28, 28, 28, 0.85);
  color: #fafafa;
  font-size: 1.2rem;
  cursor: pointer;
}

.carousel-btn.prev { left: -10px; }
.carousel-btn.next { right: -10px; }
.carousel-btn:hover { background: var(--ink-strong); }

/* --------------------------------------------------------------------------
   Capabilities / markets — outlined rounded box with ruled lists
   -------------------------------------------------------------------------- */

.cap-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4rem;
  border: 2px solid var(--ink-strong);
  border-radius: 26px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.9);
  padding: 2.5rem 3rem 3rem;
  margin: 2rem 0 4.5rem;
}

.cap-title {
  font-size: clamp(2.2rem, 5vw, 4.1rem); /* ≈66px, original H1 */
  margin: 0 0 0.5rem;
}

.ruled {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ruled li {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.26rem); /* ≈36px, original H3 */
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Rentals
   -------------------------------------------------------------------------- */

.rentals { padding: 0 0 4rem; }

.rentals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.rental h3 {
  font-size: clamp(1.5rem, 3vw, 2.26rem);
  margin: 1.25rem 0 0.5rem;
}

.rental-photo {
  width: min(320px, 85%);
  margin: 0 auto;
}

.rental-photos {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.rental-photos img { width: calc(50% - 0.5rem); }

.availability { margin: 0 0 1.25rem; }

.rental details {
  border-top: 1px solid var(--line);
  padding: 0.55rem 0;
}

.rental details:last-of-type { border-bottom: 1px solid var(--line); }

.rental summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.rental summary::-webkit-details-marker { display: none; }

.rental summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  margin-right: 4px;
}

.rental details[open] summary::after { transform: rotate(-135deg); }

.rental details ul {
  list-style: none;
  margin: 0.5rem 0 0.25rem;
  padding: 0;
}

.rental details li { padding: 0.2rem 0; }

.rental details li::before { content: "• "; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 1rem 0 4rem;
}

.contact h3 {
  font-size: 1.21rem;
  margin: 0 0 1.25rem;
}

.group-label { display: block; font-size: 1rem; margin-bottom: 0.4rem; }

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row { margin-bottom: 1.1rem; }

.form-row label {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.req { color: var(--ink-soft); font-size: 0.8em; }

.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  padding: 0.65rem 0.7rem;
  font: inherit;
  font-size: 1rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--ink-strong);
  outline-offset: 1px;
}

.submit-btn {
  background: var(--ink-strong);
  color: #fafafa;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 2rem;
  cursor: pointer;
}

.submit-btn:hover { background: #333; }

.form-status { min-height: 1.4em; margin: 0.9rem 0 0; font-size: 1rem; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #b42318; }

.map-wrap {
  aspect-ratio: 1 / 1;
  max-height: 460px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1); /* matches the original's gray-styled map */
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  text-align: center;
  padding: 2rem 0 2.5rem;
}

.site-footer p { margin: 0; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   404 page
   -------------------------------------------------------------------------- */

.error-page {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.error-page h1 { font-size: 4rem; margin: 0 0 0.5rem; }
.error-page p { margin: 0 0 1.5rem; }

.error-home {
  display: inline-block;
  background: var(--ink-strong);
  color: #fafafa;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
}

.error-brand {
  display: block;
  padding: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 2.5rem; }
  .hero-tag { justify-self: start; }
  .cap-box { grid-template-columns: 1fr; gap: 2rem; padding: 1.75rem 1.5rem 2rem; }
  .rentals-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .carousel-btn { display: none; }
  .carousel-track li { flex-basis: 210px; }
  .carousel-track img { width: 210px; height: 210px; }
}

@media (max-width: 480px) {
  .name-row { grid-template-columns: 1fr; gap: 0; }
}
