:root {
  --navy: #071625;
  --navy-2: #10251f;
  --green: #163226;
  --gold: #d8a44a;
  --gold-dark: #b47c25;
  --paper: #f6f1e9;
  --paper-2: #fbf8f1;
  --ink: #17231d;
  --muted: #6f756f;
  --line: rgba(24, 35, 29, 0.14);
  --shadow: 0 22px 60px rgba(7, 22, 37, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-2);
  letter-spacing: 0;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

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

.landing-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 0 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 22, 37, 0.92);
  color: #fff8eb;
  backdrop-filter: blur(18px);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
}

.landing-brand strong,
.landing-brand small {
  display: block;
}

.landing-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 1px;
}

.landing-brand small {
  margin-top: 2px;
  color: rgba(255, 248, 235, 0.72);
  font-size: 11px;
  text-transform: uppercase;
}

.landing-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: rgba(255, 248, 235, 0.86);
  font-size: 14px;
}

.landing-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.landing-nav a:hover,
.landing-nav a:focus-visible {
  border-bottom-color: var(--gold);
}

.login-open,
.primary-action,
.secondary-action {
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-weight: 780;
}

.login-open,
.primary-action {
  background: var(--gold);
  color: #142119;
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(216, 164, 74, 0.24);
}

.secondary-action {
  background: rgba(255, 248, 235, 0.08);
  color: #fff8eb;
  border-color: rgba(255, 248, 235, 0.38);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 82px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff8eb;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 37, 0.96) 0%, rgba(7, 22, 37, 0.78) 34%, rgba(7, 22, 37, 0.26) 74%, rgba(7, 22, 37, 0.52) 100%),
    linear-gradient(0deg, rgba(7, 22, 37, 0.48), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 48px));
  margin-left: clamp(24px, 7vw, 96px);
  padding: 70px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-size: clamp(56px, 8vw, 118px);
}

h2 {
  font-size: clamp(34px, 4vw, 62px);
}

h3 {
  margin: 0;
  font-size: 20px;
}

p {
  line-height: 1.65;
}

.hero-content p:not(.eyebrow) {
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(255, 248, 235, 0.86);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.intro-section,
.portfolio-section,
.security-section,
.cta-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: center;
  padding: 88px 0 72px;
}

.section-copy p:not(.eyebrow),
.cta-section p {
  color: var(--muted);
  font-size: 17px;
}

.intro-image {
  margin: 0;
  aspect-ratio: 16 / 10;
  min-height: 360px;
  overflow: hidden;
  border-radius: 28px 70px 28px 28px;
  background: #dfe4de;
  box-shadow: var(--shadow);
}

.intro-image img,
.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 72px max(24px, calc((100vw - 1180px) / 2));
  background: var(--navy);
  color: #fff8eb;
}

.feature-band article {
  display: grid;
  gap: 12px;
  text-align: center;
  padding: 16px;
}

.feature-band span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 40px;
}

.feature-band p {
  margin: 0;
  color: rgba(255, 248, 235, 0.78);
}

.portfolio-section {
  padding: 82px 0 90px;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.property-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.property-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(7, 22, 37, 0.08);
}

.property-card .photo-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe4de;
}

.property-card h3,
.property-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.property-card h3 {
  margin-top: 18px;
}

.property-card p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.security-section {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  padding: 78px 0;
  color: #fff8eb;
}

.security-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 470px;
  z-index: -1;
  background: var(--navy);
}

.lock-visual {
  width: 220px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 164, 74, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(216, 164, 74, 0.24), transparent 68%);
}

.lock-visual span {
  width: 94px;
  height: 74px;
  border: 10px solid var(--gold);
  border-radius: 14px;
  position: relative;
}

.lock-visual span::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: -54px;
  height: 58px;
  border: 10px solid var(--gold);
  border-bottom: 0;
  border-radius: 48px 48px 0 0;
}

.security-section h2 {
  max-width: 760px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.security-grid article {
  border-left: 1px solid rgba(216, 164, 74, 0.44);
  padding-left: 18px;
}

.security-grid strong {
  color: var(--gold);
}

.security-grid p {
  color: rgba(255, 248, 235, 0.76);
  font-size: 14px;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 82px;
  margin-bottom: 66px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    url("./assets/property-02-living.png");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.landing-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 44px;
  color: rgba(255, 248, 235, 0.74);
  background: var(--navy);
}

.login-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(7, 22, 37, 0.66);
}

.login-layer.open {
  display: grid;
}

.login-card {
  position: relative;
  width: min(460px, 100%);
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(216, 164, 74, 0.32);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: var(--shadow);
}

.login-card h2 {
  font-size: 34px;
}

.login-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
}

.login-fields {
  display: grid;
  gap: 12px;
}

.login-fields label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.login-fields input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
}

.login-error {
  min-height: 20px;
  margin: 0;
  color: #9f1d1d;
  font-size: 14px;
}

.primary-action.full {
  width: 100%;
}

.login-card small {
  color: var(--muted);
  text-align: center;
}

@media (max-width: 980px) {
  .landing-header {
    grid-template-columns: 1fr auto;
    padding: 14px 22px;
  }

  .landing-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .intro-section,
  .security-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .feature-band,
  .property-showcase,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .security-section::before {
    height: 760px;
  }
}

@media (max-width: 620px) {
  .landing-header {
    min-height: 72px;
  }

  .landing-brand strong {
    font-size: 20px;
  }

  .landing-brand small,
  .landing-nav {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-left: 18px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-actions,
  .landing-footer {
    flex-direction: column;
  }

  .intro-section,
  .portfolio-section,
  .security-section,
  .cta-section {
    width: min(100% - 32px, 1180px);
  }

  .intro-image {
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: 22px 44px 22px 22px;
  }

  .lock-visual {
    width: 170px;
  }
}
