@font-face {
  font-family: "Unbounded";
  src: url("/fonts/Unbounded-Variable.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --bone: #F3EFE7;
  --raised: #FBF9F5;
  --sunken: #E9E5DC;
  --ink: #3A3A3A;
  --ink-muted: #6A6A6A;
  --line: #CFC9BD;
  --line-strong: #8A847A;
  --night: #232325;
  --night-muted: #B9B6AE;
  --error: #8A2E2E;
  --display: "Unbounded", "Archivo", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bone); }
body {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 26px;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-muted); }
input, textarea, button { font: inherit; color: inherit; }
*:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow--sm { font-size: 12px; }
.heading {
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  line-height: 36px;
  text-transform: uppercase;
}
.body-lg { font-size: 20px; line-height: 30px; }
.small { font-size: 14px; line-height: 20px; }
.value { font-size: 16px; line-height: 24px; font-weight: 500; }
.muted { color: var(--ink-muted); }
.measure-440 { max-width: 440px; }
.measure-480 { max-width: 480px; }
.measure-520 { max-width: 520px; }

/* ---------- Layout helpers ---------- */
.section { padding: var(--section-y) var(--gutter); }
.stack-12, .stack-16, .stack-24, .stack-32 { display: flex; flex-direction: column; }
.stack-12 { gap: 12px; }
.stack-16 { gap: 16px; }
.stack-24 { gap: 24px; }
.stack-32 { gap: 32px; }
.align-start { align-self: flex-start; }

/* ---------- Buttons & chips ---------- */
.btn, .text-cta, .toggle, .chip {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.btn {
  display: inline-block;
  font-size: 13px;
  line-height: 16px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn--sm { padding: 12px 24px; }
.btn--ink { background: var(--ink); color: var(--bone); }
.btn--ink:hover { background: var(--night); color: var(--bone); }
.btn--outline { background: transparent; border: 1.5px solid var(--line-strong); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--hero { background: var(--bone); color: var(--night); }
.btn--hero:hover { background: var(--raised); color: var(--night); }
.btn--hero-outline { background: transparent; border: 1.5px solid var(--night-muted); color: var(--bone); }
.btn--hero-outline:hover { border-color: var(--bone); color: var(--bone); }
.btn:disabled { opacity: .6; cursor: progress; }

.text-cta { font-size: 13px; margin-top: 8px; align-self: flex-start; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: 12px;
  line-height: 16px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.toggle {
  font-size: 12px;
  line-height: 16px;
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.toggle:hover { border-color: var(--line-strong); }
.toggle.is-active { background: var(--ink); border-color: var(--ink); color: var(--bone); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  background: var(--night);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  padding: 24px var(--gutter) clamp(32px, 4vw, 48px);
}
.hero__slides { position: absolute; inset: 0; overflow: hidden; background: var(--night); }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
  background-image: var(--d);
  background-size: cover;
  background-position: var(--pos);
}
.slide.is-active { opacity: 1; }
.slide.is-pending { background-image: none; }
@media (max-aspect-ratio: 3/4) {
  .slide { background-image: var(--m); background-position: 50% 30%; }
}

.hero__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__mark { display: block; width: 44px; height: 44px; }
.hero__mark img { width: 44px; height: 44px; }
.hero__nav { display: flex; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; }
.hero__nav a { color: var(--bone); }
.hero__nav a:hover { color: var(--night-muted); }
.hero *:focus-visible { outline-color: var(--bone); }

.hero__bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  flex-wrap: wrap;
}
.hero__title { display: flex; flex-direction: column; gap: 24px; }
.hero__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 8.5vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero__tagline { font-size: 14px; color: var(--night-muted); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; max-width: 400px; padding-bottom: 8px; }

/* ---------- Services ---------- */
.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.door {
  padding: clamp(48px, 6vw, 64px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: -1px;
}
.door:first-child { border-right: 1px solid var(--line); margin-right: -1px; }
.door p { max-width: 480px; }

/* ---------- Work ---------- */
.work__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}
.card { display: flex; flex-direction: column; gap: 12px; }
.card--wide { grid-column: 1 / -1; }
.card__img {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background-color: var(--sunken);
  background-size: cover;
}
.card--wide .card__img { aspect-ratio: 21 / 9; }
.card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.card__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  text-transform: uppercase;
}
.card:hover .card__title { color: var(--ink-muted); }

/* ---------- Rentals ---------- */
.rentals { background: var(--sunken); }
.rentals__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
  align-items: end;
}
.gear {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 0 24px;
}
.gear__cell {
  border-top: 2px solid var(--line);
  padding: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 48px;
  align-items: center;
}
.about__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 680px;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 12px;
}
.about__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 0.97;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ---------- Facts (label over value) ---------- */
.facts { display: grid; gap: 0 24px; }
.facts--about { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); max-width: 520px; }
.facts--contact { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fact {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- Contact ---------- */
.contact {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 48px;
  align-items: start;
}
.form, .sent {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form { padding: clamp(24px, 3vw, 32px); }
.sent { padding: 32px; align-items: flex-start; }
.sent .heading:focus { outline: none; }
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  background: var(--bone);
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--ink); }
.field .is-invalid { border-color: var(--error); }
.form__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.form__foot .is-error { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer img { width: 260px; max-width: 100%; }
.footer__nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer__nav a { color: var(--ink-muted); }
.footer__nav a:hover { color: var(--ink); }
