/*
 * Stylesheet for the Vines by Serenity opening-soon microsite.
 */

:root {
  --bg: #F4F7F1;
  --surface: #FFFDF8;
  --surface-soft: #E4EEDB;
  --text: #25332D;
  --muted: #61705E;
  --gold: #B78A41;
  --gold-dark: #8A632F;
  --pine: #274B36;
  --ridge: #6F8158;
  --sky: #EEF5EA;
  --line: rgba(37, 51, 45, .14);
  --shadow: 0 20px 54px rgba(37, 51, 45, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.05;
  color: var(--text);
}

p {
  margin-top: 0;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  margin: 0 0 .85rem;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-secondary {
  background: rgba(255, 253, 248, .74);
  border-color: rgba(138, 100, 47, .35);
  color: var(--text);
}

.btn-secondary:hover {
  background: #fff;
  border-color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header .container {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .25rem;
  flex-wrap: wrap;
}

.site-nav a {
  padding: .55rem .65rem;
  color: var(--text);
  text-decoration: none;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease;
}

.site-nav a:hover {
  color: var(--pine);
  background: rgba(108, 128, 94, .1);
}

.opening-home {
  overflow: hidden;
}

.hero {
  position: relative;
  padding: 5rem 0 4.4rem;
  background-color: var(--bg);
  background-image:
    linear-gradient(115deg, rgba(244, 247, 241, .98) 0%, rgba(255, 253, 248, .95) 48%, rgba(238, 245, 234, .9) 100%),
    url('../img/VinesbySerenity_logo.avif');
  background-repeat: no-repeat;
  background-size: cover, 520px auto;
  background-position: center, right 8% center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(244, 247, 241, 0), var(--bg));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 430px);
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  max-width: 700px;
}

.hero h1 {
  font-size: 5.2rem;
  color: var(--text);
}

.hero-lede {
  max-width: 640px;
  margin: 1.1rem 0 0;
  color: #445653;
  font-size: 1.18rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.brand-panel {
  border: 1px solid rgba(185, 138, 66, .24);
  border-radius: 8px;
  background: rgba(255, 253, 248, .86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-art {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #FFF8EA 0%, #FFFFFF 52%, #DCEBDD 100%);
}

.brand-art img {
  width: min(320px, 88%);
  filter: drop-shadow(0 14px 20px rgba(35, 50, 54, .1));
}

.brand-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.brand-details span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem .55rem;
  color: var(--gold-dark);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

.brand-details span + span {
  border-left: 1px solid var(--line);
}

.intro {
  padding: 4.8rem 0 3.6rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 3.25rem;
  align-items: start;
}

.intro h2,
.contact h2 {
  font-size: 3rem;
}

.intro-copy {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.intro-copy p,
.contact-intro p,
.opening-inner p {
  color: #4F5E5A;
  font-size: 1.04rem;
  line-height: 1.85;
}

.intro-copy p + p {
  margin-top: 1rem;
}

.highlights {
  padding: 0 0 4.6rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.highlight-item {
  min-height: 100%;
  padding: 1.4rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(35, 50, 54, .08);
}

.highlight-item i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  border: 1px solid rgba(185, 138, 66, .28);
  border-radius: 50%;
  color: var(--gold);
}

.highlight-item h3 {
  margin-bottom: .55rem;
  font-size: 1.45rem;
}

.highlight-item p {
  margin: 0;
  color: var(--muted);
}

.opening-note {
  padding: 3.3rem 0;
  background: var(--pine);
  color: #fff;
}

.opening-inner {
  max-width: 760px;
  text-align: center;
}

.opening-inner h2 {
  margin-bottom: .8rem;
  color: #fff;
  font-size: 3rem;
}

.opening-inner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .78);
}

.contact {
  padding: 5rem 0;
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-intro p {
  max-width: 480px;
  margin: 1rem 0 0;
}

.contact-form {
  display: grid;
  gap: .9rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: 0 14px 40px rgba(35, 50, 54, .09);
}

.contact-form label {
  display: grid;
  gap: .35rem;
}

.contact-form label span {
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(35, 50, 54, .18);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  padding: .82rem .9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 138, 66, .16);
}

.contact-form textarea {
  min-height: 136px;
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form .btn {
  width: 100%;
}

.form-response {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.form-response.success {
  color: var(--pine);
}

.form-response.error {
  color: #8B2E24;
}

.site-footer {
  padding: 1.7rem 0;
  background: #172A25;
  color: rgba(255, 255, 255, .72);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
  font-size: .9rem;
}

.footer-brand {
  margin-bottom: .2rem !important;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem !important;
  font-weight: 600;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .hero {
    background-size: cover, 400px auto;
    background-position: center, right -90px center;
  }

  .hero-grid,
  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .brand-panel {
    max-width: 520px;
  }

  .intro-copy {
    padding-left: 0;
    border-left: 0;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .site-header .container {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-top: .85rem;
    padding-bottom: .85rem;
  }

  .logo {
    font-size: 1.38rem;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .2rem .8rem;
  }

  .site-nav a {
    padding: .25rem 0;
    font-size: .68rem;
    line-height: 1.3;
  }

  .hero {
    padding: 3.4rem 0 3.6rem;
    background-size: cover, 260px auto;
    background-position: center, right -90px top 40px;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .hero-lede {
    font-size: 1.02rem;
    line-height: 1.72;
  }

  .hero-actions {
    gap: .65rem;
  }

  .btn {
    width: 100%;
  }

  .brand-art {
    min-height: 250px;
    padding: 1.4rem;
  }

  .brand-details {
    grid-template-columns: 1fr;
  }

  .brand-details span + span {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .intro,
  .contact {
    padding: 3.5rem 0;
  }

  .intro h2,
  .contact h2,
  .opening-inner h2 {
    font-size: 2.25rem;
  }

  .highlights {
    padding-bottom: 3.5rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
