:root {
  --green: #119960;
  --green-dark: #087045;
  --gold: #edbd25;
  --blue: #1769a8;
  --ink: #17202a;
  --muted: #64707d;
  --line: #dde5e9;
  --paper: #f7fafb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 33, 47, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(17, 153, 96, 0.12);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 172px;
  height: 54px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(17, 153, 96, 0.22);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: var(--green-dark);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.desktop-nav a,
.header-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.desktop-nav a {
  color: #334151;
}

.desktop-nav a:hover {
  background: rgba(17, 153, 96, 0.08);
}

.header-cta,
.primary-btn {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 26px rgba(17, 153, 96, 0.25);
}

.secondary-btn {
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid rgba(17, 153, 96, 0.24);
}

.header-cta:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 78px);
  padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 72px) 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 78%, rgba(23, 105, 168, 0.1), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #f4fbf8 54%, #fff7df 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.swoosh {
  position: absolute;
  left: -10vw;
  right: -10vw;
  height: 170px;
  border-radius: 50%;
  transform: rotate(-9deg);
  animation: drift 9s ease-in-out infinite alternate;
}

.swoosh-green {
  top: -70px;
  background: var(--green);
}

.swoosh-gold {
  bottom: -95px;
  background: var(--gold);
  animation-delay: -2s;
}

.hero-copy,
.hero-stage {
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 900;
}

.hero-text,
.section-heading p,
.fabric-copy > p,
.catalog-copy p,
.upload-panel p,
.product-card p,
.contact-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
}

.hero-actions,
.upload-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stage {
  display: grid;
  align-items: center;
  min-height: 620px;
}

.hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  grid-template-rows: minmax(0, 480px) auto;
  gap: 14px;
  width: min(720px, 100%);
  margin-left: auto;
  padding: 14px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 112, 69, 0.96), rgba(16, 24, 32, 0.98)),
    var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: auto -12% -20% 12%;
  height: 210px;
  background: var(--gold);
  transform: rotate(-7deg);
}

.showcase-main,
.showcase-strip figure,
.product-card figure,
.category-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.showcase-main {
  grid-row: span 2;
  border-radius: 6px;
  background: #dfe8ee;
  min-height: 560px;
}

.showcase-main img,
.showcase-strip img,
.category-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-main img {
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
}

.logo-on-chest {
  --logo-size: clamp(42px, 7vw, 86px);
  --logo-left: 36%;
  --logo-top: 28%;
}

.logo-on-chest::before {
  content: "";
  position: absolute;
  left: var(--logo-left);
  top: var(--logo-top);
  z-index: 2;
  width: var(--logo-size);
  aspect-ratio: 3.4 / 1;
  border-radius: 4px;
  background:
    rgba(255, 255, 255, 0.88)
    url("assets/calistar-chest-logo.png")
    center / 92% auto
    no-repeat;
  box-shadow: 0 4px 12px rgba(9, 20, 30, 0.16);
  transform: translate(-50%, -50%) rotate(-1deg);
  pointer-events: none;
}

.logo-chest-main {
  --logo-size: clamp(64px, 8vw, 104px);
  --logo-left: 43%;
  --logo-top: 31%;
}

.logo-chest-small {
  --logo-size: 42px;
  --logo-left: 42%;
  --logo-top: 34%;
}

.logo-chest-product {
  --logo-size: 58px;
  --logo-left: 42%;
  --logo-top: 31%;
}

.logo-chest-category {
  --logo-size: 62px;
  --logo-left: 43%;
  --logo-top: 30%;
}

.logo-chest-school {
  --logo-left: 41%;
}

.logo-chest-sports {
  --logo-left: 43%;
  --logo-top: 32%;
}

.logo-chest-tshirt {
  --logo-left: 44%;
  --logo-top: 35%;
}

.logo-chest-color {
  --logo-left: 39%;
  --logo-top: 30%;
}

.showcase-main::after,
.showcase-strip figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(6, 14, 22, 0.76) 100%);
}

.showcase-main figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 8px;
  color: var(--white);
}

.showcase-main figcaption span,
.showcase-strip figcaption {
  width: fit-content;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(8, 21, 30, 0.76);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-main figcaption strong {
  max-width: 420px;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1;
}

.showcase-strip {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.showcase-strip figure {
  min-height: 150px;
  border-radius: 6px;
  background: #dfe8ee;
}

.showcase-strip img {
  object-position: center;
  filter: saturate(1.08) contrast(1.04);
}

.showcase-strip figcaption,
.product-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(8, 21, 30, 0.76);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  grid-column: 2;
}

.showcase-metric {
  display: grid;
  align-content: center;
  min-height: 86px;
  padding: 14px;
  border-radius: 6px;
  color: #17202a;
  background: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.showcase-metric strong {
  display: block;
  font-size: 27px;
  line-height: 1;
}

.showcase-metric-sizes {
  align-content: center;
}

.showcase-metric-sizes .size-list {
  display: grid;
  gap: 2px;
  margin-bottom: 8px;
  font-size: 29px;
  line-height: 0.94;
}

.showcase-metric-sizes .size-list span {
  display: block;
}

.catalog-card {
  position: relative;
  width: min(460px, 100%);
  margin-left: auto;
  border: 8px solid var(--white);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-card {
  animation: levitate 4.5s ease-in-out infinite;
}

.catalog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.floating-stat {
  position: absolute;
  display: grid;
  gap: 2px;
  width: 174px;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  box-shadow: var(--shadow);
}

.floating-stat strong {
  font-size: 28px;
  font-weight: 900;
}

.floating-stat span {
  font-size: 13px;
  font-weight: 700;
}

.stat-one {
  left: 0;
  top: 12%;
  animation: slideFloat 5s ease-in-out infinite;
}

.stat-two {
  right: 4%;
  bottom: 8%;
  background: var(--gold);
  color: #2b260e;
  animation: slideFloat 5.5s ease-in-out infinite reverse;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  padding: 1px;
}

.metric {
  min-height: 156px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  background: var(--white);
}

.metric strong {
  color: var(--green);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 900;
}

.metric span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 36px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: 340px auto;
  gap: 22px;
  padding: 14px;
  border: 1px solid rgba(23, 105, 168, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 44px rgba(31, 45, 61, 0.07);
  transform-style: preserve-3d;
}

.product-card:hover {
  transform: translateY(-8px) rotateX(1deg);
}

.product-card figure {
  border-radius: 6px;
  background: #edf3f6;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 260ms ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 900;
}

.fabric-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: #ffffff;
}

.category-board {
  background: #ffffff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.category-panel {
  min-height: 420px;
  border-radius: 8px;
  background: #101820;
  box-shadow: 0 14px 44px rgba(31, 45, 61, 0.07);
}

.category-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 25, 0.02) 30%, rgba(8, 17, 25, 0.82) 100%);
}

.category-panel div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  color: var(--white);
}

.category-panel h3 {
  font-size: 22px;
}

.category-panel p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.fabric-copy {
  max-width: 620px;
}

.fabric-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.fabric-collection-btn {
  width: fit-content;
}

.gsm-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid rgba(29, 51, 67, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(31, 45, 61, 0.06);
}

.gsm-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.35;
}

.gsm-table th,
.gsm-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(29, 51, 67, 0.1);
}

.gsm-table th {
  color: #1d3343;
  font-weight: 900;
  background: #eef5f8;
}

.gsm-table td {
  color: #526578;
  font-weight: 700;
}

.gsm-table tr:last-child td {
  border-bottom: 0;
}

.fabric-gallery {
  display: grid;
  grid-template-columns: 1fr;
}

.fabric-gallery img {
  height: clamp(360px, 38vw, 560px);
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
}

.catalog-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
}

.catalog-section .eyebrow,
.catalog-section p {
  color: rgba(255, 255, 255, 0.78);
}

.upload-panel {
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.upload-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.mock-upload {
  display: block;
  margin-top: 22px;
  padding: 16px;
  border: 1px dashed rgba(23, 105, 168, 0.45);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

.mock-upload input {
  display: none;
}

.file-name {
  margin-bottom: 0;
  font-size: 13px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 5vw, 66px);
  padding: clamp(64px, 9vw, 110px) clamp(18px, 5vw, 72px);
  /*background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url("assets/contact-card.png") center / cover;*/
}

.contact-card {
  align-self: center;
  max-width: 760px;
}

.contact-links a {
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--green-dark);
  background: rgba(17, 153, 96, 0.1);
  font-weight: 900;
}

.quote-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  background: #fbfdfe;
}

.quote-form textarea {
  min-height: 120px;
  resize: vertical;
}

.captcha-box {
  display: grid;
  gap: 8px;
}

.captcha-box label {
  color: #1d3343;
  font-size: 14px;
  font-weight: 900;
}

.captcha-row {
  display: grid;
  grid-template-columns: 1fr 56px;
  gap: 8px;
}

.captcha-row span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(17, 153, 96, 0.22);
  border-radius: 6px;
  color: var(--green-dark);
  background: rgba(17, 153, 96, 0.08);
  font-size: 17px;
  font-weight: 900;
}

.captcha-refresh {
  display: grid;
  place-items: center;
  width: 56px;
  height: 48px;
  border: 1px solid rgba(17, 153, 96, 0.22);
  border-radius: 6px;
  color: var(--green-dark);
  background: var(--white);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.captcha-error {
  min-height: 18px;
  margin: 0;
  color: #b42318;
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #071a16;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(160px, 1fr));
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 72px);
}

.footer-brand img {
  width: 174px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 6px;
  background: var(--white);
}

.footer-brand p,
.footer-contact p,
.footer-bottom p {
  margin: 0;
  line-height: 1.7;
}

.footer-brand p {
  max-width: 470px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h3 {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 17px;
}

.footer-column a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-contact p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom a {
  color: var(--gold);
  font-weight: 900;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 26, 0.72);
}

.modal-panel {
  position: absolute;
  inset: 5vh 5vw;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  animation: modalIn 220ms ease both;
}

.modal-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.fabric-modal-panel {
  inset: 7vh 8vw;
  overflow-y: auto;
}

.fabric-modal-content {
  padding: clamp(24px, 4vw, 46px);
}

.fabric-modal-content h2 {
  max-width: 760px;
  margin-bottom: 16px;
}

.modal-lead {
  width: fit-content;
  margin: 0 0 24px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--green-dark);
  background: rgba(17, 153, 96, 0.1);
  font-size: 15px;
  font-weight: 900;
}

.fabric-collection-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fabric-collection-list article {
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(29, 51, 67, 0.12);
  border-radius: 8px;
  background: #fbfdfe;
}

.fabric-collection-list span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.fabric-collection-list h3 {
  font-size: 20px;
}

.fabric-collection-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.gsm-recommendations {
  margin-top: 24px;
}

.gsm-recommendations h3 {
  font-size: 24px;
}

.gsm-recommendations ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.gsm-recommendations li {
  padding: 14px;
  border: 1px solid rgba(29, 51, 67, 0.12);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfdfe;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.gsm-recommendations strong {
  color: var(--ink);
  font-weight: 900;
}

.size-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.size-strip span {
  display: grid;
  place-items: center;
  min-width: 50px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 6px;
  color: #1d3343;
  background: #eef5f8;
  font-weight: 900;
}

.thank-you-panel {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: min(460px, calc(100vw - 32px));
  height: fit-content;
  min-height: 0;
  transform: translate(-50%, -50%);
  overflow: visible;
  animation: thankYouIn 220ms ease both;
}

.thank-you-content {
  display: grid;
  justify-items: center;
  padding: clamp(28px, 5vw, 46px);
  text-align: center;
}

.thank-you-content > span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 36px;
  font-weight: 900;
}

.thank-you-content h2 {
  margin-bottom: 12px;
}

.thank-you-content p:last-of-type {
  max-width: 340px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

@keyframes drift {
  from {
    transform: translateX(-2vw) rotate(-9deg);
  }
  to {
    transform: translateX(2vw) rotate(-6deg);
  }
}

@keyframes levitate {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

@keyframes slideFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes thankYouIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 18px)) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .desktop-nav {
    display: none;
    order: 4;
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(17, 153, 96, 0.12);
  }

  .site-header.menu-open .desktop-nav {
    display: grid;
  }

  .desktop-nav a {
    min-height: 42px;
    padding: 0 10px;
    background: rgba(17, 153, 96, 0.08);
  }

  .hero,
  .fabric-section,
  .catalog-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-showcase {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    width: 100%;
    margin: 0;
  }

  .showcase-main {
    grid-row: auto;
    min-height: 440px;
  }

  .showcase-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .showcase-strip figure {
    min-height: 170px;
  }

  .showcase-metrics {
    grid-column: auto;
  }

  .catalog-card {
    margin: 0;
  }

  .hero-mosaic {
    margin: 0;
  }

  .floating-stat {
    position: relative;
    display: inline-grid;
    margin: 16px 10px 0 0;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .stats-band,
  .product-grid,
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fabric-gallery img {
    height: 460px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand img {
    width: 138px;
    height: 44px;
  }

  .header-cta {
    display: none;
  }

  .desktop-nav {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.02;
  }

  .hero-text,
  .section-heading p,
  .fabric-copy > p,
  .catalog-copy p,
  .upload-panel p,
  .product-card p,
  .contact-card p {
    font-size: 15px;
  }

  .hero {
    gap: 34px;
    padding: 30px 16px 34px;
  }

  .hero-text {
    margin-top: 18px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .swoosh {
    height: 120px;
  }

  .swoosh-green {
    top: -48px;
  }

  .swoosh-gold {
    bottom: -80px;
  }

  .hero-showcase {
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
  }

  .showcase-main {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .showcase-main figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .showcase-main figcaption strong {
    font-size: 22px;
  }

  .showcase-strip {
    gap: 10px;
  }

  .showcase-strip figure {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .showcase-strip figcaption {
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    padding: 6px 7px;
    font-size: 10px;
  }

  .showcase-metrics {
    gap: 10px;
  }

  .showcase-metric {
    min-height: 74px;
    padding: 12px;
  }

  .stats-band,
  .product-grid,
  .fabric-gallery {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .metric {
    min-height: 120px;
  }

  .product-card {
    grid-template-rows: 360px auto;
  }

  .hero-mosaic {
    grid-auto-rows: 118px;
  }

  .mosaic-tile,
  .mosaic-tile.tile-large,
  .mosaic-tile:nth-child(2),
  .mosaic-tile:nth-child(5) {
    grid-column: span 6;
    grid-row: span 1;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-panel {
    min-height: 340px;
  }

  .logo-chest-main {
    --logo-size: 58px;
  }

  .logo-chest-product,
  .logo-chest-category {
    --logo-size: 52px;
  }

  .fabric-gallery img {
    height: 420px;
  }

  .fabric-collection-btn {
    width: 100%;
  }

  .gsm-recommendations ul {
    grid-template-columns: 1fr;
  }

  .fabric-collection-list {
    grid-template-columns: 1fr;
  }

  .fabric-collection-list article {
    min-height: auto;
  }

  .modal-panel {
    inset: 70px 12px 16px;
  }

  .floating-stat {
    display: grid;
    width: 100%;
    margin: 12px 0 0;
  }
}
