/* ==========================================================================
   Dynamic Tattoo Studio - editorial article styling
   Scoped entirely under .dts-article so it cannot affect any other page.
   Built on the existing design tokens: gold #eab033, near-black #101010,
   Oswald (display) + Barlow (body). No new fonts, no new libraries.
   ========================================================================== */

/* The global stylesheet sets body{overflow-x:hidden!important}, which turns body
   into a scroll container and disables position:sticky. "clip" prevents the same
   horizontal scroll WITHOUT creating a scroll container, so the sticky TOC works.
   Scoped to this page only - the global rule is untouched. */
body.dts-page { overflow-x: clip !important; }

.dts-article {
    --gold: #eab033;
    --ink: #101010;
    --ink-2: #171717;
    --char: #1e1e1e;
    --rule: #2c2c2c;
    --paper: #ffffff;
    --body: #3a3a3a;
    --muted: #8a8a8a;
    --measure: 780px;
}

/* ---------- HERO ---------------------------------------------------------- */
.dts-hero {
    background: var(--ink);
    padding: 130px 0 0;
}
.dts-crumb {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 26px;
}
.dts-crumb a { color: var(--muted); text-decoration: none; transition: color .25s ease; }
.dts-crumb a:hover, .dts-crumb a:focus-visible { color: var(--gold); }
.dts-crumb span[aria-current] { color: #cfcfcf; }

.dts-eyebrow {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.dts-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    color: #fff;
    font-size: clamp(2.1rem, 4.6vw, 3.75rem);
    line-height: 1.06;
    letter-spacing: -0.5px;
    margin: 0 0 26px;
    max-width: 24ch;
    text-wrap: balance;
}
.dts-standfirst {
    font-family: 'Barlow', sans-serif;
    color: #b9b9b9;
    font-size: clamp(1.02rem, 1.5vw, 1.22rem);
    line-height: 1.7;
    max-width: 62ch;
    margin: 0 0 32px;
}
.dts-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
    font-family: 'Oswald', sans-serif;
    font-size: 11.5px; letter-spacing: 2.4px; text-transform: uppercase;
    color: var(--muted);
    padding: 20px 0 42px;
    border-top: 1px solid var(--rule);
}
.dts-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); display: inline-block; }
.dts-meta strong { color: #e4e4e4; font-weight: 400; }

/* featured image: dominant, sits half over the black hero and half over paper */
.dts-featured { background: linear-gradient(to bottom, var(--ink) 55%, #fff 55%); }
.dts-featured figure { margin: 0; overflow: hidden; }
.dts-featured img {
    display: block; width: 100%; height: auto;
    box-shadow: 0 30px 70px rgba(0,0,0,.45);
}

/* ---------- LAYOUT -------------------------------------------------------- */
.dts-body { background: #fff; padding: 62px 0 90px; }
.dts-main { max-width: var(--measure); }

/* ---------- SIDEBAR ------------------------------------------------------- */
.dts-side { position: sticky; top: 100px; }
.dts-side-block { margin-bottom: 34px; }
.dts-side-title {
    font-family: 'Oswald', sans-serif;
    font-size: 11.5px; letter-spacing: 3.4px; text-transform: uppercase;
    color: var(--ink); margin: 0 0 16px; padding-bottom: 12px;
    border-bottom: 1px solid #e4e4e4;
}
.dts-toc { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.dts-toc li { counter-increment: toc; margin: 0; }
.dts-toc a {
    display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start;
    padding: 8px 0 8px 12px;
    border-left: 2px solid #e8e8e8;
    font-family: 'Barlow', sans-serif; font-size: 14.5px; line-height: 1.45;
    color: #6a6a6a; text-decoration: none;
    transition: color .22s ease, border-color .22s ease;
}
.dts-toc a::before {
    content: counter(toc, decimal-leading-zero);
    font-family: 'Oswald', sans-serif; font-size: 11px; color: #c2c2c2;
    letter-spacing: 1px; padding-top: 2px; transition: color .22s ease;
}
.dts-toc a:hover, .dts-toc a:focus-visible { color: var(--ink); border-left-color: #bdbdbd; }
.dts-toc a.is-active { color: var(--ink); border-left-color: var(--gold); font-weight: 500; }
.dts-toc a.is-active::before { color: var(--gold); }

.dts-side-links { list-style: none; margin: 0; padding: 0; }
.dts-side-links li + li { border-top: 1px solid #ededed; }
.dts-side-links a {
    display: block; padding: 11px 0;
    font-family: 'Barlow', sans-serif; font-size: 15px; color: #4a4a4a; text-decoration: none;
    transition: color .22s ease, padding-left .22s ease;
}
.dts-side-links a:hover, .dts-side-links a:focus-visible { color: var(--ink); padding-left: 6px; }

.dts-side-cta { background: var(--ink); padding: 26px 24px; }
.dts-side-cta h4 {
    font-family: 'Oswald', sans-serif; color: #fff; font-size: 19px;
    line-height: 1.3; margin: 0 0 10px; font-weight: 400;
}
.dts-side-cta p { color: #a9a9a9; font-size: 14px; line-height: 1.65; margin: 0 0 18px; }
.dts-btn-gold, .dts-btn-ghost {
    display: inline-block; font-family: 'Oswald', sans-serif;
    font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase;
    padding: 13px 24px; text-decoration: none; transition: all .25s ease; border: 1px solid transparent;
}
.dts-btn-gold { background: var(--gold); color: #101010; }
.dts-btn-gold:hover, .dts-btn-gold:focus-visible { background: #fff; color: #101010; }
.dts-btn-ghost { border-color: #4a4a4a; color: #fff; }
.dts-btn-ghost:hover, .dts-btn-ghost:focus-visible { border-color: var(--gold); color: var(--gold); }

/* ---------- ARTICLE TYPE -------------------------------------------------- */
.dts-main { counter-reset: sec; }
.dts-main p {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(1.05rem, 1.15vw, 1.16rem);
    line-height: 1.82; color: var(--body); margin: 0 0 24px;
}
.dts-main p strong { color: var(--ink); font-weight: 600; }
.dts-main a { color: var(--ink); text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold));
    background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
    padding-bottom: 1px; transition: background-size .25s ease, color .25s ease; }
.dts-main a:hover, .dts-main a:focus-visible { color: #8a6a12; background-size: 100% 2px; }

.dts-intro p:first-of-type { font-size: clamp(1.16rem, 1.5vw, 1.32rem); line-height: 1.72; color: #2b2b2b; }
/* editorial drop cap - restrained, only on the opening paragraph */
.dts-intro p:first-of-type::first-letter {
    float: left; font-family: 'Oswald', sans-serif; font-weight: 500;
    font-size: 4.1em; line-height: .82; padding: 6px 14px 0 0; color: var(--ink);
}
.dts-rule { width: 62px; height: 2px; background: var(--gold); margin: 0 0 30px; border: 0; }

.dts-main h2 {
    counter-increment: sec;
    font-family: 'Oswald', sans-serif; font-weight: 500; color: var(--ink);
    font-size: clamp(1.72rem, 2.9vw, 2.4rem); line-height: 1.16;
    margin: 62px 0 22px; padding-top: 34px; border-top: 1px solid #ececec;
    text-wrap: balance;
}
/* section numbers generated from document order - never hardcoded */
.dts-main h2::before {
    content: counter(sec, decimal-leading-zero);
    display: block; font-size: 12px; letter-spacing: 4px; color: var(--gold);
    margin-bottom: 12px;
}
.dts-main h3 {
    font-family: 'Oswald', sans-serif; font-weight: 500; color: var(--ink);
    font-size: clamp(1.22rem, 1.7vw, 1.55rem); line-height: 1.3; margin: 40px 0 14px;
}

/* ---------- IMAGES -------------------------------------------------------- */
.dts-fig { margin: 34px 0 38px; }
.dts-fig img { display: block; width: 100%; height: auto; }
.dts-fig figcaption {
    font-family: 'Barlow', sans-serif; font-size: 13.5px; color: #8c8c8c;
    line-height: 1.6; margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--gold);
}
.dts-fig-zoom { overflow: hidden; }
.dts-fig-zoom img { transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.dts-fig-zoom:hover img { transform: scale(1.035); }
/* breaks the measure for a cinematic full-bleed moment */
.dts-fig--wide { margin-inline: calc(50% - 50vw); max-width: 100vw; padding: 0 5vw; }
.dts-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 34px 0 38px; }
.dts-grid2 figure { margin: 0; }
.dts-split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; margin: 38px 0; }
.dts-split figure { margin: 0; }


/* ---------- GALLERY ALIGNMENT ---------------------------------------------
   Images inside a shared grid get an identical container so bottom edges line up.
   The <img> is never stretched - the wrapper is ratio-locked and the image covers it.
   Sources in these grids sit between 0.70 and 0.89, so 3/4 crops each by <16%.
   Standalone feature images are deliberately left at their natural ratio. */
.dts-grid2, .dts-split { align-items: stretch; }
.dts-grid2 > figure, .dts-split > figure {
    aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink);
}
.dts-grid2 > figure > img, .dts-split > figure > img {
    width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block;
}
/* the split pairs image with text, so vertically centre the copy against the frame */
.dts-split { align-items: center; }
.dts-split > figure { align-self: stretch; }

/* Ultra-tall sources (ratio ~0.46 - full-limb sleeves). Cropping these to 3/4 would
   remove ~39% of the artwork, so they are CONTAINED inside the same frame instead.
   Nothing is cropped and the row height still matches its neighbours. */
.dts-fig--contain > img { object-fit: contain !important; background: var(--ink); }

/* ---------- CALLOUTS ------------------------------------------------------ */
.dts-callout {
    background: var(--ink-2); color: #d6d6d6; padding: 30px 32px; margin: 38px 0;
    border-left: 3px solid var(--gold);
}
.dts-callout h4 {
    font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 3.6px;
    text-transform: uppercase; color: var(--gold); margin: 0 0 14px; font-weight: 400;
}
.dts-callout p { color: #cfcfcf; margin: 0; font-size: 1.02rem; line-height: 1.75; }
.dts-callout p + p { margin-top: 12px; }

.dts-quick {
    border: 1px solid #e6e6e6; border-top: 3px solid var(--gold);
    background: #fbfbfb; padding: 26px 28px; margin: 34px 0;
}
.dts-quick h4 {
    font-family: 'Oswald', sans-serif; font-size: 11.5px; letter-spacing: 3.6px;
    text-transform: uppercase; color: #9a7a20; margin: 0 0 12px; font-weight: 400;
}
.dts-quick p { margin: 0; font-size: 1.06rem; line-height: 1.72; color: #2f2f2f; }

/* ---------- STYLE STRIP --------------------------------------------------- */
.dts-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 40px; }
.dts-style-card {
    position: relative; display: block; overflow: hidden; text-decoration: none;
    background: var(--ink); aspect-ratio: 3 / 4;
}
.dts-style-card img {
    width: 100%; height: 100%; object-fit: cover; opacity: .62;
    transition: opacity .35s ease, transform .7s cubic-bezier(.2,.7,.3,1);
}
.dts-style-card:hover img, .dts-style-card:focus-visible img { opacity: .42; transform: scale(1.06); }
.dts-style-card span {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
    font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 2.2px;
    text-transform: uppercase; color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
}
.dts-style-card:hover span, .dts-style-card:focus-visible span { color: var(--gold); }

/* ---------- ARTISTS ------------------------------------------------------- */
.dts-artists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0 14px; }
.dts-artist figure { margin: 0 0 14px; overflow: hidden; }
.dts-artist img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
    filter: grayscale(1); transition: filter .4s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.dts-artist:hover img { filter: grayscale(0); transform: scale(1.04); }
.dts-artist h4 { font-family: 'Oswald', sans-serif; font-size: 16px; letter-spacing: 1.4px;
    text-transform: uppercase; margin: 0 0 4px; color: var(--ink); font-weight: 500; }
.dts-artist p { font-size: 14px !important; color: #7d7d7d !important; margin: 0 !important; line-height: 1.5 !important; }

/* ---------- FAQ ----------------------------------------------------------- */
.dts-faq { margin: 26px 0 0; counter-reset: faq; border-top: 1px solid #e6e6e6; }
.dts-faq details { counter-increment: faq; border-bottom: 1px solid #e6e6e6; }
.dts-faq summary {
    display: grid; grid-template-columns: 34px 1fr 24px; align-items: center; gap: 8px;
    padding: 22px 4px; cursor: pointer; list-style: none;
    font-family: 'Oswald', sans-serif; font-size: clamp(1rem, 1.3vw, 1.14rem);
    font-weight: 400; color: var(--ink); line-height: 1.4;
    transition: color .22s ease;
}
.dts-faq summary::-webkit-details-marker { display: none; }
.dts-faq summary::before {
    content: counter(faq, decimal-leading-zero);
    font-size: 11.5px; letter-spacing: 1.5px; color: var(--gold);
}
.dts-faq summary::after {
    content: ""; justify-self: end; width: 13px; height: 13px;
    background:
      linear-gradient(var(--gold), var(--gold)) center/13px 1.5px no-repeat,
      linear-gradient(var(--gold), var(--gold)) center/1.5px 13px no-repeat;
    transition: transform .3s ease;
}
.dts-faq details[open] summary::after { transform: rotate(90deg); background-size: 13px 1.5px, 0 0; }
.dts-faq summary:hover, .dts-faq summary:focus-visible { color: #8a6a12; }
.dts-faq .dts-faq-a { padding: 0 4px 24px 42px; }
.dts-faq .dts-faq-a p { margin: 0; font-size: 1.02rem; line-height: 1.78; }

/* ---------- COMPARISON TABLE ---------------------------------------------- */
/* Wrapper scrolls horizontally on narrow screens so the page body never does. */
.dts-table-wrap {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    border: 1px solid #e6e6e6; margin: 34px 0 14px;
}
.dts-table { width: 100%; min-width: 660px; border-collapse: collapse; font-family: 'Barlow', sans-serif; }
.dts-table th, .dts-table td {
    text-align: left; vertical-align: top; padding: 16px 18px;
    border-bottom: 1px solid #ededed; font-size: 15px; line-height: 1.62; color: var(--body);
}
.dts-table thead th {
    background: var(--ink); color: #fff; border-bottom: 0;
    font-family: 'Oswald', sans-serif; font-weight: 400;
    font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap;
}
.dts-table tbody tr:nth-child(even) { background: #fafafa; }
.dts-table tbody tr:last-child td { border-bottom: 0; }
.dts-table td:first-child {
    font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 1.2px;
    text-transform: uppercase; color: var(--ink);
}
.dts-table-note {
    font-family: 'Barlow', sans-serif; font-size: 13.5px; color: #8c8c8c;
    line-height: 1.6; margin: 0 0 38px; padding-left: 14px; border-left: 2px solid var(--gold);
}

/* ---------- NUMBERED CHECKLIST / STEP LIST -------------------------------- */
.dts-list {
    list-style: none; margin: 26px 0 36px; padding: 0;
    counter-reset: dts-li; border-top: 1px solid #ececec;
}
/* The counter is positioned, NOT a grid/flex child: these items mix <strong>,
   plain text and <a> in one sentence, and any grid on the <li> would promote
   every one of those inline runs to a separate track and shatter the sentence. */
.dts-list li {
    counter-increment: dts-li; position: relative;
    padding: 16px 2px 16px 50px; border-bottom: 1px solid #ececec;
    font-size: 1.02rem; line-height: 1.72; color: var(--body);
}
.dts-list li::before {
    content: counter(dts-li, decimal-leading-zero);
    position: absolute; left: 2px; top: 23px;
    font-family: 'Oswald', sans-serif; font-size: 11.5px; letter-spacing: 1.5px;
    color: var(--gold);
}
.dts-list li strong { color: var(--ink); font-weight: 600; }

/* ---------- CLOSING CTA --------------------------------------------------- */
.dts-cta { background: var(--ink); padding: 76px 0; text-align: center; }
.dts-cta .dts-eyebrow { margin-bottom: 16px; }
.dts-cta h2 {
    font-family: 'Oswald', sans-serif; font-weight: 500; color: #fff;
    font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.15; margin: 0 auto 18px; max-width: 20ch;
}
.dts-cta p { color: #a9a9a9; max-width: 56ch; margin: 0 auto 32px; font-size: 1.06rem; line-height: 1.75; }
.dts-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.dts-explore { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 46px; }
.dts-explore a {
    display: block; padding: 20px 16px; text-decoration: none; border: 1px solid var(--rule);
    font-family: 'Oswald', sans-serif; font-size: 12.5px; letter-spacing: 2px;
    text-transform: uppercase; color: #cfcfcf; transition: all .25s ease;
}
.dts-explore a:hover, .dts-explore a:focus-visible { border-color: var(--gold); color: var(--gold); }

/* ---------- MOBILE TOC ---------------------------------------------------- */
.dts-toc-mobile { display: none; border: 1px solid #e4e4e4; margin: 0 0 34px; }
.dts-toc-mobile summary {
    padding: 15px 18px; cursor: pointer; list-style: none;
    font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 3px;
    text-transform: uppercase; color: var(--ink);
    display: flex; justify-content: space-between; align-items: center;
}
.dts-toc-mobile summary::-webkit-details-marker { display: none; }
.dts-toc-mobile summary::after { content: "+"; color: var(--gold); font-size: 18px; line-height: 1; }
.dts-toc-mobile[open] summary::after { content: "\2013"; }
.dts-toc-mobile .dts-toc { padding: 4px 18px 18px; max-height: 46vh; overflow-y: auto; }

/* ---------- FOCUS / MOTION ------------------------------------------------ */
.dts-article a:focus-visible,
.dts-article summary:focus-visible {
    outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 1px;
}
@media (prefers-reduced-motion: reduce) {
    .dts-article *, .dts-article *::before, .dts-article *::after {
        transition-duration: .01ms !important; animation-duration: .01ms !important;
    }
    html { scroll-behavior: auto !important; }
}

/* ---------- RESPONSIVE ---------------------------------------------------- */
@media (max-width: 991px) {
    .dts-hero { padding-top: 108px; }
    .dts-side { position: static; margin-top: 54px; }
    .dts-toc-mobile { display: block; }
    .dts-side .dts-side-block--toc { display: none; }
    .dts-styles { grid-template-columns: repeat(3, 1fr); }
    .dts-explore { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .dts-hero { padding-top: 96px; }
    .dts-hero h1 { max-width: none; }
    .dts-meta { padding-bottom: 32px; gap: 8px 14px; font-size: 10.5px; letter-spacing: 1.8px; }
    .dts-body { padding: 40px 0 64px; }
    .dts-main h2 { margin-top: 48px; padding-top: 28px; }
    .dts-split, .dts-grid2 { grid-template-columns: 1fr; gap: 18px; }
    .dts-grid2 > figure, .dts-split > figure { aspect-ratio: 4 / 5; }
    .dts-styles { grid-template-columns: repeat(2, 1fr); }
    .dts-artists { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .dts-artist h4 { font-size: 13px; letter-spacing: .6px; }
    .dts-artist p { font-size: 12px !important; }
    .dts-fig--wide { margin-inline: 0; max-width: 100%; padding: 0; }
    .dts-callout, .dts-quick { padding: 22px 20px; }
    .dts-faq summary { grid-template-columns: 28px 1fr 20px; padding: 18px 2px; }
    .dts-faq .dts-faq-a { padding-left: 36px; }
    .dts-table th, .dts-table td { padding: 13px 14px; font-size: 14px; }
    .dts-table-wrap { margin-inline: -4px; }
    .dts-list li { padding: 14px 2px 14px 38px; }
    .dts-list li::before { top: 20px; }
    .dts-intro p:first-of-type::first-letter { font-size: 3.4em; padding-right: 10px; }
    .dts-cta { padding: 56px 0; }
    .dts-cta-actions .dts-btn-gold, .dts-cta-actions .dts-btn-ghost { width: 100%; text-align: center; }
}
@media (max-width: 420px) {
    .dts-artists { grid-template-columns: 1fr; }
    .dts-styles { grid-template-columns: 1fr; }
    .dts-explore { grid-template-columns: 1fr; }
}
