/* Emilee Tattoos — shares Inkwell's brand system: cream/blush/warm mauve, Fraunces
   italic serif + a script accent font, deckle-edge paper cards for flash/portfolio tiles. */
:root {
  --bone: #f8f1ea;
  --paper: #fffcf8;
  --paper-2: #f5e6df;
  --ink: #2b2420;
  --muted: #8d7d72;
  --line: #ecdcd2;
  --line-2: #ddc5b7;
  --oxblood: #b17d81;   /* dusty rose accent */
  --gold: #a9bdc4;      /* powder blue accent */
  --night: #8b6570;     /* warm mauve accent panel */
  --night-2: #6f4f58;
  --butter: #faf1cd;
  --on-dark: #fbf3ec;
  --script: "Mrs Saint Delafield", "Brush Script MT", cursive;
  --display: "Fraunces", Georgia, serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.17  0 0 0 0 0.14  0 0 0 0 0.12  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: color-mix(in srgb, var(--bone) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: 0; }
.nav nav { display: flex; align-items: center; gap: 1.5rem; font-weight: 500; }
.nav nav a:not(.btn):hover { color: var(--oxblood); }

/* buttons */
.btn {
  display: inline-block; background: var(--butter); color: var(--ink);
  padding: .8rem 1.6rem; border-radius: 999px; font-weight: 600;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #efe3ab; transform: translateY(-1px); }
.btn-sm { padding: .45rem 1.1rem; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--paper-2); }

/* hero */
.hero { position: relative; max-width: 1200px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 2rem; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-photo-wrap { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(43,36,32,.4); aspect-ratio: 4/5; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: sepia(.12) saturate(.9); }
.hero-floral { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: contain; pointer-events: none; mix-blend-mode: multiply; opacity: .5; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; color: color-mix(in srgb, var(--gold) 55%, var(--ink)); font-weight: 600; }
.eyebrow.script { font-family: var(--script); font-size: 1.6rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--oxblood); }
.loc-line { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.hero h1 {
  font-family: var(--display); font-weight: 560; font-style: italic;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .98; letter-spacing: -.01em;
  margin: 1rem 0;
}
.lede { font-family: var(--display); font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 38ch; margin: 0 0 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* sections */
section { padding: 4rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-title { font-family: var(--display); font-weight: 600; font-style: italic; font-size: 2.3rem; margin-bottom: 1.5rem; }
.work .eyebrow { display: block; margin-bottom: .4rem; }
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-photo { border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px -28px rgba(43,36,32,.35); aspect-ratio: 4/5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about p, .studio p { font-family: var(--display); font-size: 1.15rem; max-width: 60ch; color: #3d332c; }
.studio .btn { margin-top: 1.5rem; }

/* work grid — real flash photos (already paper-textured + watermarked in the source image) */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.1rem; }
.piece {
  aspect-ratio: .78; background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease;
}
.piece:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -22px rgba(43,36,32,.32); }
.piece img { width: 100%; flex: 1; object-fit: cover; }
.piece figcaption { font-size: .88rem; color: var(--muted); padding: .7rem .9rem; text-align: center; }
.note { margin-top: 1.5rem; font-size: .9rem; color: var(--muted); }
.note a { color: var(--oxblood); font-weight: 600; }

/* footer */
.foot {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, var(--night), var(--night-2)); color: color-mix(in srgb, var(--on-dark) 82%, var(--ink));
  margin-top: 3rem; padding: 3rem 2rem;
  display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: start;
  font-size: .95rem;
}
.foot::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .4; mix-blend-mode: overlay; pointer-events: none; }
.foot > * { position: relative; }
.foot strong { color: var(--on-dark); }
.foot a:hover { color: var(--butter); }
.social { display: flex; flex-direction: column; gap: .5rem; }
.fine { width: 100%; font-size: .8rem; padding-top: 1rem; border-top: 1px solid rgba(251,243,236,.2); color: color-mix(in srgb, var(--on-dark) 68%, var(--ink)); }

/* responsive */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-photo-wrap { max-width: 340px; margin: 0 auto; order: -1; }
  .hero-cta { justify-content: center; }
  .lede { margin: 0 auto 2rem; }
  .about { grid-template-columns: 1fr; text-align: center; }
  .about-photo { max-width: 320px; margin: 0 auto; }
  .nav nav { gap: .9rem; }
  .nav nav a:not(.btn) { display: none; }
}
