/* ==========================================
   The Parkside Pup
   Mountain-lodge editorial aesthetic
   ========================================== */

:root {
  --cream: #f5ecd7;
  --cream-light: #faf4e4;
  --paper: #fefaef;
  --navy: #1f3a4e;
  --navy-dark: #142734;
  --navy-soft: #2d4a5f;
  --sage: #7d8b6a;
  --sage-dark: #5a6850;
  --sunset: #c97b5e;
  --sunset-dark: #b56b50;
  --ink: #1a2731;
  --ink-soft: #44525e;
  --muted: #7a8590;
  --rule: rgba(31, 58, 78, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sunset);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================
   Typography
   ========================================== */

.display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 50;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.script {
  font-family: 'Sacramento', cursive;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: 'Lora', serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage-dark);
  margin-bottom: 16px;
}

h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 .script {
  font-family: 'Sacramento', cursive;
  font-weight: 400;
  font-size: 0.7em;
  display: block;
  letter-spacing: 0;
  color: var(--sunset);
}

h1 .display {
  display: block;
}

h2.display {
  font-size: clamp(32px, 4.5vw, 56px);
  margin-bottom: 24px;
}

h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}

h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-dark);
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
}

.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 14px;
}

/* ==========================================
   Nav
   ========================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(245, 236, 215, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--rule);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.nav-brand img {
  height: 56px;
  width: auto;
  transition: height 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.nav.scrolled .nav-brand img {
  height: 44px;
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--navy);
}

.nav:not(.scrolled) .nav-links a {
  color: var(--cream);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-cta {
  background: var(--sunset);
  color: var(--cream-light) !important;
  padding: 10px 20px;
  border-radius: 100px;
  text-shadow: none !important;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--sunset-dark);
  color: var(--cream-light) !important;
  transform: translateY(-1px);
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Lora', serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--sunset);
  color: var(--cream-light);
}

.btn-primary:hover {
  background: var(--sunset-dark);
  color: var(--cream-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201, 123, 94, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cream);
  color: var(--cream);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ==========================================
   Hero
   ========================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 39, 52, 0.25) 0%,
    rgba(20, 39, 52, 0.15) 40%,
    rgba(20, 39, 52, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px 100px;
  color: var(--cream);
}

.hero-content .eyebrow {
  color: var(--cream);
  opacity: 0.85;
}

.hero-content h1 {
  color: var(--cream);
  margin-bottom: 24px;
}

.hero-content h1 .script {
  color: var(--cream-light);
  opacity: 0.95;
  margin-bottom: -10px;
}

.hero-content h1 .display {
  color: var(--cream);
}

.hero-sub {
  font-size: 20px;
  max-width: 580px;
  color: var(--cream);
  opacity: 0.95;
  margin-bottom: 36px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================
   Sections (general)
   ========================================== */

.section {
  padding: 120px 0;
  position: relative;
}

.section-head {
  margin-bottom: 64px;
  max-width: 700px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* ==========================================
   Welcome section
   ========================================== */

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

.welcome-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.welcome-text .lead {
  margin-bottom: 24px;
}

.quick-facts {
  list-style: none;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.quick-facts li {
  padding: 10px 0;
  font-size: 16px;
  color: var(--ink-soft);
  display: flex;
  gap: 12px;
}

.quick-facts span {
  display: inline-block;
  min-width: 110px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--sage-dark);
  padding-top: 4px;
}

.welcome-image {
  position: relative;
}

.welcome-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(20, 39, 52, 0.25);
}

/* ==========================================
   Property section
   ========================================== */

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

.feature-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
  padding: 48px 40px;
  background: var(--paper);
  border-radius: 4px;
  border: 1px solid var(--rule);
}

.stat {
  text-align: center;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--rule);
}

.stat-number {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 56px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-dark);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.property-card {
  background: var(--paper);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px -8px rgba(20, 39, 52, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(20, 39, 52, 0.2);
}

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

.property-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.property-card.large img {
  height: 520px;
}

.property-card figcaption {
  padding: 28px 32px 32px;
}

.property-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.property-card p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ==========================================
   Banner (sunset)
   ========================================== */

.banner {
  position: relative;
  height: 50vh;
  min-height: 400px;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* ==========================================
   Pricing
   ========================================== */

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

.pricing-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--cream-light);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 56px 56px 48px;
  box-shadow: 0 30px 60px -30px rgba(20, 39, 52, 0.2);
}

.pricing-rows {
  margin-bottom: 36px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px dashed var(--rule);
  gap: 24px;
}

.price-row:last-child {
  border-bottom: none;
}

.price-info h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.price-info p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.price-amount {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.pricing-discounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.discount {
  display: flex;
  gap: 12px;
  align-items: center;
}

.discount-tag {
  display: inline-block;
  background: var(--sage);
  color: var(--cream-light);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.discount p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.pricing-notes {
  text-align: center;
}

.pricing-notes p {
  margin: 4px 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.pricing-notes p.muted {
  margin-top: 12px;
  font-size: 13px;
  font-style: italic;
}

/* ==========================================
   Gallery
   ========================================== */

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

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 20px -8px rgba(20, 39, 52, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

/* ==========================================
   Owner
   ========================================== */

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

.owner-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.owner-image img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(20, 39, 52, 0.25);
}

.owner-text h2 .script {
  font-size: 1.4em;
  color: var(--sunset);
  display: inline-block;
  line-height: 0.9;
}

/* ==========================================
   Contact
   ========================================== */

.section-contact {
  background: var(--navy);
  color: var(--cream);
}

.section-contact .eyebrow {
  color: var(--sage);
}

.section-contact .display {
  color: var(--cream);
}

.section-contact .lead {
  color: rgba(245, 236, 215, 0.85);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(245, 236, 215, 0.15);
}

.contact-block h4 {
  color: var(--sage);
  margin-bottom: 8px;
}

.contact-block p {
  color: rgba(245, 236, 215, 0.85);
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.contact-block a {
  color: var(--cream-light);
  border-bottom: 1px solid rgba(245, 236, 215, 0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-block a:hover {
  color: var(--sunset);
  border-bottom-color: var(--sunset);
}

.inquiry-form {
  background: var(--cream-light);
  padding: 40px;
  border-radius: 6px;
  color: var(--ink);
}

.inquiry-form h3 {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--navy);
}

.form-row,
.form-grid {
  margin-bottom: 18px;
}

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

.inquiry-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage-dark);
  margin-bottom: 6px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font-family: 'Lora', serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  text-transform: none;
  letter-spacing: 0;
  transition: border-color 0.2s ease;
}

.inquiry-form textarea {
  resize: vertical;
  min-height: 100px;
  font-family: 'Lora', serif;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--sunset);
}

.inquiry-form .btn {
  margin-top: 8px;
}

.form-note {
  text-align: center;
  margin-top: 12px;
  margin-bottom: 0;
}

/* ==========================================
   Footer
   ========================================== */

.footer {
  background: var(--navy-dark);
  color: rgba(245, 236, 215, 0.7);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.footer-brand img {
  height: 100px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1) opacity(0.95);
}

.footer-brand .script {
  font-size: 28px;
  color: var(--sage);
}

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

.footer-meta p {
  margin: 4px 0;
  font-size: 15px;
}

.footer-meta a {
  color: rgba(245, 236, 215, 0.85);
  border-bottom: 1px solid rgba(245, 236, 215, 0.2);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-meta a:hover {
  color: var(--sunset);
  border-bottom-color: var(--sunset);
}

.footer-meta .small {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(245, 236, 215, 0.4);
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 900px) {
  .nav-links {
    gap: 18px;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .welcome-grid,
  .owner-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .welcome-image img,
  .owner-image img {
    height: 420px;
  }
  .feature-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 36px 24px;
  }
  .stat:nth-child(2)::after {
    display: none;
  }
  .property-grid {
    grid-template-columns: 1fr;
  }
  .property-card img {
    height: 280px;
  }
  .property-card.large img {
    height: 320px;
  }
  .pricing-card {
    padding: 36px 28px;
  }
  .pricing-discounts {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-wide {
    grid-column: span 2;
  }
  .gallery-tall {
    grid-row: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .footer-meta {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .container,
  .nav-inner {
    padding: 0 20px;
  }
  .section {
    padding: 80px 0;
  }
  .hero-content {
    padding-bottom: 60px;
  }
  .hero-sub {
    font-size: 17px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .inquiry-form {
    padding: 28px 20px;
  }
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery-wide {
    grid-column: span 1;
  }
  .feature-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 28px 16px;
  }
  .stat-number {
    font-size: 42px;
  }
  .stat:nth-child(2)::after,
  .stat:nth-child(odd)::after {
    display: none;
  }
}
