/* ==========================================================
   style.css = the LOOK of the page (colours, fonts, spacing).
   index.html = the CONTENT. Together they make the page.

   How CSS works, in one line:  what-to-style { property: value; }
   Example:  h1 { color: red; }  turns every <h1> red.

   Want a different colour mood? Change the values in the
   ":root" block right below. Everything else follows.
   ========================================================== */

:root {
  --green-900: #16291f;   /* deepest green: header, footer */
  --green-700: #234736;   /* main brand green */
  --cream:     #f6f0e4;   /* page background */
  --sand:      #ebe2cf;   /* slightly darker cream for contrast blocks */
  --copper:    #b36a3c;   /* accent: buttons, small labels */
  --copper-d:  #94532a;   /* accent when hovered */
  --ink:       #1d1b18;   /* body text */
  --muted:     #4a453c;   /* quieter text */

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", system-ui, sans-serif;

  --max: 1180px;          /* widest the content gets */
  --pad: clamp(1.25rem, 5vw, 4rem);
}

/* ---------- basics ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2.8rem, 7.5vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); color: var(--green-700); }
h3 { font-size: 1.7rem; }
em { font-style: italic; }
p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.1rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: .95rem 2rem;
  background: var(--copper);
  color: #fff;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid var(--copper);
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover, .btn:focus-visible { background: var(--copper-d); border-color: var(--copper-d); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: #fff; color: var(--green-900); border-color: #fff; }
.btn-small { padding: .6rem 1.2rem; }

.text-link {
  font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--copper);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.text-link:hover { border-bottom-color: var(--copper); }

/* ---------- top menu ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  color: #fff;
  transition: background .35s, padding .35s, box-shadow .35s;
}
.site-header.scrolled { background: rgba(22, 41, 31, .94); backdrop-filter: blur(8px); padding-block: .7rem; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.brand { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; text-decoration: none; letter-spacing: .02em; }
.site-header nav { display: flex; align-items: center; gap: 2rem; }
.site-header nav a { text-decoration: none; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; }
.site-header nav a:not(.btn):hover { opacity: .7; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {  /* the dark fade that keeps the words readable */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,14,.5) 0%, rgba(10,20,14,.1) 38%, rgba(10,20,14,.82) 100%);
}
.hero-text { position: relative; z-index: 1; width: min(var(--max), 100%); margin: 0 auto; padding: 0 var(--pad) clamp(4.5rem, 11vh, 8rem); }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .eyebrow { color: #f0d9bd; font-size: .85rem; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.lead { max-width: 34rem; font-size: 1.2rem; font-weight: 400; color: #fff; text-shadow: 0 1px 16px rgba(0,0,0,.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }
.scroll-cue { position: absolute; z-index: 1; left: 50%; bottom: 1.5rem; width: 1px; height: 3.2rem; background: rgba(255,255,255,.35); overflow: hidden; }
.scroll-cue span { display: block; width: 100%; height: 40%; background: #fff; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* ---------- sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad); }
.section-head { width: min(var(--max), 100%); margin: 0 auto 3rem; }

/* welcome */
.welcome { width: min(var(--max), 100%); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.welcome-photo { margin: 0; }
.welcome-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* experience cards */
.experiences { background: var(--sand); }
.cards { width: min(var(--max), 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.card { background: var(--cream); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.card { overflow: hidden; }
.card:hover img { transform: scale(1.04); }
.card-body { padding: 1.8rem 1.8rem 2.1rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { color: var(--green-700); }
.card-body p { color: var(--muted); flex: 1; }

/* quote band */
.band { position: relative; padding: 0; min-height: 62vh; display: grid; place-items: center; color: #fff; text-align: center; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(14, 28, 20, .58); }
.band blockquote { position: relative; z-index: 1; margin: 0; padding: 4rem var(--pad); max-width: 52rem; }
.band blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.2; }
.band cite { font-style: normal; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; opacity: .75; }

/* the day */
.steps { list-style: none; margin: 0 auto; padding: 0; width: min(var(--max), 100%); display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; counter-reset: s; }
.steps li { border-top: 1px solid rgba(35,71,54,.3); padding-top: 1.4rem; }
.step-no { font-family: var(--serif); font-style: italic; font-size: 1.8rem; color: var(--copper-d); }
.steps h3 { margin-top: .4rem; color: var(--green-700); }
.steps p { color: var(--muted); }

/* reserve */
.reserve { background: var(--green-700); color: #fff; text-align: center; }
.reserve h2 { color: #fff; }
.reserve .eyebrow { color: #e7c9a6; }
.reserve-inner { max-width: 40rem; margin: 0 auto; }
.reserve p { color: rgba(255,255,255,.85); }

/* footer */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.75); text-align: center; padding: 3.5rem var(--pad); }
.site-footer .brand { color: #fff; display: block; margin-bottom: .6rem; }
.small { font-size: .85rem; margin: 0 0 .25rem; }

/* ---------- gentle fade-in (script.js adds .in) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .12s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .24s; }
.steps .reveal:nth-child(4) { transition-delay: .36s; }

/* ---------- phones and small screens ---------- */
@media (max-width: 900px) {
  .welcome { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .site-header nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* people who prefer less motion get none */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span, .card img { animation: none; transition: none; }
}
