/* ==========================================================================
   ORIVANA — Component kit shared across inner pages
   Page hero, section rhythm, prose, flow diagram, index rows, panels,
   cards, stats, data tables, kinetic marquee.
   ========================================================================== */

/* Page hero */
.au-phero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--au-ink); color: var(--au-linen);
  padding: clamp(9rem, 16vw, 12rem) 0 0; min-height: 88svh;
  display: flex; flex-direction: column; justify-content: space-between;
}
.au-phero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,18,11,.5), rgba(6,18,11,0) 35%, rgba(6,18,11,.35) 70%, rgba(6,18,11,.9)); }
.au-phero__in { position: relative; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: end; padding-bottom: clamp(3rem, 6vw, 5rem); }
.au-phero--img .au-phero__in { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
.au-crumb { display: flex; align-items: center; gap: .7rem; font: 500 .8rem/1 var(--au-sans); color: rgba(243,238,227,.55); margin-bottom: 2.2rem; }
.au-crumb a { color: rgba(243,238,227,.55); text-decoration: none; transition: color .3s; }
.au-crumb a:hover { color: var(--au-linen); }
.au-crumb i { width: 18px; height: 1px; background: rgba(243,238,227,.3); }
.au-crumb span { color: var(--au-linen); }
.au-phero__title {
  font-size: clamp(3rem, 8vw, 8rem) !important; line-height: .95 !important; letter-spacing: -.04em !important;
  color: var(--au-linen) !important; font-weight: 300 !important; margin: 1.4rem 0 2.4rem; max-width: 15ch;
}
.au-phero--img .au-phero__title { font-size: clamp(2.8rem, 6.4vw, 6.8rem) !important; }
.au-phero__title em { color: var(--au-honey) !important; font-style: italic; }
.au-phero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: end; }
.au-phero--img .au-phero__row { grid-template-columns: 1fr; }
.au-phero__lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.7; color: rgba(243,238,227,.74); max-width: 54ch; }
.au-phero__fig { position: relative; margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4/5; max-height: 62vh; justify-self: end; width: 100%; box-shadow: 0 50px 100px -40px rgba(0,0,0,.8); }
.au-phero__fig img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.au-phero__fig figcaption { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; font: 500 .74rem/1.4 var(--au-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--au-linen); padding: .7rem .9rem; border-radius: 12px; background: rgba(6,18,11,.5); backdrop-filter: blur(10px); }
.au-phero__meta { position: relative; border-top: 1px solid var(--au-line-light); }
.au-phero__meta-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.au-phero__meta-in > div { padding: 1.4rem 1.4rem 1.6rem 0; display: grid; gap: .45rem; border-right: 1px solid var(--au-line-light); }
.au-phero__meta-in > div + div { padding-left: 1.4rem; }
.au-phero__meta-in > div:last-child { border-right: 0; }
.au-phero__meta span { font: 500 .72rem/1 var(--au-sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(243,238,227,.5); }
.au-phero__meta b { font: 400 1.35rem/1.15 var(--au-serif); color: var(--au-linen); }
.au-js [data-hero-fade], .au-js [data-hero-fig] { opacity: 0; }

/* Section rhythm */
.au-sec { position: relative; padding: clamp(5.5rem, 11vw, 10rem) 0; }
.au-sec--tight { padding: clamp(4rem, 7vw, 6rem) 0; }
.au-sec--paper { background: var(--au-paper); }
.au-sec--linen { background: var(--au-linen); }
.au-sec--ink { background: var(--au-ink); color: var(--au-linen); isolation: isolate; overflow: hidden; }
.au-sec--ink .au-display { color: var(--au-linen); }
.au-sec--ink .au-display em { color: var(--au-honey); }
.au-sec--ink .au-sub { color: rgba(243,238,227,.7); }
.au-sec--ink .au-eyebrow { color: var(--au-sage); }
.au-sec--paper + .au-sec--paper { border-top: 1px solid var(--au-line); }
.au-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.au-split--center { align-items: center; }
.au-split--even { grid-template-columns: 1fr 1fr; }
.au-sticky { position: sticky; top: 110px; }

/* Long-form copy */
.au-prose { display: grid; gap: 1.2rem; color: var(--au-muted); font-size: 1.06rem; line-height: 1.78; max-width: 60ch; }
.au-prose strong { color: var(--au-ink); font-weight: 600; }
.au-sec--ink .au-prose { color: rgba(243,238,227,.72); }
.au-sec--ink .au-prose strong { color: var(--au-linen); }
.au-lede { font: 300 clamp(1.6rem, 2.9vw, 2.6rem)/1.28 var(--au-serif); letter-spacing: -.02em; color: var(--au-ink); max-width: 30ch; }
.au-lede em { color: var(--au-amber); }
.au-sec--ink .au-lede { color: var(--au-linen); }
.au-sec--ink .au-lede em { color: var(--au-honey); }
.au-js [data-highlight] .au-hw { opacity: .16; }

/* Vertical flow diagram */
.au-flow { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: flow; }
.au-flow::before, .au-flow::after { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px; background: var(--au-line); }
.au-flow::after { background: linear-gradient(var(--au-lime), var(--au-amber)); transform-origin: top; transform: scaleY(var(--p, 0)); width: 2px; left: 20.5px; }
.au-flow li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 1.3rem; padding: 0 0 2.2rem; counter-increment: flow; }
.au-flow li:last-child { padding-bottom: 0; }
.au-flow li::before {
  content: counter(flow, decimal-leading-zero); position: relative; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: 500 .78rem/1 var(--au-sans); color: var(--au-ink); background: var(--au-paper); border: 1px solid var(--au-line);
  transition: background .5s, color .5s, border-color .5s;
}
.au-flow li.is-on::before { background: var(--au-ink); color: var(--au-honey); border-color: var(--au-ink); }
.au-flow b { display: block; font: 400 1.35rem/1.2 var(--au-serif); color: var(--au-ink); margin: .55rem 0 .4rem; letter-spacing: -.01em; }
.au-flow span { color: var(--au-muted); font-size: .95rem; line-height: 1.6; }
.au-flow__foot { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--au-line); display: flex; flex-wrap: wrap; gap: .6rem; }
.au-tagpill { font: 500 .76rem/1 var(--au-sans); padding: .6rem .9rem; border-radius: 999px; background: rgba(110,154,48,.1); color: var(--au-olive); border: 1px solid rgba(110,154,48,.22); }
.au-card-shell { background: #fff; border: 1px solid var(--au-line); border-radius: 26px; padding: clamp(1.8rem, 3vw, 2.6rem); }
.au-card-shell__title { font: 500 .76rem/1 var(--au-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--au-leaf); margin-bottom: 2rem; }

/* Index rows — typographic list that inks in on hover */
.au-index { border-top: 1px solid var(--au-line); }
.au-index__row {
  position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, .8fr); gap: 1.5rem 3rem;
  padding: 2.4rem 1rem 2.4rem 0; border-bottom: 1px solid var(--au-line); align-items: start; overflow: hidden; isolation: isolate;
}
.au-index__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--au-ink); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--au-ease); }
.au-index__n { font: 300 1.1rem/1.6 var(--au-serif); color: var(--au-leaf); transition: color .5s, padding .7s var(--au-ease); padding-left: .2rem; }
.au-index__row h3 { font: 300 clamp(1.5rem, 2.6vw, 2.35rem)/1.15 var(--au-serif) !important; letter-spacing: -.025em !important; color: var(--au-ink); transition: color .5s, transform .7s var(--au-ease); margin: 0; }
.au-index__row p { color: var(--au-muted); line-height: 1.7; font-size: .98rem; transition: color .5s; margin: 0; }
.au-index__row:hover::before { transform: scaleY(1); transform-origin: top; }
.au-index__row:hover h3 { color: var(--au-linen); transform: translateX(12px); }
.au-index__row:hover p { color: rgba(243,238,227,.75); }
.au-index__row:hover .au-index__n { color: var(--au-honey); padding-left: 1.2rem; }

/* Dark panel with living field */
.au-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: 30px; background: var(--au-ink); color: var(--au-linen); padding: clamp(2.4rem, 5vw, 4.5rem); }
.au-panel .au-gl { opacity: .6; }
.au-panel__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.au-panel p { color: rgba(243,238,227,.74); line-height: 1.75; margin-bottom: 1.8rem; }

/* Closing CTA */
.au-closing { text-align: center; }
.au-closing .au-display { max-width: 18ch; margin-left: auto; margin-right: auto; }
.au-closing .au-sub { margin: 0 auto 2.4rem; }
.au-address { display: inline-grid; gap: .35rem; margin: 0 auto 2.6rem; padding: 1.3rem 1.8rem; border-radius: 20px; border: 1px solid var(--au-line); background: #fff; color: var(--au-muted); font-size: .95rem; line-height: 1.6; }
.au-address b { color: var(--au-ink); font-weight: 600; }
.au-address code { font: 500 .82rem/1 var(--au-code); color: var(--au-amber); }

/* Generic cards */
.au-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.au-card {
  --mx: 50%; --my: 50%; position: relative; overflow: hidden; isolation: isolate;
  background: #fff; border: 1px solid var(--au-line); border-radius: 22px; padding: 2rem;
  transition: transform .6s var(--au-ease), box-shadow .6s var(--au-ease), border-color .6s;
}
.au-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(340px circle at var(--mx) var(--my), rgba(155,192,94,.16), transparent 55%); opacity: 0; transition: opacity .4s; }
.au-card:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -40px rgba(6,18,11,.45); border-color: rgba(110,154,48,.3); }
.au-card:hover::after { opacity: 1; }
.au-card__n { font: 300 2.6rem/1 var(--au-serif); color: var(--au-leaf); letter-spacing: -.04em; margin-bottom: 1.6rem; display: block; }
.au-card__k { font: 500 .74rem/1.3 var(--au-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--au-amber); margin-bottom: 1rem; display: block; }
.au-card h3 { font: 400 1.45rem/1.2 var(--au-serif) !important; letter-spacing: -.015em !important; color: var(--au-ink); margin-bottom: .8rem; }
.au-card p { color: var(--au-muted); font-size: .95rem; line-height: 1.65; }
.au-card ul { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.au-card li { position: relative; padding-left: 1.2rem; color: var(--au-muted); font-size: .92rem; line-height: 1.5; }
.au-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 0 100% 0 100%; background: var(--au-leaf); }
.au-card--ink { background: var(--au-forest); border-color: rgba(243,238,227,.1); color: var(--au-linen); }
.au-card--ink h3 { color: var(--au-linen); }
.au-card--ink p, .au-card--ink li { color: rgba(243,238,227,.7); }
.au-card__foot { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--au-line); font-size: .86rem; color: var(--au-ink); line-height: 1.5; }
.au-card__foot strong { color: var(--au-amber); font-weight: 600; }

/* Stats */
.au-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 1px solid var(--au-line); }
.au-stats > div { padding: 1.8rem 1.2rem 1.8rem 0; border-right: 1px solid var(--au-line); }
.au-stats > div + div { padding-left: 1.4rem; }
.au-stats > div:last-child { border-right: 0; }
.au-stats b { display: block; font: 300 clamp(2.2rem, 3.8vw, 3.4rem)/1 var(--au-serif); letter-spacing: -.04em; color: var(--au-ink); }
.au-stats span { display: block; margin-top: .7rem; font-size: .88rem; color: var(--au-muted); line-height: 1.45; }
.au-sec--ink .au-stats, .au-sec--ink .au-stats > div { border-color: var(--au-line-light); }
.au-sec--ink .au-stats b { color: var(--au-linen); }
.au-sec--ink .au-stats span { color: rgba(243,238,227,.62); }

/* Data table */
.au-table-wrap { border: 1px solid var(--au-line); border-radius: 22px; overflow: auto; background: #fff; }
.au-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.au-table th { text-align: left; font: 500 .72rem/1.3 var(--au-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--au-muted); padding: 1.1rem 1.3rem; background: var(--au-linen); border-bottom: 1px solid var(--au-line); }
.au-table td { padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--au-line); color: var(--au-ink); vertical-align: top; line-height: 1.55; }
.au-table tr:last-child td { border-bottom: 0; }
.au-table tbody tr { transition: background .3s; }
.au-table tbody tr:hover { background: rgba(110,154,48,.06); }
.au-table td:first-child { font-weight: 600; }

/* Kinetic marquee */
.au-kinetic { overflow: hidden; padding: 2.4rem 0; border-block: 1px solid var(--au-line); background: var(--au-paper); }
.au-kinetic__track { display: flex; width: max-content; will-change: transform; }
.au-kinetic__set { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; }
.au-kinetic__set span { font: 300 clamp(3rem, 7vw, 6.4rem)/1.05 var(--au-serif); letter-spacing: -.04em; white-space: nowrap; color: var(--au-ink); }
.au-kinetic__set span:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1px rgba(6,18,11,.45); font-style: italic; }
.au-kinetic__set i { width: 22px; height: 22px; background: var(--au-amber); border-radius: 0 100% 0 100%; flex: none; }

@media (max-width: 900px) {
  .au-phero { min-height: auto; }
  .au-phero--img .au-phero__in, .au-phero__row, .au-split, .au-split--even, .au-panel__grid { grid-template-columns: 1fr; }
  .au-phero__fig { aspect-ratio: 4/3; max-height: none; }
  .au-index__row { grid-template-columns: 50px 1fr; }
  .au-index__row p { grid-column: 2; }
  .au-sticky { position: relative; top: 0; }
  .au-phero__meta-in > div { border-right: 0; border-bottom: 1px solid var(--au-line-light); padding-left: 0 !important; }
  .au-stats > div { border-right: 0; border-bottom: 1px solid var(--au-line); padding-left: 0 !important; }
}
.au-split .au-display, .au-panel .au-display { font-size: clamp(2.2rem, 3.9vw, 3.9rem); }

/* Outline button */
.au-btn--outline { background: transparent; color: var(--au-ink); border-color: rgba(6,18,11,.25); }
.au-btn--outline::before { background: var(--au-ink); }
.au-btn--outline:hover { color: var(--au-linen); }

/* Capacity dials */
.au-dials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.au-dial { padding: 2rem; border-radius: 26px; border: 1px solid var(--au-line-light); background: linear-gradient(170deg, rgba(243,238,227,.06), rgba(243,238,227,.015)); backdrop-filter: blur(10px); }
.au-dial__top { display: flex; justify-content: space-between; gap: 1rem; font: 500 .74rem/1.3 var(--au-sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(243,238,227,.55); }
.au-dial__top em { font-style: normal; color: var(--au-lime); }
.au-dial__ring { position: relative; width: min(230px, 100%); aspect-ratio: 1; margin: 2rem auto 1.8rem; }
.au-dial__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.au-dial__ticks { fill: none; stroke: rgba(243,238,227,.22); stroke-width: 6; stroke-dasharray: 1.2 7.4; }
.au-dial__track { fill: none; stroke: rgba(243,238,227,.08); stroke-width: 2; }
.au-dial__arc { fill: none; stroke: var(--au-honey); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 465; stroke-dashoffset: 465; }
.au-dial__val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.au-dial__val b { font: 300 clamp(3.2rem, 5vw, 4.4rem)/1 var(--au-serif); letter-spacing: -.05em; color: var(--au-linen); }
.au-dial__val span { font: 500 .78rem/1 var(--au-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--au-honey); margin-top: .5rem; }
.au-dial h3 { font: 400 1.5rem/1.2 var(--au-serif) !important; color: var(--au-linen); margin-bottom: .8rem; letter-spacing: -.015em !important; }
.au-dial p { font-size: .93rem; line-height: 1.65; color: rgba(243,238,227,.68); }
.au-dial p strong { color: var(--au-linen); font-weight: 600; }

/* Zones + accordion */
.au-zone { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); padding: 3.5rem 0; border-top: 1px solid var(--au-line); }
.au-zone__num { font: 500 .78rem/1 var(--au-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--au-amber); }
.au-zone__title { font: 300 clamp(1.7rem, 2.8vw, 2.5rem)/1.12 var(--au-serif) !important; letter-spacing: -.025em !important; color: var(--au-ink); margin: 1rem 0 1.6rem; }
.au-zone__img { border-radius: 20px; overflow: hidden; aspect-ratio: 16/11; }
.au-zone__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--au-ease); }
.au-zone:hover .au-zone__img img { transform: scale(1.06); }
.au-acc { display: grid; gap: .8rem; align-content: start; }
.au-acc__item { border: 1px solid var(--au-line); border-radius: 22px; background: #fff; overflow: hidden; transition: border-color .4s, box-shadow .6s var(--au-ease); }
.au-acc__item.is-open { border-color: rgba(110,154,48,.35); box-shadow: 0 30px 60px -40px rgba(6,18,11,.4); }
.au-acc__head { width: 100%; display: grid; grid-template-columns: 1fr 44px; gap: .5rem 1rem; text-align: left; padding: 1.6rem 1.6rem 1.6rem 1.8rem; background: none; border: 0; cursor: pointer; color: inherit; font: inherit; }
.au-acc__tag { grid-column: 1; font: 500 .72rem/1 var(--au-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--au-leaf); }
.au-acc__name { grid-column: 1; font: 400 clamp(1.2rem, 1.6vw, 1.45rem)/1.25 var(--au-serif); color: var(--au-ink); letter-spacing: -.01em; }
.au-acc__icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--au-line); position: relative; transition: background .4s, border-color .4s, transform .6s var(--au-ease); }
.au-acc__icon::before, .au-acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--au-ink); transform: translate(-50%, -50%); transition: transform .5s var(--au-ease), background .4s; }
.au-acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.au-acc__item.is-open .au-acc__icon { background: var(--au-ink); border-color: var(--au-ink); transform: rotate(180deg); }
.au-acc__item.is-open .au-acc__icon::before, .au-acc__item.is-open .au-acc__icon::after { background: var(--au-honey); }
.au-acc__item.is-open .au-acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.au-acc__head:hover .au-acc__icon { border-color: var(--au-ink); }
.au-acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--au-ease); }
.au-acc__body > div { overflow: hidden; }
.au-acc__item.is-open .au-acc__body { grid-template-rows: 1fr; }
.au-fields { margin: 0; padding: 0 1.8rem 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.au-fields > div { padding: 1.1rem 1.2rem 1.1rem 0; border-top: 1px solid var(--au-line); }
.au-fields > div:nth-child(even) { padding-left: 1.2rem; }
.au-fields > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.au-fields dt { font: 500 .7rem/1 var(--au-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--au-muted); margin-bottom: .55rem; }
.au-fields dd { margin: 0; font-size: .94rem; line-height: 1.6; color: var(--au-ink); }
.au-table__sub { display: block; margin-top: .3rem; font-weight: 400; font-size: .82rem; color: var(--au-muted); }

@media (max-width: 900px) {
  .au-dials, .au-zone { grid-template-columns: 1fr; }
  .au-fields { grid-template-columns: 1fr; }
  .au-fields > div:nth-child(even) { padding-left: 0; }
}
