/* About (about.php). Site plan: opener = office-life collage beside the h1, the logo's three words cycling under a
   highlighter; set piece = a pinned kinetic type scene (PRECISION, INTEGRITY, RELIABILITY) then the data-security
   panel with lines drawn between the storage providers.
   Backgrounds: white opener → wine kinetic scene → blush security → white local trades → crimson CTA → wine footer. */

/* ---------- Opener ---------- */
.ah { position: relative; background: var(--paper); padding: calc(var(--head-h) + clamp(26px, 4.6vh, 54px)) 0 clamp(44px, 7vh, 72px); overflow: clip; }
.ah__ruling { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(117,21,35,.07) 31px, rgba(117,21,35,.07) 32px); animation: ah-drift 20s linear infinite; }
.ah__ruling::before { content: ''; position: absolute; top: 0; bottom: 0; left: clamp(14px, 3.2vw, 52px); width: 1px; background: rgba(163,24,62,.38); }
@keyframes ah-drift { to { background-position: 0 32px; } }
.ah__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(36px, 5.5vw, 100px); align-items: center; }
.ah__collage { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 12px; height: min(62vh, 560px); }
.ac { position: relative; margin: 0; }
.ac--a { grid-column: 1 / 4; grid-row: 1 / 7; }
.ac--b { grid-column: 4 / 7; grid-row: 1 / 4; }
.ac--c { grid-column: 4 / 5; grid-row: 4 / 7; }
.ac--d { grid-column: 5 / 7; grid-row: 4 / 7; }
.ac__frame { position: absolute; inset: 0; overflow: hidden; background: var(--blush); }
.ac__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ac--a .ac__frame img { object-position: 78% 12%; }
.ac--b .ac__frame img { object-position: 50% 52%; }
.ac--d .ac__frame img { object-position: 50% 30%; }
.motion .ac__frame img { animation: breathe 13s ease-in-out infinite alternate; }
.ac--b .ac__frame img { animation-delay: -4s; } .ac--c .ac__frame img { animation-delay: -7s; } .ac--d .ac__frame img { animation-delay: -10s; }
.ac--a::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1.5px solid var(--crimson); pointer-events: none; }
.ah__stamp { position: absolute; left: 50%; top: 50%; z-index: 3; width: 150px; height: 94px; margin: -47px 0 0 -75px; display: grid; place-content: center; text-align: center; border: 3px solid var(--crimson); outline: 1.5px solid var(--crimson); outline-offset: -9px; border-radius: 50%; color: var(--crimson); background: rgba(255,255,255,.92); transform: rotate(-10deg); box-shadow: 0 14px 30px rgba(34,9,15,.2); }
.ah__stamp span { font-family: var(--serif); font-size: 1.2rem; line-height: 1.05; }
.ah__stamp small { margin-top: 3px; font-weight: 700; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.ah__title { font-size: clamp(2.4rem, min(4.3vw, 8vh), 4.4rem); line-height: 1.03; margin-bottom: clamp(16px, 2.6vh, 26px); }
.ah__words { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: clamp(14px, 2.4vh, 22px); }
.ah__wlead { font-weight: 700; color: var(--claret); }
.ah__cycle { display: inline-grid; font-family: var(--serif); font-size: clamp(1.9rem, 2.8vw, 2.7rem); line-height: 1.1; }
.ah__w { grid-area: 1 / 1; visibility: hidden; }
.ah__w.is-on { visibility: visible; }
.no-js .ah__cycle, .rm .ah__cycle, .motion-fail .ah__cycle { display: inline-flex; flex-wrap: wrap; gap: 0 12px; }
.no-js .ah__w, .rm .ah__w, .motion-fail .ah__w { visibility: visible; }
.ah__lede { color: var(--ink); margin-bottom: clamp(20px, 3vh, 30px); }
.motion:not(.motion-fail) [data-ah-in], .motion:not(.motion-fail) [data-ah-stamp] { opacity: 0; }
.motion:not(.motion-fail) .ac { clip-path: inset(0 100% 0 0); }
@media (max-width: 900px) {
  .ah__grid { grid-template-columns: minmax(0, 1fr); }
  .ah__copy { order: -1; }
  .ah__collage { height: min(70vw, 380px); gap: 8px; margin-left: 10px; }
  .ah__stamp { width: 118px; height: 74px; margin: -37px 0 0 -59px; }
  .ah__stamp span { font-size: 1rem; }
}
@media (max-width: 560px) { .ah__title { font-size: clamp(2rem, 9vw, 2.7rem); } .ah .btn-row .btn { flex: 1 1 100%; } .ac--a::before { inset: -8px 8px 8px -8px; } }

/* ---------- Kinetic type: the three words take the screen in turn ---------- */
.kv { position: relative; background: var(--wine); color: var(--on-dark); overflow: clip; }
.kv__pin { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--head-h) + 24px) 0 40px; overflow: clip; }
.kv__ruling { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 39px, rgba(255,255,255,.045) 39px, rgba(255,255,255,.045) 40px); animation: kv-drift 18s linear infinite; }
@keyframes kv-drift { to { background-position: 0 40px; } }
.kv__ring { position: absolute; z-index: 0; left: 50%; top: 54%; width: min(1500px, 120vw); transform: translate(-50%, -50%); overflow: visible; pointer-events: none; }
.kv__track { fill: none; stroke: rgba(242,214,75,.25); stroke-width: 1.5; stroke-dasharray: 3 12; animation: dash-turn 40s linear infinite; }
.kv__fill { fill: none; stroke: var(--crimson); stroke-width: 5; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.kv__wrap { position: relative; z-index: 1; width: min(1320px, 100% - var(--gutter) * 2); }
.kv__stage { display: grid; gap: 64px; }
.kw__word { margin: 0; font-family: var(--serif); font-size: clamp(2.9rem, 11.2vw, 11.4rem); line-height: .98; letter-spacing: .01em; color: #fff; white-space: nowrap; }
.kw__word .ch { display: inline-block; }
.kw__line { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1.25; color: var(--on-dark); margin: clamp(10px, 2vh, 20px) 0 clamp(16px, 3vh, 30px); }
.kw__points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 24px; }
.kw__points li { position: relative; padding: 14px 0 0 30px; border-top: 1px solid rgba(255,255,255,.22); font-weight: 600; color: var(--on-dark); line-height: 1.4; }
.kw__points li::before { content: ''; position: absolute; left: 0; top: 1.15em; width: 16px; height: 9px; border-left: 2.5px solid var(--highlight); border-bottom: 2.5px solid var(--highlight); transform: rotate(-45deg); }
.kv__steps { list-style: none; margin: clamp(22px, 4vh, 44px) 0 0; padding: 0; display: none; gap: 28px; }
.kv__steps li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--on-dark-soft); transition: color .4s; }
.kv__steps span { display: grid; place-items: center; width: 34px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .82rem; }
.kv__steps li.is-on { color: var(--highlight); }
.kv__steps li.is-past { color: var(--on-dark); }
/* Live (JS + motion): the three words share one stage and swap as you scroll */
.kv.is-live .kv__stage { display: grid; gap: 0; }
.kv.is-live .kw { grid-area: 1 / 1; }
.kv.is-live .kv__steps { display: flex; }
.kv.is-live .kv__fill { stroke-dashoffset: 1; }
@media (max-width: 1000px) { .kw__points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .kv__pin { padding-top: calc(var(--head-h) + 16px); }
  .kw__points { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .kw__points li { padding: 9px 0 9px 28px; font-size: .97rem; }
  .kw__points li::before { top: 1em; }
  .kv__steps { gap: 14px; font-size: .9rem; }
  .kv__ring { top: 40%; width: 180vw; }
}

/* ---------- Data security: lines drawn between the providers ---------- */
.sec { overflow: clip; }
.sec__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.sec__diagram { position: relative; aspect-ratio: 600 / 460; max-height: var(--media-cap); }
.sec__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sec__line { fill: none; stroke: var(--crimson); stroke-width: 2.5; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.sec__line--ring { stroke: rgba(117,21,35,.35); stroke-width: 1.5; }
.motion:not(.motion-fail) .sec__line { stroke-dashoffset: 1; }
.sec__pkt { fill: var(--highlight); stroke: var(--claret); stroke-width: 2; opacity: 0; filter: drop-shadow(0 0 6px rgba(242,214,75,.9)); }
.node { position: absolute; z-index: 2; transform: translate(-50%, -50%); display: grid; text-align: center; min-width: 150px; max-width: 46%; padding: 12px 16px; background: #fff; border-top: 3px solid var(--crimson); box-shadow: 0 16px 34px rgba(34,9,15,.14); }
.node b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.15; }
.node small { font-size: .88rem; color: var(--ink-soft); line-height: 1.3; margin-top: 2px; }
.node--core { min-width: 0; width: clamp(150px, 15vw, 196px); aspect-ratio: 1.55; place-content: center; border: 3px solid #fff; outline: 2px solid var(--crimson); outline-offset: -9px; border-radius: 50%; background: var(--crimson); color: #fff; box-shadow: 0 20px 40px rgba(117,21,35,.35); }
.node--core small { color: #FBE3E8; }
.sec__clock { position: absolute; right: 0; bottom: 4%; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 12px; background: var(--wine); color: #fff; font-weight: 700; font-size: .92rem; }
.sec__tick { position: relative; width: 18px; height: 18px; border: 2px solid var(--highlight); border-radius: 50%; }
.sec__tick::after { content: ''; position: absolute; left: 50%; bottom: 50%; width: 2px; height: 6px; margin-left: -1px; background: var(--highlight); transform-origin: 50% 100%; animation: sec-hand 4s linear infinite; }
@keyframes sec-hand { to { transform: rotate(360deg); } }
.sec__copy h2 { margin-bottom: 18px; }
.sec__copy .lede { margin-bottom: 24px; }
.sec__list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; }
.sec__list > div { padding-top: 12px; border-top: 2px solid var(--ink); }
.sec__list dt { font-weight: 700; font-size: 1.08rem; margin-bottom: 4px; }
.sec__list dd { margin: 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.5; }
@media (max-width: 1000px) { .sec__grid { grid-template-columns: minmax(0, 1fr); } .sec__diagram { width: min(100%, 600px); } }
@media (max-width: 560px) { .node { min-width: 0; padding: 8px 8px; } .node b { font-size: 1rem; } .node small { font-size: .74rem; } .node--core { width: 112px; outline-offset: -7px; } .sec__clock { font-size: .82rem; bottom: -6%; } .sec__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Local trades: a list with a fixed photo pane ---------- */
.loc { overflow: clip; padding-block: clamp(56px, 6vw, 84px); }
.loc__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.loc__list { display: grid; border-top: 2px solid var(--ink); }
.loc__item { position: relative; display: grid; gap: 4px; width: 100%; padding: 13px 20px 13px 22px; border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left; cursor: pointer; isolation: isolate; }
.loc__item::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--blush); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.loc__item::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--crimson); transform: scaleY(0); transition: transform .45s var(--ease); }
.loc__item.is-on::before, .loc__item:hover::before { transform: scaleX(1); }
.loc__item.is-on::after { transform: scaleY(1); }
.loc__t { font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.65rem); line-height: 1.15; color: var(--ink); }
.loc__p { color: var(--ink-soft); font-size: .98rem; line-height: 1.5; }
.loc__pane { position: relative; aspect-ratio: 1264 / 848; max-height: var(--media-cap); margin-bottom: 30px; }
.loc__ph { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 100% 0 0); }
.loc__ph.is-on { clip-path: inset(0 0% 0 0); }
.loc__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.motion .loc__ph.is-on img { animation: breathe 12s ease-in-out infinite alternate; }
.loc__pane::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--crimson); pointer-events: none; }
.loc__fees { position: absolute; left: clamp(-56px, -4vw, -30px); bottom: -30px; z-index: 2; margin: 0; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-top: 3px solid var(--crimson); box-shadow: 0 20px 40px rgba(34,9,15,.18); }
.loc__fees > div { padding: 12px 18px; }
.loc__fees > div + div { border-left: 1px solid var(--rule); }
.loc__fees dt { font-size: .88rem; font-weight: 700; color: var(--claret); text-transform: uppercase; letter-spacing: .06em; }
.loc__fees dd { margin: 0; font-weight: 600; font-size: 1.7rem; letter-spacing: -.03em; line-height: 1.1; }
.loc__fees small { font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
@media (max-width: 900px) { .loc__grid { grid-template-columns: minmax(0, 1fr); } .loc__pane { order: -1; margin: 0 18px 50px 0; } .loc__fees { left: 10px; } }
@media (max-width: 560px) { .loc__fees dd { font-size: 1.35rem; } .loc__fees > div { padding: 10px 12px; } }

/* ---------- CTA ---------- */
.acta { overflow: clip; padding-block: clamp(64px, 8vw, 110px); }
.acta__oval { position: absolute; right: -16vw; top: -40%; width: 70vw; height: 140%; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 0 0 40px rgba(255,255,255,.035), inset 0 0 0 80px rgba(255,255,255,.025); animation: wobble 24s ease-in-out infinite alternate; pointer-events: none; }
.acta__grid { position: relative; display: grid; grid-template-columns: min(420px, 34%) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.acta h2 { color: #fff; margin-bottom: 18px; }
.acta__copy > p { font-size: clamp(1.08rem, 1.25vw, 1.2rem); color: #FBE3E8; margin-bottom: 28px; }
.acta__photo { position: relative; margin: 0; padding: 20px; width: 100%; }
.acta__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.acta__ring ellipse { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.5; stroke-dasharray: 5 10; animation: dash-turn 34s linear infinite; }
.acta__photo .frame { aspect-ratio: 1; max-height: var(--media-cap); border-radius: 50%; }
.acta__photo .frame img { position: absolute; inset: -6% 0 auto; height: 112%; object-position: 60% 40%; }
.acta__photo .cap { left: auto; right: 10px; max-width: 100%; bottom: 30px; border-left: 3px solid var(--highlight); box-shadow: 0 12px 26px rgba(0,0,0,.25); }
.acta__next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.acta__next a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 10px 16px; background: rgba(255,255,255,.1); border-left: 3px solid var(--highlight); color: #fff; font-weight: 700; text-decoration: none; transition: background .3s, transform .35s var(--ease); }
.acta__next a:hover { background: rgba(255,255,255,.2); transform: translateX(6px); }
.acta__next svg { width: 18px; flex: none; }
@media (max-width: 900px) { .acta__grid { grid-template-columns: minmax(0, 1fr); } .acta__photo { width: min(78%, 320px); } .acta__next { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .node:not(.node--core) small { display: none; } .node:not(.node--core) { padding: 7px 10px; } }
/* Ambient: the core of the diagram sends out a slow pulse, as if a backup is running */
.node--core::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--crimson); pointer-events: none; }
.motion .node--core::after { animation: core-pulse 2.6s ease-out infinite; }
@keyframes core-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.45); opacity: 0; } }
