@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;700;800&display=swap');

:root {
  --color-bg: #f3f2f2;
  --color-text: #201e1d;
  --color-divider: var(--brand-ink);
  --color-neutral-600: #7d7979;
  --font-heading: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --brand-ink: #1f1b3a;
  --brand-magenta: #ff00c7;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
}

h1, h2, h3 { margin: 0; }

a {
  color: var(--brand-ink);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--brand-magenta); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--brand-magenta);
  outline-offset: 2px;
}

.page {
  height: 100dvh;
  min-height: 420px;
  overflow-y: auto;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
}

.kicker-line {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-neutral-600);
}

.en-line {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-neutral-600);
}

/* 1. Hero */
.hero {
  flex: none;
  padding: clamp(14px, 3vh, 36px) 24px clamp(12px, 2.4vh, 28px);
  border-bottom: 1px solid var(--color-divider);
}

.hero__grid {
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: clamp(14px, 2.4vh, 32px) 32px;
  align-items: end;
}

.hero__main {
  min-width: 0;
  container-type: inline-size;
}

.hero__logo {
  height: 30px;
  width: auto;
  margin-bottom: clamp(10px, 2vh, 22px);
}

.hero__kicker {
  margin-bottom: clamp(8px, 1.6vh, 20px);
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: min(13.2cqw, 13vh, 132px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: min(7.5cqw, 7vh, 68px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--brand-magenta);
  margin-top: 8px;
}

.hero__aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.6vh, 18px);
}

.hero__aside-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-neutral-600);
  margin-bottom: -4px;
}

.hero__index {
  border-top: 1px solid var(--color-divider);
}

.hero__index-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: clamp(6px, 1.2vh, 12px) 0;
  border-bottom: 1px solid var(--color-divider);
}

.hero__index-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--brand-magenta);
}

.hero__index-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(15px, 2.2vh, 24px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--brand-ink);
}

.hero__index-en {
  margin-left: auto;
}

/* 2. Image band */
.image-band {
  position: relative;
  flex: 1 1 0;
  min-height: min(140px, 18vh);
  border-bottom: 1px solid var(--color-divider);
  overflow: hidden;
}

.image-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.image-band__tagline {
  position: absolute;
  top: clamp(14px, 2.4vh, 26px);
  left: 24px;
  right: 24px;
  display: grid;
}

.image-band__tagline-base,
.image-band__tagline-sweep {
  grid-area: 1 / 1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(15px, 2.6vh, 26px);
  line-height: 1.15;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: normal;
}

.tagline-nowrap {
  white-space: nowrap;
}

.image-band__tagline-base {
  color: #ffffff;
  text-shadow: 0 1px 10px color-mix(in srgb, #000 70%, transparent);
}

.image-band__tagline-sweep {
  color: var(--brand-magenta);
  -webkit-mask-image: linear-gradient(100deg,
    transparent 0%, transparent 45%,
    #000 45%, #000 55%,
    transparent 55%, transparent 100%);
  mask-image: linear-gradient(100deg,
    transparent 0%, transparent 45%,
    #000 45%, #000 55%,
    transparent 55%, transparent 100%);
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: tagline-gradient-sweep 11s linear infinite;
}

@keyframes tagline-gradient-sweep {
  0% { -webkit-mask-position: 130% 0; mask-position: 130% 0; }
  100% { -webkit-mask-position: -130% 0; mask-position: -130% 0; }
}

/* 3. Products */
.products {
  flex: none;
  border-bottom: 1px solid var(--color-divider);
}

.products__label {
  padding: clamp(10px, 1.6vh, 18px) 24px 0;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1px;
  background: var(--color-divider);
  margin-top: clamp(10px, 1.6vh, 18px);
}

.prod-cell {
  background: var(--color-bg);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.4vh, 14px);
  padding: clamp(14px, 2.4vh, 26px) 24px;
}

.prod-cell__logo {
  height: clamp(24px, 3.6vh, 36px);
  width: auto;
  object-fit: contain;
  object-position: left;
}

.prod-desc {
  font-size: clamp(13px, 1.6vh, 15px);
  line-height: 1.4;
  text-transform: uppercase;
}

.prod-desc.en-line {
  font-size: clamp(11px, 1.4vh, 13px);
  margin-top: calc(-0.5 * clamp(8px, 1.4vh, 14px));
}

.prod-cell__link {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

/* 4. Contact block */
.contact {
  flex: none;
  background: var(--brand-ink);
  color: #ffffff;
  border-top: 6px solid var(--brand-magenta);
  padding: clamp(16px, 3vh, 40px) 24px;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(12px, 2vh, 28px);
  align-items: end;
}

.contact__main {
  container-type: inline-size;
}

.contact__kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-magenta);
  margin-bottom: clamp(6px, 1.2vh, 14px);
}

.contact__mail {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: min(6.5cqw, 6vh, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
  overflow-wrap: anywhere;
}

.contact__aside {
  font-size: clamp(12px, 1.6vh, 14px);
  line-height: 1.45;
}

.contact__aside strong {
  font-weight: 600;
}

.contact__copyright {
  opacity: 0.6;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Responsive rules */
@media (max-width: 400px) {
  .image-band__tagline {
    left: 16px;
    right: 16px;
  }
}

@media (max-width: 640px) {
  .prod-cell {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 24px;
  }
  .prod-desc { display: none; }
  .prod-cell__logo { height: 22px; }
}

@media (max-height: 760px) {
  .en-line { display: none; }
}

@media (max-height: 620px) {
  .kicker-line { display: none; }
}
