/* ==========================================================
   Niponglobaltrading — bright tropical palette, batik accents
   ========================================================== */
:root {
  --indigo: #1C3FAA;
  --indigo-2: #2A55D4;
  --ink: #16204A;
  --ultra: #2563EB;
  --cyan: #2CCBEA;
  --teal: #0A9CC0;
  --coral: #F43F5E;
  --coral-2: #D92D4C;
  --sun: #FFC233;
  --sun-2: #FFA41B;
  --paper: #FFFCF5;
  --paper-2: #FFF4DC;
  --sky: #DDF6FD;
  --blush: #FFE6EA;
  --mute: #4E5878;
  --mute-light: #4E5878;
  --rule: rgba(22, 32, 74, 0.14);
  --rule-light: rgba(22, 32, 74, 0.14);
  --danger: #E11D48;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Hanken Grotesk", "Segoe UI", sans-serif;
  --wrap: min(1240px, 92vw);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--ultra); outline-offset: 3px; border-radius: 4px; }
.wrap { width: var(--wrap); margin: 0 auto; }

/* Grain overlay (fixed, non-interactive) */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--sun); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sun { box-shadow: 0 6px 0 -1px var(--sun-2), 0 14px 26px -12px rgba(255, 159, 28, .7); }
.btn-sun:hover { box-shadow: 0 8px 0 -1px var(--sun-2), 0 20px 30px -12px rgba(255, 159, 28, .75); }
.btn-sun:active { box-shadow: 0 2px 0 -1px var(--sun-2); }
.btn-cyan { --bg: var(--cyan); --fg: var(--indigo); }
.btn-cyan:hover { --bg: #5ad6ec; }
.btn-ghost { --bg: #fff; --fg: var(--indigo); border-color: var(--indigo); }
.btn-ghost:hover { --bg: var(--indigo); --fg: #fff; border-color: var(--indigo); }
.btn-ghost-dark { --bg: transparent; --fg: var(--indigo); border-color: var(--rule); }
.btn-ghost-dark:hover { border-color: var(--indigo); }
.btn-sm { padding: .7rem 1.1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 245, .78); backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
header.site.scrolled { border-bottom-color: var(--rule); background: rgba(255, 252, 245, .94); }
.bar { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--indigo); margin-right: auto; }
.brand-mark {
  position: relative; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex: none;
  background: var(--paper); box-shadow: 0 0 0 2px var(--cyan);
}
.brand-mark img { position: absolute; width: 104px; max-width: none; height: auto; left: -31px; top: -4px; }
.brand-name, .foot-brand {
  font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1rem; letter-spacing: .02em;
}
.brand-name b, .foot-brand b { font-weight: 800; color: var(--coral); }
nav.links { display: flex; gap: 1.9rem; }
nav.links a {
  position: relative; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .3rem 0;
}
nav.links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--coral);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
nav.links a:hover { color: var(--coral-2); }
nav.links a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(70% 60% at 90% 5%, rgba(44, 203, 234, .45), transparent 60%),
    radial-gradient(55% 50% at 0% 0%, rgba(255, 194, 51, .45), transparent 60%),
    radial-gradient(50% 45% at 60% 100%, rgba(244, 63, 94, .18), transparent 60%),
    var(--paper);
  color: var(--ink); margin-top: -72px; padding: calc(72px + clamp(1.75rem, 4vw, 3.5rem)) 0 clamp(6rem, 11vw, 9rem);
}
.ribbons { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 252, 245, .92) 0%, rgba(255, 252, 245, .8) 40%, rgba(255, 252, 245, 0) 64%);
}
.rb { animation: drift 18s ease-in-out infinite alternate; }
.rb-b { animation-duration: 23s; animation-direction: alternate-reverse; }
.rb-c { animation-duration: 15s; }

/* Site title (top of page) */
.masthead { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.site-title {
  font-weight: 900; font-stretch: 118%; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(1.1rem, 6.05vw, 5.1rem); line-height: .95; letter-spacing: -.015em;
}
.site-title span { display: inline-block; }
.t-nipon { color: var(--ultra); }
.t-global { color: var(--coral); }
.t-trading { color: var(--teal); }
.title-rule {
  display: block; height: 10px; margin-top: clamp(.8rem, 1.6vw, 1.2rem); border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--ultra) 0 60px, var(--cyan) 60px 120px, var(--sun) 120px 180px, var(--coral) 180px 240px);
}
@keyframes drift { from { transform: translateX(-60px); } to { transform: translateX(60px); } }

.hero-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.6rem;
  font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(244, 63, 94, .22); }
.tagline {
  font-family: var(--display); font-weight: 900; font-stretch: 118%; text-transform: uppercase; color: var(--indigo);
  font-size: clamp(2.1rem, 4.6vw, 4.2rem); line-height: .92; letter-spacing: -.02em; margin: 0 0 1.8rem;
}
.tagline .line { display: block; }
.tagline em { font-style: normal; color: var(--coral); }
.tagline .outline { color: transparent; -webkit-text-stroke: 2px var(--ultra); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--mute); max-width: 50ch; margin-bottom: 2.2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  font-size: .85rem; font-weight: 600; padding: .4rem .85rem; border-radius: 999px;
  border: 1px solid var(--rule); background: #fff; color: var(--indigo); box-shadow: 0 4px 10px -6px rgba(22, 32, 74, .25);
}

.hero-tag {
  position: relative; margin: 0; background: var(--paper); color: var(--ink);
  padding: 14px 14px 0; border-radius: 6px; transform: rotate(3.5deg);
  box-shadow: 0 2px 0 rgba(0,0,0,.05), 0 40px 70px -30px rgba(22, 32, 74, .45), 18px 18px 0 -2px var(--sun);
  transition: transform .6s var(--ease);
}
.hero-tag:hover { transform: rotate(1deg) translateY(-6px); }
.hero-tag img { width: 100%; height: auto; border-radius: 3px; }
.pin {
  position: absolute; top: -12px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 12%, var(--coral) 13% 100%); box-shadow: 0 4px 8px rgba(0,0,0,.35);
}
.hero-tag figcaption {
  display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; padding: 1rem .4rem 1.1rem;
  border-top: 1px dashed var(--rule); margin-top: 14px; font-size: .9rem;
}
.hero-tag figcaption span { color: var(--mute); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; align-self: center; }
.hero-tag figcaption strong { font-family: var(--display); font-stretch: 110%; font-weight: 800; }

/* Load sequence */
.load { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms + 100ms); }
.hero-tag.load { transform: translateY(24px) rotate(6deg); animation-name: rise-tag; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-tag { to { opacity: 1; transform: rotate(3.5deg); } }

/* ---------- Marquee band ---------- */
.band {
  position: relative; z-index: 2; margin-top: -3.2rem; overflow: hidden;
  background: var(--sun); color: var(--indigo); transform: rotate(-2deg) scale(1.04);
  border-block: 3px solid var(--ultra); box-shadow: 0 20px 40px -20px rgba(37, 99, 235, .45);
}
.band-track { display: flex; align-items: center; gap: 1.6rem; width: max-content; padding: 1rem 0; animation: marquee 32s linear infinite; }
.band span { font-family: var(--display); font-weight: 900; font-stretch: 120%; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 2rem); white-space: nowrap; }
.band i { width: 14px; height: 14px; background: var(--coral); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Common section bits ---------- */
section { position: relative; }
main { overflow-x: clip; }
.label {
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ultra); margin-bottom: 1.2rem;
}
.label-light { color: var(--indigo); }
h2 {
  font-weight: 900; font-stretch: 112%; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -.02em;
}
.hl { background: linear-gradient(transparent 62%, var(--sun) 62% 92%, transparent 92%); padding: 0 .1em; }
.hl-cyan { color: var(--teal); }
.hl-sun { color: var(--coral); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 { margin-bottom: 1rem; }
.sec-sub { color: var(--mute); font-size: 1.1rem; margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about { padding: clamp(6rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.about-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem 2rem;
  grid-template-areas:
    "lab lab lab lab . . . . . . . ."
    "h2  h2  h2  h2  h2  h2  h2  h2  h2  . . ."
    ". . . . . body body body body body body body"
    "co co co . . body body body body body body body";
}
.about-grid .label { grid-area: lab; }
.about-grid h2 { grid-area: h2; margin-bottom: 1.5rem; }
.about-body { grid-area: body; font-size: 1.15rem; columns: 2 18rem; column-gap: 2.5rem; }
.about-body p:last-child { color: var(--mute); }
.coords {
  grid-area: co; align-self: end; display: grid; gap: .4rem; padding: 1.2rem 1.3rem; max-width: 15rem;
  border: 2px solid var(--indigo); border-radius: 4px; background: var(--paper);
  box-shadow: 8px 8px 0 var(--ultra);
}
.coords-k { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.coords-v { font-family: var(--display); font-weight: 900; font-stretch: 115%; font-size: 1.7rem; line-height: 1.05; color: var(--indigo); }

/* ---------- Textiles ---------- */
.textiles { padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem); background: var(--paper-2); }
.textiles::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 10px;
  background: repeating-linear-gradient(90deg, var(--ultra) 0 40px, var(--cyan) 40px 80px, var(--sun) 80px 120px);
}
.swatches { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
.swatch { position: relative; }
.s-cotton { grid-column: 1 / span 7; }
.s-batik  { grid-column: 8 / span 5; margin-top: 5rem; }
.s-silk   { grid-column: 1 / span 5; margin-top: -3rem; }
.s-linen  { grid-column: 6 / span 7; margin-top: 2rem; }

.cloth {
  position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 9;
  box-shadow: 0 30px 50px -30px rgba(37, 99, 235, .45);
  transition: transform .6s var(--ease);
}
.s-batik .cloth, .s-silk .cloth { aspect-ratio: 4 / 3; }
.swatch:hover .cloth { transform: translateY(-6px) rotate(-.6deg); }
.cloth::after { /* pinked (zig-zag) bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 12px;
  background: linear-gradient(-45deg, var(--paper-2) 6px, transparent 0) 0 0 / 12px 12px repeat-x,
              linear-gradient(45deg, var(--paper-2) 6px, transparent 0) 0 0 / 12px 12px repeat-x;
}
.tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--paper); color: var(--indigo); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .45rem .75rem .45rem 1.3rem; border-radius: 3px 999px 999px 3px; box-shadow: 0 6px 12px -6px rgba(0,0,0,.4);
}
.tag::before { content: ""; position: absolute; left: .5rem; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--indigo); }

/* Cotton: plain weave */
.s-cotton .cloth {
  background-color: var(--ultra);
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.10) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(90deg, rgba(5,12,40,.22) 0 2px, transparent 2px 5px),
    linear-gradient(135deg, #2a5cf0, #1638b8);
}
/* Batik: kawung motif */
.s-batik .cloth {
  background-color: var(--sun);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='%230A1A4F'%3E%3Cellipse cx='28' cy='13' rx='8' ry='12'/%3E%3Cellipse cx='28' cy='43' rx='8' ry='12'/%3E%3Cellipse cx='13' cy='28' rx='12' ry='8'/%3E%3Cellipse cx='43' cy='28' rx='12' ry='8'/%3E%3C/g%3E%3Cg fill='%23FFB627'%3E%3Cellipse cx='28' cy='13' rx='3' ry='6'/%3E%3Cellipse cx='28' cy='43' rx='3' ry='6'/%3E%3Cellipse cx='13' cy='28' rx='6' ry='3'/%3E%3Cellipse cx='43' cy='28' rx='6' ry='3'/%3E%3C/g%3E%3Cg fill='%2334C6E0'%3E%3Ccircle cx='28' cy='28' r='3'/%3E%3Ccircle cx='0' cy='0' r='4'/%3E%3Ccircle cx='56' cy='0' r='4'/%3E%3Ccircle cx='0' cy='56' r='4'/%3E%3Ccircle cx='56' cy='56' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 56px;
}
/* Silk: sheen */
.s-silk .cloth {
  background: linear-gradient(120deg, #1d43c9 0%, #2e8fe0 28%, #8fe6f3 46%, #34C6E0 58%, #2563EB 82%, #2A55D4 100%);
}
.s-silk .cloth::before {
  content: ""; position: absolute; inset: -20% -60%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%);
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 0% { transform: translateX(-40%); } 60%, 100% { transform: translateX(40%); } }
/* Linen: slub crosshatch */
.s-linen .cloth {
  background-color: #E9DFC9;
  background-image:
    repeating-linear-gradient(0deg, rgba(10,26,79,.09) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(10,26,79,.07) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(120,90,40,.10) 0 3px, transparent 3px 23px, rgba(120,90,40,.06) 23px 25px, transparent 25px 41px),
    linear-gradient(180deg, #EEE6D3, #DCCFB2);
}
.s-linen .tag { background: var(--coral); color: #fff; }
.s-linen .tag::before { background: #fff; }

.swatch-copy { padding: 1.4rem .25rem 0; max-width: 34rem; }
.swatch h3 { font-weight: 900; font-stretch: 115%; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.05; text-transform: uppercase; margin-bottom: .5rem; color: var(--indigo); }
.swatch p { color: var(--mute); margin: 0; }

/* ---------- Why ---------- */
.why { background: linear-gradient(140deg, #C8F1FC 0%, var(--sky) 55%, #E9FBFF 100%); color: var(--ink); padding: clamp(5rem, 10vw, 8rem) 0; overflow: hidden; }
.why::after {
  content: ""; position: absolute; right: -10vw; top: -20%; width: 46vw; aspect-ratio: 1; border-radius: 50%;
  border: 60px solid rgba(44, 203, 234, .22); pointer-events: none;
}
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.why-head { position: sticky; top: 120px; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--rule-light);
}
.why-list li:last-child { border-bottom: 1px solid var(--rule-light); }
.why-n {
  display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%;
  font-family: var(--display); font-weight: 900; font-stretch: 120%; font-size: 1.6rem;
  background: var(--ultra); color: #fff; transition: transform .4s var(--ease), background-color .3s;
}
.why-list li:nth-child(2) .why-n { background: var(--sun); color: var(--ink); }
.why-list li:nth-child(3) .why-n { background: var(--coral); }
.why-list li:hover .why-n { transform: rotate(-12deg) scale(1.06); }
.why-list h3 { color: var(--indigo); font-weight: 800; font-stretch: 108%; font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: .4rem; }
.why-list p { color: var(--mute-light); margin: 0; max-width: 44ch; }

/* ---------- Process ---------- */
.process { padding: clamp(5rem, 10vw, 8rem) 0; }
.steps-wrap { position: relative; }
.thread { position: absolute; left: 0; right: 0; top: 4px; width: 100%; height: 60px; overflow: visible; }
.thread path {
  fill: none; stroke: var(--ultra); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease) .2s;
}
.steps-wrap.in .thread path { stroke-dashoffset: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps li:nth-child(1) { transition-delay: 0s; }
.steps li:nth-child(2) { transition-delay: .12s; }
.steps li:nth-child(3) { transition-delay: .24s; }
.steps li:nth-child(4) { transition-delay: .36s; }
.knot {
  display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 1.4rem; border-radius: 50%;
  background: var(--paper); border: 4px solid var(--indigo);
  font-family: var(--display); font-weight: 900; font-stretch: 120%; font-size: 1.6rem; color: var(--indigo);
  box-shadow: 5px 5px 0 var(--sun); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.steps li:hover .knot { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--sun); }
.steps h3 { font-weight: 800; font-stretch: 108%; font-size: 1.3rem; line-height: 1.15; margin-bottom: .5rem; color: var(--indigo); }
.steps p { color: var(--mute); margin: 0; font-size: 1rem; }

/* ---------- Contact ---------- */
.contact {
  color: var(--ink); padding: clamp(5rem, 10vw, 8rem) 0;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(255, 194, 51, .45), transparent 60%),
    linear-gradient(160deg, var(--blush), #FFF1DA 70%);
}
.contact::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 10px;
  background: repeating-linear-gradient(90deg, var(--sun) 0 40px, var(--cyan) 40px 80px, var(--ultra) 80px 120px);
}
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-info h2 { color: var(--indigo); margin-bottom: 1.2rem; font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.contact-lede { color: var(--mute); font-size: 1.12rem; max-width: 42ch; margin-bottom: 2rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 3rem; }
.details { margin: 0; display: grid; gap: 1.5rem; }
.details dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-2); margin-bottom: .25rem; }
.details dd { margin: 0; font-size: 1.05rem; color: var(--ink); overflow-wrap: anywhere; }
.details a { text-decoration: none; border-bottom: 2px solid rgba(244, 63, 94, .45); transition: border-color .2s, color .2s; }
.details a:hover { color: var(--coral-2); border-color: var(--coral); }

/* Quote form */
.quote-card {
  position: relative; background: #fff; color: var(--ink); border-radius: 10px;
  padding: clamp(1.5rem, 3.5vw, 2.6rem); box-shadow: 14px 14px 0 var(--cyan), 0 50px 80px -40px rgba(22, 32, 74, .35);
}
.quote-head { margin-bottom: 1.6rem; }
.quote-head h3 { font-weight: 900; font-stretch: 115%; font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; color: var(--indigo); line-height: 1; margin-bottom: .5rem; }
.quote-head p { color: var(--mute); margin: 0; }
.row { display: grid; gap: 1rem; }
.row.two { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; min-width: 0; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.1rem; }
.field label, .field legend { font-size: .85rem; font-weight: 700; color: var(--indigo); padding: 0; }
.opt { font-weight: 500; color: var(--mute); margin-left: .3rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 2px solid rgba(13, 19, 48, .16); border-radius: 8px; padding: .8rem .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder { color: #9AA1B8; }
.field input:hover, .field textarea:hover { border-color: rgba(13, 19, 48, .32); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ultra); box-shadow: 0 0 0 4px rgba(31, 79, 224, .16); }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span {
  display: inline-block; padding: .55rem .95rem; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--indigo);
  border: 2px solid rgba(13, 19, 48, .16); background: #fff; transition: all .2s var(--ease);
}
.pills label:hover span { border-color: var(--indigo); }
.pills input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; box-shadow: 3px 3px 0 var(--sun); }
.pills input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }

.err { display: none; font-size: .82rem; font-weight: 600; color: var(--danger); }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .pills span { border-color: rgba(229, 72, 77, .55); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#quoteSubmit { margin-top: .6rem; position: relative; }
.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 3px solid rgba(13, 19, 48, .25); border-top-color: var(--ink); animation: spin .7s linear infinite;
}
.sending .spinner { display: inline-block; }
.sending { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin: 1rem 0 0; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-status.error { color: var(--danger); }
.form-status a { color: var(--ultra); }

.quote-done { text-align: left; padding: 1rem 0; animation: rise .6s var(--ease) both; }
.quote-done h3 { font-weight: 900; font-stretch: 115%; font-size: 2rem; text-transform: uppercase; color: var(--indigo); margin: 1.2rem 0 .6rem; }
.quote-done p { color: var(--mute); margin-bottom: 1.5rem; }
.quote-done a { color: var(--ultra); font-weight: 700; }
.quote-done a.btn { color: var(--fg); }
.done-mark svg { width: 64px; height: 64px; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.done-mark circle { stroke: var(--cyan); stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .7s var(--ease) forwards; }
.done-mark path { stroke: var(--indigo); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--sun); color: var(--ink); border-top: 3px solid var(--ultra); padding: 2rem 0; font-size: .9rem; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.foot-brand { color: var(--indigo); }
.foot-brand b { color: #B4183A; }

/* ---------- Thanks page ---------- */
.thanks {
  min-height: 100vh; display: grid; place-items: center; padding: 3rem 0; color: var(--ink);
  background: radial-gradient(70% 60% at 80% 10%, rgba(44, 203, 234, .45), transparent 60%),
              radial-gradient(60% 50% at 0% 100%, rgba(255, 194, 51, .45), transparent 60%), var(--paper);
}
.thanks .quote-card { max-width: 34rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  nav.links { display: none; }
  .hero::before { background: linear-gradient(180deg, rgba(255, 252, 245, .55) 0%, rgba(255, 252, 245, .86) 45%, rgba(255, 252, 245, .5) 100%); }
  .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-tag { max-width: 420px; justify-self: start; transform: rotate(2.5deg); }
  @keyframes rise-tag { to { opacity: 1; transform: rotate(2.5deg); } }
  .why-head { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .thread { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .bar { gap: 1rem; height: 64px; }
  .hero { margin-top: -64px; padding-top: calc(64px + 3rem); }
  html { scroll-padding-top: 74px; }
  .brand-name { font-size: .82rem; }
  .bar .btn-sm { padding: .6rem .85rem; font-size: .82rem; }
  .tagline .outline { -webkit-text-stroke-width: 1.5px; }
  .hero-tag { margin-right: 18px; }
  .about-grid { grid-template-columns: 1fr; grid-template-areas: "lab" "h2" "body" "co"; }
  .about-body { columns: 1; }
  .swatches { grid-template-columns: 1fr; }
  .s-cotton, .s-batik, .s-silk, .s-linen { grid-column: auto; margin-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .row.two { grid-template-columns: 1fr; gap: 0; }
  .why-list li { grid-template-columns: 3.5rem 1fr; gap: 1rem; }
  .why-n { width: 3.5rem; height: 3.5rem; font-size: 1.3rem; }
  .quote-card { box-shadow: 8px 8px 0 var(--cyan), 0 40px 60px -30px rgba(22, 32, 74, .35); margin-right: 8px; }
}
@media (max-width: 400px) {
  .brand-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .rb, .band-track, .s-silk .cloth::before { animation: none !important; }
}
