:root {
  --ink: #050505;
  --muted: #5f5f5f;
  --line: #d9d9d9;
  --paper: #ffffff;
  --mist: #f4f8f8;
  --teal: #1e95a8;
  --teal-dark: #11707e;
  --blue: #204a9a;
  --gold: #f4c430;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 10px clamp(18px, 4vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.05;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  color: var(--teal-dark);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-color: transparent;
  box-shadow: 0 9px 22px rgba(30, 149, 168, 0.22);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  width: 42px;
  height: 42px;
  font-size: 24px;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 72px) clamp(18px, 3vw, 56px);
  background: linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.42)), url("assets/hero-aerial.jpg") center 48% / cover;
}

.hero-panel {
  width: min(1788px, 100%);
  min-height: min(790px, calc(100vh - 128px));
  display: grid;
  place-items: center;
  gap: clamp(22px, 4vh, 52px);
  padding: clamp(32px, 5vw, 82px);
  text-align: center;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 18px;
  backdrop-filter: blur(1px);
}

.hero-logo {
  width: clamp(150px, 12vw, 230px);
  margin: 0 auto;
}

.hero-copy {
  max-width: 1390px;
}

.hero-copy .lead {
  margin: clamp(24px, 4vh, 46px) auto 0;
}

.hero-actions,
.button,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.cta-button {
  min-width: 188px;
  min-height: 44px;
  padding: 12px 28px;
  color: #fff;
  background: rgba(30, 149, 168, 0.82);
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  gap: 10px;
}

.button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: currentColor;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

h1,
.page-title {
  margin: 0;
  font-size: clamp(42px, 5.3vw, 96px);
  font-weight: 400;
  line-height: 1.08;
}

h2 {
  margin: 0 0 26px;
  font-size: clamp(28px, 3.1vw, 58px);
  font-weight: 400;
  line-height: 1.12;
}

h3 {
  margin: 0 0 18px;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.2;
}

.lead {
  max-width: 1240px;
  margin: 42px auto 30px;
  font-size: clamp(20px, 1.65vw, 30px);
  font-weight: 700;
}

.feature-property {
  min-height: 860px;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.35fr);
  align-items: center;
  gap: clamp(34px, 5vw, 92px);
  padding: 82px clamp(24px, 5vw, 96px);
  color: #f0f0f0;
  background: linear-gradient(135deg, #071f25 0%, #0b3b44 52%, #09242d 100%);
}

.feature-property-copy {
  max-width: 560px;
}

.feature-property-copy > a:not(.button) {
  width: fit-content;
  display: inline-block;
  font-size: clamp(34px, 4.4vw, 74px);
  line-height: 1.02;
  font-weight: 400;
}

.feature-property-copy p:not(.eyebrow) {
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.35vw, 25px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-video,
.ohana-video-panel {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.feature-video {
  aspect-ratio: 16 / 9;
}

.feature-video video {
  display: block;
}

.feature-video img,
.feature-video video,
.ohana-video-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.feature-video:hover img {
  transform: scale(1.035);
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(68px, 7vw, 104px);
  height: clamp(68px, 7vw, 104px);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(30, 149, 168, 0.94), rgba(32, 74, 154, 0.94));
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid #fff;
}

.section {
  padding: 82px clamp(24px, 5vw, 96px);
}

.section.center {
  text-align: center;
}

.professionals {
  position: relative;
  padding-top: 104px;
  background:
    linear-gradient(180deg, #f5fbfb 0%, #f5fbfb 33%, #ffffff 33%, #ffffff 100%);
  overflow: hidden;
}

.professionals::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 310px;
  background: linear-gradient(90deg, rgba(30, 149, 168, 0.12), rgba(244, 196, 48, 0.12));
  pointer-events: none;
}

.professionals-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 42px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(20, 80, 88, 0.09);
  backdrop-filter: blur(8px);
}

.professionals-head .lead {
  margin: 28px 0 0;
  text-align: left;
}

.professionals-head img {
  width: 150px;
  justify-self: center;
}

.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 1360px;
  margin: 62px auto 0;
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: clamp(28px, 4vw, 48px);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 8px 8px 0 0;
}

.service-card:nth-child(2),
.service-card:nth-child(4),
.service-card:nth-child(6) {
  transform: translateY(44px);
}

.service-card p,
.text-page p,
.property-copy p {
  margin: 0 0 22px;
  font-size: 18px;
}

.service-card .button {
  margin-top: 18px;
}

.page-hero {
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: 92px clamp(24px, 6vw, 110px);
  background: var(--mist);
}

.page-hero.image {
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.38)), var(--hero-image) center / cover;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 18px;
  margin-bottom: 36px;
  color: var(--teal-dark);
  background: rgba(30, 149, 168, 0.08);
  border: 1px solid rgba(30, 149, 168, 0.32);
  border-radius: 999px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.back-link:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-color: transparent;
  box-shadow: 0 9px 22px rgba(30, 149, 168, 0.22);
  transform: translateY(-1px);
}

.property-hero-cta {
  margin-top: 36px;
}

.property-copy {
  max-width: 960px;
  margin: 0 auto 60px;
  text-align: center;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.tab {
  min-width: 86px;
  min-height: 42px;
  padding: 10px 22px;
  color: var(--teal-dark);
  border: 1px solid rgba(30, 149, 168, 0.38);
  border-radius: 999px;
  background: rgba(30, 149, 168, 0.08);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.tab:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(30, 149, 168, 0.22);
  transform: translateY(-1px);
}

.tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(30, 149, 168, 0.28);
}

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

.property-card {
  border: 1px solid var(--line);
  background: #fff;
}

.property-card img {
  width: 100%;
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
  background: #eef2f2;
}

.property-card-body {
  padding: 22px;
}

.property-card h3 {
  font-size: 22px;
}

.property-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 16px;
}

.property-card .button {
  width: 100%;
  margin-top: 20px;
  color: #fff;
  background: rgba(30, 149, 168, 0.86);
  border: 1px solid rgba(30, 149, 168, 0.2);
  border-radius: 999px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.text-page {
  max-width: 1080px;
  margin: 0 auto;
}

.contact-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid var(--line);
  background: #fff;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 34px;
  padding: 54px clamp(24px, 5vw, 96px);
  border-top: 1px solid var(--line);
}

.footer-logo {
  width: 96px;
  margin-bottom: 18px;
}

.footer-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 36px;
}

.socials {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.socials a:hover {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-1px);
}

.socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.copyright {
  align-self: end;
  color: var(--muted);
}

.ohana-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.25fr);
  gap: clamp(34px, 5vw, 92px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(54px, 7vw, 108px) clamp(24px, 5vw, 96px);
  background:
    linear-gradient(90deg, rgba(244, 248, 248, 0.96) 0%, rgba(244, 248, 248, 0.88) 42%, rgba(244, 248, 248, 0.18) 100%),
    url("assets/ohana-assets/dji-0107.jpeg") center / cover;
}

.ohana-hero-copy {
  max-width: 720px;
}

.ohana-hero h1 {
  margin-top: 22px;
  font-size: clamp(48px, 6vw, 112px);
  line-height: 0.98;
  font-weight: 400;
}

.ohana-hero .lead {
  margin: 28px 0 30px;
  max-width: 660px;
}

.ohana-logo {
  width: clamp(96px, 9vw, 150px);
  object-fit: contain;
}

.ohana-video-panel {
  min-height: min(660px, 56vw);
}

.ohana-project,
.ohana-specs {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(30px, 5vw, 88px);
  align-items: start;
}

.ohana-rich-copy {
  font-size: clamp(19px, 1.45vw, 26px);
}

.ohana-rich-copy p {
  margin: 0 0 24px;
}

.ohana-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.85fr;
  gap: 12px;
  padding: 0 clamp(24px, 5vw, 96px);
}

.ohana-gallery img {
  width: 100%;
  height: clamp(260px, 32vw, 520px);
  object-fit: cover;
}

.ohana-gallery img:first-child {
  border-radius: 18px 0 0 18px;
}

.ohana-gallery img:last-child {
  border-radius: 0 18px 18px 0;
}

.ohana-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ohana-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(520px, 1.38fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(5, 29, 34, 0.96), rgba(8, 61, 70, 0.9)),
    url("assets/ohana-assets/dji-0114.jpeg") center / cover;
}

.ohana-showcase-intro {
  max-width: 520px;
}

.ohana-showcase-intro h2 {
  margin-bottom: 22px;
}

.ohana-showcase-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.45vw, 25px);
  font-weight: 700;
}

.ohana-details article,
.spec-grid div {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ohana-details article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.ohana-details article span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 50%;
  font-weight: 800;
}

.ohana-details h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 3.2vw, 58px);
}

.ohana-details p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.ohana-specs {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fff 44%, #f4f8f8 44%, #f4f8f8 100%);
}

.ohana-specs::before {
  content: "";
  position: absolute;
  right: clamp(24px, 5vw, 96px);
  top: 54px;
  width: min(420px, 30vw);
  aspect-ratio: 1;
  background: url("assets/ohana-assets/logo.png") center / contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.plans-copy {
  position: relative;
  z-index: 1;
}

.plans-copy p:not(.eyebrow) {
  max-width: 620px;
  font-size: 18px;
}

.spec-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.spec-grid div {
  display: grid;
  gap: 8px;
  min-height: 150px;
  align-content: end;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.spec-grid strong {
  font-size: 20px;
}

.spec-grid span {
  color: var(--muted);
}

.document-links {
  position: relative;
  z-index: 1;
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 82px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: 720px;
  }

  .hero-panel {
    min-height: 600px;
    border-radius: 16px;
  }

  .professionals-head,
  .services-grid,
  .split,
  .site-footer,
  .property-grid,
  .feature-property,
  .ohana-hero,
  .ohana-showcase,
  .ohana-project,
  .ohana-specs {
    grid-template-columns: 1fr;
  }

  .professionals-head .lead {
    text-align: center;
  }

  .professionals-head img {
    width: 116px;
  }

  .service-card:nth-child(2),
  .service-card:nth-child(4),
  .service-card:nth-child(6) {
    transform: none;
  }

  .feature-property {
    min-height: auto;
  }

  .ohana-gallery,
  .ohana-details,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .ohana-details article {
    min-height: 240px;
  }

  .ohana-gallery img,
  .ohana-gallery img:first-child,
  .ohana-gallery img:last-child {
    border-radius: 14px;
  }

  .document-links {
    grid-column: auto;
  }

  .tabs {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 74px;
  }

  .brand {
    min-width: 0;
    font-size: 16px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .nav {
    top: 74px;
  }

  .hero-panel {
    padding: 28px 18px;
  }

  .hero-logo {
    width: 148px;
  }

  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-footer {
    padding: 42px 20px;
  }
}
