:root {
  --ink: #16313a;
  --ink-soft: #31515a;
  --paper: #f4f7f5;
  --surface: #ffffff;
  --sea: #0b7f88;
  --coral: #df5d43;
  --sun: #f4b340;
  --mint: #d8efe5;
  --line: rgba(22, 49, 58, 0.14);
  --shadow: 0 18px 55px rgba(22, 49, 58, 0.14);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(11, 127, 136, 0.13), transparent 28rem),
    linear-gradient(180deg, #f8fbfa 0%, var(--paper) 52%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 251, 250, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.intro-actions,
.card-meta,
.card-cta,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(4rem, 8vw, 5.25rem);
  height: 2.9rem;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.site-nav {
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a,
.button {
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.site-nav a {
  padding: 0.68rem 0.9rem;
}

.site-nav a:hover,
.button:hover,
.product-card:hover {
  transform: translateY(-2px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  max-width: var(--max-width);
  min-height: min(600px, calc(100vh - 7rem));
  margin: 0 auto;
  padding: clamp(1rem, 8vw, 2rem) clamp(1rem, 4vw, 2zrem) clamp(1rem, 6vw, 2rem);
}

.intro-copy {
  max-width: 45rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--sea);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  /*max-width: 11ch;*/
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  /*font-size: clamp(3.4rem, 10vw, 7.6rem);*/
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.intro-copy > p:not(.eyebrow) {
  max-width: 38rem;
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.intro-actions {
  gap: 0.7rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.9rem 1.1rem;
}

.button.primary {
  border-color: var(--coral);
  color: #ffffff;
  background: var(--coral);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.76);
}

.intro-preview {
  position: relative;
  min-height: 31rem;
}

.intro-preview img {
  position: absolute;
  width: min(62%, 19rem);
  aspect-ratio: 1;
  border: 10px solid #ffffff;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.intro-preview img:nth-child(1) {
  top: 0;
  right: 6%;
  rotate: 5deg;
}

.intro-preview img:nth-child(2) {
  top: 24%;
  left: 0;
  rotate: -7deg;
}

.intro-preview img:nth-child(3) {
  right: 0;
  bottom: 0;
  rotate: 3deg;
}

.catalog {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 1rem) clamp(1rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading > p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 750;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  gap: 1rem;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(22, 49, 58, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  border-color: rgba(11, 127, 136, 0.42);
  box-shadow: var(--shadow);
}

.product-card:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(140deg, var(--mint), #ffffff 52%, #f6d9cf);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 240ms ease;
}

.product-card:hover .card-media img {
  scale: 1.035;
}

.poster-placeholder {
  display: grid;
  place-items: center;
  width: 72%;
  aspect-ratio: 0.78;
  border: 1px solid rgba(22, 49, 58, 0.22);
  border-radius: 6px;
  color: var(--ink);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58)),
    var(--placeholder-color, var(--mint));
  box-shadow: 0 18px 34px rgba(22, 49, 58, 0.14);
  text-align: center;
}

.poster-placeholder span {
  display: block;
  padding: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 8vw, 2.1rem);
  font-weight: 700;
  line-height: 0.95;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.card-meta {
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 750;
}

.card-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0;
}

.card-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.card-cta {
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
  color: var(--sea);
  font-size: 0.9rem;
  font-weight: 850;
}

.card-cta span:last-child {
  color: var(--coral);
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  background: #ffffff;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--sea);
  font-weight: 850;
}

@media (max-width: 820px) {
  .site-header,
  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .intro {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .intro-preview {
    order: -1;
    min-height: 20rem;
  }

  .intro-preview img {
    width: min(52%, 13.5rem);
    border-width: 7px;
  }

  h1 {
    max-width: 12ch;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: static;
  }

  .brand-mark {
    width: 3.7rem;
    height: 2.05rem;
  }

  .site-nav a {
    padding: 0.62rem 0.76rem;
    font-size: 0.82rem;
  }

  .intro {
    padding-top: 1.6rem;
  }

  .intro-preview {
    min-height: 17rem;
  }

  h1 {
    font-size: 3.15rem;
  }

  .button {
    width: 100%;
  }
}
