/* ═══════════════════════════════════════════════════════════════════════
   ANDRIANA PAZOUROS — design system
   Palette : blush paper, aubergine ink, signal red, violet, rose
   Type    : Bodoni Moda (fashion masthead display) / Plus Jakarta Sans
             (body) / DM Mono (labels, data)
   Motif   : swing tags, stitched swatches, fabric-edge dividers
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --paper: #F6EEE9;
  --paper-2: #FBF6F2;
  --paper-3: #EFE3DC;
  --ink: #1B141C;
  --ink-soft: #4A3E4E;
  --ink-mute: #7C6F80;
  --cherry: #E2445C;
  --violet: #7C6BD6;
  --rose: #C86B98;
  --blush: #F3D9DE;
  --sea: #3E9C8E;
  --amber: #D98324;
  --line: rgba(27, 20, 28, 0.14);
  --line-soft: rgba(27, 20, 28, 0.07);

  --accent: var(--cherry);

  --display: 'Bodoni Moda', Georgia, serif;
  --body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;

  --r-sm: 8px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: min(1240px, 92vw);
}

/* ─── Reset ──────────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 84% 6%, rgba(200, 107, 152, 0.16), transparent 42%),
    radial-gradient(circle at 6% 42%, rgba(124, 107, 214, 0.10), transparent 38%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

::selection { background: var(--cherry); color: var(--paper-2); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-3); }
::-webkit-scrollbar-thumb { background: rgba(27, 20, 28, 0.25); border-radius: 20px; }

:focus-visible {
  outline: 2.5px solid var(--violet);
  outline-offset: 3px;
  border-radius: 3px;
}

.shell { width: var(--shell); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ─── Type scale ─────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--accent);
}

.h-display {
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.02em;
  font-size: clamp(2.5rem, 6.2vw, 5rem);
}
.h-section {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 5vw, 3.6rem);
}
.h-card {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.15;
}
em, .ital { font-family: var(--display); font-style: italic; font-weight: 400; }

.lede {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .4s var(--ease);
  will-change: transform;
}
.btn svg { width: 15px; height: 15px; }
.btn-solid { background: var(--ink); color: var(--paper-2); }
.btn-solid:hover { background: var(--cherry); border-color: var(--cherry); box-shadow: 0 12px 30px rgba(226, 68, 92, .32); }
.btn-ghost:hover { background: var(--ink); color: var(--paper-2); }
.btn:active { transform: scale(.97); }

/* ─── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px max(4vw, 24px);
  transition: background .45s var(--ease), padding .45s var(--ease), box-shadow .45s var(--ease);
}
.nav.stuck {
  background: rgba(246, 238, 233, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-block: 12px;
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav-logo {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.nav-logo span { color: var(--cherry); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 500;
  position: relative;
  transition: color .3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 5px;
  height: 1.5px;
  background: var(--cherry);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--ink);
  color: var(--paper-2) !important;
  padding: 10px 20px !important;
  font-family: var(--mono);
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background .3s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--cherry); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.burger span {
  width: 22px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--paper);
  padding: 90px max(6vw, 26px) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-100%);
  transition: transform .6s var(--ease);
  overflow-y: auto;
}
.nav-mobile.open { transform: translateY(0); }
.nav-mobile a {
  font-family: var(--display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(18px);
}
.nav-mobile.open a { animation: slideUp .6s var(--ease) forwards; }
.nav-mobile-close {
  position: absolute;
  top: 22px; right: max(6vw, 26px);
  font-size: 1.5rem;
  line-height: 1;
}
@keyframes slideUp { to { opacity: 1; transform: none; } }

/* ─── Cursor ─────────────────────────────────────────────────────────── */
.cursor-blob {
  position: fixed;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--cherry);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), background .35s, opacity .3s;
  mix-blend-mode: multiply;
}
.cursor-blob.grow { width: 62px; height: 62px; background: rgba(226, 68, 92, .16); }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .45);
  margin-bottom: 26px;
}
.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sea);
  box-shadow: 0 0 0 0 rgba(62, 156, 142, .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(62, 156, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 156, 142, 0); }
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: block;
  transform: translateY(105%);
  animation: riseIn 1s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes riseIn { to { transform: none; } }
.hero h1 .accent { color: var(--cherry); font-style: italic; font-weight: 400; }
.hero-intro { margin-top: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Signature: rotating swing-tag portrait */
.hero-tag { position: relative; justify-self: center; }
.tag-card {
  position: relative;
  width: min(330px, 74vw);
  aspect-ratio: 3 / 4;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 16px 54px;
  transform: rotate(-3deg);
  transition: transform .7s var(--ease);
  box-shadow: 0 26px 60px rgba(27, 20, 28, .12);
}
.tag-card:hover { transform: rotate(0deg) translateY(-6px); }
.tag-card::before { /* punched eyelet */
  content: '';
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--paper);
  z-index: 3;
}
.tag-photo {
  width: 100%; height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--blush), var(--paper-3));
  display: grid;
  place-items: center;
}
.tag-photo img { width: 100%; height: 100%; object-fit: cover; }
.tag-photo .ph {
  font-family: var(--display);
  font-size: 3.4rem;
  color: rgba(27, 20, 28, .18);
}
.tag-meta {
  position: absolute;
  left: 22px; right: 22px; bottom: 18px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.stamp {
  position: absolute;
  right: -26px; bottom: -22px;
  width: 108px; height: 108px;
  animation: spin 20s linear infinite;
}
.stamp text { font-family: var(--mono); font-size: 8.4px; letter-spacing: 2.1px; fill: var(--ink); text-transform: uppercase; }
.stamp .dot { fill: var(--cherry); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Marquee ────────────────────────────────────────────────────────── */
.marquee {
  border-block: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .35);
}
.marquee-track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 46px;
}
.marquee-track span::after { content: '✦'; color: var(--cherry); font-size: .8rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ─── Sections ───────────────────────────────────────────────────────── */
.sec { padding: clamp(72px, 11vw, 140px) 0; }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 5vw, 58px);
}
.sec-head .lede { margin-top: 14px; }

/* ─── Filters ────────────────────────────────────────────────────────── */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.chip {
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all .3s var(--ease);
  background: rgba(255, 255, 255, .4);
}
.chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.chip.on { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }

/* ─── Work grid: swing tags ──────────────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 34px);
}
.work-grid.featured { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }

.tile {
  position: relative;
  display: block;
  opacity: 0;
  transform: translateY(26px);
}
.tile.in { animation: fadeUp .8s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.tile-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  background: linear-gradient(150deg, var(--blush) 0%, var(--paper-3) 100%);
  border: 1px solid var(--line-soft);
}
.tile-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s;
}
.tile:hover .tile-media img { transform: scale(1.06); }
.tile-media .ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 2.6rem;
  color: rgba(27, 20, 28, .16);
}
.tile-cat {
  position: absolute;
  top: 12px; left: 12px;
  padding: 6px 13px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.tile-open {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-2);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(10px) scale(.85);
  transition: all .45s var(--ease);
  z-index: 2;
}
.tile:hover .tile-open { opacity: 1; transform: none; }
.tile-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 4px 0;
}
.tile-sub {
  font-size: 0.86rem;
  color: var(--ink-mute);
  margin-top: 4px;
}
.tile-year {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-mute);
  padding-top: 5px;
  white-space: nowrap;
}
.tile-swatches { display: flex; gap: 5px; margin-top: 12px; padding-left: 4px; }
.tile-swatches i {
  width: 15px; height: 15px;
  border-radius: 5px;
  border: 1px solid rgba(27, 20, 28, .12);
}

/* ─── Like button ────────────────────────────────────────────────────── */
.like {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, .5);
  transition: all .3s var(--ease);
}
.like svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.like:hover { border-color: var(--cherry); color: var(--cherry); }
.like.on { background: var(--cherry); border-color: var(--cherry); color: #fff; }
.like.on svg { fill: currentColor; animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }

/* ─── Services ───────────────────────────────────────────────────────── */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.service {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.service:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 22px 44px rgba(27, 20, 28, .09);
}
.service-price {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cherry);
  letter-spacing: 0.04em;
}
.service ul { list-style: none; display: grid; gap: 8px; margin-top: 4px; }
.service li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
}
.service li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 3px;
  background: var(--blush);
  border: 1px solid var(--rose);
}
.note {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-mute);
  margin-top: 22px;
}

/* ─── Contact ────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input, .field textarea, .field select {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .6);
  font-size: 0.94rem;
  transition: border-color .3s, background .3s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--violet);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.honey { position: absolute; left: -9999px; }
.form-msg { font-family: var(--mono); font-size: 0.76rem; margin-top: 12px; min-height: 20px; }
.form-msg.ok { color: var(--sea); }
.form-msg.err { color: var(--cherry); }

.contact-side { display: grid; gap: 14px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--paper-2);
  transition: transform .4s var(--ease), border-color .3s;
}
.contact-row:hover { transform: translateX(5px); border-color: var(--line); }
.contact-row svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--cherry); }
.contact-row .k {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-row .v { font-size: 0.94rem; word-break: break-word; }

/* ─── Socials ────────────────────────────────────────────────────────── */
.socials { display: flex; gap: 9px; flex-wrap: wrap; }
.social {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all .4s var(--ease);
  background: rgba(255, 255, 255, .5);
}
.social svg { width: 17px; height: 17px; }
.social:hover { background: var(--ink); color: var(--paper-2); transform: translateY(-4px) rotate(-6deg); }

/* ─── Footer ─────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 34px;
  margin-top: 30px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}
.foot-name {
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 4.4rem);
  line-height: .95;
}
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.86rem; }
.foot-links a { color: var(--ink-mute); transition: color .3s; }
.foot-links a:hover { color: var(--cherry); }
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-mute);
}

/* ─── Reveal on scroll ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ─── Loader ─────────────────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--paper);
  display: grid;
  place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
#loader.gone { opacity: 0; visibility: hidden; }
#loader .mark {
  font-family: var(--display);
  font-size: 2.6rem;
  animation: breathe 1.5s var(--ease) infinite;
}
@keyframes breathe { 50% { opacity: .35; letter-spacing: .06em; } }

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-tag { order: -1; justify-self: start; }
  .tag-card { width: min(260px, 60vw); }
  .stamp { width: 84px; height: 84px; right: -18px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .work-grid, .work-grid.featured { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .work-grid, .work-grid.featured { grid-template-columns: 1fr; }
  .sec-head { align-items: flex-start; }
  .cursor-blob { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .tile { opacity: 1 !important; transform: none !important; }
  .hero h1 .line > span { transform: none !important; }
}

@media print {
  .nav, .burger, footer, .cursor-blob, #loader { display: none !important; }
}
