/*
Theme Name: CK Tattoos — Ink by Her
Theme URI: https://cktattoos.com/
Author: CK Tattoos
Description: A lightweight, coded WordPress theme rebuilt from the CK Tattoos AI Builder design.
Version: 1.0.2
Text Domain: ck-tattoos
*/

:root {
  --ink: #171617;
  --ink-soft: #262326;
  --paper: #fbf8f3;
  --paper-deep: #eee7dc;
  --rose: #e5a09a;
  --rose-dark: #a8565e;
  --gold: #c99c58;
  --muted: #756d69;
  --white: #fff;
  --shadow: 0 22px 60px rgba(36, 23, 26, .13);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--rose-dark); }
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; margin: 0 0 1rem; letter-spacing: -.02em; }
h1 { font-size: clamp(2.8rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
p { margin: 0 0 1rem; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { color: var(--rose-dark); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section { padding: 100px 0; position: relative; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--blush { background: linear-gradient(135deg, #f3d7d1, #f8eee5); }
.section__intro { max-width: 680px; margin-bottom: 42px; }
.section__intro p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section__intro p { color: #cfc4c3; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1.35rem; border-radius: 999px; border: 1px solid transparent; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--rose-dark); color: var(--white); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--outline { border-color: rgba(23,22,23,.25); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 9999; background: var(--ink); color: var(--white); padding: 10px; }
.skip-link:focus { left: 10px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,243,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(23,22,23,.08); }
.topbar { background: var(--ink); color: #fff; font-size: .78rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar a { color: #fff; }
.header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: Georgia, serif; font-weight: 700; font-size: 1.2rem; }
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; }
.brand span { display: grid; line-height: 1; }
.brand small { font-family: Inter, sans-serif; font-size: .58rem; letter-spacing: .17em; text-transform: uppercase; color: var(--rose-dark); margin-top: 5px; }
.site-nav ul { display: flex; align-items: center; gap: 22px; list-style: none; padding: 0; margin: 0; }
.site-nav a { font-size: .86rem; font-weight: 750; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.5rem; }

.hero { min-height: 680px; display: grid; align-items: center; position: relative; overflow: hidden; background: linear-gradient(120deg, #f5ded8 0%, #fbf8f3 48%, #e9d8cf 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.65), transparent 32%), radial-gradient(circle at 15% 85%, rgba(229,160,154,.24), transparent 28%); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 60px; }
.hero__copy { animation: rise-in .8s ease both; }
.hero__copy p { max-width: 560px; font-size: 1.17rem; color: #5d5350; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__visual { position: relative; min-height: 500px; animation: float-in 1s ease both; }
.hero__image { width: min(100%, 500px); height: 560px; object-fit: cover; border-radius: 48% 48% 22px 22px; margin-left: auto; box-shadow: var(--shadow); filter: saturate(.88); }
.hero__badge { position: absolute; left: 0; bottom: 28px; width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--paper); font-size: .8rem; padding: 22px; transform: rotate(-10deg); box-shadow: var(--shadow); }
.hero__badge strong { display: block; font-family: Georgia, serif; font-size: 1.35rem; color: var(--rose); }

.feature-card { padding: 28px; background: rgba(255,255,255,.66); border: 1px solid rgba(23,22,23,.07); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feature-card__icon { font-size: 1.8rem; margin-bottom: 15px; }
.feature-card p { color: var(--muted); }
.service-card { min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff; border-radius: var(--radius); overflow: hidden; position: relative; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.service-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 22%, rgba(23,22,23,.9)); }
.service-card > * { position: relative; z-index: 1; }
.service-card p { color: #f4e9e7; font-size: .92rem; }
.quote { padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(36,23,26,.08); }
.quote__stars { color: var(--gold); letter-spacing: .12em; }
.quote__by { color: var(--muted); font-size: .88rem; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 35% 35% 24px 24px; box-shadow: var(--shadow); }
.numbered { counter-reset: step; display: grid; gap: 20px; }
.numbered__item { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.numbered__item::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: var(--ink); font-weight: 900; }
.numbered__item p { color: var(--muted); }
.section--dark .numbered__item p { color: #cfc4c3; }
.cta-band { border-radius: var(--radius); padding: 46px; background: linear-gradient(120deg, var(--rose), #f0c8bd); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.gallery { columns: 3 220px; column-gap: 18px; }
.gallery figure { break-inside: avoid; margin: 0 0 18px; overflow: hidden; border-radius: 18px; background: var(--paper-deep); }
.gallery img { width: 100%; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.page-hero { padding: 110px 0 70px; background: linear-gradient(120deg, #f3d7d1, var(--paper)); }
.page-hero p { max-width: 700px; color: var(--muted); font-size: 1.1rem; }
.content-card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 5vw, 60px); box-shadow: var(--shadow); }
.content-card ul { padding-left: 1.2rem; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.contact-list { display: grid; gap: 14px; }
.contact-item { padding: 18px; background: #fff; border-radius: 16px; border: 1px solid rgba(23,22,23,.08); }
.contact-item strong { display: block; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { font-weight: 750; font-size: .9rem; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #d8cdc7; border-radius: 12px; padding: 13px 14px; background: #fff; font: inherit; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.site-footer { background: #111011; color: #f7eee9; padding: 64px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 42px; }
.site-footer p, .site-footer li { color: #cfc4c3; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; }
.site-footer .brand img { background: #fff; padding: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 42px; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; color: #a99c9b; font-size: .82rem; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes float-in { from { opacity: 0; transform: translateY(22px) rotate(2deg); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 78px; background: var(--paper); border: 1px solid rgba(23,22,23,.1); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: grid; gap: 14px; }
  .menu-toggle { display: block; }
  .header__actions .btn { display: none; }
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0; }
  .hero__visual { min-height: 430px; }
  .hero__image { height: 460px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .topbar__inner { display: block; text-align: center; }
  .hero__visual { min-height: 380px; }
  .hero__image { height: 390px; }
  .hero__badge { width: 125px; height: 125px; font-size: .7rem; left: -4px; bottom: 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .cta-band { display: block; padding: 30px 24px; }
  .cta-band .btn { margin-top: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}
