:root {
  --black: #080808;
  --ink: #171717;
  --graphite: #303030;
  --mid: #696969;
  --line: #dedede;
  --soft: #f4f4f4;
  --paper: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 82px;
  padding: 1rem clamp(1.25rem, 4vw, 4.5rem);
  background: rgba(8, 8, 8, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.98);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 38px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2.2vw, 2.2rem);
}

.main-nav a {
  color: var(--paper);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: rgba(255, 255, 255, 0.58);
}

.main-nav a.nav-contact {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--paper);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.main-nav a.nav-contact:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--black);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.section {
  padding: clamp(3.7rem, 6.5vw, 5.8rem) clamp(1.25rem, 4vw, 4.5rem);
}

.section-light {
  background: var(--paper);
}

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

.section-dark {
  background: var(--black);
  color: var(--paper);
}

.hero {
  position: relative;
  display: block;
  min-height: auto;
  padding: 8.2rem clamp(1.25rem, 4vw, 4.5rem) 3.4rem;
  overflow: visible;
}

.hero-light {
  background: var(--paper);
  color: var(--black);
}

.hero::before {
  content: none;
}

.hero-card {
  display: grid;
  width: min(1080px, 100%);
  margin: 0 auto;
  gap: clamp(1.4rem, 2.8vw, 2.4rem);
  padding: clamp(1.8rem, 3.4vw, 3.4rem);
  border: 1px solid #dedede;
  border-radius: 20px;
  background: #f3f3f3;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}

.hero-top {
  display: grid;
  gap: clamp(1.3rem, 2.4vw, 2rem);
}

.hero-intro {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  opacity: 1;
}

.hero-visual img {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  filter: none;
}

.eyebrow {
  margin: 0 0 1rem;
  color: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  line-height: 1.4;
  opacity: 0.62;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.story-layout h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.9rem, 2.45vw, 2.75rem);
  font-weight: 600;
  hyphens: none;
  line-height: 1.12;
}

.hero-copy {
  width: 100%;
  margin-top: 1.25rem;
}

.hero-copy p {
  margin: 0 0 0.9rem;
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.68;
}

.hero-detail h2 {
  margin: 0 0 0.5rem;
  color: var(--black);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-detail {
  padding-top: clamp(1.3rem, 2.5vw, 2rem);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
  justify-items: center;
  text-align: center;
}

.hero-detail-item {
  width: min(100%, 520px);
}

.hero-detail p {
  margin: 0;
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.35rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 1px solid currentColor;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button-light {
  background: var(--black);
  color: var(--paper);
  border-color: var(--black);
}

.button-light:hover {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--paper);
}

.button-outline {
  color: var(--black);
  border-color: rgba(0, 0, 0, 0.28);
}

.button-outline:hover {
  border-color: var(--black);
  background: var(--soft);
}

.button-dark {
  background: var(--black);
  color: var(--paper);
  border-color: var(--black);
  cursor: pointer;
}

.button-dark:hover {
  background: var(--graphite);
  border-color: var(--graphite);
}

.section-heading {
  width: min(920px, 100%);
  margin: 0 auto clamp(1.8rem, 3.5vw, 3rem);
  text-align: center;
}

.section-heading h2,
.story-layout h2 {
  color: inherit;
  font-size: 40px;
  line-height: 1.08;
}

.section-heading p:not(.eyebrow) {
  margin: 1.2rem auto 0;
  max-width: 720px;
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.75;
}

.section-heading .section-copy {
  width: min(1080px, 100%);
  margin: 1.6rem auto 0;
  color: var(--graphite);
  text-align: left;
}

.section-heading .section-copy p {
  margin: 0 0 1rem;
  max-width: none;
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.75;
}

.section-heading .section-copy strong {
  color: var(--black);
  font-weight: 700;
}

.section-lead {
  width: min(820px, 100%);
  margin: 0 auto 1.3rem !important;
  color: var(--black) !important;
  font-size: 1rem !important;
  text-align: center;
}

.catalogue-intro-gallery {
  display: grid;
  width: min(680px, 100%);
  margin: 1.4rem auto 1.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-thumb {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  overflow: hidden;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  border-color: #b8b8b8;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.1);
  outline: 0;
  transform: translateY(-2px);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.catalogue-intro-thumb span {
  display: none;
  padding: 0 0.85rem 0.85rem;
  color: var(--graphite);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: uppercase;
}

.carnets-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.carnets-info-grid article,
.catalogue-callout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: clamp(1.1rem, 2vw, 1.55rem);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.05);
}

.carnets-info-grid article {
  display: flex;
  flex-direction: column;
}

.carnets-info-grid article:nth-of-type(n + 4) {
  align-items: center;
  text-align: center;
}

.carnets-info-grid h3 {
  margin: 0 0 0.55rem;
  color: var(--black);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carnets-info-grid p,
.catalogue-callout p {
  margin: 0 !important;
  color: var(--graphite) !important;
  font-size: 1rem !important;
  line-height: 1.68 !important;
}

.carnets-info-grid p + p,
.catalogue-callout p + p {
  margin-top: 0.8rem !important;
}

.catalogue-callout {
  display: grid;
  margin-top: 1rem;
  gap: 0.9rem;
}

.catalogue-carousel {
  --carousel-thumb-width: clamp(170px, 17vw, 220px);
  display: grid;
  grid-column: 1 / -1;
  gap: 0.8rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
}

.carousel-heading {
  display: block;
}

.carousel-heading p {
  margin: 0 !important;
  color: var(--black) !important;
  font-size: 1rem !important;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35 !important;
  text-transform: uppercase;
}

.catalogue-carousel-stage {
  overflow: hidden;
}

.catalogue-carousel-track {
  display: flex;
  width: fit-content;
  min-width: max-content;
  animation: catalogue-carousel-auto 32s linear infinite;
  will-change: transform;
}

.catalogue-carousel-track:hover,
.catalogue-carousel-track:focus-within,
body.lightbox-open .catalogue-carousel-track {
  animation-play-state: paused;
}

.carousel-set {
  display: flex;
  flex: 0 0 auto;
  gap: 1rem;
  min-width: max-content;
  padding-right: 1rem;
}

.carousel-thumb {
  display: flex;
  flex: 0 0 var(--carousel-thumb-width);
  width: var(--carousel-thumb-width);
  min-width: var(--carousel-thumb-width);
  height: clamp(170px, 18vw, 230px);
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-color: var(--line);
  background: transparent;
  border-radius: 8px;
}

.carousel-thumb:hover,
.carousel-thumb:focus-visible {
  border-color: #b8b8b8;
  box-shadow: none;
  transform: none;
}

.carousel-thumb img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  background: transparent;
  object-fit: contain;
}

@keyframes catalogue-carousel-auto {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalogue-carousel-track {
    animation: none;
  }
}

.catalogue-button {
  margin-top: 0.5rem;
  justify-self: start;
}

.coffrets-heading {
  width: min(980px, 100%);
  margin: 0 auto clamp(1.8rem, 3.5vw, 3rem);
  text-align: center;
}

.coffrets-heading h2 {
  margin: 0;
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
}

.coffrets-layout {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.2rem, 3vw, 2.3rem);
  align-items: stretch;
}

.coffrets-showcase {
  display: grid;
  align-content: start;
  gap: clamp(1rem, 2.2vw, 1.45rem);
}

.coffrets-content {
  display: grid;
  align-content: center;
  gap: 0;
  padding: clamp(1.55rem, 3vw, 2.5rem);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.07);
}

.coffrets-intro {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding-bottom: clamp(1.25rem, 2.6vw, 2rem);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.coffrets-intro p,
.coffrets-reasons p,
.coffrets-order p,
.coffrets-reasons li {
  margin: 0;
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.72;
}

.coffrets-intro p:first-child {
  color: var(--black);
  font-size: 1rem;
  font-weight: 600;
}

.coffrets-reasons,
.coffrets-order {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.coffrets-reasons {
  padding: clamp(1.25rem, 2.6vw, 2rem) 0;
}

.coffrets-reasons h3,
.coffrets-order h3 {
  margin: 0;
  color: var(--black);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.coffrets-reasons ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coffrets-reasons li {
  position: relative;
  padding-left: 1.1rem;
}

.coffrets-reasons li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 999px;
  background: var(--black);
}

.coffrets-order {
  justify-items: center;
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
  border-radius: 20px;
  background: var(--black);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.coffrets-order h3,
.coffrets-order p {
  color: var(--paper);
}

.coffrets-order .button {
  justify-self: center;
  min-height: 46px;
  margin-top: 0.45rem;
  padding: 0.75rem 1.05rem;
  border-color: var(--paper);
  background: var(--paper);
  color: var(--black);
}

.coffrets-order .button:hover {
  border-color: #d8d8d8;
  background: #d8d8d8;
  color: var(--black);
}

.coffrets-media {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f3f3 100%);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.06);
}

.coffrets-media .coffrets-visual {
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.section-dark .section-heading p:not(.eyebrow),
.section-dark .story-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.product-grid,
.gift-grid {
  display: grid;
  width: min(1320px, 100%);
  margin: 0 auto;
  gap: 1.1rem;
}

.notebooks-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gift-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: #bdbdbd;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-image {
  display: flex;
  height: 245px;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background:
    linear-gradient(135deg, #f8f8f8 0%, #ffffff 55%, #eeeeee 100%);
}

.notebook-card .product-image {
  height: 310px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-image-contain img {
  max-width: 78%;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.product-kicker {
  margin-bottom: 0.6rem;
  color: var(--mid);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-body h3 {
  margin: 0;
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.15;
}

.product-body p {
  margin: 0.85rem 0 0;
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.65;
}

.product-body ul {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.product-body li {
  position: relative;
  padding-left: 1rem;
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.45;
}

.product-body li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--black);
}

.product-note {
  margin-top: auto !important;
  padding-top: 1rem;
  color: var(--mid) !important;
  font-size: 1rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-section {
  padding-top: clamp(3.8rem, 6vw, 5.8rem);
  padding-bottom: clamp(3.8rem, 6vw, 5.8rem);
  background:
    linear-gradient(90deg, #f7f7f7 0%, #ffffff 52%, #f2f2f2 100%);
}

.story-layout {
  display: grid;
  width: min(1240px, 100%);
  margin: 0 auto;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: stretch;
}

.story-visual {
  position: relative;
  display: grid;
  min-height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  align-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.6rem, 3vw, 3rem);
  background: linear-gradient(135deg, #ffffff 0%, #f6f6f6 100%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.08);
}

.story-visual::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  pointer-events: none;
}

.story-main-image {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  height: auto;
  min-height: 0;
  max-height: 520px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.story-visual figcaption {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: clamp(1.2rem, 2vw, 2rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--mid);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.story-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4.5vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 26px 75px rgba(0, 0, 0, 0.09);
}

.story-copy p {
  margin: 0 0 1.2rem;
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.82;
}

.reinsurance-image {
  position: relative;
  z-index: 1;
  width: min(100%, 623px);
  margin-top: 1.2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 2.4rem;
  border: 1px solid var(--black);
  background: var(--black);
}

.stats div {
  display: flex;
  min-height: 112px;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 0.6rem;
  background: var(--black);
  text-align: center;
}

.stats strong {
  display: block;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.05vw, 2rem);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  line-height: 1.08;
  white-space: nowrap;
}

.stats span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.contact-layout {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 1.1rem;
}

.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  background: var(--paper);
}

.contact-panel {
  display: grid;
  align-content: start;
  gap: 1.8rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.contact-panel img {
  width: min(320px, 100%);
  margin-bottom: 0.8rem;
}

.contact-panel .contact-visual {
  width: 100%;
  margin: 0.2rem 0 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}

.contact-label {
  margin: 0 0 0.4rem;
  color: var(--mid);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-panel p {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
}

.contact-form span {
  color: var(--graphite);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fafafa;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  outline: none;
  padding: 0.95rem 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--black);
  background: var(--paper);
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.captcha-field input {
  max-width: 220px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.status-toast {
  position: fixed;
  z-index: 100;
  top: 6.4rem;
  right: 1.2rem;
  max-width: 24rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 1rem;
}

.status-toast.is-error {
  border-color: #b9b9b9;
}

.site-footer {
  display: grid;
  gap: 0;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem) clamp(1.8rem, 4vw, 3rem);
  background: var(--black);
  color: var(--paper);
}

.footer-inner {
  display: grid;
  width: min(1320px, 100%);
  margin: 0 auto;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  align-items: start;
}

.footer-brand img {
  width: min(230px, 100%);
  padding: 0;
  background: transparent;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.footer-brand p {
  max-width: 36rem;
  margin-top: 1.4rem;
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.74);
  font-family: Poppins, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-transform: none;
}

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

.footer-nav p,
.footer-contact p {
  margin: 0 0 0.45rem;
  color: var(--paper);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 1rem;
}

.footer-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  margin-top: 0.7rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: var(--paper) !important;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-button:hover {
  background: var(--paper);
  color: var(--black) !important;
}

.footer-bottom {
  display: flex;
  width: min(1320px, 100%);
  margin: 0 auto;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 1rem;
}

.footer-bottom a {
  color: inherit;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  z-index: 140;
  inset: 0;
  display: none;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.82);
}

.image-lightbox.is-open {
  display: grid;
}

.image-lightbox figure {
  display: grid;
  width: min(920px, 100%);
  gap: 0.8rem;
  margin: 0;
}

.image-lightbox img {
  width: 100%;
  max-height: min(78vh, 760px);
  border-radius: 10px;
  background: var(--paper);
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.image-lightbox figcaption {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--paper);
  color: var(--black);
  outline: 0;
}

.cookie-banner {
  position: fixed;
  z-index: 120;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: grid;
  width: min(520px, calc(100vw - 2rem));
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(8, 8, 8, 0.96);
  color: var(--paper);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.55;
}

.cookie-title {
  margin-bottom: 0.2rem !important;
  color: var(--paper) !important;
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
}

.cookie-button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.65rem 0.8rem;
  text-transform: uppercase;
}

.cookie-accept {
  background: var(--paper);
  color: var(--black);
}

.legal-page {
  background: var(--soft);
}

.legal-main {
  padding: 8.6rem clamp(1.25rem, 4vw, 4.5rem) 4rem;
}

.legal-article {
  width: min(980px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(1.4rem, 4vw, 4rem);
}

.legal-article h1 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
}

.legal-article h2,
.legal-article h3 {
  margin: 2rem 0 0.8rem;
  color: var(--black);
}

.legal-article p,
.legal-article li {
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-article a {
  text-decoration: underline;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--mid);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
}

@media (max-width: 1180px) {
  .gift-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 72px;
  }

  .brand img {
    width: auto;
    height: 34px;
  }

  .menu-toggle {
    position: relative;
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    white-space: normal;
  }

  .main-nav a.nav-contact {
    margin-top: 0.75rem;
    justify-self: start;
  }

  .hero {
    padding-top: 7.4rem;
  }

  .hero-card {
    gap: 1.8rem;
  }

  .hero-top,
  .hero-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-intro {
    width: 100%;
  }

  .hero-visual {
    order: 0;
  }

  .hero-visual img {
    width: 100%;
  }

  .notebooks-grid,
  .gift-grid,
  .carnets-info-grid,
  .coffrets-layout,
  .story-layout,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .coffrets-layout {
    gap: 1rem;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border: 0;
  }
}

@media (max-width: 680px) {
  .section {
    padding-top: 3.4rem;
    padding-bottom: 3.4rem;
  }

  .hero {
    min-height: auto;
    padding: 6.2rem 1rem 2.4rem;
  }

  .hero-card {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.15rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .catalogue-intro-gallery {
    grid-template-columns: 1fr;
  }

  .carousel-thumb {
    flex-basis: 138px;
    height: 164px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-button {
    flex: 1;
  }

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

  .button {
    padding-right: 0.9rem;
    padding-left: 0.9rem;
  }

  .product-image,
  .notebook-card .product-image {
    height: 250px;
  }

  .form-row,
  .stats {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    display: grid;
  }

  .story-main-image {
    min-height: 0;
    max-height: 330px;
  }

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