/*!
Theme Name: Dave Tabor
Author: VEA Technologies
Author URI: https://veatechnologies.com/
Description: Custom Starter Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: clean-starter
*/

:root {
  --paper: #f6f1e7;
  --paper-warm: #efe7d6;
  --ink: #2a2723;
  --ink-soft: #55504a;
  --slate: #3d5468;
  --slate-deep: #2c3d4c;
  --brass: #ab8748;
  --line: #ddd3bd;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

a {
  color: var(--slate);
  text-decoration: none;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* -------------------- Signature mark -------------------- */

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Karla', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 700;
  margin-bottom: 18px;
}

.mark::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--brass);
}

.mark::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

/* -------------------- Header / Nav -------------------- */

header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.logo span { color: var(--brass); }

.navlinks {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 700;
}

.navlinks a {
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

.navlinks a:hover,
.navlinks a.active {
  color: var(--slate-deep);
  border-color: var(--brass);
}

.navlinks a.nav-cta {
  background: var(--slate-deep);
  color: var(--paper);
  padding: 10px 20px;
  border-radius: 3px;
  border-bottom: none;
}

.navlinks a.nav-cta:hover {
  background: var(--slate);
  color: var(--paper);
}

/* -------------------- Buttons -------------------- */

.btn {
  display: inline-block;
  background: var(--slate-deep);
  color: var(--paper) !important;
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 3px;
  transition: background .15s ease, transform .15s ease;
}

.btn:hover { background: var(--slate); }

.btn-ghost {
  background: transparent;
  color: var(--slate-deep) !important;
  border: 1px solid var(--slate-deep);
}

.btn-ghost:hover { background: var(--paper-warm); }

/* -------------------- Hero -------------------- */

.hero {
  padding: 88px 0 76px;
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.18;
  margin-bottom: 22px;
}

.hero .sub {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 21px;
  color: var(--slate-deep);
  font-weight: 400;
  margin-bottom: 30px;
  line-height: 1.5;
}

.hero-figure {
  border: 1px solid var(--line);
  background: var(--paper-warm);
  padding: 10px;
}

.hero-figure img { width: 100%; height: auto; }

.hero-figure .cap {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 10px 4px 2px;
  text-align: center;
  font-style: italic;
  font-family: 'Fraunces', serif;
}

/* -------------------- Sections -------------------- */

section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

section:last-of-type { border-bottom: none; }

.section-narrow {
  max-width: 760px;
}

.lede p {
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 20px;
}

.lede p:last-child { margin-bottom: 0; }

/* -------------------- Learn list -------------------- */

.learn-block {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: 36px 40px;
  margin-top: 46px;
}

.learn-block h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.learn-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.learn-block li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 16px;
}

.learn-block li:last-child { margin-bottom: 0; }

.learn-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}

/* -------------------- Two-offer split (home) -------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.split-card {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  padding: 34px;
  display: flex;
  flex-direction: column;
}

.split-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.split-card p {
  color: var(--ink-soft);
  font-size: 15.5px;
  flex-grow: 1;
  margin: 0 0 22px;
}

/* -------------------- Credibility strip -------------------- */

.strip {
  background: var(--slate-deep);
  color: var(--paper);
  padding: 46px 0;
  border-bottom: none;
}

.strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.strip .stat-num {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  color: #e7c98a;
  margin-bottom: 6px;
}

.strip .stat-label {
  font-size: 14px;
  color: #d7dde2;
  line-height: 1.5;
}

/* -------------------- CTA band -------------------- */

.cta-band {
  text-align: center;
  padding: 64px 0;
}

.cta-band h2 {
  font-size: 30px;
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--ink-soft);
  margin: 0 0 28px;
  font-size: 16.5px;
}

/* -------------------- About page -------------------- */

.about-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}

.about-photo {
  border: 1px solid var(--line);
  background: var(--paper-warm);
  padding: 10px;
}

.about-photo img { width: 100%; }

.bio p {
  margin: 0 0 18px;
  font-size: 16.5px;
}

.bio p:last-child {
  margin-bottom: 0;
  font-style: italic;
  color: var(--slate-deep);
  font-family: 'Fraunces', serif;
  font-size: 17px;
}

/* -------------------- Footer -------------------- */

footer {
  padding: 40px 0;
  text-align: center;
}

footer p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
}

/* -------------------- Responsive -------------------- */

@media (max-width: 860px) {
  .navlinks { gap: 18px; font-size: 13.5px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .split { grid-template-columns: 1fr; }
  .strip .wrap { grid-template-columns: 1fr; gap: 24px; }
  .about-hero { grid-template-columns: 1fr; }
  .about-photo { max-width: 260px; }
  section { padding: 52px 0; }
  .learn-block { padding: 28px 24px; }
}

@media (max-width: 560px) {
  .nav { padding: 16px 20px; flex-wrap: wrap; gap: 12px; }
  .navlinks { gap: 14px; }
  .navlinks a.nav-cta { padding: 8px 14px; }
  .wrap { padding: 0 20px; }
}

/* Hero Adjustments */
.nav{
  position: relative;
}
.mobile-btn{
  display: none;
  position: absolute;
  top: 15px;
  right: 20px;
}
@media (max-width: 767.98px ) {
  .mobile-btn{
    display: block;
  }
  .desktop-btn{
    display: none;
  }
  .nav{
    display: block;
  }
  .nav>a{
    margin-bottom: 5px;
    display: table;
  }
}
@media (max-width: 480px){
  .navlinks{
    font-size: 12.5px;
  }
}

/* ---------------- Testimonials ---------------- */

.testimonial-card{
    flex:0 0 360px;
    margin-right:24px;

    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--brass);

    padding: 30px;
}

.testimonial-card .quote{
    margin: 0 0 24px;
    padding-top: 10px;
    font-family: 'Fraunces', serif;
    font-size: 20px;
    line-height: 1.6;
    color: var(--ink);
    font-style: italic;

    position: relative;
}

.testimonial-card .quote::before{
    content: "“";
    color: var(--brass);
    font-size: 60px;
    line-height: 1;

    position: absolute;
    left: -8px;
    top: -18px;

    opacity: .35;
}

.author strong{
    display:block;
    color: var(--slate-deep);
    font-size:15px;
}

.author span{
    color: var(--ink-soft);
    font-size:14px;
}


.testimonials{
    background: var(--paper-warm);
    overflow:hidden;
    padding:54px 0;
}

.testimonial-track{
    overflow:hidden;
    margin-top:28px;
}

.testimonial-slider{
    display:flex;
    gap:24px;
    width:max-content;

    animation:testimonial-scroll var(--duration,30s) linear infinite;
}

.testimonial-slider:hover{
    animation-play-state:paused;
}

@keyframes testimonial-scroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(calc(-1 * var(--scroll-width)));
    }
}

@media (max-width:860px){

    .testimonial-card{
        width:300px;
    }

    .testimonial-slider{
        animation-duration:28s;
    }

}