/* === Quacktory — editorial cream & dark === */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: #2A221C;
  background: #EFE9DD;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { font: inherit; cursor: pointer; }

:root {
  --bg: #EFE9DD;
  --fg: #2A221C;
  --accent: #2A221C;
  --muted: #6B5F54;
  --ink: #1A1410;
  --surface: #F2EDE2;
  --max: 1280px;
  --pad-x: clamp(20px, 5vw, 64px);
  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, sans-serif;

  --g-micro: #C85A3A;
  --g-classic: #D96A4A;
  --g-designer: #8B6B8E;
  --g-mega: #C49A5C;
  --g-architect: #4A6B6B;
}

/* ============ Typography ============ */

.kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}
.kicker-light { color: rgba(242, 237, 226, 0.6); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
}

.section-lede {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
  margin: 0;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 80px;
  padding: 0 var(--pad-x);
}

.tm {
  font-size: 0.45em;
  vertical-align: super;
  font-weight: 500;
  margin-left: 1px;
}

/* ============ Pill CTA ============ */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease;
}
.pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -10px rgba(26, 20, 16, 0.35);
}
.pill-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.pill-ghost:hover {
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 12px 32px -10px rgba(26, 20, 16, 0.4);
}

/* ============ Navigation ============ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  background: rgba(239, 233, 221, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 34, 28, 0.08);
}
.nav-brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-links { display: flex; gap: 32px; }
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.65;
  transition: opacity 0.25s ease;
  position: relative;
}
.nav-link:hover { opacity: 1; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

/* ============ Hero ============ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 20, 16, 0.35) 0%, rgba(26, 20, 16, 0.05) 30%, rgba(26, 20, 16, 0.15) 50%, rgba(26, 20, 16, 0.88) 100%),
    radial-gradient(ellipse at 30% 30%, transparent 0%, rgba(26, 20, 16, 0.3) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x) 96px;
  color: var(--surface);
  animation: fadeUp 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(242, 237, 226, 0.75);
  margin: 0 0 28px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--surface);
  max-width: 16ch;
  text-wrap: balance;
}
.hero-sub {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(242, 237, 226, 0.82);
  max-width: 500px;
  margin: 0 0 40px;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ Size Scale ============ */

.scale {
  background: var(--bg);
  padding: 140px 0 120px;
}
.scale-head { margin-bottom: 88px; }
.scale-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(42, 34, 28, 0.12);
  border-left: 1px solid rgba(42, 34, 28, 0.08);
}
.scale-item {
  position: relative;
  padding: 28px 20px 32px;
  border-right: 1px solid rgba(42, 34, 28, 0.08);
  border-bottom: 1px solid rgba(42, 34, 28, 0.08);
  display: flex;
  flex-direction: column;
  transition: background 0.4s ease;
  background: var(--bg);
}
.scale-item:hover { background: var(--surface); }

.scale-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 0 0 24px;
  overflow: hidden;
  background: var(--surface);
}
.scale-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.scale-item:hover .scale-photo img { transform: scale(1.06); }

.scale-glow {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 70%;
  height: 30px;
  background: var(--glow);
  filter: blur(22px);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}
.scale-item:hover .scale-glow {
  opacity: 0.7;
  animation: glowPulse 2.4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.9; }
}

.scale-micro { --glow: var(--g-micro); }
.scale-classic { --glow: var(--g-classic); }
.scale-designer { --glow: var(--g-designer); }
.scale-mega { --glow: var(--g-mega); }
.scale-architect { --glow: var(--g-architect); }

.scale-line {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.scale-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}
.scale-dim {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 4px;
}
.scale-compare {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
  margin-top: 2px;
}
.scale-audience {
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
  margin: 16px 0;
}
.scale-price {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin: auto 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 34, 28, 0.1);
  line-height: 1.2;
}
.scale-price-sub {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ============ Craft ============ */

.craft {
  background: var(--surface);
  padding: 140px 0;
  border-top: 1px solid rgba(42, 34, 28, 0.06);
}
.craft .section-head { margin-bottom: 72px; }
.craft-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.craft-card {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  cursor: pointer;
}
.craft-card:hover { transform: translateY(-4px); }
.craft-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.craft-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.craft-card:hover .craft-card-img img { transform: scale(1.05); }
.craft-card-label {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--bg);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  z-index: 2;
}
.craft-card-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin: 28px 28px 10px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.craft-card-copy {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 28px 32px;
}

/* ============ Band (dark inverse) ============ */

.band {
  background: var(--ink);
  color: var(--surface);
  padding: 160px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  width: 90vw;
  height: 90vw;
  max-width: 1200px;
  max-height: 1200px;
  background: radial-gradient(circle, rgba(196, 154, 92, 0.1) 0%, transparent 55%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.band .kicker { position: relative; max-width: var(--max); margin: 0 auto 28px; }
.band-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 auto 96px;
  max-width: var(--max);
  text-align: center;
  position: relative;
  color: var(--surface);
}
.band-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(242, 237, 226, 0.1);
  position: relative;
}
.band-item {
  background: var(--ink);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.4s ease;
  min-height: 180px;
  justify-content: space-between;
}
.band-item:hover { background: rgba(196, 154, 92, 0.05); }
.band-word {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--surface);
  line-height: 1;
}
.band-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 237, 226, 0.5);
  line-height: 1.5;
}

/* ============ B2B ============ */

.b2b {
  background: var(--bg);
  padding: 140px 0;
}
.b2b-head {
  max-width: var(--max);
  margin: 0 auto 72px;
  padding: 0 var(--pad-x);
}
.b2b-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}
.b2b-palette {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.b2b-swatch {
  aspect-ratio: 1 / 1;
  background: var(--sw);
  position: relative;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  overflow: hidden;
}
.b2b-swatch::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.b2b-swatch:hover { transform: scale(0.96); }
.b2b-swatch:hover::before { opacity: 1.4; }
.b2b-swatch-name {
  position: relative;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--surface);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  font-weight: 500;
}
.b2b-swatch-code {
  position: relative;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  margin-top: 2px;
}
.b2b-swatch-light .b2b-swatch-name,
.b2b-swatch-light .b2b-swatch-code {
  color: var(--ink);
  text-shadow: none;
}
.b2b-swatch-light::before {
  background: linear-gradient(180deg, transparent 50%, rgba(42, 34, 28, 0.15) 100%);
}

.b2b-aside-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 24px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.b2b-timeline {
  border-top: 1px solid rgba(42, 34, 28, 0.12);
  margin: 0 0 32px;
}
.b2b-timeline li {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(42, 34, 28, 0.08);
  align-items: baseline;
  gap: 16px;
}
.b2b-tl-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.b2b-tl-time {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.b2b-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 32px;
}
.b2b-cta { margin-top: 8px; }

/* ============ Signature ============ */

.signature {
  background: var(--ink);
  padding: 120px var(--pad-x) 80px;
  text-align: center;
  border-top: 1px solid rgba(242, 237, 226, 0.06);
  position: relative;
  overflow: hidden;
}
.signature::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 80vw;
  max-width: 1000px;
  max-height: 1000px;
  background: radial-gradient(circle, rgba(196, 154, 92, 0.08) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.signature-sub {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(242, 237, 226, 0.5);
  margin: 0 0 40px;
}
.signature-mark {
  position: relative;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 18vw, 240px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--surface);
  margin: 0;
}
.signature-tm {
  font-size: 0.2em;
  vertical-align: super;
  color: var(--g-mega);
  margin-left: 4px;
}

/* ============ Footer ============ */

.footer {
  background: var(--ink);
  color: var(--surface);
  padding: 60px var(--pad-x) 36px;
  border-top: 1px solid rgba(242, 237, 226, 0.08);
}
.footer-cols {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(242, 237, 226, 0.1);
}
.footer-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(242, 237, 226, 0.55);
  margin: 0 0 20px;
}
.footer-link, .footer-text {
  display: block;
  font-size: 13px;
  line-height: 1.9;
  color: var(--surface);
  opacity: 0.78;
  transition: opacity 0.2s ease;
}
.footer-link:hover { opacity: 1; }
.footer-bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal, .footer-meta {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(242, 237, 226, 0.5);
  margin: 0;
  line-height: 1.6;
}

/* ============ Mobile ============ */

@media (max-width: 720px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero { min-height: 600px; height: 90vh; }
  .hero-content { padding: 0 20px 64px; }
  .hero-title { font-size: 38px; }
  .scale, .craft, .b2b { padding: 80px 0; }
  .scale-head { margin-bottom: 48px; }
  .scale-grid { grid-template-columns: 1fr; }
  .scale-item { border-right: none; padding: 24px 18px 28px; }
  .craft-grid { grid-template-columns: 1fr; }
  .craft-card-title { font-size: 22px; margin: 24px 24px 8px; }
  .craft-card-copy { margin: 0 24px 24px; }
  .band { padding: 96px 20px; }
  .band-title { margin-bottom: 56px; }
  .band-grid { grid-template-columns: 1fr; }
  .band-item { padding: 32px 24px; min-height: auto; }
  .b2b-body { grid-template-columns: 1fr; gap: 56px; }
  .b2b-palette { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .signature { padding: 80px 20px 60px; }
  .signature-mark { font-size: 56px; }
  .section-head { margin-bottom: 56px; }
}

/* === coverage patch === */
.site { display: block; width: 100%; }

.b2b-aside {
  display: block;
  width: 100%;
  max-width: 380px;
  padding: 32px;
  background: var(--surface);
  border-radius: 12px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
