:root {
  --page-bg: #0d120f;
  --panel-width: 36rem;
  --text-main: #f4f1ea;
  --text-soft: rgba(244, 241, 234, 0.8);
  --text-muted: rgba(244, 241, 234, 0.58);
  --line-soft: rgba(244, 241, 234, 0.14);
  --brand-green: #89c75c;
  --logo-bg: rgba(5, 8, 7, 0.88);
  --logo-stroke: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 28px 60px rgba(0, 0, 0, 0.24);
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--page-bg);
  color: var(--text-main);
  font-family: "Manrope", "Segoe UI Variable Text", sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.background-image,
.background-overlay,
.hero {
  position: absolute;
  inset: 0;
}

.background-image {
  background-image: url("assets/room-with-door-optimized.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.92) contrast(0.96) brightness(0.9);
  transform: scale(1.02);
}

.background-overlay {
  background:
    radial-gradient(
      circle at 16% 22%,
      rgba(248, 244, 236, 0.24) 0%,
      rgba(248, 244, 236, 0.14) 18%,
      rgba(248, 244, 236, 0.06) 34%,
      transparent 62%
    ),
    radial-gradient(
      circle at 18% 42%,
      rgba(137, 199, 92, 0.08) 0%,
      rgba(137, 199, 92, 0.035) 22%,
      rgba(137, 199, 92, 0.015) 34%,
      transparent 54%
    ),
    linear-gradient(
      90deg,
      rgba(7, 10, 8, 0.86) 0%,
      rgba(7, 10, 8, 0.76) 18%,
      rgba(7, 10, 8, 0.54) 40%,
      rgba(7, 10, 8, 0.18) 68%,
      rgba(8, 12, 10, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 12, 10, 0.3) 0%,
      rgba(8, 12, 10, 0.1) 38%,
      rgba(8, 12, 10, 0.32) 100%
    );
}

.hero {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding: clamp(1.5rem, 4vw, 4rem);
  z-index: 1;
}

.content-panel {
  position: relative;
  width: min(100%, var(--panel-width));
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.95rem, 2vh, 1.45rem);
}

.logo-plaque {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.38rem;
  padding: 0.9rem 1.15rem 0.82rem;
  border: 1px solid var(--logo-stroke);
  border-radius: 0.18rem;
  background: var(--logo-bg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.logo-plaque.logo-plaque--image {
  gap: 0;
  padding: 0;
  width: clamp(8.75rem, 18vw, 11rem);
  height: auto;
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
  margin-top: -0.45rem;
}

.logo-plaque__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.logo-plaque::before {
  content: "";
  position: absolute;
  left: -0.9rem;
  top: 50%;
  width: 2px;
  height: clamp(3.9rem, 10vh, 5.7rem);
  transform: translateY(-50%);
  background: linear-gradient(
    180deg,
    rgba(137, 199, 92, 0),
    rgba(137, 199, 92, 0.96),
    rgba(137, 199, 92, 0)
  );
  box-shadow: none;
}

.logo-plaque__wordmark {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 0.82rem);
}

.logo-plaque__refresher,
.logo-plaque__p {
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.logo-plaque__refresher {
  color: var(--brand-green);
}

.logo-plaque__p {
  color: #ffffff;
}

.logo-plaque__tagline {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.42rem, 0.8vw, 0.58rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.95rem;
}

.hero-copy__headline {
  margin: 0;
  font-size: clamp(2.55rem, 4.45vw, 4.05rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero-copy__headline-line {
  display: block;
}

.hero-copy__headline-line + .hero-copy__headline-line {
  margin-top: 0.08em;
}

.hero-copy__subheadline {
  margin: 0;
  max-width: 38rem;
  color: var(--text-soft);
  font-size: clamp(0.82rem, 1.05vw, 0.94rem);
  line-height: 1.55;
}

.hero-copy__subheadline p {
  margin: 0;
}

.hero-copy__subheadline p + p {
  margin-top: 0.5rem;
}

.founder-block {
  display: grid;
  gap: 0.18rem;
  color: var(--text-main);
}

.founder-block__label {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.founder-block__name {
  font-size: clamp(0.98rem, 1.35vw, 1.06rem);
  font-weight: 700;
}

.contact-block {
  width: min(100%, 26rem);
  margin: auto 0 0;
  display: grid;
  gap: 0.5rem;
  font-style: normal;
}

.contact-block__title {
  margin: 0 0 0.35rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.contact-link {
  display: grid;
  gap: 0.24rem;
  padding: 0.66rem 0;
  text-decoration: none;
  border-top: 1px solid var(--line-soft);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.contact-link[href^="mailto:"] {
  padding-bottom: 0.38rem;
}

.contact-link:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #ffffff;
  border-color: rgba(92, 226, 119, 0.34);
  transform: translateX(3px);
}

.contact-link__label {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-link__value {
  font-size: clamp(0.99rem, 1.45vw, 1.06rem);
  font-weight: 700;
}

.powered-by {
  margin: 0.72rem 0 0;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.powered-by__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 241, 234, 0.14);
  padding-bottom: 0.08rem;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.powered-by__link:hover,
.powered-by__link:focus-visible {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(137, 199, 92, 0.34);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .background-image,
  .content-panel,
  .logo-plaque,
  .hero-copy__headline,
  .hero-copy__subheadline,
  .founder-block,
  .contact-block,
  .powered-by,
  .contact-link,
  .powered-by__link {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 1.35rem;
  }

  .content-panel {
    width: min(100%, 30rem);
    gap: 0.85rem;
  }

  .logo-plaque {
    gap: 0.34rem;
    padding: 0.84rem 1rem 0.76rem;
  }

  .logo-plaque::before {
    left: -0.72rem;
    height: 4.4rem;
  }

  .hero-copy__headline {
    font-size: clamp(2.3rem, 7vw, 3.7rem);
  }

  .hero-copy__subheadline {
    max-width: 31rem;
    font-size: 0.96rem;
    line-height: 1.46;
  }

  .hero-copy__subheadline p + p {
    margin-top: 0.38rem;
  }

  .founder-block__label {
    font-size: 0.62rem;
  }

  .founder-block__name {
    font-size: 0.96rem;
  }

  .contact-block {
    gap: 0.42rem;
  }

  .contact-link {
    padding: 0.56rem 0;
  }

  .contact-link[href^="mailto:"] {
    padding-bottom: 0.34rem;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .hero-copy {
    margin-top: 0.45rem;
  }

  .content-panel {
    padding-top: 0.25rem;
    padding-bottom: 0.15rem;
  }

  .hero-copy__subheadline p + p {
    margin-top: 0.62rem;
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .hero-copy {
    margin-top: 0.5rem;
  }

  .content-panel {
    width: min(100%, 31.5rem);
    gap: 0.8rem;
    padding-block: 0.35rem 0.2rem;
  }

  .logo-plaque.logo-plaque--image {
    width: clamp(8.4rem, 14vw, 9.75rem);
    margin-top: 0;
  }

  .hero-copy__headline {
    font-size: clamp(2.7rem, 5.7vw, 3.85rem);
  }

  .hero-copy__subheadline {
    max-width: 31.5rem;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .hero-copy__subheadline p + p {
    margin-top: 0.4rem;
  }

  .contact-block,
  .powered-by {
    position: relative;
    top: 1rem;
  }
}

@media (min-width: 1200px) {
  .logo-plaque.logo-plaque--image {
    position: relative;
    z-index: 2;
    top: -1rem;
    margin-bottom: 0.9rem;
  }

  .hero-copy {
    margin-top: -1.2rem;
  }

  .hero-copy__subheadline {
    font-size: clamp(0.92rem, 1.04vw, 1rem);
    line-height: 1.58;
  }

  .contact-block {
    margin: 0.95rem 0 0;
  }

  .powered-by {
    margin-top: auto;
    transform: translateY(0.45rem);
  }
}

@media (max-width: 640px) {
  .hero {
    align-items: stretch;
    padding: 1rem;
  }

  .background-overlay {
    background:
      radial-gradient(
        circle at 20% 14%,
        rgba(248, 244, 236, 0.2) 0%,
        rgba(248, 244, 236, 0.1) 20%,
        rgba(248, 244, 236, 0.04) 36%,
        transparent 58%
      ),
      radial-gradient(
        circle at 22% 32%,
        rgba(137, 199, 92, 0.06) 0%,
        rgba(137, 199, 92, 0.025) 22%,
        transparent 46%
      ),
      linear-gradient(
        90deg,
        rgba(8, 12, 10, 0.7) 0%,
        rgba(8, 12, 10, 0.36) 56%,
        rgba(8, 12, 10, 0.14) 100%
      ),
      linear-gradient(
        180deg,
        rgba(8, 12, 10, 0.76) 0%,
        rgba(8, 12, 10, 0.48) 42%,
        rgba(8, 12, 10, 0.52) 100%
      );
  }

  .content-panel {
    width: min(100%, 22rem);
    margin-top: 0;
    gap: 1rem;
  }

  .logo-plaque {
    gap: 0.28rem;
    padding: 0.72rem 0.88rem 0.66rem;
    border-radius: 0.16rem;
    top: 1.7rem;
  }

  .logo-plaque::before {
    left: -0.58rem;
    width: 2px;
    height: 3.8rem;
  }

  .logo-plaque__refresher,
  .logo-plaque__p {
    font-size: 1rem;
    letter-spacing: 0.3em;
  }

  .logo-plaque__tagline {
    font-size: 0.38rem;
    letter-spacing: 0.17em;
  }

  .hero-copy__headline {
    font-size: clamp(2.05rem, 8.3vw, 2.75rem);
    line-height: 0.94;
  }

  .hero-copy__subheadline {
    max-width: 36ch;
    font-size: clamp(0.74rem, 3.25vw, 0.84rem);
    line-height: 1.42;
  }

  .hero-copy__subheadline p + p {
    margin-top: 0.46rem;
  }

  .founder-block {
    position: relative;
    top: 1.7rem;
    gap: 0.1rem;
  }

  .hero-copy {
    position: relative;
    top: 1.7rem;
    margin-top: 0;
  }

  .founder-block__label {
    font-size: 0.58rem;
  }

  .founder-block__name {
    font-size: 0.86rem;
  }

  .contact-block {
    position: relative;
    top: 3.7rem;
    margin: 0;
    gap: 0.34rem;
  }

  .contact-block__title {
    margin-bottom: 0.16rem;
    font-size: 0.62rem;
  }

  .contact-link {
    gap: 0.2rem;
    padding: 0.5rem 0;
  }

  .contact-link[href^="mailto:"] {
    padding-bottom: 0.3rem;
  }

  .contact-link__value {
    font-size: 0.88rem;
  }

  .powered-by {
    margin-top: auto;
    font-size: 0.6rem;
  }
}
