@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
    color-scheme: dark;
    --ink: #f5eee9;
    --muted: #c0b5ac;
    --rose: #d39287;
    --rose-dark: #e0a198;
    --paper: #08080880;
    --cream: #121212b9;
    --line: #393331;
    font-family: 'DM Sans', sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid var(--rose-dark);
    outline-offset: 5px;
}

.site-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    min-height: 92px;
    padding: 0 8.3%;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border: 1px solid var(--rose);
    border-radius: 50%;
    color: var(--rose-dark);
    font-family: 'Playfair Display', serif;
    font-size: 23px;
    font-style: italic;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.3px;
}

.brand-name span {
    color: var(--rose-dark);
    font-style: italic;
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 38px;
    color: #e8ded8;
    font-size: 12px;
}

.main-nav > a:not(.nav-cta):hover,
.text-link:hover {
    color: var(--rose-dark);
}

.nav-cta {
    padding: 12px 17px;
    border: 1px solid #62524e;
    border-radius: 2px;
    color: var(--ink);
    transition: background .2s ease, color .2s ease;
}

.nav-cta:hover {
    color: #080808ad;
    background: var(--ink);
}

.nav-cta span,
.button span {
    margin-left: 9px;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1440px;
    min-height: 604px;
    padding: 28px 8.3% 82px;
    margin: 0 auto;
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding: 24px 0 0 2.5%;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 24px;
    color: var(--rose-dark);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.eyebrow-line {
    width: 27px;
    height: 1px;
    background: var(--rose);
}

h1,
h2 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    letter-spacing: -1.7px;
}

.hero h1 {
    font-size: clamp(54px, 6vw, 79px);
    line-height: 1.08;
}

h1 em,
h2 em {
    color: var(--rose);
    font-weight: 500;
}

.hero-intro {
    max-width: 350px;
    margin: 24px 0 27px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 27px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 19px;
    font-size: 11px;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-dark {
    color: white;
    background: #a76259;
}

.button-dark:hover {
    background: #bd796e;
}

.text-link {
    padding-bottom: 4px;
    border-bottom: 1px solid #5b4e49;
    font-size: 11px;
    font-weight: 600;
    transition: color .2s ease;
}

.text-link span {
    margin-left: 8px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    font-size: 11px;
}

.rating-stars {
    color: #b68251;
    font-size: 13px;
    letter-spacing: 2px;
}

.rating-muted {
    color: var(--muted);
}

.hero-visual {
    position: relative;
    justify-self: end;
    width: min(100%, 465px);
    height: 460px;
    margin-right: 1%;
}

.hero-photo {
    position: absolute;
    inset: 0 8% 0 0;
    background-color: #121212b6;
    background-image: linear-gradient(180deg, rgba(47, 36, 27, .02), rgba(47, 36, 27, .08)), url('assets/hero-hairstyles.png');
    background-position: center;
    background-size: cover;
}

.photo-caption {
    position: absolute;
    right: 0;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    padding: 17px 19px;
    color: var(--ink);
    background: #171515ab;
    box-shadow: 0 12px 35px #49352534;
}

.caption-icon {
    color: var(--rose);
    font-size: 25px;
}

.photo-caption strong,
.photo-caption small {
    display: block;
}

.photo-caption strong {
    margin-bottom: 4px;
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 500;
}

.photo-caption small {
    color: var(--muted);
    font-size: 9px;
}

.hero-sparkle {
    position: absolute;
    color: var(--rose);
}

.sparkle-one {
    top: 17px;
    right: 2px;
    font-size: 29px;
}

.sparkle-two {
    bottom: -19px;
    left: -20px;
    font-size: 27px;
}

.hero-note {
    position: absolute;
    right: 2.5%;
    bottom: 88px;
    color: #b8a69a;
    font-size: 8px;
    letter-spacing: 2px;
    line-height: 1.8;
    writing-mode: vertical-rl;
}

.welcome {
    padding: 86px 10% 70px;
    background: var(--cream);
}

.welcome-label {
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: 1040px;
    margin: 0 auto 34px;
    color: #c2b5aa;
    font-size: 9px;
    letter-spacing: 1.6px;
}

.welcome-label span,
.value-number {
    color: var(--rose-dark);
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: center;
    gap: 8%;
    max-width: 1040px;
    margin: 0 auto;
}

.welcome h2,
.visit h2,
.closing h2 {
    font-size: clamp(39px, 4.5vw, 57px);
    line-height: 1.17;
}

.welcome-description p {
    margin: 0 0 23px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.values-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1040px;
    margin: 67px auto 0;
    border-top: 1px solid var(--line);
}

.values-row > div {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 65px;
    color: #e8ded8;
    font-size: 10px;
}

.value-number {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
}

.services {
    padding: 91px 10% 96px;
}

.services-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    max-width: 1040px;
    margin: 0 auto 34px;
}

.services-heading .eyebrow {
    margin-bottom: 19px;
}

.services-heading h2 {
    font-size: clamp(42px, 4.5vw, 57px);
    line-height: 1.15;
}

.services-heading > p {
    max-width: 310px;
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.service-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    max-width: 1040px;
    margin: 0 auto 31px;
}

.service-gallery img {
    display: block;
    width: 100%;
    max-width: 760px;
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    object-position: center;
    background: #0c0c0ca5;
    margin: 0 auto;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1040px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.service-card {
    padding: 24px 23px 26px 0;
}

.service-card + .service-card {
    padding-left: 23px;
    border-left: 1px solid var(--line);
}

.service-number {
    color: var(--rose-dark);
    font-family: 'Playfair Display', serif;
    font-size: 13px;
}

.service-card h3 {
    margin: 12px 0 9px;
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 500;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.9;
}

.services-cta {
    display: flex;
    width: fit-content;
    margin: 28px auto 0;
}

.booking {
    padding: 82px 10%;
    background: var(--cream);
}

.booking-heading {
    max-width: 760px;
    margin: 0 auto;
}

.booking-heading .eyebrow {
    margin-bottom: 19px;
}

.booking-heading h2 {
    font-size: clamp(40px, 4.5vw, 57px);
    line-height: 1.15;
}

.booking-heading > p:last-child {
    max-width: 410px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 760px;
    margin: 30px auto 0;
}

.booking-field {
    display: grid;
    gap: 8px;
}

.booking-field-full,
.booking-note,
.booking-status {
    grid-column: 1 / -1;
}

.booking-field label {
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
}

.booking-field label span {
    color: var(--muted);
    font-weight: 400;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #49423e;
    border-radius: 2px;
    color: var(--ink);
    background: #080808;
    font: inherit;
    font-size: 12px;
    color-scheme: dark;
}

.booking-field textarea {
    min-height: 94px;
    resize: vertical;
}

.booking-field input:focus-visible,
.booking-field select:focus-visible,
.booking-field textarea:focus-visible,
.booking-submit:focus-visible,
.booking-whatsapp:focus-visible {
    outline: 2px solid var(--rose-dark);
    outline-offset: 3px;
}

.booking-note,
.booking-status {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.booking-submit,
.booking-whatsapp {
    width: fit-content;
}

.booking-whatsapp {
    color: #080808;
}

.hairstyle-gallery {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 60px;
    padding: 82px 10%;
    background: var(--cream);
}

.hairstyle-gallery-copy {
    max-width: 390px;
    justify-self: end;
}

.hairstyle-gallery-copy .eyebrow {
    margin-bottom: 19px;
}

.hairstyle-gallery-copy h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 4.2vw, 54px);
    font-weight: 500;
    line-height: 1.2;
}

.hairstyle-gallery-copy h2 em {
    color: var(--rose-dark);
    font-weight: 500;
}

.hairstyle-gallery-copy > p:last-child {
    max-width: 330px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.hairstyle-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
    width: 100%;
    max-width: 520px;
    justify-self: start;
}

.hairstyle-gallery-photo {
    min-width: 0;
    margin: 0;
}

.hairstyle-gallery-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #e3d2c3;
}

.hairstyle-gallery-photo-wide {
    grid-column: 1 / -1;
}

.hairstyle-gallery-photo-wide img {
    aspect-ratio: 16 / 9;
}

.hairstyle-gallery-photo figcaption {
    margin-top: 11px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .04em;
}

.visit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 590px;
    background: #0000007b;
}

.visit-photo {
    min-height: 590px;
    background-color: #e3d2c3;
    background-image: url('assets/salon-location-photo.png');
    background-position: center 38%;
    background-size: cover;
}

.visit-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 75px clamp(35px, 8vw, 120px);
    color: white;
}

.visit-card .eyebrow {
    color: #d7a39a;
}

.visit h2 {
    font-size: clamp(40px, 4.2vw, 55px);
}

.visit h2 em {
    color: #d7a39a;
}

.visit-details {
    display: grid;
    gap: 23px;
    width: 100%;
    max-width: 310px;
    padding: 30px 0;
    margin: 7px 0 13px;
    border-top: 1px solid #ffffff3e;
    border-bottom: 1px solid #ffffff25;
}

.detail-item {
    display: flex;
    gap: 14px;
}

.detail-icon {
    width: 17px;
    color: #d7a39a;
    font-size: 17px;
    text-align: center;
}

.detail-label {
    display: block;
    margin-bottom: 6px;
    color: #c7b9ae;
    font-size: 8px;
    letter-spacing: 1.5px;
}

.detail-item address,
.detail-item p,
.detail-item a {
    margin: 0;
    color: #fffaf5;
    font-size: 11px;
    font-style: normal;
    line-height: 1.7;
}

.detail-item a:hover {
    color: #e3b6ad;
}

.hours-list {
    display: grid;
    gap: 5px;
    min-width: 185px;
    padding: 0;
    margin: 0;
    color: #fffaf5;
    font-size: 10px;
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.button-light {
    color: #211b18a4;
    background: #fbf8f5;
}

.button-light:hover {
    background: #e8d6ca;
}

.closing {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 91px 24px 94px;
    text-align: center;
}

.closing-flower {
    margin-bottom: 18px;
    color: var(--rose);
    font-size: 29px;
}

.closing .eyebrow {
    margin-bottom: 16px;
}

.closing h2 {
    margin-bottom: 25px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 83px;
    padding: 17px 8.3%;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 9px;
}

.footer-brand .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 19px;
}

.footer-brand .brand-name {
    color: var(--ink);
    font-size: 14px;
}

.site-footer > span:last-child a:hover {
    color: var(--rose-dark);
}

@media (min-width: 1441px) {
    .hero {
        min-height: 680px;
    }
}

@media (max-width: 900px) {
    .site-header {
        padding-right: 5%;
        padding-left: 5%;
    }

    .hero {
        min-height: 530px;
        padding-right: 5%;
        padding-left: 5%;
    }

    .hero-visual {
        height: 390px;
    }

    .hero h1 {
        font-size: clamp(51px, 7vw, 67px);
    }

    .welcome {
        padding-right: 7%;
        padding-left: 7%;
    }

    .services {
        padding-right: 7%;
        padding-left: 7%;
    }

    .hairstyle-gallery {
        gap: 35px;
        padding-right: 7%;
        padding-left: 7%;
    }

    .visit-card {
        padding-right: 8%;
        padding-left: 8%;
    }

    .site-footer {
        padding-right: 5%;
        padding-left: 5%;
    }
}

@media (max-width: 650px) {
    .site-header {
        min-height: 74px;
        padding: 0 6%;
    }

    .brand-name {
        font-size: 15px;
    }

    .main-nav {
        gap: 0;
    }

    .main-nav > a:not(.nav-cta) {
        display: none;
    }

    .nav-cta {
        padding: 10px 12px;
        font-size: 10px;
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 32px 7% 55px;
    }

    .hero-copy {
        padding: 0;
    }

    .hero h1 {
        font-size: clamp(53px, 13vw, 72px);
    }

    .hero-intro {
        max-width: 340px;
        margin-top: 18px;
    }

    .rating {
        margin-top: 27px;
    }

    .hero-visual {
        width: calc(100% - 13px);
        height: 330px;
        margin: 38px 13px 0 0;
    }

    .hero-photo {
        right: 6%;
    }

    .hero-note {
        display: none;
    }

    .welcome {
        padding: 59px 7% 42px;
    }

    .welcome-label {
        margin-bottom: 26px;
    }

    .welcome-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .welcome h2,
    .closing h2 {
        font-size: 45px;
    }

    .values-row {
        grid-template-columns: 1fr;
        margin-top: 34px;
    }

    .values-row > div {
        min-height: 49px;
        border-bottom: 1px solid var(--line);
    }

    .services {
        padding: 62px 7%;
    }

    .booking {
        padding: 62px 7%;
    }

    .services-heading {
        display: block;
        margin-bottom: 27px;
    }

    .services-heading > p {
        margin-top: 17px;
    }

    .services-heading h2 {
        font-size: 45px;
    }

    .booking-heading h2 {
        font-size: 43px;
    }

    .service-gallery {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 24px;
    }

    .service-gallery img {
        max-width: 100%;
    }

    .hairstyle-gallery {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 62px 7%;
    }

    .hairstyle-gallery-copy {
        max-width: none;
        justify-self: auto;
    }

    .hairstyle-gallery-copy h2 {
        font-size: 43px;
    }

    .hairstyle-gallery-grid {
        max-width: 460px;
        justify-self: center;
    }

    .booking-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .booking-field-full,
    .booking-note,
    .booking-status {
        grid-column: auto;
    }

    .booking-submit,
    .booking-whatsapp {
        width: 100%;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-card + .service-card {
        padding: 20px 0;
        border-left: 0;
    }

    .service-card + .service-card {
        border-top: 1px solid var(--line);
    }

    .visit {
        grid-template-columns: 1fr;
    }

    .visit-photo {
        min-height: 330px;
    }

    .visit-card {
        padding: 56px 9% 62px;
    }

    .visit h2 {
        font-size: 46px;
    }

    .visit-details {
        max-width: none;
    }

    .closing {
        padding: 70px 20px 73px;
    }

    .site-footer {
        flex-wrap: wrap;
        gap: 12px;
        padding: 20px 7%;
    }

    .site-footer > span:nth-child(2) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
