* { box-sizing: border-box; }

body {
  margin: 0;
  background: #EEF1F3;
  font-family: 'Inter', sans-serif;
}

a { -webkit-tap-highlight-color: transparent; }

.kof-card { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.kof-card:hover { transform: translateY(-5px); }

.eyebrow {
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
}

/* layout shell */

.page {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  background: #EEF1F3;
}

.sheet {
  width: 1180px;
  background: #FBFCFD;
  box-shadow: 0 30px 80px rgba(31,43,51,.14);
  overflow: hidden;
}

/* header */

.header {
  background: #25395B;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
}

.logo { height: 44px; width: 44px; border-radius: 8px; display: block; }

.header-nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: #B9C6DA;
}

.nav-link {
  color: #B9C6DA;
  text-decoration: none;
  transition: color .2s ease;
}
.nav-link:hover { color: #fff; }

.nav-cta {
  color: #fff;
  border: 1px solid #4C6188;
  padding: 8px 18px;
  border-radius: 100px;
  transition: background .2s ease;
}
.nav-cta:hover { background: #31497099; color: #fff; }

/* hero */

.hero {
  background: #25395B;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px 40px 64px;
}

.hero-eyebrow { color: #7E93BC; margin-bottom: 20px; }

.hero-title {
  font-size: 52px;
  line-height: 1.05;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: -.01em;
}

.hero-copy {
  max-width: 440px;
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #B9C6DA;
  font-weight: 300;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 14px;
  overflow: hidden;
  background: #2C4269;
  border: 1.5px dashed #56699A;
  padding: 24px;
}

.hero-image-placeholder {
  font-size: 13px;
  color: #9AACC9;
  font-weight: 500;
  line-height: 1.5;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* filter bar */

.filter-section { padding: 26px 40px 0; }

.filter-bar {
  display: flex;
  gap: 26px;
  align-items: center;
  border-bottom: 1px solid #E6EDF0;
  flex-wrap: wrap;
}

.filter-tab {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 0 0 14px;
  margin-bottom: -1px;
  cursor: pointer;
  letter-spacing: .01em;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #8496A0;
  font-weight: 400;
}

.filter-tab.is-active {
  border-bottom: 2px solid #25395B;
  color: #25395B;
  font-weight: 600;
}

.filter-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0 6px;
}

.filter-count { font-size: 13px; color: #8496A0; font-weight: 400; }

.filter-label {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #25395B;
  font-weight: 600;
}

/* grids */

.grid-section { padding: 22px 40px 30px; }

.grid { display: grid; }

.grid--stock {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}

.grid--archive {
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  opacity: .75;
}

.card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-media {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-media--stock {
  aspect-ratio: 4/5;
  background: repeating-linear-gradient(135deg, #EBF2F5 0 11px, #E2ECF0 11px 22px);
}

.card-media--archive {
  aspect-ratio: 1/1;
  background: repeating-linear-gradient(135deg, #EEF3F5 0 10px, #E6EEF1 10px 20px);
  filter: grayscale(.5);
}

.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-initial { font-size: 60px; font-weight: 300; color: #B9CEDA; }
.card-initial--sm { font-size: 42px; color: #C4D3DA; }

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #25395B;
  background: rgba(255,255,255,.92);
  padding: 5px 9px;
  border-radius: 3px;
}

.card-name {
  font-size: 15px;
  font-weight: 500;
  color: #22303A;
  line-height: 1.3;
}

.card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.card-price { font-size: 14px; color: #25395B; font-weight: 600; }

.card-cat {
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #A9B9C1;
}

.card-soldout-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.card-soldout-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(37,57,91,.72);
  padding: 4px 9px;
  border-radius: 3px;
}

.card-name--archive { font-size: 13px; font-weight: 500; color: #7A8892; line-height: 1.25; }

.card-price--archive {
  font-size: 12px;
  color: #A9B9C1;
  text-decoration: line-through;
}

/* archive section */

.archive-section {
  padding: 44px 40px 20px;
  margin-top: 20px;
  border-top: 1px solid #E6EDF0;
}

.archive-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 26px;
}

.archive-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: #A98A8D;
  margin-bottom: 6px;
}

.archive-title { font-size: 24px; font-weight: 600; color: #7A8892; margin: 0; }

.archive-count { font-size: 12px; color: #A9B9C1; }

/* footer */

.footer {
  margin-top: 56px;
  padding: 52px 40px;
  background: #25395B;
  color: #B9C6DA;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}

.footer-logo { height: 40px; width: 40px; border-radius: 8px; display: block; margin-bottom: 18px; }

.footer-eyebrow { color: #7E93BC; margin-bottom: 12px; letter-spacing: .16em; }
.footer-eyebrow--tight { margin-bottom: 2px; }

.footer-about {
  max-width: 460px;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #C7D3E4;
  font-weight: 300;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.footer-link {
  color: #C7D3E4;
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease;
}
.footer-link:hover { color: #fff; }

.footer-shipping { font-size: 12px; color: #6B80A6; margin-top: 14px; }

/* responsive */

@media (max-width: 1220px) {
  .sheet { width: 100%; }
  .page { padding: 0; }
}

@media (max-width: 860px) {
  .header { padding: 16px 24px; }
  .hero { grid-template-columns: 1fr; padding: 40px 24px 40px; gap: 28px; }
  .hero-image { aspect-ratio: 16/10; order: -1; }
  .hero-title { font-size: 36px; }
  .hero-copy { max-width: none; }
  .filter-section { padding: 20px 24px 0; }
  .filter-bar { gap: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .filter-tab { flex: none; }
  .grid-section { padding: 18px 24px 24px; }
  .grid--stock { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
  .grid--archive { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .archive-section { padding: 32px 24px 20px; }
  .footer { grid-template-columns: 1fr; padding: 40px 24px; gap: 32px; }
}

@media (max-width: 480px) {
  .header-nav { gap: 16px; }
  .nav-cta { padding: 8px 14px; }
  .hero-title { font-size: 28px; }
  .grid--stock { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .grid--archive { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-name { font-size: 13px; }
  .card-price { font-size: 13px; }
}
