/* ==========================================================================
   Modern Reckoning — static site styles
   Rebuilt from the WordPress (Astra + Beaver Builder) design, 2026
   ========================================================================== */

:root {
  --teal: #2b4d55;          /* primary: headings, overlays, footer icons */
  --teal-line: #7f9599;     /* photo frames + divider rules */
  --rust: #91563d;          /* accent headings, outline buttons */
  --sage: #5d755a;          /* tagline heading, package buttons */
  --ink: #1b1b1b;           /* body copy */
  --panel: #f4f4f4;         /* accordion bars */
  --footer: #ecedee;
  --white: #ffffff;

  --serif: "DM Serif Display", Georgia, serif;
  --serif-text: "DM Serif Text", Georgia, serif;
  --sans: "Work Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1012px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--white);
}

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

a { color: var(--teal); }
a:hover { color: var(--rust); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--teal);
  margin: 0 0 .5em;
  line-height: 1.3;
}
h1 { font-size: 40px; }
h2 { font-size: 40px; }
h3 { font-size: 26px; }

p { margin: 0 0 1.45em; }
ul { margin: 0 0 1.45em; padding-left: 16px; }
li { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--white); color: var(--teal); padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
}
.site-header .inner {
  max-width: 1076px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo img { width: 50px; height: auto; }
.site-logo { display: block; color: var(--white); text-decoration: none; font-family: var(--serif); }

.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 23px;
}
.main-nav a {
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .01em;
  line-height: 60px;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: #d9e3e4; text-decoration: underline; text-underline-offset: 6px; }

.btn-login {
  display: inline-block;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 7px 33px;
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 15px;
  transition: background .2s, color .2s;
}
.btn-login:hover { background: var(--white); color: var(--teal); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid rgba(255,255,255,.7);
  color: var(--white); width: 44px; height: 40px; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto;
  position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

/* --------------------------------------------------------------------------
   Hero (home) + Page header (inner pages)
   -------------------------------------------------------------------------- */
.hero, .page-hero {
  position: relative;
  background-color: var(--teal);
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(43, 77, 85, .75);
}
.hero > *, .page-hero > * { position: relative; z-index: 1; }

.hero {
  background-image: url("../images/hero-home.jpg");
  padding: 134px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-logo { max-width: 410px; margin: 0 auto; }
.hero-logo img { width: 100%; }
.definition h3 { color: var(--white); font-size: 26px; margin-bottom: .35em; }
.definition p  { color: var(--white); line-height: 1.4; max-width: 390px; margin-bottom: 2.2em; }
.definition p:last-child { margin-bottom: 0; }
.hero-title {
  color: var(--white);
  font-size: 40px;
  margin: 50px 0 22px;
}

.page-hero {
  background-image: url("../images/hero-inner.jpg");
  background-position: center 40%;
  padding: 74px 0 0;
  min-height: 310px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.page-hero::after { background: rgba(43, 77, 85, .55); }
.page-hero h1 { color: var(--white); margin: 0; padding: 40px 0; }

/* --------------------------------------------------------------------------
   Content sections
   -------------------------------------------------------------------------- */
.section { padding: 32px 0; }
.section.tight-top { padding-top: 12px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.split.center { align-items: center; }

/* Framed photo (thin teal rule, white mat) */
.frame {
  border: 1px solid var(--teal-line);
  padding: 16px;
  background: var(--white);
}
.frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #e6ebec; }

.lead-bold { font-weight: 600; }
.callout   { font-size: 18px; font-weight: 600; line-height: 1.35; }

.h-rust { color: var(--rust); }
.h-sage { color: var(--sage); font-size: 32px; line-height: 1.3; }

/* Heading with rule beneath */
.ruled {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--teal);
  margin-bottom: 36px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  line-height: 18px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 9px 19px;
  border: 1px solid currentColor;
  background: var(--white);
  transition: background .2s, color .2s;
}
.btn-rust { color: var(--rust); font-size: 14px; }
.btn-rust:hover { background: var(--rust); color: var(--white); }
.btn-sage { color: var(--sage); font-size: 14px; padding: 11px 19px; }
.btn-sage:hover { background: var(--sage); color: var(--white); }
.btn-sage svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 8px; fill: currentColor; }

/* --------------------------------------------------------------------------
   Accordion (<details>)
   -------------------------------------------------------------------------- */
.accordion details {
  background: var(--panel);
  margin-bottom: 8px;
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  color: var(--teal);
  background: #ececed;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before {
  content: "+";
  font-family: var(--sans);
  font-size: 20px;
  width: 12px;
  flex: none;
  text-align: center;
}
.accordion details[open] summary { color: var(--rust); }
.accordion details[open] summary::before { content: "\2013"; }
.accordion .acc-body { padding: 14px 16px 6px; background: var(--panel); }
.accordion .acc-body ul { padding-left: 18px; }

/* --------------------------------------------------------------------------
   Pricing packages
   -------------------------------------------------------------------------- */
.packages {
  position: relative;
  background: url("../images/packages-bg.jpg") center / cover no-repeat, #cfd6d7;
  padding: 26px 0 32px;
}
.packages::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.85); }
.packages > * { position: relative; z-index: 1; }
.packages h2 { text-align: center; }

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.package {
  background: var(--white);
  box-shadow: 0 2px 14px rgba(0,0,0,.18);
  padding: 18px 16px 16px;
  text-align: center;
}
.package h3 { font-size: 24px; margin-bottom: 6px; }
.package .from { font-family: var(--serif-text); color: var(--teal); font-size: 14px; line-height: 1; margin: 0; }
.package .price { font-family: var(--serif); color: var(--teal); font-size: 34px; line-height: 1.2; margin: 0 0 4px; }
.tier-rule {
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 28px; color: #a9abae;
}
.tier-rule::before, .tier-rule::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.tier-rule svg { width: 16px; height: 16px; fill: currentColor; }
.tier-rule.gold { color: var(--rust); }
.package .accordion { text-align: left; margin-bottom: 30px; }
.package .accordion summary { font-size: 21px; padding: 12px 14px; }
.package .accordion summary::before { color: var(--sage); }

/* --------------------------------------------------------------------------
   Team (About)
   -------------------------------------------------------------------------- */
.firm-note { text-align: center; font-size: 17px; margin: 0; padding: 24px 0 8px; }
.team-member { padding: 32px 0; }
.team-member + .team-member { border-top: 1px solid var(--teal-line); }
.team-member h2 { font-size: 26px; }
.bio-box { border: 1px solid var(--teal-line); padding: 18px 16px 8px; }
.headshot { max-width: 328px; margin: 0 auto; }
.headshot.sm { max-width: 245px; }
.headshot img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #e6ebec; }

/* --------------------------------------------------------------------------
   Testimonials slider
   -------------------------------------------------------------------------- */
.testimonials {
  position: relative;
  background: url("../images/testimonial-bg.jpg") center 62% / cover no-repeat, var(--teal);
  color: var(--white);
  min-height: 540px;
  display: flex; align-items: center;
}
.testimonials::after { content: ""; position: absolute; inset: 0; background: rgba(43, 77, 85, .4); }
.testimonials > * { position: relative; z-index: 1; }
.slider { max-width: 386px; overflow: hidden; padding: 100px 0 90px; }
.slides { display: flex; transition: transform .6s ease; }
.slide { flex: 0 0 100%; }
.slide blockquote { margin: 0; }
.slide blockquote > p {
  font-family: var(--serif-text);
  font-style: italic;
  font-size: 23px;
  line-height: 1.27;
  margin: 0 0 18px;
}
.slide .who { font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 15px; text-transform: uppercase; line-height: 1.4; margin: 0; }
.slide .biz { font-family: var(--sans); font-style: normal; font-size: 13px; margin: 0; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.4);
}
.dots button[aria-current="true"] { background: var(--white); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-intro { max-width: 600px; margin: 0 auto; padding: 32px 0 20px; }
.dubsado-wrap { max-width: 600px; margin: 0 auto 60px; }
.dubsado-wrap iframe { width: 100%; min-height: 1400px; border: 0; }

/* --------------------------------------------------------------------------
   Prose pages (privacy, 404)
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; margin: 0 auto; padding: 40px 0 60px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--footer); color: var(--teal); font-size: 13px; line-height: 1.7; }
.site-footer .inner {
  max-width: 1076px; margin: 0 auto; padding: 22px var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--teal); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social a {
  display: grid; place-items: center;
  width: 33px; height: 33px;
  background: var(--teal); color: var(--white);
}
.social a:hover { background: var(--rust); text-decoration: none; }
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 921px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--teal);
    display: none;
    padding: 8px var(--gutter) 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { line-height: 44px; display: block; border-bottom: 1px solid rgba(255,255,255,.15); }
  .header-actions { display: flex; align-items: center; gap: 12px; }
  .btn-login { padding: 9px 16px; font-size: 13px; }

  .hero { padding-top: 110px; }
  .hero-grid, .split, .package-grid { grid-template-columns: 1fr; }
  .hero-logo { max-width: 300px; }
  .split .frame, .split .headshot { order: -1; }
  .split.keep-order .frame { order: 0; }
  .package-grid { max-width: 420px; margin: 0 auto; }
  .slider { max-width: 100%; }
  .testimonials::after { background: rgba(43, 77, 85, .7); }
}

@media (max-width: 600px) {
  h1, h2, .hero-title { font-size: 32px; }
  .h-sage { font-size: 26px; }
  .page-hero { min-height: 230px; }
  .site-footer .inner { flex-direction: column; align-items: flex-start; }
  .btn-login { display: none; }
  .main-nav .mobile-login { display: block; }
}
.main-nav .mobile-login { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slides { transition: none; }
}
