:root {
  --navy-950: #041127;
  --navy-900: #071a3a;
  --navy-800: #0b2855;
  --blue-600: #2d6fec;
  --blue-500: #4388ff;
  --sky-300: #89d7ff;
  --ink: #16233a;
  --muted: #617088;
  --line: #dce4ee;
  --soft: #f1f5f9;
  --white: #fff;
  --red: #e14b56;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 24px 70px rgba(7, 26, 58, .12);
  --container: 1240px;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--navy-950); line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3.2rem, 7vw, 6.6rem); }
h2 { font-size: clamp(2.25rem, 4.4vw, 4.35rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { color: var(--muted); }
::selection { color: #fff; background: var(--blue-600); }
:focus-visible { outline: 3px solid var(--sky-300); outline-offset: 4px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 144px) 0; }
.section--soft { background: var(--soft); }
.section--navy { color: #fff; background: var(--navy-950); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #b9c7dc; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .65fr); gap: 72px; align-items: end; margin-bottom: 54px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { max-width: 620px; margin-bottom: 8px; font-size: 1.08rem; }
.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--blue-600); font-size: .73rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow--light { color: var(--sky-300); }
.lead { max-width: 730px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.65; }
.skip-link { position: fixed; z-index: 10000; top: 12px; left: 12px; padding: 10px 16px; color: #fff; background: var(--blue-600); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.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; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 750; line-height: 1; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--blue-600); box-shadow: 0 14px 34px rgba(45, 111, 236, .28); }
.button--primary:hover { background: #1d5eda; box-shadow: 0 18px 40px rgba(45, 111, 236, .34); }
.button--secondary { color: var(--navy-950); background: #fff; border-color: var(--line); }
.button--secondary:hover { border-color: var(--blue-600); }
.button--light { color: var(--navy-950); background: #fff; }
.button--ghost-light { color: #fff; border-color: rgba(255,255,255,.28); }
.button--ghost-light:hover { background: rgba(255,255,255,.1); }
.button--header { min-height: 46px; padding-inline: 19px; color: #fff; background: var(--blue-600); font-size: .82rem; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--navy-900); font-size: .86rem; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
a:hover .text-link span, .text-link:hover span { transform: translate(3px, -3px); }
.text-link--light { color: #fff; }

.utility-bar { color: #ced9e9; background: var(--navy-950); font-size: .74rem; }
.utility-bar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.utility-bar__inner div { display: flex; gap: 12px; }
.utility-bar a:hover { color: #fff; }
.site-header { position: sticky; z-index: 1000; top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(220,228,238,.7); backdrop-filter: blur(18px); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 12px 36px rgba(4,17,39,.08); }
.header-inner { display: flex; align-items: center; min-height: var(--header-height); gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { color: var(--navy-950); font-size: 1.34rem; letter-spacing: .16em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .59rem; letter-spacing: .055em; }
.primary-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.primary-nav > a, .nav-group > button { position: relative; padding: 29px 0 26px; border: 0; color: #34445c; background: transparent; font-size: .81rem; font-weight: 720; cursor: pointer; }
.primary-nav > a::after, .nav-group > button::after { position: absolute; right: 0; bottom: 18px; left: 0; height: 2px; content: ""; background: var(--blue-600); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.primary-nav > a:hover::after, .primary-nav > a.is-active::after, .nav-group:hover > button::after { transform: scaleX(1); transform-origin: left; }
.nav-group { position: relative; }
.nav-group > button span { margin-left: 3px; }
.nav-dropdown { position: absolute; top: calc(100% - 2px); left: 50%; display: grid; width: 360px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.nav-group:hover .nav-dropdown, .nav-group.is-open .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown a { display: flex; flex-direction: column; padding: 11px 14px; border-radius: 10px; }
.nav-dropdown a:hover { background: var(--soft); }
.nav-dropdown strong { color: var(--navy-950); font-size: .82rem; }
.nav-dropdown small { color: var(--muted); font-size: .7rem; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy-950); transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: calc(100svh - 118px); overflow: hidden; color: #fff; background: var(--navy-950); }
.hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(3,14,33,.95) 0%, rgba(4,17,39,.8) 42%, rgba(4,17,39,.2) 75%, rgba(4,17,39,.3) 100%), url("/assets/images/unifex-tailoring-hero.webp") center/cover no-repeat; }
.hero::after { position: absolute; inset: 0; content: ""; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg,#000,transparent 70%); }
.hero__inner { position: relative; z-index: 1; display: grid; align-content: center; min-height: calc(100svh - 118px); padding-top: 75px; padding-bottom: 115px; }
.hero__copy { max-width: 860px; }
.hero .eyebrow { color: var(--sky-300); }
.hero h1 { max-width: 850px; margin-bottom: 28px; color: #fff; }
.hero h1 em { color: var(--sky-300); font-style: normal; }
.hero__copy > p { max-width: 680px; margin-bottom: 34px; color: #c4d1e4; font-size: clamp(1.05rem, 1.5vw, 1.27rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; border-top: 1px solid rgba(255,255,255,.14); background: rgba(2,13,31,.72); backdrop-filter: blur(16px); }
.hero-proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 18px 28px; border-right: 1px solid rgba(255,255,255,.14); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-item b { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; color: var(--sky-300); border: 1px solid rgba(137,215,255,.4); border-radius: 50%; font-size: .78rem; }
.proof-item span { color: #dbe5f3; font-size: .79rem; line-height: 1.35; }

.page-hero { position: relative; overflow: hidden; padding: 112px 0 100px; color: #fff; background: var(--navy-950); }
.page-hero::after { position: absolute; top: -45%; right: -10%; width: 640px; height: 640px; content: ""; border: 1px solid rgba(137,215,255,.15); border-radius: 50%; box-shadow: 0 0 0 90px rgba(137,215,255,.025), 0 0 0 180px rgba(137,215,255,.02); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 980px; margin-bottom: 22px; color: #fff; font-size: clamp(3rem, 6vw, 6rem); }
.page-hero p { max-width: 740px; margin-bottom: 0; color: #bdcbe0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sector-hero { position: relative; display: grid; min-height: 680px; color: #fff; background: var(--navy-950); }
.sector-hero__image { position: absolute; inset: 0 0 0 50%; overflow: hidden; }
.sector-hero__image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg,var(--navy-950),transparent 45%), linear-gradient(0deg,rgba(4,17,39,.45),transparent); }
.sector-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.sector-hero__inner { position: relative; z-index: 1; display: grid; align-content: center; min-height: 680px; padding: 90px 0; }
.sector-hero__copy { max-width: 650px; }
.sector-hero h1 { margin-bottom: 24px; color: #fff; font-size: clamp(3rem, 5.8vw, 5.8rem); }
.sector-hero p { color: #c4d1e4; font-size: 1.18rem; }

.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sector-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.sector-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-8px); }
.sector-card__image { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--soft); }
.sector-card__image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg,rgba(4,17,39,.35),transparent 55%); }
.sector-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sector-card:hover img { transform: scale(1.05); }
.sector-card__body { padding: 28px 24px 25px; }
.sector-card h3 { margin-bottom: 12px; }
.sector-card p { min-height: 108px; font-size: .9rem; line-height: 1.6; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(50px, 8vw, 112px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; min-height: 540px; object-fit: cover; border-radius: var(--radius-lg); }
.split__media::before { position: absolute; z-index: -1; right: -22px; bottom: -22px; width: 65%; height: 65%; content: ""; background: var(--sky-300); border-radius: var(--radius-lg); opacity: .35; }
.split__content h2 { margin-bottom: 24px; }
.split__content > p { font-size: 1.06rem; }
.feature-list { display: grid; gap: 0; margin: 34px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--navy-900); font-weight: 700; }
.feature-list li::before { display: grid; width: 26px; height: 26px; place-items: center; content: "\2713"; color: #fff; background: var(--blue-600); border-radius: 50%; font-size: .68rem; }

.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 58px; border-top: 1px solid rgba(255,255,255,.17); }
.process-card { position: relative; padding: 34px 25px 10px 0; }
.process-card:not(:last-child)::after { position: absolute; top: -5px; right: 22px; width: 10px; height: 10px; content: ""; background: var(--sky-300); border-radius: 50%; box-shadow: 0 0 0 6px var(--navy-950); }
.process-card__number { display: block; margin-bottom: 48px; color: var(--sky-300); font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
.process-card h3 { margin-bottom: 14px; font-size: 1.25rem; }
.process-card p { margin-bottom: 0; font-size: .87rem; line-height: 1.65; }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.capability-card { min-height: 270px; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.capability-card__icon { display: grid; width: 46px; height: 46px; margin-bottom: 42px; place-items: center; color: var(--blue-600); background: #e8f0ff; border-radius: 50%; font-size: 1rem; font-weight: 800; }
.capability-card p { margin-bottom: 0; font-size: .92rem; }

.showcase { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.showcase__tabs { display: grid; align-content: start; gap: 8px; }
.showcase__tab { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: #fff; text-align: left; font-weight: 750; cursor: pointer; }
.showcase__tab.is-active { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.showcase__stage { position: relative; min-height: 540px; overflow: hidden; background: var(--navy-950); border-radius: var(--radius-lg); }
.showcase__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.showcase__slide.is-active { opacity: 1; visibility: visible; }
.showcase__slide img { width: 100%; height: 100%; object-fit: cover; }
.showcase__slide::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg,rgba(4,17,39,.92),rgba(4,17,39,.06) 72%); }
.showcase__copy { position: absolute; z-index: 1; right: 42px; bottom: 38px; left: 42px; display: flex; justify-content: space-between; align-items: end; gap: 30px; color: #fff; }
.showcase__copy h3 { margin-bottom: 8px; color: #fff; font-size: 2rem; }
.showcase__copy p { max-width: 610px; margin-bottom: 0; color: #ced9e9; }
.showcase__copy .button { flex: 0 0 auto; }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); }
.stat { padding: 38px; background: #fff; }
.stat strong { display: block; margin-bottom: 6px; color: var(--navy-950); font-size: 2.6rem; line-height: 1; }
.stat span { color: var(--muted); font-size: .86rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.product-card span { display: grid; width: 38px; height: 38px; margin-bottom: 36px; place-items: center; color: #fff; background: var(--blue-600); border-radius: 50%; font-size: .78rem; font-weight: 800; }
.product-card h3 { margin-bottom: 12px; }
.product-card p { margin-bottom: 0; font-size: .9rem; }
.need-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 35px; }
.need-grid div { padding: 22px; color: var(--navy-900); background: #fff; border-left: 3px solid var(--blue-600); border-radius: 6px 12px 12px 6px; font-weight: 720; }

.material-lab { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.material-lab__controls { display: grid; gap: 26px; }
.choice-group strong { display: block; margin-bottom: 11px; color: var(--navy-900); font-size: .82rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chip { padding: 10px 14px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 720; cursor: pointer; }
.choice-chip.is-selected { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }
.material-lab__stage { perspective: 1200px; }
.fabric-card { position: relative; min-height: 520px; overflow: hidden; color: #fff; background: linear-gradient(145deg,#17396b,#071a3a); border-radius: var(--radius-lg); box-shadow: 0 42px 80px rgba(7,26,58,.25); transform-style: preserve-3d; transition: transform .15s ease-out; }
.fabric-card::before { position: absolute; inset: 0; content: ""; opacity: .22; background-image: repeating-linear-gradient(45deg,rgba(255,255,255,.13) 0 1px,transparent 1px 5px), repeating-linear-gradient(-45deg,rgba(0,0,0,.16) 0 1px,transparent 1px 5px); }
.fabric-card__swatch { position: absolute; top: 65px; right: 55px; width: 220px; aspect-ratio: 1; background: linear-gradient(135deg,#456a9f,#0c2a58); border: 12px solid rgba(255,255,255,.08); border-radius: 22px; box-shadow: 0 30px 55px rgba(0,0,0,.25); transform: translateZ(65px) rotate(8deg); }
.fabric-card__thread { position: absolute; top: 190px; right: 225px; width: 112px; height: 160px; background: repeating-linear-gradient(0deg,#c43e4b 0 2px,#da5b64 2px 4px); border-radius: 20px 20px 12px 12px; box-shadow: 0 28px 38px rgba(0,0,0,.25); transform: translateZ(105px) rotate(-7deg); }
.fabric-card__thread::before, .fabric-card__thread::after { position: absolute; left: -6px; width: 124px; height: 24px; content: ""; background: #e8edf3; border-radius: 50%; }
.fabric-card__thread::before { top: -8px; }
.fabric-card__thread::after { bottom: -8px; }
.fabric-card__content { position: absolute; right: 35px; bottom: 35px; left: 35px; padding: 28px; background: rgba(4,17,39,.72); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; backdrop-filter: blur(14px); transform: translateZ(80px); }
.fabric-card__content small { color: var(--sky-300); text-transform: uppercase; letter-spacing: .12em; }
.fabric-card__content h3 { margin: 10px 0 8px; color: #fff; font-size: 1.8rem; }
.fabric-card__content p { margin-bottom: 0; color: #c9d5e5; }

.gallery-controls { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 32px; }
.filter-button { padding: 10px 17px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 750; cursor: pointer; }
.filter-button.is-active { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--soft); border: 0; border-radius: var(--radius); cursor: zoom-in; }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item__caption { position: absolute; right: 0; bottom: 0; left: 0; padding: 55px 20px 18px; color: #fff; background: linear-gradient(transparent,rgba(4,17,39,.9)); text-align: left; }
.gallery-item__caption strong, .gallery-item__caption small { display: block; }
.gallery-item__caption small { color: #c6d3e5; }
.lightbox { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: center; padding: 30px; background: rgba(2,10,24,.93); }
.lightbox[hidden] { display: none; }
.lightbox__inner { position: relative; max-width: min(880px, 92vw); max-height: 90vh; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: var(--radius); }
.lightbox p { margin: 14px 0 0; color: #fff; text-align: center; }
.lightbox__close { position: absolute; top: -18px; right: -18px; display: grid; width: 44px; height: 44px; place-items: center; color: #fff; background: var(--blue-600); border: 0; border-radius: 50%; cursor: pointer; }

.faq-list { display: grid; max-width: 900px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 30px; padding: 25px 4px; color: var(--navy-950); font-weight: 760; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { flex: 0 0 auto; content: "+"; color: var(--blue-600); font-size: 1.4rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 770px; padding: 0 4px 25px; margin-bottom: 0; }

.quote-layout { display: grid; grid-template-columns: .55fr 1.15fr; gap: 70px; align-items: start; }
.quote-aside { position: sticky; top: 122px; }
.quote-aside h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
.quote-aside__card { margin-top: 35px; padding: 28px; color: #fff; background: var(--navy-900); border-radius: var(--radius); }
.quote-aside__card p { color: #c8d4e5; }
.quote-aside__card a { display: block; margin-top: 8px; font-weight: 700; }
.enquiry-form { padding: clamp(24px, 4vw, 46px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.form-grid label > span, .option-fieldset legend { display: block; margin-bottom: 8px; color: var(--navy-900); font-size: .78rem; font-weight: 760; }
.form-grid b { color: var(--red); }
input, select, textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #fbfcfe; border: 1px solid #cfd9e6; border-radius: 9px; transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(45,111,236,.12); }
textarea { resize: vertical; }
input[type="checkbox"] { width: 18px; height: 18px; padding: 0; accent-color: var(--blue-600); }
.form-grid__wide { grid-column: 1 / -1; }
.option-fieldset { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0; border: 0; }
.option-fieldset legend { width: 100%; }
.option-fieldset label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .82rem; }
.file-label small { display: block; margin-top: 6px; color: var(--muted); font-size: .7rem; }
.consent { display: flex !important; align-items: flex-start; gap: 10px; }
.consent input { flex: 0 0 18px; margin-top: 4px; }
.consent span { margin-bottom: 0 !important; color: var(--muted) !important; line-height: 1.5; }
.consent a { color: var(--blue-600); text-decoration: underline; }
.form-submit { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-submit p { margin: 0; font-size: .78rem; }
.form-submit p a { color: var(--blue-600); font-weight: 750; }
.form-status { margin-top: 20px; padding: 16px 18px; color: #155a3a; background: #e9f8f0; border: 1px solid #b9e8cf; border-radius: 10px; }
.form-status.is-error { color: #8d2530; background: #fff0f1; border-color: #f1c4c8; }
.honeypot { position: absolute; left: -9999px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { min-height: 260px; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card span { display: block; margin-bottom: 46px; color: var(--blue-600); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-card a { display: block; color: var(--navy-950); font-size: 1.1rem; font-weight: 760; }
.contact-card p { margin-bottom: 0; }
.map-card { position: relative; min-height: 540px; overflow: hidden; background: linear-gradient(135deg,#dce9f3,#f7fafc); border-radius: var(--radius-lg); }
.map-card::before { position: absolute; inset: 0; content: ""; opacity: .55; background-image: linear-gradient(28deg,transparent 40%,#a9bfd2 41% 43%,transparent 44%), linear-gradient(120deg,transparent 45%,#bdccda 46% 48%,transparent 49%); background-size: 180px 130px, 210px 160px; }
.map-card__pin { position: absolute; top: 50%; left: 50%; width: 26px; height: 26px; background: var(--red); border: 7px solid #fff; border-radius: 50% 50% 50% 0; box-shadow: 0 12px 24px rgba(7,26,58,.25); transform: translate(-50%,-80%) rotate(-45deg); }
.map-card__panel { position: absolute; right: 28px; bottom: 28px; left: 28px; padding: 26px; background: rgba(255,255,255,.94); border-radius: 18px; box-shadow: var(--shadow); }
.map-card__panel h3 { margin-bottom: 8px; }
.map-card__panel p { margin-bottom: 15px; }

.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.story-card { position: relative; min-height: 390px; padding: 34px; overflow: hidden; color: #fff; background: var(--navy-900); border-radius: var(--radius); }
.story-card::after { position: absolute; right: -90px; bottom: -110px; width: 280px; height: 280px; content: ""; border: 50px solid rgba(137,215,255,.08); border-radius: 50%; }
.story-card > * { position: relative; z-index: 1; }
.story-card span { color: var(--sky-300); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.story-card h3 { margin: 90px 0 16px; color: #fff; font-size: 1.65rem; }
.story-card p { color: #c2cee0; }

.cta-band { padding: 82px 0; color: #fff; background: linear-gradient(125deg,var(--blue-600),#1646a4); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 70px; }
.cta-band h2 { max-width: 750px; margin-bottom: 14px; color: #fff; font-size: clamp(2.1rem, 4vw, 4rem); }
.cta-band p { max-width: 700px; margin-bottom: 0; color: #d8e6ff; }
.cta-band__actions { display: flex; flex: 0 0 auto; flex-direction: column; gap: 10px; }

.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { margin-top: 60px; font-size: 2rem; }
.prose h3 { margin-top: 35px; }
.prose a { color: var(--blue-600); text-decoration: underline; }
.prose ul { color: var(--muted); }
.notice { padding: 22px 24px; background: #edf4ff; border-left: 4px solid var(--blue-600); border-radius: 0 12px 12px 0; }
.notice--spaced { margin-top: 32px; }
.eyebrow--flush { margin: 0; }
.action-spacer { margin-top: 28px; }
.page-hero--centered { display: grid; align-items: center; min-height: 65vh; }

.site-footer { padding-top: 78px; color: #aebdd1; background: #030d1d; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.05fr; gap: 55px; padding-bottom: 62px; }
.brand--footer strong { color: #fff; }
.brand--footer small { color: #93a6bf; }
.footer-brand p { max-width: 330px; margin: 24px 0; color: #93a6bf; font-size: .88rem; }
.site-footer h2 { margin-bottom: 22px; color: #fff; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a, .footer-contact a, .footer-contact p, .footer-contact address { color: #93a6bf; font-size: .82rem; font-style: normal; }
.site-footer a:hover { color: #fff; }
.footer-contact a { display: block; margin-top: 8px; }
.footer-contact p { margin-top: 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; min-height: 68px; border-top: 1px solid rgba(255,255,255,.11); font-size: .72rem; }
.footer-bottom div { display: flex; gap: 22px; }
.floating-enquiry { position: fixed; z-index: 900; right: 22px; bottom: 20px; display: none; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; color: #fff; background: var(--blue-600); border-radius: 999px; box-shadow: 0 15px 34px rgba(7,26,58,.25); font-size: .78rem; font-weight: 750; }
.floating-enquiry b { display: grid; width: 32px; height: 32px; place-items: center; background: rgba(255,255,255,.16); border-radius: 50%; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .primary-nav { gap: 15px; }
  .primary-nav > a, .nav-group > button { font-size: .75rem; }
  .button--header { display: none; }
  .sector-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 0; }
  .process-card { padding: 25px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); }
  .process-card:not(:last-child)::after { display: none; }
  .process-card__number { margin-bottom: 35px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  :root { --header-height: 72px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .utility-bar { display: none; }
  .header-inner { justify-content: space-between; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: var(--header-height) 0 0; display: block; padding: 26px 20px 120px; overflow-y: auto; background: #fff; opacity: 0; visibility: hidden; transform: translateX(100%); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .primary-nav > a, .nav-group > button { display: flex; justify-content: space-between; width: 100%; padding: 17px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; text-align: left; }
  .primary-nav > a::after, .nav-group > button::after { display: none; }
  .nav-dropdown { position: static; display: none; width: 100%; padding: 8px 0; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-group.is-open .nav-dropdown { display: grid; transform: none; }
  .hero, .hero__inner { min-height: calc(100svh - var(--header-height)); }
  .hero::before { background: linear-gradient(90deg,rgba(3,14,33,.94),rgba(4,17,39,.62)), url("/assets/images/unifex-tailoring-hero.webp") 62% center/cover no-repeat; }
  .hero__inner { padding-top: 80px; padding-bottom: 250px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 5.2rem); }
  .hero-proof__grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item { min-height: 76px; padding: 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .proof-item:first-child { padding-left: 14px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .split, .material-lab, .quote-layout { grid-template-columns: 1fr; gap: 55px; }
  .split--reverse > :first-child { order: initial; }
  .split__media img { min-height: 420px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .showcase__tabs { grid-template-columns: repeat(4, minmax(130px,1fr)); overflow-x: auto; padding-bottom: 8px; }
  .showcase__tab { justify-content: center; white-space: nowrap; }
  .showcase__tab span { display: none; }
  .showcase__stage { min-height: 500px; }
  .showcase__copy { display: block; right: 25px; bottom: 25px; left: 25px; }
  .showcase__copy .button { margin-top: 20px; }
  .need-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-hero { min-height: auto; padding-top: 340px; }
  .sector-hero__image { inset: 0 0 auto; height: 420px; }
  .sector-hero__image::after { background: linear-gradient(0deg,var(--navy-950),transparent 65%); }
  .sector-hero__inner { min-height: auto; padding: 110px 0 85px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-aside { position: static; }
  .story-grid { grid-template-columns: 1fr; }
  .cta-band__inner { display: block; }
  .cta-band__actions { margin-top: 30px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .floating-enquiry { display: flex; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .brand small { display: none; }
  .brand strong { font-size: 1.12rem; }
  .hero__actions .button, .page-hero__actions .button { width: 100%; }
  .hero-proof__grid { grid-template-columns: 1fr 1fr; }
  .proof-item { display: block; }
  .proof-item b { margin-bottom: 6px; }
  .sector-grid, .product-grid, .capability-grid, .stats-row, .need-grid, .contact-grid { grid-template-columns: 1fr; }
  .sector-card p { min-height: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .showcase__stage { min-height: 460px; }
  .showcase__copy h3 { font-size: 1.55rem; }
  .fabric-card { min-height: 460px; }
  .fabric-card__swatch { right: 25px; width: 180px; }
  .fabric-card__thread { right: 170px; }
  .gallery-grid { gap: 10px; }
  .gallery-item { border-radius: 14px; }
  .gallery-item__caption { padding-inline: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid__wide { grid-column: auto; }
  .form-submit { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
  .floating-enquiry span { display: none; }
  .floating-enquiry { padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
