:root{
  --cream-bg: #ffffff;
  --card-white: #fffefb;
  --card-alt: #f4ecdb;
  --ink: #2c2620;
  --body-text: #6b645a;
  --gold: #a9812e;
  --gold-dark: #8f6e28;
  --btn-secondary-bg: #e9e0c9;
  --btn-secondary-text: #4a4033;
  --hairline: #e7e1d3;
  --dot: #c9a53e;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  background: var(--cream-bg);
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.site{
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a{ color: inherit; }

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

/* -------- Header -------- */
.site-header{
  width: 100%;
  background: var(--cream-bg);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img{ height: 44px; width: auto; }

nav{ display: flex; gap: 30px; }

nav a{
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

nav a:hover{ opacity: 1; color: var(--gold-dark); }
nav a:focus-visible{ outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

/* -------- Hero -------- */
.hero{
  width: 100%;
  padding: 100px 40px 80px;
  display: flex;
  justify-content: center;
}

.hero-inner{
  max-width: 1180px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow{
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

h1.headline{
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.1;
  margin: 0 0 30px;
  color: var(--ink);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

h2.subhead{
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 28px);
  margin: 0 0 20px;
  color: var(--ink);
}

p.lede{
  font-size: 17px;
  line-height: 1.7;
  color: var(--body-text);
  max-width: 560px;
  margin: 0 auto 40px;
}

.cta-row{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary:hover{
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -8px rgba(169,129,46,0.5);
}

.btn-secondary{ background: var(--btn-secondary-bg); color: var(--btn-secondary-text); }

.btn-secondary:hover{
  background: #e1d5b3;
  transform: translateY(-1px);
}

.btn:focus-visible{ outline: 2px solid var(--gold-dark); outline-offset: 3px; }

/* -------- Features -------- */
.features{
  width: 100%;
  padding: 0 40px 110px;
  display: flex;
  justify-content: center;
}

.features-inner{
  max-width: 1180px;
  width: 100%;
}

.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card{
  background: var(--card-white);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 34px 30px 36px;
  opacity: 0;
  transform: translateY(28px);
  animation: card-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}

.card:nth-child(1){ animation-delay: 0.05s; }
.card:nth-child(2){ animation-delay: 0.2s; }
.card:nth-child(3){ animation-delay: 0.35s; }

.card:hover{
  transform: translateY(-10px);
  box-shadow: 0 24px 40px -18px rgba(44, 38, 32, 0.22);
  border-color: var(--gold);
}

.card.alt{ background: var(--card-alt); border-color: transparent; }
.card.alt:hover{ border-color: var(--gold); }

@keyframes card-in{
  from{ opacity: 0; transform: translateY(28px); }
  to{ opacity: 1; transform: translateY(0); }
}

.card .dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot);
  margin-bottom: 22px;
  transition: transform 0.35s ease;
}

.card:hover .dot{
  transform: scale(1.4);
}

.card h3{
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 21px;
  margin: 0 0 12px;
  color: var(--ink);
}

.card p{
  font-size: 15px;
  line-height: 1.6;
  color: var(--body-text);
  margin: 0;
}

/* -------- Footer -------- */
.site-footer{
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--hairline);
  margin-top: auto;
}

.footer-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 40px;
  text-align: center;
}

.footer-logo{
  height: 30px;
  width: auto;
  margin: 0 auto 20px;
}

.footer-inner p{
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--body-text);
}

.footer-inner a{
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
}

.footer-inner a:hover{ text-decoration: underline; }

.copyright{
  margin-top: 18px !important;
  font-size: 12.5px !important;
  opacity: 0.7;
}

/* -------- Tablet -------- */
@media (max-width: 900px){
  .header-inner{ padding: 14px 28px; }
  .hero{ padding: 70px 28px 60px; }
  .features{ padding: 0 28px 80px; }
  .cards{ gap: 18px; }
}

/* -------- Mobile -------- */
@media (max-width: 640px){
  .header-inner{ padding: 18px 20px; }
  .logo img{ height: 42px; }
  nav{ gap: 20px; }
  nav a{ font-size: 14px; }

  .hero{ padding: 52px 20px 48px; }
  p.lede{ font-size: 15.5px; max-width: 100%; }
  .cta-row{ flex-direction: column; }
  .btn{ width: 100%; }

  .features{ padding: 0 20px 64px; }
  .cards{ grid-template-columns: 1fr; }
  .card{ padding: 28px 24px 30px; }

  .footer-inner{ padding: 40px 20px; }
}

@media (prefers-reduced-motion: reduce){
  .btn{ transition: none; }
  html{ scroll-behavior: auto; }
  .card{ animation: none; opacity: 1; transform: none; transition: none; }
  .card:hover{ transform: none; }
  .card .dot{ transition: none; }
  .card:hover .dot{ transform: none; }
}