/* ============================================================
   Clark Educational Consulting
   Colors are pulled from the book cover. Change them here.
   ============================================================ */
:root {
  --navy: #0d1736;
  --navy-2: #15214a;
  --teal: #4fa3b8;
  --teal-light: #7cc3d4;
  --copper: #c4875a;
  --gold: #c9a46a;
  --silver: #c7ccd4;
  --paper: #f6f4ef;
  --ink: #1b2236;
  --muted: #5b6478;
  --radius: 14px;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); text-transform: uppercase; color: var(--navy); }
h3 { font-size: 1.35rem; color: var(--navy); }
p { margin: 0 0 1em; }
.eyebrow { font-family: var(--body); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--copper); margin-bottom: .9em; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; text-decoration: none; padding: .9em 1.6em; border-radius: 999px; background: var(--teal); color: var(--navy); border: 2px solid var(--teal); transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); background: var(--teal-light); border-color: var(--teal-light); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-copper { background: var(--copper); border-color: var(--copper); color: #fff; }
.btn-copper:hover { background: #d4996c; border-color: #d4996c; }
.btn-small { padding: .55em 1.15em; font-size: .85rem; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(13,23,54,.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .65em; text-decoration: none; color: #fff; font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .06em; }
.brand em { font-style: normal; color: var(--teal-light); font-weight: 500; }
.brand-mark { width: 26px; height: 30px; background: var(--copper); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { color: #dfe3ea; text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-links .btn { color: var(--navy); }
.menu-toggle, .menu-btn { display: none; }

/* ---------- Hex background ---------- */
.hex-field { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cpath d='M30 2 L90 2 L118 52 L90 102 L30 102 L2 52 Z' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 120px 104px;
  -webkit-mask-image: linear-gradient(110deg, transparent 35%, #000 85%);
          mask-image: linear-gradient(110deg, transparent 35%, #000 85%); }
.hex-field-right { -webkit-mask-image: linear-gradient(250deg, #000 0%, transparent 55%); mask-image: linear-gradient(250deg, #000 0%, transparent 55%); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 80% 30%, var(--navy-2), var(--navy) 65%); color: #fff; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: end; padding-top: 5rem; }
.hero-copy { padding-bottom: 5.5rem; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; color: var(--teal); }
.hero h1 span { color: #fff; }
.hero .eyebrow { color: var(--gold); }
.lede { font-size: 1.15rem; color: #d3d9e4; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-photo { position: relative; align-self: end; }
.hero-photo img { position: relative; z-index: 1; width: 100%; max-width: 440px; margin-inline: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.hero-hex { position: absolute; z-index: 0; left: 50%; bottom: 8%; width: 92%; max-width: 440px; aspect-ratio: 1 / 1.1; transform: translateX(-50%); border: 3px solid var(--copper); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(160deg, rgba(79,163,184,.35), rgba(196,135,90,.25)); }

/* ---------- Credentials ---------- */
.creds { background: #fff; border-bottom: 1px solid #e6e3dc; }
.creds-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred { padding: 2rem 1.4rem; border-left: 1px solid #ece9e2; }
.cred:first-child { border-left: 0; padding-left: 0; }
.cred strong { display: block; font-family: var(--display); font-size: 1.9rem; color: var(--copper); line-height: 1.1; margin-bottom: .3rem; }
.cred span { font-size: .9rem; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 6rem 0; }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-head-gap { margin-top: 5rem; }

/* ---------- Consulting cards ---------- */
.consult-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-bottom: 3rem; }
.consult-intro .section-head { margin-bottom: 0; }
.consult-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 30%; border-radius: var(--radius); box-shadow: 0 20px 45px rgba(13,23,54,.15); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.card { background: #fff; border-radius: var(--radius); padding: 2rem 2rem 1.6rem; border: 1px solid #e8e5de; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13,23,54,.08); }
.card-icon { width: 52px; height: 58px; display: grid; place-items: center; margin-bottom: 1.1rem; font-family: var(--display); color: #fff; background: var(--navy); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.card p { color: var(--muted); margin: 0; }
.formats { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }
.formats span { font-size: .85rem; font-weight: 500; padding: .45em 1em; border-radius: 999px; background: #e9eef3; color: var(--navy); }

/* ---------- Photo band ---------- */
.photo-band { display: grid; grid-template-columns: 1.2fr .7fr 1.2fr 1.2fr; gap: 6px; background: var(--navy); }
.photo-band img { width: 100%; height: 340px; object-fit: cover; object-position: center 20%; }
.photo-band img:nth-child(2) { object-position: center 30%; }

/* ---------- Book ---------- */
.book { background: var(--navy); color: #d3d9e4; overflow: hidden; }
.book-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 4.5rem; align-items: center; }
.book-cover img { width: 100%; max-width: 400px; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06); transform: rotate(-2deg); }
.book-title { color: var(--teal); font-size: clamp(2.3rem, 4.5vw, 3.4rem); margin-bottom: .25em; }
.book-title span { display: block; color: #fff; font-size: .62em; letter-spacing: .03em; }
.book-sub { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); margin-bottom: 1.6rem; }
.checks { list-style: none; padding: 0; margin: 1.4rem 0; }
.checks li { position: relative; padding-left: 1.8em; margin-bottom: .55em; color: #e6eaf0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 13px; background: var(--copper); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.foreword { font-family: var(--serif); font-style: italic; color: var(--gold); }

/* ---------- Reviews ---------- */
.quotes { display: grid; gap: 1.4rem; }
.quotes-book { grid-template-columns: 1fr 1fr; }
.quotes-pd { grid-template-columns: repeat(3, 1fr); }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid #e8e5de; display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { margin: 0 0 1.4rem; font-family: var(--serif); font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.quote-feature { grid-column: 1 / -1; background: var(--navy); border: 0; position: relative; overflow: hidden; }
.quote-feature blockquote { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.5; max-width: 52rem; }
.quote figcaption strong { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--navy); font-size: 1.05rem; }
.quote figcaption span { font-size: .88rem; color: var(--muted); }
.quote.quote-feature figcaption strong { color: var(--teal-light); }
.quote.quote-feature figcaption span { color: var(--silver); }
.quote-light { background: #eef2f5; border: 0; border-top: 4px solid var(--teal); }
.quote-light figcaption span { font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--copper); }

/* ---------- About ---------- */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 4.5rem; align-items: start; }
.about-photo { position: sticky; top: 100px; }
.about-photo img { border-radius: var(--radius); width: 100%; max-height: 640px; object-fit: cover; object-position: center top; }
.about-copy p { color: #3a4255; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: #fff; overflow: hidden; }
.section-head-light h2 { color: #fff; }
.section-head-light p:last-child { color: #c8cfdc; }
.contact-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.contact-card { display: block; text-decoration: none; padding: 1.8rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: background .2s, transform .2s; }
.contact-card:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.contact-card:first-child { background: var(--copper); border-color: var(--copper); }
.contact-card:first-child:hover { background: #d4996c; }
.contact-label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-bottom: .5rem; }
.contact-card strong { display: block; font-family: var(--display); font-size: 1.35rem; letter-spacing: .02em; word-break: break-word; margin-bottom: .3rem; }
.contact-card span:last-child { font-size: .9rem; opacity: .8; }

/* ---------- Footer ---------- */
.footer { background: #08102a; color: #8e97ab; padding: 2rem 0; font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 3.5rem; gap: 1rem; }
  .hero-copy { padding-bottom: 0; }
  .hero-photo img { max-width: 290px; }
  .hero-hex { max-width: 290px; }
  .creds-grid { grid-template-columns: 1fr 1fr; }
  .cred:nth-child(3) { border-left: 0; padding-left: 0; }
  .cred { border-top: 1px solid #ece9e2; }
  .cred:nth-child(-n+2) { border-top: 0; }
  .cards, .quotes-book, .quotes-pd, .contact-grid { grid-template-columns: 1fr; }
  .consult-intro { grid-template-columns: 1fr; gap: 2rem; }
  .book-grid, .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .book-cover img { max-width: 280px; margin-inline: auto; }
  .about-photo { position: static; }
  .about-photo img { max-height: 460px; }
  .photo-band { grid-template-columns: 1fr 1fr; }
  .photo-band img { height: 220px; }
  .photo-band img:nth-child(2) { object-position: center 20%; }
  .section { padding: 4.5rem 0; }

  .menu-btn { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
  .menu-btn span { width: 24px; height: 2px; background: #fff; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: .5rem 24px 1.5rem; background: var(--navy); display: none; }
  .nav-links a { padding: .8rem 0; width: 100%; }
  .nav-links .btn { width: auto; margin-top: .6rem; padding: .7em 1.4em; }
  .menu-toggle:checked ~ .nav-links { display: flex; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand em { display: none; }
  .creds-grid { grid-template-columns: 1fr; }
  .cred { border-left: 0 !important; padding-left: 0; border-top: 1px solid #ece9e2 !important; }
  .cred:first-child { border-top: 0 !important; }
}
