:root {
  --color-ink: #0d0c09;
  --color-night: #17130f;
  --color-smoke: #262018;
  --color-line: rgba(230, 204, 154, 0.22);
  --color-gold: #b89b5e;
  --color-gold-soft: #f0dbad;
  --color-ivory: #f8f1e2;
  --color-muted: #c9bda6;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-ink);
  color: var(--color-ivory);
  font-family: var(--font-sans);
  line-height: 1.7;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.site-header {
  background: linear-gradient(180deg, rgba(13, 12, 9, 0.88), rgba(13, 12, 9, 0.62));
  border-bottom: 1px solid rgba(240, 219, 173, 0.12);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.navbar {
  min-height: 78px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  width: min(265px, 58vw);
  padding: 0;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0.75rem 1.5rem rgba(0, 0, 0, 0.28));
  transition: opacity 180ms ease, transform 180ms ease;
}

.navbar-brand:hover .brand-logo,
.navbar-brand:focus .brand-logo {
  opacity: 0.86;
  transform: translateY(-1px);
}

.nav-link {
  color: rgba(248, 241, 226, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
}

.nav-link::after {
  position: absolute;
  right: 0.5rem;
  bottom: 0.2rem;
  left: 0.5rem;
  height: 1px;
  content: "";
  background: var(--color-gold);
  opacity: 0;
  transform: scaleX(0.45);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-gold-soft);
}

.nav-link:hover::after,
.nav-link:focus::after {
  opacity: 0.8;
  transform: scaleX(1);
}

.btn {
  border-radius: 4px;
  font-weight: 700;
  min-height: 44px;
  padding: 0.72rem 1.1rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn-gold {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #16100a;
}

.btn-gold:hover,
.btn-gold:focus {
  background: var(--color-gold-soft);
  border-color: var(--color-gold-soft);
  color: #16100a;
  box-shadow: 0 0.9rem 2rem rgba(184, 155, 94, 0.2);
  transform: translateY(-1px);
}

.btn-outline-gold {
  border-color: rgba(215, 180, 106, 0.74);
  color: var(--color-gold-soft);
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #16100a;
}

.btn-link-light {
  color: var(--color-ivory);
  text-decoration: none;
}

.btn-link-light:hover,
.btn-link-light:focus {
  color: var(--color-gold-soft);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  overflow: visible;
  isolation: isolate;
  background: var(--color-ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("/images/kuva.jpeg");
  background-position: 55% center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transform: none !important;
  animation: none !important;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 64% 28%, rgba(184, 155, 94, 0.24), transparent 24rem),
    linear-gradient(105deg, rgba(6, 6, 5, 0.9), rgba(13, 12, 9, 0.66) 44%, rgba(13, 12, 9, 0.26)),
    linear-gradient(180deg, rgba(8, 7, 6, 0.22), rgba(8, 7, 6, 0.78));
  pointer-events: none;
  transform: none !important;
  animation: none !important;
}

.hero-shade {
  position: absolute;
  inset: auto 0 -4rem;
  z-index: 2;
  height: 14rem;
  background: linear-gradient(180deg, rgba(13, 12, 9, 0), rgba(13, 12, 9, 0.46) 58%, var(--color-ink));
  pointer-events: none;
  transform: none !important;
  animation: none !important;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: flex-start;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.hero-panel {
  position: relative;
  width: min(880px, 94%);
  margin-top: clamp(3rem, 8vh, 7rem);
  margin-left: clamp(0rem, 3.2vw, 3.8rem);
  padding: clamp(2.25rem, 4.6vw, 4.5rem);
  background:
    linear-gradient(135deg, rgba(23, 19, 15, 0.72), rgba(23, 19, 15, 0.42)),
    rgba(13, 10, 7, 0.72);
  border: 1px solid rgba(190, 155, 90, 0.35);
  border-radius: 8px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px) saturate(118%);
  -webkit-backdrop-filter: blur(14px) saturate(118%);
  animation: heroPanelFloat 900ms ease-out both;
}

.hero-panel::before {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  left: 1.15rem;
  content: "";
  border: 1px solid rgba(184, 155, 94, 0.22);
  border-radius: 5px;
  pointer-events: none;
}

.hero-panel::after {
  position: absolute;
  top: -1px;
  right: 12%;
  width: 9rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(240, 219, 173, 0.8), transparent);
}

.eyebrow {
  color: var(--color-gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--color-ivory);
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.06;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 8.4vw, 7.6rem);
}

.hero-panel h1 {
  max-width: 13.5ch;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  font-size: clamp(3.35rem, 6.1vw, 6rem);
}

h2 {
  max-width: 780px;
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
}

h3 {
  font-size: 1.45rem;
}

.hero-lead {
  max-width: 610px;
  margin-top: 1.5rem;
  color: rgba(248, 241, 226, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.section {
  padding: clamp(5.5rem, 9vw, 9rem) 0;
  scroll-margin-top: 88px;
}

.intro-section {
  position: relative;
  z-index: 0;
  background: linear-gradient(180deg, var(--color-ink), var(--color-night));
}

.section-lead {
  color: var(--color-ivory);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.intro-section p:not(.eyebrow),
.why-item p {
  color: var(--color-muted);
}

.services-section {
  background:
    linear-gradient(180deg, var(--color-night), #110f0d);
  border-top: 1px solid rgba(240, 219, 173, 0.12);
  border-bottom: 1px solid rgba(240, 219, 173, 0.12);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 3rem;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(248, 241, 226, 0.06), rgba(248, 241, 226, 0.022));
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(184, 155, 94, 0.12), transparent 46%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover {
  transform: translateY(-7px);
  background: rgba(248, 241, 226, 0.07);
  border-color: rgba(215, 180, 106, 0.54);
  box-shadow: 0 1.6rem 3.4rem rgba(0, 0, 0, 0.28);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__number {
  color: rgba(240, 219, 173, 0.72);
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.service-card h3 {
  margin: 2rem 0 0;
  font-size: 1.55rem;
}

.why-section {
  background:
    linear-gradient(120deg, rgba(215, 180, 106, 0.07), transparent 36rem),
    var(--color-ink);
}

.why-list {
  border-top: 1px solid var(--color-line);
}

.why-item {
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--color-line);
}

.why-item h3 {
  margin-bottom: 0.55rem;
}

.contact-section {
  background: var(--color-night);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 2.5rem;
  align-items: end;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(135deg, rgba(248, 241, 226, 0.07), rgba(215, 180, 106, 0.06));
  border: 1px solid rgba(240, 219, 173, 0.22);
  border-radius: 8px;
}

.contact-details {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  color: var(--color-ivory);
  font-style: normal;
}

.contact-details strong {
  color: var(--color-gold-soft);
  font-family: var(--font-serif);
  font-size: 1.6rem;
}

.contact-details a {
  color: var(--color-ivory);
  text-decoration-color: rgba(215, 180, 106, 0.5);
  text-underline-offset: 0.25em;
}

.contact-details a:hover,
.contact-details a:focus {
  color: var(--color-gold-soft);
}

.site-footer {
  padding: 1.5rem 0;
  background: #090807;
  border-top: 1px solid rgba(240, 219, 173, 0.12);
  color: rgba(248, 241, 226, 0.7);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--color-gold-soft);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
}

@keyframes heroPanelFloat {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0 1.25rem;
  }

  .site-header {
    background: rgba(13, 12, 9, 0.9);
  }

  .navbar-nav {
    align-items: stretch !important;
    gap: 0.35rem;
  }

  .btn-outline-gold {
    width: 100%;
    margin-top: 0.5rem;
  }

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

  .hero-panel {
    width: min(760px, 96%);
    margin-left: 0;
  }

  .hero-panel h1 {
    max-width: 12.5ch;
    font-size: clamp(3rem, 9.2vw, 4.8rem);
  }
}

@media (max-width: 575.98px) {
  .navbar {
    min-height: 66px;
  }

  .navbar-brand {
    width: min(230px, 62vw);
  }

  .hero-bg {
    inset: 0;
    background-position: 58% center;
    background-attachment: fixed;
    transform: none !important;
    animation: none !important;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 68% 23%, rgba(184, 155, 94, 0.2), transparent 15rem),
      linear-gradient(180deg, rgba(13, 12, 9, 0.46), rgba(13, 12, 9, 0.92)),
      linear-gradient(90deg, rgba(13, 12, 9, 0.84), rgba(13, 12, 9, 0.48));
  }

  .hero-content {
    align-items: flex-end;
    padding-top: 6rem;
    padding-bottom: 2.4rem;
  }

  .hero-panel {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    background: rgba(18, 15, 12, 0.84);
    backdrop-filter: blur(14px) saturate(112%);
    -webkit-backdrop-filter: blur(14px) saturate(112%);
  }

  .hero-panel::before {
    inset: 0.85rem;
  }

  h1 {
    font-size: clamp(3.05rem, 17vw, 4.7rem);
  }

  .hero-panel h1 {
    max-width: 10.8ch;
    font-size: clamp(2.45rem, 12.5vw, 3.5rem);
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }
}
