/* =========================
   ROWAN & ROSE — Local salon flyer vibe
   Professional salon typography (DM Sans + Playfair Display)
   No “stock AI hero/cards” layout
========================= */

* {
    box-sizing: border-box;
}

:root {
    --ink: #1f2326;
    --muted: #58636c;
    --paper: #fbfaf6;
    --paper2: #f1ebdf;
    --line: #d6cdbd;
    --line2: #c7bcaa;
    --accent: #2f5e56;
    /* muted green */
    --accent2: #223f3a;
    --rose: #a35c6b;
    /* soft local accent */

    /* Salon font pairing */
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: "Playfair Display", ui-serif, Georgia, "Times New Roman", serif;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.6;
    letter-spacing: .1px;

    background:
        radial-gradient(900px 600px at 15% 10%, rgba(47, 94, 86, .10), transparent 60%),
        radial-gradient(900px 600px at 85% 0%, rgba(163, 92, 107, .10), transparent 55%),
        linear-gradient(180deg, #f6f3ec, #f3efe6 55%, #efe7d8);
}

h1,
h2,
h3 {
    font-family: var(--font-head);
    letter-spacing: .2px;
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 20px;
}

a {
    color: inherit;
    text-underline-offset: 3px;
}

/* =========================
   Sign header (shop signage)
========================= */
.sign {
    background: rgba(251, 250, 246, .88);
    border-bottom: 2px solid var(--line);
    backdrop-filter: blur(6px);
}

.sign-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sign-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(47, 94, 86, .95), rgba(34, 63, 58, .92));
    box-shadow: 0 14px 28px rgba(34, 63, 58, .14);
}

.sign h1 {
    margin: 0;
    font-size: 30px;
    /* slightly more salon-y */
    line-height: 1.05;
    font-weight: 700;
}

.sign p {
    margin: 3px 0 0;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.sign-right {
    text-align: right;
}

.phone {
    font-weight: 800;
    text-decoration: none;
    border-bottom: 2px solid rgba(47, 94, 86, .25);
}

.mini {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

/* =========================
   Tabs (simple, local)
========================= */
.tabs {
    border-bottom: 2px solid var(--line);
    background: rgba(241, 235, 223, .75);
}

.tabs-inner {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tabs a {
    text-decoration: none;
    font-weight: 700;
    /* less shouty */
    padding: 10px 12px;
    border: 2px solid transparent;
}

.tabs a:hover {
    border-color: rgba(47, 94, 86, .22);
    background: rgba(251, 250, 246, .75);
}

/* =========================
   Paper sheet layout
========================= */
.sheet {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;

    background: var(--paper);
    border: 2px solid var(--line2);
    box-shadow: 0 18px 40px rgba(25, 28, 30, .10);
    position: relative;
}

/* dashed flyer frame */
.sheet::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px dashed rgba(88, 99, 108, .22);
    pointer-events: none;
}

.main,
.side {
    padding: 18px;
    position: relative;
    z-index: 1;
}

/* =========================
   Blocks
========================= */
.block {
    padding: 14px 14px;
    margin-bottom: 14px;
    border: 2px solid var(--line);
    background: rgba(241, 235, 223, .45);
    border-radius: 10px;
    /* subtle polish */
}

.block h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
}

.block h3 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
}

.lead {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 15px;
}

.small {
    font-size: 13px;
}

.tiny {
    font-size: 12px;
}

.muted {
    color: var(--muted);
}

/* =========================
   Chips
========================= */
.chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 6px;
}

.chips span {
    padding: 6px 10px;
    font-weight: 700;
    font-size: 12px;
    background: rgba(251, 250, 246, .75);
    border: 1px solid rgba(47, 94, 86, .22);
    border-radius: 999px;
    /* more salon / softer */
}

/* =========================
   Note blocks
========================= */
.note {
    margin-top: 12px;
    padding: 10px 12px;
    background: rgba(251, 250, 246, .75);
    border-left: 5px solid rgba(47, 94, 86, .35);
    border-radius: 10px;
}

.note.warm {
    border-left-color: rgba(163, 92, 107, .35);
}

.note b {
    display: block;
}

.note p {
    margin: 4px 0 0;
    color: var(--muted);
}

/* =========================
   Priceboard (not cards)
========================= */
.priceboard {
    margin-top: 10px;
    border: 2px solid var(--line2);
    background: rgba(251, 250, 246, .65);
    border-radius: 10px;
    overflow: hidden;
}

.row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 12px;
    border-top: 1px solid var(--line);
}

.row:first-child {
    border-top: none;
}

.item b {
    display: block;
    font-weight: 700;
}

.item span {
    font-size: 12px;
    color: var(--muted);
}

.price {
    font-weight: 800;
    white-space: nowrap;
}

/* =========================
   Polaroids
========================= */
.polaroids {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.polaroid {
    margin: 0;
    padding: 12px;
    background: rgba(251, 250, 246, .92);
    border: 2px solid var(--line2);
    border-radius: 10px;
    transform: rotate(-.5deg);
}

.polaroid:nth-child(2) {
    transform: rotate(.6deg);
}

.polaroid:nth-child(3) {
    transform: rotate(.3deg);
}

.polaroid:nth-child(4) {
    transform: rotate(-.3deg);
}

.photo {
    height: 120px;
    border: 2px dashed rgba(88, 99, 108, .25);
    background: rgba(241, 235, 223, .7);
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--muted);
    border-radius: 10px;
}

figcaption {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
}

/* =========================
   Quotes
========================= */
.quotes p {
    margin: 10px 0;
    padding-left: 10px;
    border-left: 4px solid rgba(47, 94, 86, .25);
    color: var(--muted);
    font-style: italic;
}

.quotes span {
    font-style: normal;
    font-weight: 700;
    color: var(--ink);
}

/* =========================
   Sidebar
========================= */
.sideblock {
    background: rgba(241, 235, 223, .55);
}

.stickybox {
    display: grid;
    gap: 10px;
    margin: 10px 0 12px;
}

.cta {
    display: block;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 12px;
    border: 2px solid rgba(47, 94, 86, .35);
    background: rgba(47, 94, 86, .10);
    border-radius: 10px;
}

.cta.alt {
    border-color: rgba(163, 92, 107, .35);
    background: rgba(163, 92, 107, .08);
}

.scribble {
    border: 2px dashed rgba(88, 99, 108, .22);
    background: rgba(251, 250, 246, .75);
    padding: 10px 12px;
    border-radius: 10px;
}

.scribble ul {
    margin: 8px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

/* =========================
   Rule
========================= */
.rule {
    border: none;
    border-top: 2px solid var(--line);
    margin: 14px 0;
}

/* =========================
   Form
========================= */
.form label {
    display: block;
    font-weight: 700;
    font-size: 12px;
    color: var(--muted);
    margin: 10px 0 6px;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px 10px;
    border: 2px solid var(--line);
    background: rgba(251, 250, 246, .75);
    font: inherit;
    border-radius: 10px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(47, 94, 86, .45);
}

.btn {
    margin-top: 10px;
    background: var(--accent);
    color: #fff;
    border: 2px solid rgba(0, 0, 0, .08);
    font-weight: 800;
    padding: 10px 12px;
    width: 100%;
    cursor: pointer;
    border-radius: 10px;
}

.btn:hover {
    filter: brightness(1.02);
}

/* =========================
   Map + hours
========================= */
.map {
    margin-top: 10px;
    height: 180px;
    border: 2px dashed rgba(88, 99, 108, .25);
    background: rgba(241, 235, 223, .7);
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 800;
    border-radius: 10px;
}

.hours {
    margin-top: 12px;
    padding: 10px 12px;
    background: rgba(251, 250, 246, .75);
    border: 2px solid var(--line2);
    border-radius: 10px;
}

.hours b {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

/* =========================
   Footer
========================= */
.footer {
    margin-top: 18px;
    border-top: 2px solid var(--line);
    background: rgba(241, 235, 223, .75);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footlinks {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footlinks a {
    text-decoration: none;
    font-weight: 700;
    color: var(--accent2);
}

/* =========================
   Mobile
========================= */
@media (max-width: 900px) {
    .sheet {
        grid-template-columns: 1fr;
    }

    .sign-right {
        text-align: left;
    }

    .polaroids {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .polaroids {
        grid-template-columns: 1fr;
    }

    .row {
        grid-template-columns: 1fr;
    }

    .price {
        justify-self: start;
    }
}

/* =========================
   MOBILE OPTIMISATION PATCH
   Paste at the bottom of style.css
========================= */

/* Slightly earlier breakpoints for nicer wrapping */
@media (max-width: 820px) {

    .wrap {
        padding: 14px 16px;
    }

    /* Header: make it feel less tall */
    .sign-inner {
        gap: 10px;
    }

    .mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .sign h1 {
        font-size: 26px;
    }

    .sign p {
        font-size: 12px;
    }

    .sign-right {
        text-align: left;
    }

    /* Tabs: turn into a swipe-friendly row */
    .tabs {
        overflow: hidden;
    }

    .tabs-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 6px;
        /* room for scroll */
    }

    .tabs-inner::-webkit-scrollbar {
        height: 6px;
    }

    .tabs a {
        white-space: nowrap;
        border: 2px solid rgba(47, 94, 86, .18);
        background: rgba(251, 250, 246, .65);
        border-radius: 999px;
        padding: 8px 12px;
        font-weight: 700;
        flex: 0 0 auto;
    }

    /* Sheet: reduce “heavy” borders + padding so it doesn’t feel boxed-in */
    .sheet {
        gap: 14px;
        margin-top: 12px;
    }

    .main,
    .side {
        padding: 14px;
    }

    .sheet::before {
        inset: 10px;
    }

    /* Blocks: slightly tighter spacing */
    .block {
        padding: 12px;
        margin-bottom: 12px;
    }

    .block h2 {
        font-size: 20px;
    }

    .lead {
        font-size: 14px;
    }

    /* Chips: wrap nicely and don’t look chunky */
    .chips {
        gap: 8px;
    }

    .chips span {
        padding: 6px 10px;
        font-size: 11.5px;
    }

    /* Gallery polaroids: remove rotation on mobile (reads cleaner) */
    .polaroid {
        transform: none;
    }

    .polaroid:nth-child(2),
    .polaroid:nth-child(3),
    .polaroid:nth-child(4) {
        transform: none;
    }

    /* Priceboard: better hierarchy on mobile */
    .priceboard {
        border-radius: 12px;
    }

    .row {
        padding: 10px 12px;
    }

    .item b {
        font-size: 14px;
    }

    .item span {
        font-size: 12px;
    }

    .price {
        font-size: 14px;
    }

    /* Sidebar: make the CTAs feel like primary actions */
    .stickybox {
        position: sticky;
        top: 10px;
        /* stays visible when scrolling a bit */
        z-index: 5;
        background: rgba(251, 250, 246, .92);
        border: 2px solid rgba(214, 205, 189, .85);
        border-radius: 12px;
        padding: 10px;
    }

    .cta {
        padding: 12px 12px;
        font-size: 14px;
    }
}

/* Very small phones */
@media (max-width: 520px) {

    .wrap {
        padding: 12px 14px;
    }

    /* Title size & spacing */
    .sign h1 {
        font-size: 24px;
    }

    .mark {
        width: 36px;
        height: 36px;
    }

    /* Sheet frame feels too “busy” on tiny screens */
    .sheet {
        border-width: 2px;
    }

    .sheet::before {
        border-color: rgba(88, 99, 108, .16);
    }

    /* One-column polish */
    .polaroids {
        grid-template-columns: 1fr;
    }

    /* Priceboard rows become stacked with clearer spacing */
    .row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .price {
        justify-self: start;
        background: rgba(47, 94, 86, .10);
        border: 1px solid rgba(47, 94, 86, .18);
        padding: 6px 10px;
        border-radius: 999px;
        display: inline-block;
        width: fit-content;
    }

    /* Inputs & button: bigger tap targets */
    input,
    select,
    textarea {
        padding: 12px 12px;
    }

    .btn {
        padding: 12px 12px;
        font-size: 15px;
    }

    /* Footer: less cramped */
    .footer-inner {
        gap: 8px;
    }
}