/* Glowrika — contemporary fashion house
   Editorial storefront. Black / ivory / stone. No framework. */

@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400;1,6..96,500&family=Jost:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap");

:root {
  --ink: #111111;
  --ink-soft: #3a3734;
  --muted: #6f6a64;
  --line: #ddd8d1;
  --stone: #cfc8be;
  --ivory: #f6f4f1;
  --paper: #efece7;
  --white: #ffffff;
  --black: #0b0b0b;
  --header: 72px;
  --announce: 34px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1440px;
}

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

html { scroll-behavior: smooth; }

html,
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font-family: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul { list-style: none; }

h1,
h2,
h3,
.serif {
  font-family: "Bodoni Moda", "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.announce {
  height: var(--announce);
  background: var(--black);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  overflow: hidden;
}

.announce span {
  white-space: nowrap;
  animation: drift 28s linear infinite;
}

@keyframes drift {
  from { transform: translateX(20%); }
  to { transform: translateX(-20%); }
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(246, 244, 241, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(246, 244, 241, 0.97);
}

.header__bar {
  height: var(--header);
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.logo {
  font-family: "Bodoni Moda", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

.nav a::after,
.util a::after,
.util button.as-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover::after,
.nav a.is-active::after,
.util a:hover::after,
.util button.as-link:hover::after {
  transform: scaleX(1);
}

.util {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.util a,
.util button.as-link {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

.bag-btn { position: relative; }

.bag-count {
  position: absolute;
  top: -8px;
  right: -12px;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 9px;
  letter-spacing: 0;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.menu-toggle {
  display: none;
  width: 28px;
  height: 18px;
  position: relative;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  transition: 0.3s var(--ease);
}

.menu-toggle::before { top: 0; }
.menu-toggle span { top: 8px; }
.menu-toggle::after { bottom: 0; }

body.nav-open .menu-toggle span { opacity: 0; }
body.nav-open .menu-toggle::before { top: 8px; transform: rotate(45deg); }
body.nav-open .menu-toggle::after { bottom: 8px; transform: rotate(-45deg); }

.hero {
  position: relative;
  height: calc(100vh - var(--header) - var(--announce));
  min-height: 640px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.04);
  animation: ken 18s var(--ease) forwards;
  filter: saturate(0.92) contrast(1.05);
}

@keyframes ken {
  to { transform: scale(1); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.08) 40%, rgba(0, 0, 0, 0.55) 100%);
}

.hero__copy {
  position: absolute;
  inset: auto 0 10vh 0;
  text-align: center;
  padding: 0 24px;
}

.hero__copy .eyebrow {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(4.4rem, 14vw, 12.5rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 0.82;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn--light { color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--dark:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }

.section { padding: 88px 0; }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 36px;
}

.section__head h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
}

.section__head a {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

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

.product { position: relative; }

.product__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 3 / 4;
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
}

.product:hover .product__media img { transform: scale(1.07); }

.product__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 8px;
}

.product__add {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 56px;
  height: 40px;
  background: var(--white);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 2;
}

.product:hover .product__add {
  opacity: 1;
  transform: translateY(0);
}

.product__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.product__meta h3 {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.product__meta p {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.campaign {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 78vh;
}

.campaign__visual {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.campaign__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.campaign__visual:hover img { transform: scale(1.05); }

.campaign__copy {
  background: var(--black);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
}

.campaign__copy .eyebrow {
  color: var(--stone);
  margin-bottom: 22px;
}

.campaign__copy h2 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.95;
  margin-bottom: 22px;
}

.campaign__copy p {
  max-width: 38ch;
  color: rgba(246, 244, 241, 0.78);
  margin-bottom: 32px;
  font-weight: 300;
  font-size: 16px;
}

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

.cat {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  color: var(--white);
}

.cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.cat:hover img { transform: scale(1.06); }

.cat__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.5));
}

.cat__label {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 32px;
}

.cat__label h3 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  margin-bottom: 8px;
}

.cat__label span {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.manifesto {
  text-align: center;
  padding: 120px 24px;
}

.manifesto p {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-style: italic;
  line-height: 1.35;
  max-width: 18em;
  margin: 0 auto 18px;
}

.manifesto span {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.beauty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
}

.beauty__copy {
  padding: 88px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.beauty__copy h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  margin: 14px 0 18px;
}

.beauty__copy p {
  max-width: 42ch;
  color: var(--ink-soft);
  margin-bottom: 28px;
  font-weight: 300;
  font-size: 16px;
}

.beauty__visual { min-height: 520px; overflow: hidden; }

.beauty__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px;
}

.strip a {
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 1s var(--ease);
  filter: grayscale(0.15);
}

.strip a:hover img {
  transform: scale(1.06);
  filter: grayscale(0);
}

.news {
  padding: 96px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.news h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 10px 0 12px;
}

.news p {
  color: var(--muted);
  margin-bottom: 28px;
}

.news form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
}

.news input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 0;
  outline: none;
  font-size: 14px;
}

.news button {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 12px 0 12px 16px;
}

.news .note {
  margin-top: 14px;
  font-size: 12px;
  min-height: 1.2em;
}

.footer {
  background: var(--black);
  color: var(--ivory);
  padding: 72px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 56px;
}

.footer .logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer p {
  max-width: 32ch;
  color: rgba(246, 244, 241, 0.62);
  font-weight: 300;
  font-size: 14px;
}

.footer h4 {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer a {
  display: block;
  color: rgba(246, 244, 241, 0.72);
  font-size: 14px;
  font-weight: 300;
  padding: 4px 0;
  transition: color 0.25s;
}

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

.footer__base {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(246, 244, 241, 0.5);
}

.page-hero {
  position: relative;
  height: 54vh;
  min-height: 380px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 6vw 56px;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.5));
}

.page-hero h1 {
  font-size: clamp(3.4rem, 8vw, 7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 0.9;
}

.page-hero p {
  max-width: 42ch;
  font-weight: 300;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 28px 0 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.filters button.is-on,
.filters button:hover { color: var(--ink); }

.about-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-intro img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-intro h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.95;
  margin: 10px 0 22px;
}

.about-intro p {
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 17px;
  margin-bottom: 16px;
  max-width: 46ch;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}

.value h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.value p {
  color: var(--muted);
  font-weight: 300;
}

.looks {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 42vh;
  gap: 8px;
}

.looks a {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--paper);
}

.looks a:nth-child(1),
.looks a:nth-child(6) { grid-row: span 2; }

.looks img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.looks a:hover img { transform: scale(1.05); }

.looks figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 11, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  z-index: 60;
}

.overlay.is-on {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: var(--ivory);
  z-index: 70;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
}

.drawer.is-on { transform: translateX(0); }

.drawer header,
.search-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.drawer h2,
.search-panel h2 { font-size: 1.8rem; }

.drawer__items { flex: 1; overflow: auto; }

.cart-empty {
  color: var(--muted);
  font-weight: 300;
  padding: 24px 0;
}

.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  background: var(--paper);
}

.cart-row h3 {
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.cart-row p {
  color: var(--muted);
  font-size: 13px;
}

.drawer__foot {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.drawer__foot .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
}

.drawer__foot .btn { width: 100%; }

.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--ivory);
  padding: 28px 6vw 36px;
  transform: translateY(-110%);
  transition: transform 0.45s var(--ease);
  border-bottom: 1px solid var(--line);
}

.search-panel.is-on { transform: translateY(0); }

.search-panel input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-size: 22px;
  padding: 12px 0;
  outline: none;
  font-family: "Bodoni Moda", serif;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.search-results article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
}

.search-results img {
  width: 56px;
  height: 74px;
  object-fit: cover;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--ivory);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 18px;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s var(--ease);
  z-index: 90;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.lock { overflow: hidden; }

@media (max-width: 980px) {
  .header__bar { grid-template-columns: auto 1fr auto; }

  .menu-toggle { display: block; }

  .logo {
    text-align: center;
    justify-self: center;
  }

  .nav {
    position: fixed;
    inset: calc(var(--header) + var(--announce)) 0 0 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 36px 28px;
    gap: 18px;
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease);
    z-index: 50;
  }

  body.nav-open .nav { transform: translateX(0); }

  .nav a {
    font-size: 28px;
    letter-spacing: 0.08em;
    font-family: "Bodoni Moda", serif;
    text-transform: none;
  }

  .nav a::after { display: none; }

  .grid,
  .search-results { grid-template-columns: repeat(2, 1fr); }

  .campaign,
  .beauty,
  .about-intro { grid-template-columns: 1fr; }

  .campaign__copy,
  .beauty__copy { padding: 48px 28px; }

  .cats,
  .values,
  .strip { grid-template-columns: 1fr; }

  .cat { min-height: 56vh; }

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

  .looks {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 36vh;
  }

  .looks a:nth-child(1),
  .looks a:nth-child(6) { grid-row: span 1; }

  .product__add {
    opacity: 1;
    transform: none;
  }

  .hero { min-height: 560px; }

  .util .hide-sm { display: none; }
}

@media (max-width: 640px) {
  :root { --header: 62px; }

  .container { width: min(var(--max), calc(100% - 28px)); }

  .logo {
    letter-spacing: 0.28em;
    font-size: 18px;
  }

  .section { padding: 56px 0; }

  .footer__grid,
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 10px;
  }

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

  .hero h1 { letter-spacing: 0.08em; }

  .announce { font-size: 10px; }
}
