:root {
  --ink: #070707;
  --charcoal: #181818;
  --muted: #5b5b5b;
  --paper: #f6f6f2;
  --soft: #ecece6;
  --line: #cfcfca;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(7, 7, 7, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 16px clamp(18px, 5vw, 64px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 251, 248, 0.94);
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(12px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.brand span:last-child {
  max-width: 210px;
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  padding: 132px clamp(18px, 5vw, 64px) 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.76) 52%, rgba(0, 0, 0, 0.34) 100%),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=82") center / cover;
  background-blend-mode: normal, luminosity;
}

.hero-logo {
  width: min(40vw, 440px);
  max-width: 100%;
  justify-self: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.42);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

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

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.6rem, 11vw, 8.7rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--white);
  color: var(--ink);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.products-section,
.development-section,
.contact-section {
  padding: clamp(64px, 10vw, 120px) clamp(18px, 5vw, 64px);
}

.section-copy {
  width: min(900px, 100%);
}

.section-copy p:not(.eyebrow),
.contact-section p {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.products-section {
  background: var(--soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(7, 7, 7, 0.09);
}

.product-card img,
.product-media {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: var(--ink);
}

.product-card img {
  object-fit: cover;
}

.product-media {
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 16px;
  overflow: hidden;
}

.instagram-product .instagram-media {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 420px !important;
  margin: 0 auto !important;
}

.product-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(22px, 4vw, 38px);
}

.product-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-content p:not(.product-label) {
  margin: 14px 0 0;
  color: var(--muted);
}

.text-link {
  margin-top: 22px;
  color: var(--ink);
  font-weight: 800;
  text-decoration-color: var(--muted);
  text-underline-offset: 5px;
}

.development-section {
  display: block;
  background: var(--paper);
}

.development-section h2 {
  max-width: 20ch;
  font-size: clamp(2.1rem, 5vw, 4.65rem);
}

.development-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin-top: 36px;
  border-left: 5px solid var(--ink);
  padding: 4px 0 4px 24px;
}

.development-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.development-panel p + p {
  margin-top: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.82)),
    var(--ink);
  color: var(--white);
}

.contact-section h2 {
  max-width: 13ch;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
}

.contact-section .eyebrow,
.contact-section p {
  color: var(--white);
}

.contact-button {
  justify-self: start;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    min-height: 102px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 84vh;
    grid-template-columns: 1fr;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.75) 58%, rgba(0, 0, 0, 0.58) 100%),
      url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1100&q=82") center / cover;
    background-blend-mode: normal, luminosity;
  }

  .hero-logo {
    width: min(68vw, 340px);
    justify-self: start;
  }

  .product-grid,
  .development-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .development-panel {
    grid-template-columns: 1fr;
  }

  .development-panel p + p {
    margin-top: 8px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card img,
  .product-media {
    min-height: 240px;
  }

}

@media (max-width: 520px) {
  .site-header {
    position: absolute;
    flex-direction: column;
    gap: 14px;
  }

  .brand span:last-child {
    max-width: 170px;
  }

  .hero {
    padding-top: 208px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
