/* ==========================================================================
   LINDFIELD KITCHENS AND BATHROOMS
   Limestone, deep olive and a brass accent under a serif display face: video
   hero with the wordmark, about split, six priced room cards, five promises,
   a seven stage timeline, contact.
   ========================================================================== */

:root {
  --background: #F4F0EA;
  --card: #FFFFFF;
  --foreground: #1F1B17;
  --primary-cta: #3D4A3A;
  --primary-cta-text: #FFFFFF;
  --secondary-cta: #E9E3D8;
  --secondary-cta-text: #1F1B17;
  --accent: #8A6A38;
  --background-accent: #D9CDB8;
  --radius: 1.25rem;
  --content-width: 87.5vw;
  --section-head-size: var(--text-6xl);
  /* The hero is a full bleed video with its own dark scrim, so nav type stays
     light over it and flips to the ink colour once the page scrolls past. */
  --nav-ink: #F4F0EA;
  --nav-ink-scrolled: #1F1B17;
  --font-body: 'Supreme', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Boska', 'Supreme', Georgia, serif;
}

@media (width >= 1536px) { :root { --section-head-size: var(--text-7xl); } }


.card {
  background: linear-gradient(to bottom right,
    color-mix(in srgb, var(--card) 45%, transparent),
    color-mix(in srgb, var(--card) 22%, transparent));
  border-color: color-mix(in srgb, var(--foreground) 12%, transparent);
}

.navbar__brand { font-size: var(--text-3xl); letter-spacing: 0.18em; font-weight: 400; }

/* --- Hero ---------------------------------------------------------------- */

.hero { position: relative; height: 100svh; min-height: 40rem; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 5rem; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,23,18,0.9), rgba(28,23,18,0.64) 55%, rgba(28,23,18,0.78)); }
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
.hero__title { font-size: var(--text-9xl); letter-spacing: 0.08em; font-weight: 500; line-height: 1; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

@media (width <= 768px) { .hero { margin-bottom: 3rem; } .hero__title { font-size: var(--text-8xl); } }

/* --- About --------------------------------------------------------------- */

.about-split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; align-items: stretch; }
.about-split__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 3rem; border-radius: var(--radius); }
.about-split__copy h2 { font-size: var(--text-5xl); line-height: 1.15; }
.about-split__copy p { font-size: var(--text-lg); line-height: 1.6; opacity: 0.85; }
.about-split__est { margin-top: auto; font-size: var(--text-lg); letter-spacing: 0.2em; color: var(--accent); }
.about-split__media { border-radius: var(--radius); overflow: hidden; }
.about-split__media img { width: 100%; height: 100%; min-height: 22rem; object-fit: cover; }

@media (width <= 900px) { .about-split { grid-template-columns: minmax(0,1fr); } .about-split__copy { padding: 2rem; } }

/* --- Rooms ---------------------------------------------------------------- */

.room-card { position: relative; padding: 0.75rem; border-radius: var(--radius); }
.room-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) - 0.25rem); }
.room-card__flag { position: absolute; top: 1.35rem; left: 1.35rem; z-index: 2; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--accent); color: #1a1a1a; font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; }
.room-card__body { padding: 1.15rem 0.6rem 0.5rem; }
.room-card__body h3 { font-size: var(--text-3xl); margin-bottom: 0.3rem; }
.room-card__tags { font-size: var(--text-base); opacity: 0.7; margin-bottom: 0.85rem; }
.room-card__specs { display: flex; gap: 1.25rem; font-size: var(--text-base); opacity: 0.8; }
.room-card__specs span b { font-weight: 600; }

/* --- Amenities ------------------------------------------------------------ */

.amenity { position: relative; min-height: 20rem; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; border-radius: var(--radius); overflow: hidden; }
.amenity img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease-out; }
.amenity:hover img { transform: scale(1.05); }
.amenity::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,20,10,0.95) 0%, rgba(12,20,10,0.78) 42%, rgba(12,20,10,0.18) 82%); }
/* The photo is a direct child too, so the bare > * rule lifted it above its
   own scrim and left the caption on an unshaded image. Photo, scrim and
   copy each get their own layer. */
.amenity > img { z-index: 0; }
.amenity::after { z-index: 1; }
.amenity > *:not(img) { position: relative; z-index: 2; }
.amenity h3 { font-size: var(--text-2xl); margin-bottom: 0.25rem; }
.amenity p { font-size: var(--text-base); opacity: 0.95; line-height: 1.4; }

/* --- Journeys ------------------------------------------------------------- */

.journeys { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.journey-tile { position: relative; min-height: 22rem; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.75rem; border-radius: var(--radius); overflow: hidden; }
.journey-tile--tall { grid-row: span 2; min-height: 45rem; }
.journey-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease-out; }
.journey-tile:hover img { transform: scale(1.05); }
.journey-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,20,10,0.95) 0%, rgba(12,20,10,0.8) 46%, rgba(12,20,10,0.2) 84%); }
/* The photo is a direct child too, so the bare > * rule lifted it above its
   own scrim and left the caption on an unshaded image. Photo, scrim and
   copy each get their own layer. */
.journey-tile > img { z-index: 0; }
.journey-tile::after { z-index: 1; }
.journey-tile > *:not(img) { position: relative; z-index: 2; }
.journey-tile h3 { font-size: var(--text-3xl); margin-bottom: 0.4rem; }
.journey-tile p { font-size: var(--text-lg); line-height: 1.45; opacity: 0.95; }

@media (width <= 900px) {
  .journeys { grid-template-columns: minmax(0,1fr); }
  .journey-tile--tall { grid-row: auto; min-height: 22rem; }
}

/* --- Contact --------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; align-items: stretch; }
.contact-panel { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 2.5rem; border-radius: var(--radius); text-align: center; }
.contact-panel h2 { font-size: var(--text-5xl); line-height: 1.15; }
.contact-panel > p { max-width: 38ch; font-size: var(--text-lg); line-height: 1.5; margin-bottom: 0.75rem; opacity: 0.85; }
.contact-grid__media { border-radius: var(--radius); overflow: hidden; }
.contact-grid__media img { width: 100%; height: 100%; min-height: 22rem; object-fit: cover; }

@media (width <= 900px) { .contact-grid { grid-template-columns: minmax(0,1fr); } .contact-panel { padding: 1.5rem; } }

/* --- Footer -------------------------------------------------------------------- */

/* The footer keeps the template's dark slab, so it needs its own light ink
   rather than the page foreground, which is now nearly black. */
.site-footer { border-radius: var(--radius) var(--radius) 0 0; background: #17200F; color: #F1EFE4; padding-block: 4rem; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.footer-brand { font-size: var(--text-5xl); font-weight: 700; letter-spacing: -0.02em; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(9rem, auto)); gap: 2.5rem; }
.footer-nav h3 { font-size: var(--text-base); font-weight: 500; opacity: 0.55; margin-bottom: 1rem; }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { font-size: var(--text-lg); transition: color 0.2s, opacity 0.2s; }
.footer-nav a:hover { color: var(--accent); }

.footer-legal-bar {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--foreground) 12%, transparent);
  font-size: var(--text-base); opacity: 0.6;
}
.footer-legal-bar div { display: flex; gap: 1.25rem; }

@media (width <= 768px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}


/* --- Light palette corrections ---------------------------------------------
   The template was built dark, so anything sitting on a photo scrim inherited
   a light foreground for free. On a bone ground that same rule puts near-black
   type over a dark gradient, so these four surfaces carry their own ink. */

.hero__inner, .hero__title { color: #F6F4EC; }

.amenity h3, .amenity p,
.journey-tile h3, .journey-tile p { color: #F6F4EC; }

/* The flag pill sits on the accent gold, which needs dark type to stay legible. */
.room-card__flag { color: #1B2419; }

.section-head h2,
.grad-head { background: none; color: var(--foreground); }
