:root {
  --ink: #102530;
  --ink-deep: #09171f;
  --ink-soft: #193744;
  --gold: #bd853a;
  --gold-light: #d8aa62;
  --cream: #f5f1e8;
  --paper: #fbfaf6;
  --white: #ffffff;
  --muted: #64717a;
  --line: rgba(16, 37, 48, 0.15);
  --shadow: 0 24px 70px rgba(4, 15, 21, 0.17);
  --radius: 3px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-shell {
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms ease;
}

body.is-unlocked .site-shell {
  opacity: 1;
  visibility: visible;
}

.lock-screen {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background:
    linear-gradient(120deg, rgba(189, 133, 58, 0.11), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(189, 133, 58, 0.12), transparent 28%),
    var(--ink-deep);
  transition: opacity 360ms ease, visibility 360ms ease;
}

.lock-screen::before,
.lock-screen::after {
  content: "";
  position: fixed;
  pointer-events: none;
  border: 1px solid rgba(216, 170, 98, 0.2);
}

.lock-screen::before {
  width: 42vw;
  height: 42vw;
  min-width: 420px;
  min-height: 420px;
  top: -24vw;
  right: -12vw;
  transform: rotate(45deg);
}

.lock-screen::after {
  width: 310px;
  height: 1px;
  left: 0;
  bottom: 10%;
  border-width: 1px 0 0;
}

body.is-unlocked .lock-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lock-card {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 510px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.36);
}

.lock-logo-wrap {
  display: grid;
  place-items: center;
  padding: 56px;
  background: var(--cream);
  border-right: 1px solid rgba(16, 37, 48, 0.12);
}

.lock-logo {
  width: 100%;
}

.lock-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px;
}

.lock-content h1 {
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.lock-content > p:not(.eyebrow) {
  margin: 0 0 28px;
  color: var(--muted);
}

.password-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.password-field {
  display: flex;
  border: 1px solid #bfc5c7;
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.password-field:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(189, 133, 58, 0.14);
}

.password-field input {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
}

.show-password {
  padding: 0 14px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
}

.form-error {
  min-height: 25px;
  margin: 5px 0 5px;
  color: #a0291e;
  font-size: 0.86rem;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold-light);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button-gold {
  color: var(--ink-deep);
  background: var(--gold-light);
}

.button-gold:hover {
  background: #e8bb74;
}

.button-ink {
  color: var(--white);
  background: var(--ink);
}

.button-ink:hover {
  background: var(--ink-soft);
}

.button-small {
  min-height: 42px;
  padding: 10px 17px;
}

.button-full {
  width: 100%;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(251, 250, 246, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-row {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  flex: 0 1 310px;
}

.brand img {
  width: 310px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: #344852;
  font-size: 0.83rem;
  font-weight: 750;
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--gold);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after {
  right: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 22%, rgba(189, 133, 58, 0.14), transparent 27%),
    linear-gradient(112deg, var(--ink-deep), #102935 69%, #173846);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0.65;
}

.hero-grid {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 74px;
  padding-block: 110px;
}

.hero h1,
.section-heading h2,
.fit-intro h2,
.community-copy h2,
.contact-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 780px;
  margin: 20px 0 24px;
  font-size: clamp(3.3rem, 6vw, 6.25rem);
  line-height: 0.95;
}

.hero-lede {
  max-width: 670px;
  margin: 0;
  color: #d3dde1;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.text-link {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 6px;
  color: var(--gold-light);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin: 40px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  list-style: none;
  color: #b9c8cf;
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.trust-list li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 9px 2px 0;
  border-radius: 50%;
  background: var(--gold-light);
}

.hero-mark {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.house-line {
  position: absolute;
  inset: 10px 0 30px 32px;
  border-right: 1px solid rgba(216, 170, 98, 0.7);
  border-bottom: 1px solid rgba(216, 170, 98, 0.7);
}

.roof-line {
  position: absolute;
  top: 72px;
  left: 2px;
  width: 72%;
  height: 1px;
  background: rgba(216, 170, 98, 0.72);
  transform: rotate(-34deg);
  transform-origin: left center;
}

.wall-line {
  position: absolute;
  bottom: 0;
  width: 1px;
  background: rgba(216, 170, 98, 0.44);
}

.wall-one { left: 14%; height: 43%; }
.wall-two { left: 34%; height: 54%; }
.wall-three { left: 54%; height: 65%; }
.wall-four { left: 74%; height: 76%; }

.hero-stamp {
  position: relative;
  width: min(350px, 88%);
  padding: 28px 30px;
  margin: 0 0 42px 0;
  border-left: 3px solid var(--gold-light);
  background: rgba(8, 23, 31, 0.88);
  box-shadow: var(--shadow);
}

.hero-stamp span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-stamp strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.3;
}

.service-ribbon {
  background: var(--gold);
}

.ribbon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 70px;
  align-items: center;
}

.ribbon-grid span {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.ribbon-grid span + span {
  border-left: 1px solid rgba(9, 23, 31, 0.28);
}

.section {
  padding-block: 112px;
}

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

.section-heading.narrow {
  max-width: 650px;
}

.section-heading h2,
.fit-intro h2,
.community-copy h2,
.contact-section h2 {
  margin: 14px 0 20px;
  font-size: clamp(2.35rem, 4.7vw, 4.6rem);
  line-height: 1.02;
}

.section-heading > p:last-child,
.fit-intro > p:last-child,
.community-copy > p,
.contact-copy > p {
  color: var(--muted);
  font-size: 1.04rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 280px;
  padding: 34px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service-card::after {
  content: "";
  position: absolute;
  left: 36px;
  bottom: 28px;
  width: 44px;
  height: 2px;
  background: var(--gold);
  transition: width 220ms ease;
}

.service-card:hover::after {
  width: 92px;
}

.service-card.accent-card {
  color: var(--white);
  background: var(--ink);
}

.service-card.accent-card p {
  color: #c3d0d6;
}

.card-number {
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 37px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 500;
}

.service-card p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
}

.fit-section {
  color: var(--white);
  background: var(--ink-deep);
}

.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.16fr);
  gap: 90px;
  align-items: start;
}

.fit-intro {
  position: sticky;
  top: 132px;
}

.fit-intro > p:last-child {
  color: #b7c4ca;
}

.fit-panels {
  display: grid;
  gap: 18px;
}

.fit-panel {
  padding: 38px 40px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
}

.boundary-panel {
  border-color: rgba(216, 170, 98, 0.45);
  background: rgba(189, 133, 58, 0.08);
}

.panel-label {
  margin: 0 0 25px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.check-list li {
  position: relative;
  padding: 14px 0 14px 31px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.check-list li:first-child {
  border-top: 0;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-light);
  font-weight: 900;
}

.boundary-panel > p:last-child {
  margin: 0;
  color: #d5dfe3;
  font-size: 1.05rem;
}

.process-section {
  background: var(--cream);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-grid li {
  min-height: 255px;
  padding: 32px 28px 22px;
  border-right: 1px solid var(--line);
}

.process-grid li:last-child {
  border-right: 0;
}

.process-grid span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.process-grid h3 {
  margin: 48px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.community-section {
  background: var(--paper);
}

.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
  gap: 100px;
  align-items: center;
}

.location-note {
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  color: var(--ink) !important;
  font-weight: 700;
}

.community-cards {
  display: grid;
  gap: 14px;
}

.community-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 30px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 37, 48, 0.05);
}

.community-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  background: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.community-card h3 {
  margin: 1px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.community-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-section {
  padding-block: 100px;
  color: var(--white);
  background: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 90px;
  align-items: center;
}

.contact-section h2 {
  margin-bottom: 0;
}

.contact-copy > p {
  margin: 0 0 28px;
  color: #c3d0d6;
}

.email-link {
  display: block;
  width: max-content;
  margin-top: 20px;
  color: #e3e9eb;
  font-size: 0.91rem;
  text-underline-offset: 5px;
}

.site-footer {
  padding-block: 44px;
  background: var(--cream);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.footer-logo {
  width: min(330px, 44vw);
}

.footer-meta {
  color: #5c6a71;
  font-size: 0.76rem;
  text-align: right;
}

.footer-meta p {
  margin: 3px 0;
}

.footer-meta span {
  color: var(--gold);
  margin-inline: 4px;
}

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

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

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
    padding-block: 90px 70px;
  }

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

  .hero-mark {
    min-height: 300px;
    width: min(530px, 100%);
    margin-left: auto;
  }

  .fit-grid,
  .community-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .fit-intro {
    position: static;
  }

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

  .process-grid li:nth-child(2) {
    border-right: 0;
  }

  .process-grid li:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .lock-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .lock-logo-wrap {
    padding: 32px 40px;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 37, 48, 0.12);
  }

  .lock-logo {
    width: min(430px, 100%);
  }

  .lock-content {
    padding: 34px 30px 38px;
  }

  .nav-row {
    min-height: 72px;
    gap: 18px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand img {
    width: min(250px, 100%);
  }

  .button-small {
    min-width: 74px;
    padding-inline: 12px;
    font-size: 0.76rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

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

  .trust-list {
    display: grid;
    gap: 12px;
  }

  .hero-mark {
    min-height: 250px;
  }

  .hero-stamp {
    margin-bottom: 20px;
  }

  .ribbon-grid {
    min-height: 58px;
  }

  .ribbon-grid span {
    padding-inline: 8px;
    font-size: 0.61rem;
    letter-spacing: 0.075em;
  }

  .section {
    padding-block: 80px;
  }

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

  .service-card {
    min-height: 245px;
    padding: 30px 28px;
  }

  .service-card::after {
    left: 28px;
  }

  .fit-panels {
    min-width: 0;
  }

  .fit-panel {
    padding: 30px 25px;
  }

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

  .process-grid li,
  .process-grid li:nth-child(2) {
    min-height: auto;
    padding: 28px 4px 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-grid li:last-child {
    border-bottom: 0;
  }

  .process-grid h3 {
    margin-top: 24px;
  }

  .community-card {
    grid-template-columns: 48px 1fr;
    gap: 17px;
    padding: 24px 20px;
  }

  .community-icon {
    width: 48px;
    height: 48px;
  }

  .contact-section {
    padding-block: 78px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-logo {
    width: min(360px, 100%);
  }

  .footer-meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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