/* Prisma Property Management - site styles */

:root {
  --ink: #14211e;
  --ink-deep: #0b1513;
  --cream: #f4f0e8;
  --sand: #e9e2d4;
  --muted: #6d7c75;
  --gold: #c4a273;
  --brand: #d1492f;
  --brand-red: #e31e24;
  --rule: rgba(20, 33, 30, .14);
  --rule-light: rgba(244, 240, 232, .16);
  --radius: 16px;
  --ease: cubic-bezier(.2, .9, .3, 1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font-family: inherit; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.03em;
}

h1 em, h2 em, h3 em, .foot-tagline em {
  color: var(--gold);
  font-style: italic;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(44px, 5.6vw, 78px);
  line-height: .95;
}

/* Layout helpers */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

.block { padding: 128px 0; }

.label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.label::before, .label-mark {
  flex: none;
  content: "";
  width: 9px;
  height: 8px;
  background: var(--brand-red);
  clip-path: polygon(0 30%, 100% 0, 62% 100%);
}

.label:has(.label-mark)::before { display: none; }

.label-light { color: rgba(244, 240, 232, .74); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, transform .2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--gold); color: var(--ink-deep); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--brand); }
.btn-accent { background: var(--gold); color: var(--ink-deep); }
.btn-accent:hover { background: var(--cream); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--brand);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: gap .25s var(--ease), color .25s ease;
}

.arrow-link:hover { gap: 18px; color: var(--brand); }
.on-dark { color: var(--cream); }
.on-dark:hover { color: var(--gold); }

.head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 54px;
}

.head-row h2 { margin: 18px 0 0; }

.head-row > p {
  max-width: 320px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.anim {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.anim.in-view { opacity: 1; transform: none; }

/* Header */
.topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  width: 100%;
  color: var(--cream);
  transition: background .3s ease, box-shadow .3s ease;
}

.is-scrolled .topbar {
  background: rgba(11, 21, 19, .9);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--rule-light);
}

.topbar-inner {
  display: flex;
  align-items: center;
  height: 90px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px;
}

.logo { display: block; flex: none; }
.logo img { width: auto; height: 52px; }
.footer .logo img { height: 62px; }

.menu {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0 44px 0 auto;
  color: rgba(244, 240, 232, .78);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
}

.menu a { position: relative; transition: color .2s ease; }
.menu a:hover, .menu a.is-active { color: var(--cream); }

.menu a.is-active::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: -8px;
  width: 18px;
  height: 2px;
  background: var(--brand);
}

.menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(244, 240, 232, .35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.menu-cta:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }

.menu-toggle { display: none; font-size: 24px; }

/* Home hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  max-height: 940px;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}

.hero-media, .hero-frame, .shade, .banner-bg,
.quote-bg, .quote-shade, .invite-bg, .invite-shade {
  position: absolute;
  inset: 0;
}

.hero-media, .hero-frame, .banner-bg { z-index: -2; }

.hero-frame {
  background: center / cover no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 8s linear;
}

.hero-frame.is-active { opacity: 1; transform: scale(1); }
.hero-frame-1 { background-image: url(../img/hero-1.jpg); }
.hero-frame-2 { background-image: url(../img/hero-2.jpg); }
.hero-frame-3 { background-image: url(../img/hero-3.jpg); }
.hero-frame-4 { background-image: url(../img/hero-4.jpg); }

.shade {
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(8, 16, 14, .9) 0%, rgba(8, 16, 14, .58) 46%, rgba(8, 16, 14, .18) 100%),
    linear-gradient(to top, rgba(8, 16, 14, .6), transparent 40%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 60px;
}

.hero-text { max-width: 740px; }

.hero-text h1 {
  margin: 24px 0 22px;
  font-size: clamp(62px, 8vw, 120px);
  line-height: .86;
}

.hero-text p {
  max-width: 470px;
  margin: 0 0 36px;
  color: rgba(244, 240, 232, .76);
  font-size: 16px;
  line-height: 1.65;
}

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.hero-cta .arrow-link { margin-top: 0; }

.hero-pager {
  position: absolute;
  right: 48px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-pager button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: rgba(244, 240, 232, .4);
  transition: width .35s var(--ease), background .3s ease;
}

.hero-pager button.is-active { width: 28px; background: var(--gold); }

.scroll-hint {
  position: absolute;
  left: 48px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(244, 240, 232, .7);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.scroll-hint::after {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 50%, rgba(244, 240, 232, .3) 50%);
  background-size: 200% 100%;
  animation: hint 2.4s ease-in-out infinite;
}

@keyframes hint {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

/* Inner page banner */
.banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 70vh;
  min-height: 580px;
  max-height: 740px;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}

.banner-bg {
  background: center / cover no-repeat;
  animation: settle 12s ease-out both;
}
.banner-services { background-image: url(../img/page-services.jpg); }
.banner-contact { background-image: url(../img/page-contact.jpg); }
.banner-404 { background-image: url(../img/hero-2.jpg); }
.page-404 { display: flex; flex-direction: column; min-height: 100vh; }
.page-404 main { display: flex; flex: 1; }
.page-404 .banner { flex: 1; height: auto; max-height: none; }

@keyframes settle {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.banner-content {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  padding-bottom: 84px;
}

.banner h1 {
  margin: 22px 0 0;
  font-size: clamp(56px, 7.4vw, 108px);
  line-height: .88;
}

.banner-aside { max-width: 350px; padding-bottom: 10px; }

.banner-aside p {
  margin: 0 0 20px;
  color: rgba(244, 240, 232, .76);
  font-size: 15.5px;
  line-height: 1.7;
}

.crumbs {
  display: flex;
  gap: 10px;
  color: rgba(244, 240, 232, .6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.crumbs a:hover { color: var(--cream); }
.crumbs span:last-child { color: var(--gold); }

/* Home: quick enquiry */
.help { background: linear-gradient(135deg, #e8eee6 0%, var(--cream) 60%); }

.help-card {
  padding: 52px 54px 40px;
  border: 1px solid var(--rule);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 24px 60px rgba(20, 33, 30, .07);
}

.help-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}

.help-head h2 { margin: 18px 0 0; font-size: clamp(44px, 4.8vw, 66px); }

.help-head p {
  max-width: 330px;
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.7;
}

.help-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 20px;
  align-items: end;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}

.help-form label, .form-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.help-form select, .form-card input, .form-card select, .form-card textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(20, 33, 30, .22);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color .2s ease;
}

.help-form select:focus, .form-card input:focus,
.form-card select:focus, .form-card textarea:focus { border-bottom-color: var(--brand); }

.help-form .btn { white-space: nowrap; }

.help-note { margin: 18px 0 0; color: var(--muted); font-size: 14.5px; }

/* Home: about */
.story { padding-top: 0; }

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 9vw;
  align-items: center;
}

.media-frame {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  transition: transform .9s var(--ease);
}

.media-frame:hover img { transform: scale(1.04); }

.media-frame span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(11, 21, 19, .55);
  backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.media-frame span b { color: var(--gold); font-weight: 700; }

.story-text h2 { margin: 18px 0 26px; }

.story-text p, .svc-detail p {
  max-width: 470px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
}

.story-text p strong { color: var(--ink); font-weight: 700; }

/* Home: approach */
.approach { padding-top: 0; }

.approach-grid {
  display: grid;
  grid-template-columns: .8fr 1.6fr 1fr;
  gap: 5vw;
  align-items: start;
}

.approach-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.7;
  text-transform: uppercase;
}

.num { color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: .1em; }

.side-rule { width: 1px; height: 60px; background: var(--brand); opacity: .6; }

.approach-text p {
  max-width: 480px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
}

.approach-values { border-top: 1px solid var(--rule); margin-top: 8px; }

.approach-values li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font: 500 30px/1 var(--serif);
  letter-spacing: -.02em;
}

.approach-values li span {
  color: var(--brand);
  font: 700 12px/1 var(--sans);
  letter-spacing: .1em;
}

/* Services list */
.svc { background: linear-gradient(120deg, var(--cream) 0%, #eef1ea 55%, #dfe8dc 100%); }

.svc-head { align-items: start; }
.svc-head > p { padding-top: 34px; }

.svc-list { border-top: 1px solid var(--rule); }

.svc-item {
  display: grid;
  grid-template-columns: 90px 1.2fr 1.6fr 46px;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 4px;
  transition: background .3s ease, padding .35s var(--ease);
}

.svc-item:hover { padding-left: 20px; padding-right: 20px; background: rgba(255, 255, 255, .45); }

.svc-item > b {
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
}

.svc-item small {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.svc-item h3 { margin: 8px 0 0; font-size: 36px; line-height: 1; }

.svc-item > p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.svc-go {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.svc-item:hover .svc-go { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Services page: detail blocks */
.svc-detail { scroll-margin-top: 40px; }
.svc-detail.reverse { background: linear-gradient(120deg, var(--cream) 0%, #eef1ea 55%, #dfe8dc 100%); }

.svc-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 8vw;
  align-items: center;
}

.svc-detail.reverse .svc-detail-grid { grid-template-columns: 1fr 1.05fr; }
.svc-detail.reverse .media-frame { order: 2; }

.svc-detail h2 { margin: 18px 0 26px; font-size: clamp(44px, 5vw, 70px); }

.ticks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 520px;
  margin: 28px 0 8px;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: rgba(255, 255, 255, .45);
  font-size: 14.5px;
  font-weight: 600;
}

.ticks li::before {
  flex: none;
  content: "";
  width: 9px;
  height: 8px;
  background: var(--brand-red);
  clip-path: polygon(0 30%, 100% 0, 62% 100%);
}

/* Quote band */
.quote-band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 600px;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}

.quote-bg { z-index: -2; background: url("../img/statement.jpg") center / cover; }

.quote-shade {
  z-index: -1;
  background: linear-gradient(100deg, rgba(10, 22, 19, .92) 0%, rgba(10, 22, 19, .6) 55%, rgba(10, 22, 19, .15) 100%);
}

.quote-content > div { max-width: 780px; }

.quote-content h2 { margin: 24px 0 20px; font-size: clamp(52px, 6.6vw, 88px); }

.quote-content p { color: rgba(244, 240, 232, .66); font: italic 22px var(--serif); }

/* Mission & vision */
.mv { background: var(--sand); }

.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.mv-media {
  position: relative;
  aspect-ratio: 1.5;
  overflow: hidden;
  border-radius: var(--radius);
  background: #2a3b36;
}

.mv-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}

.mv-card:hover .mv-media img { transform: scale(1.04); }

.mv-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(11, 21, 19, .5);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mv-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  padding-top: 26px;
}

.mv-body > b { padding-top: 10px; color: var(--brand); font-size: 14px; letter-spacing: .1em; }

.mv-body h3 { margin: 0 0 14px; font-size: 40px; line-height: 1; }

.mv-body p {
  max-width: 480px;
  margin: 0;
  color: #22342f;
  font: 500 23px/1.3 var(--serif);
}

/* Dark feature tiles */
.features {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background: linear-gradient(160deg, #1b302a 0%, #12231f 55%, #0c1816 100%);
}

.features::before {
  position: absolute;
  content: "";
  top: -60px;
  right: -90px;
  width: 520px;
  height: 480px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92'%3E%3Cpath d='M2 26 98 2 66 90Z' fill='none' stroke='%23c4a273' stroke-width='.4'/%3E%3Cpath d='M98 2 72 50 66 90' fill='none' stroke='%23c4a273' stroke-width='.3'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .22;
  pointer-events: none;
}

.features-head { position: relative; margin-bottom: 58px; text-align: center; }

.features-badge {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(196, 162, 115, .45);
  border-radius: 999px;
  background: rgba(196, 162, 115, .1);
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.features-head h2 { margin: 20px 0 14px; font-size: clamp(48px, 5.8vw, 76px); }

.features-head p {
  max-width: 540px;
  margin: 0 auto;
  color: rgba(244, 240, 232, .65);
  font-size: 16.5px;
  line-height: 1.7;
}

.features-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.features-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 270px;
  padding: 32px 30px;
  border: 1px solid var(--rule-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  transition: transform .35s var(--ease), border-color .3s ease, background .3s ease;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 162, 115, .6);
  background: rgba(255, 255, 255, .08);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: auto;
  border: 1px solid rgba(196, 162, 115, .3);
  border-radius: 18px;
  background: rgba(196, 162, 115, .12);
  color: var(--gold);
  font-size: 26px;
}

.feature h3 { margin: 34px 0 10px; font-size: 30px; line-height: 1; }

.feature p {
  max-width: 300px;
  margin: 0;
  color: rgba(244, 240, 232, .65);
  font-size: 14.5px;
  line-height: 1.6;
}

.feature-go {
  position: absolute;
  top: 30px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--rule-light);
  border-radius: 50%;
  font-size: 16px;
  transition: background .25s ease, color .25s ease, transform .3s var(--ease);
}

.feature:hover .feature-go { background: var(--gold); color: var(--ink-deep); transform: rotate(-45deg); }

.feature-cta { border-color: rgba(196, 162, 115, .45); background: rgba(196, 162, 115, .12); }
.feature-cta .feature-icon { background: var(--gold); color: var(--ink-deep); }

/* Call-to-action band */
.invite {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  overflow: hidden;
  color: var(--cream);
  text-align: center;
}

.invite-bg { background: url("../img/cta.jpg") center / cover; transition: transform 1.2s var(--ease); }
.invite:hover .invite-bg { transform: scale(1.03); }
.invite-shade { background: rgba(10, 22, 19, .72); }
.invite-content { position: relative; z-index: 1; }
.invite-content .label { justify-content: center; }
.invite-content h2 { margin: 22px 0; font-size: clamp(52px, 6.6vw, 88px); }

.invite-content p {
  max-width: 500px;
  margin: 0 auto 34px;
  color: rgba(244, 240, 232, .74);
  line-height: 1.7;
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 26px;
}

.invite-actions .arrow-link { margin-top: 0; }

/* Contact */
.reach { background: linear-gradient(200deg, #dde7db 0%, var(--cream) 45%); }

.reach-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 8vw;
}

.reach-intro h2 { margin: 18px 0 0; }

.reach-intro > p {
  max-width: 390px;
  margin: 28px 0 40px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
}

.reach-list { display: grid; gap: 14px; }

.reach-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255, 255, 255, .45);
}

.reach-item small {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.reach-item a, .reach-item span {
  font: 500 22px/1.3 var(--serif);
  overflow-wrap: anywhere;
}

.reach-item a:hover { color: var(--brand); }

.form-card {
  padding: 40px 42px 42px;
  border: 1px solid var(--rule);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 24px 60px rgba(20, 33, 30, .06);
}

.form-card form { display: flex; flex-direction: column; gap: 24px; }

.form-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }

.form-card label { color: var(--ink); }
.form-card textarea { resize: vertical; }
.form-card input::placeholder, .form-card textarea::placeholder { color: #9aa79f; }
.form-card .btn { align-self: flex-start; margin-top: 6px; }

.form-done { display: none; margin: 0; color: #4f7d5a; font-size: 14px; font-weight: 600; }
.form-done.is-shown { display: block; }
.form-done.is-error { color: var(--brand); }
.form-card .btn:disabled { opacity: .6; cursor: wait; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.place { padding-bottom: 128px; background: var(--cream); }

.place-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.place-text h2 { margin: 18px 0; }

.place-text p {
  max-width: 340px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.place-map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: calc(var(--radius) + 4px);
}

.place-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(.85) contrast(1.05);
}

/* Footer */
.footer { color: var(--cream); background: var(--ink-deep); }

.foot-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 56px;
}

.foot-tagline {
  color: rgba(244, 240, 232, .78);
  font: 500 26px/1.1 var(--serif);
  text-align: center;
}

.foot-nav {
  justify-self: end;
  display: flex;
  gap: 28px;
  color: rgba(244, 240, 232, .72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.foot-nav a:hover, .foot-links a:hover { color: var(--gold); }

.foot-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-top: 26px;
  padding-bottom: 30px;
  border-top: 1px solid var(--rule-light);
  color: rgba(244, 240, 232, .62);
  font-size: 12px;
  letter-spacing: .06em;
}

.foot-legal { display: flex; flex-direction: column; gap: 4px; }

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.to-top {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px rgba(11, 21, 19, .25);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, transform .2s var(--ease);
}

.to-top:hover { transform: translateY(-3px); }
.is-scrolled .to-top { opacity: 1; visibility: visible; }

/* Responsive */
@media (max-width: 1100px) {
  .menu { gap: 26px; margin-right: 28px; }
  .features-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .wrap, .topbar-inner { padding-left: 30px; padding-right: 30px; }
  .menu-cta { display: none; }
  .menu { margin-right: 0; }

  .story-grid, .svc-detail-grid, .svc-detail.reverse .svc-detail-grid,
  .approach-grid, .reach-grid, .place-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .svc-detail.reverse .media-frame { order: 0; }
  .media-frame, .media-frame img { min-height: 420px; }

  .approach-side { flex-direction: row; align-items: center; }
  .side-rule { width: 44px; height: 1px; }

  .help-form { grid-template-columns: repeat(2, 1fr); }
  .help-form .btn { justify-self: start; }

  .svc-item { grid-template-columns: 60px 1fr 46px; }
  .svc-item > p { display: none; }

  .mv-grid { grid-template-columns: 1fr; gap: 56px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .banner-content { display: block; }
  .banner-aside { margin-top: 28px; }

  .place-map { min-height: 360px; }

  .foot-main { grid-template-columns: 1fr 1fr; }
  .foot-tagline { grid-column: 1 / -1; grid-row: 1; text-align: left; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; margin-left: auto; }

  .menu {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 6px 20px;
    border: 1px solid var(--rule-light);
    border-radius: 14px;
    background: rgba(11, 21, 19, .96);
    backdrop-filter: blur(14px);
  }

  .menu.is-open { display: flex; }
  .menu a { padding: 15px 0; border-bottom: 1px solid var(--rule-light); }
  .menu a:last-child { border-bottom: 0; }
  .menu a.is-active { color: var(--gold); }
  .menu a.is-active::after { display: none; }

  .topbar-inner { height: 76px; }
  .logo img { height: 36px; }
}

@media (max-width: 640px) {
  .block { padding: 88px 0; }
  .wrap, .topbar-inner { padding-left: 20px; padding-right: 20px; }

  h2 { font-size: 52px; }

  .hero { min-height: 660px; }
  .hero-text h1 { font-size: clamp(56px, 15.5vw, 92px); }
  .hero-pager { right: 20px; bottom: 30px; }
  .scroll-hint { left: 20px; bottom: 26px; }

  .banner { min-height: 540px; }
  .banner-content { padding-bottom: 56px; }

  .help-card { padding: 32px 22px; }
  .help-head { display: block; }
  .help-head p { margin-top: 22px; }
  .help-form { grid-template-columns: 1fr; }
  .help-form .btn { width: 100%; }

  .approach-grid { gap: 40px; }

  .head-row { display: block; margin-bottom: 38px; }
  .head-row > p, .svc-head > p { margin-top: 20px; padding-top: 0; }

  .svc-item { grid-template-columns: 44px 1fr 40px; gap: 14px; padding: 26px 0; }
  .svc-item h3 { font-size: 27px; }
  .svc-go { width: 40px; height: 40px; }

  .ticks { grid-template-columns: 1fr; }

  .quote-band { min-height: 540px; }
  .quote-content h2 { font-size: 54px; }

  .mv-body { grid-template-columns: 1fr; }
  .mv-body h3 { font-size: 34px; }

  .features-grid, .features-grid.cols-4 { grid-template-columns: 1fr; }
  .feature { min-height: 230px; }

  .invite { min-height: 480px; }

  .form-card { padding: 28px 22px 30px; }
  .field-pair { grid-template-columns: 1fr; }

  .place { padding-bottom: 88px; }

  .foot-main { grid-template-columns: 1fr; gap: 28px; padding-top: 52px; padding-bottom: 44px; }
  .foot-nav { justify-self: start; flex-wrap: wrap; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .anim { opacity: 1; transform: none; }
}
