/* style.css — Tidewrack Farm landing page */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ink: #14232b;
  --paper: #f7efe0;
  --gold: #ffd27a;
  --coral: #f06a8a;
  --teal: #7fd6c9;
  --deep: #101c2c;
  --sea: #1b4b57;
}
body.landing {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--paper);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(255,210,122,.18), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(127,214,201,.14), transparent 60%),
    linear-gradient(180deg, var(--deep), var(--sea) 60%, var(--deep));
  min-height: 100vh;
}
main { max-width: 1100px; margin: 0 auto; padding: 0 20px 40px; }

/* hero */
.hero { position: relative; border-radius: 24px; overflow: hidden;
  margin-top: 20px; border: 1px solid rgba(255,210,122,.25);
  background: #0b1622; min-height: clamp(420px, 62vh, 620px);
  display: flex; align-items: flex-end; }
#hero-preview { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-copy { position: relative; padding: clamp(20px, 5vw, 44px); max-width: 640px;
  background: linear-gradient(180deg, transparent, rgba(10,18,28,.82) 45%); width: 100%; }
.eyebrow { color: var(--teal); font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  font-size: 12px; margin-bottom: 10px; }
h1 { font-size: clamp(40px, 8vw, 76px); line-height: 1.02; letter-spacing: -1px;
  color: var(--gold); text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.tagline { font-size: clamp(15px, 2.4vw, 19px); line-height: 1.55; margin: 14px 0 22px;
  color: #e8dcc0; max-width: 34em; }
.btn { display: inline-block; background: linear-gradient(180deg, var(--gold), #f0a86b);
  color: var(--ink); border-radius: 999px; padding: 14px 36px; font-size: 18px; font-weight: 800;
  text-decoration: none; box-shadow: 0 8px 30px rgba(240,168,107,.4); }
.btn:active { transform: translateY(2px); }
.btn.ghost { background: rgba(247,239,224,.1); color: var(--paper); border: 1px solid rgba(247,239,224,.35);
  box-shadow: none; margin-left: 10px; }
.hero-copy .btn { margin-right: 6px; }

/* blocks */
.block { margin-top: 54px; }
h2 { font-size: clamp(22px, 4vw, 32px); color: var(--gold); margin-bottom: 18px; }
#features { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px; }
#features li { background: rgba(247,239,224,.06); border: 1px solid rgba(247,239,224,.14);
  border-left: 3px solid var(--teal); border-radius: 14px; padding: 16px 18px; font-size: 15px;
  line-height: 1.5; color: #dbe4e8; }
#features b { color: var(--paper); }

/* gallery */
#gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
#gallery figure { background: rgba(247,239,224,.06); border: 1px solid rgba(247,239,224,.14);
  border-radius: 16px; overflow: hidden; }
#gallery img { display: block; width: 100%; height: auto; }
#gallery figcaption { padding: 10px 14px; font-size: 13px; color: var(--teal); font-weight: 600; }

/* controls */
#controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ctrl { background: rgba(247,239,224,.06); border: 1px solid rgba(247,239,224,.14);
  border-radius: 16px; padding: 18px; }
.ctrl h3 { color: var(--gold); font-size: 16px; margin-bottom: 10px; }
.ctrl p, .ctrl li { font-size: 14.5px; line-height: 1.6; color: #dbe4e8; }
.ctrl ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
kbd { background: #22394a; border: 1px solid #3d5b6e; border-bottom-width: 2px; border-radius: 6px;
  padding: 1px 7px; font-size: 12px; }
b { color: var(--paper); }

footer { margin-top: 56px; padding: 30px 20px; text-align: center;
  border-top: 1px solid rgba(247,239,224,.12); }
footer p { color: #9fb0b8; font-size: 13.5px; margin-bottom: 18px; }

@media (max-width: 640px) {
  .hero { min-height: 520px; align-items: flex-end; }
  .hero-copy { background: linear-gradient(180deg, transparent, rgba(10,18,28,.9) 40%); }
  .btn.ghost { margin-left: 0; margin-top: 10px; }
  .block { margin-top: 40px; }
}
