/* Teo Varga Tattoo. One-page. Brand colors on :root. */
:root {
  --ink: #17100E;
  --char: #231915;
  --paper: #EFE4CA;
  --paper-2: #E4D5B3;
  --red: #C8321F;
  --gold: #E2A72E;
  --green: #2F6B45;
  --blue: #2A4A78;
  --smoke: #A99C8C;

  --black: "Pirata One", "Times New Roman", serif;
  --sans: "Archivo", system-ui, sans-serif;
  --pad: clamp(1rem, 5vw, 4.5rem);
  --snap: cubic-bezier(.3, 1.4, .5, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 1.05rem/1.6 var(--sans); font-stretch: 92%; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: .95; }
p { margin: 0 0 1rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--paper); color: var(--ink); padding: .5rem 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .7rem 1.5rem; background: var(--red); color: var(--paper); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--paper); font-weight: 800; font-stretch: 80%; font-size: 1.05rem; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--paper); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--paper); }
.btn--ghost { background: transparent; border-color: var(--paper); box-shadow: none; }
.btn--ghost:hover { background: var(--paper); color: var(--ink); box-shadow: none; transform: none; }

/* Header */
.top { position: fixed; z-index: 40; inset: 0 0 auto; display: flex; align-items: center; gap: 1rem; padding: .9rem var(--pad); background: rgba(23,16,14,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.logo { font: 400 2rem/1 var(--black); text-decoration: none; margin-right: auto; color: var(--paper); }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { text-decoration: none; font-weight: 600; font-stretch: 85%; font-size: 1rem; }
.nav a:hover { color: var(--gold); }
.nav__book { padding: .45rem 1rem; border: 2px solid var(--paper); }
.nav__book:hover { background: var(--paper); color: var(--ink) !important; }
.menu-btn { display: none; background: var(--paper); color: var(--ink); border: 0; padding: .45rem 1rem; font-weight: 800; cursor: pointer; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100svh; overflow: hidden; }
.hero__photo { position: relative; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; filter: contrast(1.08) saturate(.9); animation: reveal 1.4s var(--ease) both; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--ink)); }
@keyframes reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hero__text { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 7rem var(--pad) 4rem clamp(1.5rem, 4vw, 3.5rem); }
.hero h1 { font-family: var(--black); font-size: clamp(4.4rem, 10.5vw, 10.5rem); line-height: .82; color: var(--paper); text-shadow: 6px 6px 0 var(--red); animation: slam .9s var(--snap) .3s both; }
@keyframes slam { from { opacity: 0; transform: scale(1.25) rotate(-3deg); } }
.hero__lede { max-width: 32rem; margin: 2rem 0 2rem; font-size: 1.15rem; color: #DCCFB6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 2.2rem; margin: 2.8rem 0 0; padding: 1.4rem 0 0; border-top: 2px dashed rgba(239,228,202,.25); }
.hero__facts li { font-size: .95rem; color: var(--smoke); }
.hero__facts b { display: block; font: 400 2.1rem/1 var(--black); color: var(--gold); }
.stamp { position: absolute; top: 6.5rem; right: var(--pad); width: 8.5rem; height: 8.5rem; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: .1rem; border: 3px solid var(--gold); color: var(--gold); transform: rotate(12deg); animation: stamp .6s var(--snap) 1s both; }
.stamp::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed var(--gold); border-radius: 50%; }
.stamp span { font-weight: 700; font-stretch: 75%; font-size: .95rem; }
.stamp b { font: 400 1.6rem/1 var(--black); }
@keyframes stamp { from { opacity: 0; transform: scale(2) rotate(30deg); } }

/* Flash sheet */
.flash { padding: clamp(4.5rem, 9vw, 7.5rem) var(--pad); background: var(--char); }
.flash__head { display: grid; grid-template-columns: auto 1fr; gap: 1rem 4rem; align-items: end; margin-bottom: 3rem; }
.flash h2, .work h2, .booking h2, .aftercare h2 { font-family: var(--black); font-size: clamp(3rem, 7vw, 6rem); }
.flash__head p { max-width: 34rem; margin: 0; color: #CFC2A8; }
.sheet { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; padding: clamp(1rem, 3vw, 2.6rem); background-color: var(--paper);
  background-image: radial-gradient(ellipse at 12% 8%, rgba(160,110,50,.18), transparent 38%), radial-gradient(ellipse at 90% 94%, rgba(160,110,50,.2), transparent 40%), radial-gradient(circle at 70% 30%, rgba(160,110,50,.08), transparent 30%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transform: rotate(-.6deg); }
.sheet::before, .sheet::after { content: ""; position: absolute; width: 7rem; height: 1.9rem; background: rgba(225,215,190,.75); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.sheet::before { top: -.8rem; left: 8%; transform: rotate(-4deg); }
.sheet::after { top: -.8rem; right: 8%; transform: rotate(5deg); }
.fl { position: relative; display: grid; justify-items: center; gap: .3rem; padding: 1rem .5rem 1.1rem; background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: 6px; transition: background-color .3s; }
.fl:hover { background: rgba(23,16,14,.05); }
.fl svg { width: min(100%, 11rem); aspect-ratio: 1; overflow: visible; transition: transform .45s var(--snap); }
.fl:hover svg { transform: rotate(-4deg) scale(1.05); }
.fl__name { font: 400 1.55rem/1 var(--black); }
.fl__price { font-weight: 700; font-stretch: 75%; font-size: .95rem; color: #5C4A3A; }
.fl__claimed { position: absolute; top: 34%; left: 50%; padding: .2rem .8rem; border: 3px solid var(--red); color: var(--red); font-weight: 900; font-stretch: 70%; font-size: 1.15rem; background: rgba(239,228,202,.85); transform: translate(-50%, -50%) rotate(-14deg) scale(1.8); opacity: 0; pointer-events: none; transition: transform .35s var(--snap), opacity .2s; }
.fl[aria-pressed="true"] .fl__claimed { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scale(1); }
.fl.is-gone { cursor: default; }
.fl.is-gone svg { opacity: .28; filter: grayscale(1); }
.fl.is-gone .fl__price::after { content: ", already tattooed"; }
.s { stroke: var(--ink); stroke-width: 3.4; stroke-linejoin: round; stroke-linecap: round; }
.r { fill: var(--red); } .y { fill: var(--gold); } .g { fill: var(--green); } .b { fill: var(--blue); } .p { fill: var(--paper); } .k { fill: var(--ink); } .n { fill: none; }

/* Healed work */
.work { padding: clamp(4.5rem, 9vw, 7.5rem) var(--pad); }
.work h2 { margin-bottom: 2.4rem; }
.work__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 9rem; gap: .8rem; }
.work figure { margin: 0; overflow: hidden; }
.work img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); }
.w1 { grid-column: 1 / 5; grid-row: 1 / 4; }
.w2 { grid-column: 5 / 9; grid-row: 1 / 3; }
.w3 { grid-column: 9 / 13; grid-row: 1 / 5; }
.w4 { grid-column: 1 / 5; grid-row: 4 / 6; }
.w5 { grid-column: 5 / 9; grid-row: 3 / 6; margin: 0; padding: 2rem; background: var(--red); display: flex; flex-direction: column; justify-content: space-between; }
.w5 p { font: 400 clamp(1.5rem, 2.3vw, 2.1rem)/1.1 var(--black); margin: 0; }
.w5 cite { font-style: normal; font-weight: 700; font-stretch: 80%; }

/* Booking */
.booking { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(4.5rem, 9vw, 7.5rem) var(--pad); background: var(--paper); color: var(--ink); }
.booking__intro > p { max-width: 30rem; margin-top: 1.2rem; }
.preview { position: sticky; top: 6rem; margin-top: 2.2rem; padding: 1.4rem; border: 3px solid var(--ink); background: var(--paper-2); }
.preview__limb { position: relative; height: 16rem; display: grid; place-items: center; border-radius: 48% 52% 46% 54% / 18% 18% 22% 22%; background: linear-gradient(90deg, #C99B7C, #DDB394 45%, #C99B7C); box-shadow: inset 0 0 30px rgba(90,50,30,.35); overflow: hidden; transition: border-radius .5s var(--ease), height .5s var(--ease); }
.preview__art { width: 40%; transition: width .35s var(--ease); }
.preview__art svg { width: 100%; height: auto; display: block; filter: saturate(.9); mix-blend-mode: multiply; }
.ruler { height: 1.4rem; margin-top: .9rem; background-image: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 100%); background-size: calc(100% / 30) 60%; background-repeat: repeat-x; border-bottom: 2px solid var(--ink); }
.preview__label { margin: .6rem 0 0; font-weight: 700; font-stretch: 80%; }
.form { display: grid; gap: 1.6rem; }
fieldset { margin: 0; padding: 0 0 1.4rem; border: 0; border-bottom: 2px dashed rgba(23,16,14,.25); }
legend { display: flex; justify-content: space-between; width: 100%; font: 400 1.9rem/1 var(--black); margin-bottom: .9rem; }
legend output { font: 800 1.1rem/1 var(--sans); font-stretch: 80%; color: var(--red); }
.seg, .places { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg label, .places label { position: relative; cursor: pointer; }
.seg input, .places input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span, .places span { display: block; padding: .55rem 1rem; border: 2px solid var(--ink); font-weight: 700; font-stretch: 85%; transition: background-color .2s, color .2s; }
.seg input:checked + span, .places input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span, .places input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.field { display: grid; gap: .3rem; margin-top: 1rem; font-weight: 600; font-stretch: 85%; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; padding: .75rem .85rem; border: 2px solid var(--ink); background: #F7EFDC; color: var(--ink); font-size: 1rem; border-radius: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.grid2 .field { margin-top: .6rem; }
.range { width: 100%; accent-color: var(--red); height: 2rem; }
.estimate { margin: .6rem 0 0; font-weight: 700; font-stretch: 85%; }
.estimate b { color: var(--red); }
.check { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.2rem; font-size: .95rem; }
.check input { width: 1.2rem; height: 1.2rem; accent-color: var(--red); margin-top: .15rem; }
.booking .btn { justify-self: start; box-shadow: 5px 5px 0 var(--ink); border-color: var(--ink); }
.booking .btn:hover { box-shadow: 7px 7px 0 var(--ink); }
.form__ok { padding: 1rem; background: var(--green); color: var(--paper); margin: 0; font-weight: 600; }

/* Aftercare */
.aftercare { padding: clamp(4.5rem, 9vw, 7.5rem) var(--pad); }
.aftercare h2 { margin-bottom: 2.6rem; }
.care { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: c; }
.care li { counter-increment: c; position: relative; padding: 1.4rem 1.4rem 1.6rem 0; margin-right: 1.4rem; border-top: 3px solid var(--paper); }
.care li::before { content: ""; position: absolute; top: -.6rem; left: 0; width: 1rem; height: 1rem; border-radius: 50%; background: var(--red); border: 3px solid var(--ink); box-shadow: 0 0 0 3px var(--paper); }
.care h3 { font: 400 1.9rem/1 var(--black); color: var(--gold); margin: .6rem 0 .8rem; }
.care p { color: #D2C5AB; font-size: .98rem; margin: 0; }

/* Footer */
.foot { display: flex; flex-wrap: wrap; gap: .4rem 2.4rem; align-items: baseline; padding: 2.4rem var(--pad) 3rem; border-top: 2px solid rgba(239,228,202,.15); color: var(--smoke); font-size: .95rem; }
.foot p { margin: 0; }
.foot__logo { font: 400 2rem/1 var(--black); color: var(--paper); margin-right: auto !important; }
.foot__credit { width: 100%; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero__photo { height: 62svh; }
  .hero__photo::after { background: linear-gradient(0deg, var(--ink), transparent 50%); }
  .hero__text { padding-top: 2rem; }
  .stamp { top: -4.5rem; right: var(--pad); }
  .sheet { grid-template-columns: repeat(3, 1fr); }
  .booking { grid-template-columns: 1fr; }
  .preview { position: relative; top: 0; }
  .care { grid-template-columns: 1fr 1fr; gap: 1rem 0; }
  .flash__head { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem; background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; z-index: -1; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .nav a { font: 400 2.6rem/1 var(--black); }
  .nav__book { border-width: 3px; padding: .5rem 1.2rem; }
  .sheet { grid-template-columns: repeat(2, 1fr); transform: none; }
  .fl__name { font-size: 1.35rem; }
  .work__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 11rem; }
  .w1 { grid-column: 1 / 2; grid-row: 1 / 3; }
  .w2 { grid-column: 2 / 3; grid-row: 1 / 2; }
  .w3 { grid-column: 2 / 3; grid-row: 2 / 4; }
  .w4 { grid-column: 1 / 2; grid-row: 3 / 4; }
  .w5 { grid-column: 1 / 3; grid-row: 4 / 6; }
  .grid2 { grid-template-columns: 1fr; }
  .care { grid-template-columns: 1fr; }
  .care li { margin-right: 0; }
  .hero h1 { font-size: 4.6rem; }
  .stamp { width: 6.8rem; height: 6.8rem; top: -3.6rem; }
  .stamp b { font-size: 1.3rem; }
  .stamp span { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
