/* Opal Atelier by Underwood */
:root {
    --ink: #f3f1ee;
    --muted: #c3bfbc;
    --silver: #d9d5d2;
    --silver-bright: #f4f1ee;
    --champagne: #dab69a;
    --base: #121212;
    --surface: #1d1c1c;
    --line: #3c3938;
    --field-border: #73706e;
    --serif: "Playfair Display", Georgia, serif;
}
body {
    background: var(--base);
    color: var(--ink);
    font: 1rem/1.65 "DM Sans", system-ui, sans-serif;
}
h1, h2, h3, .brand-name { font-family: var(--serif); font-weight: 400; }
h1, h2, h3 { letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
p { color: var(--muted); }
img { max-width: 100%; }
a { color: var(--silver); }
a:hover { color: var(--silver-bright); }
a:focus-visible, button:focus-visible { outline: 3px solid #d9d5d2; outline-offset: 4px; }
.container-xl { --bs-gutter-x: clamp(2rem, 6vw, 5rem); }
.skip-link { position: absolute; z-index: 5; background: var(--base); padding: .5rem 1rem; }
.site-header { background: var(--base); border-bottom: 1px solid var(--line); }
.navbar { min-height: 5.5rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand-wordmark { display: inline-flex; flex-direction: column; align-items: center; }
.brand-monogram { flex: 0 0 auto; width: 3.4rem; aspect-ratio: 420 / 330; border-radius: .2rem; background: url("../images/brand-reference.png") 91.8% 6.48% / 365.714% 310.303% no-repeat; }
.brand-name { font-size: 2rem; line-height: 1.1; letter-spacing: -.06em; white-space: nowrap; }
.brand-credit, .eyebrow { text-transform: uppercase; letter-spacing: .19em; font-size: .875rem; font-weight: 600; }
.brand-credit { color: var(--champagne); font-size: .75rem; margin-top: .25rem; }
.brand-logo { width: auto; max-width: 175px; max-height: 62px; }
.navbar-nav { gap: .65rem; }
.navbar .nav-link { color: var(--muted); font-size: .9375rem; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--silver); text-decoration: underline; text-underline-offset: .4em; }
.hero { background: linear-gradient(125deg, var(--surface), var(--base)); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.4rem, 6vw, 5.5rem); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { color: var(--champagne); margin-bottom: 1.2rem; }
.hero h1 { margin-bottom: 1.35rem; }
.hero em { color: var(--silver); }
.hero-copy > p:not(.eyebrow), .page-heading p:not(.eyebrow) { font-size: 1.125rem; max-width: 34ch; }
.hero-art { position: relative; }
.hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 1.12; object-fit: cover; border-radius: 47% 47% .35rem .35rem / 35% 35% .35rem .35rem; }
.hero-mark { position: absolute; bottom: 1.15rem; left: -1.25rem; width: 3.25rem; height: 3.25rem; display: grid; place-items: center; color: var(--champagne); background: var(--base); border: 1px solid var(--line); border-radius: 50%; font-size: 1.5rem; }
.atelier-button { --bs-btn-color: var(--base); --bs-btn-bg: var(--silver); --bs-btn-border-color: var(--silver); --bs-btn-hover-color: var(--base); --bs-btn-hover-bg: var(--silver-bright); --bs-btn-hover-border-color: var(--silver-bright); --bs-btn-active-color: var(--base); --bs-btn-active-bg: var(--silver-bright); --bs-btn-active-border-color: var(--silver-bright); --bs-btn-focus-shadow-rgb: 217,213,210; border-radius: .25rem; padding: .8rem 1.2rem; font-weight: 600; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: .65rem 1.5rem; margin-bottom: 1.6rem; }
.section-heading h2, .contact-band h2 { margin: 0; }
.text-link { font-weight: 600; text-underline-offset: .3em; }
.treatment-card img, .service-row img, .gallery-photo img { width: 100%; height: auto; display: block; object-fit: cover; border-radius: .35rem; }
.treatment-card img { aspect-ratio: 1.25; margin-bottom: 1rem; }
.treatment-card a { color: var(--ink); text-decoration: none; display: block; }
.treatment-card a:hover h3 { text-decoration: underline; text-underline-offset: .17em; }
.treatment-card p { margin-bottom: 0; max-width: 35ch; }
.contact-band { background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); padding-block: 2.6rem; }
.contact-band > div, .footer-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem; }
.site-footer p { margin: 0; }
.site-footer small, figcaption { color: var(--muted); }
.page-heading { background: var(--surface); padding-block: clamp(2.75rem, 6vw, 5.5rem); }
.page-heading p:last-child, figure { margin-bottom: 0; }
figcaption { margin-top: .65rem; font-size: .875rem; }
.service-list { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.service-row, .contact-grid { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 6vw, 5rem); }
.service-row { scroll-margin-top: 2rem; }
.service-row:nth-child(even) > img { order: 2; }
.service-row p { max-width: 44ch; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); }
.gallery-photo { display: block; overflow: hidden; border-radius: .35rem; }
.gallery-photo img { aspect-ratio: 1.4; transition: transform .25s ease; }
.gallery-photo:hover img { transform: scale(1.035); }
.viewer-image { display: block; max-height: 75vh; margin-inline: auto; object-fit: contain; }
.modal-content { background: var(--base); }
.contact-grid { align-items: start; grid-template-columns: .75fr 1.25fr; }
.enquiry-form { background: var(--surface); padding: clamp(1.2rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: .35rem; }
.form-control, .form-select { background-color: var(--base); color: var(--ink); border-color: var(--field-border); min-height: 2.8rem; }
.form-control:focus, .form-select:focus { background-color: var(--base); color: var(--ink); border-color: #d9d5d2; box-shadow: 0 0 0 .2rem #d9d5d24d; }
.contact-email { overflow-wrap: anywhere; }
@media (max-width: 767.98px) {
    .hero-grid, .service-row, .contact-grid { grid-template-columns: 1fr; }
    .hero-art { margin-left: .8rem; }
    .hero-art img { aspect-ratio: 1.35; }
    .service-row:nth-child(even) > img { order: 0; }
}
@media (max-width: 575.98px) {
    .navbar .brand-name { font-size: 1.6rem; }
    .navbar .brand-monogram { width: 2.7rem; }
    .footer-content { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .gallery-photo img { transition: none; }
}
