/* =========================================================
   Vine & Venue
   Refined wine-country aesthetic.
   Palette: deep cocoa brown, cream, gold, sage.
   ========================================================= */

:root {
  --brown-900: #2d2017;
  --brown-800: #3a2a1f;
  --brown-700: #4a3527;
  --brown-600: #5a4332;
  --brown-500: #6b5240;
  --cream: #f4ecd8;
  --cream-soft: #e8dcc0;
  --cream-muted: #b8a988;
  --gold: #c9a961;
  --gold-soft: #d4b876;
  --sage: #9aaa78;
  --sage-deep: #7a8c5a;
  --line: rgba(244, 236, 216, 0.12);

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--brown-800);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* very subtle vignette / paper grain feel */
  background-image:
    radial-gradient(ellipse at top, rgba(74, 53, 39, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(45, 32, 23, 0.6) 0%, transparent 65%);
  background-attachment: fixed;
}

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

a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--gold); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------------------------------------------------------ */
/*  HEADER / NAV                                                */
/* ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(58, 42, 31, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 32px;
  height: 38px;
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  color: var(--cream);
  text-transform: uppercase;
}

.brand-text.small {
  font-size: 1.1rem;
}

.primary-nav ul {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.6rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-soft);
  position: relative;
  padding-bottom: 4px;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.primary-nav a:hover { color: var(--cream); }
.primary-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-nav {
  background: var(--brown-900);
  border-top: 1px solid var(--line);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem var(--gutter) 1.25rem;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

@media (max-width: 860px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ------------------------------------------------------------ */
/*  HERO                                                        */
/* ------------------------------------------------------------ */

.hero {
  position: relative;
  padding: clamp(5rem, 12vh, 8.5rem) 0 clamp(3rem, 8vh, 5rem);
  text-align: center;
  overflow: hidden;
}

/* faint decorative vine in the corners */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background-image:
    radial-gradient(circle at center, rgba(154, 170, 120, 0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero::before { top: -80px; left: -80px; }
.hero::after  { bottom: -100px; right: -80px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--cream);
  margin: 0 auto;
  max-width: 18ch;
}

.hero-headline .accent {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.hero-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 2.25rem auto 1.75rem;
  opacity: 0.7;
}

.hero-sub {
  font-size: 1.025rem;
  color: var(--cream-muted);
  max-width: 38rem;
  margin: 0 auto;
  line-height: 1.85;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.75rem;
}

/* ------------------------------------------------------------ */
/*  BUTTONS                                                     */
/* ------------------------------------------------------------ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.95rem 1.85rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--sage-deep);
  color: var(--cream);
  border-color: var(--sage-deep);
}
.btn-primary:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--brown-900);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--cream-soft);
  border-color: var(--cream-muted);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-full { width: 100%; }

/* ------------------------------------------------------------ */
/*  SERVICE TILES                                               */
/* ------------------------------------------------------------ */

.services {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-tile {
  padding: 2.5rem var(--gutter);
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background 0.3s ease;
}

.service-tile:last-child { border-right: 0; }

.service-tile:hover {
  background: rgba(244, 236, 216, 0.025);
}

.service-tile h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}

.service-tile p {
  font-size: 0.95rem;
  color: var(--cream-soft);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-tile { border-bottom: 1px solid var(--line); }
  .service-tile:nth-child(2) { border-right: 0; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-tile { border-right: 0; }
}

/* ------------------------------------------------------------ */
/*  GENERIC SECTION                                             */
/* ------------------------------------------------------------ */

.section {
  padding: clamp(4rem, 10vh, 7rem) 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: left;
}

.section-head.center {
  text-align: center;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.15;
  color: var(--cream);
  margin: 0 0 1.25rem;
  letter-spacing: -0.005em;
}

.lede {
  font-size: 1.05rem;
  color: var(--cream-muted);
  line-height: 1.85;
  margin: 0 0 1.25rem;
  font-weight: 300;
}

.lede.center {
  max-width: 56ch;
  margin: 0 auto;
}

.section p {
  color: var(--cream-muted);
  line-height: 1.85;
}

/* two-col layouts */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.two-col.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

@media (max-width: 860px) {
  .two-col, .two-col.reverse {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ */
/*  CORPORATE                                                   */
/* ------------------------------------------------------------ */

.corporate {
  border-top: 1px solid var(--line);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 2.25rem;
}

.check-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.85rem;
  color: var(--cream-soft);
  font-size: 0.98rem;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.col-quote {
  position: relative;
  padding: 2.5rem 2rem;
  border-left: 1px solid var(--gold);
  background: linear-gradient(135deg, rgba(74, 53, 39, 0.4), rgba(45, 32, 23, 0.4));
}

.col-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.4;
  font-style: italic;
  color: var(--cream);
}

.col-quote .quote-emph {
  display: block;
  margin-top: 0.6rem;
  color: var(--gold);
}

/* ------------------------------------------------------------ */
/*  OCCASIONS                                                   */
/* ------------------------------------------------------------ */

.occasions {
  border-top: 1px solid var(--line);
  background: rgba(45, 32, 23, 0.4);
}

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.occasion-card {
  padding: 2rem 1.75rem;
  background: rgba(74, 53, 39, 0.35);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.occasion-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 169, 97, 0.4);
  background: rgba(74, 53, 39, 0.55);
}

.occasion-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--cream);
  margin: 0 0 0.6rem;
}

.occasion-card p {
  font-size: 0.95rem;
  color: var(--cream-muted);
  margin: 0;
  line-height: 1.7;
}

/* ------------------------------------------------------------ */
/*  ABOUT                                                       */
/* ------------------------------------------------------------ */

.about {
  border-top: 1px solid var(--line);
}

.image-frame {
  border: 1px solid var(--gold);
  padding: 10px;
  position: relative;
  background: var(--brown-900);
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.image-frame svg {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.stat-num .plus { font-size: 0.6em; vertical-align: super; }

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-top: 0.6rem;
  line-height: 1.5;
}

@media (max-width: 540px) {
  .stats { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ------------------------------------------------------------ */
/*  CONTACT                                                     */
/* ------------------------------------------------------------ */

.contact {
  border-top: 1px solid var(--line);
  background: rgba(45, 32, 23, 0.4);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form {
  background: var(--brown-900);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.field {
  margin-bottom: 1.25rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
}

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.1rem;
  transition: border-color 0.25s ease;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.field select option {
  background: var(--brown-900);
  color: var(--cream);
}

.form-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--cream-muted);
  text-align: center;
}
.form-note a {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.form-note a:hover { border-bottom-color: var(--gold); }

.form-success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(154, 170, 120, 0.12);
  border: 1px solid var(--sage);
  color: var(--cream);
  font-size: 0.92rem;
  text-align: center;
}

.contact-aside {
  padding: 0.5rem 0;
}

.contact-aside h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--cream);
  margin: 0 0 1.5rem;
}

.contact-line {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--cream-soft);
}

.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.aside-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  margin: 1.75rem 0;
}

.aside-note {
  font-size: 0.92rem;
  color: var(--cream-muted);
  line-height: 1.75;
  margin: 0;
}

/* ------------------------------------------------------------ */
/*  FOOTER                                                      */
/* ------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  background: var(--brown-900);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand p {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--cream-muted);
}

.site-footer nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer nav a {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-muted);
}
.site-footer nav a:hover { color: var(--gold); }

.copyright {
  margin: 0;
  text-align: right;
  font-size: 0.78rem;
  color: var(--cream-muted);
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .site-footer nav ul { justify-content: center; flex-wrap: wrap; }
  .copyright { text-align: center; }
}

/* ------------------------------------------------------------ */
/*  Subtle entrance animation on hero                           */
/* ------------------------------------------------------------ */
.hero .eyebrow { animation: fadeUp 0.9s ease 0.05s both; }
.hero-headline { animation: fadeUp 1s ease 0.18s both; }
.hero-rule    { animation: fadeUp 0.9s ease 0.32s both; }
.hero-sub     { animation: fadeUp 0.9s ease 0.42s both; }
.hero-ctas    { animation: fadeUp 0.9s ease 0.55s both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------ */
/*  Honeypot + form error                                       */
/* ------------------------------------------------------------ */

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(180, 70, 70, 0.12);
  border: 1px solid rgba(220, 120, 120, 0.5);
  color: #f4d4d4;
  font-size: 0.92rem;
  text-align: center;
}
