:root {
  --ink: #14181f;
  --ink-soft: #3a4450;
  --paper: #eef1f4;
  --surface: #ffffff;
  --accent: #ff5a1f;
  --accent-deep: #c93d0a;
  --line: rgba(20, 24, 31, 0.12);
  --shadow: 0 24px 60px rgba(20, 24, 31, 0.14);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --max: 1120px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(255, 90, 31, 0.12), transparent 55%),
    linear-gradient(180deg, #f5f7fa 0%, var(--paper) 40%, #e7ebf0 100%);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  min-height: 100%;
}

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

a {
  color: var(--accent-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(238, 241, 244, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  height: 2.25rem;
  width: auto;
}

.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(12, 14, 18, 0.88) 12%, rgba(12, 14, 18, 0.35) 58%, rgba(12, 14, 18, 0.55) 100%),
    linear-gradient(0deg, rgba(12, 14, 18, 0.7), transparent 45%);
}

.hero__content {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 7rem 0 4.5rem;
}

.hero__brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 800;
  animation: rise 0.9s ease both;
}

.hero__headline {
  margin: 0 0 0.85rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
  animation: rise 0.9s ease 0.08s both;
}

.hero__lede {
  margin: 0 0 1.75rem;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  animation: rise 0.9s ease 0.16s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s ease 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn--ink {
  background: var(--ink);
  color: #fff;
}

.btn--ink:hover {
  background: #000;
  color: #fff;
}

.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding: 3rem 0;
}

.section__label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
}

.section__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section__text {
  max-width: 62ch;
  color: var(--ink-soft);
}

.section__text p {
  margin: 0 0 1rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.service {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.35rem 1.25rem 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 90, 31, 0.45);
  color: inherit;
}

.service h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.service p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.prose {
  max-width: 68ch;
  color: var(--ink-soft);
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.prose ul {
  padding-left: 1.15rem;
}

.prose li {
  margin: 0.35rem 0;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.price-list span:last-child {
  white-space: nowrap;
  font-weight: 600;
}

.media-frame {
  margin: 1.75rem 0 0;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.65rem;
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.contact-panel p {
  margin: 0 0 0.55rem;
  color: var(--ink-soft);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 900px) {
  .services {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 0.4rem 0 0.8rem;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-top: 5.5rem;
  }

  .price-list li {
    flex-direction: column;
    gap: 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero__media img {
    transform: none;
  }
}
