/* Bohio Wealth — local redesign
   Namecheap-ready static/PHP site */

:root {
  --ink: #0b1f24;
  --ink-soft: #243a40;
  --sea: #15656f;
  --sea-deep: #0e4a52;
  --foam: #e7f3f1;
  --paper: #f4f8f7;
  --mist: #d5e6e3;
  --flare: #c9834a;
  --flare-deep: #a86632;
  --line: rgba(11, 31, 36, 0.12);
  --white: #ffffff;
  --shadow-soft: 0 0 0 1px var(--line);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --max: 72rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sea-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--flare-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
}

.site-header.is-solid {
  position: sticky;
  top: 0;
  background: rgba(244, 248, 247, 0.92);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 560;
  color: inherit;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand:hover {
  color: inherit;
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
  color: inherit;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--flare);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 600;
  opacity: 1 !important;
}

.site-header.is-solid .nav-cta {
  background: var(--sea);
}

.nav-toggle {
  display: none;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 0.4rem 0.7rem;
  border-radius: 0.4rem;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: var(--pad);
    right: var(--pad);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 0.75rem;
  }

  .site-header.is-solid .nav {
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-soft);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.85rem;
    border-radius: 0.5rem;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.35rem;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--flare);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--flare-deep);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-dark {
  background: var(--sea);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--sea-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(100vh, 52rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(11, 31, 36, 0.35) 0%,
      rgba(11, 31, 36, 0.25) 35%,
      rgba(11, 31, 36, 0.72) 100%
    ),
    linear-gradient(90deg, rgba(11, 31, 36, 0.55), transparent 55%);
}

.hero-content {
  padding: clamp(7rem, 18vh, 10rem) 0 clamp(3.5rem, 8vh, 5rem);
  max-width: 38rem;
  animation: riseIn 0.9s var(--ease) both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.25rem);
  font-weight: 560;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}

.hero h2 {
  color: var(--white);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 450;
  max-width: 28ch;
  margin-bottom: 0.85rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 36ch;
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-muted {
  background: var(--foam);
}

.section-sea {
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 131, 74, 0.18), transparent 40%),
    linear-gradient(160deg, var(--sea-deep), var(--ink) 70%);
  color: var(--white);
}

.section-sea h2,
.section-sea h3 {
  color: var(--white);
}

.section-sea p {
  color: rgba(255, 255, 255, 0.86);
}

/* ——— About split ——— */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split-media {
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 22rem;
  background: var(--mist);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.split:hover .split-media img {
  transform: scale(1.04);
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.credential-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.credential-list li {
  padding-left: 1.15rem;
  position: relative;
  color: var(--ink-soft);
}

.credential-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--sea);
}

/* ——— Services ——— */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 720px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.service {
  padding: 1.5rem 1.4rem;
  border-top: 1px solid var(--line);
  background: transparent;
  transition: background 0.3s var(--ease);
}

.service:hover {
  background: rgba(21, 101, 111, 0.05);
}

.service h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.service p {
  color: var(--ink-soft);
}

.service a {
  display: inline-flex;
  margin-top: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--sea);
}

.service a::after {
  content: " →";
}

/* ——— Insights cards ——— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.insight-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease);
}

.insight-card:hover {
  transform: translateY(-3px);
  color: inherit;
}

.insight-card .meta {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sea);
  font-weight: 600;
}

.insight-card h3 {
  font-size: 1.35rem;
}

.insight-card p {
  color: var(--ink-soft);
  flex: 1;
}

/* ——— FAQ ——— */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 48rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.1rem 0;
  font: inherit;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  cursor: pointer;
}

.faq-item button span.icon {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.faq-item[open] button span.icon {
  transform: rotate(45deg);
  background: var(--sea);
  color: var(--white);
  border-color: var(--sea);
}

.faq-item .faq-panel {
  display: none;
  padding: 0 0 1.15rem;
  color: var(--ink-soft);
}

.faq-item[open] .faq-panel {
  display: block;
  animation: riseIn 0.35s var(--ease);
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-channels {
  display: grid;
  gap: 1rem;
}

.channel {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.channel h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.channel a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.channel p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.form {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.form input,
.form textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--paper);
  color: var(--ink);
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid rgba(21, 101, 111, 0.35);
  border-color: var(--sea);
}

.form .check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.form .check input {
  width: auto;
  margin-top: 0.2rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.form-status {
  display: none;
  padding: 0.75rem 0.9rem;
  border-radius: 0.55rem;
  font-size: 0.95rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.ok {
  background: #e5f5ea;
  color: #1d5c32;
}

.form-status.err {
  background: #fdeceb;
  color: #8a2a22;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer .brand {
  color: var(--white);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links strong {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.disclaimer {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  max-width: 52rem;
  margin-top: 1rem;
}

/* ——— Inner pages ——— */
.page-hero {
  padding: 7.5rem 0 3rem;
  background:
    linear-gradient(180deg, rgba(21, 101, 111, 0.12), transparent),
    var(--foam);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 16ch;
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 42ch;
  font-size: 1.1rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
}

.prose h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

.prose ul {
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: 0.4rem;
}

.article-meta {
  color: var(--sea);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

  .hero-media img,
  .reveal,
  .split-media img,
  .btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1;
  }
}
