/*
Theme Name: Vitrine
Theme URI: https://wordpress.org/themes/vitrine/
Author: Vitrine Themes
Description: A dark, type-led portfolio theme for studios and freelancers.
Version: 3.0.2
Requires at least: 6.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: vitrine
*/

:root {
  --bg: #0f0f10;
  --panel: #18181b;
  --line: #2a2a2f;
  --text: #ededed;
  --muted: #9a9aa3;
  --accent: #c8f04b;
  --accent-ink: #0f0f10;
  --pink: #ff6b8b;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1.1em; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 10; }
.frame { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

.studio-head { position: sticky; top: 0; z-index: 5; background: rgba(15,15,16,.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--accent) 0 25%, var(--pink) 0 50%, #6c7cff 0 75%, #f7b733 0); }
.studio-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.studio-nav a { display: block; color: var(--text); padding: 8px 14px; border-radius: 999px; font-size: .95rem; }
.studio-nav a:hover { background: var(--panel); text-decoration: none; }
.studio-nav .nav-cta { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.studio-nav .nav-cta:hover { background: #b6e02f; }

.site-main { padding-bottom: 40px; }

.intro { padding: 96px 0 70px; }
.intro .eyebrow, .eyebrow { display: inline-block; color: var(--muted); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.intro h1 { font-size: clamp(2.6rem, 7vw, 6rem); max-width: 14ch; }
.intro h1 em { font-style: normal; color: var(--accent); }
.intro .lede { color: var(--muted); font-size: 1.25rem; max-width: 40em; margin-top: 18px; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; color: var(--muted); font-size: .9rem; }

.block { padding: 70px 0 0; }
.block-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.block-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 0; }
.block-head a { font-weight: 600; }

.services-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-strip div { padding: 28px 22px 26px 0; border-right: 1px solid var(--line); }
.services-strip div + div { padding-left: 22px; }
.services-strip div:last-child { border-right: 0; }
.services-strip span { color: var(--accent); font-size: .85rem; font-weight: 700; }
.services-strip h3 { font-size: 1.25rem; margin: 10px 0 8px; }
.services-strip p { color: var(--muted); font-size: .95rem; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li { list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.steps li::before { counter-increment: step; content: "0" counter(step); color: var(--accent); font-weight: 800; font-size: 1.6rem; display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: .94rem; margin: 0; }
.steps { padding: 0; margin: 0; }

.cta-band { margin-top: 80px; background: var(--accent); color: var(--accent-ink); border-radius: 24px; padding: 54px 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); margin: 0; max-width: 16ch; }
.cta-band a { background: var(--accent-ink); color: var(--accent); padding: 14px 26px; border-radius: 999px; font-weight: 700; }

.page-intro { padding: 80px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 46px; }
.page-intro h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 18ch; }
.page-intro p { color: var(--muted); font-size: 1.15rem; max-width: 42em; margin: 0; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose p, .prose li { color: #d6d6da; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose .meta { color: var(--muted); font-size: .9rem; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 40px; }
.facts div { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.facts span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; display: block; }
.facts b { font-size: 1.05rem; }

.service-list { border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.service-item h2 { font-size: 1.8rem; margin: 0; }
.service-item p { color: var(--muted); }
.service-item ul { color: #d6d6da; padding-left: 1.2em; margin: 0; }

.journal-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.journal-list li { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr; gap: 24px; }
.journal-list time { color: var(--muted); font-size: .9rem; }
.journal-list h2 { font-size: 1.5rem; margin: 0 0 .3em; }
.journal-list h2 a { color: var(--text); }
.journal-list p { color: var(--muted); margin: 0; }

.studio-form { max-width: 680px; }
.studio-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.studio-form label { display: block; color: var(--muted); font-size: .88rem; margin-bottom: 6px; }
.studio-form .row { margin-bottom: 18px; }
.studio-form input, .studio-form select, .studio-form textarea { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--text); font: inherit; }
.studio-form textarea { min-height: 160px; }
.studio-form button { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 14px 28px; font: inherit; font-weight: 700; cursor: pointer; }
.form-note { color: var(--muted); font-size: .85rem; margin-top: 14px; }

.lost { padding: 120px 0 60px; }
.lost h1 { font-size: clamp(3rem, 9vw, 7rem); color: var(--accent); }

.studio-foot { border-top: 1px solid var(--line); margin-top: 90px; padding: 70px 0 30px; }
.foot-big { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 50px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot-cols h4 { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.foot-cols p { color: #d6d6da; font-size: .95rem; }
.foot-legal { color: var(--muted); font-size: .82rem; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 18px; }

@media (max-width: 900px) {
  .services-strip, .steps { grid-template-columns: 1fr 1fr; }
  .services-strip div:nth-child(2) { border-right: 0; }
  .services-strip div:nth-child(3) { padding-left: 0; }
  .service-item, .journal-list li { grid-template-columns: 1fr; gap: 10px; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .frame { padding: 0 18px; }
  .intro { padding: 60px 0 44px; }
  .services-strip, .steps, .facts, .foot-cols, .studio-form .two { grid-template-columns: 1fr; }
  .services-strip div, .services-strip div + div { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .cta-band { padding: 36px 26px; }
  .studio-nav a { padding: 6px 10px; font-size: .9rem; }
}
