/* Salon 38: the salon's colour ring. Black and white of the logo's line-art, hair swatches in the
   colours measured on the salon's own colour work. Syne (display) + DM Sans (text). One light theme
   with black bands. */

@font-face {
    font-family: "Syne";
    src: url("/fonts/syne.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}
@font-face {
    font-family: "DM Sans";
    src: url("/fonts/dm-sans.woff2") format("woff2");
    font-weight: 100 1000;
    font-display: swap;
}

:root {
    --night: #000000;
    --night-2: #151217;
    --night-3: #221d26;
    --line: #f6f4f7;
    --line-2: #c9c2ce;
    --page: #eef2f5;
    --sheet: #ffffff;
    --ink: #18131c;
    --ink-2: #4a4352;
    --rule: #d5dbe1;
    --mag: #c2207a;
    --mag-deep: #9a1560;
    --mag-lit: #ff7dbd;
    /* the swatches */
    --s-platinum: #d9eaf5;
    --s-ash: #c6c7c4;
    --s-honey: #a88558;
    --s-red: #ec0f3d;
    --s-magenta: #c2207a;
    --s-violet: #553882;
    --s-cobalt: #15247c;
    --s-teal: #0d7f7d;
    --s-green: #40645e;
    --s-brunette: #302529;
    --swatch-stripe: linear-gradient(90deg,
        var(--s-platinum) 0 9.09%, var(--s-ash) 0 18.18%, var(--s-honey) 0 27.27%, var(--s-red) 0 36.36%,
        var(--s-magenta) 0 45.45%, var(--s-violet) 0 54.54%, var(--s-cobalt) 0 63.63%, var(--s-teal) 0 72.72%,
        var(--s-green) 0 81.81%, var(--s-brunette) 0 90.9%, #4b4550 0 100%);
    --focus: var(--mag);
    --display: "Syne", "Arial Black", system-ui, sans-serif;
    --text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --radius: 22px;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; }
body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font: 400 1.0625rem/1.6 var(--text);
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.9rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
abbr[title] { text-decoration: none; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
    position: absolute; left: 16px; top: -100px; z-index: 100;
    background: var(--line); color: var(--ink); padding: .6em 1em; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* dark surfaces */
.top, .hero, .page-hero, .night, .foot { --focus: var(--mag-lit); background: var(--night); color: var(--line); }

/* buttons */
.btn {
    display: inline-flex; align-items: center; gap: .5em;
    padding: .85em 1.4em; border-radius: 999px; border: 2px solid var(--mag);
    background: var(--mag); color: #fff; font: 700 1rem/1.1 var(--text); text-decoration: none;
    transition: background-color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--mag-deep); border-color: var(--mag-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--line); }
.btn-ghost:hover { background: var(--line); border-color: var(--line); color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.more {
    font-weight: 700; text-decoration: none; white-space: nowrap;
    border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.more:hover { color: var(--mag); }
.night .more:hover { color: var(--mag-lit); }

/* header */
.top {
    position: sticky; top: 0; z-index: 50;
    background: rgba(0, 0, 0, .86);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.top-row { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-block: 8px; }
.brand { flex: none; border-radius: 6px; }
.brand img { height: 76px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 2px; margin-left: auto; }
.nav a {
    padding: .5em .8em; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .98rem;
    color: var(--line-2);
}
.nav a:hover { color: var(--line); background: var(--night-3); }
.nav a[aria-current] { color: var(--line); background: var(--night-3); box-shadow: inset 0 -2px 0 var(--mag-lit); }
.call {
    display: inline-flex; align-items: center; gap: .45em; flex: none;
    padding: .6em 1.05em; border-radius: 999px; background: var(--mag); color: #fff;
    font-weight: 700; text-decoration: none; white-space: nowrap;
}
.call:hover { background: var(--mag-deep); }
@media (max-width: 940px) {
    .top { position: static; }
    .brand img { height: 54px; }
    .call { margin-left: auto; }
    .nav { order: 3; width: 100%; margin: 0 -.6em; }
    .nav a { padding: .45em .6em; font-size: .95rem; }
}

/* home hero */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(circle at 72% 34%, rgba(255, 255, 255, .13), transparent 46%),
        var(--night);
}
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 24px 48px; padding-block: clamp(40px, 7vw, 96px) clamp(32px, 5vw, 72px); }
.hero h1 { max-width: 12em; font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 40ch; color: var(--line-2); }
.hero .lead { color: var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8em 0 1.4em; }
.today, .where { margin: 0 0 .35em; color: var(--line-2); font-size: .98rem; }
.today { color: var(--line); font-weight: 700; }
.today::before { content: ""; display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: var(--mag-lit); margin-right: .55em; vertical-align: .05em; }
.hero-art { justify-self: center; width: 100%; max-width: 560px; }

/* the swatch fan */
.fan { width: 100%; height: auto; overflow: visible; }
.fan .sw {
    transform-box: view-box;
    transform-origin: 0 52px;
    transform: translate(280px, 0) rotate(var(--a));
}
@media (prefers-reduced-motion: no-preference) {
    .fan .sw { animation: fan-out 1.15s cubic-bezier(.2, .85, .25, 1) calc(250ms + var(--i) * 55ms) both; }
    @keyframes fan-out { from { transform: translate(280px, 0) rotate(0deg); } }
}

/* bands */
.band { padding-block: clamp(56px, 8vw, 104px); }
.sheet { background: var(--sheet); }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 32px; }
.band-head h2 { margin: 0; max-width: 18ch; }

/* services bento (home) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.tile a {
    position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--radius);
    background: var(--night); color: var(--line); text-decoration: none;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.tile a:hover img { transform: scale(1.04); }
.tile-text {
    position: absolute; inset: auto 0 0 0; padding: 48px 22px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .82) 46%);
    display: grid; gap: 4px;
}
.tile-text strong { font: 800 clamp(1.6rem, 2.6vw, 2.3rem)/1 var(--display); letter-spacing: -.02em; }
.tile-text span { color: var(--line); font-size: .95rem; max-width: 42ch; }
.tile-color { grid-column: span 2; grid-row: span 2; }
.tile-cuts { grid-column: span 2; }
.tile-cuts img { object-position: 50% 30%; }
.tile-wax a { background: linear-gradient(150deg, var(--s-magenta), var(--s-violet) 70%); }
.tile-wax .tile-text { position: static; height: 100%; align-content: end; background: none; padding-top: 22px; }
@media (max-width: 860px) {
    .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
    .tile-color, .tile-cuts { grid-column: span 2; }
    .tile-color { grid-row: span 1; height: 300px; }
}
@media (max-width: 520px) {
    .bento { grid-template-columns: 1fr; }
    .tile-color, .tile-cuts { grid-column: auto; }
    .tile-wax { height: 170px; }
}

/* the salon (home) */
.salon-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 64px; align-items: center; }
.wall { margin: 0; }
.wall a, .floor a, .strip a, .gallery a, .menu-photos a, .staff-photos a, .contact-photo a { display: block; border-radius: var(--radius); overflow: hidden; }
.wall img { width: 100%; max-height: 640px; object-fit: cover; }
.quote {
    font: 600 clamp(1.45rem, 2.7vw, 2.2rem)/1.22 var(--display); letter-spacing: -.015em;
    margin: 0 0 1.2em; padding-left: 22px; border-left: 6px solid; border-image: linear-gradient(var(--s-magenta), var(--s-violet), var(--s-teal)) 1;
}
.floor { display: flex; gap: 14px; flex-wrap: wrap; }
.floor li { flex: 1 1 200px; }
.floor img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) {
    .salon-grid { grid-template-columns: 1fr; }
    .wall img { max-height: 420px; }
}

/* hours: the week */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.week li {
    display: grid; grid-template-rows: auto 300px; gap: 10px;
    padding: 14px 10px 16px; border-radius: 18px; background: var(--night-2);
    text-align: center;
}
.wk-day { font: 800 1.25rem/1 var(--display); color: var(--line); }
.wk-track { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wk-pad { flex-basis: 0; }
.wk-bar { flex-basis: 0; width: 14px; border-radius: 999px; background: linear-gradient(var(--s-magenta), var(--s-violet)); }
.week li:nth-child(3) .wk-bar { background: linear-gradient(var(--s-violet), var(--s-cobalt)); }
.week li:nth-child(4) .wk-bar { background: linear-gradient(var(--s-cobalt), var(--s-teal)); }
.week li:nth-child(5) .wk-bar { background: linear-gradient(var(--s-teal), var(--s-green)); }
.week li:nth-child(6) .wk-bar { background: linear-gradient(var(--s-honey), var(--s-red)); }
.wk-time { font-size: .9rem; font-weight: 600; color: var(--line); white-space: nowrap; }
.wk-closed { margin: auto; color: var(--line-2); font-size: .95rem; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .04em; }
.week .shut { background: transparent; border: 1px dashed #5d5563; }
.week .is-today { background: var(--night-3); box-shadow: inset 0 0 0 2px var(--mag-lit); }
.week .is-today .wk-day::after { content: "Today"; display: block; margin-top: 6px; font: 700 .75rem/1 var(--text); color: var(--mag-lit); letter-spacing: .02em; }
@media (max-width: 760px) {
    .week { grid-template-columns: 1fr; gap: 6px; }
    .week li { grid-template-rows: none; grid-template-columns: 3.4rem minmax(0, 1fr); align-items: center; padding: 10px 14px; text-align: left; }
    .wk-day { font-size: 1.05rem; }
    .wk-track { flex-direction: row; min-height: 28px; }
    .wk-bar { width: auto; height: 10px; min-width: 16px; }
    .wk-time { font-size: .85rem; }
    .wk-closed { writing-mode: horizontal-tb; transform: none; margin: 0; }
    .week .is-today .wk-day::after { margin-top: 4px; }
}

/* team */
.team h2 { margin-bottom: .3em; }
.team-lead { color: var(--ink-2); max-width: 46ch; }
.owner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 1.2em 0 .6em; }
.owner strong { font: 800 clamp(2rem, 5vw, 3.6rem)/1 var(--display); letter-spacing: -.03em; }
.owner span { font-weight: 700; color: var(--mag); }
.names { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-bottom: 1.6em; }
.names li { font: 700 clamp(1.3rem, 2.8vw, 2.1rem)/1.25 var(--display); letter-spacing: -.02em; display: flex; align-items: center; gap: 12px; }
.names li::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--s-magenta); flex: none; }
.names li:nth-child(2)::before { background: var(--s-violet); }
.names li:nth-child(3)::before { background: var(--s-cobalt); }
.names li:nth-child(4)::before { background: var(--s-teal); }
.names li:nth-child(5)::before { background: var(--s-honey); }

/* strip of work (home) */
.strip-band .band-head { margin-bottom: 28px; }
.strip {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 4px max(16px, (100% - var(--wrap)) / 2) 18px;
    scrollbar-width: thin;
}
.strip li { flex: none; scroll-snap-align: start; }
.strip img { height: clamp(260px, 34vw, 380px); width: auto; max-width: none; object-fit: cover; }

/* the visit band */
.visit {
    --focus: #fff;
    position: relative; color: #fff;
    background: linear-gradient(120deg, var(--s-violet), var(--s-cobalt) 52%, var(--s-teal));
    padding-block: clamp(48px, 7vw, 88px);
}
.visit::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: var(--swatch-stripe); }
.visit-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 48px; align-items: end; }
.visit h2 { max-width: 16ch; }
.visit-phone { font: 800 clamp(1.6rem, 7vw, 4.2rem)/1 var(--display); letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.visit-phone:hover { text-decoration: underline; }
.visit-where p { margin-bottom: .8em; font-size: 1.1rem; }
@media (max-width: 760px) { .visit-grid { grid-template-columns: 1fr; } }

/* page hero (inner pages) */
.page-hero {
    position: relative;
    background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .1), transparent 50%), var(--night);
    padding-block: clamp(40px, 6vw, 80px) clamp(44px, 6vw, 84px);
}
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 8px; background: var(--swatch-stripe); }
.page-hero h1 { max-width: 16ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 18px; font-size: .95rem; color: var(--line-2); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #8d8693; }
.crumbs a { color: var(--line); }

/* service lists */
.menu-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px 56px; align-items: start; }
.menu-grid.no-photos { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.menu { columns: 2 300px; column-gap: 40px; }
.menu-group { break-inside: avoid; margin-bottom: 34px; }
.menu-group h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); padding-bottom: .35em; border-bottom: 2px solid var(--ink); }
.menu-group li { display: flex; align-items: center; gap: 12px; padding: .5em 0; border-bottom: 1px solid var(--rule); }
.menu-group li::before { content: ""; width: 10px; height: 22px; border-radius: 3px 3px 6px 6px; background: var(--s-magenta); flex: none; }
.menu-group:nth-child(2) li::before { background: var(--s-violet); }
.menu-group:nth-child(3) li::before { background: var(--s-cobalt); }
.menu-group:nth-child(4) li::before { background: var(--s-teal); }
.menu-group:nth-child(5) li::before { background: var(--s-honey); }
.menu-extra { break-inside: avoid; color: var(--ink-2); }
.price-call {
    break-inside: avoid; margin: 8px 0 0; padding: 18px 20px; border-radius: 16px;
    background: var(--sheet); border-left: 6px solid var(--mag);
}
.price-call p { margin: 0; }
.price-call a { color: var(--mag-deep); font-weight: 700; white-space: nowrap; }
.price-call.wide { max-width: 720px; margin-top: 36px; }
.menu-photos { display: grid; gap: 14px; }
.menu-photos img { width: 100%; }
@media (max-width: 860px) { .menu-grid { grid-template-columns: 1fr; } .menu-photos { grid-template-columns: 1fr 1fr; align-items: start; } }

.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.others a {
    display: grid; gap: 6px; height: 100%; padding: 22px; border-radius: 18px; text-decoration: none;
    background: var(--page); border: 1px solid var(--rule); transition: border-color .2s, transform .2s;
}
.others a:hover { border-color: var(--mag); transform: translateY(-2px); }
.others strong { font: 800 1.6rem/1 var(--display); }
.others span { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 760px) { .others { grid-template-columns: 1fr; } }

/* services overview */
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc a {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); height: 100%; overflow: hidden;
    border-radius: var(--radius); background: var(--sheet); text-decoration: none;
    border: 1px solid var(--rule); transition: border-color .2s, transform .2s;
}
.svc a:hover { border-color: var(--mag); transform: translateY(-2px); }
.svc img, .svc-plate { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.svc-plate { display: block; background: linear-gradient(150deg, var(--s-magenta), var(--s-violet) 70%); }
.svc-text { display: grid; align-content: center; gap: 8px; padding: 24px; }
.svc h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.svc-text span { color: var(--ink-2); }
@media (max-width: 860px) { .service-list { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .svc a { grid-template-columns: 1fr; } .svc img, .svc-plate { min-height: 0; height: 200px; } }

/* products */
.brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 8px 0 28px; }
.brands li { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.brand-photo {
    position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
    background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
    transition: border-color .2s;
}
.brand-photo:hover { border-color: var(--mag); }
.brand-photo img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; }
.brands h3 {
    margin: 0; padding-left: 24px; position: relative;
    font: 800 clamp(1.5rem, 2.6vw, 2.2rem)/1.05 var(--display); letter-spacing: -.03em;
}
.brands h3::before { content: ""; position: absolute; left: 0; top: 8%; bottom: 8%; width: 10px; border-radius: 4px 4px 8px 8px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
@media (max-width: 860px) { .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .brands { gap: 14px; } .brands h3 { font-size: 1.25rem; padding-left: 20px; } .brand-photo img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); } }
.brands-note a { color: var(--mag-deep); font-weight: 700; }

/* staff */
.staff-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 56px; align-items: start; }
.staff-names .owner { margin-top: 0; }
.staff-names h2 { font-size: 1.4rem; margin: 1.4em 0 .7em; }
.staff-line { font: 600 1.25rem/1.35 var(--display); max-width: 30ch; }
.staff-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.staff-photos .tall { grid-row: span 2; }
.staff-photos img { width: 100%; height: 100%; object-fit: cover; }
.staff-photos a { height: 100%; }
@media (max-width: 760px) { .staff-grid { grid-template-columns: 1fr; } }

/* gallery */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery li { break-inside: avoid; margin-bottom: 14px; }
.gallery a { border-radius: 16px; }
.gallery img { width: 100%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.gallery a:hover img { transform: scale(1.03); }
@media (max-width: 560px) { .gallery { columns: 2; column-gap: 10px; } .gallery li { margin-bottom: 10px; } }

/* contact */
#hours h2 { margin-bottom: 28px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.contact-card { container-type: inline-size; background: var(--sheet); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 40px); }
.big-phone-line { margin-bottom: 18px; }
.big-phone { font: 800 clamp(1.25rem, 8.2cqi, 2.8rem)/1 var(--display); letter-spacing: -.03em; text-decoration: none; color: var(--mag-deep); white-space: nowrap; }
.big-phone:hover { text-decoration: underline; }
.contact-list { margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; padding-top: 12px; border-top: 1px solid var(--rule); }
.contact-list dt { font-weight: 700; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-photo { margin: 0; }
.contact-photo img { width: 100%; max-height: 360px; object-fit: cover; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .contact-list div { grid-template-columns: 1fr; gap: 2px; } }

/* contact form */
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: .8em .9em; border: 1px solid #8f8896; border-radius: 12px;
    background: #fff; color: var(--ink); font: inherit;
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { border-color: var(--mag); }
.contact-form ul { color: #a3122f; font-weight: 600; margin-top: 4px; }
.contact-form .btn { justify-self: start; cursor: pointer; }
.form-hint { color: var(--ink-2); font-size: .92rem; margin: 0; }
.contact-sent { padding: 16px 18px; margin-bottom: 18px; border-radius: 14px; background: #e3f4f2; border-left: 6px solid var(--s-teal); }
.contact-sent strong { display: block; }

/* footer */
.foot { position: relative; padding-top: 64px; }
.foot::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: var(--swatch-stripe); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px 40px; padding-bottom: 40px; }
.foot h2 { font-size: 1.15rem; letter-spacing: 0; margin-bottom: .9em; }
.foot-brand img { width: 260px; margin-bottom: 12px; }
.foot-brand p, .foot address, .foot p { color: var(--line-2); font-style: normal; }
.foot a { color: var(--line); }
.foot address { margin-bottom: 1em; }
.foot-phone { font-weight: 700; font-size: 1.15rem; }
.foot-hours { margin: 0; display: grid; gap: 4px; }
.foot-hours div { display: grid; grid-template-columns: 2.8rem 1fr; color: var(--line-2); }
.foot-hours dt { font-weight: 700; color: var(--line); }
.foot-hours dd { margin: 0; }
.foot-links { display: grid; gap: 6px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-bottom { border-top: 1px solid #2c2631; padding-block: 20px 28px; font-size: .92rem; }
.foot-bottom p { margin: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* 404 */
.not-found { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; text-align: center; background: var(--page); }
.not-found > div { max-width: 620px; }
.not-found img { width: 320px; margin: 0 auto 28px; }
.not-found h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
.not-found .actions { justify-content: center; }
.not-found p a:not(.btn) { color: var(--mag-deep); font-weight: 700; white-space: nowrap; }

/* phone */
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { max-width: 380px; margin-top: 8px; }
}
@media (max-width: 420px) {
    .btn { padding: .8em 1.15em; }
    .actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

:root { --lb-bg: rgba(0, 0, 0, .94); --lb-text: #f6f4f7; --lb-accent: #ff7dbd; --lb-accent-soft: rgba(255, 125, 189, .22); }

/* ---- lightbox: /js/lightbox.js opens a linked image enlarged over the page, in a <dialog> ----
   Paste this block into the site's css/site.css. The overlay is dark in every theme and brings its own
   colours and box sizing, so it does not depend on the rest of the stylesheet. To recolour it to the
   site, set these on .lightbox (or on :root): --lb-bg, --lb-text, --lb-accent (focus ring),
   --lb-accent-soft (hover). */

[data-lightbox] {
    cursor: zoom-in;
}

.lightbox,
.lightbox * {
    box-sizing: border-box;
}

html:has(.lightbox[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 68px 12px 14px;
    border: 0;
    background: var(--lb-bg, rgba(12, 14, 16, 0.95));
    color: var(--lb-text, #f2f2f2);
    color-scheme: dark;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.lightbox::backdrop {
    background: none;
}

.lightbox-stage {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.lightbox-stage img {
    display: block;
    max-width: none;
    border-radius: 4px;
    background: #fff;
}

.lightbox-caption {
    display: grid;
    place-items: center;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 0 56px;
    color: var(--lb-text, #f2f2f2);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: center;
}

.lightbox-button {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: #ffffff;
    background-color: var(--lb-accent-soft, rgba(255, 255, 255, 0.16));
}

.lightbox-button:focus-visible {
    outline: 3px solid var(--lb-accent, #ffffff);
    outline-offset: 3px;
    border-radius: 50%;
}

.lightbox-button[hidden] {
    display: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.lightbox-prev,
.lightbox-next {
    bottom: 14px;
}

.lightbox-prev {
    left: 12px;
    rotate: 180deg;
}

.lightbox-next {
    right: 12px;
}

@media (min-width: 760px) {
    .lightbox {
        padding: 24px 84px 18px;
    }

    .lightbox-caption {
        padding: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        top: calc(50% - 22px);
        bottom: auto;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next,
    .lightbox-close {
        right: 20px;
    }

    .lightbox-close {
        top: 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lightbox-in 0.2s ease;
    }
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}
