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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #1d1d1f;
}

.bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
}

.bg img:first-child {
  opacity: 1;
}

.nav,
main,
.site-footer,
.lightbox {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  line-height: 0;
}

.logo img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: #1d1d1f;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: -0.01em;
  padding: 10px 0;
}

.nav-links a:hover {
  opacity: 0.55;
}

.wa,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 980px;
  background: #1d1d1f;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.wa:hover,
.btn:hover {
  background: #000;
}

.menu-btn {
  display: none;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 980px;
  background: #fff;
  color: #1d1d1f;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  min-height: calc(100dvh - 64px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: transparent;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.12) 55%, transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 11em;
  font-size: clamp(2.4rem, 6.2vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.02;
}

.lede {
  margin: 18px 0 0;
  max-width: 28em;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.hero .btn {
  min-height: 44px;
  padding: 0 22px;
  background: #fff;
  color: #1d1d1f;
}

.hero .btn:hover {
  background: #f5f5f7;
}

.text-link {
  color: #fff;
  font-size: 16px;
  text-underline-offset: 4px;
}

.panel {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.panel-inner {
  padding: 72px 48px 64px;
}

.stats {
  margin-top: 0;
}

.stats-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding: 28px 48px;
}

.stats p {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.stats p + p {
  padding-left: 40px;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h3 {
  margin: 40px 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.intro {
  margin: 16px 0 8px;
  max-width: 38em;
  color: #6e6e73;
}

.note {
  margin: 8px 0 0;
  color: #6e6e73;
  font-size: 15px;
}

.work {
  margin-top: 28px;
}

.shot {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #e8e8ed;
}

.cap {
  display: block;
  padding: 12px 2px 40px;
  color: #000;
  font-size: 14px;
}

.shot:focus-visible,
.menu-btn:focus-visible,
.lb-close:focus-visible,
a:focus-visible {
  outline: 2px solid #1d1d1f;
  outline-offset: 3px;
}

.hero a:focus-visible {
  outline-color: #fff;
}

.rates {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.rates li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.rates strong {
  display: block;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.rates span {
  display: block;
  margin-top: 4px;
  color: #6e6e73;
  font-size: 15px;
}

.rates b {
  flex: 0 0 auto;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.rates a {
  color: #1d1d1f;
}

.steps {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 18px 0 18px 52px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
}

.steps li:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 18px;
  width: 28px;
  color: #6e6e73;
  font-variant-numeric: tabular-nums;
}

.contact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.contact-list li {
  padding: 14px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.contact-list li:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 40px;
  color: #fff;
  font-size: 14px;
}

.footer-inner {
  padding: 8px 4px 24px;
}

.site-footer p {
  margin: 0;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px 32px;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

.lb-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1200px, 100%);
  max-height: 100%;
}

.lb-figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  margin: 0 auto;
  background: #111;
}

.lb-figure figcaption {
  margin-top: 10px;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 980px;
  background: #fff;
  color: #1d1d1f;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 800px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .panel-inner,
  .stats-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .panel-inner {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .stats-inner {
    flex-direction: column;
    gap: 8px;
  }

  .stats p + p {
    padding-left: 0;
    border-left: 0;
  }

  .rates li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .hero-inner {
    width: min(1120px, calc(100% - 32px));
    padding-bottom: 48px;
  }
}

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