/*
Theme Name: Our Own Home Custom
Theme URI: https://www.ourownhome.ca/
Author: Our Own Home
Description: Lightweight custom theme for Our Own Home. No Elementor required.
Version: 1.0.0
Text Domain: our-own-home-custom
*/

:root {
  --ooh-sky: #63ccf5;
  --ooh-sky-soft: #e1f5fd;
  --ooh-peach: #fecf90;
  --ooh-peach-soft: #fff0dc;
  --ooh-green: #c1dd96;
  --ooh-green-soft: #ecf4df;
  --ooh-ink: #353537;
  --ooh-paper: #fffdf8;
  --ooh-line: #d8eadb;
  --ooh-shadow: 0 0 2px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.14);
  --ooh-lift: 0 24px 70px rgba(53,53,55,0.13);
  --ooh-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ooh-ink);
  background:
    radial-gradient(circle at 8% 8%, var(--ooh-sky-soft), transparent 28rem),
    radial-gradient(circle at 92% 12%, var(--ooh-peach-soft), transparent 28rem),
    linear-gradient(180deg, var(--ooh-paper), var(--ooh-green-soft));
  font-family: "Segoe UI", Aptos, Calibri, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  z-index: 50;
  border-radius: 10px;
  background: var(--ooh-ink);
  color: #fff;
  padding: 10px 14px;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(193,221,150,0.45);
  background: rgba(255,253,248,0.9);
  backdrop-filter: blur(18px);
}

.admin-bar .site-header {
  top: 32px;
}

.nav {
  max-width: var(--ooh-max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.08rem;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--ooh-shadow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}

.nav-links a {
  color: rgba(53,53,55,0.82);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--ooh-sky-soft);
  outline: none;
}

.button,
.ooh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  box-shadow: var(--ooh-shadow);
}

.button.primary,
.ooh-button-primary {
  background: var(--ooh-ink);
  color: #fff;
}

.button.secondary,
.ooh-button-secondary {
  background: #fff;
  color: var(--ooh-ink);
  border: 1px solid var(--ooh-line);
}

.button.accent,
.ooh-button-accent {
  background: linear-gradient(135deg, var(--ooh-sky), var(--ooh-green));
  color: var(--ooh-ink);
}

main {
  overflow: hidden;
}

.section,
.ooh-section {
  padding: 84px 22px;
}

.wrap,
.ooh-wrap {
  max-width: var(--ooh-max);
  margin: 0 auto;
}

.hero {
  padding-top: 92px;
  min-height: 760px;
  display: grid;
  align-items: center;
}

.hero-grid,
.ooh-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 52px;
  align-items: center;
}

.eyebrow,
.ooh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  border: 1px solid var(--ooh-line);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  padding: 8px 12px;
  color: rgba(53,53,55,0.72);
  font-size: 0.91rem;
  font-weight: 700;
}

.dot,
.ooh-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ooh-green);
  box-shadow: 14px 0 0 var(--ooh-peach), 28px 0 0 var(--ooh-sky);
  margin-right: 28px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  margin-bottom: 28px;
}

.lead,
.ooh-lead {
  max-width: 680px;
  color: rgba(53,53,55,0.78);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: 34px;
}

.hero-actions,
.ooh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-card,
.ooh-hero-card {
  position: relative;
  min-height: 560px;
  border-radius: 34px;
  background:
    linear-gradient(140deg, rgba(255,255,255,0.94), rgba(255,255,255,0.62)),
    linear-gradient(135deg, var(--ooh-sky-soft), var(--ooh-peach-soft), var(--ooh-green-soft));
  box-shadow: var(--ooh-lift);
  border: 1px solid rgba(255,255,255,0.75);
  padding: 34px;
  display: grid;
  align-content: center;
  overflow: hidden;
}

.hero-card::before,
.ooh-hero-card::before {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: 26px;
  border-top: 9px solid var(--ooh-sky);
  border-left: 9px solid var(--ooh-sky);
  border-right: 9px solid var(--ooh-sky);
  clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%);
  opacity: 0.85;
}

.hero-card::after,
.ooh-hero-card::after {
  content: "";
  position: absolute;
  inset: 66px;
  border-radius: 18px;
  border-top: 7px solid var(--ooh-peach);
  border-left: 7px solid var(--ooh-peach);
  border-right: 7px solid var(--ooh-green);
  clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%);
  opacity: 0.72;
}

.hero-card-inner,
.ooh-hero-card-inner {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  width: min(100%, 330px);
  border-radius: 24px;
  background: #fff;
  padding: 34px 30px;
  box-shadow: var(--ooh-shadow);
  text-align: center;
}

.hero-card-inner img,
.ooh-hero-card-inner img {
  width: 132px;
  height: 132px;
  margin-bottom: 20px;
  border-radius: 20px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
  max-width: 780px;
}

.stat,
.ooh-card,
.card,
.ooh-value,
.value {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--ooh-line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--ooh-shadow);
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat span,
.card p,
.ooh-card p,
.value p,
.ooh-value p,
.section-heading p,
.ooh-section-heading p {
  color: rgba(53,53,55,0.72);
}

.section-heading,
.ooh-section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2,
.ooh-section-heading h2,
.callout h2,
.ooh-callout h2,
.gratitude-band h2,
.ooh-gratitude-band h2 {
  font-size: clamp(2.15rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin-bottom: 16px;
}

.stripe,
.ooh-stripe {
  display: block;
  width: 78px;
  height: 8px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--ooh-sky), var(--ooh-peach), var(--ooh-green));
}

.grid-3,
.ooh-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2,
.ooh-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card h3,
.ooh-card h3 {
  font-size: 1.35rem;
  line-height: 1.18;
  margin-bottom: 10px;
  letter-spacing: -0.035em;
}

.card ul,
.ooh-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(53,53,55,0.72);
}

.card li,
.ooh-card li {
  margin: 8px 0;
}

.callout,
.ooh-callout,
.gratitude-band,
.ooh-gratitude-band {
  border-radius: 34px;
  padding: clamp(30px, 6vw, 64px);
  background:
    linear-gradient(120deg, rgba(99,204,245,0.22), rgba(254,207,144,0.28), rgba(193,221,150,0.32)),
    #fff;
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: var(--ooh-lift);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.support-list,
.ooh-donate-actions,
.donate-actions,
.pdf-stack,
.ooh-pdf-stack {
  display: grid;
  gap: 14px;
}

.support-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 16px;
  padding: 16px;
}

.icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ooh-ink);
  color: #fff;
  font-weight: 900;
}

.values,
.ooh-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.value,
.ooh-value {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.value:nth-child(1),
.ooh-value:nth-child(1) {
  background: var(--ooh-sky-soft);
}

.value:nth-child(2),
.ooh-value:nth-child(2) {
  background: var(--ooh-peach-soft);
}

.value:nth-child(3),
.ooh-value:nth-child(3) {
  background: var(--ooh-green-soft);
}

.value:nth-child(4),
.ooh-value:nth-child(4) {
  background: linear-gradient(135deg, var(--ooh-sky-soft), var(--ooh-green-soft));
}

.value span {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.pdf-grid,
.ooh-pdf-grid,
.donate-panel,
.ooh-donate-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.pdf-card-large,
.ooh-pdf-card-large,
.ooh-donate-main,
.donate-main {
  background:
    linear-gradient(120deg, rgba(99,204,245,0.22), rgba(254,207,144,0.28), rgba(193,221,150,0.32)),
    #fff;
  color: var(--ooh-ink);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--ooh-lift);
}

.label,
.ooh-label {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--ooh-green-soft);
  font-weight: 800;
  color: rgba(53,53,55,0.72);
  font-size: 0.84rem;
}

.site-footer {
  padding: 42px 22px;
  background: var(--ooh-ink);
  color: #fff;
}

.footer-grid {
  max-width: var(--ooh-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-grid img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: #fff;
  margin-bottom: 14px;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255,255,255,0.78);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-links a {
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
}

.page-content {
  padding: 70px 22px 90px;
}

.page-content > .ooh-page {
  margin: -70px -22px -90px;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    padding-top: 58px;
    min-height: auto;
  }

  .hero-grid,
  .ooh-hero-grid,
  .callout,
  .ooh-callout,
  .donate-panel,
  .ooh-donate-panel,
  .pdf-grid,
  .ooh-pdf-grid,
  .gratitude-band,
  .ooh-gratitude-band,
  .footer-grid,
  .grid-3,
  .ooh-grid-3,
  .grid-2,
  .ooh-grid-2,
  .values,
  .ooh-values,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .ooh-hero-card {
    min-height: 430px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .section,
  .ooh-section {
    padding: 64px 18px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }
}
