/* Bright Beacon Digital — shared styles */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-deep: #170D06;
  --bg-panel: #2A1810;
  --bg-panel-2: #341F13;
  --gold-bright: #F5B01E;
  --gold-mid: #E8871E;
  --gold-deep: #C9600F;
  --cream: #F3E6D2;
  --cream-dim: #C9B69A;
  --muted: #9C8B72;
  --line: #4A3220;
  --focus: #FFD98A;
  --radius: 14px;
  --max-w: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--cream);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  color: var(--cream);
}

a {
  color: inherit;
}

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 13, 6, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--cream);
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
}

.nav-links li:not(:last-child) {
  margin-right: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--cream-dim);
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--gold-bright); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #241206;
  box-shadow: 0 8px 24px -8px rgba(245, 176, 30, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(245, 176, 30, 0.7);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
}

.btn-ghost:hover { border-color: var(--gold-mid); color: var(--gold-bright); }

/* ---------- Hero / signature beacon ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 100px;
  isolation: isolate;
}

.beacon-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg-deep);
}

.beacon-sweep {
  position: absolute;
  top: -220px;
  left: 50%;
  width: 1400px;
  height: 1400px;
  margin-left: -700px;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    transparent 328deg,
    rgba(245, 176, 30, 0.20) 340deg,
    rgba(245, 176, 30, 0.38) 352deg,
    transparent 360deg
  );
  animation: sweep 9s linear infinite;
  transform-origin: 50% 220px;
}

@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.beacon-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 176, 30, 0.28), transparent 70%);
  filter: blur(10px);
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(245, 176, 30, 0.1);
  border: 1px solid rgba(245, 176, 30, 0.3);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-mid));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 26px 0 40px;
  font-size: 19px;
  color: var(--cream-dim);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */

section { padding: 92px 0; }

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 14px;
  display: block;
}

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--cream-dim);
  font-size: 17px;
}

.problem {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem .wrap { max-width: 780px; text-align: center; }
.problem h2 { font-size: clamp(26px, 3.4vw, 36px); }
.problem p { color: var(--cream-dim); font-size: 18px; margin-top: 20px; }

/* Service cards */

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

.card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  color: var(--cream-dim);
  font-size: 15.5px;
  margin: 0;
}

/* Why us */

.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.why-list li {
  display: flex;
  gap: 16px;
}

.why-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--gold-bright);
  flex-shrink: 0;
  width: 32px;
}

.why-list h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.why-list p {
  color: var(--cream-dim);
  font-size: 15px;
  margin: 0;
}

.why-visual {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-visual svg { width: 46%; height: 46%; }

/* Process */

.process {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.step {
  position: relative;
  padding-top: 20px;
  border-top: 2px solid var(--gold-mid);
}

.step-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--gold-bright);
  font-size: 15px;
  margin-bottom: 14px;
  display: block;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step p {
  color: var(--cream-dim);
  font-size: 14.5px;
  margin: 0;
}

/* CTA band */

.cta-band {
  text-align: center;
  padding: 100px 0 110px;
}

.cta-band h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 18px;
}

.cta-band p {
  color: var(--cream-dim);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 34px;
}

/* Footer */

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Approach page specific ---------- */

.approach-hero {
  padding: 80px 0 60px;
  text-align: center;
}

.approach-hero .section-label { display: block; text-align: center; }

.approach-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  max-width: 700px;
  margin: 0 auto;
}

.approach-hero p {
  color: var(--cream-dim);
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 17px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.tl-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding-bottom: 40px;
  position: relative;
}

.tl-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 46px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.tl-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #241206;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tl-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.tl-body p {
  color: var(--cream-dim);
  font-size: 15.5px;
  margin: 0;
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.expect-item {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.expect-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold-bright);
}

.expect-item p {
  margin: 0;
  color: var(--cream-dim);
  font-size: 15.5px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav-links { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .expect-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .process-steps { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 70px; }
  section { padding: 70px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .beacon-sweep { animation: none; }
}
