/* =========================================
   pinwyno — styles.css
   ========================================= */

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

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #171717;
  --fg: #f0ede8;
  --fg-muted: #888;
  --fg-dim: #444;
  --accent: #c8ff00;
  --accent-dim: #a0cc00;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Syne', sans-serif;
  --max-w: 1200px;
  --nav-h: 72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }
strong { font-weight: 600; }

/* ── Container ─────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Sections ───────────────────────────── */
.section {
  padding: 120px 0;
}

.section__header {
  margin-bottom: 64px;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-top: 16px;
  line-height: 1.15;
}

/* ── Label ──────────────────────────────── */
.label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.link-arrow {
  font-size: 0.9rem;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--fg-dim);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.link-arrow:hover {
  color: var(--fg);
  border-color: var(--fg);
}

/* ── Placeholder images ─────────────────── */
.placeholder-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  border: 1px solid var(--border);
  overflow: hidden;
}

.placeholder-img.dark   { background: #141414; }
.placeholder-img.warm   { background: #1a140e; }
.placeholder-img.cool   { background: #0e1218; }
.placeholder-img.moss   { background: #0f1510; }

.placeholder-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.placeholder-inner span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}

/* ── NAV ────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav__links a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--fg); }

.nav .btn { margin-left: 8px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Mobile menu ────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: calc(var(--nav-h) + 32px) 32px 48px;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu.open { display: flex; }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--accent); }

.mobile-menu .btn {
  margin-top: 16px;
  align-self: flex-start;
}

/* ── HERO ───────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 0;
  text-align: center;
  overflow: hidden;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--fg-muted);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 40px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 auto 28px;
  padding: 0 24px;
}

.hero__title em {
  color: var(--accent);
  font-style: italic;
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  padding: 0 24px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 0 24px;
  margin-bottom: 48px;
}

.hero__location {
  font-size: 0.8rem;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
  margin-bottom: 80px;
}

/* ── Marquee ────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--bg-2);
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding-right: 0;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* ── STUDIO ─────────────────────────────── */
.studio__inner {
  display: grid;
  gap: 64px;
}

.studio__label { margin-bottom: 32px; }

.studio__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.studio__text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.65;
  color: var(--fg);
}

/* ── WORK ───────────────────────────────── */
.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.work__card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}

.work__card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.work__card-img { aspect-ratio: 16/9; }
.work__card-img .placeholder-img { border-radius: 0; aspect-ratio: 16/9; }

.work__card-body {
  padding: 20px 24px 24px;
}

.work__card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.work__card-body p {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.work__card-link {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.work__card:hover .work__card-link { opacity: 1; }

.work__cta { text-align: center; }

/* ── SERVICES ───────────────────────────── */
.services { background: var(--bg-2); }

.services__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.service__item {
  display: flex;
  gap: 28px;
  padding: 40px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  transition: background 0.2s;
}

.service__item:hover { background: #1c1c1c; }

.service__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  padding-top: 4px;
}

.service__body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service__body p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service__tags span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200, 255, 0, 0.07);
  border: 1px solid rgba(200, 255, 0, 0.2);
  border-radius: 100px;
  padding: 4px 12px;
}

/* ── PROCESS ────────────────────────────── */
.process__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.process__left .label { margin-bottom: 24px; }

.process__left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 48px;
  line-height: 1.2;
}

.process__img-wrap { margin-top: 16px; }
.process__img-wrap .placeholder-img { aspect-ratio: 4/3; }

.process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process__step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.process__step:first-child { border-top: 1px solid var(--border); }

.step__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  padding-top: 4px;
  width: 32px;
}

.step__body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__body p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── TESTIMONIAL ────────────────────────── */
.testimonial {
  background: var(--accent);
  padding: 80px 0;
}

.testimonial .label { color: rgba(0,0,0,0.5); margin-bottom: 32px; }

.testimonial__quote {
  max-width: 800px;
}

.testimonial__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.35;
  margin-bottom: 24px;
}

.testimonial__quote strong { color: #0a0a0a; }

.testimonial__quote cite {
  font-size: 0.9rem;
  font-style: normal;
  color: rgba(0,0,0,0.55);
  font-weight: 500;
}

/* ── CONTACT ────────────────────────────── */
.contact__inner {
  max-width: 640px;
}

.contact .label { margin-bottom: 24px; }

.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.contact p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.contact__email {
  font-size: 1.1rem;
  border-bottom: 1px solid var(--fg-dim);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.contact__email:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact__phone {
  font-size: 0.85rem;
  color: var(--fg-dim);
}

/* ── FOOTER ─────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  background: var(--bg);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  max-width: 240px;
  line-height: 1.6;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--fg); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--fg-dim);
}

/* ── ANIMATIONS ─────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav .btn { display: none; }
  .nav__burger { display: flex; }

  .services__list { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  .studio__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process__img-wrap { display: none; }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }

  .footer__cols { grid-template-columns: 1fr; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .service__item { padding: 28px 20px; }

  .contact h2 { font-size: 2rem; }
}
