/* ============================================================
   DrAIArtist — original AI-generated artwork
   A polished, gallery-grade static site.
   ============================================================ */

:root {
  --bg:           #0b0a08;
  --bg-2:         #141210;
  --bg-soft:      #1a1814;
  --paper:        #f6f1e6;
  --ink:          #efe8d8;
  --ink-2:        #c9c1ad;
  --ink-dim:      #8a8373;
  --line:         #2a261f;
  --line-2:       #3a3528;
  --accent:       #d8a657;
  --accent-2:     #f0c071;
  --accent-glow:  rgba(216,166,87,.35);
  --violet:       #6a4f8a;

  --radius:       18px;
  --radius-sm:    10px;
  --radius-lg:    24px;

  --maxw:         1200px;

  --serif:        "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:         "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow-sm:    0 2px 8px rgba(0,0,0,.25);
  --shadow:       0 8px 32px rgba(0,0,0,.35);
  --shadow-lg:    0 24px 60px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-2); }

::selection { background: var(--accent); color: var(--bg); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,10,8,.7);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 4px 12px var(--accent-glow);
}
.brand-text { line-height: 1; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--ink);
  transition: all .15s ease;
}
.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s cubic-bezier(.2,.7,.3,1);
  text-align: center;
  white-space: nowrap;
}
.btn-sm { padding: 11px 18px; font-size: 13px; }
.btn-arrow { width: 16px; height: 16px; transition: transform .2s ease; }
.btn-primary {
  background: var(--accent);
  color: #1a1206;
  border-color: var(--accent);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #1a1206;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px var(--accent-glow);
}
.btn-primary:hover .btn-arrow { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(216,166,87,.06);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(216,166,87,.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 60%, rgba(106,79,138,.15), transparent 60%),
    linear-gradient(180deg, #1a1814 0%, #0b0a08 100%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: drift 20s ease-in-out infinite;
}
.hero-orb-1 { width: 420px; height: 420px; top: -120px; right: -100px; background: var(--accent); }
.hero-orb-2 { width: 320px; height: 320px; top: 40%; left: -120px; background: var(--violet); animation-delay: -7s; }
.hero-orb-3 { width: 240px; height: 240px; bottom: -100px; right: 20%; background: var(--accent-2); opacity: .3; animation-delay: -14s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}

.hero-inner { position: relative; z-index: 1; max-width: 880px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 28px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  margin: 0 0 28px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--paper);
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 50%, #b87a30 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 36px;
  line-height: 1.6;
}
.lede strong { color: var(--ink); font-weight: 600; }

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--paper);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: .04em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--line-2);
}

@media (max-width: 720px) {
  .hero { padding: 80px 0 70px; }
  .hero-ctas { margin-bottom: 60px; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 100px 0; }
@media (max-width: 720px) { .section { padding: 70px 0; } }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin: 0;
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--paper);
  max-width: 720px;
}
.section-aside {
  color: var(--ink-dim);
  font-size: 14px;
  max-width: 320px;
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}
.card { grid-column: span 4; }
.card-feature { grid-column: span 4; transform: translateY(-12px); }

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 6; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; gap: 24px; }
  .card { grid-column: span 1; }
  .card-feature { transform: none; }
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), border-color .2s ease, box-shadow .25s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-lg);
}
.card:hover .card-frame img { transform: scale(1.04); }
.card:hover .card-number { color: var(--accent-2); }

.card-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #000;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.card-number {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(11,10,8,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  transition: color .2s ease;
}
.badge-new { background: var(--accent); color: #1a1206; border-color: var(--accent); }

.card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.meta {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 600;
  margin: 0;
}
.meta strong { color: var(--paper); font-weight: 700; }
.title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
  margin: 6px 0 4px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--paper);
}
.sub {
  color: var(--ink-dim);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.desc {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 8px 0 0;
}
.card-foot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.price {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--paper);
  line-height: 1;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: all .2s ease;
}
.step:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.step-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.step h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -.01em;
}
.step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.step p strong { color: var(--paper); font-weight: 600; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }

.testimonial {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  margin: 0;
  position: relative;
  transition: all .2s ease;
}
.testimonial:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.quote-mark {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.6;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 12px;
  font-weight: 500;
}
.testimonial blockquote {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -.005em;
}
.testimonial blockquote em { color: var(--accent-2); font-style: italic; }
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink-dim);
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.testimonial figcaption strong {
  color: var(--paper);
  font-weight: 600;
  font-size: 14px;
}
.testimonial figcaption span { font-size: 12px; }

.placeholder-note {
  margin: 0;
  font-size: 13px;
  color: var(--ink-dim);
  background: rgba(216,166,87,.06);
  border: 1px dashed var(--accent);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}
.placeholder-note code {
  background: rgba(255,255,255,.05);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--accent-2);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(216,166,87,.12), transparent 60%),
    var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) { .contact-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; } }

.contact-lede {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  margin: 16px 0 28px;
  max-width: 480px;
}
.contact-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.contact-aside {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}
.contact-aside p { margin: 0 0 4px; }
@media (max-width: 880px) {
  .contact-aside { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; }
}
.aside-label {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 10px !important;
  font-weight: 600;
  color: var(--accent) !important;
  margin: 20px 0 8px !important;
}
.aside-label:first-child { margin-top: 0 !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
  margin-top: 60px;
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 64px;
  margin-bottom: 56px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

.footer-tag {
  color: var(--ink-dim);
  font-size: 14px;
  max-width: 320px;
  margin: 16px 0 0;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 600px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; } }
.footer-cols > div { display: flex; flex-direction: column; gap: 8px; }
.footer-cols a {
  color: var(--ink-2);
  font-size: 14px;
}
.footer-cols a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.footer-bottom p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 12.5px;
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 720px) {
  .hero-title { font-size: 44px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
}
