/* Manrope and Outfit are licensed under the SIL Open Font License 1.1.
   See fonts/OFL.txt and fonts/Outfit-OFL.txt for the full license texts. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/manrope-400.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/manrope-700.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/manrope-800.ttf") format("truetype");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/outfit-700.ttf") format("truetype");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/outfit-800.ttf") format("truetype");
}

:root {
  --ink: #221d39;
  --ink-soft: rgba(34, 29, 57, 0.72);
  --paper: #f6efe3;
  --paper-deep: #efe5d4;
  --white: #fffaf2;
  --line: rgba(34, 29, 57, 0.1);
  --shadow: 0 22px 50px rgba(34, 29, 57, 0.08);
  --brand-violet: rgb(92, 88, 160);
  --brand-blue: rgb(80, 140, 163);
  --brand-olive: rgb(130, 140, 50);
  --brand-rust: #f0850c;
  --brand-red: #de1b21;
  --brand-pink: rgb(220, 48, 130);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(34, 29, 57, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 29, 57, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, var(--paper) 0%, #f4eadb 100%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(92, 88, 160, 0.14), transparent 16%),
    radial-gradient(circle at 88% 18%, rgba(80, 140, 163, 0.12), transparent 14%),
    radial-gradient(circle at 22% 72%, rgba(130, 140, 50, 0.1), transparent 14%),
    radial-gradient(circle at 84% 76%, rgba(220, 48, 130, 0.08), transparent 14%);
  z-index: -1;
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: rgba(255, 250, 242, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(34, 29, 57, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  display: block;
  width: 5.8rem;
  height: 2.75rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-text {
  transform: translateY(0.06rem);
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  margin-left: auto;
}

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

.site-nav a {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(34, 29, 57, 0.06);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.82);
}

.language-link,
.language-divider {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.language-link {
  color: var(--ink-soft);
  text-decoration: none;
}

.language-link.is-active {
  color: var(--ink);
}

.language-switch a:hover,
.language-switch a:focus-visible {
  color: var(--ink);
}

.language-divider {
  color: rgba(34, 29, 57, 0.36);
}

.section {
  padding: 4.8rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 6.5rem);
}

.hero-copy {
  padding: 2rem 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h1,
h2,
h3,
.card-title,
.feature-index,
.contact-label {
  margin: 0;
  font-family: "Outfit", "Arial Narrow", sans-serif;
  line-height: 0.94;
}

h1 {
  max-width: 8.7ch;
  font-size: clamp(3.6rem, 8.3vw, 6.4rem);
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 4.7vw, 4.4rem);
  letter-spacing: -0.05em;
}

h3 {
  font-size: 1.7rem;
  letter-spacing: -0.035em;
}

.hero-text,
.showcase-panel p,
.contact-copy p,
.feature-card p,
.gallery-card p,
.site-footer p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--brand-violet);
  box-shadow: 0 16px 30px rgba(92, 88, 160, 0.22);
}

.button-secondary {
  color: var(--white);
  background: var(--brand-blue);
  box-shadow: 0 16px 30px rgba(80, 140, 163, 0.18);
}

.hero-stage {
  position: relative;
  min-height: 36rem;
  border: 1px solid rgba(34, 29, 57, 0.08);
  border-radius: 2.2rem;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(239, 229, 212, 0.98));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px dashed rgba(34, 29, 57, 0.12);
  border-radius: 1.6rem;
  z-index: 3;
}

.hero-photo,
.hero-card,
.feature-card,
.stat-card,
.gallery-card,
.contact-card,
.showcase-panel {
  box-shadow: var(--shadow);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 51%;
  transform: scale(1.68);
  filter: saturate(1) contrast(1.04) brightness(0.9);
  z-index: 0;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 76%, rgba(255, 250, 242, 0.62), transparent 30%),
    linear-gradient(90deg, rgba(255, 250, 242, 0.2) 0%, rgba(255, 250, 242, 0.03) 33%, rgba(34, 29, 57, 0.24) 100%),
    linear-gradient(180deg, rgba(250, 244, 234, 0.08) 0%, rgba(34, 29, 57, 0.14) 100%);
  z-index: 1;
}

.hero-card {
  position: absolute;
  padding: 1.55rem 1.55rem 1.75rem;
  border: 1px solid rgba(255, 250, 242, 0.48);
  border-radius: 1.8rem;
  background: rgba(255, 250, 242, 0.82);
  backdrop-filter: blur(16px);
  z-index: 4;
  max-width: calc(100% - 2.4rem);
  box-shadow:
    0 24px 50px rgba(34, 29, 57, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-card::after,
.feature-card::after,
.stat-card::after,
.gallery-card::after,
.contact-card::after,
.showcase-panel::after {
  content: "";
  position: absolute;
  inset: auto 1.2rem 1.1rem 1.2rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--accent, var(--brand-violet));
}

.hero-card-main {
  left: 1.8rem;
  bottom: 1.8rem;
  width: min(32.5rem, calc(100% - 4.8rem));
}

.hero-card-side {
  top: 6.2rem;
  right: 1.8rem;
  width: min(17.6rem, calc(100% - 4.8rem));
}

.hero-card-side .card-title {
  font-size: clamp(1.65rem, 2vw, 1.85rem);
}

.card-label,
.feature-index,
.contact-label,
.stat-card span {
  color: rgba(34, 29, 57, 0.52);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-title {
  margin-top: 0.55rem;
  font-size: clamp(1.8rem, 2.6vw, 2.7rem);
  line-height: 1.02;
  text-wrap: balance;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.contact-copy h2,
.showcase-panel h2 {
  text-wrap: balance;
}

.feature-grid,
.gallery-layout,
.about-grid {
  display: grid;
  gap: 1.2rem;
}

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

.feature-card,
.gallery-card,
.contact-card,
.showcase-panel,
.stat-card {
  position: relative;
  padding: 1.5rem 1.5rem 2rem;
  border: 1px solid rgba(34, 29, 57, 0.08);
  border-radius: 2rem;
  background: rgba(255, 250, 242, 0.9);
}

.feature-card h3,
.gallery-card h3,
.showcase-panel h2,
.stat-card strong,
.contact-copy h2 {
  color: var(--accent, var(--ink));
}

.feature-card p:last-child,
.gallery-card p:last-child {
  margin-bottom: 0;
}

.showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  align-items: start;
}

.about-intro {
  max-width: 50rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.products-intro {
  max-width: 54rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.product-categories {
  display: grid;
  gap: 1.2rem;
}

.product-category {
  position: relative;
  padding: 1.5rem 1.5rem 2rem;
  border: 1px solid rgba(34, 29, 57, 0.08);
  border-radius: 2rem;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-category::after {
  content: "";
  position: absolute;
  inset: auto 1.2rem 1.1rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--accent, var(--brand-violet));
}

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

.product-category h3 {
  color: var(--accent, var(--ink));
}

.product-slider {
  position: relative;
}

.product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(14rem, 22rem);
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0.2rem 0.2rem 0.9rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent, var(--brand-violet)) transparent;
}

.product-slide {
  aspect-ratio: 4 / 5;
  margin: 0;
  border: 1px solid rgba(34, 29, 57, 0.08);
  border-radius: 1.35rem;
  cursor: zoom-in;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--paper-deep);
}

.product-slide:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 0.35rem var(--accent, var(--brand-violet));
}

.product-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.product-slide:hover img {
  transform: scale(1.035);
}

.product-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 0.1rem;
}

.product-control {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.product-control:hover,
.product-control:focus-visible {
  transform: translateY(-2px);
  background: var(--paper-deep);
}

.product-lightbox {
  width: auto;
  max-width: 94vw;
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.product-lightbox::backdrop {
  background: rgba(34, 29, 57, 0.38);
  backdrop-filter: blur(12px);
}

.product-lightbox-image {
  display: block;
  width: auto;
  max-width: 94vw;
  height: auto;
  max-height: 88vh;
  margin: 0 auto;
  border-radius: 1.35rem;
  object-fit: contain;
}

.product-lightbox-close,
.product-lightbox-nav {
  position: fixed;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(34, 29, 57, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(34, 29, 57, 0.22);
  cursor: pointer;
}

.product-lightbox-close {
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  line-height: 1;
}

.product-lightbox-nav {
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  font-size: 1.45rem;
  line-height: 1;
}

.product-lightbox-prev {
  left: 1rem;
}

.product-lightbox-next {
  right: 1rem;
}

.product-lightbox-close:hover,
.product-lightbox-close:focus-visible,
.product-lightbox-nav:hover,
.product-lightbox-nav:focus-visible {
  transform: translateY(-2px);
  background: var(--paper-deep);
}

.product-lightbox-nav:hover,
.product-lightbox-nav:focus-visible {
  transform: translateY(-50%) scale(1.05);
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.about-card {
  position: relative;
  padding: 1.5rem 1.5rem 2rem;
  border: 1px solid rgba(34, 29, 57, 0.08);
  border-radius: 2rem;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: var(--shadow);
}

.about-card::after {
  content: "";
  position: absolute;
  inset: auto 1.2rem 1.1rem 1.2rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--accent, var(--brand-violet));
}

.about-card h3 {
  color: var(--accent, var(--ink));
}

.about-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-media {
  aspect-ratio: 4 / 5;
  display: grid;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(34, 29, 57, 0.08);
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--paper-deep);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-photo-owner {
  object-position: center 30%;
}

.about-placeholder {
  position: relative;
  place-items: center;
  background:
    radial-gradient(circle at 22% 20%, rgba(92, 88, 160, 0.12), transparent 18%),
    radial-gradient(circle at 76% 28%, rgba(80, 140, 163, 0.12), transparent 16%),
    radial-gradient(circle at 34% 76%, rgba(130, 140, 50, 0.12), transparent 16%),
    radial-gradient(circle at 72% 78%, rgba(220, 48, 130, 0.12), transparent 16%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(239, 229, 212, 0.92));
}

.about-placeholder-mark {
  position: relative;
  width: 10rem;
  height: 5rem;
}

.about-bead {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 0.26rem rgba(255, 250, 242, 0.9),
    0 10px 18px rgba(34, 29, 57, 0.08);
}

.about-placeholder-mark .bead-violet {
  left: 10%;
  top: 16%;
}

.about-placeholder-mark .bead-blue {
  left: 24%;
  top: 56%;
}

.about-placeholder-mark .bead-olive {
  left: 42%;
  top: 84%;
}

.about-placeholder-mark .bead-rust {
  left: 60%;
  top: 84%;
}

.about-placeholder-mark .bead-red {
  left: 78%;
  top: 56%;
}

.about-placeholder-mark .bead-pink {
  left: 92%;
  top: 16%;
}

.about-placeholder-text {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.88);
  color: rgba(34, 29, 57, 0.58);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.showcase-panel {
  min-height: 100%;
}

.showcase-palette {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.showcase-bead {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  box-shadow:
    0 0 0 0.22rem rgba(255, 250, 242, 0.84),
    0 8px 18px rgba(34, 29, 57, 0.08);
}

.bead-violet {
  background: var(--brand-violet);
}

.bead-blue {
  background: var(--brand-blue);
}

.bead-olive {
  background: var(--brand-olive);
}

.bead-rust {
  background: var(--brand-rust);
}

.bead-red {
  background: var(--brand-red);
}

.bead-pink {
  background: var(--brand-pink);
}

.stat-stack {
  display: grid;
  gap: 1rem;
}

.stat-card {
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card strong {
  font-family: "Outfit", "Arial Narrow", sans-serif;
  font-size: 2rem;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.gallery-layout {
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  align-items: start;
}

.gallery-tall {
  grid-row: span 2;
}

.media-frame {
  aspect-ratio: 5 / 6;
  display: grid;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(34, 29, 57, 0.08);
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--paper-deep);
}

.media-frame-tall {
  aspect-ratio: 5 / 7;
}

.media-frame-soft {
  aspect-ratio: 4 / 3;
}

.media-frame-warm {
  aspect-ratio: 4 / 3;
}

.gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-photo-top {
  object-position: center 16%;
}

.gallery-photo-center {
  object-position: center center;
}

.showcase-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  grid-auto-rows: 18rem;
  gap: 1.1rem;
}

.showcase-section .section-heading {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-bottom: 0.9rem;
}

.showcase-section .showcase,
.showcase-section .stat-stack,
.showcase-section .perlin-moments {
  display: contents;
}

.showcase-section .showcase-panel {
  display: flex;
  flex-direction: column;
  grid-column: 1 / span 2;
  grid-row: 2 / span 2;
  min-height: 0;
}

.showcase-section .stat-card {
  min-height: 0;
}

.showcase-section .stat-card:nth-child(1) {
  grid-column: 1;
  grid-row: 4;
}

.showcase-section .stat-card:nth-child(2) {
  grid-column: 3;
  grid-row: 4;
}

.showcase-section .stat-card:nth-child(3) {
  grid-column: 2;
  grid-row: 5;
}

.showcase-section .showcase-palette {
  margin-top: auto;
  padding-top: 1.8rem;
}

.perlin-moment {
  min-height: 0;
}

.perlin-moment {
  position: relative;
  margin: 0;
  border: 1px solid rgba(34, 29, 57, 0.1);
  border-radius: 1.6rem;
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

.perlin-moment-main {
  grid-column: 3;
  grid-row: 2 / span 2;
}

.perlin-moments .perlin-moment:nth-child(2) {
  grid-column: 2;
  grid-row: 4;
}

.perlin-moments .perlin-moment:nth-child(3) {
  grid-column: 1;
  grid-row: 5;
}

.perlin-moments .perlin-moment:nth-child(4) {
  grid-column: 3;
  grid-row: 5;
}

.perlin-moment img,
.perlin-moment video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04) brightness(0.98);
  transition: transform 420ms ease, filter 420ms ease;
}

.perlin-moment:hover img,
.perlin-moment:hover video {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.03) brightness(1);
}

.perlin-moment-video {
  background: var(--ink);
}

.perlin-moment figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  z-index: 1;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(255, 250, 242, 0.48);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.84);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1.2rem;
  align-items: start;
}

.contact-copy .eyebrow {
  display: block;
  width: 100%;
  text-align: left;
}

.contact-copy {
  grid-column: 1 / -1;
}

.contact-layout {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-layout .contact-card {
  min-height: 100%;
}

.contact-title {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: -0.04em;
  color: var(--accent, var(--ink));
}

.contact-address {
  display: grid;
  gap: 0.35rem;
  margin: 1.1rem 0 1.6rem;
  color: var(--ink);
  font-size: 1.06rem;
  font-style: normal;
  line-height: 1.8;
}

.hours-list,
.contact-lines {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.hours-list p,
.contact-lines p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.hours-list span,
.contact-lines span {
  color: rgba(34, 29, 57, 0.52);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hours-list strong,
.contact-lines a {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
  text-decoration: none;
  font-size: 1.02rem;
}

.contact-lines a:hover,
.contact-lines a:focus-visible {
  text-decoration: underline;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.footer-link {
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.legal-section {
  max-width: 58rem;
  margin: 0 auto;
}

.legal-section h1 {
  max-width: none;
  font-size: clamp(3.2rem, 6.5vw, 5.2rem);
}

.legal-card {
  position: relative;
  margin-top: 2rem;
  padding: 1.6rem 1.6rem 2.2rem;
  border: 1px solid rgba(34, 29, 57, 0.08);
  border-radius: 2rem;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: var(--shadow);
}

.legal-card::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  bottom: 1.1rem;
  left: 1.2rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--brand-rust);
}

.legal-card h2 {
  margin-top: 1.7rem;
  color: var(--brand-violet);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card address {
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-style: normal;
  line-height: 1.75;
}

.legal-card a {
  color: var(--ink);
}

.legal-placeholder {
  padding: 0.8rem 1rem;
  border-left: 0.3rem solid var(--brand-rust);
  background: rgba(240, 133, 12, 0.09);
}

.accent-violet {
  --accent: var(--brand-violet);
}

.accent-blue {
  --accent: var(--brand-blue);
}

.accent-olive {
  --accent: var(--brand-olive);
}

.accent-rust {
  --accent: var(--brand-rust);
}

.accent-red {
  --accent: var(--brand-red);
}

.accent-pink {
  --accent: var(--brand-pink);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button {
    transition: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .showcase,
  .about-grid,
  .contact-section,
  .feature-grid,
  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-stage {
    order: -1;
  }

  .hero-stage {
    min-height: 32rem;
  }

  .hero-photo {
    object-position: 57% 51%;
    transform: scale(1.72);
  }

  .gallery-tall {
    grid-row: auto;
  }

  .product-track {
    grid-auto-columns: minmax(13rem, 42vw);
  }

  .showcase-section {
    display: block;
  }

  .showcase-section .showcase {
    display: grid;
  }

  .showcase-section .stat-stack {
    display: grid;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .showcase-section .showcase-panel,
  .showcase-section .stat-card,
  .perlin-moment-main,
  .perlin-moments .perlin-moment:nth-child(n),
  .contact-copy,
  .contact-layout {
    grid-column: auto;
    grid-row: auto;
  }

  .perlin-moments {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(12rem, 18rem));
    gap: 1.1rem;
    margin-top: 1.2rem;
  }

  .perlin-moment-main {
    grid-row: span 2;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
    border-radius: 1.4rem;
  }

  .header-tools {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
  }

  .site-nav {
    justify-content: space-between;
    gap: 0.45rem;
  }

  .language-switch {
    justify-content: center;
  }

  .section {
    padding: 3.6rem 0;
  }

  h1 {
    max-width: none;
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero-stage {
    min-height: 28rem;
  }

  .hero-photo {
    object-position: 58% 51%;
    transform: scale(1.82);
  }

  .hero-card-main {
    left: 1rem;
    right: 1rem;
    width: auto;
  }

  .hero-card-side {
    top: 6rem;
    right: 1rem;
    width: min(12.5rem, calc(100% - 2rem));
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-category {
    padding: 1.2rem 1.2rem 1.75rem;
  }

  .product-category-heading {
    align-items: start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .product-track {
    grid-auto-columns: minmax(15rem, 78vw);
  }

  .perlin-moments {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .perlin-moment,
  .perlin-moment-main {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}


/* Mobile overrides placed after the showcase composition rules. */
@media (max-width: 720px) {
  .hero-card {
    min-width: 0;
  }

  .hero-card .card-title {
    font-size: clamp(1.3rem, 7vw, 1.65rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-wrap: pretty;
  }

  .showcase-section {
    display: block;
  }

  .showcase-section .showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }

  .showcase-section .showcase-panel,
  .showcase-section .stat-stack,
  .showcase-section .perlin-moments {
    display: grid;
    grid-column: auto;
    grid-row: auto;
  }

  .showcase-section .stat-stack,
  .showcase-section .perlin-moments {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .showcase-section .stat-card,
  .showcase-section .stat-card:nth-child(n),
  .showcase-section .perlin-moment,
  .showcase-section .perlin-moment-main,
  .showcase-section .perlin-moments .perlin-moment:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .showcase-section .perlin-moment,
  .showcase-section .perlin-moment-main {
    aspect-ratio: 4 / 3;
  }

  .showcase-section .perlin-moments {
    margin-top: 1.2rem;
  }
}
