@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0f172a;
  --navy-2: #172554;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --teal: #14b8a6;
  --ink: #172033;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-blue: #eff6ff;
  --radius: 1.25rem;
  --shadow: 0 18px 55px rgba(15, 23, 42, .09);
  --container: min(1160px, calc(100% - 2.5rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  font-family: "Manrope", sans-serif;
  line-height: 1.13;
  letter-spacing: -.035em;
  color: var(--navy);
  margin: 0;
}

p {
  margin: 0;
  color: var(--muted);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--blue-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--teal);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  margin: .85rem 0 1rem;
}

.section-heading p {
  max-width: 620px;
  font-size: 1.05rem;
}

.text-gradient {
  background: linear-gradient(100deg, #60a5fa, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.15rem;
  padding: .85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: .8rem;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--blue), #0f766e);
  box-shadow: 0 10px 25px rgba(37, 99, 235, .22);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(37, 99, 235, .3);
}

.btn-light {
  color: var(--navy);
  background: #fff;
}

.btn-outline {
  border-color: #cbd5e1;
  color: var(--navy);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.btn-arrow {
  font-size: 1.1rem;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
  backdrop-filter: blur(16px);
  transition: box-shadow .2s ease, background .2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(15, 23, 42, .08);
  background: rgba(255, 255, 255, .97);
}

.nav-wrap {
  min-height: 5.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.65rem;
  aspect-ratio: 1;
  color: #fff;
  border-radius: .85rem;
  background: linear-gradient(145deg, var(--blue), #0f766e);
  font-family: Manrope, sans-serif;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .2);
}

.brand-name {
  font: 800 1.02rem/1.05 Manrope, sans-serif;
  color: var(--navy);
  letter-spacing: -.04em;
}

.brand-name small {
  display: block;
  margin-top: .25rem;
  color: var(--muted);
  font: 700 .58rem/1 DM Sans, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.nav-links a {
  color: #475569;
  font-size: .91rem;
  font-weight: 700;
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 80% 20%, rgba(20, 184, 166, .2), transparent 28%), linear-gradient(125deg, #0b1733 0%, #142b57 55%, #0f4c5c 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -55% 45%;
  height: 80%;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255, 255, 255, .025), 0 0 0 100px rgba(255, 255, 255, .02);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  min-height: min(690px, calc(100svh - 5rem));
  padding-block: 5rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.65rem, 6.2vw, 5.25rem);
  max-width: 760px;
  margin: 1.2rem 0 1.35rem;
}

.hero-copy>p {
  color: #cbd5e1;
  max-width: 600px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

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

.hero .eyebrow {
  color: #99f6e4;
}

.hero-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.property-art {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1.05;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04));
  box-shadow: 0 35px 80px rgba(0, 0, 0, .25);
}

.property-art::before {
  content: "";
  position: absolute;
  inset: 12% 12% 0;
  background: linear-gradient(145deg, #dbeafe, #94a3b8 48%, #334155);
  clip-path: polygon(50% 0, 100% 28%, 100% 100%, 0 100%, 0 28%);
  border-radius: .6rem .6rem 0 0;
}

.property-art::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 0;
  height: 43%;
  background: repeating-linear-gradient(90deg, transparent 0 20%, rgba(15, 23, 42, .72) 20% 22%, transparent 22% 40%), linear-gradient(#64748b, #1e293b);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.art-window {
  position: absolute;
  z-index: 2;
  width: 15%;
  height: 18%;
  bottom: 24%;
  background: linear-gradient(135deg, #bae6fd, #f8fafc);
  border: 5px solid #334155;
}

.art-window.one {
  left: 28%;
}

.art-window.two {
  right: 28%;
}

.art-label {
  position: absolute;
  z-index: 3;
  left: 1.2rem;
  bottom: 1.2rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: .9rem;
  color: #fff;
  background: rgba(15, 23, 42, .65);
  backdrop-filter: blur(12px);
  font-size: .85rem;
}

.floating-note {
  position: absolute;
  z-index: 4;
  top: 9%;
  right: -3%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 1rem;
  color: var(--navy);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: .85rem;
  font-weight: 800;
}

.floating-note span {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.metric {
  text-align: center;
  padding: .5rem;
}

.metric strong {
  display: block;
  color: var(--navy);
  font: 800 clamp(1.6rem, 3vw, 2.25rem) Manrope, sans-serif;
}

.metric span {
  color: var(--muted);
  font-size: .84rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card,
.service-card,
.quote-card,
.team-card,
.info-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .035);
}

.feature-card {
  padding: 1.7rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover,
.service-card:hover,
.team-card:hover {
  transform: translateY(-6px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  margin-bottom: 1.2rem;
  border-radius: 1rem;
  color: var(--blue-dark);
  background: linear-gradient(145deg, #dbeafe, #ccfbf1);
  font-size: 1.35rem;
}

.feature-card h3,
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: .65rem;
}

.feature-card p,
.service-card p {
  font-size: .94rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.visual-panel {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  background: linear-gradient(140deg, #dbeafe, #ccfbf1);
}

.visual-panel::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  left: 15%;
  bottom: -7%;
  border-radius: 1.2rem 1.2rem 0 0;
  background: linear-gradient(145deg, #64748b, #0f172a);
  clip-path: polygon(50% 0, 100% 25%, 100% 100%, 0 100%, 0 25%);
}

.visual-panel::after {
  content: "";
  position: absolute;
  width: 16%;
  height: 24%;
  left: 42%;
  bottom: 0;
  background: #bae6fd;
  border: 6px solid #334155;
}

.panel-tag {
  position: absolute;
  z-index: 2;
  top: 1.2rem;
  left: 1.2rem;
  padding: .8rem 1rem;
  border-radius: .8rem;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: .8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: .7rem;
  color: #475569;
  font-size: .95rem;
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: 0 0 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  color: #047857;
  background: #ccfbf1;
  font-weight: 800;
}

.quote-card {
  padding: 1.7rem;
}

.quote-card blockquote {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.8;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.5rem;
}

.avatar {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  color: #1e3a8a;
  background: #dbeafe;
  font-weight: 800;
}

.quote-person strong {
  display: block;
  color: var(--navy);
  font-size: .9rem;
}

.quote-person span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
}

.cta-band {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 1.7rem;
  color: #fff;
  background: linear-gradient(120deg, #10234a, #1d4ed8 65%, #0f766e);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  max-width: 650px;
  margin-bottom: .8rem;
}

.cta-band p {
  color: #dbeafe;
  max-width: 620px;
}

.page-hero {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: linear-gradient(125deg, #eff6ff, #f8fafc 60%, #ecfdf5);
}

.page-hero h1 {
  max-width: 850px;
  margin: .9rem 0 1rem;
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
}

.page-hero p {
  max-width: 680px;
  font-size: 1.08rem;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.timeline-item {
  position: relative;
  padding-top: 3rem;
}

.timeline-dot {
  position: absolute;
  top: .55rem;
  left: 0;
  width: 1.15rem;
  height: 1.15rem;
  border: 4px solid #dbeafe;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px #fff;
}

.timeline-item strong {
  color: var(--blue-dark);
  font: 800 1.15rem Manrope, sans-serif;
}

.timeline-item h3 {
  margin: .45rem 0;
  font-size: 1.05rem;
}

.timeline-item p {
  font-size: .88rem;
}

.team-card {
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.team-photo {
  display: grid;
  place-items: center;
  min-height: 190px;
  color: #fff;
  background: linear-gradient(145deg, #1e3a8a, #0f766e);
  font: 800 3rem Manrope, sans-serif;
}

.team-card:nth-child(2) .team-photo {
  background: linear-gradient(145deg, #334155, #64748b);
}

.team-card:nth-child(3) .team-photo {
  background: linear-gradient(145deg, #0f766e, #164e63);
}

.team-card:nth-child(4) .team-photo {
  background: linear-gradient(145deg, #4338ca, #7c3aed);
}

.team-info {
  padding: 1.2rem;
}

.team-info h3 {
  font-size: 1.05rem;
}

.team-info p {
  font-size: .86rem;
  margin-top: .25rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1.5rem 0 2rem;
}

.filter-btn {
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #475569;
  background: #fff;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-btn[aria-pressed="true"] {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}

.service-list {
  display: grid;
  gap: 1.2rem;
}

.service-row {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 2rem;
  align-items: center;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}

.service-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-row[hidden] {
  display: none;
}

.service-number {
  color: #93c5fd;
  font: 800 2.4rem Manrope, sans-serif;
}

.service-row h3 {
  font-size: 1.4rem;
  margin: .4rem 0 .6rem;
}

.service-row p {
  font-size: .95rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.price-card {
  padding: 1.5rem;
}

.price-card h3 {
  font-size: 1.1rem;
  margin-bottom: .6rem;
}

.price-card p {
  font-size: .9rem;
}

.price-card strong {
  display: block;
  margin: 1rem 0;
  color: var(--navy);
  font: 800 1.5rem Manrope, sans-serif;
}

.price-card.featured {
  border: 2px solid var(--blue);
  background: linear-gradient(180deg, #eff6ff, #fff);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.compare-table th {
  color: var(--navy);
  background: #f8fafc;
  font-size: .9rem;
}

.compare-table td {
  color: #475569;
  font-size: .9rem;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
}

.info-card .icon-box {
  flex: 0 0 2.8rem;
  width: 2.8rem;
  height: 2.8rem;
  margin: 0;
}

.info-card h3 {
  font-size: .98rem;
  margin-bottom: .2rem;
}

.info-card p {
  font-size: .88rem;
}

.form-card {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: .4rem;
}

.form-field.full {
  grid-column: 1/-1;
}

.form-field label {
  color: #334155;
  font-size: .85rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: .85rem .95rem;
  border: 1px solid #cbd5e1;
  border-radius: .7rem;
  outline: none;
  color: var(--ink);
  background: #fff;
  transition: border .2s, box-shadow .2s;
}

.form-field textarea {
  min-height: 145px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.form-field [aria-invalid="true"] {
  border-color: #dc2626;
}

.field-error {
  min-height: 1rem;
  color: #b91c1c;
  font-size: .75rem;
}

.form-status {
  margin-top: 1rem;
  font-size: .9rem;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: .8rem;
  max-width: 850px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.25rem;
  border: 0;
  color: var(--navy);
  background: #fff;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-question span:last-child {
  color: var(--blue);
  font-size: 1.3rem;
  transition: transform .2s;
}

.faq-question[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}

.faq-answer>div {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 1.25rem 1.15rem;
  font-size: .93rem;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.site-footer {
  padding: 3.5rem 0 1.5rem;
  color: #cbd5e1;
  background: #0b1428;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand .brand-name small {
  color: #94a3b8;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 1rem;
  color: #94a3b8;
  font-size: .9rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: .9rem;
  letter-spacing: 0;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: .65rem 0;
  color: #94a3b8;
  font-size: .87rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(148, 163, 184, .2);
  color: #94a3b8;
  font-size: .8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.empty-state {
  padding: 2rem;
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr .8fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: 2/-1;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 2rem, 620px);
  }

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    min-height: 4.6rem;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + .4rem);
    left: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    padding: .85rem 1rem;
    border-radius: .6rem;
  }

  .nav-links a:hover {
    background: var(--surface-blue);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 4.5rem;
  }

  .hero-visual {
    min-height: 300px;
  }

  .property-art {
    max-width: 420px;
  }

  .floating-note {
    right: 0;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    padding-top: 2.2rem;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .footer-col:last-child {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 260px;
  }

  .property-art {
    width: 100%;
  }

  .floating-note {
    top: 2%;
    right: 0;
    font-size: .75rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: auto;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* YoungJosh Properties — refined editorial real-estate homepage */
:root {
  --navy: #17271f;
  --navy-2: #263b30;
  --blue: #9b7849;
  --blue-dark: #80613b;
  --teal: #b8a17d;
  --ink: #26332b;
  --muted: #778078;
  --line: #e7e4dc;
  --surface-soft: #f5f3ed;
  --surface-blue: #f2eee6;
  --radius: 1.1rem;
  --shadow: 0 20px 60px rgba(27, 39, 31, .12)
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: #fbfaf7
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  letter-spacing: -.025em;
  color: var(--navy)
}

.container {
  width: min(1200px, calc(100% - 3rem))
}

.site-header {
  background: rgba(251, 250, 247, .96);
  border-bottom: 1px solid rgba(231, 228, 220, .85)
}

.nav-wrap {
  min-height: 5.4rem
}

.brand-mark {
  border-radius: 50%;
  background: var(--navy);
  box-shadow: none;
  color: #d8c29f
}

.brand-name {
  font-family: "DM Sans", sans-serif;
  font-size: .98rem;
  letter-spacing: -.03em
}

.brand-name b {
  font-weight: 500
}

.brand-name small {
  letter-spacing: .18em;
  font-size: .55rem
}

.nav-links a {
  font-size: .84rem;
  letter-spacing: .04em;
  text-transform: uppercase
}

.nav-links a:hover,
.nav-links a[aria-current=page] {
  color: var(--blue-dark)
}

.btn {
  border-radius: 2px;
  min-height: 3.25rem;
  padding: .9rem 1.35rem;
  letter-spacing: .025em;
  font-size: .82rem;
  text-transform: uppercase
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: none
}

.btn-primary:hover {
  background: #304b3a;
  box-shadow: 0 12px 25px rgba(23, 39, 31, .18)
}

.btn-primary span {
  color: #d9c39f
}

.btn-light {
  background: #f7f4ec;
  color: var(--navy)
}

.hero {
  position: relative;
  min-height: min(790px, calc(100svh - 5.4rem));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #17271f
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: saturate(.72)
}

.hero-shade {
  background: linear-gradient(90deg, rgba(14, 28, 21, .88) 0%, rgba(14, 28, 21, .65) 45%, rgba(14, 28, 21, .12) 100%), linear-gradient(0deg, rgba(14, 28, 21, .25), transparent 45%)
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 7rem 6rem;
  color: #fff
}

.hero h1 {
  font-size: clamp(3.5rem, 7.4vw, 6.8rem);
  line-height: 1.02;
  color: #fff;
  font-weight: 500;
  margin: 1.35rem 0 1.5rem;
  max-width: 850px
}

.hero h1 em,
.intro-grid h2 em,
.section-heading h2 em,
.film-copy h2 em,
.closing-content h2 em {
  font-weight: 500;
  color: #d8c29f
}

.hero-copy>p,
.hero-content>p {
  max-width: 560px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.08rem;
  line-height: 1.85
}

.hero .eyebrow,
.film-copy .eyebrow,
.closing-content .eyebrow {
  color: #d8c29f
}

.eyebrow {
  font-size: .68rem;
  letter-spacing: .2em
}

.eyebrow:before {
  background: #b99b6b;
  width: 1.8rem
}

.hero-actions {
  margin-top: 2.2rem;
  gap: .8rem
}

.btn-glass {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  backdrop-filter: blur(8px)
}

.btn-glass:hover {
  background: rgba(255, 255, 255, .18)
}

.play-icon {
  font-size: .65rem
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 5rem;
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase
}

.caption-line {
  width: 2.8rem;
  height: 1px;
  background: #c7ad82
}

.hero-index {
  position: absolute;
  z-index: 2;
  right: 3.2rem;
  bottom: 3.2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: #fff;
  font-size: .7rem;
  letter-spacing: .12em
}

.hero-index i {
  width: 3rem;
  height: 1px;
  background: rgba(255, 255, 255, .55)
}

.intro-band {
  padding: 6.5rem 0 6rem;
  background: #f4f1e9
}

.intro-grid {
  display: grid;
  grid-template-columns: .7fr 1.35fr 1fr;
  gap: 2rem;
  align-items: start
}

.dark-eyebrow {
  color: #8c7048
}

.intro-grid h2,
.section-heading h2,
.film-copy h2 {
  font-size: clamp(2.6rem, 4.7vw, 4.2rem);
  font-weight: 500;
  line-height: 1.08
}

.intro-grid h2 em,
.section-heading h2 em {
  color: #9b805a
}

.intro-copy {
  max-width: 350px;
  padding-top: .6rem;
  font-size: .98rem;
  line-height: 1.9
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0
}

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

.section-heading h2 {
  margin: .9rem 0 1rem
}

.section-heading>p {
  max-width: 580px;
  font-size: 1rem
}

.heading-row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem
}

.text-link {
  padding-bottom: .45rem;
  border-bottom: 1px solid #b9a17c;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap
}

.text-link span {
  margin-left: .5rem;
  color: #9b7849
}

.property-grid {
  display: grid;
  grid-template-columns: 1.22fr 1fr 1fr;
  gap: 1.25rem;
  align-items: start
}

.property-card {
  min-width: 0
}

.property-image {
  display: block;
  position: relative;
  overflow: hidden;
  height: 300px;
  background: #e9e5dc
}

.property-large .property-image {
  height: 390px
}

.property-image:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .38))
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1)
}

.property-image:hover img {
  transform: scale(1.045)
}

.image-label {
  position: absolute;
  z-index: 1;
  left: 1.2rem;
  bottom: 1.1rem;
  color: #fff;
  font-size: .63rem;
  letter-spacing: .16em;
  font-weight: 700
}

.property-meta {
  display: flex;
  justify-content: space-between;
  margin: 1.25rem 0 .55rem;
  color: #9b805a;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase
}

.property-card h3 {
  font-size: 1.65rem;
  font-weight: 500;
  margin-bottom: .5rem
}

.property-card p {
  max-width: 340px;
  font-size: .9rem;
  line-height: 1.75
}

.film-section {
  padding: 6rem 0;
  background: #1c3025;
  color: #fff
}

.film-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 4rem;
  align-items: center
}

.film-copy h2 {
  color: #fff;
  margin: 1rem 0 1.25rem
}

.film-copy p {
  max-width: 420px;
  color: #c4cec5;
  line-height: 1.9;
  font-size: .95rem;
  margin-bottom: 1.8rem
}

.film-frame {
  position: relative;
  overflow: hidden;
  background: #0b1710;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .25)
}

.film-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover
}

.film-stamp {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .7rem;
  background: rgba(19, 37, 27, .78);
  color: #fff;
  font-size: .58rem;
  letter-spacing: .15em;
  pointer-events: none
}

.film-stamp b {
  color: #d8c29f
}

.media-note {
  display: block;
  margin-top: 1.4rem;
  color: #aab8ac;
  font-size: .7rem;
  line-height: 1.6
}

.gallery-section {
  background: #fbfaf7
}

.heading-note {
  max-width: 330px;
  padding-bottom: .35rem;
  font-size: .92rem;
  line-height: 1.8
}

.editorial-gallery {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr .8fr;
  grid-template-rows: 230px 230px;
  gap: 1rem
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #e8e4dc
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s
}

.gallery-tile:hover img {
  transform: scale(1.04)
}

.gallery-tile:after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .5))
}

.gallery-tile figcaption {
  position: absolute;
  z-index: 1;
  left: 1rem;
  bottom: 1rem;
  color: #fff;
  font-size: .65rem;
  letter-spacing: .12em
}

.gallery-tile figcaption span {
  margin-left: .7rem;
  text-transform: uppercase
}

.tile-tall {
  grid-row: span 2
}

.tile-wide {
  grid-column: span 2
}

.services-section {
  background: #f3f0e8
}

.service-grid {
  border-top: 1px solid #d9d3c7
}

.service-item {
  display: grid;
  grid-template-columns: 80px 1fr 45px;
  align-items: center;
  gap: 1.5rem;
  padding: 1.65rem .4rem;
  border-bottom: 1px solid #d9d3c7
}

.service-number {
  font-size: .8rem;
  letter-spacing: .1em;
  color: #a38a65
}

.service-item h3 {
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: .4rem
}

.service-item p {
  font-size: .9rem
}

.service-item>a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #c8bdab;
  border-radius: 50%;
  color: #7c6749;
  transition: all .2s
}

.service-item>a:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy)
}

.closing-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #17271f
}

.closing-visual>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.65)
}

.closing-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 31, 22, .86), rgba(15, 31, 22, .25))
}

.closing-content {
  position: relative;
  z-index: 1;
  padding-block: 6rem
}

.closing-content h2 {
  margin: 1.1rem 0 2rem;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 1.05;
  font-weight: 500
}

.site-footer {
  background: #14231b;
  padding: 4rem 0 1.5rem
}

.footer-brand .brand-mark {
  background: #d6c09b;
  color: #17271f
}

.footer-brand .brand-name {
  color: #fff
}

.footer-brand .brand-name small {
  color: #aeb9ae
}

.footer-brand p {
  color: #aeb9ae
}

.footer-col h3 {
  font-family: "DM Sans", sans-serif;
  color: #e8e3d8;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .75rem
}

.footer-col a,
.footer-col p {
  color: #aeb9ae
}

.footer-col a:hover {
  color: #e3c99e
}

.footer-bottom {
  border-color: rgba(214, 192, 155, .2);
  color: #87968a
}

@media(max-width:900px) {
  .intro-grid {
    grid-template-columns: 1fr 1.5fr
  }

  .intro-copy {
    grid-column: 2
  }

  .property-grid {
    grid-template-columns: 1fr 1fr
  }

  .property-large {
    grid-column: 1/-1
  }

  .property-large .property-image {
    height: 340px
  }

  .film-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .film-copy p {
    max-width: 620px
  }

  .editorial-gallery {
    grid-template-rows: 200px 200px
  }

  .service-item {
    grid-template-columns: 55px 1fr 40px
  }
}

@media(max-width:760px) {
  .container {
    width: min(100% - 2rem, 620px)
  }

  .hero {
    min-height: 680px
  }

  .hero-content {
    padding-block: 6rem 4rem
  }

  .hero h1 {
    font-size: clamp(3.2rem, 12vw, 5rem)
  }

  .hero-caption {
    margin-top: 3.5rem
  }

  .hero-index {
    right: 1.2rem;
    bottom: 1.5rem
  }

  .intro-band {
    padding: 4.5rem 0
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 1rem
  }

  .intro-grid h2 {
    font-size: 2.8rem
  }

  .intro-copy {
    grid-column: auto;
    max-width: 520px
  }

  .heading-row {
    align-items: flex-start;
    flex-direction: column
  }

  .heading-note {
    max-width: 520px
  }

  .property-grid {
    grid-template-columns: 1fr
  }

  .property-large {
    grid-column: auto
  }

  .property-image,
  .property-large .property-image {
    height: 300px
  }

  .film-section {
    padding: 4.5rem 0
  }

  .editorial-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px
  }

  .tile-tall {
    grid-row: span 2
  }

  .tile-wide {
    grid-column: span 1
  }

  .service-item {
    grid-template-columns: 38px 1fr 36px;
    gap: .8rem;
    padding: 1.3rem 0
  }

  .service-item h3 {
    font-size: 1.3rem
  }

  .closing-visual {
    min-height: 480px
  }

  .closing-content {
    padding-block: 4.5rem
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-brand {
    grid-column: 1/-1
  }
}

@media(max-width:520px) {
  .hero {
    min-height: 650px
  }

  .hero-content>p {
    font-size: .98rem
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 290px
  }

  .hero-actions .btn {
    width: 100%
  }

  .hero-caption {
    font-size: .6rem
  }

  .property-image,
  .property-large .property-image {
    height: 260px
  }

  .editorial-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 150px 150px;
    gap: .65rem
  }

  .gallery-tile figcaption {
    left: .65rem;
    bottom: .65rem;
    font-size: .55rem
  }

  .gallery-tile figcaption span {
    display: block;
    margin: .25rem 0 0
  }

  .service-item {
    grid-template-columns: 30px 1fr 32px
  }

  .service-number {
    font-size: .68rem
  }

  .service-item p {
    font-size: .82rem
  }

  .closing-content h2 {
    font-size: 3.2rem
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem
  }

  .footer-bottom {
    flex-direction: column
  }
}

@media(prefers-reduced-motion:reduce) {

  .property-image img,
  .gallery-tile img {
    transition: none
  }
}


/* Multi-page experience, carousel and responsive interactions */
:root {
  --forest: #17271f;
  --forest-2: #263b30;
  --sand: #f4f1e9;
  --gold: #d8c29f;
  --gold-deep: #9b805a
}

.hero-carousel {
  min-height: min(790px, calc(100svh - 5.4rem));
  position: relative;
  background: var(--forest)
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0
}

.hero-slide {
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity .85s ease, transform 6s ease, visibility .85s;
  background-image: var(--slide-image);
  background-size: cover;
  background-position: center 55%
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1)
}

.hero-slide .hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 28, 21, .88) 0%, rgba(14, 28, 21, .64) 48%, rgba(14, 28, 21, .14) 100%), linear-gradient(0deg, rgba(14, 28, 21, .34), transparent 48%)
}

.hero-slide .hero-content {
  width: 100%;
  padding-block: 7rem 6rem;
  z-index: 2
}

.hero-slide:not(.is-active) .hero-content {
  pointer-events: none
}

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 2.25rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none
}

.hero-pagination,
.hero-arrows {
  display: flex;
  align-items: center;
  gap: .7rem;
  pointer-events: auto
}

.hero-dot {
  width: 2.2rem;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .42);
  cursor: pointer;
  transition: background .25s, width .25s
}

.hero-dot.is-active {
  width: 3.8rem;
  background: var(--gold)
}

.hero-arrow {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: white;
  cursor: pointer;
  transition: background .2s, border .2s
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, .2);
  border-color: white
}

.hero-count {
  color: rgba(255, 255, 255, .7);
  font-size: .68rem;
  letter-spacing: .13em
}

.hero-count b {
  color: var(--gold);
  font-weight: 700
}

.hero-progress {
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, .18)
}

.hero-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold)
}

.page-hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest)
}

.page-hero-image {
  background-image: var(--page-image);
  background-size: cover;
  background-position: center 55%
}

.page-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 28, 21, .88), rgba(14, 28, 21, .54) 58%, rgba(14, 28, 21, .12)), linear-gradient(0deg, rgba(14, 28, 21, .25), transparent 50%)
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-block: 7rem 6rem;
  color: #fff
}

.page-hero h1 {
  max-width: 850px;
  color: white;
  font-size: clamp(3.2rem, 6.8vw, 5.8rem);
  font-weight: 500;
  line-height: 1.04;
  margin: 1.2rem 0 1.25rem
}

.page-hero h1 em {
  color: var(--gold);
  font-weight: 500
}

.page-hero-content>p {
  max-width: 590px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.8rem
}

.split-story {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center
}

.story-image {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  background: #ddd
}

.story-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.image-caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  padding: .75rem 1rem;
  color: white;
  background: rgba(23, 39, 31, .78);
  font-size: .72rem;
  letter-spacing: .04em
}

.story-copy h2,
.contact-intro h2,
.map-note h2,
.cta-inner h2 {
  font-size: clamp(2.7rem, 4.5vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  margin: 1rem 0 1.3rem
}

.story-copy h2 em,
.contact-intro h2 em,
.map-note h2 em,
.cta-inner h2 em {
  color: var(--gold-deep);
  font-weight: 500
}

.story-copy p,
.contact-intro>p {
  font-size: .96rem;
  line-height: 1.9;
  margin-bottom: 1rem
}

.story-copy .text-link {
  display: inline-block;
  margin-top: 1rem
}

.values-section {
  background: #f3f0e8
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem
}

.value-card {
  padding: 1.8rem 1.4rem;
  border-top: 1px solid #cfc6b7;
  background: rgba(255, 255, 255, .48);
  transition: transform .25s, box-shadow .25s
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(27, 39, 31, .08)
}

.value-card>span {
  color: #a38a65;
  font-size: .72rem;
  letter-spacing: .12em
}

.value-card h3 {
  font-size: 1.45rem;
  font-weight: 500;
  margin: 1.8rem 0 .65rem
}

.value-card p {
  font-size: .87rem;
  line-height: 1.8
}

.services-detail {
  background: #fbfaf7
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem
}

.service-detail-card {
  background: white;
  border: 1px solid #e7e4dc;
  transition: transform .3s, box-shadow .3s
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(27, 39, 31, .09)
}

.detail-image {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: #e8e4dc
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s
}

.service-detail-card:hover .detail-image img {
  transform: scale(1.04)
}

.detail-image span {
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  color: #fff;
  font-size: .65rem;
  letter-spacing: .15em;
  text-shadow: 0 1px 8px #000
}

.detail-content {
  padding: 1.7rem
}

.detail-content h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: .7rem
}

.detail-content p {
  font-size: .9rem;
  line-height: 1.85
}

.detail-content ul {
  padding-left: 1.1rem;
  margin: 1rem 0 1.4rem;
  color: #657168;
  font-size: .86rem;
  line-height: 1.9
}

.detail-content .text-link {
  display: inline-block
}

.process-band {
  padding: 5.5rem 0;
  background: #1c3025;
  color: white
}

.process-band h2 {
  color: white;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  margin-top: 1rem
}

.process-band h2 em {
  color: var(--gold);
  font-weight: 500
}

.process-band .eyebrow {
  color: var(--gold)
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem
}

.process-grid>div {
  border-top: 1px solid rgba(216, 194, 159, .35);
  padding-top: 1.2rem
}

.process-grid b {
  color: var(--gold);
  font-size: .75rem;
  letter-spacing: .12em
}

.process-grid h3 {
  color: white;
  font-size: 1.35rem;
  font-weight: 500;
  margin: .8rem 0 .45rem
}

.process-grid p {
  color: #c4cec5;
  font-size: .88rem;
  line-height: 1.8
}

.cta-section {
  padding: 5rem 0;
  background: #f4f1e9
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem
}

.cta-inner h2 {
  margin-bottom: 0
}

.cta-inner .eyebrow {
  color: #8c7048
}

.contact-section {
  background: #fbfaf7
}

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start
}

.contact-intro>p {
  max-width: 490px
}

.contact-details {
  display: grid;
  gap: 1.2rem;
  margin: 2rem 0
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 2.7rem;
  border: 1px solid #d7cbb8;
  border-radius: 50%;
  color: #8c7048
}

.contact-detail b {
  display: block;
  color: var(--forest);
  font-size: .9rem
}

.contact-detail p {
  font-size: .84rem;
  line-height: 1.65
}

.contact-photo {
  height: 190px;
  overflow: hidden
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.contact-form {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: white;
  border: 1px solid #e7e4dc;
  box-shadow: 0 18px 55px rgba(27, 39, 31, .07)
}

.form-heading {
  margin-bottom: 1.7rem
}

.form-heading h3 {
  font-size: 2rem;
  font-weight: 500;
  margin: .8rem 0 .4rem
}

.form-heading p {
  font-size: .82rem
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

.form-field {
  display: grid;
  gap: .45rem;
  color: #38473d;
  font-size: .8rem;
  font-weight: 700
}

.form-field.full {
  grid-column: 1/-1
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid #dcded7;
  border-radius: 2px;
  padding: .9rem .95rem;
  color: #26332b;
  background: #fdfdfb;
  outline: none;
  font: 400 .9rem 'DM Sans', sans-serif;
  transition: border .2s, box-shadow .2s
}

.form-field textarea {
  resize: vertical;
  min-height: 135px
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: #9b805a;
  box-shadow: 0 0 0 3px rgba(155, 128, 90, .13)
}

.form-field [aria-invalid=true] {
  border-color: #b64a3b
}

.field-error {
  min-height: .8rem;
  color: #b64a3b;
  font-size: .7rem;
  font-weight: 500
}

.form-submit {
  margin-top: 1rem
}

.form-status {
  margin-top: 1rem;
  font-size: .75rem;
  line-height: 1.6;
  color: #7c877d
}

.form-status.is-success {
  color: #3c7450
}

.form-status.is-error {
  color: #a43d32
}

.map-note {
  padding: 5rem 0;
  background: #f3f0e8
}

.map-note-inner {
  max-width: 800px
}

.map-note h2 {
  margin: .9rem 0
}

.map-note p {
  max-width: 590px;
  line-height: 1.85;
  margin-bottom: 1rem
}

.map-note .text-link {
  display: inline-block;
  margin-top: .8rem
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0)
}

@media(max-width:900px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .split-story,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem
  }

  .story-image {
    min-height: 420px
  }

  .process-grid {
    gap: 1.2rem
  }
}

@media(max-width:760px) {
  .hero-carousel {
    min-height: 710px
  }

  .hero-slide .hero-content {
    padding-block: 5.5rem 6.5rem
  }

  .hero-controls {
    bottom: 1.5rem
  }

  .page-hero {
    min-height: 590px
  }

  .page-hero-content {
    padding-block: 5.5rem 5rem
  }

  .split-story,
  .contact-layout {
    grid-template-columns: 1fr
  }

  .story-image {
    min-height: 340px;
    order: 2
  }

  .story-copy {
    order: 1
  }

  .service-detail-grid {
    grid-template-columns: 1fr
  }

  .detail-image {
    height: 250px
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }

  .process-grid>div {
    padding-top: 1rem
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column
  }

  .contact-photo {
    height: 220px
  }
}

@media(max-width:520px) {
  .hero-carousel {
    min-height: 690px
  }

  .hero-slide {
    background-position: 58% center
  }

  .hero-slide .hero-shade {
    background: linear-gradient(90deg, rgba(14, 28, 21, .87), rgba(14, 28, 21, .52)), linear-gradient(0deg, rgba(14, 28, 21, .42), transparent 55%)
  }

  .hero-slide .hero-content {
    padding-block: 5rem 6.5rem
  }

  .hero-slide h1 {
    font-size: clamp(3rem, 13vw, 4.2rem)
  }

  .hero-slide .hero-content>p {
    font-size: .94rem
  }

  .hero-slide .hero-actions {
    max-width: 300px;
    flex-direction: column;
    align-items: stretch
  }

  .hero-slide .hero-actions .btn {
    width: 100%
  }

  .hero-slide .hero-caption {
    margin-top: 2.5rem;
    font-size: .57rem
  }

  .hero-controls {
    width: calc(100% - 2rem)
  }

  .hero-arrow {
    width: 2.35rem;
    height: 2.35rem
  }

  .hero-count {
    font-size: .6rem
  }

  .page-hero {
    min-height: 570px
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 12vw, 4rem)
  }

  .page-hero-content>p {
    font-size: .94rem
  }

  .values-grid {
    grid-template-columns: 1fr
  }

  .value-card {
    padding: 1.4rem
  }

  .value-card h3 {
    margin-top: 1rem
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .form-field.full {
    grid-column: auto
  }

  .detail-content {
    padding: 1.3rem
  }

  .detail-image {
    height: 220px
  }

  .cta-inner h2,
  .contact-intro h2,
  .map-note h2 {
    font-size: 2.8rem
  }
}

@media(prefers-reduced-motion:reduce) {

  .hero-slide,
  .hero-dot,
  .hero-arrow,
  .reveal,
  .detail-image img,
  .value-card {
    transition: none !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

.menu-toggle {
  position: relative;
  z-index: 60
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg)
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg)
}

@media(max-width:760px) {
  .nav-links {
    z-index: 55
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
  }

  .nav-actions .btn {
    display: none
  }
}


/* YoungJosh supplied property creatives
   Keep promotional artwork fully visible in cards and editorial panels. */
.yjp-poster {
  object-fit: contain !important;
  object-position: center;
  background: #071a3b;
}

.property-image .yjp-poster,
.detail-image .yjp-poster {
  padding: 0;
}

.gallery-tile .yjp-poster {
  background: #f1f4fa;
}

.story-image .yjp-poster,
.contact-photo .yjp-poster {
  background: #071a3b;
}

/* Give the supplied vertical creatives enough room on smaller screens. */
@media (max-width: 900px) {

  .property-large .property-image,
  .property-image {
    height: 360px;
  }

  .detail-image {
    height: 340px;
  }
}

@media (max-width: 600px) {

  .property-large .property-image,
  .property-image {
    height: 330px;
  }

  .detail-image {
    height: 320px;
  }
}


/* Expanded YoungJosh media showcase and Nigerian real-estate insights */
.media-showcase-section {
  background: #f5f6f2;
}

.media-carousel {
  position: relative;
}

.media-viewport {
  overflow: hidden;
  border-radius: 1.4rem;
}

.media-track {
  display: flex;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
}

.media-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  background: #10241d;
  color: #fff;
}

.media-visual {
  min-height: 520px;
  background: #071a3b;
}

.media-visual img,
.media-visual video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.media-copy {
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.media-copy h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  margin: .6rem 0 1.2rem;
}

.media-copy p {
  color: rgba(255, 255, 255, .76);
  line-height: 1.8;
  max-width: 38rem;
}

.media-copy .text-link {
  color: #d7e9df;
  margin-top: 1rem;
}

.media-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1.3rem;
}

.media-arrow {
  width: 3rem;
  height: 3rem;
  border: 1px solid #cad5cf;
  border-radius: 50%;
  background: #fff;
  color: #10241d;
  cursor: pointer;
  font-size: 1.1rem;
}

.media-dots {
  display: flex;
  gap: .45rem;
}

.media-dot {
  width: 2rem;
  height: .35rem;
  border: 0;
  border-radius: 999px;
  background: #c7d0ca;
  cursor: pointer;
  padding: 0;
}

.media-dot.is-active {
  background: #10241d;
}

.insight-grid {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.insight-copy p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #48554f;
}

.insight-points {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.insight-points>div {
  border-top: 1px solid #d7ddd9;
  padding-top: 1rem;
  display: grid;
  grid-template-columns: minmax(140px, .4fr) 1fr;
  gap: 1rem;
}

.insight-points b {
  color: #10241d;
}

.insight-points span {
  color: #5c6862;
  line-height: 1.6;
}

.contact-detail a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-followup {
  background: #eef2ed;
}

.contact-followup-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(2rem, 7vw, 6rem);
}

.contact-followup-grid p {
  color: #4e5a54;
  line-height: 1.85;
}

@media (max-width:900px) {
  .media-slide {
    grid-template-columns: 1fr
  }

  .media-visual,
  .media-visual img,
  .media-visual video {
    min-height: 380px;
    height: 380px
  }

  .media-copy {
    padding: 2rem
  }

  .insight-grid,
  .contact-followup-grid {
    grid-template-columns: 1fr
  }

  .insight-points>div {
    grid-template-columns: 1fr
  }
}

@media (max-width:600px) {

  .media-visual,
  .media-visual img,
  .media-visual video {
    min-height: 260px;
    height: 260px
  }

  .media-copy h3 {
    font-size: 2.2rem
  }

  .media-controls {
    padding-bottom: .3rem
  }

  .media-dot {
    width: 1.4rem
  }

  .insight-copy p {
    font-size: .98rem
  }
}