/* Greg Ellis Consulting — site styles */

@font-face { font-family: "Pontano Sans"; src: url("/assets/fonts/pontano-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Pontano Sans"; src: url("/assets/fonts/pontano-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Faustina"; src: url("/assets/fonts/faustina-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Faustina"; src: url("/assets/fonts/faustina-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Faustina"; src: url("/assets/fonts/faustina-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Faustina"; src: url("/assets/fonts/faustina-latin-600-italic.woff2") format("woff2"); font-weight: 600 700; font-style: italic; font-display: swap; }

:root {
  --ink: #24474a;
  --teal: #72c2c9;
  --teal-soft: #b6e0e4;
  --teal-band: #99d2d7;
  --sage: #d6d9be;
  --black: #000;
  --white: #fff;
  --serif: "Faustina", Georgia, "Times New Roman", serif;
  --sans: "Pontano Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --narrow: 760px;
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.9; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.22; margin: 0 0 .5em; }
h1 strong, h2 strong, h3 strong, h4 strong { font-weight: 600; }
.h-xl { font-size: clamp(2.4rem, 5vw, 4.25rem); }
.h-lg { font-size: clamp(2rem, 3.6vw, 2.975rem); }
.h-md { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.center { text-align: center; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 48px, var(--narrow)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--black); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); width: min(100% - 48px, 1400px); margin-inline: auto; }
.brand img { height: 78px; width: auto; }
.nav { display: flex; align-items: center; gap: 38px; }
.nav ul { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 15px; letter-spacing: .01em; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.social-li { display: inline-flex; width: 28px; height: 28px; background: var(--black); color: var(--white); align-items: center; justify-content: center; border-radius: 2px; }
.social-li svg { width: 14px; height: 14px; fill: currentColor; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .brand img { height: 58px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--white); flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px 28px 32px; box-shadow: 0 12px 18px rgba(0,0,0,.08); transform: translateY(-120%); transition: transform .25s ease; }
  .nav.open { transform: none; }
  .nav ul { flex-direction: column; gap: 14px; }
  .nav a { font-size: 20px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--black); color: var(--white); text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-family: var(--sans); font-size: 15px; line-height: 1; padding: 21px 52px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { opacity: .85; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn-sm { font-size: 13px; padding: 14px 24px; }
.btn-teal { background: var(--teal); color: var(--black); }
.btn-paypal { background: #ffc439; color: #111; text-transform: none; letter-spacing: 0; font-weight: 600; }

/* ---------- Sections ---------- */
section { position: relative; }
.pad { padding-block: clamp(56px, 8vw, 110px); }
.pad-sm { padding-block: clamp(36px, 5vw, 64px); }
.band { background: var(--teal); color: var(--black); text-align: center; padding-block: clamp(60px, 8vw, 104px); }
.band h2 { margin: 0; }
.dark { background: var(--ink); color: var(--white); }
.dark a { color: var(--white); }

/* Hero */
.hero { padding: 0 clamp(0px, 3vw, 44px); }
.hero-inner { position: relative; min-height: min(78vh, 560px); display: grid; place-items: center; text-align: center; color: var(--black); overflow: hidden; }
.hero-inner picture, .hero-inner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner img.bg { object-fit: cover; object-position: center 60%; }
.hero-inner::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.28); }
.hero-content { position: relative; z-index: 1; padding: 48px 24px; }
.hero h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-bottom: 1.1em; }
.lede { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.5; text-align: center; max-width: 720px; margin: 0 auto; }

/* Accordions (details/summary) */
.accordion { border-top: 1px solid currentColor; }
.accordion details { border-bottom: 1px solid currentColor; }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .chev { flex: none; width: 22px; height: 22px; transition: transform .2s ease; }
.accordion details[open] summary .chev { transform: rotate(180deg); }
.accordion .panel { padding: 0 0 18px; }
.accordion .panel p:last-child { margin-bottom: 0; }
.services .accordion summary { font-size: 16px; }
.services .panel { font-weight: 600; }
.faq .accordion { border-color: rgba(255,255,255,.7); }
.faq .accordion summary { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); padding: 22px 0; }
.faq .accordion details { border-color: rgba(255,255,255,.7); }
.faq .accordion .plus { flex: none; width: 18px; height: 18px; transition: transform .2s ease; }
.faq .accordion details[open] .plus { transform: rotate(45deg); }

/* About */
.about-photo { padding-inline: clamp(0px, 3vw, 44px); margin-top: 44px; }
.about-photo img { width: 100%; aspect-ratio: 1600 / 1130; object-fit: cover; }
.about-text { width: min(100% - 48px, 1160px); margin: 72px auto 0; }
.rule { border: 0; border-top: 1px solid var(--ink); width: min(100% - 48px, 1045px); margin: 64px auto; }

/* Grants */
.grants { display: grid; gap: 12px; width: min(100% - 48px, 940px); margin-inline: auto; }
.grant { background: var(--sage); border-radius: 22px; padding: 44px 52px; line-height: 1.75; }
.grant p { margin: 0; }
.grant .kind { text-transform: none; }
.grant em { font-style: italic; }

/* Curve dividers */
.curve { display: block; width: 100%; height: clamp(40px, 6vw, 92px); }
.curve path { fill: none; stroke: var(--teal); stroke-width: 4; vector-effect: non-scaling-stroke; }

/* Testimonials */
.testimonials { padding-block: 24px 40px; }
.t-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.t-track::-webkit-scrollbar { display: none; }
.t-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; justify-content: center; padding: 8px 24px; }
.t-slide figure { margin: 0; max-width: 690px; }
.t-slide blockquote { margin: 0 0 1.6em; font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.35; }
.t-slide figcaption { font-size: 15px; line-height: 1.9; }
.t-slide figcaption strong { display: block; }
.t-slide figcaption em { font-style: italic; }
.t-controls { display: flex; justify-content: center; gap: 14px; margin-top: 34px; }
.t-btn { width: 54px; height: 54px; border-radius: 50%; background: #444; color: var(--white); border: 0; cursor: pointer; display: grid; place-items: center; }
.t-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.t-btn[disabled] { opacity: .35; cursor: default; }
.t-count { align-self: center; font-size: 14px; min-width: 4.5em; text-align: center; }

/* Partners */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px 72px; width: min(100% - 48px, 1160px); margin: 40px auto 0; }
.partners a { display: block; }
.partners img { max-height: 170px; max-width: 200px; width: auto; object-fit: contain; }

/* Contact form */
.form-card { background: var(--teal-soft); border-radius: 60px 60px 32px 32px; padding: clamp(36px, 5vw, 76px) clamp(24px, 5vw, 74px); width: min(100% - 32px, 622px); margin: 28px auto 0; }
.form-card.plain { background: transparent; padding-inline: 0; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
form legend { padding: 0; margin-bottom: 4px; font-size: 16px; }
form label { display: block; font-size: 14px; margin-bottom: 18px; }
form label .req { opacity: .65; font-size: 13px; margin-left: 4px; }
form input[type="text"], form input[type="email"], form input[type="tel"], form textarea {
  display: block; width: 100%; margin-top: 4px; font: inherit; font-size: 16px; color: var(--ink);
  background: transparent; border: 1px solid rgba(36,71,74,.55); border-radius: 6px; padding: 10px 12px; line-height: 1.5;
}
form .form-card.plain input, .plain form input, .plain form textarea { background: var(--white); }
form textarea { min-height: 120px; resize: vertical; }
form .check { display: flex; align-items: center; gap: 10px; font-size: 15px; }
form .check input { width: 18px; height: 18px; accent-color: var(--ink); }
form .actions { text-align: center; margin-top: 8px; }
form .btn { padding: 17px 28px; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 520px) { form .row { grid-template-columns: 1fr; gap: 0; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 70px; width: min(100% - 48px, 1100px); margin: 80px auto 0; }
.member img { width: 250px; height: 250px; border-radius: 50%; object-fit: cover; }
.member h3 { font-size: 1.6rem; margin: 30px 0 10px; }
.member .role { font-weight: 600; text-transform: uppercase; margin-bottom: 14px; line-height: 1.6; }
.member .btn { margin-top: 10px; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; max-width: 460px; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding: clamp(60px, 8vw, 100px) 0 clamp(70px, 9vw, 120px); }
.site-footer .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; width: min(100% - 48px, 1180px); margin-inline: auto; text-align: center; }
.site-footer h2 { font-size: clamp(2rem, 3vw, 2.65rem); margin-bottom: .8em; }
.site-footer h2 strong { font-weight: 600; }
.site-footer p { font-size: 16px; margin: 0; line-height: 1.85; }
.site-footer .phone { font-weight: 600; }
.site-footer form { margin-top: 36px; }
.site-footer input[type="email"] { background: var(--white); border: 0; border-radius: 0; max-width: 275px; margin: 0 auto; padding: 18px 30px; }
.site-footer .btn { margin-top: 16px; padding: 20px 30px; }
.site-footer .small { font-size: 13px; opacity: .75; margin-top: 56px; text-align: center; }
.site-footer .small a { color: inherit; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------- Courses page ---------- */
.course-hero { color: var(--black); text-align: center; padding-block: clamp(36px, 5vw, 60px) clamp(40px, 6vw, 80px); }
.course-hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: .45em; }
.course-hero .sub { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.3; max-width: 800px; margin: 0 auto; }
.course-hero .cta { font-family: var(--serif); text-transform: uppercase; font-size: clamp(1.3rem, 2vw, 1.75rem); color: var(--ink); text-decoration: none; display: inline-block; margin-top: 6px; }
.arc-top { display: block; width: 100%; height: clamp(40px, 7vw, 100px); }
.arc-top path { fill: var(--ink); }
.details { padding-block: clamp(40px, 6vw, 80px) clamp(70px, 9vw, 140px); }
.details h2 { text-align: center; text-transform: uppercase; font-size: clamp(2rem, 3vw, 2.6rem); }
.details .intro { font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 1.7vw, 1.45rem); text-align: center; line-height: 1.45; max-width: 1240px; margin: 0 auto 1.6em; }
.details h3.inc { text-align: center; font-weight: 600; font-size: 1.45rem; margin-bottom: 2.2em; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 60px; width: min(100% - 48px, 1040px); margin-inline: auto; }
.feature { display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: start; font-size: 15px; line-height: 1.95; font-weight: 600; }
.feature img { width: 140px; height: 140px; border: 2px solid rgba(255,255,255,.9); }
.feature u { text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } .feature { grid-template-columns: 96px 1fr; } .feature img { width: 96px; height: 96px; } }
.faq { width: min(100% - 48px, 940px); margin: 60px auto 0; }
.faq h2 { text-transform: none; font-weight: 400; font-size: clamp(2rem, 3vw, 2.6rem); }
.faq ul { margin: 0 0 1em; padding-left: 1.2em; }

.compare { padding-block: clamp(50px, 7vw, 80px); }
.compare h2 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--black); }
.table-wrap { overflow-x: auto; border-radius: 6px; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
table.cmp th, table.cmp td { padding: 12px 14px; text-align: center; }
table.cmp thead th { background: #e1b357; color: #3f5a7a; font-weight: 600; padding-block: 16px; }
table.cmp tbody th { text-align: left; font-weight: 400; width: 30%; }
table.cmp tbody tr { color: var(--white); }
table.cmp tbody tr:nth-child(odd) { background: #2f6d6a; }
table.cmp tbody tr:nth-child(even) { background: #20484a; }
table.cmp .check { color: #2bd06b; font-size: 20px; line-height: 1; }
table.cmp s { opacity: .8; margin-right: 4px; }
table.cmp .btn-sm { background: #cfe2fb; color: #2b4a7a; text-transform: none; letter-spacing: 0; padding: 10px 14px; border-radius: 4px; font-size: 14px; }

.browse { background: var(--teal-band); text-align: center; padding-block: 48px; font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.5; }
.browse h2 { font-size: inherit; font-weight: 600; margin-bottom: .9em; }
.browse p { margin: 0; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; width: min(100% - 48px, 1180px); margin-inline: auto; padding-block: 70px 90px; }
.product { display: flex; flex-direction: column; }
.product a.img { display: block; overflow: hidden; }
.product a.img img { aspect-ratio: 1; object-fit: cover; transition: transform .3s ease; }
.product a.img:hover img { transform: scale(1.03); }
.product h3 { font-family: var(--sans); font-size: 18px; margin: 18px 0 4px; }
.product h3 a { text-decoration: none; }
.price { font-size: 16px; margin: 0 0 16px; }
.price s { opacity: .65; margin-left: 6px; }
.badge { display: inline-block; background: var(--ink); color: var(--white); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; line-height: 1.6; }
.product .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; max-width: 460px; } }
.pay-note { font-size: 13px; opacity: .8; margin-top: 10px; line-height: 1.5; }

.discovery { background: var(--teal-band); text-align: center; padding: clamp(50px, 6vw, 72px) 24px 0; }
.discovery h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); max-width: 960px; margin: 0 auto; padding-bottom: clamp(40px, 6vw, 80px); }
.chevron { display: block; width: 100%; height: clamp(50px, 8vw, 120px); margin-top: -1px; }
.chevron path { fill: var(--teal-band); }

/* Product detail */
.crumbs { font-size: 14px; margin: 34px 0 18px; }
.crumbs a { text-decoration: none; }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; width: min(100% - 48px, 1180px); margin: 0 auto; padding-bottom: 100px; align-items: start; }
.pdp .media { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1.12; margin-bottom: .35em; }
.pdp .price { font-size: 17px; }
.pdp h2 { font-size: 1.6rem; margin-top: 1.4em; }
.pdp .body { font-size: 16px; }
.pdp .buy { margin: 26px 0 8px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .pdp .media { position: static; } }

/* Simple pages */
.page-head { text-align: center; padding-block: 80px 30px; }
.prose { width: min(100% - 48px, 820px); margin: 0 auto; padding-bottom: 90px; }

/* EchoMic */
.echo-hero { position: relative; text-align: center; color: var(--ink); padding: 90px 24px 0; overflow: hidden; }
.echo-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -1; }
.echo-hero .tag { font-size: 15px; line-height: 1.6; max-width: 260px; margin: 0 auto 10px; }
.echo-hero h1 { font-size: clamp(3rem, 6vw, 4.6rem); margin: 0 0 18px; }
.echo-hero .logo { width: min(300px, 70vw); border-radius: 22px; margin: 0 auto -1px; }
.policy { font-size: 15px; line-height: 1.75; }
.policy h1 { font-size: 2rem; margin-top: 2em; }
.policy h2 { font-size: 1.45rem; margin-top: 1.6em; }
.policy h3 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; margin-top: 1.4em; }
.policy table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.policy td, .policy th { border: 1px solid #c9d3d4; padding: 8px 10px; vertical-align: top; text-align: left; }
.policy ul { padding-left: 1.3em; }

/* Small-screen spacing + policy paragraph rhythm */
.lede, .band { padding-inline: 24px; }
.policy div + div { margin-top: .75em; }
@media (max-width: 600px) {
  .grant { padding: 28px 24px; border-radius: 18px; }
  .hero-inner { min-height: 440px; }
  .about-text { margin-top: 44px; }
}
