:root {
  --accent: #f1321d;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --page-pad: clamp(34px, 5vw, 104px);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #111;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  overflow-x: hidden;
  color: var(--white);
  background: #111;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-shell {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(12, 12, 12, 0.87) 0%, rgba(12, 12, 12, 0.66) 34%, rgba(12, 12, 12, 0.34) 63%, rgba(12, 12, 12, 0.16) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.12) 62%, rgba(0, 0, 0, 0.40) 100%),
    url('assets/lamizura-background.jpg');
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
}

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  padding: 46px var(--page-pad) 0;
}

.brand {
  display: block;
  flex: 0 0 auto;
  width: clamp(165px, 12vw, 225px);
  line-height: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(38px, 4vw, 72px);
  padding-top: 12px;
}

.development-status,
.header-contact,
.eyebrow,
.button {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.development-status {
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.70);
  white-space: nowrap;
}

.status-square,
.eyebrow-square {
  display: block;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: var(--accent);
}

.header-contact {
  position: relative;
  padding: 0 0 16px;
  color: #fff;
  white-space: nowrap;
}

.header-contact::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.48);
}

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(200px, 32vh, 505px) var(--page-pad) 70px;
}

.hero-content {
  width: min(760px, 58vw);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 500;
}

.hero-brand {
  width: min(100%, 660px);
  margin: 0 0 24px;
  line-height: 0;
}

.hero-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-rule {
  width: min(100%, 740px);
  height: 2px;
  margin-bottom: 42px;
  background: rgba(255, 255, 255, 0.46);
}

.hero-tagline {
  margin: 0 0 31px;
  font-size: clamp(30px, 2.15vw, 39px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero-tagline span {
  display: block;
}

.hero-description {
  max-width: 835px;
  margin: 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: clamp(15px, 1vw, 17px);
  font-weight: 400;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  align-items: stretch;
  gap: 18px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 0 31px;
  border: 2px solid transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.20em;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button-primary {
  justify-content: space-between;
  width: 330px;
  background: var(--accent);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ff351f;
  transform: translateY(-1px);
}

.button-arrow {
  margin-left: 34px;
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
}

.button-outline {
  width: 285px;
  border-color: rgba(255, 255, 255, 0.63);
  background: rgba(0, 0, 0, 0.06);
}

.button-outline[aria-disabled="true"] {
  cursor: default;
}

@media (max-width: 1200px) {
  .hero {
    padding-top: clamp(320px, 39vh, 440px);
  }

  .hero-content {
    width: min(720px, 69vw);
  }

  .hero-rule {
    margin-bottom: 34px;
  }
}

@media (max-width: 900px) {
  :root {
    --page-pad: clamp(26px, 5.5vw, 52px);
  }

  .landing-shell {
    background-image:
      linear-gradient(90deg, rgba(11, 11, 11, 0.86) 0%, rgba(11, 11, 11, 0.60) 62%, rgba(11, 11, 11, 0.33) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.20) 60%, rgba(0, 0, 0, 0.58) 100%),
      url('assets/lamizura-background.jpg');
    background-position: 54% center;
  }

  .site-header {
    padding-top: 28px;
  }

  .brand {
    width: 178px;
  }

  .header-actions {
    gap: 26px;
    padding-top: 9px;
  }

  .development-status {
    font-size: 10px;
    letter-spacing: 0.17em;
  }

  .header-contact {
    font-size: 10px;
    letter-spacing: 0.20em;
    padding-bottom: 11px;
  }

  .hero {
    min-height: 100svh;
    padding-top: clamp(285px, 38vh, 390px);
    padding-bottom: 46px;
  }

  .hero-content {
    width: min(680px, 82vw);
  }

  .hero-brand {
    width: min(100%, 560px);
  }

  .hero-rule {
    width: min(100%, 610px);
    margin-bottom: 31px;
  }

  .hero-description {
    max-width: 650px;
  }

  .hero-actions {
    margin-top: 34px;
  }

  .button-primary {
    width: 285px;
  }

  .button-outline {
    width: 235px;
  }
}

@media (max-width: 600px) {
  :root {
    --page-pad: 22px;
  }

  .landing-shell {
    min-height: 100svh;
    background-image:
      linear-gradient(180deg, rgba(8, 8, 8, 0.44) 0%, rgba(8, 8, 8, 0.42) 31%, rgba(8, 8, 8, 0.78) 71%, rgba(8, 8, 8, 0.95) 100%),
      linear-gradient(90deg, rgba(8, 8, 8, 0.48) 0%, rgba(8, 8, 8, 0.12) 100%),
      url('assets/lamizura-background.jpg');
    background-position: 61% center;
  }

  .site-header {
    align-items: flex-start;
    gap: 14px;
    padding-top: 20px;
  }

  .brand {
    width: 145px;
  }

  .header-actions {
    gap: 18px;
    padding-top: 5px;
  }

  .development-status {
    display: none;
  }

  .header-contact {
    font-size: 9px;
    letter-spacing: 0.18em;
    padding-bottom: 9px;
  }

  .hero {
    align-items: flex-end;
    min-height: 100svh;
    padding-top: 170px;
    padding-bottom: max(26px, env(safe-area-inset-bottom));
  }

  .hero-content {
    width: 100%;
  }

  .eyebrow {
    gap: 10px;
    margin-bottom: 20px;
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .status-square,
  .eyebrow-square {
    width: 9px;
    height: 9px;
  }

  .hero-brand {
    width: min(100%, 430px);
    margin-bottom: 18px;
  }

  .hero-rule {
    width: 100%;
    height: 1px;
    margin-bottom: 26px;
  }

  .hero-tagline {
    margin-bottom: 20px;
    font-size: clamp(27px, 8.2vw, 36px);
    line-height: 1.04;
  }

  .hero-description {
    width: 100%;
    font-size: 14px;
    line-height: 1.55;
    padding-bottom: 200px
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 27px;
  }

  .button,
  .button-primary,
  .button-outline {
    width: 100%;
    min-height: 58px;
  }

  .button {
    padding: 0 23px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .button-arrow {
    margin-left: 18px;
    font-size: 24px;
  }
}

@media (max-width: 380px) {
  .brand {
    width: 132px;
  }

  .hero-tagline {
    font-size: 25px;
  }

  .hero-description {
    font-size: 13px;
  }
}

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

  .button {
    transition: none;
  }
}


/* CONTACT POPUP — additive styles only; the existing template is unchanged. */
.contact-modal[hidden] {
  display: none !important;
}

body.contact-modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right))
           max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.80);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.contact-modal__panel {
  position: relative;
  width: min(100%, 530px);
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding: clamp(30px, 5vw, 47px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  animation: contact-modal-enter 200ms ease-out both;
}

.contact-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font: 300 32px/1 Arial, Helvetica, sans-serif;
  transition: color 160ms ease;
}

.contact-modal__close:hover {
  color: var(--accent);
}

.contact-modal__eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.contact-modal__title {
  margin: 0 0 19px;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-modal__rule {
  width: 100%;
  height: 1px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.45);
}

.contact-modal__description {
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.contact-modal__actions {
  display: grid;
  gap: 12px;
}

.contact-modal__option,
.contact-modal .button-primary,
.contact-modal .button-outline {
  width: 100%;
  min-height: 62px;
  justify-content: space-between;
  padding-inline: 24px;
}

.contact-modal__option.button-outline:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: #fff;
}

.contact-modal__option .button-arrow {
  margin-left: 16px;
}

.contact-modal__number {
  margin: 23px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  letter-spacing: 0.07em;
  text-align: center;
}

.contact-modal :focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@keyframes contact-modal-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .contact-modal {
    padding: 14px;
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .contact-modal__panel {
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
    padding: 34px 24px 28px;
  }

  .contact-modal__eyebrow {
    margin-bottom: 17px;
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .contact-modal__title {
    font-size: clamp(29px, 8vw, 36px);
  }

  .contact-modal__description {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .contact-modal__option,
  .contact-modal .button-primary,
  .contact-modal .button-outline {
    min-height: 58px;
    padding-inline: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-modal__panel {
    animation: none;
  }

  .contact-modal__close {
    transition: none;
  }
}
