/* =============================================================
 * SUPERFLY - ABOUT US
 *
 * The brand's own copy on a single magenta rail. Three stages -
 * Who are we? / What we sell? / Why choose us? - each a node on
 * one continuous line, with a sticky index beside them at desktop
 * width marking the stage in view.
 *
 * THE COPY IS THE OPERATOR'S, supplied 2026-10-01. It is the live
 * Unicart page's own text, used word for word. An earlier draft
 * rewrote it into our prose and was replaced. THREE CHARACTERS
 * were changed, all spelling: affliate -> affiliate, hestitate ->
 * hesitate, "those who wants" -> "those who want". Nothing else -
 * not the exclamation marks, not "which no other brands in the
 * market comes close to", not the VIP line.
 *
 * DO NOT quietly improve that copy. If something reads wrong,
 * raise it with the operator; do not edit it.
 *
 * The masthead and the measure are FAQ's, copied value for value
 * rather than approximated, because the operator asked for the
 * two pages to open alike:
 *
 *   container    1180px, padding-top clamp(34px,5vw,64px), sides
 *                clamp(20px,5vw,40px), bottom clamp(60px,9vw,120px)
 *   head         padding-bottom clamp(26px,4vw,44px), hairline
 *   eyebrow      11px/700 tech, .22em, margin-bottom
 *                clamp(20px,3vw,38px) - NO leading dash
 *   title        clamp(32px,6vw,68px) / .92 / -.025em, UPRIGHT,
 *                second line a <span> that is block and magenta
 *
 * That title size is shared with contact.css, terms.css,
 * privacy.css and shop-archive.css. Change it in all five or in
 * none.
 *
 * Body copy is 13.5px / 1.8, the size return-refund, privacy,
 * faq, contact and terms were all set to together on 2026-09-29.
 * Same rule: all of them or none of them.
 *
 * THE STAGE HEADINGS KEEP THE SKEW and the rail nodes are skewed
 * squares. That is deliberate - it is the hero's language, and it
 * is what stops an about page reading as a sixth legal document.
 * The masthead does not skew, because FAQ's does not.
 *
 * WHAT IS NOT ON THIS PAGE, each one a decision:
 *   - no figures strip (1987 / 20+ / 2 / Sepang). Removed by the
 *     operator; the facts are in the stage 01 prose instead.
 *   - no lede under the masthead. Removed by the operator; the
 *     head runs straight into the rail, as FAQ's does.
 *   - no contact panel. Removed by the operator, so the supplied
 *     copy's fourth heading has no home here. /contact-us carries
 *     the address, both handles and the 24-hour promise.
 *   - no riders, no Moto2/Moto3, no brake systems. All real
 *     (CLAUDE.md), none of them in the supplied copy.
 *
 * Every class is scoped under .superfly-about, so nothing here can
 * reach the rest of the site. Names are spelled out - no `sf-`
 * shorthand, no BEM `__` separators - matching faq.css,
 * contact.css, privacy.css and terms.css.
 *
 * No shorthand properties anywhere: every declaration names the
 * one thing it sets, the same rule faq.css and contact.css
 * follow.
 *
 * Mobile first. Every media query is min-width.
 *
 * Markup: the page's own wp:html block (a copy is kept at
 *   wordpress/about-us/about.html in this repo). NOT an Elementor
 *   widget, so there is no render cache to clear after an edit.
 * Behaviour: assets/js/about.js - the sticky index only.
 * Enqueue: functions.php - superfly_about_assets()
 * Body class: functions.php - superfly_about_body_class()
 * ============================================================= */


/* ---- the carbon weave ----
 * Same recipe as the privacy, terms, FAQ and contact pages, and the same
 * base colour, so all five sit on one background.
 *
 * Hangs off a body class the theme adds (superfly_about_body_class in
 * functions.php), NOT off body.page-id-N. The terms page had to use an id
 * because it was styled before the class existed, which means recreating
 * that page breaks its background. This page has no such tie: the class
 * follows the slug, so the page can be deleted and rebuilt freely - which
 * matters here, because this page was already created once by duplicating
 * Terms and may be rebuilt again. */
body.superfly-about-page {
	background-color: #101014;
	background-image:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 4px),
		repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.35) 0 2px, transparent 2px 4px);
	background-attachment: fixed;
}


/* -------------------------------------------------------------
 * The block
 * ----------------------------------------------------------- */

.superfly-about {
	/* colour - faq.css's ramp exactly, so the two pages do not sit a
	   shade apart when you click between them */
	--superfly-about-text: #f5f5f5;
	--superfly-about-muted: rgba(245, 245, 245, 0.70);
	--superfly-about-faint: rgba(245, 245, 245, 0.38);
	--superfly-about-line: rgba(245, 245, 245, 0.18);
	--superfly-about-hair: rgba(245, 245, 245, 0.10);
	--superfly-about-accent: #ec1e79;

	/* the neumorphic set, return-refund.css's softened values - the same
	   pair contact.css uses, and for the same reason: this page has only
	   two cards and they are large, so privacy's heavier .03 / .38 reads
	   wrong on them */
	--superfly-about-card: #0d0d10;
	--superfly-about-lift: rgba(255, 255, 255, 0.022);
	--superfly-about-sink: rgba(0, 0, 0, 0.26);

	/* geometry - the two rail numbers. EVERY node offset below is derived
	   from both of these. Do not hardcode them apart from each other: that
	   was the original bug on terms-h, where changing one slid the nodes
	   off the line. */
	--superfly-about-slant: -8deg;
	--superfly-about-rail: 9px;
	--superfly-about-gap: 26px;

	/* type */
	--superfly-about-font-title: "Inter", system-ui, -apple-system, sans-serif;
	--superfly-about-font-body: "Archivo", "Inter", sans-serif;
	--superfly-about-font-tech: "Chakra Petch", "Archivo", sans-serif;

	/* the measure, identical to faq.css */
	max-width: var(--sf-measure);
	margin-left: auto;
	margin-right: auto;

	padding-top: clamp(34px, 5vw, 64px);
	padding-right: var(--sf-gutter);
	padding-bottom: clamp(60px, 9vw, 120px);
	padding-left: var(--sf-gutter);

	color: var(--superfly-about-text);
	font-family: var(--superfly-about-font-body);
}

.superfly-about *,
.superfly-about *::before,
.superfly-about *::after {
	box-sizing: border-box;
}


/* -------------------------------------------------------------
 * Masthead
 *
 * The FAQ page's head, value for value: eyebrow, two stacked title lines
 * with the second in magenta, hairline under the lot. Upright - no skewX,
 * no magenta underbar, no leading dash on the eyebrow. Those three belong
 * to the home-page concept, not to the information pages.
 * ----------------------------------------------------------- */

.superfly-about-head {
	padding-bottom: clamp(26px, 4vw, 44px);
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: var(--superfly-about-line);
}

.superfly-about-eyebrow {
	margin-top: 0;
	margin-right: 0;
	margin-bottom: clamp(20px, 3vw, 38px);
	margin-left: 0;

	font-family: var(--superfly-about-font-tech);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--superfly-about-accent);
}

.superfly-about-title {
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;

	font-family: var(--superfly-about-font-title);
	/* Archivo Black is a SINGLE-WEIGHT family. Ask for 700 and the browser
	   synthesises a fake bold on top of an already-black face, which smears
	   badly at 68px. Every rule using the display font names 400. */
	font-weight: 700;
	font-size: 30px;
	line-height: 1;
	letter-spacing: -0.075em;
	text-transform: uppercase;
	color: var(--superfly-about-text);
}

/* SECTION 2 TYPE, AT 100px (operator, 2026-11-16: "i want you open
   all the page like dealer map or FAQ or about us , or others page
   please make it like homepage section 2 font inter and 100px").

   Every page title on this site was Archivo Black 400 on
   clamp(32px, 6vw, 68px) / .92 / -.025em. They are now .sfcg__title
   Inter 700 / 1 / -.075em on its stepped ladder, with ONE deliberate
   difference: the top step is 100px where the home page is 112. The
   home page was explicitly excluded from this pass, so section 2 and
   these titles now agree at 768, 1024 and 1280 and differ at 1900.

   A STEPPED LADDER, NOT A CLAMP, because that is what .sfcg__title
   is. A clamp fitted to the same endpoints ramps between them where
   the ladder jumps, so the two would agree only at the ends.

   700 BECAUSE THE FACE CHANGED. Archivo Black ships one weight and
   is black at 400; Inter at 400 in the same place reads as a
   caption. The note that used to sit here warning against 700 was
   right about Archivo Black and is wrong about Inter.

   THE OTHER PAGES CARRY THESE SAME VALUES AS LITERALS - see the file
   list in docs/research/2026-11-16-shop-filter-references.md. A :root
   token declared in one stylesheet and read from another resolves by
   load order and fails silently, which is why they are not shared. */

@media (min-width:  768px){ .superfly-about-title{ font-size:  48px } }
@media (min-width: 1024px){ .superfly-about-title{ font-size:  60px } }
@media (min-width: 1280px){ .superfly-about-title{ font-size:  72px } }
@media (min-width: 1900px){ .superfly-about-title{ font-size: 100px } }


/* the second line, in magenta */
/* THE PINK LINE CARRIES SECTION 2's SHEEN (operator, 2026-11-16:
   "also the color pink text in title please match with effect
   PERFORMANCE text").

   Ported from .sfcg__word in category-grid.css: ink -> magenta -> ink
   clipped to the glyphs and looping for ever, so it reads as a light
   passing through the word rather than as a second colour. Both
   background-clip longhands, or Blink paints a solid magenta band with
   invisible type inside it.

   width: fit-content IS LOAD-BEARING HERE and is NOT in the original.
   .sfcg__word is an inline span inside a line; this one is
   display: block, so without it the background's positioning area is
   the whole title column and the sweep is spread across the measure
   instead of across the words. home-opening.css records the same fix
   for .sfop__line. It must stay display: block so the line still
   breaks after the white half.

   The keyframe is named sfSheen in every file that carries this. CSS
   keyframes are global, and all these copies are identical, so a page
   loading two of them is harmless. */
.superfly-about-title span {
	display: block;
	width: fit-content;
	color: transparent;
	background-image: linear-gradient(90deg,
		var(--superfly-about-text)    0%,
		var(--superfly-about-accent) 48%,
		var(--superfly-about-text)   100%);
	background-size: 220% 220%;
	-webkit-background-clip: text;
	background-clip: text;
	animation: sfSheen 5s ease infinite;

	/* the last glyph would otherwise be clipped by the background box */
	margin-right: -.12em;
	padding-right: .12em;
}

@keyframes sfSheen{
	0%   { background-position: 10% 0 }
	50%  { background-position: 91% 100% }
	100% { background-position: 10% 0 }
}



/* -------------------------------------------------------------
 * The run: index on the left, stages on the rail
 * ----------------------------------------------------------- */

.superfly-about-run {
	position: relative;
	padding-top: clamp(48px, 7vw, 84px);
}

/* The sticky index is DESKTOP ONLY - see the 1040px query. Below that
   there is no room for a second column, and a sticky index on a phone is
   a thing that covers the text it is indexing. It is additive: the rail
   and the three stages read identically without it. */
.superfly-about-index {
	display: none;
}

.superfly-about-stages {
	position: relative;
	list-style: none;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: calc(var(--superfly-about-rail) + var(--superfly-about-gap));
}

/* the rail itself: one line, top to bottom, behind every node */
.superfly-about-stages::before {
	content: "";
	position: absolute;
	top: 6px;
	bottom: 6px;
	left: var(--superfly-about-rail);
	width: 2px;
	background-image: linear-gradient(180deg, var(--superfly-about-accent), rgba(236, 30, 121, 0.18));
}

/* padding-bottom is the ENTIRE gap between one stage and the next - every
   stage's last child has margin-bottom:0, so nothing else contributes. The
   desktop value is overridden to a larger one in the 1040px query; change
   both or the two sizes drift apart.

   Trimmed from 64px on the operator's instruction (2026-10-01), paired with
   88px -> 70px on desktop. A small cut on purpose: the rail down the left
   has a node per stage, and if the stages close up too far the nodes stop
   reading as separate stops on a timeline. */
.superfly-about-stage {
	position: relative;
	padding-bottom: 52px;
}

.superfly-about-stage:last-child {
	padding-bottom: 0;
}

/* The node, centred on the rail. The list's own padding puts x=0 at
   (rail + gap), so step back that far, forward to the rail's centre
   (rail + 1px), then back half the node's 16px. Derived, not measured. */
.superfly-about-stage::before {
	content: "";
	position: absolute;
	top: 7px;
	left: calc(var(--superfly-about-rail) + 1px - var(--superfly-about-rail) - var(--superfly-about-gap) - 8px);
	width: 16px;
	height: 16px;
	background-color: var(--superfly-about-accent);
	transform: skewX(var(--superfly-about-slant));
}

.superfly-about-num {
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;

	font-family: var(--superfly-about-font-tech);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--superfly-about-faint);
}

/* Between the FAQ's questions (19px) and the page title, which is the rank
   a section heading should hold. It was clamp(30px,7vw,58px) in the
   concept, which put a stage heading at nearly the size of the page title
   and made the rail read as three mastheads rather than three sections. */
.superfly-about-heading {
	margin-top: 10px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;

	font-family: var(--superfly-about-font-title);
	  /* 700, NOT 400. The display face is Inter since 2026-11-16;
        Archivo Black shipped ONE weight and was black at 400, so every
        rule here named 400. Inter at 400 in the same place reads as a
        caption. */
  font-weight: 700;
	font-size: clamp(21px, 3vw, 30px);
	line-height: 1.04;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	transform: skewX(var(--superfly-about-slant));
	width: max-content;
	/* a skewed heading can sit a pixel or two outside its box at the
	   largest size; max-width stops that becoming a scrollbar */
	max-width: 100%;
}

/* 13.5px / 1.8 is the house body size.

   NO max-width, on the operator's instruction (2026-10-01). The prose runs
   the full stage column, so its right edge lines up with the .superfly-about-lines
   grid (SPORT RIMS / SUSPENSIONS) and the .superfly-about-claims below it.
   That alignment is the point of the change: a capped paragraph sitting above
   a full-width rule read as a mistake.

   What it costs, so nobody "fixes" this back without knowing: the column is
   861px at 1440px wide, which is ~143 characters a line - roughly double the
   45-75 that is comfortable to read. faq.css sets max-width:none on its
   answers too, but those sit in a column its 300px help rail has already
   narrowed to a sane width; this column is not narrowed by anything.

   It was max-width:68ch until this change. Note that 68ch was never 68
   characters: `ch` is the advance of the digit zero (7.74px here), so 68ch
   resolved to 526px, which held about 87 characters of this prose. A true
   68-character measure would have been ~53ch. If the cap ever comes back,
   use the character count you actually want, not the old number. */
.superfly-about-body {
	margin-top: 16px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;

	font-size: 13.5px;
	line-height: 1.8;
	text-align: justify;
	/* Justification without hyphenation opens rivers of whitespace, worst on
	   a phone where the column is ~300px and one long word can stretch a
	   whole line. hyphens:auto is what closes them - and it needs a lang on
	   <html>, which WordPress sets. faq.css pairs the two the same way; do
	   not take justify without taking this with it. */
	hyphens: auto;
	color: var(--superfly-about-muted);
}

.superfly-about-body b {
	font-weight: 600;
	color: var(--superfly-about-text);
}


/* -------------------------------------------------------------
 * The product lines inside "What we sell?"
 *
 * Keys over values on hairlines, not boxed - the same shape the contact
 * page's details column uses. The fourth row is the supplied sentence's own
 * "and many more", NOT an invented product line.
 * ----------------------------------------------------------- */

.superfly-about-lines {
	display: grid;
	grid-template-columns: 1fr;
	list-style: none;
	margin-top: 26px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}

.superfly-about-line {
	padding-top: 15px;
	padding-bottom: 15px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: var(--superfly-about-hair);
}

.superfly-about-line:last-child {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: var(--superfly-about-hair);
}

.superfly-about-line b {
	display: block;
	font-family: var(--superfly-about-font-tech);
	/* Chakra Petch is loaded at 500/600/700, NOT 400. Every rule using the
	   tech font names a weight it actually has, or the browser silently
	   falls back to Archivo. */
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--superfly-about-text);
}

.superfly-about-line span {
	display: block;
	margin-top: 5px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--superfly-about-faint);
}


/* -------------------------------------------------------------
 * The two cards inside "Why choose us?"
 *
 * Quality Control and Friendly Customer Service - the supplied copy's own
 * two sub-headings. Neumorphic, no border, with a skewed accent tab riding
 * the top edge, the same card the contact and return-refund pages use.
 * ----------------------------------------------------------- */

.superfly-about-claims {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-top: 26px;
}

.superfly-about-claim {
	position: relative;
	padding-top: 24px;
	padding-right: 20px;
	padding-bottom: 22px;
	padding-left: 20px;

	background-color: var(--superfly-about-card);
	border-radius: 8px;
	box-shadow:
		-5px -5px 12px var(--superfly-about-lift),
		6px 6px 16px var(--superfly-about-sink);
}

.superfly-about-claim::before {
	content: "";
	position: absolute;
	top: 0;
	left: 20px;
	width: 36px;
	height: 3px;
	background-color: var(--superfly-about-accent);
	transform: skewX(var(--superfly-about-slant));
}

.superfly-about-claim b {
	display: block;
	font-family: var(--superfly-about-font-tech);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--superfly-about-text);
}

.superfly-about-claim p {
	margin-top: 11px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;

	font-size: 13.5px;
	line-height: 1.8;
	/* justified with the body copy, for the same reason and with the same
	   hyphenation - see .superfly-about-body */
	text-align: justify;
	hyphens: auto;
	color: var(--superfly-about-muted);
}


/* -------------------------------------------------------------
 * 700px up
 * ----------------------------------------------------------- */

@media (min-width: 700px) {

	/* The container's paddings are clamps, so there is nothing to step up
	   here - that is the point of copying faq.css's values rather than
	   re-deriving them at a breakpoint. */

	.superfly-about-lines {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 32px;
	}

	/* two columns means the second row needs the closing rule, not the
	   fourth item alone */
	.superfly-about-line:nth-child(2) {
		border-bottom-width: 0;
	}

	.superfly-about-line:nth-last-child(-n + 2) {
		border-bottom-width: 1px;
		border-bottom-style: solid;
		border-bottom-color: var(--superfly-about-hair);
	}

	.superfly-about-claims {
		grid-template-columns: repeat(2, 1fr);
	}
}


/* -------------------------------------------------------------
 * 1040px up - the sticky index appears
 * ----------------------------------------------------------- */

@media (min-width: 1040px) {

	.superfly-about-run {
		display: grid;
		grid-template-columns: 220px 1fr;
		column-gap: 64px;
	}

	.superfly-about-index {
		display: block;
		position: sticky;
		top: 48px;
		align-self: start;
		list-style: none;
		margin-top: 0;
		margin-right: 0;
		margin-bottom: 0;
		margin-left: 0;
		padding-top: 0;
		padding-right: 0;
		padding-bottom: 0;
		padding-left: 0;
	}

	.superfly-about-index li + li {
		margin-top: 2px;
	}

	.superfly-about-index a {
		display: block;
		padding-top: 11px;
		padding-right: 0;
		padding-bottom: 11px;
		padding-left: 18px;

		border-left-width: 2px;
		border-left-style: solid;
		border-left-color: var(--superfly-about-hair);

		text-decoration: none;
		font-family: var(--superfly-about-font-tech);
		font-weight: 600;
		font-size: 11px;
		letter-spacing: 0.2em;
		text-transform: uppercase;
		color: var(--superfly-about-faint);

		transition-property: color, border-left-color;
		transition-duration: 0.2s;
		transition-timing-function: ease;
	}

	.superfly-about-index a:hover {
		color: var(--superfly-about-muted);
		border-left-color: var(--superfly-about-line);
	}

	.superfly-about-index a:focus-visible {
		outline-width: 2px;
		outline-style: solid;
		outline-color: var(--superfly-about-accent);
		outline-offset: 3px;
	}

	/* the marked entry - the class is added by assets/js/about.js */
	.superfly-about-index a.is-on {
		color: var(--superfly-about-accent);
		border-left-color: var(--superfly-about-accent);
	}

	.superfly-about-index a.is-on::after {
		content: "";
		display: inline-block;
		width: 9px;
		height: 9px;
		margin-left: 10px;
		background-color: var(--superfly-about-accent);
		transform: skewX(var(--superfly-about-slant));
	}

	/* 88px until 2026-10-01. See the note on the base rule - these two
	   values move together. */
	.superfly-about-stage {
		padding-bottom: 70px;
	}
}


/* -------------------------------------------------------------
 * Reduced motion
 *
 * about.js sets scroll-behavior in JS rather than CSS so that it can read
 * this preference live; this block covers the transitions.
 * ----------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	.superfly-about *,
	.superfly-about *::before,
	.superfly-about *::after {
		transition-duration: 0.001ms !important;
		animation-duration: 0.001ms !important;
	}
}


/* -------------------------------------------------------------
 * Print
 *
 * The index is navigation and the rail is decoration; neither survives
 * paper. The stages print as three headed sections.
 * ----------------------------------------------------------- */

@media print {

	.superfly-about-index {
		display: none;
	}

	.superfly-about-stages::before,
	.superfly-about-stage::before {
		display: none;
	}

	.superfly-about-stages {
		padding-left: 0;
	}
}

/* ---- matching contact's and privacy's measure inside Elementor ----
 * This page became an Elementor HTML widget on 2026-10-02, and Elementor's
 * frontend.css sets box-sizing:border-box on everything inside .elementor -
 * including this block. Outside Elementor it was content-box, so
 * `max-width:1180px` meant 1180 of CONTENT plus two 40px gutters = 1260
 * overall. Inside Elementor the same declaration means 1180 OVERALL, which
 * is 1100 of content: the text starts 40px further in on each side and the
 * page no longer lines up with contact, privacy, terms or return-refund.
 *
 * 1260 is simply the border-box spelling of the same measure. terms.css and
 * privacy.css both carry this identical correction and explain it at length;
 * this is the third copy.
 *
 * Scoped to the page's body id on purpose - .superfly-about is this page's own
 * class, but keeping the form identical to the other two makes the three
 * easy to find together.
 *
 * Measured after: content 1180, text edge 125px, level with contact and
 * privacy at 1440px. */
body.page-id-193 .superfly-about { max-width: var(--sf-measure-box); }
