/* ============================================
   SLACKSAW — Editorial portfolio site
   Aesthetic: dark, refined, magazine-typographic
   ============================================ */

:root {
  --ink: #0e0e0c;
  --ink-soft: #1a1a17;
  --paper: #f4efe6;
  --paper-warm: #ebe4d6;
  --accent: #90D5FF;
  --accent-bright: #90d5ff;
  --rule: rgba(244, 239, 230, 0.12);
  --rule-strong: rgba(244, 239, 230, 0.28);
  --muted: rgba(244, 239, 230, 0.6);
  --display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--display);
  font-weight: 400;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at top left, rgba(201, 165, 87, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(201, 165, 87, 0.05) 0%, transparent 60%);
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

a {
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-bright);
}

/* ============ NAV ============ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  background: rgba(14, 14, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}

.nav__brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.nav__cta {
  padding: 10px 18px;
  border: 1px solid var(--accent);
  color: var(--accent-bright);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.nav__cta:hover {
  background: var(--accent);
  color: var(--ink);
}

@media (max-width: 720px) {
  .nav { padding: 18px 24px; }
  .nav__links { gap: 18px; font-size: 12px; }
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ============ HERO ============ */

.hero {
  min-height: 100vh;
  padding: 160px 48px 80px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 48px;
  animation: fadeUp 0.8s ease-out;
}

.hero__label { color: var(--accent-bright); }

.hero__divider {
  width: 40px;
  height: 1px;
  background: var(--rule-strong);
}

.hero__headline {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 40px;
  font-variation-settings: 'opsz' 144;
  animation: fadeUp 0.8s ease-out 0.1s backwards;
}

.hero__headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-bright);
}

.hero__sub {
  font-size: 22px;
  line-height: 1.5;
  max-width: 680px;
  color: var(--muted);
  margin-bottom: 56px;
  font-weight: 300;
  animation: fadeUp 0.8s ease-out 0.2s backwards;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 96px;
  animation: fadeUp 0.8s ease-out 0.3s backwards;
}

.hero__sig {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  animation: fadeUp 0.8s ease-out 0.4s backwards;
}

.sig-line {
  width: 60px;
  height: 1px;
  background: var(--rule-strong);
}

@media (max-width: 720px) {
  .hero { padding: 120px 24px 60px; }
  .hero__sub { font-size: 18px; }
  .hero__meta { font-size: 11px; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
  .hero__divider { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-block;
  padding: 18px 32px;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  text-align: center;
}

.btn--primary {
  background: var(--accent);
  color: var(--ink);
  border: 1px solid var(--accent);
}

.btn--primary:hover {
  background: var(--accent-bright);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 165, 87, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--rule-strong);
}

.btn--ghost:hover {
  border-color: var(--paper);
  color: var(--paper);
}

.btn--large {
  padding: 22px 40px;
  font-size: 14px;
}

/* ============ SECTIONS ============ */

.section {
  padding: 120px 48px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 48px;
  border-top: 1px solid var(--rule);
}

.section__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 12px;
}

.section__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  font-variation-settings: 'opsz' 144;
  max-width: 800px;
}

.section__lede {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 64px;
  max-width: 640px;
  font-weight: 300;
}

@media (max-width: 720px) {
  .section { padding: 80px 24px; grid-template-columns: 1fr; gap: 24px; }
  .section__num { padding-top: 0; }
  .section__lede { font-size: 17px; margin-bottom: 40px; }
}

/* ============ PROBLEM SECTION ============ */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  margin-top: 32px;
}

.problem-item h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.problem-item p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}

/* ============ DELIVERABLES ============ */

.deliverable {
  border-top: 1px solid var(--rule);
  padding: 48px 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.deliverable:last-of-type {
  border-bottom: 1px solid var(--rule);
}

.deliverable__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}

.deliverable__name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144;
}

.deliverable p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
  max-width: 640px;
}

@media (max-width: 720px) {
  .deliverable { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .deliverable__name { font-size: 24px; }
  .deliverable p { font-size: 16px; }
}

/* ============ VALUE GRID ============ */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.value-card {
  border: 1px solid var(--rule);
  padding: 36px 28px;
  border-radius: 2px;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, rgba(201, 165, 87, 0.02) 0%, transparent 100%);
}

.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(201, 165, 87, 0.06) 0%, transparent 100%);
}

.value-card__stat {
  font-family: var(--display);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent-bright);
  margin-bottom: 20px;
  font-variation-settings: 'opsz' 144;
}

.value-card__copy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
}

/* ============ WORK GRID ============ */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.work-card {
  background: var(--ink-soft);
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.work-card:hover {
  border-color: var(--rule-strong);
  transform: translateY(-2px);
}

.work-card__video {
  aspect-ratio: 9 / 16;
  background: var(--ink);
  position: relative;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(201, 165, 87, 0.04),
      rgba(201, 165, 87, 0.04) 12px,
      transparent 12px,
      transparent 24px
    );
  border: 1px dashed var(--rule-strong);
}

.video-placeholder__label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-placeholder__hint {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.work-card__meta {
  padding: 28px;
}

.work-card__niche {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 14px;
}

.work-card__title {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--paper);
}

.work-card__notes {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
}

.work-card__notes strong {
  color: var(--paper);
  font-weight: 500;
}

.work-card__notes br {
  content: "";
  display: block;
  margin-bottom: 6px;
}

.work-note {
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
}

.work-note a {
  color: var(--accent-bright);
  border-bottom: 1px solid var(--accent);
}

/* ============ PROCESS ============ */

.process {
  margin-top: 32px;
}

.process__step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
}

.process__step:last-child {
  border-bottom: 1px solid var(--rule);
}

.process__num {
  font-family: var(--display);
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  font-weight: 400;
}

.process__body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.process__body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
  max-width: 640px;
}

@media (max-width: 720px) {
  .process__step { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .process__num { font-size: 24px; }
  .process__body h3 { font-size: 20px; }
}

/* ============ PRICING ============ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.pricing-card {
  border: 1px solid var(--rule);
  padding: 40px 32px;
  border-radius: 2px;
  position: relative;
  transition: all 0.3s ease;
  background: var(--ink-soft);
}

.pricing-card:hover {
  border-color: var(--rule-strong);
}

.pricing-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(201, 165, 87, 0.08) 0%, var(--ink-soft) 100%);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border-radius: 2px;
  font-weight: 500;
}

.pricing-card__name {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
  margin-bottom: 16px;
}

.pricing-card__price {
  font-family: var(--display);
  font-weight: 300;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  font-variation-settings: 'opsz' 144;
}

.pricing-card__price .currency {
  font-size: 32px;
  vertical-align: top;
  line-height: 1.4;
  margin-right: 4px;
  color: var(--muted);
}

.pricing-card__price .period {
  font-size: 16px;
  color: var(--muted);
  font-weight: 300;
  margin-left: 4px;
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-card__features li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--paper);
  font-weight: 300;
  border-bottom: 1px solid var(--rule);
  position: relative;
  padding-left: 20px;
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-card__features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.pricing-card__for {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
}

/* ============ FAQ ============ */

.faq {
  margin-top: 32px;
}

.faq__item {
  border-top: 1px solid var(--rule);
  padding: 28px 0;
  cursor: pointer;
}

.faq__item:last-child {
  border-bottom: 1px solid var(--rule);
}

.faq__item summary {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  transition: color 0.2s ease;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 32px;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item summary:hover {
  color: var(--accent-bright);
}

.faq__item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
  margin-top: 16px;
  max-width: 720px;
}

/* ============ CONTACT ============ */

.section--contact .section__content {
  text-align: left;
}

.contact__lede {
  font-size: 22px;
  line-height: 1.5;
  color: var(--paper);
  font-weight: 300;
  max-width: 720px;
  margin-bottom: 48px;
}

.contact__actions {
  margin-bottom: 32px;
}

.contact__sig {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.contact__sig a {
  color: var(--accent-bright);
  border-bottom: 1px solid var(--accent);
}

/* ============ FOOTER ============ */

.footer {
  border-top: 1px solid var(--rule);
  padding: 48px;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.footer__logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144;
}

.footer__tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  text-transform: lowercase;
}

.footer__links {
  display: flex;
  gap: 28px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: lowercase;
}

.footer__legal {
  display: flex;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

@media (max-width: 720px) {
  .footer { padding: 32px 24px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}