/* ==========================================================
   SOWAYA | operations.css
   Operations page only. Load after base.css and page.css.
   ========================================================== */

/* ----- daily cycle ----- */
.cycle__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 7vw, 6rem);
}
.cycle__head {
  align-self: start;
  position: sticky;
  top: 7rem;
}
.cycle__head p:not(.eyebrow) {
  max-width: 26rem;
}
.cycle__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.cycle__list li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.cycle__num {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--gold);
  padding-top: 0.2rem;
}
.cycle__list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}
.cycle__list p {
  margin: 0;
  max-width: 34rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ----- capacity ----- */
.capacity__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.capacity__head .section__head {
  margin-bottom: 0;
}
.capacity__total {
  margin: 0;
  text-align: right;
}
.capacity__total strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--green);
}
.capacity__total span {
  font-size: 0.9rem;
  color: var(--muted);
}
.capacity__bar {
  display: flex;
  gap: 6px;
  height: clamp(56px, 8vw, 88px);
}
.capacity__seg {
  min-width: 0;
  border-radius: 14px;
}
.capacity__seg--a,
.capacity__dot--a {
  background: var(--green);
}
.capacity__seg--b,
.capacity__dot--b {
  background: var(--gold);
}
.capacity__seg--c,
.capacity__dot--c {
  background: var(--green-ink);
}
.capacity__legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3);
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.capacity__legend li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.8rem;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.capacity__dot {
  grid-row: span 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.capacity__legend strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--green-ink);
}
.capacity__legend span:last-child {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ----- egg journey ----- */
.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.journey::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: rgba(247, 243, 232, 0.25);
}
.journey li {
  position: relative;
  padding-top: 0;
}
.journey__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.6rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-ink);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
}
.journey h3 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  color: var(--cream);
}
.journey p {
  max-width: 17rem;
  margin: 0;
  line-height: 1.6;
  color: rgba(247, 243, 232, 0.82);
}

/* ----- records ----- */
.records__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
}
.records__media {
  position: relative;
  isolation: isolate;
  margin: 0 1.5rem 1.5rem 0;
}
.records__media::before {
  content: "";
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  z-index: -1;
  border-radius: var(--radius-lg);
  background: var(--gold);
}
.records__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--sand);
}
.records__copy h2 {
  margin-bottom: 1.4rem;
}
.records__copy p {
  max-width: 36rem;
}

/* ----- planned growth ----- */
.planned {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}
.planned__copy p:not(.eyebrow) {
  max-width: 34rem;
}
.planned__card {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 2px dashed rgba(31, 90, 58, 0.45);
  border-radius: var(--radius-lg);
  background: var(--cream);
}
.planned__flag {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--green-ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.planned__card ul {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.planned__card li {
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.55;
}
.planned__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.planned__note {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

/* ----- responsive ----- */
@media (max-width: 1024px) {
  .cycle__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s4);
  }
  .cycle__head {
    position: static;
  }
  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }
  .journey::before {
    display: none;
  }
}
@media (max-width: 900px) {
  .records__inner,
  .planned {
    grid-template-columns: minmax(0, 1fr);
  }
  .records__media {
    max-width: 560px;
    width: calc(100% - 1.5rem);
  }
  .capacity__total {
    text-align: left;
  }
}
@media (max-width: 640px) {
  .capacity__legend {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .journey {
    grid-template-columns: minmax(0, 1fr);
  }
  .cycle__list li {
    grid-template-columns: 2.75rem minmax(0, 1fr);
  }
}
