/* PrintTexx — Studio Site
   Editorial sans-driven B2B aesthetic
   ------------------------------------ */

/* Switzer — self-hosted (Fontshare, ITF Free Font License) */
@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/switzer-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/switzer-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/switzer-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/switzer-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f1ea;
  --bg-soft: #ece8df;
  --bg-card: #efece4;
  --ink: #15140f;
  --ink-2: #2a2820;
  --ink-3: #65615a;
  --ink-4: #95918a;
  --rule: #d9d4c7;
  --rule-soft: #e4dfd2;
  --accent: #a89178;
  --max: 1480px;
  --gutter: 32px;
  --pad-y: 120px;
  --font: "Switzer", "Söhne", "Suisse Int'l", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -0.005em;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Container */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============= TYPOGRAPHY ============= */
.display {
  font-weight: 500;
  font-size: clamp(56px, 8.4vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}

.display-2 {
  font-weight: 500;
  font-size: clamp(40px, 5.2vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

.h2 {
  font-weight: 500;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

.h3 {
  font-weight: 500;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 0;
}

.lead {
  font-weight: 400;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  text-wrap: pretty;
}

.body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 400;
}

.meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

/* ============= HEADER ============= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo .logo-mark {
  display: inline-block;
  width: 26px;
  height: 26px;
  background-color: var(--ink);
  -webkit-mask: url("assets/logo.svg") center / contain no-repeat;
          mask: url("assets/logo.svg") center / contain no-repeat;
}
.footer-logo-mark {
  display: inline-block;
  width: 56px;
  height: 56px;
  background-color: #f4f1ea;
  -webkit-mask: url("assets/logo.svg") center / contain no-repeat;
          mask: url("assets/logo.svg") center / contain no-repeat;
  margin-bottom: 18px;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a.is-active {
  color: var(--ink);
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--ink);
}

.nav-cta {
  font-size: 14px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover {
  background: transparent;
  color: var(--ink);
}

/* ============= UTILITIES ============= */
.section {
  padding: var(--pad-y) 0;
  position: relative;
}
.section--tight {
  padding: 80px 0;
}
.rule {
  height: 1px;
  background: var(--rule);
  border: none;
  margin: 0;
}

.row-label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.row-label .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  min-width: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover {
  background: transparent;
  color: var(--ink);
}
.btn .arr {
  display: inline-block;
  transition: transform 0.25s;
}
.btn:hover .arr {
  transform: translateX(4px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

.link-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid var(--ink-4);
  padding-bottom: 2px;
  color: var(--ink);
  transition: border-color 0.2s;
}
.link-inline:hover {
  border-color: var(--ink);
}

/* ============= IMAGE PLACEHOLDERS ============= */
.ph {
  position: relative;
  background: var(--bg-card);
  overflow: hidden;
  border-radius: 2px;
}
.ph-stripes {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 18px,
    rgba(21, 20, 15, 0.025) 18px 19px
  );
}
.ph-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-transform: lowercase;
}
.ph-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.ph-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-4);
}

/* ============= FOOTER ============= */
.site-footer {
  background: var(--ink);
  color: #d6d2c8;
  padding: 96px 0 36px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 64px;
}
.footer-logo {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #f4f1ea;
  margin: 0 0 18px;
  line-height: 1;
}
.footer-addr {
  color: #a8a499;
  font-size: 14px;
  line-height: 1.55;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #95918a;
  font-weight: 400;
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 15px;
  color: #d6d2c8;
  letter-spacing: -0.005em;
}
.footer-col a:hover {
  color: #f4f1ea;
}
.newsletter {
  display: flex;
  gap: 0;
  margin-top: 6px;
  border-bottom: 1px solid #3a382f;
  padding-bottom: 4px;
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 0;
  color: #f4f1ea;
  font-family: inherit;
  font-size: 14px;
}
.newsletter input::placeholder {
  color: #6a6660;
}
.newsletter button {
  font-size: 13px;
  color: #d6d2c8;
  padding: 4px 0;
}
.newsletter button:hover {
  color: #f4f1ea;
}
.newsletter-note {
  font-size: 12px;
  color: #6a6660;
  margin-top: 10px;
}
.footer-base {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid #2a2820;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: #6a6660;
  letter-spacing: 0.04em;
}
.footer-base a {
  color: #95918a;
}
.footer-base a:hover {
  color: #d6d2c8;
}
.footer-base nav {
  display: flex;
  gap: 24px;
}

/* ============= COOKIE STRIP ============= */
.cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  max-width: 380px;
  background: var(--ink);
  color: #d6d2c8;
  padding: 18px 20px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 40px -20px rgba(21, 20, 15, 0.35);
}
.cookie .row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cookie button {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: -0.005em;
}
.cookie .accept {
  background: #f4f1ea;
  color: #15140f;
}
.cookie .reject {
  border: 1px solid #3a382f;
  color: #d6d2c8;
}
.cookie a {
  color: #a8a499;
  text-decoration: underline;
  text-decoration-color: #3a382f;
}

/* ============= ENTRY ANIMATION ============= */
.fade-in {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.fade-in.d1 { animation-delay: 0.05s; }
.fade-in.d2 { animation-delay: 0.15s; }
.fade-in.d3 { animation-delay: 0.25s; }
.fade-in.d4 { animation-delay: 0.35s; }
.fade-in.d5 { animation-delay: 0.45s; }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============= LEGAL PAGES ============= */
.legal-page {
  padding: 80px 0 120px;
}
.legal-page .legal-head {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 56px;
}
.legal-page .legal-head h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.legal-page .legal-head .meta {
  display: block;
  margin-top: 16px;
}
.legal-body {
  max-width: 780px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}
.legal-body h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 56px 0 16px;
  line-height: 1.25;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin: 32px 0 12px;
}
.legal-body p { margin: 0 0 16px; }
.legal-body ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.legal-body ul li { margin-bottom: 6px; }
.legal-body a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-4);
  padding-bottom: 1px;
  transition: border-color 0.2s;
  word-break: break-word;
}
.legal-body a:hover { border-color: var(--ink); }
.legal-body strong { color: var(--ink); font-weight: 500; }
.legal-body .lead-block {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 900px) {
  :root {
    --pad-y: 80px;
    --gutter: 20px;
  }
  .nav-links {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}
