/*
IndependentLife.ie Landing Page
Version: 0.1.3
Date: 2026-06-02
Change log: removed image backgrounds for clean HTML colour matching, cropped logo assets, tightened mobile header/hero spacing, and refined footer brand sizing.
Brand palette: Champagne Gold, Warm Cream, Soft Sage, Stone Taupe, Deep Charcoal
*/
:root {
  --gold: #C9B27A;
  --cream: #F7F4ED;
  --sage: #A7B89A;
  --taupe: #B7B1A3;
  --charcoal: #2C2C2C;
  --ink: #202020;
  --white: #fffdf8;
  --line: rgba(201, 178, 122, 0.38);
  --shadow: 0 18px 52px rgba(44, 44, 44, 0.08);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #fffdf8 0%, var(--cream) 72%, #eee8dc 100%);
  color: var(--charcoal);
  font-family: var(--sans);
  line-height: 1.62;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem clamp(1.2rem, 4vw, 4rem);
  min-height: 84px;
  background: rgba(247, 244, 237, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand img { width: min(174px, 38vw); height: auto; }
.nav { display: flex; gap: clamp(1rem, 3vw, 2rem); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
.nav a { text-decoration: none; }
.nav a:hover { color: #92733a; }

.hero {
  min-height: calc(92vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .72fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  padding: clamp(3.2rem, 6vw, 6rem) clamp(1.2rem, 5vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.eyebrow, .section-kicker {
  color: #98773c;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 600;
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.04; font-weight: 500; margin: 0; }
h1 { font-size: clamp(3.3rem, 7.4vw, 7rem); max-width: 900px; }
h2 { font-size: clamp(2.2rem, 4.2vw, 4.3rem); }
h3 { font-size: 1.55rem; }
.lead { font-size: clamp(1.02rem, 1.55vw, 1.25rem); max-width: 760px; color: #4f4a42; margin: 1.35rem 0 1.7rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(44,44,44,.12); }
.button.primary { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.button.secondary { background: rgba(255,255,255,.38); color: var(--charcoal); }

.hero-note {
  align-self: center;
  max-width: 560px;
  padding-left: clamp(1rem, 3vw, 2.25rem);
  border-left: 1px solid var(--line);
  color: #4f4a42;
}
.hero-note p:not(.ambient-kicker) {
  margin: 0;
  max-width: 440px;
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
}
.ambient-kicker {
  color: #98773c;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 700;
  margin: 0 0 .85rem;
}
.ambient-points {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.2rem;
}
.ambient-points span {
  border: 1px solid rgba(201,178,122,.45);
  border-radius: 999px;
  padding: .38rem .68rem;
  color: #5f5a50;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  background: rgba(255,253,248,.45);
}

.intro, .homes, .enquiry { padding: clamp(3rem, 5.8vw, 5.6rem) clamp(1.2rem, 5vw, 6rem); }
.intro > p:not(.section-kicker) { font-size: 1.08rem; max-width: 950px; color: #4f4a42; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .95rem; margin-top: 1.7rem; }
.value-grid article, .listing-card, .contact-form {
  background: rgba(255,253,248,.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(44,44,44,.055);
}
.value-grid article { padding: 1.25rem; }
.value-grid span { color: var(--gold); letter-spacing: .12em; font-weight: 700; }
.value-grid p { color: #5f5a50; margin-bottom: 0; }

.homes { background: rgba(255,255,255,.28); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 960px; margin-bottom: 1.7rem; }
.section-head p:last-child { color: #5f5a50; font-size: 1.02rem; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.listing-card { overflow: hidden; }
.listing-image {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(247,244,237,.92), rgba(183,177,163,.45));
}
.listing-image::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201,178,122,.28);
  border-radius: 14px;
}
.listing-image::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -38px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(167,184,154,.28);
}
.image-one { background: linear-gradient(135deg, rgba(167,184,154,.42), rgba(201,178,122,.22)); }
.image-two { background: linear-gradient(135deg, rgba(183,177,163,.38), rgba(247,244,237,.86)); }
.image-three { background: linear-gradient(135deg, rgba(201,178,122,.28), rgba(167,184,154,.24)); }
.listing-body { padding: 1.25rem; }
.tag { color: #98773c; text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 700; margin: 0 0 .45rem; }
.listing-body p { color: #5f5a50; }
.listing-body a { color: #7d602e; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.enquiry { display: grid; grid-template-columns: minmax(0, .82fr) minmax(300px, 1.18fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; border-top: 1px solid var(--line); }
.enquiry-copy .note { border-left: 3px solid var(--gold); padding-left: 1rem; color: #5f5a50; }
.contact-form { display: grid; gap: .85rem; padding: clamp(1.2rem, 3vw, 2rem); }
label { display: grid; gap: .32rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #655f54; font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(44,44,44,.16);
  border-radius: 12px;
  padding: .88rem 1rem;
  background: rgba(255,253,248,.88);
  color: var(--charcoal);
  font: 400 .98rem/1.4 var(--sans);
}
textarea { resize: vertical; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.form-small { font-size: .8rem; color: #6a645b; margin: 0; }

.site-footer {
  display: grid;
  grid-template-columns: .8fr 1.45fr .9fr;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1.2rem, 5vw, 6rem);
  background: #282828;
  color: var(--cream);
}
.footer-brand img { width: 178px; height: auto; filter: invert(1) sepia(.18) saturate(.5); opacity: .88; }
.footer-brand p, .footer-meta p, .footer-rules li { color: rgba(247,244,237,.78); }
.footer-rules h2 { font-size: 1.45rem; color: var(--gold); margin-bottom: .6rem; }
.footer-rules ul { margin: 0; padding-left: 1.1rem; }
.footer-meta a { color: var(--gold); }

@media (max-width: 980px) {
  .hero, .enquiry { grid-template-columns: 1fr; }
  .hero-note { border-left: 0; border-top: 1px solid var(--line); padding: 1.4rem 0 0; }
  .value-grid, .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .site-header { align-items: flex-start; gap: .8rem; flex-direction: column; position: relative; min-height: auto; }
  .brand img { width: 132px; }
  .nav { width: 100%; justify-content: space-between; font-size: .66rem; }
  .hero { min-height: auto; padding-top: 2rem; padding-bottom: 2.4rem; }
  h1 { font-size: clamp(2.65rem, 12vw, 3.95rem); }
  .value-grid, .listing-grid { grid-template-columns: 1fr; }
  .listing-image { height: 120px; }
  .intro, .homes, .enquiry { padding-top: 2.6rem; padding-bottom: 2.6rem; }
  .site-footer { padding-top: 2.2rem; padding-bottom: 2.4rem; gap: 1.35rem; }
  .footer-brand img { width: 160px; }
  .lead { font-size: 1rem; }
}

