:root {
  --ink: #080808;
  --paper: #ffffff;
  --gray: #efefec;
  --line: #e5e5e5;
  --muted: #555555;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Anton", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  background-image: radial-gradient(rgba(8, 8, 8, 0.10) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { font-family: var(--serif); font-size: 26px; text-decoration: none; letter-spacing: 0.01em; }
.pillnav {
  display: flex; gap: 4px; background: var(--gray);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px;
}
.pillnav a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em;
  text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.pillnav a:hover, .pillnav a.active { background: var(--ink); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0.14em;
  text-decoration: none; border-radius: 999px; padding: 15px 28px;
  border: 2px solid var(--ink); transition: transform 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #222; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-small { padding: 10px 20px; font-size: 12.5px; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--gray); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Availability strip ---------- */
.avail {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  max-width: 1240px; margin: 96px auto 0; padding: 18px 28px 0;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.05em; color: var(--muted);
}
.avail a { text-decoration: none; }
.avail a:hover { color: var(--ink); text-decoration: underline; }
.avail-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); flex: none; }
.avail-sep { color: #bbb; }

/* ---------- Hero ---------- */
.hero {
  position: relative; max-width: 1240px; margin: 0 auto;
  padding: 56px 28px 90px; overflow: visible;
}
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.hero-name { line-height: 0.9; text-transform: uppercase; }
.hero-serif {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(88px, 13vw, 190px); letter-spacing: -0.01em;
}
.hero-sans {
  display: block; font-family: var(--sans);
  font-size: clamp(88px, 15.5vw, 230px); letter-spacing: 0.005em; margin-top: -0.08em;
}
.hero-photo {
  position: absolute; right: 28px; top: 30px; width: min(34vw, 420px); z-index: 2;
  animation: photo-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both 0.15s;
}
.hero-photo img { width: 100%; height: auto; display: block; }
@keyframes photo-in { from { opacity: 0; transform: translateY(30px) scale(0.97); } to { opacity: 1; transform: none; } }
.hero-sub {
  max-width: 560px; font-size: 19px; line-height: 1.55; color: #333;
  margin-top: 26px; position: relative; z-index: 3;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; position: relative; z-index: 3; }

/* ---------- Marquee ---------- */
.marquee-wrap { overflow: hidden; padding: 10px 0 40px; }
.marquee { overflow: hidden; white-space: nowrap; padding: 14px 0; }
.marquee-black { background: var(--ink); color: #fff; transform: rotate(-1.4deg) scale(1.02); }
.marquee-outline { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(0.8deg) scale(1.02); margin-top: -6px; }
.marquee-track { display: inline-flex; animation: scroll 26s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; }
.marquee-track span { font-family: var(--sans); font-size: 30px; letter-spacing: 0.03em; text-transform: uppercase; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: 1240px; margin: 0 auto; padding: 80px 28px; }
.sec-num {
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.2em;
  border: 1px solid var(--ink); border-radius: 999px; display: inline-block; padding: 7px 16px;
}
.sec-head { margin-top: 26px; margin-bottom: 40px; line-height: 1.02; }
.serif-line { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -0.01em; }
.sans-line { font-family: var(--sans); font-size: clamp(38px, 6vw, 78px); letter-spacing: 0.005em; text-transform: uppercase; }
.sans-line.light, .serif-line.light { color: #fff; }

/* ---------- Filters + cards ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.filter {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.05em; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter:hover { border-color: var(--ink); }
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.10); }
.card.hide { display: none; }
.card-img { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--gray); }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.card:hover .card-img img { transform: scale(1.045); }
.card-body { padding: 24px 26px 28px; }
.card-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.card-meta span { color: var(--ink); font-weight: 500; }
.card-body h3 { font-family: var(--sans); font-size: 30px; letter-spacing: 0.01em; text-transform: uppercase; margin-bottom: 10px; }
.card-body p { font-size: 15.5px; line-height: 1.6; color: #333; }
.card-body .tags { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.03em; color: var(--muted); margin-top: 14px; }
.textlink { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.textlink:hover { background: var(--ink); color: #fff; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none; cursor: pointer; text-align: left; padding: 26px 4px;
  font-family: var(--sans); font-size: clamp(24px, 3.4vw, 38px); letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink);
}
.acc-head:hover { color: #444; }
.acc-icon { font-family: var(--mono); font-size: 30px; font-weight: 400; transition: transform 0.3s; flex: none; }
.acc.open .acc-icon { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.acc-body p { font-size: 16.5px; line-height: 1.65; color: #333; max-width: 820px; }
.acc-body .acc-meta { font-size: 14.5px; margin-top: 12px; }
.acc-body .acc-meta:last-child { padding-bottom: 28px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.about-card { background: var(--ink); color: #fff; border-radius: 20px; padding: 32px 30px; }
.about-line { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.25; }
.snap { margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.snap div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); font-size: 14.5px; line-height: 1.5; }
.snap span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #bbb; }
.about-text h3 { font-family: var(--sans); font-size: 26px; letter-spacing: 0.01em; text-transform: uppercase; margin: 6px 0 12px; }
.about-text h3:not(:first-child) { margin-top: 30px; }
.about-text p { font-size: 16px; line-height: 1.7; color: #333; }
.about-text .tags { font-family: var(--mono); font-size: 13px; line-height: 1.9; color: var(--muted); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; background: #fff; transition: transform 0.3s, background 0.3s; }
.step:hover { transform: translateY(-5px); background: var(--gray); }
.step-num { font-family: var(--mono); font-size: 13px; letter-spacing: 0.15em; color: var(--muted); }
.step h3 { font-family: var(--sans); font-size: 28px; letter-spacing: 0.01em; text-transform: uppercase; margin: 14px 0 10px; }
.step p { font-size: 15px; line-height: 1.65; color: #333; }

/* ---------- Contact ---------- */
.contact-panel { background: var(--ink); color: #fff; border-radius: 26px; padding: 64px 52px; }
.contact-panel h2 { line-height: 1.02; }
.contact-sub { font-size: 17px; line-height: 1.6; color: #ccc; max-width: 620px; margin-top: 22px; }
.contact-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.contact-note { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; color: #999; margin-top: 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 64px 28px 30px; }
.footer-big { font-family: var(--serif); font-size: clamp(40px, 6vw, 72px); max-width: 1240px; margin: 0 auto 44px; }
.footer-cols { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: #999; margin-bottom: 14px; }
.footer-cols a { display: block; text-decoration: none; font-size: 15.5px; padding: 5px 0; color: #ddd; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { max-width: 1240px; margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.2); display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 12.5px; color: #999; }
.to-top { color: #fff; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pillnav { display: none; }
  .grid, .about-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero-photo { position: relative; right: auto; top: auto; width: min(72vw, 340px); margin: 24px auto 0; }
  .hero { padding-bottom: 60px; }
  .contact-panel { padding: 44px 26px; }
  .footer-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .topbar { padding: 12px 16px; }
  .section { padding: 60px 18px; }
  .hero { padding: 40px 18px 50px; }
  .avail { padding: 14px 18px 0; }
  .btn { padding: 13px 22px; font-size: 13px; }
  .snap div { grid-template-columns: 1fr; gap: 4px; }
}
