/* ============================================================
   INDIAN SUMMER HOUSE — brand stylesheet
   Palette drawn from the estate itself: palm green, clay tile,
   cream plaster, brass, backwater teal — modernised.
   ============================================================ */

:root {
  --ivory:      #FBF8F1;
  --sand:       #F4EEE1;
  --stone:      #E6DDCB;
  --clay:       #A85B36;
  --clay-deep:  #8C4728;
  --brass:      #AE8C42;
  --palm:       #2F4A39;
  --palm-deep:  #1F3529;
  --ink:        #23281F;
  --muted:      #73705F;
  --line:       rgba(35, 40, 31, .14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", sans-serif;
  --script:"Great Vibes", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--clay);
}
.eyebrow--light { color: #D8C6A2; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; }

.display {
  font-size: clamp(42px, 6.5vw, 84px);
  letter-spacing: .01em;
}
.display em, h2 em { font-style: italic; font-weight: 300; }

.h2 { font-size: clamp(32px, 4vw, 52px); }
.h3 { font-size: clamp(24px, 2.6vw, 32px); }

.lede {
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 23px);
  font-style: italic;
  color: var(--muted);
}

.script-accent {
  font-family: var(--script);
  color: var(--brass);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
}

/* ---------- layout ---------- */
.wrap  { max-width: 1280px; margin: 0 auto; padding: 0 6vw; }
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section--sand { background: var(--sand); }
.section--palm { background: var(--palm-deep); color: var(--ivory); }
.center { text-align: center; }

.divider {
  width: 46px; height: 46px; margin: 26px auto;
  color: var(--brass);
}

/* ---------- announcement ---------- */
.announce {
  background: var(--palm-deep);
  color: #E9E2CF;
  text-align: center;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.announce a { text-decoration: underline; text-underline-offset: 3px; color: #D8C6A2; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 241, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.site-head .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px 4vw;
}
.logo { text-align: center; line-height: 1; }
.logo .logo-script {
  display: block;
  font-family: var(--script);
  font-size: 34px;
  color: var(--palm-deep);
}
.logo .logo-script .cap { color: var(--clay); }
.logo .logo-sub {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--brass);
}

.nav { display: flex; gap: clamp(16px, 2.6vw, 38px); align-items: center; }
.nav a {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, color .25s;
}
.nav a:hover { border-bottom-color: var(--brass); }
.nav a.active { border-bottom-color: var(--clay); color: var(--clay); }
.nav a.btn.active { color: var(--ivory); }
.nav a.btn.active:hover { color: var(--clay); }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 15px 34px;
  background: var(--palm-deep);
  color: var(--ivory);
  border: 1px solid var(--palm-deep);
  transition: background .3s, color .3s;
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--palm-deep); }
.btn--light { background: transparent; border-color: rgba(251,248,241,.65); color: var(--ivory); }
.btn--light:hover { background: var(--ivory); color: var(--palm-deep); }
.btn--clay { background: var(--clay); border-color: var(--clay); }
.btn--clay:hover { background: transparent; color: var(--clay); }
.btn--nav { padding: 11px 22px; }

.text-link {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 4px;
}
.text-link:hover { color: var(--clay); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 920px);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--ivory);
  isolation: isolate;
  overflow: hidden;
}
.hero img.bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,28,20,.42) 0%, rgba(20,28,20,.18) 45%, rgba(20,28,20,.55) 100%);
}
.hero .inner { padding: 120px 6vw; max-width: 900px; }
.hero .display { text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .script-hero {
  font-family: var(--script);
  font-size: clamp(54px, 9vw, 120px);
  line-height: 1.1;
  color: #F5EBD3;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero .sub {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 24px);
  font-style: italic;
  color: rgba(251,248,241,.92);
}
.hero .actions { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero--page { min-height: clamp(420px, 62vh, 640px); }

/* ---------- value props ---------- */
.props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(32px, 5vw, 72px);
}
.prop { text-align: center; }
.prop .num {
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--brass); letter-spacing: .1em;
}
.prop h3 { margin: 10px 0 12px; font-size: 26px; }
.prop p { color: var(--muted); font-size: 15px; }

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
}
.card { position: relative; overflow: hidden; }
.card .ph { overflow: hidden; aspect-ratio: 4 / 5; }
.card .ph.wide { aspect-ratio: 3 / 2; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.card:hover img { transform: scale(1.05); }
.card .meta { padding: 20px 4px 0; }
.card .meta .eyebrow { font-size: 10px; }
.card .meta h3 { font-size: 26px; margin: 6px 0 8px; }
.card .meta p { color: var(--muted); font-size: 15px; max-width: 46ch; }

/* ---------- alternating feature rows ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(64px, 8vw, 110px); }
.feature .ph { overflow: hidden; }
.feature .ph img { transition: transform 1.2s cubic-bezier(.2,.6,.2,1); width: 100%; }
.feature .ph:hover img { transform: scale(1.04); }
.feature.flip .ph { order: 2; }
.feature .body h2, .feature .body h3 { margin: 10px 0 18px; }
.feature .body p { color: var(--muted); max-width: 54ch; }
.feature .body p + p { margin-top: 14px; }
.feature .body .text-link { display: inline-block; margin-top: 26px; }
.feature ul.details {
  list-style: none; margin: 22px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px;
}
.feature ul.details li {
  font-size: 13px; letter-spacing: .06em; color: var(--ink);
  padding-left: 18px; position: relative;
}
.feature ul.details li::before {
  content: "◆"; position: absolute; left: 0; top: 0;
  font-size: 8px; line-height: 2.6; color: var(--brass);
}
.thumb-row { display: flex; gap: 12px; margin-top: 14px; }
.thumb-row .t { flex: 1; overflow: hidden; aspect-ratio: 4/3; }
.thumb-row img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- full-bleed banner ---------- */
.banner {
  position: relative; isolation: isolate;
  min-height: 480px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--ivory);
  background-attachment: fixed;
  background-size: cover; background-position: center;
}
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(24,32,24,.5); }
.banner .inner { position: relative; z-index: 1; padding: 90px 6vw; max-width: 760px; }
.banner h2 { margin: 12px 0 18px; }
.banner p { color: rgba(251,248,241,.88); font-family: var(--serif); font-style: italic; font-size: 19px; }
.banner .btn { margin-top: 30px; }

/* ---------- quote ---------- */
.quote {
  max-width: 780px; margin: 0 auto; text-align: center;
}
.quote blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.4;
}
.quote cite {
  display: block; margin-top: 22px;
  font-family: var(--sans); font-style: normal;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}

/* ---------- forms ---------- */
.form-shell {
  max-width: 860px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(32px, 5vw, 64px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.form-grid .full { grid-column: 1 / -1; }
label.f {
  display: block;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
label.f span.req { color: var(--clay); }
label.f input, label.f select, label.f textarea {
  display: block; width: 100%;
  margin-top: 8px;
  font-family: var(--sans); font-weight: 300; font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none; border-bottom: 1px solid rgba(35,40,31,.3);
  padding: 8px 2px 10px;
  border-radius: 0;
  transition: border-color .25s;
}
label.f textarea { resize: vertical; min-height: 96px; }
label.f input:focus, label.f select:focus, label.f textarea:focus {
  outline: none; border-bottom-color: var(--clay);
}
.check-group { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 12px; }
.check-group label {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--ink); cursor: pointer;
}
.check-group input { accent-color: var(--clay); width: 15px; height: 15px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-success {
  display: none;
  background: var(--sand); border: 1px solid var(--brass);
  padding: 18px 22px; font-size: 15px; margin-top: 22px;
}

/* ---------- footer ---------- */
.site-foot {
  background: var(--palm-deep);
  color: #CDC9B4;
  padding: clamp(56px, 7vw, 90px) 0 36px;
  font-size: 14px;
}
.site-foot .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 4vw, 64px);
}
.site-foot .logo-script { font-family: var(--script); font-size: 40px; color: #F0E8D2; }
.site-foot .logo-sub { display:block; margin-top: 6px; font-size: 9px; letter-spacing: .42em; text-transform: uppercase; color: var(--brass); }
.site-foot h4 {
  font-family: var(--sans); font-weight: 400;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: #8FA08D; margin-bottom: 18px;
}
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 10px; }
.site-foot a:hover { color: #fff; }
.site-foot .fine {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(240,232,210,.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; letter-spacing: .08em; color: #8FA08D;
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .site-head { position: static; }
  .site-head .bar { flex-wrap: wrap; justify-content: center; }
  .nav { flex-wrap: wrap; justify-content: center; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .ph { order: 0; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .banner { background-attachment: scroll; }
}
