:root { --service-gold: #968060; }

/* Concept A: image-led opening and service-specific miniature visuals. */
html[data-page="home"] .image-hero {
 position: relative; isolation: isolate; color: #f3efe7;
 border-bottom: 1px solid var(--service-gold);
 background: #102126 url('./assets/chester-hero-concept.png') center 55% / cover no-repeat;
}
.image-hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
 background: linear-gradient(90deg,rgba(9,29,34,.95),rgba(9,29,34,.64) 46%,rgba(9,29,34,.12)),linear-gradient(0deg,rgba(9,29,34,.8),transparent 40%); }
.image-hero-inner { padding-block: 24px; }
.studio-eyebrow { display: flex; align-items: center; gap: 10px; color: #a5cdc5; font-size: 11px; line-height: 1.6; margin: 0; }
.studio-eyebrow img { width: 16px; height: 22px; object-fit: contain; }
.image-hero-copy { padding-block: 32px 42px; max-width: 650px; }
.image-hero h1 { color: #f3efe7; font: 400 clamp(44px,5.3vw,76px)/1.04 var(--serif); letter-spacing: -.04em; margin: 0 0 24px; }
.image-hero h1 em { color: #f3efe7; font-weight: 400; }
.hero-benefits { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; font-size: 17px; }
.hero-benefits li { display: flex; align-items: center; gap: 12px; }
.hero-benefits li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #9ccbc3; flex: none; }
.hero-meeting.button { background: #9ccbc3; color: #102126; min-height: 48px; }
.studio-tiles { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.studio-tile { position: relative; display: grid; grid-template-columns: 76px minmax(0,1fr); grid-template-rows: auto auto;
 align-content: center; column-gap: 14px; min-height: 110px; padding: 16px;
 color: #f3efe7; background: rgba(16,37,42,.94); border: 1px solid var(--service-gold); border-radius: 12px;
 transition: border-color .2s,box-shadow .2s,transform .2s; text-decoration: none; }
.studio-tile:focus-visible { border-color: #e4c28f; box-shadow: 0 0 20px #d3b88b33,inset 0 0 12px #d3b88b0d; transform: translateY(-3px); outline: 2px solid transparent; }
.studio-tile:focus-visible { outline-color: #e4c28f; outline-offset: 3px; }
.studio-tile:active { transform: scale(.98); background: #284348; }
.tile-art { grid-row: 1/3; align-self: center; min-width: 0; }
.tile-label { align-self: end; font-size: 14px; font-weight: 600; line-height: 1.4; padding-right: 10px; }
.tile-description { font-size: 11px; line-height: 1.5; color: #c1d3d0; margin-top: 5px; }
.tile-arrow { position: absolute; right: 9px; top: 8px; font-size: 14px; color: #d3b88b; }
.tile-preview { width: 76px; height: 66px; border: 1px solid #7c928b; border-radius: 5px; position: relative; overflow: hidden; background: #102126; }
.mini-toolbar { height: 9px; border-bottom: 1px solid #647977; display: flex; gap: 3px; align-items: center; padding-left: 4px; }
.mini-toolbar i { width: 3px; height: 3px; border-radius: 50%; background: #d3b88b; }
.preview-website img { width: 29px; height: 29px; position: absolute; top: 14px; right: 4px; object-fit: contain; }
.mini-headline,.mini-copy,.mini-cta { position: absolute; left: 7px; display: block; border-radius: 1px; }
.mini-headline { top: 20px; width: 26px; height: 4px; background: #f3efe7; box-shadow: 0 7px #a5cdc5; }
.mini-copy { top: 38px; width: 26px; height: 2px; background: #758e88; }
.mini-cta { top: 47px; width: 21px; height: 7px; background: #9ccbc3; }
.preview-security { display: flex; align-items: center; justify-content: space-around; padding: 7px; }
.access-person { width: 13px; height: 13px; background: #a5cdc5; border-radius: 50%; position: relative; }
.access-person::after { content: ''; position: absolute; width: 21px; height: 10px; background: #a5cdc5; border-radius: 7px 7px 2px 2px; top: 16px; left: -4px; }
.access-lines { display: grid; gap: 12px; }
.access-lines i { width: 12px; height: 1px; background: #968060; }
.access-checks { display: grid; gap: 2px; color: #a5cdc5; font-size: 11px; }
.preview-workflow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.preview-workflow span { border: 1px solid #968060; border-radius: 2px; padding: 0 5px; font-size: 7px; line-height: 12px; color: #f3efe7; }
.preview-workflow i { height: 4px; width: 1px; background: #a5cdc5; }
.preview-brand img { position: absolute; left: 1px; top: 2px; width: 43px; height: 43px; object-fit: contain; }
.brand-type { position: absolute; right: 5px; top: 8px; font: 24px/1 var(--serif); color: #f3efe7; }
.brand-palette { position: absolute; bottom: 7px; left: 9px; right: 9px; display: flex; gap: 4px; }
.brand-palette i { flex: 1; height: 7px; background: #a5cdc5; border-radius: 1px; }
.brand-palette i:nth-child(2) { background: #d3b88b; }.brand-palette i:nth-child(3) { background: #f3efe7; }
.rows-billboard { position: relative; height: 84px; border-block: 1px solid #968060; background: #182e33 url('./assets/rows-miniature.svg') center/auto 80px repeat-x; overflow: hidden; }
.rows-billboard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg,transparent 35%,#e3bdac44 50%,transparent 65%); transform: translateX(-100%); }
.intro .welcome-logo { width: min(65vw,300px); height: auto; object-fit: contain; filter: drop-shadow(0 0 14px #d3b88b33); }
.intro .intro-line { max-width: 90vw; text-align: center; line-height: 1.6; }
.contact-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-buttons a.button { flex: 1 1 130px; justify-content: center; text-decoration: none; background: #9ccbc3; color: #102126; min-height: 48px; border: 1px solid #968060; }
.scroll-meeting { position: fixed; bottom: max(18px,env(safe-area-inset-bottom)); right: 20px; z-index: 35; background: #9ccbc3; color: #102126; border: 1px solid #968060; box-shadow: 0 4px 20px #0005; min-height: 48px; }
.scroll-meeting[hidden] { display: none; }
@media (min-width:731px) and (max-width:1100px) {
 .studio-tile { grid-template-columns: 60px minmax(0,1fr); column-gap: 10px; padding: 12px; }
 .tile-preview { transform: scale(.78); transform-origin: left center; margin-right: -16px; }
 .tile-label { font-size: 12px; }.tile-description { font-size: 10px; }
}
@media (max-width:730px) {
 html[data-page="home"] .image-hero { background-position: 62% center; }
 .image-hero::before { background: linear-gradient(90deg,#102126ed,#10212666),linear-gradient(0deg,#102126ed,transparent 75%); }
 .image-hero-inner { padding-block: 18px; }
 .studio-eyebrow { font-size: 8px; letter-spacing: .08em; gap: 8px; }
 .image-hero-copy { padding-block: 28px 30px; }
 .image-hero h1 { font-size: clamp(38px,10vw,54px); margin-bottom: 22px; }
 .hero-benefits { font-size: 14px; gap: 10px; margin-bottom: 24px; }
 .studio-tiles { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 .studio-tile { display: flex; align-items: center; justify-content: center; text-align: center;
   min-height: 54px; padding: 12px 8px; gap: 0; border-radius: 8px; }
 .studio-tile .tile-art,.studio-tile .tile-description,.studio-tile .tile-arrow { display: none; }
 .studio-tile .tile-label { font-size: 13px; padding: 0; line-height: 1.35; }
 .studio-tile:active { transform: none; background: #284348; }
 .rows-billboard { height: 66px; background-size: auto 62px; }
 .contact-buttons a.button { flex-basis: 100%; }
 .scroll-meeting { bottom: 12px; right: 12px; font-size: 12px; padding: 12px 16px; }
}
@media (prefers-reduced-motion:no-preference) {
 html[data-motion="on"] .intro:not([hidden]) .welcome-logo { animation: welcome-clock 1.2s ease-out both; }
 html[data-motion="on"] .rows-billboard::after { animation: rows-sheen 10s linear infinite; }
 html[data-motion="on"] .studio-tile:hover .mini-cta,
 html[data-motion="on"] .studio-tile:focus-visible .mini-cta { animation: service-glow 1.6s ease-in-out infinite alternate; }
 @keyframes welcome-clock { from { opacity: 0; transform: scale(.93); } to { opacity: 1; transform: scale(1); } }
 @keyframes rows-sheen { to { transform: translateX(100%); } }
 @keyframes service-glow { to { box-shadow: 0 0 7px #a5cdc5; } }
}
@media (prefers-reduced-motion:reduce) { .studio-tile { transition: none; } }
html[data-motion="off"] .studio-tile { transition: none; }

/* Pointer hover is decorative; touch links work on the first tap. */
@media (hover:hover) and (pointer:fine) {
 .studio-tile:hover { border-color: #e4c28f; box-shadow: 0 0 20px #d3b88b33,inset 0 0 12px #d3b88b0d; transform: translateY(-3px); }
}
/* Two short question columns avoid the tall empty desktop introduction column. */
@media (min-width:951px) {
 [data-view="home"] .faq-grid { grid-template-columns: minmax(210px,.7fr) minmax(0,2fr); gap: 32px; padding-top: 22px; align-items: start; }
 [data-view="home"] .faq-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 28px; align-items: start; }
 [data-view="home"] .faq-list summary { min-height: 54px; padding-block: 16px; }
 [data-view="home"] .faq-list summary::after { top: 15px; }
}

/* Carry the header's gold through homepage outlines and colour changes. */
html[data-page="home"] [data-view="home"] :is(.feature-card,.work-card,.home-price-entry,.service-note,.services-tail,.faq-grid,.faq-list details,.roman-note,.process-item) { border-color: var(--service-gold); }
html[data-page="home"] #process { border-bottom: 1px solid var(--service-gold); }
html[data-page="home"] .feature-card .feature-top { border-bottom: 1px solid var(--service-gold); }
html[data-page="home"] :is(.rows-billboard,.footer-bottom) { border-color: var(--service-gold); }
html[data-page="home"] .footer { border-top: 0; }
/* The racecourse fills the desktop introduction without lengthening mobile. */
html[data-page="home"] #process .roodee-map { display: block; width: min(100%,260px); margin: 12px 0 0; }
@media (max-width:730px) {
 html[data-page="home"] #process .roodee-map { display: none; }
}

/* V5.9.17: one compact mobile Getting started panel. */
@media (max-width:730px) {
 html[data-page="home"] #process .process-layout { display: block; }
 html[data-page="home"] #process .process-intro h2 { font-size: 32px; line-height: 1.1; }
 html[data-page="home"] #process .process-intro p { margin: 8px 0 14px; font-size: 12px; line-height: 1.6; max-width: none; }
 html[data-page="home"] #process .process-tabs { border: 1px solid var(--service-gold); border-radius: 10px; overflow: hidden; background: #102126; }
 html[data-page="home"] #process .process-item { border-top: 0; }
 html[data-page="home"] #process .process-item + .process-item { border-top: 1px solid var(--service-gold); }
 html[data-page="home"] #process .process-item:last-child { border-bottom: 0; }
 html[data-page="home"] #process .process-item summary { grid-template-columns: minmax(0,1fr) 18px; min-height: 48px; padding: 10px 14px; gap: 10px; font-size: 13px; }
 html[data-page="home"] #process .process-marker { display: none; }
 html[data-page="home"] #process .process-indicator { text-align: center; color: #d3b88b; }
 html[data-page="home"] #process .process-body { padding: 0 14px 14px; font-size: 12px; line-height: 1.65; }
 html[data-page="home"] #process .contact-buttons { gap: 8px; }
 html[data-page="home"] #process .contact-buttons .button { min-height: 44px; font-size: 12px; padding: 10px 12px; }
}

/* V5.9.18: gold illustrated markers on the right of mobile process rows. */
@media (max-width:730px) {
 html[data-page="home"] #process .process-item summary { grid-template-columns: minmax(0,1fr) 18px; }
 html[data-page="home"] #process .process-marker { display: block; width: 15px; height: 19px; object-fit: contain; grid-column: 2; grid-row: 1; justify-self: center; }
 html[data-page="home"] #process .process-item summary > span:not(.process-indicator) { grid-column: 1; grid-row: 1; }
 html[data-page="home"] #process .process-indicator { display: none; }
}

/* V5.9.19: use the approved accordion treatment at every screen size. */
html[data-page="home"] #process .process-tabs { border: 1px solid var(--service-gold); border-radius: 10px; overflow: hidden; background: #102126; }
html[data-page="home"] #process .process-item { border-top: 0; }
html[data-page="home"] #process .process-item + .process-item { border-top: 1px solid var(--service-gold); }
html[data-page="home"] #process .process-item:last-child { border-bottom: 0; }
html[data-page="home"] #process .process-item summary { grid-template-columns: minmax(0,1fr) 18px; padding: 10px 14px; gap: 10px; }
html[data-page="home"] #process .process-marker { display: block; width: 15px; height: 19px; object-fit: contain; grid-column: 2; grid-row: 1; justify-self: center; }
html[data-page="home"] #process .process-item summary > span:not(.process-indicator) { grid-column: 1; grid-row: 1; }
html[data-page="home"] #process .process-indicator { display: none; }
html[data-page="home"] #process .process-body { padding: 0 14px 14px; }
