/* ============================================================
   Winnie May Inc. — Homepage Stylesheet
   Dark bronze theme — maple leaf navigation — barn hero
   ============================================================ */

:root {
  --bg: #12100E;
  --bg-soft: #17130F;
  --panel: #1D1812;
  --panel-2: #241E16;
  --line: #33291E;
  --line-strong: #4C3C27;

  --text: #F3EDE4;
  --text-dim: #C9BCA7;
  --text-mute: #9C8F78;

  --bronze: #B87333;
  --bronze-bright: #D98E4A;
  --bronze-deep: #8A5423;
  --bronze-darker: #5F3A17;

  --sand: #E7C9A9;
  --sand-bright: #F6E3CF;

  --ink: #1B1209;
  --ink-soft: #2A1B0C;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

a {
  color: var(--sand);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================ NAVIGATION ============================ */

.maple-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
  padding: 0 40px;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}

.maple-nav .brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.maple-leaf {
  width: 32px;
  height: 32px;
  background: linear-gradient(140deg, var(--bronze-bright) 0%, var(--bronze) 55%, var(--bronze-deep) 100%);
  clip-path: polygon(
    50% 2%, 78% 22%, 62% 36%, 88% 60%, 58% 80%,
    50% 92%, 42% 80%, 12% 60%, 38% 36%, 22% 22%
  );
  flex-shrink: 0;
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.2em;
  color: var(--sand);
}

.maple-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.maple-nav .nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.maple-nav .nav-links a:hover {
  color: var(--sand-bright);
}

.nav-cta {
  display: inline-block;
  background-color: var(--bronze);
  color: var(--ink);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.nav-cta:hover {
  background-color: var(--bronze-bright);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background-color: var(--sand);
}

/* ============================ HERO ============================ */

.barn-hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 40px 104px;
  min-height: 600px;
}

.eyebrow {
  display: inline-block;
  color: var(--bronze-bright);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 20px 0 24px;
  letter-spacing: -0.01em;
}

.hero-copy h1 .accent {
  color: var(--bronze-bright);
}

.hero-copy .lede {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--bronze);
  color: var(--ink);
}

.btn-primary:hover {
  background-color: var(--bronze-bright);
}

.btn-ghost {
  background-color: transparent;
  color: var(--sand);
  border: 1px solid var(--bronze);
}

.btn-ghost:hover {
  border-color: var(--sand-bright);
  color: var(--sand-bright);
}

/* ---- Barn visual ---- */

.barn {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.barn-glow {
  position: absolute;
  inset: -6%;
  background: radial-gradient(circle at 50% 42%, rgba(184, 115, 51, 0.5) 0%, rgba(107, 68, 30, 0.5) 34%, transparent 64%);
  z-index: 0;
}

.barn-ground {
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 6%;
  height: 4px;
  background: var(--line-strong);
  z-index: 1;
}

.barn-roof {
  position: absolute;
  left: 6%;
  top: 17%;
  width: 88%;
  height: 36%;
  background: linear-gradient(180deg, var(--bronze-bright) 0%, var(--bronze) 45%, var(--bronze-deep) 100%);
  clip-path: polygon(0% 100%, 26% 32%, 50% 0%, 74% 32%, 100% 100%);
  z-index: 2;
}

.barn-roof-line {
  position: absolute;
  left: 6%;
  top: 46%;
  width: 88%;
  height: 5px;
  background: var(--bronze-deep);
  z-index: 3;
}

.barn-body {
  position: absolute;
  left: 14%;
  top: 49%;
  width: 72%;
  height: 36%;
  background: linear-gradient(180deg, var(--bronze-deep) 0%, var(--bronze-darker) 100%);
  border-radius: 2px;
  z-index: 1;
}

.barn-loft {
  position: absolute;
  left: 50%;
  top: 9%;
  transform: translateX(-50%);
  width: 24%;
  height: 26%;
  background-color: var(--ink);
  border: 2px solid var(--sand);
  border-radius: 2px;
}

.barn-loft::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--sand);
}

.barn-loft::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  height: 100%;
  width: 2px;
  background-color: var(--sand);
}

.barn-door {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 40%;
  height: 66%;
  background-color: var(--ink);
  border: 2px solid var(--sand);
  border-bottom: none;
}

.barn-door::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top right, transparent 45%, var(--sand) 45%, var(--sand) 55%, transparent 55%);
}

.barn-door::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, transparent 45%, var(--sand) 45%, var(--sand) 55%, transparent 55%);
}

.barn-fence {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 7%;
  height: 11%;
  z-index: 4;
}

.barn-fence::before,
.barn-fence::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14%;
  background-color: var(--sand);
}

.barn-fence::before { top: 26%; }
.barn-fence::after { top: 68%; }

.fence-posts {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.fence-posts span {
  width: 4.5%;
  height: 100%;
  background-color: var(--bronze);
}

/* ============================ STATEMENT ============================ */

.statement-section {
  background-color: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 112px 40px;
}

.statement-section .statement {
  max-width: 880px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.42;
  color: var(--text);
}

.statement-section .statement em {
  font-style: normal;
  color: var(--sand);
}

.statement-section .statement-attribution {
  margin-top: 28px;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-bright);
}

/* ============================ STATS ============================ */

.stats-section {
  padding: 100px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--bronze-bright);
}

.stat-num .stat-suffix {
  font-size: 0.6em;
  color: var(--sand);
}

.stat-label {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ============================ CAPABILITIES ============================ */

.capabilities-section {
  background-color: var(--panel-2);
  padding: 104px 0;
}

.capabilities-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.section-kicker {
  display: inline-block;
  color: var(--bronze-bright);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.capabilities-intro h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 22px;
}

.capabilities-intro p {
  color: var(--text-dim);
  margin-bottom: 18px;
}

.capabilities-intro p strong {
  color: var(--sand-bright);
}

.capability-list {
  list-style: none;
}

.capability-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.capability-list li:first-child {
  padding-top: 0;
}

.capability-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.capability-index {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  color: var(--bronze);
}

.capability-list h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--sand-bright);
}

.capability-list p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ============================ PROCESS ============================ */

.process-section {
  padding: 104px 0;
}

.process-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.process-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 16px;
}

.process-head p {
  color: var(--text-dim);
}

.process-list {
  position: relative;
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
}

.process-list::before {
  content: "";
  position: absolute;
  left: 44px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background-color: var(--line-strong);
}

.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  padding: 26px 0;
}

.process-num {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--panel);
  border: 1px solid var(--line-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  color: var(--bronze-bright);
}

.process-body h3 {
  font-size: 1.3rem;
  margin: 8px 0 8px;
  color: var(--sand-bright);
}

.process-body p {
  color: var(--text-dim);
  max-width: 620px;
}

/* ============================ COMPARISON ============================ */

.comparison-section {
  background-color: var(--panel);
  padding: 104px 40px;
}

.comparison-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.comparison-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 16px;
}

.comparison-head p {
  color: var(--text-dim);
}

.comparison-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background-color: var(--panel-2);
}

.comparison-table th,
.comparison-table td {
  border: 1px solid var(--line-strong);
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  background-color: var(--bronze-deep);
  color: var(--sand-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.comparison-table thead th.highlight-col {
  background-color: var(--bronze);
  color: var(--ink);
}

.comparison-table tbody th {
  color: var(--sand);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.comparison-table td {
  color: var(--text-dim);
  font-size: 0.94rem;
}

.comparison-table td strong {
  color: var(--sand-bright);
}

/* ============================ FAQ ============================ */

.faq-section {
  padding: 104px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.faq-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 16px;
}

.faq-head p {
  color: var(--text-dim);
}

.faq-item {
  border: 1px solid var(--line);
  background-color: var(--panel);
  margin-bottom: 14px;
  border-radius: 4px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background-color: transparent;
  color: var(--text);
  border: none;
  padding: 20px 26px;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-q:hover {
  color: var(--sand-bright);
}

.faq-toggle {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background-color: var(--bronze-bright);
  transition: transform 0.25s ease;
}

.faq-toggle::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-toggle::after {
  left: 50%;
  top: 0;
  height: 100%;
  width: 2px;
  transform: translateX(-50%);
}

.faq-item.open .faq-toggle::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-a {
  display: none;
  padding: 0 26px 24px;
  color: var(--text-dim);
}

.faq-item.open .faq-a {
  display: block;
}

/* ============================ CTA BAND ============================ */

.cta-band {
  background: linear-gradient(120deg, var(--bronze-deep) 0%, var(--bronze) 60%, var(--bronze-bright) 100%);
  padding: 88px 40px;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--ink);
  margin-bottom: 18px;
}

.cta-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 26px;
}

.cta-copy .cta-contact-line {
  color: var(--ink);
  font-weight: 600;
}

.cta-copy .cta-contact-line a {
  color: var(--ink);
  text-decoration: underline;
}

.contact-form {
  background-color: var(--bg);
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze-bright);
  margin: 16px 0 6px;
}

.contact-form label:first-child {
  margin-top: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  background-color: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-mute);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--bronze-bright);
}

.contact-form .btn {
  margin-top: 20px;
  width: 100%;
  border: none;
  cursor: pointer;
}

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.form-note.error {
  color: #E8926A;
}

/* ============================ FOOTER ============================ */

.site-footer {
  background-color: #0D0B09;
  border-top: 2px solid var(--bronze);
  padding: 64px 40px 44px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--sand-bright);
}

.footer-col .contact-line {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-mute);
  font-size: 0.84rem;
}

.footer-bottom a {
  color: var(--text-mute);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--sand);
}

/* ============================ SCROLL REVEAL ============================ */

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================ RESPONSIVE ============================ */

@media (max-width: 960px) {
  .barn-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 24px 80px;
  }

  .barn {
    max-width: 380px;
  }

  .capabilities-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .maple-nav {
    padding: 0 24px;
  }

  .nav-toggle {
    display: flex;
  }

  .maple-nav .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background-color: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    display: none;
  }

  .maple-nav .nav-links.open {
    display: flex;
  }

  .maple-nav .nav-links li {
    width: 100%;
  }

  .maple-nav .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .maple-nav .nav-cta {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 20px;
  }

  .barn-hero {
    padding: 48px 20px 64px;
  }

  .statement-section {
    padding: 80px 24px;
  }

  .stats-section,
  .capabilities-section,
  .process-section,
  .comparison-section,
  .faq-section {
    padding: 72px 20px;
  }

  .process-list::before {
    left: 22px;
  }

  .process-item {
    grid-template-columns: 52px 1fr;
    gap: 18px;
  }

  .process-num {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-band {
    padding: 64px 20px;
  }

  .contact-form {
    padding: 24px;
  }
}
