:root {
  --wine: #792e32;
  --wine-dark: #4b2024;
  --cream: #f7f2e9;
  --paper: #fffdf9;
  --green: #405b45;
  --ink: #292321;
  --muted: #6f6660;
  --line: rgba(75, 32, 36, .15);
  --shadow: 0 24px 70px rgba(69, 46, 35, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 20; padding: .65rem 1rem; color: #fff; background: var(--wine-dark); border-radius: .4rem; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: absolute; z-index: 10; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: min(1180px, calc(100% - 3rem)); margin: 0 auto; padding: 1.4rem 0; color: #fff; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { border-radius: 50%; box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; letter-spacing: .02em; }
.brand small { margin-top: .28rem; font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; opacity: .8; }
nav { display: flex; align-items: center; gap: 1.55rem; font-size: .88rem; font-weight: 650; }
nav a { text-decoration: none; text-shadow: 0 1px 12px rgba(0,0,0,.2); }
nav a:not(.login-link):hover { text-decoration: underline; text-underline-offset: .35rem; }
.login-link { padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; background: rgba(33,28,22,.14); backdrop-filter: blur(8px); }
.login-link:hover { background: #fff; color: var(--wine-dark); text-shadow: none; }

.hero { position: relative; min-height: 760px; display: grid; align-items: center; overflow: hidden; background: var(--green); }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgba(37,29,22,.74) 0%, rgba(37,29,22,.48) 34%, rgba(37,29,22,.08) 66%, rgba(37,29,22,.03) 100%); }
.hero-content { position: relative; width: min(1180px, calc(100% - 3rem)); margin: 4.5rem auto 0; color: #fff; }
.hero-content > * { max-width: 660px; }
.eyebrow { display: inline-block; margin-bottom: 1rem; color: var(--wine); font-size: .73rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { color: #f2d7b5; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.05; }
h1 { max-width: 720px !important; font-size: clamp(4rem, 8.5vw, 7.4rem); letter-spacing: -.055em; text-wrap: balance; }
.hero-content > p { margin: 1.5rem 0 2rem; font-size: clamp(1.08rem, 1.65vw, 1.35rem); line-height: 1.55; text-shadow: 0 1px 18px rgba(0,0,0,.2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3.35rem; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 750; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--wine); box-shadow: 0 12px 30px rgba(53,21,22,.25); }
.button-primary:hover { background: var(--wine-dark); }
.button-quiet { color: #fff; border: 1px solid rgba(255,255,255,.65); background: rgba(33,28,22,.18); backdrop-filter: blur(8px); }
.button-quiet:hover { background: #fff; color: var(--wine-dark); }

.values { display: flex; align-items: center; justify-content: center; gap: 1.5rem; min-height: 88px; padding: 1rem 1.5rem; color: var(--green); background: var(--cream); font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; }
.values i { width: 5px; height: 5px; border-radius: 50%; background: var(--wine); }
.section { width: min(1120px, calc(100% - 3rem)); margin: 0 auto; padding: 7.5rem 0; }
.intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 8vw, 7rem); align-items: start; }
h2 { font-size: clamp(2.6rem, 5vw, 4.7rem); letter-spacing: -.035em; text-wrap: balance; }
.intro-copy { padding-top: 2.2rem; color: var(--muted); font-size: 1.12rem; }
.intro-copy p { margin: 0 0 1.4rem; }
.signature { color: var(--wine); font-family: Georgia, "Times New Roman", serif; font-size: 1.32rem; font-style: italic; }

.support { width: 100%; max-width: none; padding-inline: max(1.5rem, calc((100% - 1120px) / 2)); background: #f4efe6; }
.section-heading.centered { max-width: 760px; margin: 0 auto 3.5rem; text-align: center; }
.section-heading.centered p { color: var(--muted); font-size: 1.08rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cards article { min-height: 320px; padding: 2.1rem; border: 1px solid rgba(75,32,36,.11); border-radius: 1.2rem; background: rgba(255,253,249,.82); box-shadow: var(--shadow); }
.card-number { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 3.8rem; border: 1px solid var(--line); border-radius: 50%; color: var(--wine); font-size: .75rem; font-weight: 800; }
.cards h3 { margin-bottom: .9rem; font-size: 1.75rem; }
.cards p { color: var(--muted); }

.closing { width: min(1180px, calc(100% - 3rem)); margin-block: 5rem; padding: clamp(2.5rem, 6vw, 5rem); display: flex; align-items: end; justify-content: space-between; gap: 3rem; color: #fff; background: var(--wine); border-radius: 1.5rem; box-shadow: 0 30px 80px rgba(75,32,36,.2); }
.closing > div { max-width: 720px; }
.closing h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.closing p { max-width: 620px; margin: 1.25rem 0 0; color: rgba(255,255,255,.82); }
.eyebrow.light { color: #f2d7b5; }
.button-light { flex: 0 0 auto; color: var(--wine-dark); background: #fff; }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1.5rem; width: min(1180px, calc(100% - 3rem)); margin: 0 auto; padding: 2rem 0 3rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .82rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }
.footer-brand img { border-radius: 50%; }

@media (max-width: 820px) {
  .site-header { width: min(100% - 2rem, 1180px); }
  nav a:not(.login-link) { display: none; }
  .hero { min-height: 700px; }
  .hero-image { object-position: 61% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(37,29,22,.77), rgba(37,29,22,.42) 72%, rgba(37,29,22,.18)); }
  .hero-content { width: min(100% - 2rem, 1180px); }
  .intro { grid-template-columns: 1fr; gap: 1rem; }
  .intro-copy { padding-top: 0; }
  .cards { grid-template-columns: 1fr; }
  .cards article { min-height: 0; }
  .card-number { margin-bottom: 2.2rem; }
  .closing { align-items: start; flex-direction: column; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .site-header { gap: .75rem; }
  .brand small { display: none; }
  .brand strong { font-size: 1.05rem; }
  .brand img { width: 44px; height: 44px; }
  .login-link { padding: .6rem .8rem; font-size: .78rem; }
  .hero { min-height: max(680px, 100svh); }
  .hero-content { margin-top: 5rem; }
  h1 { font-size: clamp(3.4rem, 17vw, 5.2rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); display: grid; gap: .75rem; font-size: .88rem; text-align: center; }
  .values i { display: none; }
  .section { width: min(100% - 2rem, 1120px); padding: 5rem 0; }
  .support { width: 100%; padding-inline: 1rem; }
  .closing { width: calc(100% - 2rem); margin-block: 3rem; border-radius: 1rem; }
}

@media (max-width: 380px) {
  .brand span { display: none; }
  .hero-content > p { font-size: 1rem; }
  h1 { font-size: clamp(3.1rem, 16vw, 4rem); }
}

@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: 620px; }
  .hero-content { margin-top: 6rem; padding-bottom: 2rem; }
  h1 { font-size: clamp(3rem, 10vw, 5rem); }
}

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