/* ==========================================================================
   ShinePearl — Pearl and Sea dark theme
   Deep abyss-teal body, pearl-mist text, sea-foam accents.
   ========================================================================== */

:root {
  --abyss-teal: #0F2A2E;
  --pearl-mist: #F1EFE9;
  --pearl-white: #F1EFE9;
  --deep-panel: #15343A;
  --abyss-ink: #08181B;
  --sea-foam: #9FD8C7;
  --giant-word: #143237;
  --muted-mist: #B7C9C4;
  --legal-soft: #8FA39D;
  --hairline: rgba(241, 239, 233, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--pearl-mist);
  background-color: var(--abyss-teal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", "Georgia", "Times New Roman", serif;
  color: var(--pearl-white);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a {
  color: var(--pearl-mist);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sea-foam);
}

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--abyss-ink);
  background-color: var(--pearl-white);
  padding: 6px 12px;
  border-radius: 999px;
}

.eyebrow--sea {
  color: var(--abyss-teal);
}

.sea-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea-foam);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--filled {
  background-color: var(--pearl-white);
  color: var(--abyss-ink);
}

.btn--filled:hover {
  color: var(--abyss-ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.btn--outline {
  border-color: var(--pearl-mist);
  color: var(--pearl-mist);
  background-color: transparent;
}

.btn--outline:hover {
  border-color: var(--sea-foam);
  color: var(--sea-foam);
}

.btn--pill-sm {
  padding: 9px 20px;
  font-size: 13px;
}

/* ==========================================================================
   Two-row navigation  (class-scoped, never a bare element selector)
   ========================================================================== */

.two-row-nav {
  background-color: var(--abyss-ink);
  color: var(--pearl-mist);
  position: relative;
  z-index: 20;
}

.two-row-nav__row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.two-row-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pearl-mist);
}

.two-row-nav__brand:hover {
  color: var(--pearl-mist);
}

.two-row-nav__pearl {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FDFCFA 0%, #F1EFE9 42%, #CFC8BA 100%);
  box-shadow: inset 0 -2px 4px rgba(8, 24, 27, 0.35);
}

.two-row-nav__cta {
  display: inline-block;
  border: 1px solid var(--pearl-white);
  color: var(--pearl-mist);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 999px;
}

.two-row-nav__cta:hover {
  color: var(--abyss-ink);
  background-color: var(--pearl-white);
}

.two-row-nav__row2 {
  border-top: 1px solid var(--hairline);
}

.two-row-nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.two-row-nav__link {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pearl-mist);
  padding: 15px 22px;
  border-right: 1px solid var(--hairline);
}

.two-row-nav__link:first-child {
  border-left: 1px solid var(--hairline);
}

.two-row-nav__link:hover {
  color: var(--sea-foam);
}

.two-row-nav__link.is-current {
  color: var(--sea-foam);
}

/* Hamburger (mobile only) */

.two-row-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  cursor: pointer;
}

.two-row-nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--pearl-mist);
  border-radius: 2px;
}

/* Full-screen overlay menu (opened by JS on mobile) */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background-color: var(--abyss-ink);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

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

.nav-overlay__link {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 28px;
  color: var(--pearl-mist);
  padding: 10px 0;
}

.nav-overlay__link:hover {
  color: var(--sea-foam);
}

.nav-overlay__close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  color: var(--pearl-mist);
  font-size: 22px;
  cursor: pointer;
}

.nav-overlay__cta {
  margin-top: 22px;
}

/* ==========================================================================
   Giant background word hero
   ========================================================================== */

.word-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--abyss-teal);
  border-bottom: 1px solid var(--hairline);
}

.word-hero__giant {
  position: absolute;
  top: 40px;
  right: -30px;
  z-index: 0;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 180px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--giant-word);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.word-hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 96px 0 64px;
}

.word-hero__headline {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.06;
  margin: 26px 0 22px;
  max-width: 700px;
}

.word-hero__headline em {
  font-style: italic;
  color: var(--sea-foam);
}

.word-hero__sub {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted-mist);
  max-width: 640px;
  margin-bottom: 34px;
}

.word-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}

/* Hero stat strip */

.word-hero__stats {
  display: flex;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-top: 16px;
}

.word-hero__stat {
  flex: 1 1 0;
  padding: 26px 20px;
  border-right: 1px solid var(--hairline);
}

.word-hero__stat:first-child {
  border-left: 1px solid var(--hairline);
}

.word-hero__stat-num {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--pearl-mist);
  line-height: 1;
}

.word-hero__stat-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea-foam);
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 76px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-head__title {
  font-size: 40px;
  margin: 18px 0 14px;
}

.section-head__sub {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted-mist);
}

/* ==========================================================================
   Duo panels
   ========================================================================== */

.duo-panels {
  background-color: var(--abyss-teal);
}

.duo-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  margin-bottom: 28px;
}

.duo-row:last-child {
  margin-bottom: 0;
}

.duo-intro {
  position: sticky;
  top: 28px;
  align-self: start;
  background-color: var(--deep-panel);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 36px;
  min-height: 300px;
}

.duo-intro__title {
  font-size: 27px;
  margin: 16px 0 12px;
}

.duo-intro__text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted-mist);
}

.duo-body {
  background-color: var(--deep-panel);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 40px;
}

.duo-body__heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea-foam);
  margin-bottom: 18px;
}

.duo-body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted-mist);
  margin-bottom: 18px;
}

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

/* ==========================================================================
   Metric band (solid pearl)
   ========================================================================== */

.metric-band {
  background-color: var(--pearl-white);
}

.metric-band__inner {
  display: flex;
  align-items: stretch;
  padding: 64px 0;
}

.metric-band__cell {
  flex: 1 1 0;
  text-align: center;
  padding: 10px 20px;
  border-right: 1px solid rgba(8, 24, 27, 0.22);
}

.metric-band__cell:first-child {
  border-left: 1px solid rgba(8, 24, 27, 0.22);
}

.metric-band__num {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--abyss-ink);
  line-height: 1;
}

.metric-band__label {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--abyss-ink);
}

/* ==========================================================================
   Statement band (solid abyss ink)
   ========================================================================== */

.statement-band {
  background-color: var(--abyss-ink);
}

.statement-band__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 92px 24px;
  text-align: center;
}

.statement-band__mark {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sea-foam);
  margin-bottom: 24px;
}

.statement-band__text {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--pearl-mist);
}

.statement-band__text strong {
  color: var(--sea-foam);
  font-weight: 600;
}

/* ==========================================================================
   CTA band (deep panel)
   ========================================================================== */

.cta-band {
  background-color: var(--deep-panel);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.cta-band__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 84px 24px;
  text-align: center;
}

.cta-band__title {
  font-size: 40px;
  margin-bottom: 16px;
}

.cta-band__sub {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted-mist);
  margin-bottom: 32px;
}

/* ==========================================================================
   Duo-band footer
   ========================================================================== */

.duo-band-footer__top {
  background-color: var(--abyss-teal);
  border-top: 1px solid var(--hairline);
}

.duo-band-footer__groups {
  display: flex;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.duo-band-footer__group {
  flex: 1 1 0;
  padding: 0 24px;
  border-right: 1px solid var(--hairline);
}

.duo-band-footer__group:first-child {
  padding-left: 0;
  border-left: none;
}

.duo-band-footer__group:last-child {
  padding-right: 0;
  border-right: none;
}

.duo-band-footer__title {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sea-foam);
  margin-bottom: 16px;
}

.duo-band-footer__links {
  list-style: none;
}

.duo-band-footer__links li {
  margin-bottom: 10px;
}

.duo-band-footer__links a {
  font-size: 15px;
  color: var(--pearl-mist);
}

.duo-band-footer__links a:hover {
  color: var(--sea-foam);
}

.duo-band-footer__bottom {
  background-color: var(--abyss-ink);
}

.duo-band-footer__legal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 24px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--legal-soft);
  text-align: center;
}

/* ==========================================================================
   Secondary page header (services / contact)
   ========================================================================== */

.page-hero {
  background-color: var(--abyss-teal);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}

.page-hero__giant {
  position: absolute;
  top: 24px;
  right: -40px;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 150px;
  font-weight: 800;
  line-height: 1;
  color: var(--giant-word);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 72px 0 56px;
}

.page-hero__title {
  font-size: 46px;
  margin: 20px 0 16px;
}

.page-hero__lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted-mist);
  max-width: 640px;
}

/* ==========================================================================
   Services page
   ========================================================================== */

.service-block {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background-color: var(--deep-panel);
  padding: 40px;
  margin-bottom: 28px;
}

.service-block__head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}

.service-block__num {
  flex: 0 0 auto;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--abyss-ink);
  background-color: var(--pearl-white);
  border-radius: 12px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-block__title {
  font-size: 28px;
  margin-bottom: 6px;
}

.service-block__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea-foam);
}

.service-block p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted-mist);
  margin-bottom: 16px;
}

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

/* Process overview */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  background-color: var(--abyss-ink);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 30px;
}

.process-step__num {
  display: inline-block;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--sea-foam);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.process-step__title {
  font-size: 19px;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted-mist);
}

/* ==========================================================================
   Contact page
   ========================================================================== */

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

.contact-card {
  background-color: var(--deep-panel);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 34px;
}

.contact-card--ink {
  background-color: var(--abyss-ink);
}

.contact-card__title {
  font-size: 22px;
  margin-bottom: 20px;
}

.contact-fact {
  margin-bottom: 22px;
}

.contact-fact__label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea-foam);
  margin-bottom: 6px;
}

.contact-fact__value {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-mist);
}

.contact-fact__value a {
  color: var(--pearl-mist);
}

.contact-fact__value a:hover {
  color: var(--sea-foam);
}

/* Form */

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sea-foam);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--pearl-mist);
  background-color: var(--abyss-teal);
  border: 1px solid rgba(241, 239, 233, 0.3);
  border-radius: 10px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--sea-foam);
}

.form-status {
  display: none;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--sea-foam);
}

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

/* FAQ accordion */

.faq-item {
  background-color: var(--deep-panel);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--pearl-mist);
}

.faq-item__toggle:hover {
  color: var(--sea-foam);
}

.faq-item__icon {
  flex: 0 0 auto;
  font-size: 20px;
  color: var(--sea-foam);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item__panel-inner {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted-mist);
}

/* ==========================================================================
   Reveal animation (safe without JS)
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1020px) {
  .word-hero__giant {
    font-size: 130px;
    right: -20px;
  }
  .duo-row {
    grid-template-columns: 1fr;
  }
  .duo-intro {
    position: static;
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .two-row-nav__row2 {
    display: none;
  }
  .two-row-nav__toggle {
    display: flex;
  }
  .two-row-nav__cta {
    display: none;
  }
  .word-hero__headline {
    font-size: 40px;
  }
  .word-hero__giant {
    font-size: 100px;
    top: 20px;
  }
  .word-hero__content {
    padding-top: 72px;
  }
  .word-hero__stats {
    flex-direction: column;
  }
  .word-hero__stat {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }
  .word-hero__stat:first-child {
    border-left: none;
  }
  .metric-band__inner {
    flex-direction: column;
    padding: 48px 0;
  }
  .metric-band__cell {
    border-right: none;
    border-bottom: 1px solid rgba(8, 24, 27, 0.22);
    padding: 26px 20px;
  }
  .metric-band__cell:first-child {
    border-left: none;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .duo-band-footer__groups {
    flex-direction: column;
    gap: 30px;
  }
  .duo-band-footer__group {
    border-right: none;
    padding: 0;
  }
  .section {
    padding: 64px 0;
  }
  .statement-band__text {
    font-size: 24px;
  }
  .cta-band__title {
    font-size: 32px;
  }
  .page-hero__title {
    font-size: 36px;
  }
}

@media (max-width: 520px) {
  .word-hero__headline {
    font-size: 32px;
  }
  .word-hero__actions {
    flex-direction: column;
  }
  .word-hero__actions .btn {
    text-align: center;
  }
  .service-block__head {
    flex-direction: column;
  }
  .duo-body,
  .duo-intro {
    padding: 26px;
  }
}
