/* Xyncema Ink — bone paper, ink black, one red used only where the studio says no. Square corners, a serif
   that looks drawn rather than set, and no image treated as a portfolio piece. */

[data-theme="tattoo"] body { background: var(--bg); color: var(--text); font-family: var(--font-body); }
.tt-wrap { width: min(100% - 2.5rem, 74rem); margin-inline: auto; }
.tt-muted { color: var(--muted); }
.tt-h1, .tt-h2, .tt-h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
.tt-h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.8rem); }
.tt-h2 { font-size: clamp(1.55rem, 1.3rem + 1.4vw, 2.3rem); }
.tt-h3 { font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.45rem); }
.tt-h4 { font: 600 0.95rem/1.35 var(--font-body); margin: 0; letter-spacing: 0.01em; }
.tt-h2 a, .tt-h3 a { color: inherit; text-decoration: none; }
.tt-h2 a:hover, .tt-h3 a:hover { color: var(--secondary); text-decoration: underline; text-underline-offset: 5px; }
.tt-eyebrow { display: inline-block; font: 500 0.72rem/1 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--secondary); margin: 0 0 0.9rem; }
.tt-lead { font-size: clamp(1rem, 0.96rem + 0.3vw, 1.1rem); line-height: 1.8; color: var(--muted); }

/* ---------- Header ---------- */
.tt-notice { background: var(--surface-2); color: var(--on-surface-2); font-size: 0.8125rem; line-height: 1.45; padding: 0.5rem 0; }
.tt-notice p { margin: 0; }
.tt-header { position: sticky; top: 0; z-index: 30; background: rgba(239, 237, 232, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.tt-header__row { display: flex; align-items: center; gap: 1.25rem; min-height: 4.25rem; }
.tt-logo { display: flex; align-items: baseline; gap: 0.5rem; text-decoration: none; color: var(--text); margin-right: auto; }
.tt-logo svg { width: 1.4rem; height: 1.4rem; color: var(--secondary); align-self: center; }
.tt-logo span { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; line-height: 1; letter-spacing: 0.01em; }
.tt-logo small { font-size: 0.66rem; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; }
.tt-nav { display: flex; gap: 1.5rem; }
.tt-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.4rem 0; border-bottom: 1px solid transparent; }
.tt-nav a:hover, .tt-nav a[aria-current="page"] { border-bottom-color: var(--secondary); }
.tt-toggle { display: none; background: none; border: 1px solid var(--border); width: 2.75rem; height: 2.75rem; padding: 0.6rem; color: var(--text); cursor: pointer; }
.tt-toggle svg { width: 100%; height: 100%; }
.tt-mobile { display: none; flex-direction: column; padding-bottom: 1rem; }
.tt-mobile a { padding: 0.85rem 0; border-top: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.875rem; }
.tt-mobile[data-open] { display: flex; }
@media (max-width: 1020px) { .tt-nav, .tt-header .tt-btn { display: none; } .tt-toggle { display: block; } }

/* ---------- Buttons ---------- */
.tt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 2.9rem; padding: 0 1.5rem; border: 1px solid var(--primary); background: var(--primary); color: var(--on-primary); font: 500 0.82rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.tt-btn:hover { background: var(--secondary); border-color: var(--secondary); }
.tt-btn--line { background: transparent; color: var(--primary); }
.tt-btn--line:hover { background: var(--primary); color: var(--on-primary); }
.tt-btn--ghost { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.65); }
.tt-btn--ghost:hover { background: #FFFFFF; color: var(--text); border-color: #FFFFFF; }
.tt-btn svg { width: 1rem; height: 1rem; }

/* ---------- Sections ---------- */
.tt-section { padding-block: clamp(2.75rem, 2rem + 3.5vw, 5.25rem); }
.tt-section--pale { background: var(--surface); }
.tt-section--deep { background: var(--surface-2); color: var(--on-surface-2); }
.tt-section--deep .tt-eyebrow { color: #E4868F; }
.tt-section--deep .tt-list li::before { background: #E4868F; }
.tt-section--deep :focus-visible { outline-color: #E4868F; }
.tt-head { display: grid; gap: 0.7rem; margin-bottom: 2rem; max-width: 48rem; }

/* ---------- Hero ---------- */
.tt-hero { position: relative; overflow: hidden; display: grid; }
.tt-hero__media, .tt-hero__inner { grid-area: 1 / 1; }
.tt-hero__media { position: relative; min-height: min(66vh, 620px); }
.tt-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tt-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 10, 0.5) 0%, rgba(8, 8, 10, 0.6) 40%, rgba(8, 8, 10, 0.93) 100%); }
.tt-hero__inner { position: relative; z-index: 1; display: grid; align-content: end; padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem); color: #FFFFFF; }
.tt-hero h1 { max-width: 14ch; }
.tt-hero__copy { max-width: 52ch; line-height: 1.8; margin: 1.2rem 0 1.7rem; color: #CFCAC2; }
.tt-hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Planner ---------- */
.tt-grid2 { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.25rem, 3vw, 2.25rem); align-items: start; }
.tt-card { background: var(--surface); border: 1px solid var(--border); padding: clamp(1.15rem, 2.4vw, 1.8rem); }
.tt-form { display: grid; gap: 1.7rem; position: sticky; top: 6rem; }
.tt-set { border: 0; margin: 0; padding: 0; min-width: 0; min-inline-size: 0; }
.tt-set > legend { font: 500 0.72rem/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--secondary); padding: 0; margin-bottom: 0.85rem; }
.tt-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tt-chips label { position: relative; }
.tt-chips input { position: absolute; opacity: 0; width: 0; height: 0; }
.tt-chips span { display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0 1rem; border: 1px solid var(--border); background: var(--bg); font-size: 0.9rem; cursor: pointer; }
.tt-chips label:has(input:checked) span { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.tt-chips label:has(input:focus-visible) span { outline: 2px solid var(--focus); outline-offset: 2px; }

.tt-result { display: grid; gap: 1.3rem; }
.tt-hours { margin: 0; color: var(--muted); }
.tt-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.tt-dates li { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: 0.8rem; align-items: start; padding: 0.7rem 0.85rem; background: var(--bg); border-left: 2px solid var(--primary); }
.tt-dates__n { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 1px solid var(--primary); font-size: 0.78rem; font-weight: 600; }
.tt-dates small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; }
.tt-band { margin: 0; display: grid; gap: 0.25rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.tt-band b { font-family: var(--font-heading); font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); font-variant-numeric: tabular-nums; }
.tt-band span { color: var(--muted); font-size: 0.87rem; line-height: 1.6; }
.tt-deposit { padding: 1rem 1.15rem; background: var(--bg); border-left: 2px solid var(--secondary); }
.tt-deposit p { margin: 0.45rem 0 0; font-size: 0.9rem; line-height: 1.75; }
.tt-refuse { margin: 0; padding: 1.2rem 1.35rem; background: #F7E9EA; border-left: 3px solid var(--secondary); line-height: 1.85; }
.tt-refuse b { color: var(--secondary); }
.tt-alt { padding: 1rem 1.15rem; border: 1px solid var(--border); }
.tt-alt p { margin: 0.45rem 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.75; }
.tt-note { margin: 0; padding: 0.9rem 1.05rem; background: var(--bg); border-left: 2px solid var(--border); font-size: 0.89rem; line-height: 1.8; color: var(--muted); }
.tt-note.is-warn { border-left-color: var(--secondary); background: #F9EFEF; color: var(--text); }
.tt-bignote { margin: 0.9rem 0 0; padding: 1.2rem 1.4rem; border-left: 3px solid var(--secondary); background: var(--bg); line-height: 1.85; max-width: 52rem; }
.tt-section--pale .tt-bignote { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--secondary); }
.tt-check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.65rem; align-items: start; cursor: pointer; }
.tt-check input { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; accent-color: var(--secondary); }
.tt-check span { font-size: 0.92rem; line-height: 1.55; font-weight: 500; }
.tt-check small { display: block; color: var(--muted); font-weight: 400; font-size: 0.83rem; margin-top: 0.2rem; }
.tt-book { padding-top: 1.2rem; border-top: 1px solid var(--border); display: grid; gap: 0.9rem; }
.tt-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; }
.tt-ok { display: flex; gap: 0.6rem; align-items: center; margin: 0 0 1.1rem; font-weight: 600; }
.tt-ok svg { flex: none; width: 1.5rem; height: 1.5rem; padding: 0.25rem; background: var(--secondary); color: #FFFFFF; }

/* ---------- Content blocks ---------- */
.tt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.tt-info { padding: 1.25rem 1.35rem; border: 1px solid var(--border); background: var(--surface); }
.tt-section--pale .tt-info { background: var(--bg); }
.tt-info p { margin: 0.5rem 0 0; color: var(--muted); line-height: 1.8; font-size: 0.92rem; }
.tt-list { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.65rem; max-width: 52rem; }
.tt-list li { display: flex; gap: 0.7rem; line-height: 1.8; }
.tt-list li::before { content: ""; flex: none; width: 0.35rem; height: 0.35rem; margin-top: 0.75rem; background: var(--secondary); }
.tt-list.is-no li::before { background: var(--secondary); }
.tt-faq { display: grid; gap: 0.4rem; max-width: 54rem; }
.tt-faq details { border: 1px solid var(--border); background: var(--surface); }
.tt-section--pale .tt-faq details { background: var(--bg); }
.tt-faq summary { padding: 1rem 1.2rem; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.tt-faq summary::-webkit-details-marker { display: none; }
.tt-faq summary::after { content: "+"; color: var(--secondary); }
.tt-faq details[open] summary::after { content: "\2212"; }
.tt-faq p { margin: 0; padding: 0 1.2rem 1.2rem; color: var(--muted); line-height: 1.85; }

/* ---------- Cards, table ---------- */
.tt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.25rem; }
.tt-sc { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--border); background: var(--surface); }
.tt-section--pale .tt-sc { background: var(--bg); }
.tt-sc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.tt-sc__body { padding: 1.1rem 1.25rem 1.3rem; display: grid; gap: 0.5rem; align-content: start; }
.tt-sc__body p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 0.92rem; }
.tt-sc__meta { font-size: 0.74rem !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--secondary) !important; }
.tt-tablewrap { overflow-x: auto; padding-bottom: 0.4rem; }
.tt-table { width: 100%; min-width: 30rem; border-collapse: collapse; }
.tt-table th, .tt-table td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.tt-table thead th { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--secondary); }
.tt-table tbody th { font-weight: 600; }

/* ---------- Collection & detail ---------- */
.tt-pagehead { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1.75rem, 3vw, 2.5rem); background: var(--surface); border-bottom: 1px solid var(--border); }
.tt-dhead { padding-block: clamp(1.75rem, 3vw, 2.75rem) clamp(2rem, 3.5vw, 3.25rem); background: var(--surface); border-bottom: 1px solid var(--border); }
.tt-crumb { margin: 0 0 1.4rem; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tt-crumb a { color: var(--muted); }
.tt-dgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.tt-dgrid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.tt-dmeta { margin: 0.9rem 0 0; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--secondary); }
.tt-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.tt-thumb { padding: 0; border: 1px solid var(--border); overflow: hidden; background: none; cursor: pointer; }
.tt-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.tt-thumb:hover img { opacity: 0.85; }

/* ---------- Footer ---------- */
.tt-footer { background: var(--surface-2); color: var(--on-surface-2); padding-block: clamp(2.5rem, 4vw, 3.75rem) 2rem; }
.tt-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(9rem, 1fr)); gap: 2rem; }
.tt-footer .tt-logo { color: var(--on-surface-2); }
.tt-footer .tt-logo svg { color: #E4868F; }
.tt-footer .tt-logo small { color: #9D9992; }
.tt-footer__grid p { margin: 0.8rem 0 0; color: #BAB6AF; line-height: 1.7; font-size: 0.92rem; max-width: 32ch; }
.tt-footer h3 { font: 500 0.7rem/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: #E4868F; margin: 0 0 1rem; }
.tt-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.tt-footer a { color: var(--on-surface-2); text-decoration: none; font-size: 0.92rem; }
.tt-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tt-footer__note { margin: 2.5rem 0 1.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.16); color: #9D9992; font-size: 0.84rem; line-height: 1.7; }
.tt-footer .xy-attribution, .tt-footer .xy-attribution a { color: #9D9992; }
.tt-footer :focus-visible { outline-color: #E4868F; }

/* ---------- Narrow ---------- */
@media (max-width: 1000px) {
  .tt-grid2 { grid-template-columns: minmax(0, 1fr); }
  .tt-form { position: static; }
  .tt-dgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .tt-wrap { width: min(100% - 1.75rem, 74rem); } }
