:root {
  --navy: #0B1F3A;
  --navy-soft: #1b3154;
  --sand: #C89A4B;
  --sand-soft: #E2C589;
  --ivory: #F8F3EA;
  --ink: #1F2933;
  --muted: #6B7280;
  --border: #E5E7EB;
  --card-bg: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #FDF8F0 0, #F5EFE5 40%, #F3F0EA 100%);
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin: 0 0 0.4em;
  color: var(--navy);
}

h1 {
  font-size: 2.6rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 0.9em;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout shell */
.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
  z-index: 999;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: rgba(248, 243, 234, 0.92);
  border-bottom: 1px solid rgba(209, 213, 219, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: #f5e9d7;
  box-shadow: 0 10px 28px rgba(148, 118, 72, 0.4);
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: var(--navy);
}

.brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  color: var(--navy-soft);
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--sand);
  transition: width 0.18s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  padding: 6px 10px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  align-items: stretch;
  min-height: 70vh;
}

.hero-media {
  position: relative;
  min-height: 260px;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  border-bottom-right-radius: 56px;
  filter: saturate(1.02) contrast(1.03);
}

.hero-overlay-chip {
  position: absolute;
  left: 10%;
  bottom: 10%;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(248, 243, 234, 0.92);
  color: var(--navy-soft);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.45);
}

.hero-copy {
  display: flex;
  align-items: center;
}

.hero-card {
  margin: 40px auto 56px;
  padding: 26px 26px 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(251, 246, 235, 0.98));
  box-shadow: var(--shadow-soft);
  max-width: 640px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.hero-card h1 {
  font-size: 2.4rem;
  line-height: 1.15;
}

.hero-lead {
  font-size: 1.02rem;
  color: #4B5563;
  margin-top: 0.6rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}

.btn-primary {
  background: var(--navy-soft);
  color: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.45);
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(15, 23, 42, 0.12);
  color: var(--navy-soft);
}

.btn-ghost:hover {
  border-color: var(--navy-soft);
  background: rgba(255, 255, 255, 0.7);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 1.8rem;
  font-size: 0.8rem;
}

.meta-label {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.meta-text {
  color: #4B5563;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 40px;
}

.section-copy p {
  max-width: 620px;
}

.section-copy ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}

.section-aside {
  align-self: flex-start;
}

.card {
  background: var(--card-bg);
  border-radius: 22px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  padding: 20px 22px;
}

/* Checklists */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  font-size: 0.96rem;
}

.checklist li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.7rem;
  color: var(--sand);
}

/* Bullet columns */
.bullet-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0.6rem 0;
  gap: 4px 10px;
  font-size: 0.9rem;
}

.bullet-columns li::before {
  content: "– ";
}

/* Residences */
.section-residences {
  position: relative;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 26px;
}

.section-heading.heading-inline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}

.heading-note {
  max-width: 360px;
  font-size: 0.9rem;
  color: var(--muted);
}

.residence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: start;
}

.res-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.res-card-highlight {
  grid-column: 1 / -1;
}

.res-photo {
  height: 350px;
  border-radius: 18px;
  margin-bottom: 14px;
  background-size: cover;
  background-position: center;
}

.res-photo-1 {
  background-image: url("assets/olympia.jpg");
  background-position: center top; 
}


.res-photo-2 {
  background-image: url("assets/aberdeen.jpg");
}

.res-body h3 {
  margin-bottom: 0.2rem;
}

.res-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.res-body ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}

/* Beds */
.section-beds {
  padding: 68px 0;
}

.section-heading.heading-inline {
  align-items: flex-end;
}

.airtable-wrapper {
  margin-top: 22px;
  padding: 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fdf8f0, #f2ebe1);
}

.airtable-wrapper iframe {
  display: block;
}

/* Intake form */
.section-intake .intake-card {
  margin-top: 18px;
}

.intake-form {
  display: block;
}

.intake-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin-bottom: 16px;
}

.intake-form .field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}

.intake-form label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.intake-form input,
.intake-form textarea {
  border-radius: 12px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  background: #fff;
}

.intake-form input:focus,
.intake-form textarea:focus {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 1px rgba(11, 31, 58, 0.2);
}

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

/* Steps */
.section-steps {
  background: rgba(255, 255, 255, 0.7);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.step {
  position: relative;
  padding-top: 30px;
}

.step-number {
  position: absolute;
  top: 14px;
  left: 22px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--sand-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--sand);
  background: #fff8ea;
}

/* Contact */
.section-contact {
  padding-bottom: 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 30px;
  margin-top: 28px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 1.2rem;
}

.contact-list a {
  font-weight: 500;
}

.muted {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.big-email a {
  font-size: 1.02rem;
  font-weight: 600;
}

/* Utilities */
.small-note {
  font-size: 0.83rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(209, 213, 219, 0.8);
  background: rgba(248, 243, 234, 0.95);
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  font-size: 0.86rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  color: var(--muted);
}

.footer-meta a {
  color: var(--navy-soft);
}

.divider {
  opacity: 0.5;
}

.footer-bottom {
  padding: 6px 22px 14px;
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-bottom span {
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .hero-card {
    margin-top: 16px;
  }

  .section-inner {
    grid-template-columns: 1fr;
  }

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

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

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

  .section {
    padding: 48px 0;
  }
}

@media (max-width: 780px) {
  .site-nav {
    position: absolute;
    right: 18px;
    top: 58px;
    flex-direction: column;
    background: #fff;
    padding: 10px 14px;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-card {
    padding: 20px 18px 24px;
  }

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

  .intake-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 780px) {
  .res-photo-2 {
    background-position: 30% center;
  }
}


/* Live validation error styling */
.intake-form input.invalid,
.intake-form textarea.invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.35);
}
