:root {
  --bg: #f5f4f1;
  --panel: #eef0ec;
  --panel-strong: #e6e9e4;
  --text: #141414;
  --muted: #727272;
  --line: #d8dbd4;
  --dark: #4a4a48;
  --dark-2: #2b2b2a;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(20, 20, 20, 0.08);
  --radius: 28px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(228, 232, 224, 0.85), transparent 28%),
    linear-gradient(180deg, #f8f7f4 0%, #f2f1ee 100%);
  color: var(--text);
}

body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 22px 0 48px;
}

.site-header,
.site-footer,
.hero,
.intro-grid,
.services-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.site-header {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 6px 0 18px;
}

.brand,
.footer-title {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  width: auto;
  height: 64px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 0.88rem;
  color: var(--muted);
}

.site-nav a:hover,
.contact-link:hover {
  color: var(--text);
}

.section {
  padding: 48px 0;
}

.section-soft {
  background: rgba(235, 238, 233, 0.72);
  border-radius: var(--radius);
  padding: 56px;
}

.hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 520px);
  align-items: center;
  min-height: 82vh;
  padding-top: 28px;
}

.eyebrow,
.microcopy {
  margin: 0 0 20px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8b8d89;
}

.microcopy {
  margin: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 8vw, 5.9rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.15rem);
}

.hero-text,
.intro-side p,
.service-main p,
.service-side p,
.workflow-card p,
.contact-form span,
.contact-meta p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.intro-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.intro-points li {
  padding: 10px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 44ch;
  margin: 24px 0 28px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button-dark:hover {
  background: var(--dark-2);
}

.button-light {
  background: #e5eaeb;
  color: var(--text);
}

.button-block {
  width: 100%;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 500px);
  box-shadow: var(--shadow);
  border-radius: 6px;
  overflow: hidden;
}

.hero-visual img {
  aspect-ratio: 1.05;
  object-fit: cover;
  object-position: center;
}

.intro-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
  align-items: end;
}

.intro-image {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 6px;
  object-fit: cover;
}

.stats {
  display: flex;
  gap: 36px;
  margin-top: 28px;
}

.stats strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.stats span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #949792;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.centered {
  justify-content: center;
}

.product-grid,
.workflow-grid {
  display: grid;
  gap: 18px;
}

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

.product-card {
  display: grid;
  gap: 10px;
}

.product-media {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  aspect-ratio: 2 / 3;
  border: 0;
  padding: 0;
  cursor: pointer;
  appearance: none;
  outline: none;
}

.product-card img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--panel);
}

.product-cover {
  transition: transform 240ms ease;
}

.product-trigger:hover .product-cover,
.product-trigger:focus-visible .product-cover {
  transform: scale(1.015);
}

.product-cover-shirt {
  object-fit: contain;
  object-position: center center;
  padding: 0;
  background: #f3f1ed;
}

.product-trigger:focus {
  outline: none;
}

.product-trigger:focus-visible {
  box-shadow: 0 0 0 1px rgba(20, 20, 20, 0.32);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.62);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  padding: 24px;
  background: rgba(250, 249, 246, 0.96);
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(20, 20, 20, 0.24);
}

.lightbox-close,
.lightbox-nav,
.lightbox-dot {
  border: 0;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.08);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-media {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  gap: 18px;
  align-items: center;
}

.lightbox-media img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #f2efea;
}

.lightbox-nav {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.08);
  color: var(--text);
  font-size: 2rem;
}

.lightbox-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-top: 18px;
}

.lightbox-footer h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.lightbox-dots {
  display: flex;
  gap: 8px;
}

.lightbox-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.18);
}

.lightbox-dot.is-active {
  background: var(--text);
}

.product-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
}

.product-card p {
  color: #8b8d89;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-process {
  padding-top: 68px;
}

.workflow-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 24px;
}

.process-video-wrap {
  margin-top: 44px;
}

.process-video {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #dfe3dd;
}

.workflow-card {
  text-align: center;
}

.workflow-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  background: #edf0ea;
  font-family: "Instrument Serif", serif;
  font-size: 1.4rem;
}

.workflow-icon svg {
  width: 24px;
  height: 24px;
  stroke: #161616;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.workflow-card h3 {
  margin-bottom: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.workflow-card p {
  font-size: 0.9rem;
}

.services-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 340px);
  grid-template-rows: auto auto;
  align-items: stretch;
}

.service-main,
.service-side {
  padding: 42px;
}

.service-main {
  grid-row: 1 / span 2;
  background: var(--panel);
}

.service-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-soft {
  background: var(--panel-strong);
}

.service-dark {
  background: var(--dark);
}

.service-dark p,
.service-dark .eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

.service-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 10px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  align-items: start;
}

.contact-meta {
  display: grid;
  gap: 18px;
  margin: 30px 0;
}

.form-success {
  display: inline-flex;
  margin-top: 12px;
  padding: 14px 18px;
  background: rgba(214, 229, 214, 0.72);
  color: #23412b;
  border: 1px solid rgba(35, 65, 43, 0.12);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-success[hidden] {
  display: none;
}

.contact-meta span {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8b8d89;
}

.contact-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(20, 20, 20, 0.06);
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  outline: none;
}

.contact-form textarea {
  min-height: 140px;
  resize: none;
}

.site-footer {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 20px 0 10px;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.site-footer p {
  font-size: 0.78rem;
}

.legal-shell {
  min-height: 100vh;
}

.legal-header {
  grid-template-columns: auto 1fr;
}

.legal-header .button {
  justify-self: end;
}

.legal-page {
  max-width: 860px;
  padding: 36px 0 72px;
}

.legal-page h1 {
  max-width: none;
  margin-bottom: 28px;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-content h2 {
  max-width: none;
  margin-top: 20px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 1080px) {
  .hero,
  .intro-grid,
  .services-grid,
  .contact-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    justify-self: start;
  }

  .service-main {
    grid-row: auto;
  }

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

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

  .site-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
    padding-top: 12px;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .section {
    padding: 34px 0;
  }

  .section-soft,
  .service-main,
  .service-side,
  .contact-form {
    padding: 24px;
  }

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

  .stats,
  .hero-actions,
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-dialog {
    padding: 18px;
  }

  .lightbox-media {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 10px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
  }

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