
:root {
  --bg: #08191d;
  --bg-soft: #0d2c2f;
  --teal: #0f4a4f;
  --teal-2: #155e63;
  --gold: #d9b764;
  --gold-soft: #ecd59b;
  --sage: #738845;
  --mist: #dce9e8;
  --cream: #f7f3ea;
  --text: #183134;
  --muted: #617275;
  --white: #ffffff;
  --border: rgba(15, 74, 79, 0.12);
  --shadow: 0 16px 40px rgba(6, 20, 23, 0.15);
  --radius: 22px;
  --radius-sm: 14px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cg fill='none' stroke='%230f4a4f' stroke-width='1'%3E%3Cpath d='M20 282c34-26 58-25 93-9s58 18 95-4 57-26 92-6'/%3E%3Cpath d='M0 199c29-13 51-14 81-2 31 13 56 15 91 2s62-12 96 6 37 18 52 12'/%3E%3Cpath d='M5 125c23 14 48 18 82 6 33-12 64-15 95 0s60 15 95-1 31-17 43-17'/%3E%3Cpath d='M13 54c30 14 60 15 95 0s67-16 100-1 58 18 92 4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 340px;
}
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-2); }
img { max-width: 100%; display: block; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 25, 29, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  max-width: calc(var(--content) + 40px);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}
.brand:hover { color: var(--white); }
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.brand-tag {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.76);
  text-transform: uppercase;
}
.links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.links a {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
}
.links .cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #102629;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(217, 183, 100, 0.22);
  border: none;
  cursor: pointer;
}
.links .cta:hover,
.button:hover { color: #102629; transform: translateY(-1px); }
.menu {
  display: none;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
}

.hero,
.page-hero,
.mini-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(rgba(5, 18, 20, 0.58), rgba(5, 18, 20, 0.72)), url('/assets/landscape.jpg') center center / cover no-repeat;
}
.hero::before,
.page-hero::before,
.mini-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(220, 233, 232, 0.2), transparent 34%), linear-gradient(135deg, rgba(7, 25, 28, 0.15), rgba(7, 25, 28, 0.6));
}
.hero-inner,
.page-hero-inner,
.section,
.footer-inner,
.hero-strip-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.hero { min-height: 78vh; display: flex; align-items: center; }
.hero-inner {
  width: 100%;
  padding-top: 72px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 34px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero h1,
.page-hero h1,
.section h2,
.footer h2,
.footer h3,
.card h2 {
  font-family: Georgia, "Times New Roman", serif;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.02;
}
.hero p {
  margin: 0 0 26px;
  max-width: 660px;
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.hero-badges span,
.inline-badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 0.92rem;
}
.card,
.panel,
.step,
.details-card,
.value-card,
.photo-card,
.legal,
.faq details {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card, .panel, .legal, .photo-card { padding: 28px; }
.card p:last-child,
.panel p:last-child,
.legal p:last-child { margin-bottom: 0; }
.list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.list li {
  position: relative;
  padding-left: 30px;
  margin: 12px 0;
}
.list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 0 0 4px rgba(217, 183, 100, 0.22);
}

.section {
  padding-top: 72px;
  padding-bottom: 72px;
}
.section h2 {
  margin-top: 0;
  color: var(--teal);
  font-size: clamp(2rem, 4vw, 3rem);
}
.section p { color: var(--text); }
.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.section-alt {
  background: linear-gradient(180deg, rgba(15,74,79,0.05), rgba(15,74,79,0.11));
}
.value-card, .details-card, .step {
  padding: 24px;
}
.value-card h3,
.details-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}
.hero-strip {
  background: linear-gradient(rgba(8,25,29,0.7), rgba(8,25,29,0.7)), url('/assets/landscape.jpg') center / cover no-repeat;
  color: var(--white);
}
.hero-strip-inner {
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.hero-strip h2 {
  color: var(--white);
  margin: 0 0 8px;
}
.panel-dark {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.08);
}
.panel-dark h2,
.panel-dark h3,
.panel-dark p,
.panel-dark li { color: inherit; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-grid p { margin: 0; }
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-weight: 700;
  color: var(--teal);
}
input, textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(15,74,79,0.18);
  border-radius: 14px;
  background: rgba(247,243,234,0.85);
  font: inherit;
  color: var(--text);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus {
  outline: 2px solid rgba(217,183,100,0.36);
  border-color: rgba(15,74,79,0.3);
}
.notice {
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(15,74,79,0.07);
  font-size: 0.95rem;
  color: var(--muted);
}
.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: end;
}
.page-hero-inner {
  width: 100%;
  padding-top: 84px;
  padding-bottom: 56px;
}
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.6rem, 4.4vw, 4.2rem);
}
.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 1.07rem;
}
.page-hero.about-hero,
.page-hero.home-hero {
  background-position: center 62%;
}

.faq {
  max-width: 980px;
}
.faq details {
  padding: 20px 22px;
  margin-bottom: 16px;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--teal);
  list-style: none;
  padding-right: 28px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.step-number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #0e2729;
  font-weight: 900;
}
.family-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}
.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 16px;
}
.photo-caption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer {
  background: linear-gradient(180deg, #0a1f23, #081519);
  color: rgba(255,255,255,0.86);
  margin-top: 0;
}
.footer-inner {
  padding-top: 58px;
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 28px;
}
.footer h2, .footer h3 {
  color: var(--gold-soft);
  margin-top: 0;
}
.footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255,255,255,0.84);
}
.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.footer-brand img { width: 58px; }
.fine {
  text-align: center;
  padding: 16px 20px 28px;
  color: rgba(255,255,255,0.62);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.legal h2 {
  font-size: 1.5rem;
  margin-top: 34px;
  margin-bottom: 12px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal { max-width: 920px; }
.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 0;
}
.inline-list span {
  background: rgba(15,74,79,0.08);
  color: var(--teal);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}
.center { text-align: center; }

@media (max-width: 980px) {
  .hero-inner,
  .two,
  .grid-3,
  .family-grid,
  .footer-inner,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 0; }
}
@media (max-width: 860px) {
  .menu { display: inline-flex; }
  .links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    padding: 16px;
    background: rgba(8,25,29,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    box-shadow: var(--shadow);
  }
  .nav.open .links { display: flex; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.8rem); }
  .hero-strip-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .brand-title { font-size: 0.98rem; letter-spacing: 0.12em; }
  .brand-tag { font-size: 0.72rem; }
  .brand img { width: 48px; height: 48px; }
  .hero-inner,
  .page-hero-inner,
  .section,
  .footer-inner,
  .hero-strip-inner { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .hero-inner { padding-top: 56px; padding-bottom: 56px; }
  .form-grid { grid-template-columns: 1fr; }
  .photo-card img { min-height: 320px; }
}


/* --- Refinements: larger homepage logo and better hero card readability --- */
body.home .brand img {
  width: 78px;
  height: 78px;
}
body.home .brand-title {
  font-size: 1.42rem;
  letter-spacing: 0.18em;
}
body.home .brand-tag {
  font-size: 0.98rem;
  letter-spacing: 0.14em;
}
.card {
  color: var(--text);
}
.card h2 {
  color: var(--teal);
}
.card p,
.card li {
  color: var(--text);
}
.card .list li::before {
  box-shadow: 0 0 0 4px rgba(217, 183, 100, 0.18);
}
.footer-brand img {
  width: 50px;
  height: auto;
}
@media (max-width: 860px) {
  body.home .brand img {
    width: 62px;
    height: 62px;
  }
  body.home .brand-title {
    font-size: 1.08rem;
    letter-spacing: 0.13em;
  }
  body.home .brand-tag {
    font-size: 0.78rem;
  }
}
@media (max-width: 640px) {
  body.home .brand img {
    width: 56px;
    height: 56px;
  }
  body.home .brand-title {
    font-size: 0.96rem;
    letter-spacing: 0.11em;
  }
  body.home .brand-tag {
    font-size: 0.72rem;
  }
}


/* --- v3 logo mark refinement --- */
.brand img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
body.home .brand img {
  width: 96px;
  height: 96px;
}
.footer-brand img {
  width: 42px;
  height: 42px;
}
@media (max-width: 860px) {
  .brand img {
    width: 60px;
    height: 60px;
  }
  body.home .brand img {
    width: 76px;
    height: 76px;
  }
}
@media (max-width: 640px) {
  .brand img {
    width: 52px;
    height: 52px;
  }
  body.home .brand img {
    width: 64px;
    height: 64px;
  }
  .footer-brand img {
    width: 38px;
    height: 38px;
  }
}


/* --- v4 about page cleanup --- */
.photo-card { padding-bottom: 18px; }
.photo-card img { margin-bottom: 0; }
