/* ============================================================
   TDKSKYES LLC — style.css
   Brand: Publishing · Creativity · Legacy
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink:          #0e0c0a;
  --ink-mid:      #1a1714;
  --ink-light:    #272320;
  --parchment:    #faf6ef;
  --parchment-dim:#c8c2b6;
  --parchment-muted: rgba(250,246,239,0.55);
  --parchment-faint: rgba(250,246,239,0.35);

  --gold:         #c9a04e;
  --gold-light:   #e8c97a;
  --gold-muted:   #8a6b32;
  --gold-dim:     rgba(201,160,78,0.12);
  --gold-faint:   rgba(201,160,78,0.06);

  --rose:         #d4857a;
  --rose-light:   #e8b0a8;

  --ff-display:   'Cormorant Garamond', Georgia, serif;
  --ff-heading:   'Cinzel', serif;
  --ff-body:      'Jost', system-ui, sans-serif;

  --nav-h:        72px;
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── UTILITIES ────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 0.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.gold { color: var(--gold-light); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s var(--ease) forwards;
}
.fade-in--delay { animation-delay: 0.2s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(14,12,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(201,160,78,0.18);
  transition: background 0.4s ease;
}
.nav.scrolled {
  background: rgba(14,12,10,0.98);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  font-family: var(--ff-heading);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--parchment-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--gold-light); }

/* Dropdown */
.nav-item {
  position: relative;
}
.nav-item-toggle {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--parchment-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ff-body);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: color 0.25s ease;
}
.nav-item-toggle:hover { color: var(--gold-light); }
.nav-item-toggle::after {
  content: '▾';
  font-size: 8px;
  color: var(--gold);
  opacity: 0.6;
  transition: transform 0.2s ease;
}
.nav-item.open .nav-item-toggle::after {
  transform: rotate(180deg);
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(14,12,10,0.98);
  border: 0.5px solid rgba(201,160,78,0.2);
  backdrop-filter: blur(16px);
  padding: 8px 0;
  z-index: 200;
}
.nav-item.open .nav-dropdown { display: block; }
.nav-dropdown-label {
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201,160,78,0.4);
  font-family: var(--ff-body);
  padding: 12px 20px 6px;
}
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,246,239,0.55);
  text-decoration: none;
  font-family: var(--ff-body);
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}
.nav-dropdown a:hover {
  color: var(--gold-light);
  border-left-color: var(--gold);
  padding-left: 24px;
}
.nav-dropdown-divider {
  height: 0.5px;
  background: rgba(201,160,78,0.1);
  margin: 6px 20px;
}

.nav-cta {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 0.5px solid var(--gold-muted);
  color: var(--gold);
  padding: 9px 22px;
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.nav-cta:hover {
  background: rgba(201,160,78,0.08);
  border-color: var(--gold);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 0.5px;
  background: var(--gold);
  transition: all 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 20px) 48px 60px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}

.hero-bg-orb {
  position: fixed;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,160,78,0.035) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-orb--2 {
  width: 400px;
  height: 400px;
  top: auto;
  bottom: 0;
  left: -100px;
  right: auto;
  background: radial-gradient(circle, rgba(212,133,122,0.025) 0%, transparent 70%);
}

.hero-left {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--parchment);
  margin-bottom: 14px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-tagline {
  font-family: var(--ff-display);
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: rgba(250,246,239,0.48);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(250,246,239,0.6);
  max-width: 420px;
  margin-bottom: 52px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 34px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,246,239,0.44);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease;
}
.btn-ghost span { color: var(--gold); font-size: 15px; }
.btn-ghost:hover { color: var(--parchment-dim); }

/* Logo frame */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.logo-frame {
  position: relative;
  width: min(360px, 80%);
  aspect-ratio: 1;
  /* extra space so rings are clearly visible outside the logo */
  padding: 52px;
}
.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  animation: gentlePulse 6s ease-in-out infinite;
}
@keyframes gentlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); }
}

.logo-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
/* Ring 1 — tight, bright, spinning */
.logo-ring--1 {
  inset: 20px;
  border: 1px solid rgba(201,160,78,0.7);
  animation: rotateSlow 28s linear infinite;
}
/* Ring 2 — medium, dashed effect via gradient, counter-spin */
.logo-ring--2 {
  inset: 6px;
  border: 0.5px solid rgba(201,160,78,0.35);
  animation: rotateSlow 48s linear infinite reverse;
}
/* Ring 3 — outer halo */
.logo-ring--3 {
  inset: -8px;
  border: 1px solid rgba(201,160,78,0.18);
  animation: rotateSlow 70s linear infinite;
}

@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}

/* Orbiting dot on ring 1 */
.logo-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  /* sits on the ring-1 circumference at top */
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  z-index: 3;
  box-shadow: 0 0 10px rgba(201,160,78,0.8), 0 0 20px rgba(201,160,78,0.3);
  animation: orbitDot 28s linear infinite;
  transform-origin: 50% calc(50% + (50% - 24px));
}
@keyframes orbitDot {
  from { transform: rotate(0deg) translateY(-130px); }
  to   { transform: rotate(360deg) translateY(-130px); }
}

/* ── BUTTERFLIES ──────────────────────────────────────────── */
.butterflies {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.butterfly {
  position: absolute;
  opacity: 0;
  animation: flyAcross var(--dur) var(--delay) ease-in-out infinite;
}
.butterfly svg {
  animation: flapWings 0.45s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes flapWings {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0.28); }
}
@keyframes flyAcross {
  0%   { opacity: 0; transform: translate(var(--x0), var(--y0)) scale(var(--sc)); }
  8%   { opacity: var(--op); }
  88%  { opacity: var(--op); }
  100% { opacity: 0; transform: translate(var(--x1), var(--y1)) scale(var(--sc)); }
}

/* ── DIVIDER ──────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  opacity: 0.3;
}
.divider-line {
  flex: 1;
  height: 0.5px;
  background: var(--gold);
}
.divider-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  margin: 0 14px;
  flex-shrink: 0;
}

/* ── PILLARS ──────────────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,160,78,0.1);
  border-top: 0.5px solid rgba(201,160,78,0.1);
  border-bottom: 0.5px solid rgba(201,160,78,0.1);
  margin: 0;
}

.pillar {
  background: var(--ink);
  padding: 56px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}
.pillar:hover {
  background: var(--ink-mid);
}

.pillar-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--ff-display);
  font-size: 80px;
  font-weight: 300;
  color: rgba(201,160,78,0.07);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transition: color 0.4s ease;
}
.pillar:hover .pillar-num {
  color: rgba(201,160,78,0.12);
}

.pillar-label {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.pillar-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 0.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.pillar-title {
  font-family: var(--ff-display);
  font-size: 30px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--parchment);
  margin-bottom: 18px;
}

.pillar-body {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(250,246,239,0.5);
  font-weight: 300;
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about {
  padding: 100px 48px;
  max-width: 1280px;
  margin: 0 auto;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.about-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--parchment);
  margin-bottom: 0;
}
.about-title em {
  font-style: italic;
  color: var(--gold-light);
}
.about-right p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(250,246,239,0.62);
  font-weight: 300;
  margin-bottom: 20px;
}
.about-right p:last-child { margin-bottom: 0; }

/* ── LEGACY ───────────────────────────────────────────────── */
.legacy {
  padding: 110px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--ink-mid);
  border-top: 0.5px solid rgba(201,160,78,0.1);
  border-bottom: 0.5px solid rgba(201,160,78,0.1);
}
.legacy-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,160,78,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.legacy-quote {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto 40px;
}
.legacy-quote p {
  font-family: var(--ff-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: var(--parchment);
}
.legacy-attribution {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--parchment-faint);
  font-style: normal;
  font-family: var(--ff-body);
  font-weight: 400;
  margin-top: 28px;
}

.legacy-children {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 60px;
}
.child-name {
  font-family: var(--ff-display);
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  color: rgba(250,246,239,0.38);
  padding: 0 20px;
}
.child-name--highlight {
  color: var(--rose-light);
}
.child-separator {
  color: var(--gold);
  opacity: 0.4;
  font-size: 12px;
  padding: 0;
}

/* ── CONTACT ──────────────────────────────────────────────── */
.contact {
  padding: 80px 48px;
  max-width: 1280px;
  margin: 0 auto;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  border: 0.5px solid rgba(201,160,78,0.15);
}
.contact-block {
  padding: 48px 44px;
}
.contact-divider {
  width: 0.5px;
  background: rgba(201,160,78,0.15);
  align-self: stretch;
}
.contact-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 0.5px;
  background: var(--gold);
  flex-shrink: 0;
}
.contact-value {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--parchment);
  font-style: normal;
}
a.contact-value--link {
  color: var(--parchment);
  text-decoration: none;
  transition: color 0.25s ease;
}
a.contact-value--link:hover { color: var(--gold-light); }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  border-top: 0.5px solid rgba(201,160,78,0.12);
  padding: 28px 48px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo {
  font-family: var(--ff-heading);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold);
  font-weight: 600;
}
.footer-copy {
  font-size: 10px;
  color: rgba(250,246,239,0.2);
  letter-spacing: 0.1em;
}
.footer-mark {
  font-family: var(--ff-display);
  font-size: 11px;
  font-style: italic;
  color: rgba(250,246,239,0.18);
  letter-spacing: 0.05em;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: calc(var(--nav-h) + 60px) 32px 60px;
  }
  .hero-left { display: flex; flex-direction: column; align-items: center; }
  .eyebrow { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-right { order: -1; }
  .logo-frame { width: min(240px, 70%); }

  .pillars { grid-template-columns: 1fr; gap: 1px; }
  .pillar { padding: 44px 32px; }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about { padding: 72px 32px; }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-divider { width: auto; height: 0.5px; }

  .nav-inner { padding: 0 24px; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(14,12,10,0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 24px 32px;
    gap: 24px;
    border-bottom: 0.5px solid rgba(201,160,78,0.18);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .divider { padding: 0 32px; }
  .legacy { padding: 72px 32px; }
  .contact { padding: 60px 32px; }
  .footer { padding: 24px 32px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 8px; }

  .legacy-children { gap: 4px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 38px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 20px; }
  .pillar { padding: 36px 24px; }
  .contact-block { padding: 36px 24px; }
}
