/* =========================================================
   Skiathos Homes — sh-circle.css
   The Infrastructure (Trusted Partner Network)

   Color flow:
     Hero      → navy-dark
     Ledger    → navy  (sticky left + scrollable right)

   Depends on: sh-core.css, sh-motion.css
   Scope: #sh-circle
========================================================= */

/* ── Page root ── */
#sh-circle {
  --_ease: cubic-bezier(.22,1,.36,1);
  --_grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");

  background: var(--navy-dark);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#sh-circle h1, #sh-circle h2, #sh-circle h3, #sh-circle h4 { color: inherit; margin-bottom: 0; font-weight: 400; line-height: inherit; }
#sh-circle p  { color: inherit; font-size: inherit; margin-bottom: 0; }
#sh-circle li { color: inherit; }
#sh-circle a  { color: inherit; text-decoration: none; }
#sh-circle a:hover { opacity: 1; }
#sh-circle ul, #sh-circle ol { padding-left: 0; }
#sh-circle ::selection { background: rgba(201,174,120,.25); }

.cir-inner {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.cir-section {
  padding: clamp(80px, 11vw, 136px) 0;
  position: relative;
}

/* ── Eyebrow ── */
.cir-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1;
}
.cir-eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .8;
  flex-shrink: 0;
}


/* ════════════════════════════════════════════
   01  HERO — dark, left-aligned
════════════════════════════════════════════ */
.cir-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(80px, 12vh, 130px);
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-dark);
  color: var(--white);
}

.cir-hero__media {
  position: absolute; inset: 0;
  background-image: url("https://skiathoshomes.com/wp-content/uploads/2026/03/circle.webp");
  background-position: center;
  background-size: cover;
  opacity: .20;
  transform: scale(1.04);
  will-change: transform;
  transition: transform 1.6s var(--_ease);
}
.cir-hero:hover .cir-hero__media { transform: scale(1.00); }

.cir-hero__veil {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top,    rgba(7,13,22,.85) 0%, rgba(7,13,22,.40) 30%, transparent 60%),
    linear-gradient(to bottom, rgba(7,13,22,.52) 0%, rgba(7,13,22,.24) 16%, transparent 42%),
    linear-gradient(to right,  rgba(7,13,22,.58) 0%, transparent 32%, transparent 68%, rgba(7,13,22,.58) 100%);
}

.cir-hero__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: var(--_grain);
  background-size: 200px 200px;
  opacity: .026;
  mix-blend-mode: soft-light;
}

.cir-hero__inner { position: relative; z-index: 5; }

.cir-hero__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 740px;
}

#sh-circle .cir-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--white);
  text-shadow: 0 16px 48px rgba(0,0,0,.48);
  margin-bottom: clamp(18px, 2.5vw, 28px);
}
#sh-circle .cir-hero__title em { font-style: italic; color: var(--gold); }

#sh-circle .cir-hero__lead {
  font-family: var(--font-body);
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  font-weight: 300;
  line-height: 1.70;
  color: rgba(255,255,255,.55);
  max-width: 540px;
}

/* Hero entrance */
.cir-hero .cir-eyebrow,
.cir-hero .cir-hero__title,
.cir-hero .cir-hero__lead {
  opacity: 0; transform: translateY(30px);
  will-change: opacity, transform;
}
.cir-hero .cir-eyebrow       { animation: cirFadeUp 1s ease .15s forwards; }
.cir-hero .cir-hero__title    { animation: cirFadeUp 1s ease .30s forwards; }
.cir-hero .cir-hero__lead     { animation: cirFadeUp 1s ease .55s forwards; }

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


/* ════════════════════════════════════════════
   02  LEDGER — NAVY (sticky left + scrollable right)
════════════════════════════════════════════ */
.cir-ledger-sec {
  background: var(--navy);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,.06);
}

.cir-split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 5.5vw, 80px);
  align-items: start;
}

/* ── Left: sticky context ── */
.cir-ctx {
  position: relative;
  align-self: stretch;
}
.cir-ctx__sticky {
  position: sticky;
  top: 100px;
}

#sh-circle .cir-ctx__title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: clamp(16px, 2vw, 24px);
}
#sh-circle .cir-ctx__title em {
  font-style: italic;
  color: var(--gold);
}

#sh-circle .cir-ctx__lead {
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 300;
  line-height: 1.74;
  color: rgba(255,255,255,.55);
  max-width: 420px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

/* Access note */
.cir-access {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: clamp(24px, 3vw, 36px);
}
#sh-circle .cir-access i {
  color: var(--gold);
  opacity: .6;
  font-size: .75rem;
  margin-top: 3px;
  flex-shrink: 0;
}
#sh-circle .cir-access span {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 400;
  color: rgba(255,255,255,.50);
  line-height: 1.6;
}

/* CTA in left column */
#sh-circle .btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  border-radius: 0;
  padding: 16px 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .20em;
  font-size: .70rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .3s var(--_ease), color .3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
#sh-circle .btn-primary:hover { background: var(--white); color: var(--navy-dark); }

/* ── Right: pillar list (open ledger) ── */
.cir-pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,.10);
}

.cir-pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(28px, 3.5vw, 42px) 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

#sh-circle .cir-pillar__num {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.4vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  min-width: 3ch;
}

#sh-circle .cir-pillar__title {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}

#sh-circle .cir-pillar__content p {
  font-family: var(--font-body);
  font-size: .90rem;
  font-weight: 300;
  line-height: 1.74;
  color: rgba(255,255,255,.55);
  margin-bottom: 14px;
}

#sh-circle .cir-pillar__track {
  display: block;
  font-family: var(--font-head);
  font-size: .88rem;
  font-style: italic;
  color: var(--gold);
  opacity: .6;
  line-height: 1.5;
}


/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 900px) {
  .cir-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cir-ctx__sticky { position: static; }
}

@media (max-width: 767px) {
  .cir-inner { width: calc(100% - 36px); }

  .cir-hero {
    min-height: 100svh;
    padding-block: 40px 20px;
    display: flex; flex-direction: column;
  }
  .cir-hero__inner { flex-grow: 1; display: flex; align-items: center; }
  #sh-circle .cir-hero__title { font-size: clamp(2rem, 7vw, 2.8rem); }
}

@media (prefers-reduced-motion: reduce) {
  .cir-hero .cir-eyebrow,
  .cir-hero .cir-hero__title,
  .cir-hero .cir-hero__lead {
    animation: none; opacity: 1; transform: none;
  }
}
