/*
    OPALINE STUDIO — HAIR ATELIER STYLESHEET

    Visual direction:
    - editorial hair campaign;
    - opaline mineral reflections;
    - sharp luxury typography;
    - mirror-inspired image shapes;
    - strong service presentation;
    - restrained but visible motion.

    The existing HTML structure is preserved.
*/

:root {
    --white: #ffffff;
    --pearl: #faf8f4;
    --pearl-soft: #f0ebef;
    --pearl-deep: #e4dde3;

    --ink: #10131d;
    --ink-soft: #1b2130;
    --ink-muted: #30384b;

    --opal-blue: #a9d9ea;
    --opal-aqua: #bfe5df;
    --opal-lilac: #c8b7e5;
    --opal-peach: #efaa8a;
    --opal-gold: #d8b36c;
    --opal-silver: #dce4ea;

    --rosewood: #8f5c66;
    --text: #5e5d69;
    --text-light: rgba(255, 255, 255, 0.78);

    --light-border: rgba(16, 19, 29, 0.13);
    --dark-border: rgba(255, 255, 255, 0.14);

    --heading-font: "Cormorant Garamond", serif;
    --body-font: "Manrope", sans-serif;

    --side-width: 205px;
    --page-padding: clamp(30px, 5vw, 92px);
    --content-width: 1500px;

    --shadow-soft: 0 30px 90px rgba(16, 19, 29, 0.15);
    --shadow-card: 0 24px 70px rgba(16, 19, 29, 0.09);

    --transition-easing:
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );

    --transition:
        0.4s
        var(--transition-easing);
        
    --opal-gradient:
        linear-gradient(
            115deg,
            var(--opal-blue),
            var(--opal-aqua) 26%,
            var(--white) 48%,
            var(--opal-lilac) 70%,
            var(--opal-peach)
        );
}

/* Removes default browser spacing and uses predictable sizing. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Enables smooth navigation between page sections. */
html {
    scroll-behavior: smooth;
}

/* Main document appearance. */
body {
    min-width: 320px;
    font-family: var(--body-font);
    font-size: 16px;
    color: var(--text);
    background-color: var(--pearl);
    overflow-x: hidden;
}

/* Prevents background scrolling while the mobile menu is open. */
body.menu-open {
    overflow: hidden;
}

/* Makes images responsive. */
img {
    display: block;
    max-width: 100%;
}

/* Removes default link decoration. */
a {
    color: inherit;
    text-decoration: none;
}

/* Makes form elements inherit the website typography. */
button,
input {
    font: inherit;
}

/* Removes default button appearance. */
button {
    border: 0;
    cursor: pointer;
}

/* Applies the shared transition to interactive elements. */
a,
button,
input {
    transition: var(--transition);
}

/* Removes default list appearance. */
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Gives selected text an opaline accent. */
::selection {
    color: var(--ink);
    background-color: var(--opal-blue);
}

/* Improves keyboard navigation visibility. */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--opal-gold);
    outline-offset: 5px;
}

/* Limits content width on large screens. */
.section-container,
.hero-container {
    width: min(100%, var(--content-width));
    margin: 0 auto;
}

/* Shared section spacing. */
.section-space {
    padding: 135px var(--page-padding);
}

/* Shared editorial label. */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: var(--rosewood);
    text-transform: uppercase;
}

/* Decorative line inside labels. */
.section-label > span {
    width: 48px;
    height: 1px;
    background: var(--opal-gradient);
    transform-origin: left;
    transition: transform 0.6s var(--transition-easing);
}

/* Expands the label line on interaction. */
.section-label:hover > span,
.is-visible .section-label > span {
    transform: scaleX(1.35);
}

/* Light label used on dark backgrounds. */
.section-label-light {
    color: var(--opal-peach);
}

/*
    DESKTOP SIDE NAVIGATION

    EDIT HERE:
    Change the active link colours inside .side-menu-link.active.
    Change the navigation background inside .side-navigation.
*/

/* Fixed desktop navigation with a soft opaline background. */
.side-navigation {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1200;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: var(--side-width);
    height: 100vh;

    padding: 24px 22px 22px;

    border-right: 1px solid rgba(16, 19, 29, 0.09);

    background:
        radial-gradient(
            circle at 8% 14%,
            rgba(169, 217, 234, 0.3),
            transparent 31%
        ),
        radial-gradient(
            circle at 92% 48%,
            rgba(200, 183, 229, 0.24),
            transparent 35%
        ),
        radial-gradient(
            circle at 18% 92%,
            rgba(239, 170, 138, 0.17),
            transparent 31%
        ),
        linear-gradient(
            180deg,
            #fbfaf8 0%,
            #f7f3f7 48%,
            #f4f0f4 100%
        );

    box-shadow:
        20px 0 55px rgba(16, 19, 29, 0.07),
        inset -1px 0 0 rgba(255, 255, 255, 0.75);

    backdrop-filter: blur(22px);
}

/* Vertical salon signature. */
.side-navigation::before {
    content: "OPALINE STUDIO";

    position: absolute;
    top: 50%;
    left: 10px;

    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    color: rgba(16, 19, 29, 0.5);

    writing-mode: vertical-rl;

    transform:
        translateY(-50%)
        rotate(180deg);
}

/*
    LOGO
*/

/* Creates a refined panel around the salon logo. */
.side-brand {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 150px;
    min-height: 125px;

    padding: 12px;

    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 0 0 70px 70px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.76),
            rgba(255, 255, 255, 0.3)
        );

    box-shadow:
        0 18px 45px rgba(16, 19, 29, 0.07),
        inset 0 0 0 1px rgba(169, 217, 234, 0.1);

    transition:
        transform 0.65s var(--transition-easing),
        box-shadow 0.65s var(--transition-easing);
}

/* Controls the logo dimensions. */
.side-brand img {
    width: 100%;
    max-height: 98px;
    object-fit: contain;

    transition:
        transform 0.65s var(--transition-easing),
        filter 0.65s var(--transition-easing);
}

/* Logo panel hover state. */
.side-brand:hover {
    box-shadow:
        0 25px 55px rgba(16, 19, 29, 0.11),
        inset 0 0 0 1px rgba(200, 183, 229, 0.16);

    transform: translateY(-3px);
}

/* Logo image hover state. */
.side-brand:hover img {
    filter:
        drop-shadow(
            0 12px 18px
            rgba(16, 19, 29, 0.12)
        );

    transform: scale(1.025);
}

/*
    NAVIGATION LINKS
*/

/* Main navigation link container. */
.side-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 8px;
    flex: 1;

    width: 100%;

    padding-left: 8px;

    counter-reset: navigation-item;
}

/* Individual numbered navigation link. */
.side-menu-link {
    position: relative;

    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;

    min-height: 52px;

    padding: 0 12px;

    border: 1px solid transparent;
    border-radius: 3px;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    color: #7c7b88;

    background: transparent;

    text-transform: uppercase;

    counter-increment: navigation-item;

    transition:
        color 0.4s ease,
        border-color 0.4s ease,
        background 0.5s ease,
        box-shadow 0.5s ease,
        transform 0.5s var(--transition-easing);
}

/* Navigation item number. */
.side-menu-link::before {
    content:
        "0"
        counter(navigation-item);

    font-family: var(--body-font);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(16, 19, 29, 0.34);

    transition: color 0.4s ease;
}

/* Navigation link hover state. */
.side-menu-link:hover {
    border-color: rgba(169, 217, 234, 0.2);

    color: var(--ink);

    background:
        linear-gradient(
            90deg,
            rgba(169, 217, 234, 0.13),
            rgba(255, 255, 255, 0.46),
            rgba(200, 183, 229, 0.09)
        );

    transform: translateX(2px);
}

/*
    Selected navigation link.

    EDIT HERE:
    These colours control the selected page section.
*/
.side-menu-link.active {
    border-color: rgba(169, 217, 234, 0.3);

    color: var(--ink);

    background:
        linear-gradient(
            110deg,
            rgba(169, 217, 234, 0.34) 0%,
            rgba(255, 255, 255, 0.6) 38%,
            rgba(200, 183, 229, 0.28) 68%,
            rgba(239, 170, 138, 0.17) 100%
        );

    box-shadow:
        0 14px 34px rgba(16, 19, 29, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);

    transform: none;
}

/* Highlights the number on hover and on the selected link. */
.side-menu-link:hover::before,
.side-menu-link.active::before {
    color: var(--rosewood);
}

/*
    BOOKING BUTTON
*/

/* Main booking button. */
.side-booking-button {
    position: relative;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 142px;
    height: 58px;

    margin-bottom: 22px;
    padding: 0 18px;

    overflow: hidden;

    border: 2px solid transparent;
    border-radius: 999px;

    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.07em;

    color: var(--white);

    background:
        linear-gradient(
            145deg,
            #262c40,
            var(--ink)
        ) padding-box,
        var(--opal-gradient) border-box;

    box-shadow:
        0 18px 42px rgba(16, 19, 29, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.11);

    text-align: center;
    text-transform: uppercase;

    transition:
        color 0.45s ease,
        transform 0.5s var(--transition-easing),
        box-shadow 0.5s ease;
}

/* Moving light inside the booking button. */
.side-booking-button::before {
    content: "";

    position: absolute;
    top: -120%;
    left: -45%;

    width: 34%;
    height: 340%;

    background: rgba(255, 255, 255, 0.24);

    transform: rotate(23deg);

    transition: left 0.85s var(--transition-easing);
}

/* Booking button icon. */
.side-booking-button i {
    position: relative;
    z-index: 1;
    font-size: 1rem;
}

/* Booking button text. */
.side-booking-button span {
    position: relative;
    z-index: 1;
}

/* Booking button hover state. */
.side-booking-button:hover {
    color: var(--ink);

    background:
        var(--opal-gradient) padding-box,
        var(--opal-gradient) border-box;

    box-shadow:
        0 24px 52px rgba(16, 19, 29, 0.18),
        0 0 32px rgba(169, 217, 234, 0.15);

    transform: translateY(-5px);
}

/* Moves the light across the button. */
.side-booking-button:hover::before {
    left: 125%;
}

/*
    SOCIAL BUTTONS
*/

/* Social buttons container. */
.side-socials {
    display: flex;
    gap: 10px;
}

/* Individual social button. */
.side-socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border: 1px solid rgba(16, 19, 29, 0.13);
    border-radius: 50%;

    font-size: 0.86rem;
    color: var(--ink);

    background: rgba(255, 255, 255, 0.38);

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.7);

    backdrop-filter: blur(8px);

    transition:
        color 0.4s ease,
        border-color 0.4s ease,
        background 0.5s ease,
        box-shadow 0.5s ease,
        transform 0.5s var(--transition-easing);
}

/* Social button hover state. */
.side-socials a:hover {
    border-color: transparent;

    color: var(--ink);

    background: var(--opal-blue);

    box-shadow:
        0 15px 30px rgba(16, 19, 29, 0.15);

    transform:
        translateY(-5px)
        rotate(5deg);
}

/* Hides mobile elements on desktop. */
.mobile-header,
.mobile-navigation {
    display: none;
}

/* Creates room for the fixed side navigation. */
.page-content {
    margin-left: var(--side-width);
}


/*
    HERO SECTION
*/

/* Main Hero section. */
.hero-section {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    padding: 0 var(--page-padding);
    color: var(--text-light);
    background:
        radial-gradient(
            circle at 72% 18%,
            rgba(169, 217, 234, 0.16),
            transparent 24%
        ),
        radial-gradient(
            circle at 87% 75%,
            rgba(200, 183, 229, 0.13),
            transparent 25%
        ),
        radial-gradient(
            circle at 24% 85%,
            rgba(239, 170, 138, 0.08),
            transparent 22%
        ),
        linear-gradient(
            135deg,
            #252b3e 0%,
            var(--ink-soft) 38%,
            var(--ink) 100%
        );
    overflow: hidden;
}

/* Large editorial background word. */
.hero-section::before {
    content: "HAIR";
    position: absolute;
    right: -3vw;
    bottom: -5vw;
    z-index: -1;
    font-family: var(--heading-font);
    font-size: clamp(15rem, 28vw, 34rem);
    font-weight: 600;
    line-height: 0.7;
    letter-spacing: -0.08em;
    color: rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

/* Fine editorial grid. */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.18;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.014) 1px,
            transparent 1px
        );
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, transparent, black 36%, black);
    pointer-events: none;
}

/* Two-column Hero layout. */
.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(410px, 0.92fr) minmax(520px, 1.08fr);
    align-items: center;
    gap: clamp(50px, 6vw, 110px);
    min-height: 100vh;
    padding: 78px 0;
}

/* Hero text container. */
.hero-copy {
    position: relative;
    max-width: 670px;
}

/* Adds a vertical editorial line beside the Hero text. */
.hero-copy::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 6px;
    width: 1px;
    height: 118px;
    background:
        linear-gradient(
            to bottom,
            var(--opal-blue),
            var(--opal-lilac),
            transparent
        );
}

/* Main Hero title. */
.hero-title {
    margin-bottom: 34px;
    font-family: var(--heading-font);
    font-size: clamp(5.4rem, 7vw, 8.3rem);
    font-weight: 500;
    line-height: 0.8;
    letter-spacing: -0.05em;
    color: var(--white);
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Highlighted Hero word. */
.hero-title em {
    display: block;
    margin-left: clamp(24px, 4vw, 72px);
    font-weight: 500;
    color: transparent;
    background: var(--opal-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow(0 12px 30px rgba(169, 217, 234, 0.11));
}

/* Hero description. */
.hero-description {
    max-width: 570px;
    margin-bottom: 42px;
    padding-left: 2px;
    font-size: 1.04rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.76);
}

/* Hero action layout. */
.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* Main call-to-action button. */
.primary-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 60px;
    padding: 0 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.38);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ink);
    background: var(--opal-gradient);
    background-size: 180% 180%;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
    text-transform: uppercase;
}

/* Light sweep inside primary buttons. */
.primary-button::before {
    content: "";
    position: absolute;
    top: -110%;
    left: -42%;
    width: 34%;
    height: 320%;
    background: rgba(255, 255, 255, 0.34);
    transform: rotate(22deg);
    transition: left 0.8s var(--transition-easing);
}

/* Primary button hover state. */
.primary-button:hover {
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
    background-position: 100% 50%;
    transform: translateY(-4px);
}

/* Moves the light across the button. */
.primary-button:hover::before {
    left: 125%;
}

/* Editorial text link. */
.editorial-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-size: 0.79rem;
    font-weight: 700;
    color: var(--white);
}

/* Animated link line. */
.editorial-link > span {
    width: 50px;
    height: 1px;
    background: var(--opal-gradient);
    transition: var(--transition);
}

/* Editorial link hover state. */
.editorial-link:hover {
    color: var(--opal-blue);
    transform: translateX(4px);
}

/* Extends the line on hover. */
.editorial-link:hover > span {
    width: 72px;
}

/* Dark editorial link version. */
.editorial-link-dark {
    color: var(--ink);
}

/* Main Hero visual area. */
.hero-visual {
    position: relative;
    min-height: 720px;
}

/* Editorial salon image frame. */
.ornamental-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(74%, 560px);
    aspect-ratio: 0.76;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 240px 240px 12px 12px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.72),
            rgba(169, 217, 234, 0.2),
            rgba(200, 183, 229, 0.18),
            rgba(239, 170, 138, 0.18)
        );
    box-shadow:
        0 42px 100px rgba(0, 0, 0, 0.34),
        inset 0 0 0 1px rgba(255, 255, 255, 0.55);
    transform:
        translate(
            calc(-50% + var(--hero-parallax-x, 0px)),
            calc(-50% + var(--hero-parallax-y, 0px))
        );
    animation: salonMirrorFloat 7s ease-in-out infinite;
}

/* Outer chrome-like mirror line. */
.ornamental-frame::before {
    content: "";
    position: absolute;
    inset: -24px;
    z-index: -1;
    border: 1px solid rgba(220, 228, 234, 0.45);
    border-radius: 260px 260px 16px 16px;
    box-shadow: 0 0 50px rgba(169, 217, 234, 0.08);
}

/* Fine reflective line inside the frame. */
.ornamental-frame::after {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 215px 215px 7px 7px;
    pointer-events: none;
}

/* Shared placeholder styling. */
.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    color: var(--ink-muted);
    background:
        linear-gradient(
            145deg,
            rgba(169, 217, 234, 0.34),
            rgba(252, 250, 248, 0.98) 38%,
            rgba(200, 183, 229, 0.28) 68%,
            rgba(239, 170, 138, 0.22)
        );
}

/* Placeholder icon. */
.image-placeholder i {
    font-size: 2rem;
    color: var(--rosewood);
}

/* Placeholder title. */
.image-placeholder strong {
    font-family: var(--heading-font);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--ink);
}

/* Placeholder supporting text. */
.image-placeholder span {
    font-size: 0.75rem;
    line-height: 1.5;
}

/* Hero placeholder. */
.hero-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 228px 228px 6px 6px;
}

/* Editorial light ribbon inside the Hero image. */
.hero-placeholder::before {
    content: "";
    position: absolute;
    top: -35%;
    left: -55%;
    width: 34%;
    height: 180%;
    background: rgba(255, 255, 255, 0.38);
    filter: blur(4px);
    transform: rotate(24deg);
    animation: placeholderShine 8s ease-in-out infinite;
}

/* Real Hero image. */
.hero-image {
    width: 100%;
    height: 100%;
    border-radius: 228px 228px 6px 6px;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 1s var(--transition-easing);
}

/* Slight image movement on hover. */
.hero-visual:hover .hero-image,
.hero-visual:hover .hero-placeholder {
    transform: scale(1.018);
}

/* Shared decorative mirror line. */
.frame-decoration {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

/* First decorative line. */
.frame-decoration-one {
    top: 7%;
    left: 7%;
    width: 80%;
    height: 86%;
    transform: rotate(-7deg);
    animation: orbitOne 20s linear infinite;
}

/* Second decorative line. */
.frame-decoration-two {
    top: 7%;
    left: 17%;
    width: 73%;
    height: 88%;
    border-color: rgba(239, 170, 138, 0.2);
    transform: rotate(8deg);
    animation: orbitTwo 24s linear infinite reverse;
}

/* Cut, Colour and Style caption. */
.hero-frame-caption {
    position: absolute;
    right: 0;
    bottom: 4%;
    display: flex;
    gap: 21px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.68);
    background-color: rgba(16, 19, 29, 0.24);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
}

/* Shared Hero glow. */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(16px);
    pointer-events: none;
}

/* Cool Hero glow. */
.hero-glow-one {
    top: -110px;
    right: 22%;
    width: 360px;
    height: 360px;
    background-color: rgba(169, 217, 234, 0.12);
    animation: glowDriftOne 14s ease-in-out infinite alternate;
}

/* Warm Hero glow. */
.hero-glow-two {
    right: -140px;
    bottom: 10px;
    width: 390px;
    height: 390px;
    background-color: rgba(239, 170, 138, 0.08);
    animation: glowDriftTwo 18s ease-in-out infinite alternate;
}

/*
    SERVICES SECTION
*/

/* Services background. */
.services-section {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(
            180deg,
            var(--pearl) 0%,
            #f6f2f5 100%
        );
    overflow: hidden;
}

/* Large background word. */
.services-section::before {
    content: "SERVICES";
    position: absolute;
    left: -1vw;
    top: 55px;
    z-index: -1;
    font-family: var(--heading-font);
    font-size: clamp(8rem, 16vw, 17rem);
    font-weight: 600;
    line-height: 0.8;
    letter-spacing: -0.06em;
    color: rgba(16, 19, 29, 0.025);
    pointer-events: none;
}

/* Services heading layout. */
.section-heading {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.6fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 90px;
}

/* Vertical heading accent. */
.section-heading::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 5px;
    width: 1px;
    height: 80px;
    background:
        linear-gradient(
            to bottom,
            var(--opal-blue),
            var(--opal-lilac),
            transparent
        );
}

/* Main services heading. */
.section-heading h2 {
    max-width: 860px;
    font-family: var(--heading-font);
    font-size: clamp(4.2rem, 5.9vw, 6.9rem);
    font-weight: 500;
    line-height: 0.88;
    letter-spacing: -0.04em;
    color: var(--ink);
}

/* Services introduction. */
.section-heading > p {
    max-width: 460px;
    padding-bottom: 5px;
    font-size: 0.98rem;
    line-height: 1.9;
}

/* Services grid. */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 34px;
    counter-reset: services;
}

/* Individual service card. */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 640px;
    overflow: hidden;
    border: 1px solid rgba(16, 19, 29, 0.07);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
    counter-increment: services;
    transition: var(--transition);
}

/* Service card number. */
.service-card::after {
    content: "0" counter(services);
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 4;
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 600;
    color: rgba(16, 19, 29, 0.38);
}

/* Pointer-responsive light. */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    background:
        radial-gradient(
            420px circle at var(--pointer-x, 50%) var(--pointer-y, 35%),
            rgba(169, 217, 234, 0.2),
            rgba(200, 183, 229, 0.08) 34%,
            transparent 68%
        );
    transition: opacity 0.4s ease;
}

/* Shows the pointer light. */
.service-card:hover::before {
    opacity: 1;
}

/* Offsets the centre card for editorial rhythm. */
.service-card:nth-child(2) {
    margin-top: 42px;
}

/* Service card hover state. */
.service-card:hover {
    border-color: rgba(143, 92, 102, 0.22);
    box-shadow: 0 38px 85px rgba(16, 19, 29, 0.15);
    transform: translateY(-10px);
}

/* Preserves the centre card offset on hover. */
.service-card:nth-child(2):hover {
    transform: translateY(-10px);
}

/* Service image placeholder. */
.service-placeholder {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 0 0 170px 0;
    transition: var(--transition);
}

/* Distinct colour emphasis for each service. */
.service-card:nth-child(1) .service-placeholder {
    background:
        linear-gradient(
            145deg,
            rgba(169, 217, 234, 0.5),
            rgba(255, 255, 255, 0.96) 52%,
            rgba(239, 170, 138, 0.28)
        );
}

.service-card:nth-child(2) .service-placeholder {
    background:
        linear-gradient(
            145deg,
            rgba(200, 183, 229, 0.52),
            rgba(255, 255, 255, 0.96) 48%,
            rgba(169, 217, 234, 0.24)
        );
}

.service-card:nth-child(3) .service-placeholder {
    background:
        linear-gradient(
            145deg,
            rgba(239, 170, 138, 0.42),
            rgba(255, 255, 255, 0.96) 48%,
            rgba(216, 179, 108, 0.26)
        );
}

/* Real service image. */
.service-image {
    width: 100%;
    height: 350px;
    border-radius: 0 0 170px 0;
    object-fit: cover;
    transition: var(--transition);
}

/* Image interaction. */
.service-card:hover .service-placeholder,
.service-card:hover .service-image {
    filter: saturate(1.05) contrast(1.02);
    transform: scale(1.035);
}

/* Service card content. */
.service-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 38px 34px 32px;
}

/* Fine opaline line above the title. */
.service-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 34px;
    width: 78px;
    height: 2px;
    background: var(--opal-gradient);
    transform: scaleX(0.45);
    transform-origin: left;
    transition: var(--transition);
}

/* Expands the line on hover. */
.service-card:hover .service-content::before {
    transform: scaleX(1);
}

/* Service category. */
.service-category {
    display: block;
    margin-bottom: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--rosewood);
    text-transform: uppercase;
}

/* Service title. */
.service-content h3 {
    margin-bottom: 17px;
    font-family: var(--heading-font);
    font-size: 2.65rem;
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
}

/* Service description. */
.service-content p {
    margin-bottom: 30px;
    font-size: 0.94rem;
    line-height: 1.82;
}

/* Service footer. */
.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding-top: 23px;
    border-top: 1px solid var(--light-border);
}

/* Service price. */
.service-footer strong {
    font-size: 0.82rem;
    color: var(--ink);
}

/* Service link. */
.service-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--rosewood);
}

/* Service arrow interaction. */
.service-footer a i {
    transition: var(--transition);
}

/* Service link hover state. */
.service-footer a:hover {
    color: var(--ink);
}

/* Moves the arrow on hover. */
.service-footer a:hover i {
    transform: translate(3px, -3px);
}

/* Centres the all-services action. */
.section-action {
    display: flex;
    justify-content: center;
    margin-top: 82px;
}

/* Secondary outlined button. */
.outline-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 31px;
    overflow: hidden;
    border: 1px solid var(--light-border);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink);
    background-color: rgba(255, 255, 255, 0.52);
    text-transform: uppercase;
}

/* Outlined button hover state. */
.outline-button:hover {
    border-color: var(--ink);
    color: var(--white);
    background-color: var(--ink);
    transform: translateY(-3px);
}

/*
    ABOUT SECTION
*/

/* About section background. */
.about-section {
    position: relative;
    isolation: isolate;
    background-color: var(--white);
    overflow: hidden;
}

/* Large studio background word. */
.about-section::before {
    content: "STUDIO";
    position: absolute;
    right: -2vw;
    bottom: 20px;
    z-index: -1;
    font-family: var(--heading-font);
    font-size: clamp(9rem, 18vw, 19rem);
    font-weight: 600;
    line-height: 0.7;
    letter-spacing: -0.06em;
    color: rgba(16, 19, 29, 0.025);
    pointer-events: none;
}

/* Two-column About layout. */
.about-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: clamp(70px, 8vw, 135px);
}

/* Salon image container. */
.about-visual {
    position: relative;
    filter: drop-shadow(0 32px 60px rgba(16, 19, 29, 0.1));
}

/* Decorative line behind the salon image. */
.about-visual::before {
    content: "";
    position: absolute;
    inset: 22px -22px -22px 22px;
    z-index: -1;
    border: 1px solid rgba(143, 92, 102, 0.28);
    border-radius: 210px 210px 8px 8px;
    transition: var(--transition);
}

/* Moves the decorative line on hover. */
.about-visual:hover::before {
    border-color: rgba(169, 217, 234, 0.5);
    transform: translate(8px, 8px);
}

/* Salon image placeholder. */
.about-placeholder {
    width: 100%;
    min-height: 630px;
    border-radius: 210px 210px 8px 8px;
    transition: var(--transition);
}

/* Real salon image. */
.about-image {
    width: 100%;
    height: 630px;
    border-radius: 210px 210px 8px 8px;
    object-fit: cover;
    transition: var(--transition);
}

/* Image hover movement. */
.about-visual:hover .about-placeholder,
.about-visual:hover .about-image {
    transform: translateY(-6px);
}

/* Establishment year card. */
.about-year {
    position: absolute;
    right: -34px;
    bottom: 42px;
    display: flex;
    flex-direction: column;
    min-width: 172px;
    padding: 29px;
    border-top: 2px solid var(--opal-gold);
    color: var(--white);
    background:
        linear-gradient(
            145deg,
            #272d40,
            var(--ink)
        );
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

/* Year card hover movement. */
.about-visual:hover .about-year {
    box-shadow: 0 34px 70px rgba(16, 19, 29, 0.22);
    transform: translateY(-7px);
}

/* Establishment label. */
.about-year span {
    font-size: 0.66rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Establishment year. */
.about-year strong {
    margin-top: 7px;
    font-family: var(--heading-font);
    font-size: 2.55rem;
    font-weight: 500;
}

/* About content. */
.about-content {
    position: relative;
}

/* Small decorative word above About content. */
.about-content::before {
    content: "CRAFT";
    position: absolute;
    top: -70px;
    right: 0;
    font-family: var(--heading-font);
    font-size: 4.5rem;
    font-style: italic;
    color: rgba(143, 92, 102, 0.08);
}

/* Main About heading. */
.about-content h2 {
    max-width: 760px;
    margin-bottom: 32px;
    font-family: var(--heading-font);
    font-size: clamp(4rem, 5.3vw, 6.2rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.03em;
    color: var(--ink);
}

/* About paragraph. */
.about-content p {
    max-width: 650px;
    margin-bottom: 38px;
    font-size: 1rem;
    line-height: 1.92;
}

/*
    BOOKING CALLOUT
*/

/* Booking section. */
.booking-callout {
    position: relative;
    isolation: isolate;
    padding-right: var(--page-padding);
    padding-left: var(--page-padding);
    color: var(--text-light);
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(169, 217, 234, 0.17),
            transparent 28%
        ),
        radial-gradient(
            circle at 18% 90%,
            rgba(239, 170, 138, 0.08),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #2b3145,
            var(--ink)
        );
    overflow: hidden;
}

/* Large booking background word. */
.booking-callout::after {
    content: "BOOK";
    position: absolute;
    right: -2vw;
    bottom: -5vw;
    z-index: -1;
    font-family: var(--heading-font);
    font-size: clamp(11rem, 22vw, 24rem);
    font-weight: 600;
    line-height: 0.7;
    color: rgba(255, 255, 255, 0.025);
}

/* Moving opaline ribbon. */
.booking-callout::before {
    content: "";
    position: absolute;
    top: -160%;
    right: 8%;
    width: 280px;
    height: 520%;
    opacity: 0.14;
    background:
        linear-gradient(
            to right,
            transparent,
            var(--opal-blue),
            var(--opal-lilac),
            var(--opal-peach),
            transparent
        );
    filter: blur(18px);
    transform: rotate(24deg);
    animation: bookingRibbon 12s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Booking content layout. */
.booking-callout-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 75px;
}

/* Booking heading. */
.booking-callout h2 {
    max-width: 900px;
    font-family: var(--heading-font);
    font-size: clamp(4.2rem, 5.9vw, 6.9rem);
    font-weight: 500;
    line-height: 0.89;
    letter-spacing: -0.04em;
    color: var(--white);
}

/*
    FOOTER
*/

/* Main footer. */
.site-footer {
    position: relative;
    padding: 105px var(--page-padding) 34px;
    color: rgba(255, 255, 255, 0.72);
    background-color: #0c0f17;
    overflow: hidden;
}

/* Opaline top line. */
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--opal-gradient);
    opacity: 0.82;
}

/* Decorative footer word. */
.footer-background-word {
    position: absolute;
    left: 2%;
    bottom: 28px;
    font-family: var(--heading-font);
    font-size: clamp(9rem, 17vw, 19rem);
    line-height: 0.5;
    color: rgba(255, 255, 255, 0.024);
    pointer-events: none;
}

/* Footer grid. */
.footer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.7fr 0.95fr 1.15fr;
    gap: clamp(45px, 5vw, 85px);
    padding-bottom: 78px;
}

/* Footer logo. */
.footer-brand {
    display: inline-flex;
    width: 95px;
    margin-bottom: 28px;
}

/* Footer logo image. */
.footer-brand img {
    width: 100%;
    object-fit: contain;
}

/* Footer brand description. */
.footer-brand-column > p {
    max-width: 360px;
    font-size: 0.9rem;
    line-height: 1.82;
}

/* Footer social layout. */
.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

/* Footer social button. */
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--dark-border);
    border-radius: 50%;
    font-size: 0.95rem;
    color: var(--white);
}

/* Footer social hover. */
.footer-socials a:hover {
    color: var(--ink);
    background: var(--opal-gradient);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

/* Footer column heading. */
.footer-column h3 {
    margin-bottom: 27px;
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
}

/* Footer navigation. */
.footer-column nav {
    display: grid;
    gap: 14px;
}

/* Footer links. */
.footer-column a {
    position: relative;
    width: fit-content;
    font-size: 0.84rem;
    line-height: 1.5;
}

/* Animated footer underline. */
.footer-column a:not(.footer-directions)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background-color: var(--opal-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}

/* Footer link hover. */
.footer-column a:hover {
    color: var(--opal-blue);
}

/* Reveals the underline. */
.footer-column a:not(.footer-directions):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Footer address. */
.footer-column address {
    margin-bottom: 20px;
    font-style: normal;
    font-size: 0.86rem;
    line-height: 1.82;
}

/* Directions link. */
.footer-directions {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--opal-lilac);
    color: var(--opal-lilac);
}

/* Opening hours. */
.opening-hours {
    display: grid;
    gap: 15px;
}

/* Individual opening row. */
.opening-hours li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 18px;
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Opening hour values. */
.opening-hours strong {
    text-align: right;
    color: var(--white);
}

/* Footer bottom row. */
.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--dark-border);
}

/* Copyright text. */
.footer-bottom p {
    font-size: 0.75rem;
}

/* Legal links. */
.footer-bottom div {
    display: flex;
    gap: 25px;
}

/* Legal link typography. */
.footer-bottom a {
    font-size: 0.75rem;
}

/* Legal link hover. */
.footer-bottom a:hover {
    color: var(--opal-peach);
}

/*
    SCROLL REVEAL
*/

/* Initial reveal state when JavaScript is active. */
.motion-ready .reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.9s var(--transition-easing),
        transform 0.9s var(--transition-easing);
    transition-delay: var(--reveal-delay, 0ms);
}

/* Reveal from the left. */
.motion-ready .reveal-left {
    transform: translateX(-44px);
}

/* Reveal from the right. */
.motion-ready .reveal-right {
    transform: translateX(44px);
}

/* Final reveal state. */
.motion-ready .reveal-element.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/*
    ANIMATIONS
*/

@keyframes salonMirrorFloat {
    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -10px;
    }
}

@keyframes placeholderShine {
    0%,
    18% {
        left: -55%;
    }

    45%,
    100% {
        left: 130%;
    }
}

@keyframes orbitOne {
    from {
        rotate: -7deg;
    }

    to {
        rotate: 353deg;
    }
}

@keyframes orbitTwo {
    from {
        rotate: 8deg;
    }

    to {
        rotate: 368deg;
    }
}

@keyframes glowDriftOne {
    from {
        transform: translate3d(-20px, -8px, 0);
    }

    to {
        transform: translate3d(35px, 25px, 0);
    }
}

@keyframes glowDriftTwo {
    from {
        transform: translate3d(10px, 20px, 0);
    }

    to {
        transform: translate3d(-35px, -15px, 0);
    }
}

@keyframes bookingRibbon {
    from {
        transform: translateX(-45px) rotate(24deg);
    }

    to {
        transform: translateX(65px) rotate(24deg);
    }
}

/*
    SMALL DESKTOP AND TABLET
*/
@media (max-width: 1199.98px) {

    /* Hides the desktop side navigation. */
    .side-navigation {
        display: none;
    }

    /* Removes the desktop navigation margin. */
    .page-content {
        margin-left: 0;
    }

    /* Mobile header. */
    .mobile-header {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1300;

        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        min-height: 86px;

        padding: 10px 28px;

        border-bottom: 1px solid rgba(16, 19, 29, 0.1);

        background:
            radial-gradient(
                circle at 10% 20%,
                rgba(169, 217, 234, 0.3),
                transparent 34%
            ),
            radial-gradient(
                circle at 80% 80%,
                rgba(200, 183, 229, 0.22),
                transparent 34%
            ),
            linear-gradient(
                115deg,
                rgba(250, 248, 244, 0.98),
                rgba(247, 242, 248, 0.97)
            );

        box-shadow:
            0 15px 42px
            rgba(16, 19, 29, 0.09);

        backdrop-filter: blur(20px);
    }

    /* Mobile logo. */
    .mobile-brand {
        display: inline-flex;
        width: 145px;
    }

    /* Mobile logo image. */
    .mobile-brand img {
        width: 100%;
        max-height: 64px;
        object-fit: contain;
    }

    /* Mobile menu button. */
    .mobile-menu-button {
        position: relative;
        z-index: 1500;

        display: flex;
        flex-direction: column;
        justify-content: center;

        gap: 7px;

        width: 50px;
        height: 50px;

        padding: 0 12px;

        border: 2px solid transparent;
        border-radius: 50%;

        background:
            linear-gradient(
                rgba(250, 248, 244, 0.96),
                rgba(250, 248, 244, 0.96)
            ) padding-box,
            var(--opal-gradient) border-box;

        box-shadow:
            0 12px 28px
            rgba(16, 19, 29, 0.11);
    }

    /* Mobile menu button lines. */
    .mobile-menu-button span {
        width: 100%;
        height: 1px;
        background-color: var(--ink);
        transition: var(--transition);
    }

    /* First menu line when open. */
    .mobile-menu-button.open span:first-child {
        background-color: var(--white);
        transform: translateY(4px) rotate(45deg);
    }

    /* Second menu line when open. */
    .mobile-menu-button.open span:last-child {
        background-color: var(--white);
        transform: translateY(-4px) rotate(-45deg);
    }

    /* Full-screen mobile navigation. */
    .mobile-navigation {
        position: fixed;
        inset: 0;
        z-index: 1250;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 115px 8vw 50px;
        color: var(--white);
        background:
            radial-gradient(
                circle at 80% 20%,
                rgba(169, 217, 234, 0.16),
                transparent 30%
            ),
            linear-gradient(
                135deg,
                #2a3044,
                var(--ink)
            );
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: 0.45s ease;
    }

    /* Open mobile navigation. */
    .mobile-navigation.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Mobile navigation label. */
    .mobile-navigation-label {
        margin-bottom: 25px;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.2em;
        color: var(--opal-peach);
        text-transform: uppercase;
    }

    /* Mobile navigation list. */
    .mobile-navigation nav {
        display: grid;
    }

    /* Individual mobile navigation link. */
    .mobile-navigation nav a {
        display: flex;
        align-items: baseline;
        gap: 18px;
        padding: 8px 0;
        border-bottom: 1px solid var(--dark-border);
        font-family: var(--heading-font);
        font-size: clamp(2.8rem, 7vw, 4.8rem);
        line-height: 1.05;
        opacity: 0;
        transform: translateY(18px);
        transition: var(--transition);
    }

    /* Reveals mobile links in sequence. */
    .mobile-navigation.open nav a {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-navigation.open nav a:nth-child(1) {
        transition-delay: 0.06s;
    }

    .mobile-navigation.open nav a:nth-child(2) {
        transition-delay: 0.11s;
    }

    .mobile-navigation.open nav a:nth-child(3) {
        transition-delay: 0.16s;
    }

    .mobile-navigation.open nav a:nth-child(4) {
        transition-delay: 0.21s;
    }

    .mobile-navigation.open nav a:nth-child(5) {
        transition-delay: 0.26s;
    }

    /* Mobile navigation number. */
    .mobile-navigation nav a span {
        min-width: 22px;
        font-family: var(--body-font);
        font-size: 0.62rem;
        color: var(--opal-peach);
    }

    /* Mobile link hover. */
    .mobile-navigation nav a:hover {
        padding-left: 15px;
        color: var(--opal-blue);
    }

    /* Mobile navigation footer. */
    .mobile-navigation-footer {
        display: flex;
        flex-wrap: wrap;
        gap: 22px;
        margin-top: 40px;
    }

    /* Mobile footer links. */
    .mobile-navigation-footer a {
        font-size: 0.78rem;
    }

    /* Mobile booking link. */
    .mobile-booking-link {
        color: var(--opal-peach);
    }

    /* Adds space for the fixed mobile header. */
    .hero-section {
        padding-top: 86px;
    }

    /* Footer changes to two columns. */
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/*
    TABLET
*/
@media (max-width: 991.98px) {

    /* Reduces section spacing. */
    .section-space {
        padding-top: 105px;
        padding-bottom: 105px;
    }

    /* Stacks Hero content. */
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 95px;
        padding-bottom: 75px;
    }

    /* Centres Hero text. */
    .hero-copy {
        max-width: 790px;
        margin: 0 auto;
        text-align: center;
    }

    /* Removes the Hero vertical line. */
    .hero-copy::before {
        display: none;
    }

    /* Centres the Hero label. */
    .hero-copy .section-label {
        justify-content: center;
    }

    /* Removes the highlighted word indentation. */
    .hero-title em {
        margin-left: 0;
    }

    /* Centres the description. */
    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    /* Centres Hero actions. */
    .hero-actions {
        justify-content: center;
    }

    /* Centres Hero visual. */
    .hero-visual {
        width: min(100%, 760px);
        min-height: 720px;
        margin: 0 auto;
    }

    /* Keeps the Hero image large on tablets. */
    .ornamental-frame {
        width: min(72%, 550px);
    }

    /* Stacks services heading. */
    .section-heading {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Removes the heading line. */
    .section-heading::before {
        display: none;
    }

    /* Expands introduction width. */
    .section-heading > p {
        max-width: 720px;
    }

    /* Displays two service cards per row. */
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Removes the centre card offset. */
    .service-card:nth-child(2) {
        margin-top: 0;
    }

    /* Stacks the About section. */
    .about-layout {
        grid-template-columns: 1fr;
    }

    /* Limits About image width. */
    .about-visual {
        width: min(100%, 730px);
        margin: 0 auto;
    }

    /* Keeps the year card inside the viewport. */
    .about-year {
        right: 20px;
    }

    /* Removes the decorative craft word. */
    .about-content::before {
        display: none;
    }

    /* Stacks booking content. */
    .booking-callout-layout {
        grid-template-columns: 1fr;
    }

    /* Aligns booking button to the left. */
    .booking-callout-layout > .primary-button {
        justify-self: start;
    }
}

/*
    MOBILE
*/
@media (max-width: 767.98px) {

    /* Reduces shared page padding. */
    :root {
        --page-padding: 22px;
    }

    /* Reduces mobile section spacing. */
    .section-space {
        padding-top: 82px;
        padding-bottom: 82px;
    }

    /* Reduces mobile header padding. */
    .mobile-header {
        padding-right: 18px;
        padding-left: 18px;
    }

    /* Reduces mobile logo width. */
    .mobile-brand {
        width: 125px;
    }

    /* Reduces Hero spacing. */
    .hero-layout {
        padding-top: 72px;
        padding-bottom: 58px;
    }

    /* Reduces Hero heading. */
    .hero-title {
        font-size: clamp(4.15rem, 18vw, 6.2rem);
    }

    /* Reduces Hero description. */
    .hero-description {
        font-size: 0.95rem;
    }

    /* Stacks Hero actions. */
    .hero-actions {
        flex-direction: column;
    }

    /* Makes primary Hero button full-width. */
    .hero-actions .primary-button {
        width: 100%;
    }

    /* Reduces Hero image area. */
    .hero-visual {
        min-height: 590px;
    }

    /* Expands the salon mirror on mobile. */
    .ornamental-frame {
        width: min(82%, 500px);
        border-radius: 190px 190px 10px 10px;
    }

    /* Matches placeholder shape to mobile mirror. */
    .hero-placeholder,
    .hero-image {
        border-radius: 180px 180px 5px 5px;
    }

    /* Centres frame caption. */
    .hero-frame-caption {
        right: 50%;
        bottom: 0;
        transform: translateX(50%);
    }

    /* Displays one service card per row. */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Removes desktop card minimum height. */
    .service-card {
        min-height: 0;
    }

    /* Reduces service image height. */
    .service-placeholder,
    .service-image {
        height: 310px;
    }

    /* Reduces About image height. */
    .about-placeholder,
    .about-image {
        min-height: 510px;
        height: 510px;
        border-radius: 130px 130px 6px 6px;
    }

    /* Matches the decorative line shape. */
    .about-visual::before {
        border-radius: 130px 130px 6px 6px;
    }

    /* Centres the booking callout. */
    .booking-callout-layout {
        text-align: center;
    }

    /* Makes booking button full-width. */
    .booking-callout-layout > .primary-button {
        width: 100%;
        justify-self: stretch;
    }

    /* Footer becomes one column. */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* Stacks footer bottom. */
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/*
    SMALL MOBILE
*/
@media (max-width: 479.98px) {

    /* Reduces mobile navigation padding. */
    .mobile-navigation {
        padding-right: 24px;
        padding-left: 24px;
    }

    /* Reduces mobile navigation link size. */
    .mobile-navigation nav a {
        font-size: 2.65rem;
    }

    /* Reduces Hero visual height. */
    .hero-visual {
        min-height: 520px;
    }

    /* Makes the salon mirror wider. */
    .ornamental-frame {
        width: 90%;
    }

    /* Reduces service image height. */
    .service-placeholder,
    .service-image {
        height: 280px;
    }

    /* Reduces About image height. */
    .about-placeholder,
    .about-image {
        min-height: 430px;
        height: 430px;
    }

    /* Allows legal links to wrap. */
    .footer-bottom div {
        flex-wrap: wrap;
    }
}

/* Reduces decorative motion when requested by the visitor. */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .motion-ready .reveal-element {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Styles the hero section used on legal pages such as privacy, terms and cookies. */
.legal-hero {
    padding: 150px 0 80px;
    background:
        linear-gradient(
            135deg,
            var(--pearl),
            var(--pearl-soft)
        );
}

/* Limits the width of the legal page introduction text. */
.legal-hero p {
    max-width: 680px;
    margin-top: 18px;
    color: var(--text);
}

/* Adds spacing around the legal content area. */
.legal-content-section {
    padding: 90px 0;
    background-color: var(--pearl);
}

/* Styles the main legal text container. */
.legal-content-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 54px;
    background-color: var(--white);
    border: 1px solid var(--light-border);
    border-radius: 34px;
    box-shadow: var(--shadow-card);
}

/* Styles each legal section title. */
.legal-content-card h2 {
    margin-top: 34px;
    margin-bottom: 12px;
    color: var(--ink);
    font-family: var(--heading-font);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

/* Removes extra top margin from the first legal section title. */
.legal-content-card h2:first-child {
    margin-top: 0;
}

/* Styles the legal paragraphs. */
.legal-content-card p {
    color: var(--text);
    line-height: 1.8;
}

/* Styles the note shown at the end of each legal page. */
.legal-note {
    margin-top: 34px;
    padding: 18px 20px;
    border-radius: 18px;
    background-color: var(--pearl-soft);
    color: var(--ink-muted);
    font-size: 0.95rem;
}

/* Improves legal page spacing on smaller screens. */
@media (max-width: 768px) {

    .legal-hero {
        padding: 125px 0 60px;
    }

    .legal-content-section {
        padding: 60px 0;
    }

    .legal-content-card {
        padding: 34px 24px;
        border-radius: 24px;
    }

}


