/* linkolu-plus.css — minimal additions on top of the original site (linkolu.css).
   Loaded only by index.html; original.html stays untouched.
   1. Sidebar: LinkedIn + GitHub icons next to the logo
   2. Sidebar: small icons in the nav pills
   3. Footer wordmark — cocoonblanket.com hollow-outline treatment
*/

/* ---------- 1. Social icons beside the logo ---------- */
.side-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.side-social { display: flex; gap: 8px; padding-top: 6px; }
.side-social a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(244,244,245,.05);
  box-shadow: inset 0 0 0 1px rgba(244,244,245,.08);
  color: var(--muted);
  transition: background .3s, color .3s;
}
.side-social a:hover { background: var(--gold); color: var(--dark); }
.side-social svg { width: 15px; height: 15px; }
html.light .side-social a { background: rgba(10,10,11,.05); box-shadow: inset 0 0 0 1px rgba(10,10,11,.09); }

/* ---------- 2. Icons in the nav pills ---------- */
.side-nav a { justify-content: flex-start !important; gap: 11px; }
.side-nav a svg { width: 16px; height: 16px; flex: none; opacity: .55; transition: opacity .25s; }
.side-nav a:hover svg, .side-nav a.active svg { opacity: 1; }

/* Hero ghost links carry the same icons so the scroll morph widths match
   (the sidebar pills size to these links when the morph kicks in) */
.ghost-links a { justify-content: flex-start; gap: 9px; }
.ghost-links a svg { width: 15px; height: 15px; flex: none; opacity: .65; }

/* ---------- 3. Footer — cocoonblanket.com: black footer, logo-colored hollow wordmark ---------- */
/* Their logo is monochrome currentColor (white on dark); their footer is
   bg-black with the giant wordmark as a thin light outline. Follow that:
   footer forced black in every page theme, wordmark white hollow with a
   soft white sheen that follows the pointer (the --mx/--my GSAP drift).
   The wordmark runs Orbitron (OFL, self-hosted) — picked when a suggested
   "GRΛNDSHIPMΛTΞS" typeface turned out to be an invented name, absent from
   every catalog incl. MyFonts' 400k. Orbitron's squared space-age caps
   suit the black-footer treatment. */
@font-face {
  font-family: 'Orbitron';
  src: url('fonts/orbitron-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
footer[data-theme="dark"] {
  background: #0a0a0b;
  color: #f4f4f5;
  --ink: #f4f4f5;
  --muted: rgba(244,244,245,.55);
  --line: rgba(244,244,245,.12);
  --line-2: rgba(244,244,245,.24);
}
p.foot-big.foot-cocoon {
  display: block;
  text-align: center;
  margin: 64px 0 10px -.05em;
  font-family: 'Orbitron', var(--sans), "SF Pro Text", "Helvetica Neue", Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 600;
  /* 8 glyphs in a wide face — fills the same footprint the 13-greek one did */
  font-size: clamp(56px, 10.2vw, 176px) !important;
  letter-spacing: 0;
  text-transform: uppercase;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1.5px !important;
  -webkit-text-stroke-color: rgba(255,255,255,.58) !important;
  filter: drop-shadow(0 0 26px rgba(255,255,255,.22)) !important;
  /* top bleed: letters cropped like cocoonblanket.com. Orbitron is ~6.5em wide
     for OLUSANYA, so at 10.2vw the word fills the wrap with an even edge crop. */
  clip-path: inset(14% -4% 0 -4%);
  /* `background` (not background-image) + !important: the original stylesheet
     sets .foot-big { background: <teal/lime radial> !important } and a plain
     longhand loses to it. Source order puts this file after linkolu.css.
     Layers: pointer sheen over a diagonal metallic band over a flat white
     fill, so every glyph reads as solid foreground text (the word is wider
     than any single radial, so a narrow sheen left the outer letters as
     ghost outlines). */
  background: radial-gradient(38% 85% at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 72%),
              linear-gradient(100deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.62) 46%, rgba(255,255,255,.4) 100%),
              linear-gradient(rgba(255,255,255,.16), rgba(255,255,255,.16)) !important;
  background-position: 0 0 !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
p.foot-big.foot-cocoon::after { opacity: 0 !important; animation: none !important; }

/* ---------- 3b. Platinum logo — the footer wordmark's metal finish, reused on
   the "Olú" wordmark. The footer builds platinum from translucent white over a
   dark panel; the logo sits on the light side panel, so the same look is baked
   as an opaque silver gradient (background-independent) with a hairline stroke
   and shadow for legibility. !important beats the theme accent-colour overrides. */
.side-logo, .topbar .tl {
  background: linear-gradient(150deg, #f6f7f8 0%, #c7c9ce 20%, #8b8e95 43%, #edeef0 58%, #9ea1a8 79%, #cfd2d6 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: .5px rgba(82,82,91,.32) !important;
  filter: drop-shadow(0 1px 1px rgba(10,10,11,.2)) !important;
}
/* Accent the "ú": platinum wordmark with a brand-accent pop on the final glyph. */
.side-logo .lu-ac, .topbar .tl .lu-ac {
  background: none !important;
  -webkit-text-fill-color: var(--accent) !important;
  -webkit-text-stroke: 0 !important;
}

/* ---------- 4. Pricing anchors on the engagement cards ---------- */
.pack .price { display: block; font-size: clamp(24px, 2vw, 28px); }
.pack .price-note { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.eng-note { margin: 28px auto 0; max-width: 620px; text-align: center; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.eng-note b { color: var(--ink); font-weight: 500; }

/* ---------- 5. Hero copy sits at portrait chest level ---------- */
/* The text column and the portrait are both bottom-anchored, which puts the
   headline up at shoulder level of the photo. Nudge the copy down so it reads
   against the chest area instead. Desktop only — mobile stacks the photo. */
@media (min-width: 1024px) {
  .hero-body > div:first-child { transform: translateY(clamp(30px, 6vh, 72px)); }
}

/* ---------- 5. /work — full portfolio grid ---------- */
.folio-head { padding: clamp(84px,12vw,152px) 0 clamp(26px,4vw,46px); }
.folio-head .eyebrow { margin: 0 0 14px; }
.folio-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(58px,9.5vw,132px); line-height: .92; letter-spacing: -.02em; margin: 0; }
.folio-sub { color: var(--muted); max-width: 42em; margin: 22px 0 0; font-size: clamp(16px,1.25vw,19px); line-height: 1.55; }
.folio-back { margin-top: 30px; }
.folio-wrap { padding: 0 0 clamp(90px,13vw,170px); }
.folio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: clamp(16px,1.8vw,26px); }
.folio-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.folio-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), 0 26px 54px -26px rgba(10,10,11,.45); }
.folio-thumb { aspect-ratio: 16/10; background-size: cover; background-position: top center; background-color: var(--dark-2); border-bottom: 1px solid var(--line); }
.folio-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px 20px; }
.folio-cat { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.folio-txt b { font-family: var(--serif); font-weight: 400; font-size: clamp(23px,2.1vw,30px); line-height: 1; letter-spacing: -.01em; }
.folio-go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); transition: background .4s, color .4s, box-shadow .4s; }
.folio-go svg { width: 17px; height: 17px; }
.folio-card:hover .folio-go { background: var(--accent); color: #fff; box-shadow: none; }
@media (max-width: 640px){ .folio-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .folio-row { padding: 13px 14px 15px; } }
@media (max-width: 430px){ .folio-grid { grid-template-columns: 1fr; } }

/* ---------- 6. Logo mark — replaces the Olú wordmark in the nav ---------- */
.side-logo, .topbar .tl { line-height: 0; }
.side-logo .logo-mark, .topbar .tl .logo-mark { display: block; width: auto; }
.side-logo .logo-mark { height: 42px; }
.topbar .tl .logo-mark { height: 26px; }

/* ---------- 7. Loading screen — animated LU logo ---------- */
.preloader { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 0; background: #0a0a0b !important; }
.preloader .pl-logo { width: clamp(118px, 18vw, 180px); }
.preloader .pl-logo svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 22px 50px rgba(0,0,0,.55)); }
.preloader .pl-bar { width: clamp(150px, 20vw, 250px); height: 2px; margin-top: 44px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.preloader .pl-bar i { display: block; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #8b8e95, #5b8ae6); }
.preloader .pl-count { color: rgba(255,255,255,.4) !important; }

/* ---------- 4. CTA: opt-in "Ask a question" chat beneath the scripted thread ---------- */
.ask { grid-column: 1 / -1; grid-row: 2; position: relative; border-top: 1px solid var(--line); padding-top: 24px; }
.ask-open { background: transparent; border: 1px solid var(--line-2); color: var(--ink); border-radius: 99px; padding: 12px 22px; font-size: 15px; cursor: pointer; transition: background .3s, color .3s; }
.ask-open:hover, .ask-open[aria-expanded="true"] { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.ask-panel { margin-top: 18px; display: grid; gap: 12px; max-width: 760px; }
.ask-panel[hidden] { display: none; }
.ask-log { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.ask-log .ask-bubble { font-family: var(--sans); font-size: 16px; line-height: 1.5; padding: 12px 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ask-book { display: inline-flex; margin-top: 10px; padding: 10px 18px; font-size: 14px; }
.ask-form { display: grid; gap: 8px; }
.ask-form textarea { width: 100%; resize: vertical; min-height: 56px; font: inherit; font-size: 16px; color: var(--ink); background: rgba(244,244,245,.05); border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 14px; }
.ask-form textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ask-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ask-count, .ask-note { font-size: 13px; color: var(--muted); margin: 0; }
.ask-note a { text-decoration: underline; text-underline-offset: 3px; }
.ask-send { background: var(--gold); color: var(--dark); border: 0; border-radius: 99px; padding: 10px 22px; font-weight: 600; cursor: pointer; }
.ask-send:disabled, .ask-form textarea:disabled { opacity: .5; cursor: not-allowed; }
.ask-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .ask-open, .ask-send { transition: none; } }
