@font-face {
  font-family: 'DM Serif Display';
  src: url('../fonts/dm-serif-display-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Serif Display';
  src: url('../fonts/dm-serif-display-italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1d2327;
  --ink-2: #2f393f;
  --stone: #f6f3ee;
  --sand: #ece5da;
  --white: #ffffff;
  --brass: #b08d57;
  --brass-dark: #8a6a3c;
  --text: #24292d;
  --muted: #5d676e;
  --line: #ddd4c6;
  --font-head: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1160px;
  --radius: 6px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--stone);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 300;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--primary { background: var(--brass); color: #fff; }
.btn--primary:hover { background: var(--brass-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--full { width: 100%; text-align: center; }

/* Header (no backdrop-filter: it would trap the fixed mobile menu inside the header) */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 238, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(29, 35, 39, 0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--brass);
  font-family: var(--font-head);
  font-size: 1.4rem;
  border-radius: 4px;
}
.logo__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-size: 1.3rem;
  line-height: 1.05;
  color: var(--ink);
}
.logo__text small {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 28px; }
.nav__link {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}
.nav__link:hover { color: var(--brass-dark); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #e9e4dc;
  padding: 96px 0 104px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 65%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 65%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero .eyebrow { color: var(--brass); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--brass); }
.hero__lead {
  font-size: 1.12rem;
  color: #c9c3b9;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art svg { width: 100%; height: auto; }

/* Facts bar */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: none; padding-left: 0; }
.fact__label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.fact__value { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--sand); }
.section--dark { background: var(--ink); color: #d9d3c9; }
.section--dark h2 { color: #fff; }
.section--dark .eyebrow { color: var(--brass); }

.section__head { max-width: 680px; margin-bottom: 52px; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.section__lead { color: var(--muted); font-size: 1.05rem; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.card::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: -1px;
  height: 3px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover::after { transform: scaleX(1); }
.card__num {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--brass-dark);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.card p { color: var(--muted); }

/* Rental steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.step {
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step__num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brass);
  font-family: var(--font-head);
  margin-bottom: 16px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

.note {
  background: var(--ink);
  color: #d9d3c9;
  border-radius: var(--radius);
  padding: 30px 34px;
  border-left: 4px solid var(--brass);
}
.note h3 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.about__text h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 20px; }
.about__text p { color: var(--muted); font-size: 1.05rem; margin-bottom: 14px; }
.about__facts {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 28px;
}
.about__facts div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.about__facts div:last-child { border-bottom: none; }
.about__facts dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.about__facts dd { color: var(--ink); font-weight: 500; }

/* Contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact__info h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.contact__info > p { color: #c9c3b9; margin-bottom: 28px; }
.contact__list li {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
.contact__list span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 4px;
}
.contact__list a {
  align-self: flex-start;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 141, 87, 0.7);
}
.contact__list a:hover { color: var(--brass); }

.contact__form {
  background: var(--stone);
  color: var(--text);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font: inherit;
  color: var(--text);
}
.form-group textarea { resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass); }
.form-hint { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }
.form-note { font-size: 0.9rem; font-weight: 600; color: var(--brass-dark); margin-top: 8px; min-height: 1.2em; }

/* Legal pages */
.legal { padding: 72px 0 96px; }
.legal__inner { max-width: 780px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 28px; overflow-wrap: break-word; hyphens: auto; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal p, .legal li, .legal address { color: var(--text); margin-bottom: 12px; }
.legal address { font-style: normal; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--brass-dark); }

/* Footer */
.footer { background: #151a1d; color: #a9a39a; padding: 40px 0; font-size: 0.9rem; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__brand { font-family: var(--font-head); font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: #d9d3c9; text-decoration: none; }
.footer__links a:hover { color: var(--brass); }

/* Reveal animation (only when JS is running, so content never stays hidden) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js [data-reveal].in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--stone);
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 32px 24px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
  }
  .nav.active { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; gap: 20px; width: 100%; }
  .nav__link { font-size: 1.15rem; }
  .nav__cta { width: 100%; text-align: center; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 80px; }
  .cards { grid-template-columns: 1fr; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: none; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .steps { grid-template-columns: 1fr; }
  .fact { padding: 20px 14px; }
  .fact__value { font-size: 1.05rem; }
  .about__facts { padding: 4px 18px; }
  .about__facts div { grid-template-columns: 1fr; gap: 2px; }
  .contact__form { padding: 24px; }
  .hero__actions .btn { width: 100%; text-align: center; }
}
