/* ============================================
   Quack PR — Editorial paper aesthetic
   Thin line-art motif, warm off-white,
   typography-driven, print-inspired
   ============================================ */

:root {
  --bg: #EDEAE3;
  --text: #1a1a1a;
  --text-mid: #3a3a3a;
  --text-muted: #666666;
  --text-light: #999999;
  --line: rgba(26, 26, 26, 0.12);
  --line-light: rgba(26, 26, 26, 0.06);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;

  --nav-h: 96px;
}

/* ---- Reset ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--text-muted);
  line-height: 1.6;
  overflow-x: hidden;
  /* Subtle paper grain */
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--text);
  font-weight: 400;
}

em { font-family: var(--serif); font-style: italic; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 100;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background-color: rgba(237, 234, 227, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-logo img { height: 72px; width: auto; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-light);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 101;
}

.nav-toggle span {
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(2.5px, 2.5px); }
.nav-toggle.active span:nth-child(2) { transform: rotate(-45deg) translate(2.5px, -2.5px); }

/* ============================================
   Hero — centered, breathing room
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 40px;
}

.hero-content {
  text-align: center;
  max-width: 700px;
}

.hero-logo {
  width: 280px;
  height: auto;
  margin: 0 auto 40px;
}

.hero-line {
  width: 48px;
  height: 1px;
  background: var(--text);
  margin: 0 auto 40px;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.12;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 0.82rem;
  color: var(--text-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 300;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--text-light), transparent);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.1; }
}

/* ============================================
   Section headers — numbered, editorial
   ============================================ */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 48px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.section-number {
  font-family: var(--sans);
  font-size: 0.68rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1;
}

/* ============================================
   About
   ============================================ */
.about {
  padding: 120px 0 80px;
}

.about-lead {
  max-width: 640px;
  margin-bottom: 48px;
}

.about-lead p {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-mid);
  font-weight: 400;
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line-light);
}

.about-col p {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text-muted);
  font-weight: 300;
}

/* ============================================
   Duck divider — line-art motif
   ============================================ */
.duck-divider {
  text-align: center;
  padding: 40px 0;
  color: var(--text-light);
  opacity: 0.35;
}

.duck-divider svg {
  width: 48px;
  height: auto;
}

/* ============================================
   Services — interactive list
   ============================================ */
.services {
  padding: 80px 0 100px;
}

.services-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 56px;
}

.services-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 32px 200px 1fr 24px;
  gap: 20px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: all 0.35s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.service-item:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(26,26,26,0.02) 0%, transparent 100%);
}

.service-num {
  font-size: 0.68rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.service-name {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--text);
  transition: color 0.3s;
}

.service-desc {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-light);
  font-weight: 300;
}

.service-arrow {
  font-size: 1rem;
  color: var(--text-light);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.service-item:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   Quote — large editorial pull-quote
   ============================================ */
.quote-section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.5;
  color: var(--text);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  font-weight: 400;
}

/* ============================================
   Contact — simple, centered
   ============================================ */
.contact {
  padding: 120px 0 140px;
}

.contact-body {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.contact-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 32px;
}

.contact-email {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--text);
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text);
  transition: all 0.3s ease;
}

.contact-email:hover {
  border-bottom-color: var(--text-light);
  color: var(--text-mid);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img {
  height: 24px;
  width: auto;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.68rem;
  color: var(--text-light);
}

/* ============================================
   Scroll Reveal
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .service-item {
    grid-template-columns: 32px 1fr 24px;
    gap: 12px;
  }
  .service-desc { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .navbar { padding: 0 24px; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 100%; height: 100vh;
    background: rgba(237, 234, 227, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; color: var(--text); }

  .hero-logo { width: 200px; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }

  .about-columns { grid-template-columns: 1fr; gap: 32px; }

  .service-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 20px 0;
  }
  .service-num { display: none; }
  .service-desc { display: block; }
  .service-arrow { display: none; }

  .contact-email { font-size: 1.2rem; }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
