/* ============================================================
 FÉNIXPUNTONET — Soluciones informáticas, Medellín
 Structure: Strategic Consulting (tooplate, free) — dark hero, tabbed service "arsenal",
 about split with stats. Chrome (header, signature footer) from the Lyvek scaffold.
 Fonts: Poppins (brand face, display + body) · IBM Plex Mono (labels)
 Palette from the client isotype: charcoal #494847 · blue #0080BB · red #FF4338
 Contrast (checked on the darkest surface each token prints on):
   white on --green 5.45 · --green on --paper-2 4.68 · --muted on --paper-2 5.53
   --green-bright on --ink-2 5.26 · --muted-2 on --ink 7.19
 ============================================================ */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../font/poppins-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../font/poppins-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../font/poppins-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../font/poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../font/poppins-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../font/poppins-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../font/ibm-plex-mono-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../font/ibm-plex-mono-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
 /* token names kept from the base scaffold; values are the Fénix isotype */
 --green: #0070A4;          /* brand blue, darkened from #0080BB so white text passes AA */
 --green-ink: #005A82;
 --green-bright: #FF6A60;   /* brand red, lifted for text on charcoal */
 --green-soft: #E3F1F8;
 --red: #FF4338;            /* decorative only (feathers, dots) */
 --charcoal: #494847;
 --ink: #1B1C1F;
 --ink-2: #26282C;
 --ink-3: #33363B;
 --paper: #F6F7F8;
 --paper-2: #ECEEF0;
 --card: #ffffff;
 --line: rgba(27, 28, 31, 0.12);
 --line-2: rgba(27, 28, 31, 0.07);
 --line-dark: rgba(255, 255, 255, 0.14);
 --muted: #5A5F66;
 --muted-2: #A3A9B1;

 --font-display: "Poppins", -apple-system, system-ui, sans-serif;
 --font-body: "Poppins", -apple-system, system-ui, sans-serif;
 --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

 --text-hero: clamp(2.3rem, 1.1rem + 4.6vw, 4.8rem);
 --text-h2: clamp(1.8rem, 1.1rem + 2.5vw, 3.1rem);
 --text-h3: clamp(1.3rem, 1.05rem + 0.9vw, 1.7rem);
 --text-lead: clamp(1.02rem, 0.97rem + 0.35vw, 1.2rem);

 --container: 1240px;
 --gutter: clamp(1rem, 0.6rem + 2.4vw, 2.75rem);
 --space-section: clamp(4rem, 2.8rem + 5.5vw, 8rem);
 --radius: 14px;
 --radius-sm: 10px;
 --radius-lg: 24px;

 --dur: 320ms;
 --dur-fast: 160ms;
 --ease: cubic-bezier(0.16, 1, 0.3, 1);
 --shadow: 0 24px 60px -34px rgba(27, 28, 31, 0.55);
 --shadow-sm: 0 14px 34px -24px rgba(27, 28, 31, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { font-family: var(--font-body); background: var(--paper); color: var(--ink); line-height: 1.65; font-size: 1rem; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
::selection { background: var(--green); color: #fff; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 10px 0; z-index: 200; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- helpers ---------- */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.eyebrow { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-ink); display: inline-flex; align-items: center; gap: 0.65rem; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--charcoal) 0 33%, var(--green) 33% 66%, var(--red) 66%); }
.eyebrow .ico { display: inline-grid; width: 18px; height: 18px; }
.eyebrow .ico svg { width: 18px; height: 18px; }
.eyebrow.on-dark { color: var(--green-bright); }
.section-head { display: grid; gap: 1rem; max-width: 680px; margin-bottom: clamp(2rem, 1rem + 3vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: var(--text-h2); }
.section-head p { color: var(--muted); font-size: var(--text-lead); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; padding: 0.85rem 1.4rem; border-radius: 999px; transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast), border-color var(--dur-fast); white-space: nowrap; }
.btn svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-ink); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translate(3px, -3px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-dark { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-ghost.on-dark:hover { border-color: #fff; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease); }
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand { display: inline-flex; align-items: center; padding: 0.3rem 0; }
.brand img { width: 108px; height: auto; }
.lang { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em; padding: 0.6rem 0.75rem; border: 1.5px solid var(--line); border-radius: 999px; color: var(--muted); transition: color var(--dur-fast), border-color var(--dur-fast); }
.lang:hover { color: var(--ink); border-color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 2rem; font-weight: 500; font-size: 0.95rem; }
.nav-mobile-cta { display: none; }
.nav-links a { color: var(--muted); transition: color var(--dur-fast); position: relative; padding: 0.4rem 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--green); }
.header-cta { display: flex; align-items: center; gap: 0.8rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; }

/* ---------- feathers: the isotype as a drifting ornament (replaces the template's geometric shapes) ---------- */
.feathers { position: absolute; pointer-events: none; z-index: 0; }
.feathers svg { width: 100%; height: 100%; overflow: visible; }
.feathers path { transform-box: fill-box; transform-origin: 0% 100%; animation: feather 9s var(--ease) infinite alternate; }
.feathers .f1 { fill: var(--charcoal); }
.feathers .f2 { fill: var(--green); animation-delay: -3s; }
.feathers .f3 { fill: var(--red); animation-delay: -6s; }
@keyframes feather { from { transform: rotate(-3deg) translateY(2%); } to { transform: rotate(4deg) translateY(-3%); } }

/* ---------- hero (dark, full-bleed — Strategic Consulting) ---------- */
.hero-dark { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; min-height: min(86vh, 780px); display: grid; align-items: center; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(27,28,31,0.95) 0%, rgba(27,28,31,0.86) 46%, rgba(27,28,31,0.55) 100%); }
.hero-dark .feathers { right: clamp(-4rem, -2vw, 0rem); bottom: -2rem; width: clamp(220px, 30vw, 440px); aspect-ratio: 40 / 42; opacity: 0.9; }
.hero-dark .feathers .f1 { fill: #6E6D6B; }
.hero-inner { position: relative; z-index: 1; }
.hero-dark h1 { font-size: var(--text-hero); font-weight: 700; letter-spacing: -0.03em; margin-top: 1.4rem; max-width: 15ch; }
.hero-dark h1 .accent { color: var(--green-bright); }
.hero-lead { color: rgba(255,255,255,0.84); font-size: var(--text-lead); max-width: 56ch; margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }

/* ---------- service lines: tabbed "arsenal" — detail panel left, tab list right ---------- */
.lines { background: var(--paper); }
.lines-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(1.2rem, 0.5rem + 2vw, 2.4rem); align-items: start; }
.line-panel { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(1.6rem, 1rem + 2.4vw, 3rem); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.line-panel::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--charcoal) 0 33%, var(--green) 33% 66%, var(--red) 66%); }
.js .line-panel[data-hidden] { display: none; }
.line-panels { display: grid; gap: 1.2rem; }
.js .line-panels { display: block; }
.panel-num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--green-ink); letter-spacing: 0.1em; }
.line-panel h3 { font-size: var(--text-h3); margin-top: 0.6rem; }
.panel-sub { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--muted); margin-top: 0.4rem; }
.line-panel > p:not(.panel-sub) { color: var(--muted); margin-top: 1rem; }
.line-panel .btn { margin-top: 1.8rem; }
.svc-list { display: grid; gap: 0.95rem; margin-top: 1.6rem; }
.svc-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.svc-list .ci { width: 24px; height: 24px; border-radius: 7px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; flex: 0 0 auto; margin-top: 2px; }
.svc-list .ci svg { width: 14px; height: 14px; }
.svc-list strong { display: block; font-weight: 600; }
.svc-list span:not(.ci) { color: var(--muted); font-size: 0.93rem; }
.line-tabs { display: grid; gap: 0.7rem; }
.line-tab { display: flex; gap: 0.9rem; align-items: flex-start; text-align: left; width: 100%; padding: 1.1rem 1.15rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.line-tab:hover { border-color: var(--green); transform: translateX(-4px); }
.line-tab[aria-selected="true"] { border-color: var(--green); background: var(--green-soft); box-shadow: var(--shadow-sm); }
.tab-ico { width: 42px; height: 42px; border-radius: 11px; background: var(--paper-2); color: var(--ink); display: grid; place-items: center; flex: 0 0 auto; transition: background var(--dur-fast), color var(--dur-fast); }
.tab-ico svg { width: 22px; height: 22px; }
.line-tab[aria-selected="true"] .tab-ico { background: var(--green); color: #fff; }
.tab-txt { display: grid; gap: 0.2rem; }
.tab-t { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.tab-s { color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
/* Without JS the tabs are inert: every panel shows, so hide the switcher */
html:not(.js) .line-tabs { display: none; }
html:not(.js) .lines-layout { grid-template-columns: 1fr; }

/* ---------- about split + stats ---------- */
.about-home { background: var(--paper-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.about-grid h2 { font-size: var(--text-h2); margin-top: 1rem; }
.about-grid p { color: var(--muted); margin-top: 1rem; font-size: var(--text-lead); }
.about-grid .btn { margin-top: 2rem; }
.about-visual { position: relative; }
.about-visual img { position: relative; z-index: 1; border-radius: var(--radius-lg); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.about-visual .feathers { z-index: 2; left: -2rem; bottom: -2.4rem; width: 110px; aspect-ratio: 40 / 42; filter: drop-shadow(0 10px 18px rgba(27,28,31,0.25)); }
.stats-row { display: flex; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.stat { display: grid; gap: 0.15rem; }
.stat-n { font-weight: 700; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.2rem); letter-spacing: -0.03em; line-height: 1; color: var(--green); }
.stat-l { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); max-width: 18ch; }

/* ---------- contact strip (dark) ---------- */
.strip { background: var(--ink-2); color: #fff; }
main:has(.strip) + .site-footer { border-top: 1px solid var(--line-dark); }
.strip-head h2 { font-size: var(--text-h2); margin-top: 1rem; max-width: 20ch; }
.strip-grid { display: grid; grid-template-columns: 0.8fr 1.3fr 1fr; gap: 1rem; margin-top: clamp(2rem, 1rem + 3vw, 3rem); }
.strip-cell { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-3); min-width: 0; }
.strip-cell .ii-ico { width: 44px; height: 44px; border-radius: 11px; background: var(--ink); color: var(--green-bright); display: grid; place-items: center; flex: 0 0 auto; }
.strip-cell .ii-ico svg { width: 21px; height: 21px; }
.strip-cell > div { min-width: 0; }
.strip-k { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.strip-v { display: inline-block; margin-top: 0.3rem; font-weight: 600; color: #fff; overflow-wrap: break-word; padding: 0.2rem 0; }
a.strip-v { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); text-underline-offset: 0.25em; }
a.strip-v:hover { text-decoration-color: var(--green-bright); }

/* ---------- page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding-top: clamp(3rem, 2rem + 3vw, 5rem); padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .feathers { right: clamp(-3rem, 2vw, 4rem); top: 1.5rem; width: clamp(120px, 16vw, 220px); aspect-ratio: 40 / 42; opacity: 0.85; }
.page-hero .crumb { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.page-hero h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); font-weight: 700; letter-spacing: -0.03em; max-width: 16ch; }
.page-hero p { color: var(--muted); font-size: var(--text-lead); max-width: 54ch; margin-top: 1.2rem; }

/* ---------- services page: one block per line ---------- */
.line-block { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); border-top: 1px solid var(--line); }
.line-block:nth-of-type(even) { background: var(--paper-2); }
.line-block-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.line-block:nth-of-type(even) .line-media { order: 2; }
.line-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.line-block h2 { font-size: var(--text-h2); margin-top: 0.9rem; }
.line-block p:not(.panel-sub) { color: var(--muted); margin-top: 1rem; }
.line-block .btn { margin-top: 2rem; }

/* ---------- about page ---------- */
.about-grid h2 + p, .about-grid p + p { font-size: 1.02rem; }
.policy { background: var(--ink); color: #fff; }
.policy-quote { position: relative; max-width: 940px; }
.policy-quote blockquote { font-weight: 500; font-size: clamp(1.25rem, 0.95rem + 1.4vw, 1.9rem); line-height: 1.45; letter-spacing: -0.01em; margin-top: 1.4rem; }
.policy-quote blockquote::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: 0.6; font-weight: 700; color: var(--green-bright); margin-bottom: 0.6rem; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feat-grid.four { grid-template-columns: repeat(4, 1fr); }
.feat-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.feat { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.feat .fi { width: 48px; height: 48px; border-radius: 12px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; margin-bottom: 1.2rem; }
.feat .fi svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.12rem; }
.feat p { color: var(--muted); margin-top: 0.5rem; font-size: 0.95rem; }

/* about: people (photos of the manager and the guild) */
.people-grid { display: grid; grid-template-columns: minmax(220px, 0.42fr) 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.people-grid h2, .guild-grid h2 { font-size: var(--text-h2); margin-top: 1rem; }
.people-grid p { color: var(--muted); font-size: var(--text-lead); margin-top: 1rem; max-width: 52ch; }
.portrait { position: relative; margin: 0; }
.portrait img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 367 / 560; object-fit: cover; background: var(--green-soft); }
.portrait::after { content: ""; position: absolute; left: 1.2rem; right: 1.2rem; bottom: 3.1rem; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--charcoal) 0 33%, var(--green) 33% 66%, var(--red) 66%); }
figcaption { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em; color: var(--muted); margin-top: 0.9rem; }
.guild { background: var(--ink); color: #fff; }
.guild-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.guild-grid p { color: rgba(255,255,255,0.8); font-size: var(--text-lead); margin-top: 1rem; }
.guild-photo { margin: 0; }
.guild-photo img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 986 / 560; object-fit: cover; }
.guild-photo figcaption { color: var(--muted-2); }

/* about: fact sheet + sectors */
.facts-sec { background: var(--paper-2); }
.facts-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.2rem, 0.5rem + 2vw, 2.4rem); align-items: start; }
.facts-grid h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin-top: 0.9rem; }
.fact-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); box-shadow: var(--shadow-sm); }
.facts { margin-top: 1.4rem; }
.fact { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line-2); }
.fact dt { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 0.15rem; }
.fact dd { margin: 0; font-weight: 600; font-size: 0.97rem; overflow-wrap: break-word; }
.sectors { padding-top: clamp(0rem, 1vw, 1.5rem); }
.sectors > p { color: var(--muted); margin-top: 0.8rem; }
.sector-list { display: grid; gap: 0.6rem; margin-top: 1.4rem; }
.sector-list li { display: grid; gap: 0.1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-2); }
.sector-k { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-ink); }
.sector-v { font-weight: 600; }

/* ---------- products: demo marketplace (catalogue patterns after Sprylo, in this site's tokens) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.shop { padding-bottom: var(--space-section); }
.shop-notice { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--green-soft); color: var(--green-ink); font-size: 0.93rem; }
.shop-notice .ii-ico { width: 34px; height: 34px; border-radius: 9px; background: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.shop-notice .ii-ico svg { width: 18px; height: 18px; }
.shop-notice p { color: var(--ink); }
.shop-bar { position: sticky; top: 76px; z-index: 5; display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 1rem; align-items: center; margin-top: 1.4rem; padding: 0.9rem 0; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
html:not(.js) .shop-bar { display: none; }
.shop-search { position: relative; }
.shop-search svg { position: absolute; left: 1rem; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); pointer-events: none; }
.shop-search input { width: 100%; font: inherit; font-size: 0.95rem; padding: 0.8rem 1rem 0.8rem 2.7rem; border-radius: 999px; border: 1px solid rgba(27,28,31,0.22); background: var(--card); color: var(--ink); }
.shop-search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.chips-row { display: flex; gap: 0.5rem; flex-wrap: wrap; grid-column: 1 / -1; grid-row: 2; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 0.88rem; font-weight: 500; color: var(--ink); transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.chip span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] span { color: var(--muted-2); }
.shop-count { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); white-space: nowrap; justify-self: end; }
.shop-count strong { color: var(--ink); }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.6rem; }
.pcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line); }
.pcard[hidden] { display: none; }
.pcard-media { position: relative; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line-2); display: grid; place-items: center; padding: 1rem; }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--dur) var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pbadge { position: absolute; left: 0.8rem; top: 0.8rem; z-index: 1; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 999px; background: var(--ink); color: #fff; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.2rem; }
.pcard-meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-ink); }
.pcard-name { font-size: 1.02rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; margin-top: 0.4rem; }
.pcard-specs { display: grid; gap: 0.25rem; margin-top: 0.7rem; font-size: 0.86rem; color: var(--muted); }
.pcard-specs li { position: relative; padding-left: 0.9rem; }
.pcard-specs li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.pcard-foot { display: grid; gap: 0.8rem; margin-top: auto; padding-top: 1rem; }
.pcard-foot .btn { justify-content: center; }
.pprice { display: grid; gap: 0.1rem; min-width: 0; }
.pprice-k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pprice strong { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.btn-sm { padding: 0.6rem 0.95rem; font-size: 0.86rem; }
.btn-sm svg { width: 15px; height: 15px; }
.pref { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); margin-top: 0.8rem; overflow-wrap: anywhere; }
.shop-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.shop-empty .btn { margin-top: 1rem; }
.shop-store { margin-top: 2rem; text-align: center; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.contact-info .info-item { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item:first-child { padding-top: 0; }
.contact-info .ii-ico { width: 44px; height: 44px; border-radius: 11px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; flex: 0 0 auto; }
.contact-info .ii-ico svg { width: 21px; height: 21px; }
.contact-info > .info-item > div { min-width: 0; }
.contact-info h2 { font-size: 1.02rem; font-weight: 600; }
.contact-info p { color: var(--muted); font-size: 0.95rem; overflow-wrap: anywhere; }
.contact-info a { display: inline-block; padding: 0.3rem 0; margin: -0.1rem 0; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 0.25em; }
.contact-info a:hover { color: var(--green-ink); text-decoration-color: currentColor; }
.form-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.84rem; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 0.96rem; padding: 0.82rem 1rem; border: 1px solid rgba(27,28,31,0.22); border-radius: 10px; background: var(--paper); color: var(--ink); transition: border-color var(--dur-fast), background var(--dur-fast); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px var(--green-soft); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-note { font-size: 0.84rem; color: var(--muted); margin-top: 0.9rem; text-align: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.74); position: relative; overflow: hidden; isolation: isolate; }
.site-footer .wrap { position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 0.8fr 1.2fr; gap: 2rem; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { margin-bottom: 1.1rem; }
.footer-brand .brand img { width: 128px; }
.footer-brand p { max-width: 34ch; font-size: 0.94rem; }
.footer-col .footer-h { font-family: var(--font-mono); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1rem; }
.footer-col a { display: block; padding: 0.4rem 0; color: rgba(255,255,255,0.78); transition: color var(--dur-fast); font-size: 0.94rem; overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.8rem; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.03em; color: var(--muted-2); }
.footer-tag { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; letter-spacing: 0; color: rgba(255,255,255,0.86); }
.credit { position: relative; padding-right: 0.72em; white-space: nowrap; letter-spacing: 0.1em; }
.credit a { display: inline-block; padding: 0.35rem 0; margin: -0.35rem 0; color: var(--green-bright); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; text-decoration-color: rgba(255,106,96,0.55); }
.credit a:hover, .credit a:focus-visible { text-decoration-color: currentColor; }
.credit .ch { transition: opacity 90ms linear; }
.credit.is-armed .ch { opacity: 0; }
.credit .caret { position: absolute; right: 0; top: 50%; width: 0.5em; height: 1.02em; margin-top: -0.51em; background: var(--green-bright); opacity: 0; pointer-events: none; }
.credit.is-armed .caret { opacity: 0.85; }
.credit.is-done .caret { animation: caret-blink 0.6s ease-in-out infinite alternate; }
@keyframes caret-blink { to { opacity: 0.1; } }

/* SIGNATURE FOOTER MOTIFS — scramble + constellation + line + glow (see signature-footers.md) */
.fm-giant { position: relative; z-index: 1; overflow: hidden; padding: clamp(2rem, 1rem + 4vw, 4.2rem) var(--gutter) 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(3.2rem, 0.8rem + 14vw, 12rem); line-height: 0.95; letter-spacing: -0.05em; color: #fff; white-space: nowrap; user-select: none; -webkit-mask-image: linear-gradient(#000 74%, transparent); mask-image: linear-gradient(#000 74%, transparent); }
.fm-giant .ch { display: inline-block; }
.fm-giant .ch:nth-last-child(-n+4) { color: var(--green-bright); }
.fm-scramble .ch { font-variant-numeric: tabular-nums; }
.js .fm-scramble:not(.is-in) .ch { opacity: 0.25; }
.js .fm-scramble.is-in .ch { transition: opacity 0.4s; opacity: 1; }
.fm-constellation { position: absolute; right: clamp(1rem, 4vw, 5rem); top: 3rem; width: min(40vw, 400px); height: auto; pointer-events: none; stroke: var(--line-dark); stroke-width: 0.35; fill: var(--green-bright); }
.fm-constellation circle:nth-of-type(3n+2) { fill: #5CC2F2; }
.fm-constellation circle { animation: twinkle 3.6s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -0.7s); transform-box: fill-box; transform-origin: center; }
@keyframes twinkle { from { opacity: 0.35; transform: scale(0.7); } to { opacity: 1; transform: scale(1.4); } }
.js .reveal-line .footer-top { border-bottom-color: transparent; position: relative; }
.js .reveal-line .footer-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--charcoal) 0 33%, #0080BB 33% 66%, var(--red) 66%); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.2s; }
.js .reveal-line.is-in .footer-top::after { transform: scaleX(1); }
.js .reveal-line .footer-col { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease-out, transform 0.7s var(--ease); }
.js .reveal-line.is-in .footer-col { opacity: 1; transform: none; }
.js .reveal-line.is-in .footer-col:nth-child(3) { transition-delay: 0.12s; }
.js .reveal-line.is-in .footer-col:nth-child(4) { transition-delay: 0.24s; }
@media (hover: hover) and (pointer: fine) {
 .fm-i-glow::before { content: ""; position: absolute; width: 520px; height: 520px; left: 0; top: 0; border-radius: 50%; pointer-events: none; opacity: 0; z-index: 0; background: radial-gradient(circle, rgba(0,128,187,0.22), transparent 62%); transform: translate(var(--gx, -50%), var(--gy, -50%)); transition: opacity 0.5s; }
 .fm-i-glow:hover::before { opacity: 1; }
}

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
 .lines-layout { grid-template-columns: 1fr; }
 .line-tabs { order: -1; grid-template-columns: 1fr 1fr; }
 .about-grid, .line-block-grid, .contact-grid { grid-template-columns: 1fr; }
 .line-block:nth-of-type(even) .line-media { order: 0; }
 .about-visual .feathers { left: auto; right: -0.6rem; bottom: -2rem; width: 84px; }
 .feat-grid, .feat-grid.four { grid-template-columns: 1fr 1fr; }
 .strip-grid { grid-template-columns: 1fr; }
 .facts-grid { grid-template-columns: 1fr; }
 .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .people-grid, .guild-grid { grid-template-columns: 1fr; }
 .portrait { max-width: 300px; }
 .footer-top { grid-template-columns: 1fr 1fr; }
 .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
 .nav-links, .header-cta .btn-primary { display: none; }
 .nav-mobile-cta { display: block; }
 .nav-toggle { display: block; }
 .brand img { width: 96px; }
 .eyebrow, .stat-l, .footer-col .footer-h, .page-hero .crumb, .strip-k { font-size: 0.76rem; }
 .field input, .field select, .field textarea { font-size: 1rem; }
 .field-row { grid-template-columns: 1fr; }
 .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
 .shop-bar { grid-template-columns: 1fr; }
 .shop-count { grid-row: 3; justify-self: start; }
 .chips-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.2rem; scrollbar-width: none; }
 .chip { flex: 0 0 auto; min-height: 40px; }
 .shop-search input { font-size: 1rem; }
 .pcard-body { padding: 0.9rem; }
 .fact { grid-template-columns: 1fr; gap: 0.15rem; }
 .hero-dark { min-height: 0; }
 .hero-dark::after { background: linear-gradient(180deg, rgba(27,28,31,0.9), rgba(27,28,31,0.94)); }
 .hero-dark .feathers { width: 150px; right: -1.5rem; bottom: -1.5rem; opacity: 0.6; }
 .hero-actions .btn { width: 100%; justify-content: center; }
 .line-tabs { grid-template-columns: 1fr; }
 .tab-s { display: none; }
 .line-tab { padding: 0.8rem 1rem; align-items: center; }
 .tab-ico { width: 38px; height: 38px; }
 .feat-grid, .feat-grid.four, .feat-grid.two { grid-template-columns: 1fr; }
 .page-hero .feathers { width: 96px; right: -1rem; top: 0.5rem; opacity: 0.5; }
 .footer-bottom { justify-content: flex-start; gap: 0.9rem; }
 .footer-tag { width: 100%; }
 .fm-constellation { position: relative; right: auto; top: auto; width: 70%; margin: 2rem auto 0; display: block; }
 .nav-links.open { display: flex; position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; z-index: 99; }
 .nav-links.open li { width: 100%; }
 .nav-links.open a { display: block; padding: 0.9rem 0; width: 100%; border-bottom: 1px solid var(--line-2); font-size: 1.05rem; }
 .nav-links.open a[aria-current="page"]::after { display: none; }
 .nav-links.open .nav-mobile-cta { padding-top: 1rem; }
 .nav-links.open .nav-mobile-cta a { display: inline-flex; width: auto; border: 0; padding: 0.9rem 1.4rem; color: #fff; }
}
@media (max-width: 480px) {
 .pcard-name { font-size: 0.95rem; }
 .footer-top { grid-template-columns: minmax(0,1fr); gap: 1.6rem; }
 .stats-row { gap: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
 .js [data-reveal] { opacity: 1; transform: none; }
 .feathers path, .fm-constellation circle { animation: none; }
 .credit.is-armed .ch { opacity: 1; }
 .credit .caret { display: none; }
 .js .fm-scramble .ch, .js .reveal-line .footer-col, .js .reveal-line .footer-top::after { opacity: 1; transform: none; transition: none; }
}
