/* NEXTZ company website — navy, the brand gradient (violet > blue > sky) and the NEXTZ chevron.
   Gold lives only on the achievement wall. Motion is switched off for prefers-reduced-motion. */
:root {
  --navy: #0f2747;
  --navy-deep: #0a1c35;
  --ink: #12233d;
  --muted: #5c6b84;
  --paper: #f3f6fb;
  --line: #dde4ef;
  --brand: #3949e6;
  --brand-ink: #2533c4;
  --blue: #2c6bef;
  --sky: #1ba3e8;
  --violet: #5146ea;
  --grad: linear-gradient(115deg, var(--violet) 0%, var(--blue) 50%, var(--sky) 100%);
  --on-navy: #c7d3e8;
  --gold: #e2b84a;
  --gold-2: #f6dc8c;
  --gold-ink: #8a6a12;
  --font: "Anuphan", "Noto Sans Thai", "Leelawadee UI", Tahoma, system-ui, sans-serif;
  --r: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 104'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='.35' y2='1'%3E%3Cstop offset='0' stop-color='%235146EA'/%3E%3Cstop offset='.55' stop-color='%232C6BEF'/%3E%3Cstop offset='1' stop-color='%2316A6EA'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M56 16 L96 52 L56 88' fill='none' stroke='url(%23g)' stroke-width='26' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --chev-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 104'%3E%3Cpath d='M56 16 L96 52 L56 88' fill='none' stroke='%23fff' stroke-width='18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.75; color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.3; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: -60px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 800px; }
.muted { color: var(--muted); }

/* ---------- motion helpers ---------- */
.chev { display: block; overflow: visible; }
.chev-draw path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: chev-draw 1.4s .25s var(--ease) forwards; }
@keyframes chev-draw { to { stroke-dashoffset: 0; } }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 24px; border-radius: 12px;
  font: 600 16px/1.2 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 12px 30px; font-size: 17px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(57, 73, 230, .7); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(57, 73, 230, .85); }
.btn-glow { background: var(--grad); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 12px 34px -8px rgba(27, 163, 232, .75); }
.btn-glow:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .3) inset, 0 16px 44px -8px rgba(27, 163, 232, .95); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 12px 30px -12px rgba(10, 28, 53, .6); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.link-more { position: relative; font-weight: 600; color: var(--brand-ink); white-space: nowrap; text-decoration: none; padding-right: 22px; }
.link-more::after { content: ""; position: absolute; right: 2px; top: 50%; width: 8px; height: 8px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg); transition: right .2s var(--ease); }
.link-more:hover::after { right: -3px; }
.link-light { color: #fff; }

/* ---------- top bar (transparent over the home hero, solid after scrolling) ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px); transition: background .3s, border-color .3s, box-shadow .3s; }
.topbar-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 23px; letter-spacing: .07em; }
.brand-light { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav a { position: relative; color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.site-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--brand-ink); }
.site-nav .nav-member { margin-left: 12px; background: var(--grad); color: #fff; padding: 10px 18px; border-radius: 12px; box-shadow: 0 8px 20px -10px rgba(57, 73, 230, .8); }
.site-nav .nav-member::after { display: none; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 20px; height: 2px; background: var(--navy); margin: 0 auto; position: relative; transition: transform .2s; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
.page-home .topbar { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
.page-home .topbar .brand, .page-home .topbar .site-nav a { color: #fff; }
.page-home .topbar .menu-btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.page-home .topbar .menu-bars, .page-home .topbar .menu-bars::before, .page-home .topbar .menu-bars::after { background: #fff; }
.page-home .topbar.is-solid { background: rgba(255, 255, 255, .96); border-color: var(--line); backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 10px 30px -18px rgba(10, 28, 53, .4); }
.page-home .topbar.is-solid .brand, .page-home .topbar.is-solid .site-nav a { color: var(--ink); }
.page-home .topbar.is-solid .brand { color: var(--navy); }
.page-home .topbar.is-solid .site-nav .nav-member { color: #fff; }
.page-home .topbar.is-solid .menu-btn { background: #fff; border-color: var(--line); }
.page-home .topbar.is-solid .menu-bars, .page-home .topbar.is-solid .menu-bars::before, .page-home .topbar.is-solid .menu-bars::after { background: var(--navy); }
.page-home .topbar.is-solid .menu-btn[aria-expanded="true"] .menu-bars, .page-home .topbar .menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }

/* ---------- hero: full photo + a navy arrow panel with a glowing gradient edge ---------- */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; isolation: isolate; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; position: relative; min-height: clamp(560px, 52vw, 760px); opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero-slide.is-on { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s ease-out; }
.hero-slide.is-on .hero-bg img { transform: scale(1); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 28, 53, .55) 0%, rgba(10, 28, 53, 0) 30%); }
.hero-panel, .hero-edge { position: absolute; top: 0; bottom: 0; left: 0; width: 56%;
  clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%); transition: transform 1s var(--ease); }
.hero-panel { z-index: 0; background: linear-gradient(105deg, rgba(10, 28, 53, .97) 0%, rgba(15, 39, 71, .93) 70%, rgba(15, 39, 71, .86) 100%); width: 55%; }
.hero-edge { z-index: -1; background: var(--grad); filter: drop-shadow(0 0 24px rgba(27, 163, 232, .8)); }
.hero-slide:not(.is-on) .hero-panel, .hero-slide:not(.is-on) .hero-edge { transform: translateX(-30%); }
.hero-slide.is-on .hero-panel { animation: panel-in 1.1s var(--ease) both; }
.hero-slide.is-on .hero-edge { animation: panel-in 1.1s .08s var(--ease) both; }
@keyframes panel-in { from { transform: translateX(-35%); } to { transform: none; } }
.hero-in { position: relative; z-index: 2; display: flex; align-items: center; min-height: clamp(560px, 52vw, 760px); padding-top: 76px; }
.hero-copy { max-width: 42%; padding: 48px 0 72px; }
.hero-title { font-size: clamp(2.3rem, 1.2rem + 3.3vw, 4.3rem); font-weight: 700; line-height: 1.18; letter-spacing: -.015em; text-wrap: balance; }
.hero-sub { margin-top: 20px; color: var(--on-navy); font-size: 1.2rem; max-width: 30em; }
.hero-copy .btn { margin-top: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-actions .btn { margin-top: 0; }
.hero-slide.is-on .hero-title, .hero-slide.is-on .hero-sub, .hero-slide.is-on .hero-copy .btn,
.hero-plain .hero-title, .hero-plain .hero-sub, .hero-plain .hero-actions { animation: rise .9s var(--ease) both; }
.hero-slide.is-on .hero-sub, .hero-plain .hero-sub { animation-delay: .12s; }
.hero-slide.is-on .hero-copy .btn, .hero-plain .hero-actions { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px; display: flex; gap: 10px; }
.hero-dots button { width: 40px; height: 5px; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; overflow: hidden; position: relative; }
.hero-dots button[aria-current="true"] { background: rgba(255, 255, 255, .35); }
.hero-dots button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: dot 6s linear forwards; }
@keyframes dot { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* no banner yet: navy with brand glows and a chevron that draws itself */
.hero-plain { background:
  radial-gradient(60% 80% at 85% 30%, rgba(81, 70, 234, .55), transparent 70%),
  radial-gradient(50% 70% at 70% 100%, rgba(27, 163, 232, .45), transparent 70%),
  var(--navy-deep); }
.hero-plain .hero-in { min-height: clamp(580px, 50vw, 740px); }
.hero-plain .hero-copy { max-width: 54%; }
.hero-chev { position: absolute; z-index: 1; right: 4%; top: 50%; width: min(46vw, 640px); transform: translateY(-46%);
  filter: drop-shadow(0 0 40px rgba(44, 107, 239, .6)); }

/* ---------- page header ---------- */
.page-head { position: relative; overflow: hidden; color: #fff; padding: 84px 0 72px; background:
  radial-gradient(50% 120% at 95% 0%, rgba(81, 70, 234, .5), transparent 70%),
  radial-gradient(40% 90% at 75% 110%, rgba(27, 163, 232, .35), transparent 70%),
  var(--navy); }
.page-head-chev { position: absolute; right: 3%; top: 50%; width: 300px; transform: translateY(-50%); filter: drop-shadow(0 0 26px rgba(44, 107, 239, .55)); }
.page-head .wrap { position: relative; }
.page-title { font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3.3rem); font-weight: 700; line-height: 1.22; letter-spacing: -.01em; animation: rise .8s var(--ease) both; }
.page-intro { margin-top: 14px; font-size: 1.15rem; max-width: 40em; }
.page-head .page-intro { color: var(--on-navy); animation: rise .8s .1s var(--ease) both; }

/* ---------- bands ---------- */
.band { padding: 96px 0; }
.band-soft { background: var(--paper); }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.h-section { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.empty-note { color: var(--muted); padding: 24px 0; }
.fine { font-size: 14px; color: var(--muted); margin-top: 28px; }

/* intro, with the brand name as an outlined watermark */
.band-intro { position: relative; overflow: hidden; padding-bottom: 56px; }
.band-intro::after { content: "NEXTZ"; position: absolute; right: -2vw; bottom: -5vw; z-index: -1; font-size: clamp(8rem, 22vw, 20rem); font-weight: 700; line-height: 1;
  letter-spacing: .02em; color: transparent; -webkit-text-stroke: 2px rgba(57, 73, 230, .1); pointer-events: none; }
.band-intro { isolation: isolate; }
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
.intro-vision { margin: 20px 0 26px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.95rem); line-height: 1.5; font-weight: 600; color: var(--navy); }
.intro-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.intro-list li { position: relative; padding: 18px 20px 18px 56px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 30px -22px rgba(15, 39, 71, .5); transition: transform .3s var(--ease), border-color .3s; }
.intro-list li:hover { transform: translateX(6px); border-color: rgba(57, 73, 230, .45); }
.intro-list li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 22px; height: 20px; transform: translateY(-50%);
  background: var(--chev) no-repeat center / contain; }
.facts { display: flex; flex-wrap: wrap; gap: 20px 56px; margin-top: 64px; }
.fact { display: grid; }
.fact span { font-size: 14.5px; color: var(--muted); }
.fact strong { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); font-weight: 700; line-height: 1.3;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* products */
.product-row, .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.product-card { display: grid; align-content: start; gap: 4px; color: inherit; text-decoration: none; }
.product-img { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 20px; overflow: hidden; margin-bottom: 14px;
  background: radial-gradient(circle at 50% 62%, #dfe5ff 0%, #eef2fb 45%, var(--paper) 75%); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.product-img::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; background: var(--grad); opacity: 0; filter: blur(40px); transition: opacity .4s; }
.product-img img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.product-img .product-img-empty { width: 34%; height: auto; opacity: .35; }
.product-card:hover .product-img { transform: translateY(-8px); box-shadow: 0 26px 50px -24px rgba(57, 73, 230, .55); }
.product-card:hover .product-img::before { opacity: .35; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-name { font-weight: 600; font-size: 1.12rem; }
.product-line { color: var(--muted); font-size: 15px; line-height: 1.55; }
.product-price { font-weight: 700; margin-top: 4px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; }

/* posts */
.post-feature { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto 1fr; gap: 24px 32px; }
.post-feature .post-card-big { grid-row: 1 / span 3; }
.post-feature .post-card:not(.post-card-big) { display: grid; grid-template-columns: 44% 1fr; gap: 18px; align-items: center;
  background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 14px 40px -28px rgba(15, 39, 71, .55); transition: transform .3s var(--ease); }
.post-feature .post-card:not(.post-card-big):hover { transform: translateY(-4px); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.post-img { display: block; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: var(--line); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.06); }
.post-img-empty { display: block; width: 100%; height: 100%; background: var(--chev) no-repeat center / 28%, var(--navy); }
.post-body { padding-top: 16px; }
.post-feature .post-card:not(.post-card-big) .post-body { padding: 0 8px 0 0; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; color: var(--muted); }
.post-cat { color: var(--brand-ink); font-weight: 600; }
.post-title { font-size: 1.14rem; font-weight: 600; margin-top: 6px; line-height: 1.45; }
.post-title a { color: var(--ink); text-decoration: none; }
.post-title a:hover { color: var(--brand-ink); }
.post-ex { margin-top: 10px; color: var(--muted); }
/* the big story: title over the photo */
.post-card-big { position: relative; border-radius: 22px; overflow: hidden; min-height: 460px; background: var(--navy); box-shadow: 0 30px 60px -34px rgba(15, 39, 71, .8); }
.post-card-big .post-img { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.post-card-big .post-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 30px 28px;
  background: linear-gradient(180deg, transparent, rgba(10, 28, 53, .75) 45%, rgba(10, 28, 53, .96)); color: #fff; pointer-events: none; }
.post-card-big .post-body a { pointer-events: auto; }
.post-card-big .post-meta { color: var(--on-navy); }
.post-card-big .post-cat { color: #fff; background: var(--grad); padding: 3px 12px; border-radius: 999px; }
.post-card-big .post-title { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); line-height: 1.32; }
.post-card-big .post-title a { color: #fff; }
.post-card-big .post-title a::after { content: ""; position: absolute; inset: 0; }
.post-card-big .post-ex { color: var(--on-navy); }

/* honour wall: gold lives only here */
.band-honor, .band-honor-page { position: relative; overflow: hidden; color: #fff; isolation: isolate; background:
  radial-gradient(45% 60% at 50% 0%, rgba(226, 184, 74, .22), transparent 70%),
  radial-gradient(40% 60% at 100% 100%, rgba(81, 70, 234, .35), transparent 70%),
  var(--navy-deep); }
.band-honor .h-section, .band-honor-page .h-section { color: #fff; }
.band-honor .h-section { background: linear-gradient(100deg, #fff 30%, var(--gold-2) 50%, #fff 70%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent; animation: shimmer 5s linear infinite; }
@keyframes shimmer { to { background-position: -250% 0; } }
.honor-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 34px 20px; }
.honor-chip, .honor-card { display: grid; justify-items: center; text-align: center; gap: 2px; }
.honor-ring { position: relative; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; margin-bottom: 14px; }
.honor-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: spin 8s linear infinite;
  background: conic-gradient(from 0deg, var(--gold), var(--gold-2), #fff4cf, var(--gold), #a8822a, var(--gold)); }
.honor-ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--navy-deep); }
.honor-ring img, .honor-ring .honor-initial { position: relative; z-index: 1; width: 98px; height: 98px; border-radius: 50%; object-fit: cover; }
@keyframes spin { to { transform: rotate(360deg); } }
.honor-chip:hover .honor-ring { transform: scale(1.06); }
.honor-ring { transition: transform .3s var(--ease); }
.honor-initial { display: grid; place-items: center; background: #1b3a66; color: var(--gold-2); font-size: 2.1rem; font-weight: 700; }
.honor-name { font-weight: 600; }
.honor-rank { font-size: 14px; font-weight: 700; letter-spacing: .04em; background: linear-gradient(90deg, var(--gold), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.honor-title { font-size: 1.7rem; margin: 8px 0 30px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.honor-title span { -webkit-text-fill-color: var(--on-navy); color: var(--on-navy); font-size: 1rem; font-weight: 500; margin-left: 10px; }
.honor-grid { list-style: none; margin: 0 0 60px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px 24px; }
.honor-card .honor-ring { width: 136px; height: 136px; }
.honor-card .honor-ring img, .honor-card .honor-ring .honor-initial { width: 122px; height: 122px; }
.honor-date { color: var(--on-navy); font-size: 14px; }
.honor-card blockquote { margin: 12px 0 0; color: var(--on-navy); font-size: 15px; line-height: 1.6; font-style: italic; }
.band-honor-page .fine { color: var(--on-navy); }
.band-honor-page .h-section { color: #fff; }

/* call to action: the full brand gradient with drifting chevrons */
.cta { position: relative; overflow: hidden; color: #fff; padding: 84px 0; background: var(--grad); isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: -40px; z-index: -1; opacity: .12; background: var(--chev-white) 0 0 / 120px 104px repeat;
  animation: drift 24s linear infinite; }
@keyframes drift { to { background-position: 240px 0; } }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta-title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.7rem); font-weight: 700; letter-spacing: -.01em; }
.cta p { color: rgba(255, 255, 255, .88); margin-top: 8px; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* prose */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.45rem; color: var(--navy); margin: 1.9em 0 .5em; }
.prose > h2:first-child, .prose > :first-child h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding: 0; }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 32px; margin: .5em 0; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 14px; background: var(--chev) no-repeat center / contain; }
.prose ol { padding-left: 1.4em; }
.prose strong { color: var(--navy); }

/* about */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.vm-vision { position: relative; padding: 40px; border-radius: 24px; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 90% at 100% 0%, rgba(27, 163, 232, .55), transparent 70%), var(--navy); }
.vm-vision .h-section { color: #fff; }
.vm-vision::after { content: ""; position: absolute; z-index: -1; right: -30px; bottom: -30px; width: 200px; height: 174px; background: var(--chev) no-repeat center / contain; opacity: .5; }
.vm-quote { margin-top: 18px; font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2.05rem); line-height: 1.5; font-weight: 600; }
.vm-mission .h-section { margin-bottom: 14px; }
.values ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 28px; }
.values ul li { position: relative; background: #fff; border-radius: 20px; padding: 30px 28px 28px; margin: 0; border-top: 4px solid transparent;
  border-image: var(--grad) 1; box-shadow: 0 18px 40px -30px rgba(15, 39, 71, .6); }
.values ul li::before { display: none; }
.values ul li strong { display: block; font-size: 1.3rem; margin-bottom: 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.values { max-width: none; }
.story { display: grid; gap: 56px; }
.story-img { grid-template-columns: 1.2fr 1fr; align-items: start; }
.story img { border-radius: 24px; box-shadow: 0 30px 60px -36px rgba(15, 39, 71, .8); }

/* product detail */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pd-img { aspect-ratio: 1; border-radius: 26px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 62%, #dfe5ff 0%, #eef2fb 45%, var(--paper) 75%); }
.pd-img img { width: 100%; height: 100%; object-fit: contain; }
.pd-img .product-img-empty { width: 30%; height: auto; opacity: .35; }
.pd-title { color: var(--navy); }
.pd-price { font-size: 2rem; font-weight: 700; margin-top: 16px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.pd-fda { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.crumb { font-size: 15px; margin-bottom: 10px; }
.crumb a { font-weight: 600; text-decoration: none; }
.crumb a::before { content: "‹ "; }

/* news */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.tabs a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; transition: border-color .2s; }
.tabs a:hover { border-color: var(--brand); }
.tabs a[aria-current="page"] { background: var(--grad); border-color: transparent; color: #fff; }
.pager { display: flex; gap: 8px; margin-top: 48px; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pager a[aria-current="page"] { background: var(--grad); border-color: transparent; color: #fff; }

/* article */
.article .page-title { color: var(--navy); animation: none; }
.article-date { color: var(--muted); margin-top: 8px; }
.article-cover { margin: 36px auto; }
.article-cover img { width: 100%; max-height: 660px; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px -36px rgba(15, 39, 71, .8); }
.article .prose { margin-top: 8px; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 28px 0; border-radius: 20px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 36px; }
.gallery a { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(6, 15, 30, .94); display: grid; place-items: center; padding: 24px; animation: fade .25s ease both; }
@keyframes fade { from { opacity: 0; } }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; }
.lightbox button { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; font-size: 26px; background: #fff; color: var(--navy); cursor: pointer; }
.preview-bar { background: #fdf3e2; color: #7a4a06; text-align: center; padding: 10px 16px; font-weight: 600; }

/* branches */
.branch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.branch { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 26px 28px 26px 34px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 16px 40px -32px rgba(15, 39, 71, .7); overflow: hidden; }
.branch::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--grad); }
.branch-prov { color: var(--brand-ink); font-weight: 600; font-size: 15px; }
.branch-name { font-size: 1.35rem; color: var(--navy); margin-bottom: 4px; }
.branch-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-solo { grid-template-columns: minmax(0, 720px); }
.contact-ways { display: grid; gap: 14px; }
.way { position: relative; display: grid; gap: 2px; padding: 28px; border-radius: 22px; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 100% at 100% 0%, rgba(27, 163, 232, .5), transparent 70%), var(--navy); }
.way::after { content: ""; position: absolute; z-index: -1; right: -24px; bottom: -24px; width: 140px; height: 122px; background: var(--chev) no-repeat center / contain; opacity: .45; }
.way strong { font-size: 1.2rem; color: #fff; }
.way span { color: var(--on-navy); font-size: 15px; }
.way-addr a { color: #fff; font-weight: 600; font-size: 15px; margin-top: 8px; }
.contact-form-box { background: #fff; border-radius: 24px; padding: 36px; border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(15, 39, 71, .7); }
.contact-form-box .h-section { margin-bottom: 18px; }
.cform { display: grid; gap: 16px; }
.cform label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.cform-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform input, .cform select, .cform textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: 400 16px/1.5 var(--font); color: var(--ink); background: var(--paper); transition: border-color .2s, box-shadow .2s, background .2s; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(57, 73, 230, .16); }
.cform .btn { justify-self: start; }
.cform .fine { margin-top: 0; }
.hp { position: absolute !important; left: -9999px; }
.notice { padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; }
.notice-ok { background: #e6f5ef; color: #0b5e44; }
.notice-ok p { margin-top: 2px; }
.notice-err { background: #fbeaea; color: #8e2226; }

/* footer */
.footer { position: relative; background: var(--navy-deep); color: var(--on-navy); padding: 72px 0 0; font-size: 15px; line-height: 1.7; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-name { color: #fff; font-weight: 600; margin: 14px 0 4px; }
.footer-co p + p { margin-top: 6px; }
.footer-head { color: #fff; font-weight: 600; margin-bottom: 10px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 56px; padding-top: 20px; padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.footer-base p:last-child { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- small screens ---------- */
@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 18px; box-shadow: 0 16px 30px rgba(15, 39, 71, .15); }
  .site-nav.is-open { display: flex; }
  .site-nav a, .page-home .topbar .site-nav a { color: var(--ink); padding: 13px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); padding-left: 14px; }
  .site-nav .nav-member, .page-home .topbar .site-nav .nav-member { margin: 14px 0 0; text-align: center; border-bottom: 0; border-radius: 12px; color: #fff; }
  .product-row, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-panel, .hero-edge { width: 70%; }
  .hero-copy { max-width: 56%; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .band { padding: 64px 0; }
  .topbar-in { min-height: 64px; }
  .hero-slide { min-height: 0; display: flex; flex-direction: column; }
  .hero-bg { position: relative; z-index: 0; height: 74vw; min-height: 300px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(10, 28, 53, .6) 0%, rgba(10, 28, 53, 0) 35%, rgba(10, 28, 53, 0) 70%, var(--navy-deep) 100%); }
  .hero-panel, .hero-edge { display: none; }
  .hero-in, .hero-plain .hero-in { min-height: 0; padding-top: 0; background: var(--navy-deep); }
  .hero-plain .hero-in { background: transparent; padding-top: 64px; }
  .hero-copy, .hero-plain .hero-copy { max-width: none; padding: 8px 0 72px; }
  .hero-plain .hero-copy { padding: 140px 0 80px; }
  .hero-chev { right: -12%; top: 22%; width: 66vw; opacity: .9; }
  .hero-dots { bottom: 26px; }
  .page-head { padding: 56px 0 48px; }
  .page-head-chev { width: 170px; right: -34px; opacity: .55; }
  .band-intro::after { font-size: 34vw; bottom: -4vw; }
  .intro, .vm, .pd, .contact, .story-img { grid-template-columns: 1fr; gap: 36px; }
  .vm-vision { padding: 30px; }
  .post-feature { grid-template-columns: 1fr; }
  .post-feature .post-card-big { grid-row: auto; min-height: 380px; }
  .product-row, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .band-head { flex-wrap: wrap; }
  .facts { margin-top: 40px; gap: 18px 36px; }
  .cform-2 { grid-template-columns: 1fr; }
  .contact-form-box { padding: 24px 18px; }
  .cta { padding: 60px 0; }
  .honor-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-feature .post-card:not(.post-card-big) { grid-template-columns: 40% 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .branch { padding: 22px 20px 22px 28px; }
  .branch-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .chev-draw path { stroke-dashoffset: 0; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-bg img { transform: none; }
}
