/* Hausta — monochrome fashion landing */

:root {
  --black: #0a0a0a;
  --ink: #141414;
  --charcoal: #2a2a2a;
  --gray: #6b6b6b;
  --silver: #a8a8a8;
  --mist: #e8e8e8;
  --white: #fafafa;
  --pure: #ffffff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--pure);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

/* Film grain overlay */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--mist);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo img {
  height: 52px;
  width: auto;
  background: transparent;
  transition: transform 0.3s var(--ease);
}

.nav__logo:hover img {
  transform: scale(1.04);
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.35s var(--ease);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--black);
  transition: background 0.3s, color 0.3s;
}

.nav__cta:hover {
  background: var(--black);
  color: var(--pure);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.3s;
}

.nav__mobile {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--pure);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-bottom: 1px solid var(--mist);
  z-index: 99;
}

.nav__mobile a {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav__mobile[hidden] {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(100%) contrast(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.75) 38%,
    rgba(255, 255, 255, 0.15) 72%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 4rem);
  max-width: 640px;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--charcoal);
  max-width: 420px;
  margin-bottom: 2.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.3s, color 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--black);
  color: var(--pure);
}

.btn--primary:hover {
  background: var(--charcoal);
}

.btn--ghost {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.btn--ghost:hover {
  background: var(--black);
  color: var(--pure);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 8vw;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.hero__line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--black), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--mist);
  padding: 1.1rem 0;
  overflow: hidden;
  background: var(--black);
  color: var(--pure);
}

.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.marquee__track .dot {
  opacity: 0.35;
  font-size: 0.5rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Collection */
.collection {
  padding: 7rem 0 6rem;
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 4rem;
}

.section-head__num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--mist);
  -webkit-text-stroke: 1px var(--silver);
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.section-head p {
  color: var(--gray);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.card {
  grid-column: span 4;
  background: var(--pure);
  border: 1px solid var(--mist);
  overflow: hidden;
  transition: border-color 0.35s, transform 0.45s var(--ease), box-shadow 0.45s;
}

.card:hover {
  border-color: var(--black);
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.1);
}

.card--featured {
  grid-column: span 6;
}

.card--third {
  grid-column: span 3;
}

.card--third .card__media--color {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  background: var(--pure);
}

.card--jeans,
.card--wallet {
  grid-column: span 4;
}

.card--jeans .card__media,
.card--wallet .card__media {
  aspect-ratio: 3 / 4;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  background: var(--pure);
}

.card--featured .card__media {
  aspect-ratio: 4 / 3;
}

.card--featured .card__media--color {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  background: var(--pure);
}

.card--wide {
  grid-column: span 8;
}

.card--wide .card__link {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.card--wide .card__media {
  aspect-ratio: auto;
  min-height: 280px;
}

.card--wide .card__media--color {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2rem;
  background: var(--pure);
}

.card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--white);
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.18) 0%, transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.card:hover .card__media::after {
  opacity: 1;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(1.06);
  transition: transform 0.7s var(--ease), filter 0.4s;
}

.card:hover .card__media img {
  transform: scale(1.06);
  filter: grayscale(100%) contrast(1.12);
}

.card__media--color {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pure);
}

.card__media--color img {
  object-fit: contain;
  object-position: center;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  filter: contrast(1.05);
}

.card:hover .card__media--color img {
  transform: none;
  filter: contrast(1.08);
}

.card__body {
  padding: 1.5rem 1.65rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.card__cat {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--silver);
  margin-bottom: 0.15rem;
}

.card__body h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.15;
}

.card__body p {
  font-size: 0.86rem;
  color: var(--gray);
  line-height: 1.55;
  flex: 1;
  margin: 0.35rem 0 0.85rem;
}

/* Story */
.story {
  background: var(--black);
  color: var(--pure);
  padding: 6rem 0 0;
  position: relative;
}

.story__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 5rem;
}

.story__visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.story__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 50%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.story__visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(1.08);
  display: block;
}

.story__text .section-head__num {
  display: block;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.15);
  -webkit-text-stroke: none;
  margin-bottom: 0.5rem;
}

.story__text h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.story__text p {
  color: var(--silver);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  max-width: 520px;
}

.story__values {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 2rem;
}

.story__values li {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-left: 1.25rem;
  position: relative;
}

.story__values li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--silver);
}

.story__divider {
  color: rgba(255, 255, 255, 0.2);
  height: 60px;
}

.story__divider svg {
  width: 100%;
  height: 100%;
}

/* CTA band */
.cta-band {
  padding: 6rem 0;
  text-align: center;
  background: var(--white);
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.cta-band > .container > p {
  color: var(--gray);
  margin-bottom: 2rem;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 480px;
  margin-inline: auto;
  border: 1px solid var(--black);
}

.cta-form input {
  flex: 1;
  min-width: 200px;
  padding: 1rem 1.25rem;
  border: none;
  font-family: var(--sans);
  font-size: 0.9rem;
  background: var(--pure);
  outline: none;
}

.cta-form .btn {
  border-radius: 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--mist);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.6fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--gray);
  max-width: 260px;
}

.footer__legal-name {
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.footer__company .footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--gray);
}

.footer__address strong {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.footer__gst {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}

.footer h4 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer a {
  font-size: 0.9rem;
  color: var(--gray);
  transition: color 0.25s;
}

.footer a:hover {
  color: var(--black);
}

.footer__bottom {
  border-top: 1px solid var(--mist);
  padding: 1.5rem 0;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--silver);
  text-align: center;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--black);
  color: var(--pure);
  padding: 1rem 1.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  z-index: 200;
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .card,
  .card--featured,
  .card--wide,
  .card--third,
  .card--jeans,
  .card--wallet {
    grid-column: span 6;
  }

  .card--wide .card__link {
    grid-template-columns: 1fr;
  }

  .card--wide .card__media {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .card--jeans .card__media,
  .card--wallet .card__media {
    min-height: 300px;
    aspect-ratio: 3 / 4;
  }

  .story__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .story__visual img {
    min-height: 320px;
  }

  .story__text p {
    margin-inline: auto;
  }

  .story__values {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__scroll {
    display: none;
  }

  .card,
  .card--featured,
  .card--wide,
  .card--third,
  .card--jeans,
  .card--wallet {
    grid-column: span 12;
  }

  .card__media {
    aspect-ratio: 16 / 11;
  }

  .card--featured .card__media {
    aspect-ratio: 16 / 11;
  }

  .card--jeans .card__media,
  .card--wallet .card__media {
    min-height: 360px;
    aspect-ratio: auto;
    padding: 1.25rem;
  }

  .section-head {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand p {
    margin-inline: auto;
  }

  .footer__company .footer__address {
    align-items: center;
  }

  .cta-form {
    flex-direction: column;
    border: none;
    gap: 0.75rem;
  }

  .cta-form input {
    border: 1px solid var(--mist);
  }

  .cta-form .btn {
    width: 100%;
  }
}
