/* ---------- tokens ---------- */
:root {
  --bg: #0E1114;
  --bg-2: #0A0C0F;
  --surface: #181C20;
  --surface-2: #1F242A;
  --line: #2A3138;
  --ink: #F1F3F5;
  --ink-2: #B5BCC2;
  --ink-3: #7A8088;
  --accent: #22D3EE;
  --accent-2: #67E8F9;
  --accent-soft: rgba(34, 211, 238, 0.12);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --max: 1120px;
  --pad: clamp(20px, 5vw, 48px);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background:
    radial-gradient(1100px 700px at 80% -10%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(42, 49, 56, 0.55), transparent 55%),
    var(--bg);
  min-height: 100vh;
}

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

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-2); }

/* ---------- topbar ---------- */
.topbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 18px;
  color: var(--ink);
}
.brand img { border-radius: 8px; }

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}
.topnav a { color: var(--ink-2); }
.topnav a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 10vw, 120px) var(--pad) clamp(64px, 10vw, 120px);
}

.eyebrow {
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 18ch;
}

.accent { color: var(--accent); }

.lede {
  max-width: 56ch;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-2);
  margin: 0 0 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 120ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:hover { transform: translateY(-1px); }

.btn.primary {
  background: var(--accent);
  color: #06121A;
}
.btn.primary:hover { background: var(--accent-2); color: #06121A; }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-2); }

/* ---------- products ---------- */
.products {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(64px, 10vw, 120px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vw, 56px);
}

.product {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 820px) {
  .product { grid-template-columns: 1.05fr 1fr; }
  .product--reverse .product-art { order: 2; }
}

.product-art {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 32px;
  overflow: hidden;
}

.product-art img {
  max-height: 320px;
  width: auto;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.4));
}

.product-art--inkblot {
  background:
    radial-gradient(700px 360px at 50% 50%, rgba(34, 211, 238, 0.18), transparent 60%),
    linear-gradient(180deg, #0A0C0F 0%, #181C20 100%);
}
.product-art--inkblot img {
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.5)) brightness(1.15) contrast(1.05);
}

.product-art--budjet {
  background:
    radial-gradient(700px 360px at 50% 50%, rgba(34, 211, 238, 0.14), transparent 60%),
    linear-gradient(180deg, #0A0C0F 0%, #181C20 100%);
}
.product-art--budjet img {
  border-radius: 14px;
  max-height: 280px;
}

/* ---------- gallery (BudJet card) ---------- */
.product--gallery {
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden; /* keep card-rounded corners; gallery scrolls inside */
}
@media (min-width: 820px) {
  .product--gallery { grid-template-columns: minmax(0, 1fr); }
}
.product--gallery .product-body { padding-bottom: 8px; }

.product-gallery {
  position: relative;
  padding: 0 clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px);
  min-width: 0;
  width: 100%;
}

/* fade gradient on right edge as a "more content" hint */
.product-gallery::after {
  content: "";
  position: absolute;
  top: 4px;
  right: clamp(28px, 4vw, 44px);
  bottom: clamp(28px, 4vw, 44px);
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--surface-2));
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 200ms ease;
}
.product-gallery.at-end::after { opacity: 0; }

.gallery-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
  cursor: grab;
  min-width: 0;
  max-width: 100%;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll.dragging { cursor: grabbing; scroll-snap-type: none; }

.gallery-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 168px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: transform 160ms ease, border-color 160ms ease;
}
.gallery-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.4);
}

.gallery-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  filter: none;
  max-height: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-label {
  padding: 10px 12px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.gallery-label small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: 0;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #06121A;
  border: none;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: opacity 180ms ease, background 180ms ease;
}
.gallery-arrow:hover { background: var(--accent-2); }
.gallery-arrow.left { left: 12px; }
.gallery-arrow.right { right: 12px; }
.gallery-arrow.hidden { opacity: 0; pointer-events: none; }

@media (max-width: 540px) {
  .gallery-card { width: 148px; }
  .gallery-card img { height: 264px; }
  .gallery-arrow { width: 34px; height: 34px; font-size: 20px; }
}

/* landscape inkblot cards (4:3 aspect, cream paper) */
.gallery-card--ink { width: 240px; }
.gallery-card--ink img {
  height: 180px;
  background: #EFE8D8;
  object-fit: contain;
  padding: 8px;
}
@media (max-width: 540px) {
  .gallery-card--ink { width: 200px; }
  .gallery-card--ink img { height: 150px; }
}

.product-body {
  padding: clamp(28px, 4vw, 44px);
}

.product-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.product h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.product-tagline {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--accent-2);
  margin: 0 0 18px;
  font-style: italic;
}

.product-copy {
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 56ch;
}

.product-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-meta li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  background: rgba(255,255,255,0.02);
}
.product-meta li.product-meta--accent {
  color: var(--accent-2);
  background: var(--accent-soft);
  border-color: rgba(34, 211, 238, 0.35);
  font-weight: 600;
}

.product-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- contact ---------- */
.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(64px, 10vw, 120px);
}

.contact-inner {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 56px);
}

.contact h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.contact-lede {
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 56ch;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 640px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.field .req { color: var(--accent); }

.field input,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  width: 100%;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* honeypot — hidden from users + assistive tech */
input[name="_honey"] {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}

.contact-status {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  min-height: 1.4em;
}
.contact-status.success { color: var(--accent-2); }
.contact-status.error { color: #FCA5A5; }

button.btn { font-family: inherit; cursor: pointer; }
button.btn:disabled { opacity: 0.6; cursor: progress; }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--pad);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  justify-content: space-between;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
}

.foot-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
}
.foot-links a { color: var(--ink-2); }
.foot-links a:hover { color: var(--accent-2); }

.foot-fine {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
}
.foot-abn {
  display: inline-block;
  margin-left: 4px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  letter-spacing: 0.02em;
}
@media (max-width: 540px) {
  .foot-abn {
    display: block;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 4px;
  }
}

@media (max-width: 540px) {
  .topnav { gap: 18px; font-size: 14px; }
  .topnav a:first-child { display: none; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
