:root {
  --bg: #f7f4ee;
  --accent: #c8a96b;
  --ink: #1f3a33;
  --muted: #6b6b6b;
  --cream: #efe7d8;
  --sand: #e8ddc8;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(200, 169, 107, 0.24), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(31, 58, 51, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)),
    var(--bg);
}

.page-shell {
  min-height: 100vh;
}

.orb {
  pointer-events: none;
  position: absolute;
  border-radius: 9999px;
  filter: blur(10px);
  opacity: 0.8;
}

.orb-one {
  top: 3rem;
  right: 4rem;
  height: 12rem;
  width: 12rem;
  background: rgba(200, 169, 107, 0.22);
}

.orb-two {
  bottom: 1rem;
  left: -3rem;
  height: 10rem;
  width: 10rem;
  background: rgba(31, 58, 51, 0.1);
}

.section-tag {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid rgba(31, 58, 51, 0.1);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-tag--light {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 244, 238, 0.78);
}

.section-shell {
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 1px 960px;
}

.section-shell--light {
  background: rgba(255, 255, 255, 0.96);
}

.section-shell--brand {
  background: linear-gradient(180deg, rgba(239, 231, 216, 0.52), rgba(247, 244, 238, 0.96));
}

.section-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-pattern::before {
  content: "";
  position: absolute;
  inset: 12% 0 auto;
  height: 78%;
  background:
    linear-gradient(rgba(200, 169, 107, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 169, 107, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, white 22%, transparent 78%);
  opacity: 0.5;
}

.section-pattern--soft::before {
  opacity: 0.32;
}

.section-heading {
  margin: 0 auto;
  max-width: 48rem;
  text-align: center;
}

.section-title {
  margin-top: 1rem;
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

.section-copy {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
}

.section-inline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(31, 58, 51, 0.1);
  background: rgba(255, 255, 255, 0.88);
  padding: 0.95rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(31, 58, 51, 0.07);
  transition:
    transform 200ms ease,
    border-color 200ms ease;
}

.section-inline-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 169, 107, 0.55);
}

.section-panel,
.section-frame {
  border-radius: 2rem;
  border: 1px solid rgba(31, 58, 51, 0.08);
  background: rgba(255, 255, 255, 0.76);
  padding: 2rem;
  box-shadow: 0 22px 60px rgba(31, 58, 51, 0.1);
  backdrop-filter: blur(8px);
}

.section-panel--dark {
  background:
    radial-gradient(circle at top right, rgba(200, 169, 107, 0.22), transparent 30%),
    linear-gradient(135deg, #1f3a33, #27473f);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-frame--left {
  text-align: left;
}

.metric-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 0.55rem;
  border-radius: 1.5rem;
  padding: 1.4rem;
}

.metric-card--dark {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.72);
}

.metric-card__value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--bg);
}

.metric-card p {
  line-height: 1.75;
  color: rgba(247, 244, 238, 0.78);
}

.mini-panel {
  border-radius: 1.5rem;
  border: 1px solid rgba(31, 58, 51, 0.08);
  background: rgba(247, 244, 238, 0.7);
  padding: 1.4rem;
}

.mini-panel__title {
  margin-bottom: 0.75rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.mini-panel p {
  line-height: 1.85;
  color: var(--muted);
}

.about-content {
  padding-top: 0.5rem;
}

.about-visual {
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(200, 169, 107, 0.16), transparent 35%),
    rgba(255, 255, 255, 0.38);
  padding: 1rem;
}

.about-copy__more {
  display: none;
}

.about-copy.is-expanded .about-copy__more {
  display: block;
}

.about-copy.is-expanded .about-copy__inline-toggle--more {
  display: none;
}

.about-copy__inline-toggle {
  margin-left: 0.35rem;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(200, 169, 107, 0.7);
  text-underline-offset: 0.2rem;
  transition: color 180ms ease;
}

.about-copy__inline-toggle:hover {
  color: var(--accent);
}

.about-copy__inline-toggle--less {
  margin-left: 0.45rem;
}

.about-stat-card {
  border-radius: 1rem;
  border: 1px solid rgba(31, 58, 51, 0.08);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.95rem 0.85rem;
  text-align: center;
  box-shadow: 0 10px 24px rgba(31, 58, 51, 0.04);
}

.about-stat-card__value {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.about-stat-card__label {
  margin-top: 0.25rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--muted);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(239, 231, 216, 0.92));
  padding: 1.5rem;
  box-shadow: 0 24px 80px rgba(31, 58, 51, 0.16);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  height: 100%;
  width: 100%;
  background:
    linear-gradient(135deg, rgba(200, 169, 107, 0.06), transparent 40%),
    linear-gradient(0deg, rgba(31, 58, 51, 0.03), transparent 30%);
  pointer-events: none;
}

.hero-card__frame {
  position: relative;
  z-index: 1;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.75);
  padding: 1.25rem;
}

.hero-showcase {
  position: relative;
}

.hero-feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 1.25rem;
  position: relative;
  z-index: 1;
}

.hero-feature-card {
  background: rgba(255, 255, 255, 0.84);
  padding: 1rem;
  text-align: center;
}

.hero-feature-card p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero-feature-card__label {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-floating {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.95rem 1.15rem;
  box-shadow: 0 14px 30px rgba(31, 58, 51, 0.12);
}

.hero-floating--left {
  top: -1rem;
  left: -1rem;
}

.hero-floating--right {
  right: -1rem;
  bottom: 5rem;
}

.hero-floating__eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-floating__value {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.hero-floating__value--small {
  max-width: 10rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.image-placeholder {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border-radius: 0;
  border: 1px dashed rgba(31, 58, 51, 0.18);
  background:
    linear-gradient(135deg, rgba(200, 169, 107, 0.2), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.65);
  padding: 2rem;
  text-align: center;
}

.image-placeholder span {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.image-placeholder small {
  max-width: 16rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.image-placeholder--hero {
  min-height: 31rem;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  min-height: 100%;
  background: rgba(255, 255, 255, 0.8);
}

.image-card--placeholder {
  background:
    linear-gradient(135deg, rgba(200, 169, 107, 0.2), rgba(255, 255, 255, 0.86)),
    linear-gradient(180deg, rgba(31, 58, 51, 0.08), rgba(31, 58, 51, 0.02));
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 58, 51, 0.04), rgba(31, 58, 51, 0.58));
}

.image-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.2rem;
  color: var(--bg);
}

.image-card__overlay--compact {
  gap: 0.25rem;
  padding: 0.9rem 1rem;
}

.image-card__tag {
  align-self: flex-start;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.35rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.image-card__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.image-card__caption {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(247, 244, 238, 0.82);
}

.image-card--hero {
  height: auto;
  background: transparent;
}

.image-card--hero::after {
  display: none;
}

.image-card--hero img {
  height: auto;
  object-fit: contain;
  object-position: center;
}

.image-placeholder--hero-centered {
  min-height: 23rem;
  border-radius: 1.25rem;
  border-color: rgba(31, 58, 51, 0.1);
  background:
    linear-gradient(135deg, rgba(200, 169, 107, 0.18), rgba(255, 255, 255, 0.9)),
    rgba(255, 255, 255, 0.82);
}

.image-placeholder--project-main {
  min-height: 32rem;
  border-radius: 1.5rem;
}

.image-card--project-main {
  height: 32rem;
  border-radius: 1.5rem;
}

.image-placeholder--about {
  min-height: 32rem;
  border-radius: 1.5rem;
  border-color: rgba(31, 58, 51, 0.1);
  background:
    linear-gradient(135deg, rgba(200, 169, 107, 0.16), rgba(255, 255, 255, 0.86)),
    rgba(255, 255, 255, 0.8);
}

.image-card--about {
  height: 32rem;
  border-radius: 1.5rem;
}

.image-card--about img {
  object-fit: cover;
  object-position: center top;
}

.hero-preview-shell {
  border-radius: 1.4rem;
  border: 1px solid rgba(31, 58, 51, 0.08);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.8rem;
  box-shadow: 0 18px 44px rgba(31, 58, 51, 0.1);
}

.hero-summary-card {
  border-radius: 1.1rem;
  border: 1px solid rgba(31, 58, 51, 0.08);
  background: rgba(255, 255, 255, 0.84);
  padding: 0.9rem 0.85rem;
  text-align: center;
  box-shadow: 0 10px 24px rgba(31, 58, 51, 0.05);
}

.hero-summary-card p {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero-summary-card__title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.image-placeholder--gallery {
  min-height: 20rem;
}

.image-card--gallery {
  height: 20rem;
  border-radius: 1.25rem;
}

.problem-card,
.service-card,
.testimonial-card,
.contact-card,
.faq-item {
  border-radius: 1.75rem;
  border: 1px solid rgba(31, 58, 51, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(31, 58, 51, 0.08);
  backdrop-filter: blur(8px);
}

.problem-image-card {
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgba(31, 58, 51, 0.08);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 45px rgba(31, 58, 51, 0.08);
  backdrop-filter: blur(8px);
}

.problem-image-card__visual {
  position: relative;
  min-height: clamp(16rem, 28vw, 18rem);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(31, 58, 51, 0.04), rgba(31, 58, 51, 0.58)),
    linear-gradient(135deg, rgba(200, 169, 107, 0.26), rgba(255, 255, 255, 0.76));
}

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

.problem-image-card__content {
  padding: 1.4rem 1.4rem 1.6rem;
}

.service-image-card {
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgba(31, 58, 51, 0.08);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 45px rgba(31, 58, 51, 0.08);
  backdrop-filter: blur(8px);
}

.service-image-card__visual {
  position: relative;
  min-height: 13rem;
  background:
    linear-gradient(180deg, rgba(31, 58, 51, 0.04), rgba(31, 58, 51, 0.58)),
    linear-gradient(135deg, rgba(200, 169, 107, 0.26), rgba(255, 255, 255, 0.76));
}

.service-image-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-image-card__content {
  padding: 1.4rem 1.4rem 1.6rem;
}

.problem-card__more {
  display: none;
}

.problem-image-card.is-expanded .problem-card__more {
  display: block;
}

.problem-image-card.is-expanded [data-problem-toggle] {
  display: none;
}

.problem-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.problem-card::before,
.service-card::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(200, 169, 107, 0.85), rgba(200, 169, 107, 0));
}

.problem-card__index {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.problem-card__title,
.service-card__title {
  margin-top: 1rem;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.problem-card__body,
.service-card__body {
  margin-top: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.service-card__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(200, 169, 107, 0.16);
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.testimonial-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  line-height: 1.9;
  color: var(--muted);
}

.testimonial-card p {
  font-size: 1.02rem;
}

.testimonial-card footer {
  font-weight: 600;
  color: var(--ink);
}

.faq-item {
  overflow: hidden;
}

.faq-lead {
  border-radius: 1.75rem;
  border: 1px solid rgba(31, 58, 51, 0.08);
  background:
    radial-gradient(circle at top right, rgba(200, 169, 107, 0.18), transparent 35%),
    rgba(255, 255, 255, 0.78);
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(31, 58, 51, 0.08);
}

.faq-lead__title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq-lead__body {
  margin-top: 0.9rem;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--ink);
}

.faq-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  background: transparent;
  padding: 1.5rem 1.6rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 220ms ease;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-panel p {
  overflow: hidden;
  padding: 0 1.6rem 0;
  line-height: 1.9;
  color: var(--muted);
}

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

.faq-item.is-open .faq-panel p {
  padding-bottom: 1.6rem;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
  background:
    radial-gradient(circle at top right, rgba(200, 169, 107, 0.35), transparent 28%),
    linear-gradient(135deg, #1f3a33, #315349);
  padding: 2.5rem;
  box-shadow: 0 24px 80px rgba(31, 58, 51, 0.18);
}

.contact-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  transition:
    transform 200ms ease,
    border-color 200ms ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 169, 107, 0.55);
}

.contact-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card__value {
  line-height: 1.7;
  color: var(--ink);
}

.listing-loading {
  margin: 1.2rem auto 0;
  text-align: center;
  font-weight: 600;
  color: var(--muted);
}

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

.listing-card {
  border-radius: 1.75rem;
  border: 1px solid rgba(31, 58, 51, 0.08);
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem;
  box-shadow: 0 18px 45px rgba(31, 58, 51, 0.08);
  backdrop-filter: blur(8px);
}

.listing-media {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  background: rgba(247, 244, 238, 0.9);
  margin-bottom: 0.9rem;
  touch-action: pan-y;
}

.listing-open {
  border: 0;
  padding: 0;
  width: 100%;
  background: transparent;
  cursor: zoom-in;
}

.listing-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.listing-nav,
.listing-lightbox__nav,
.listing-lightbox__close {
  border: 0;
  border-radius: 9999px;
  background: rgba(31, 58, 51, 0.72);
  color: #fff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.listing-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  font-size: 0.95rem;
}

.listing-nav.prev {
  left: 0.6rem;
}

.listing-nav.next {
  right: 0.6rem;
}

.listing-dots {
  position: absolute;
  left: 50%;
  bottom: 0.6rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
}

.listing-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.55);
}

.listing-dot.active {
  background: #fff;
}

.listing-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--ink);
}

.listing-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
}

.listing-location {
  font-size: 0.92rem;
  color: var(--muted);
}

.listing-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.listing-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.7rem;
  border-radius: 9999px;
  border: 1px solid rgba(200, 169, 107, 0.25);
  background: rgba(200, 169, 107, 0.14);
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.listing-desc {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

.listing-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
  border-radius: 1rem;
  background: var(--ink);
  padding: 0.95rem 1rem;
  font-weight: 600;
  color: var(--bg);
  transition: transform 180ms ease;
}

.listing-card__cta:hover {
  transform: translateY(-1px);
}

.listing-fallback {
  max-width: 38rem;
  margin: 1.2rem auto 0;
  border-radius: 1.75rem;
  border: 1px solid rgba(31, 58, 51, 0.08);
  background: rgba(255, 255, 255, 0.82);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 18px 45px rgba(31, 58, 51, 0.08);
}

.listing-fallback h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.listing-fallback p {
  margin-top: 0.7rem;
  line-height: 1.7;
  color: var(--muted);
}

.listing-fallback__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  border-radius: 1rem;
  background: var(--ink);
  padding: 0.9rem 1rem;
  font-weight: 600;
  color: var(--bg);
}

.listing-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.9);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.listing-lightbox[hidden] {
  display: none !important;
}

.listing-lightbox__figure {
  margin: 0;
  max-width: min(94vw, 980px);
  max-height: 82vh;
}

.listing-lightbox__figure img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
}

.listing-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
}

.listing-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.1rem;
}

.listing-lightbox__nav.prev {
  left: 1rem;
}

.listing-lightbox__nav.next {
  right: 1rem;
}

.footer-shell {
  border-top: 1px solid rgba(31, 58, 51, 0.08);
  padding-top: 2rem;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
}

.footer-copy {
  margin-top: 0.9rem;
  max-width: 28rem;
  line-height: 1.85;
  color: var(--muted);
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.footer-links a {
  color: var(--ink);
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(31, 58, 51, 0.08);
  font-size: 0.9rem;
  color: var(--muted);
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 9999px;
  background: var(--ink);
  padding: 0.95rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg);
  box-shadow: 0 16px 40px rgba(31, 58, 51, 0.24);
  transition: transform 200ms ease;
}

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

.floating-cta__dot {
  height: 0.7rem;
  width: 0.7rem;
  border-radius: 9999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(200, 169, 107, 0.75);
  animation: pulse 2s infinite;
}

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

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 169, 107, 0.75);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(200, 169, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 169, 107, 0);
  }
}

@media (max-width: 767px) {
  .cta-panel {
    padding: 2rem;
  }

  .section-panel,
  .section-frame {
    padding: 1.5rem;
  }

  .about-visual {
    padding: 0;
    background: transparent;
  }

  .image-placeholder--project-main {
    min-height: 22rem;
  }

  .image-placeholder--about {
    min-height: 24rem;
  }

  .image-placeholder--hero-centered {
    min-height: 18rem;
  }

  .image-card--hero {
    height: auto;
  }

  .image-card--project-main {
    height: 22rem;
  }

  .image-card--about {
    height: 24rem;
  }

  .listing-lightbox__nav {
    width: 2.2rem;
    height: 2.2rem;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }
}

@media (min-width: 768px) {
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
