/*
 * BareFABRIC — landing page (barefabric.com)
 * Visual language mirrors the DFDC dfdc-th design system: dark surface,
 * mint accent, Inter Tight, bracket eyebrows, dashed dividers.
 * Self-contained — no dependency on the DFDC theme.
 */

:root {
	--mint:        #2DD4A3;
	--mint-700:    #1FA37D;
	--mint-300:    #6EE5BE;
	--cyan:        #16F2DC;
	--bg:          #0F1513;
	--bg-elev:     #131D1A;
	--bg-elev-2:   #182723;
	--surface:     #FFFFFF;
	--surface-2:   #F6FAF8;
	--text:        #E9F4F0;
	--text-muted:  #98ACA5;
	--text-dark:   #0F1513;
	--text-dark-muted: #4D5C57;
	--line-dark:   rgba(255, 255, 255, 0.10);
	--line-light:  rgba(15, 21, 19, 0.10);
	--dash-dark:   1px dashed rgba(255, 255, 255, 0.18);
	--dash-light:  1px dashed rgba(15, 21, 19, 0.18);
	--font:        "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono:        ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, monospace;
	--container:   min(1180px, calc(100% - 48px));
	--ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: var(--container); margin: 0 auto; }
.eyebrow {
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--mint);
	margin-bottom: 16px;
}
.eyebrow--dark { color: var(--mint-700); }

/* ---- Nav ---- */
.nav {
	position: sticky; top: 0; z-index: 100;
	background: rgba(15, 21, 19, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(45, 212, 163, 0.16);
}
.nav__inner {
	width: var(--container); margin: 0 auto;
	height: 68px; display: flex; align-items: center; gap: 28px;
}
.nav__brand { font-size: 19px; font-weight: 600; letter-spacing: 0.01em; }
.nav__brand b { color: var(--mint); font-weight: 600; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-size: 14px; color: rgba(233,244,240,0.82); transition: color 160ms var(--ease); }
.nav__links a:hover { color: #fff; }
.nav__cta { margin-left: 8px; }
@media (max-width: 760px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } }

/* ---- Buttons ---- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 22px; font-size: 14px; font-weight: 500;
	letter-spacing: 0.04em; text-transform: uppercase;
	border: 1px solid transparent; border-radius: 0;
	transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
	cursor: pointer;
}
.btn--primary { background: var(--mint); color: var(--text-dark); border-color: var(--mint); }
.btn--primary:hover { background: var(--mint-300); border-color: var(--mint-300); }
.btn--ghost { background: rgba(8,16,14,0.4); color: var(--text); border-color: rgba(255,255,255,0.35); }
.btn--ghost:hover { border-color: #fff; background: rgba(8,16,14,0.7); }
.btn--sm { padding: 10px 16px; font-size: 13px; }

/* ---- Hero ---- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	padding: clamp(80px, 13vh, 150px) 0 clamp(64px, 9vh, 110px);
	background: #08100E;
	border-bottom: var(--dash-dark);
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(60% 60% at 12% 85%, rgba(45,212,163,0.22) 0%, rgba(45,212,163,0) 60%),
		radial-gradient(50% 55% at 85% 12%, rgba(22,242,220,0.16) 0%, rgba(22,242,220,0) 62%),
		linear-gradient(165deg, #0b1311 0%, #0f1513 55%, #0a110f 100%);
}
.hero__headline {
	font-size: clamp(40px, 6vw, 76px); font-weight: 400;
	letter-spacing: -0.022em; line-height: 1.04; max-width: 16ch;
	margin: 0 0 22px;
}
.hero__headline em { font-style: normal; color: var(--mint); }
.hero__sub { font-size: clamp(16px, 1.1vw + 0.4rem, 20px); color: rgba(233,244,240,0.86); max-width: 58ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Fact strip ---- */
.facts {
	margin-top: clamp(36px, 5vh, 56px);
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px; background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.10);
}
.facts > div { background: #0b1311; padding: 22px 24px; }
.facts dt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.facts dd { font-size: clamp(20px, 2vw, 26px); font-weight: 400; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.facts dd b { color: var(--mint); font-weight: 400; }
@media (max-width: 680px) { .facts { grid-template-columns: 1fr; } }

/* ---- Sections ---- */
.section { padding: clamp(64px, 9vh, 120px) 0; }
.section--light { background: var(--surface); color: var(--text-dark); }
.section--dark { background: var(--bg); color: var(--text); }
.section__head { max-width: 60ch; margin-bottom: clamp(36px, 5vh, 56px); }
.section__title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 18px; }
.section__lede { font-size: clamp(16px, 1vw + 0.4rem, 19px); color: var(--text-dark-muted); }
.section--dark .section__lede { color: rgba(233,244,240,0.78); }

/* ---- Split (what it is) ---- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split p { color: var(--text-dark-muted); margin-bottom: 16px; font-size: 16px; }
.split p:last-child { margin-bottom: 0; }
.split__panel {
	background: var(--bg); color: var(--text); padding: 32px;
	border-top: 2px solid var(--mint);
}
.split__panel ul { list-style: none; }
.split__panel li { padding: 14px 0; border-bottom: var(--dash-dark); display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.split__panel li:last-child { border-bottom: 0; }
.split__panel li span:last-child { color: var(--mint); white-space: nowrap; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---- Product cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.10); }
.card { background: var(--bg-elev); padding: 30px 28px; transition: background 200ms var(--ease); }
.card:hover { background: var(--bg-elev-2); }
.card__tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.card h3 { font-size: 21px; font-weight: 500; margin-bottom: 10px; }
.card p { font-size: 15px; color: rgba(233,244,240,0.74); }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---- Fabric locations ---- */
.locs { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.locs > div { background: var(--surface-2); padding: 20px 22px; }
.locs dt { font-size: 16px; font-weight: 500; color: var(--text-dark); }
.locs dd { font-size: 13px; color: var(--text-dark-muted); margin-top: 4px; }

/* ---- CTA band ---- */
.cta {
	padding: clamp(56px, 8vh, 96px) 0;
	background:
		radial-gradient(60% 120% at 80% 0%, rgba(45,212,163,0.18) 0%, rgba(45,212,163,0) 60%),
		var(--bg);
	border-top: var(--dash-dark); border-bottom: var(--dash-dark);
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta__title { font-size: clamp(26px, 3vw, 40px); font-weight: 400; letter-spacing: -0.02em; max-width: 18ch; }

/* ---- Footer ---- */
.footer { background: #0a110f; padding: 56px 0 36px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer__grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand b { color: var(--mint); }
.footer__pitch { color: var(--text-muted); font-size: 14px; max-width: 36ch; margin-top: 12px; }
.footer__links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer__col h4 { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.footer__col a { display: block; font-size: 14px; color: rgba(233,244,240,0.78); margin-bottom: 9px; transition: color 160ms var(--ease); }
.footer__col a:hover { color: var(--mint); }
.footer__base { margin-top: 44px; padding-top: 22px; border-top: var(--dash-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); }
