/* ezFibre — mobile-first, system fonts only (Google Fonts is blocked in China) */
:root {
  --bg: #faf7f3;
  --bg-alt: #f2ece5;
  --card: #ffffff;
  --ink: #1e1a1d;
  --ink-2: #5d5559;
  --line: #e4dcd4;
  --accent: #d6416b;
  --accent-ink: #b12d54;
  --wa: #1fa855;
  --wa-ink: #168a45;
  --dark: #1e1a1d;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(30, 26, 29, .06), 0 8px 24px rgba(30, 26, 29, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(250, 247, 243, .92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 16px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; }
.logo-word { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.logo-word b { font-weight: 800; color: var(--accent); }
.main-nav { display: none; }
.head-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn { width: 42px; height: 42px; border: 0; background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav-open .main-nav { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
.main-nav a { text-decoration: none; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--line); }
.main-nav a:last-child { border: 0; }
.main-nav a[aria-current] { color: var(--accent); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font-size: 14px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; }
.lang summary::-webkit-details-marker { display: none; }
.lang div { position: absolute; right: 0; top: 44px; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 140px; }
.lang a { display: block; padding: 8px 12px; text-decoration: none; border-radius: 8px; }
.lang a:hover, .lang a[aria-current] { background: var(--bg-alt); }

@media (min-width: 900px) {
  .main-nav { display: flex; gap: 28px; margin-left: 32px; }
  .main-nav a { padding: 0; border: 0; font-size: 15px; }
  .main-nav a:hover { color: var(--accent); }
  .menu-btn { display: none; }
}

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--dark); }
.btn-lg { min-height: 56px; font-size: 17px; margin: 8px 0 24px; }
.wa-ico { width: 20px; height: 20px; flex: none; }

/* floating WhatsApp: icon on phones, pill on desktop */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff; text-decoration: none; border-radius: 999px; padding: 14px;
  box-shadow: 0 6px 20px rgba(31, 168, 85, .35); font-weight: 600; }
.wa-float .wa-ico { width: 26px; height: 26px; }
.wa-float span { display: none; }
@media (min-width: 900px) { .wa-float { padding: 12px 20px 12px 16px; } .wa-float span { display: inline; } }

/* ---------- hero ---------- */
.hero { padding: 32px 0 8px; }
.hero-grid { display: grid; gap: 24px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px; }
.hero h1 { font-size: clamp(32px, 7.5vw, 60px); font-weight: 750; letter-spacing: -.03em; }
.hero-sub h1 { font-size: clamp(30px, 6.5vw, 50px); }
.lead { font-size: 18px; color: var(--ink-2); max-width: 36em; }
.hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .hero { padding: 64px 0 24px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
  .hero-img img { aspect-ratio: 5 / 4; }
}

.stats { padding: 24px 0; }
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats-row div { background: var(--card); padding: 18px 16px; }
.stats-row b { display: block; font-size: 26px; letter-spacing: -.02em; }
.stats-row span { font-size: 14px; color: var(--ink-2); }
@media (min-width: 700px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }

/* ---------- sections ---------- */
.section { padding: 48px 0; }
.section.alt { background: var(--bg-alt); }
.page-top { padding-top: 32px; }
.h1 { font-size: clamp(30px, 6.5vw, 48px); font-weight: 750; letter-spacing: -.03em; }
.h2 { font-size: clamp(24px, 5vw, 36px); font-weight: 700; margin-bottom: 24px; }
.h3 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; }
.sec-head { margin-bottom: 28px; }
.sec-head .h2, .sec-head .h1 { margin-bottom: 8px; }
.sec-head p { color: var(--ink-2); max-width: 40em; margin: 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }

/* audience paths */
.paths { display: grid; gap: 16px; }
.path { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; }
.path img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.path:hover img { transform: scale(1.03); }
.path div { position: absolute; inset: auto 0 0 0; padding: 60px 20px 20px; background: linear-gradient(transparent, rgba(20, 15, 18, .82)); }
.path h3 { font-size: 26px; margin-bottom: 6px; }
.path p { margin: 0; opacity: .92; }
@media (min-width: 700px) { .paths { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* fibre cards */
.fibre-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (min-width: 960px) { .fibre-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.fibre-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.fibre-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.fibre-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.fibre-card h3 { font-size: 17px; margin-bottom: 4px; }
.fibre-tag { font-weight: 500; font-size: 14px; line-height: 1.35; margin-bottom: 8px; }
.fibre-meta { font-size: 12.5px; line-height: 1.4; color: var(--ink-2); margin-bottom: 12px; }
@media (min-width: 700px) {
  .fibre-card { padding: 20px; }
  .fibre-card h3 { font-size: 20px; }
  .fibre-tag { font-size: 16px; }
  .fibre-meta { font-size: 14px; }
}
.more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.chip { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; }
.chip-fr { background: #fde8ee; color: var(--accent-ink); }

/* fibre swatches: a few strands of colour standing in for real fibre photos */
.swatch { width: 44px; height: 22px; border-radius: 999px; display: inline-block;
  background-image: repeating-linear-gradient(100deg, rgba(255,255,255,.22) 0 2px, transparent 2px 6px), var(--sw); }
.swatch-big { width: 100%; aspect-ratio: 2 / 1; border-radius: var(--radius);
  background-image: repeating-linear-gradient(100deg, rgba(255,255,255,.18) 0 2px, transparent 2px 7px), var(--sw); }
.sw-matteflex { --sw: linear-gradient(90deg, #2b211d, #6b4a35, #a37b57); }
.sw-trueblend { --sw: linear-gradient(90deg, #3a2a22, #8c6447, #d2b08a); }
.sw-vibranceflex { --sw: linear-gradient(90deg, #ff4f8b, #8a5cff, #23c4d8); }
.sw-partyfun { --sw: linear-gradient(90deg, #ff9a1f, #ff4f8b, #ffd23f); }
.sw-featherflex { --sw: linear-gradient(90deg, #1b1414, #5c3b2e, #b06b3c); }
.sw-braidease { --sw: linear-gradient(90deg, #111, #7a2f1f, #d9893d); }
.sw-pvc { --sw: linear-gradient(90deg, #f4d58d, #f08aa6, #8fd3c7); }

@media (min-width: 700px) { .swatch { width: 56px; height: 28px; } }

/* application cards */
.app-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
.app-scroll::-webkit-scrollbar { display: none; }
.app-scroll > * { scroll-snap-align: start; }
@media (min-width: 700px) { .app-scroll { grid-auto-columns: 40%; } }
@media (min-width: 1000px) { .app-scroll { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 16px; } }
.app-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .app-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.app-card { display: block; background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); }
.app-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s; }
.app-card:hover img { transform: scale(1.04); }
.app-card div { padding: 14px 16px 16px; }
.app-card h3 { font-size: 17px; margin-bottom: 2px; }
.app-card p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* why */
.why-grid { display: grid; gap: 28px; }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-n { display: block; font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.why-item h3 { font-size: 19px; }
.why-item p { color: var(--ink-2); margin: 0; }

/* standards (toy page) */
.std-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .std-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.std { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.std b { display: block; font-size: 20px; letter-spacing: -.01em; }
.std-region { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent-ink); margin: 2px 0 8px; }
.std p { font-size: 14px; color: var(--ink-2); margin: 0; }
.opt-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .opt-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
.opt { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.opt h3 { font-size: 18px; }
.opt p { color: var(--ink-2); margin: 0; }

/* product page */
.crumb { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.crumb a { text-decoration: none; color: var(--accent-ink); }
.prod-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .prod-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.prod-title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.feat-img { width: 100%; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.specs { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.specs th, .specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border: 0; }
.specs th { font-weight: 500; color: var(--ink-2); width: 42%; }

/* about */
.timeline { list-style: none; padding: 0; margin: 0 0 32px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 24px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline b { font-size: 20px; }
.timeline p { margin: 4px 0 0; color: var(--ink-2); }
.body-text { font-size: 18px; }

/* contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.contact-list { margin: 0; }
.contact-list dt { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-top: 16px; }
.contact-list dd { margin: 2px 0 0; font-size: 18px; }
.contact-list a { text-decoration: none; }
.inquiry { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.inquiry .h3 { margin-top: 0; }
.inquiry label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.inquiry input, .inquiry select, .inquiry textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  font: 16px var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.inquiry .two { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .inquiry .two { grid-template-columns: 1fr 1fr; } }
.inquiry .btns { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--dark); color: #fff; padding: 56px 0; text-align: left; }
.cta-band h2 { font-size: clamp(26px, 5.5vw, 40px); }
.cta-band p { opacity: .8; max-width: 36em; }

/* footer */
.site-foot { background: var(--dark); color: rgba(255,255,255,.78); border-top: 1px solid rgba(255,255,255,.1); padding: 48px 0 96px; font-size: 15px; }
.site-foot .logo-word { color: #fff; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot p { margin-top: 12px; max-width: 28em; }
.foot-base { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
