/*
Theme Name: dds_outstandingcleaningservice.com
Theme URI: https://outstandingcleaningservice.com/
Author: Priya Sharma
Description: Moving-checklist theme for an information site about deep cleaning, maintenance checks and pre-sale preparation of homes in urban India. Warm plaster backgrounds, torn paper sheets, rope tags and a dark green header.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ocsprep
*/

@font-face {
    font-family: "Archivo";
    src: url("fonts/archivo-wdth.woff2") format("woff2-variations"), url("fonts/archivo-wdth.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-style: normal;
    font-display: swap;
}
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
    --plaster: #F3EADB;
    --green: #1F4B4A;
    --green-2: #2A5D5B;
    --coffee: #26221E;
    --ink: #26221E;
    --muted: #8A7F6E;
    --brick: #E4633B;
    --brick-dark: #C24D28;
    --turmeric: #F2B705;
    --sage: #7FA88F;
    --line: #C9BBA4;
    --paper-a: #F7F1E6;
    --paper-b: #E7DECF;
    --paper: #FBF7EF;
    --cream-text: #EFE6D6;
    --font-head: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --torn-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M0 10V5l7 2 6-4 8 3 7-5 9 4 6-2 9 4 7-3 8 2 7-4 9 3 6-2 8 4 7-3 8 2 8-1v5z'/%3E%3C/svg%3E");
    --torn-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0v5l8 3 6-4 9 3 6-2 8 4 7-3 9 2 7-4 8 3 6-2 9 4 7-3 8 2 6-3 9 4 7-2 0-7z'/%3E%3C/svg%3E");
    --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M4 9c18-5 42-7 68-4 20 2 30 2 44-2' fill='none' stroke='%23E4633B' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M14 11c22-3 46-3 70-1' fill='none' stroke='%23E4633B' stroke-width='2' stroke-linecap='round' opacity='.6'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

.cookie-banner[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--plaster);
    background-image: url("images/plaster-tile.jpg");
    background-size: 520px 240px;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
figure { margin: 0; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 800;
    font-stretch: 108%;
    line-height: 1.15;
    margin: 0 0 .6em;
    color: var(--ink);
}

p { margin: 0 0 1em; }

h1, h2, h3, h4, p, li, dd, dt, td, th, figcaption, blockquote {
    overflow-wrap: break-word;
    hyphens: auto;
}

a { color: var(--green); }
a:hover { color: var(--brick-dark); }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 3px; }

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: .6rem 1rem;
    background: var(--turmeric);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}
.skip:focus { top: 1rem; }

.shell { width: min(92%, 1240px); margin-inline: auto; }

.wavy,
.entry-content a,
.page-intro a {
    color: var(--green);
    text-decoration: underline wavy var(--turmeric);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 5px;
}
.wavy:hover,
.entry-content a:hover { color: var(--brick-dark); text-decoration-color: var(--brick); }

/* ---------- Torn paper ---------- */

.torn {
    position: relative;
    background-color: var(--paper);
    -webkit-mask-image: var(--torn-top), linear-gradient(#000, #000), var(--torn-bottom);
    mask-image: var(--torn-top), linear-gradient(#000, #000), var(--torn-bottom);
    -webkit-mask-position: top left, center, bottom left;
    mask-position: top left, center, bottom left;
    -webkit-mask-size: 120px 10px, 100% calc(100% - 18px), 120px 10px;
    mask-size: 120px 10px, 100% calc(100% - 18px), 120px 10px;
    -webkit-mask-repeat: repeat-x, no-repeat, repeat-x;
    mask-repeat: repeat-x, no-repeat, repeat-x;
}

/* ---------- Buttons ---------- */

.tag-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    font-family: var(--font-head);
    font-weight: 700;
    font-stretch: 104%;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    padding: .85em 1.5em;
    border: 1px solid var(--line);
    border-radius: 2px 1px 3px 1px / 1px 3px 1px 2px;
    background: var(--paper-a);
    color: var(--ink);
    cursor: pointer;
    box-shadow: 0 3px 0 rgba(38, 34, 30, .08), 0 8px 16px -6px rgba(38, 34, 30, .35);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.tag-btn:hover { transform: translateY(-2px) rotate(-.6deg); box-shadow: 0 4px 0 rgba(38, 34, 30, .08), 0 12px 20px -6px rgba(38, 34, 30, .4); color: var(--ink); }
.tag-btn:active { transform: translateY(1px); }

.tag-btn--main {
    background: var(--brick);
    color: #fff;
    border: 3px solid var(--paper-a);
    outline: 1px solid var(--line);
}
.tag-btn--main::after {
    content: "";
    position: absolute;
    top: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    background: linear-gradient(225deg, var(--plaster) 50%, #F1D9C6 50%);
    box-shadow: -2px 2px 3px rgba(38, 34, 30, .18);
}
.tag-btn--main:hover { background: var(--brick-dark); color: #fff; }

.tag-btn--big { font-size: clamp(1.05rem, 1.6vw, 1.3rem); padding: .9em 1.7em; }

.tag-btn--mini {
    font-size: .78rem;
    padding: .45em 1.5em .45em .9em;
    border: 0;
    border-radius: 0;
    background: var(--paper-b);
    box-shadow: none;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}
.tag-btn--mini::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brick);
    margin-left: .2em;
}
.tag-btn--mini:hover { background: var(--turmeric); transform: translateX(3px); box-shadow: none; }

/* ---------- Header ---------- */

.masthead {
    position: relative;
    z-index: 20;
    background-color: var(--green);
    background-image:
        radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.5px),
        radial-gradient(rgba(0, 0, 0, .14) 1px, transparent 1.5px);
    background-size: 7px 7px, 11px 11px;
    background-position: 0 0, 3px 5px;
    color: #fff;
}

.masthead-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 104px;
    padding: .6rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    max-width: 600px;
    color: #fff;
    text-decoration: none;
}
.brand:hover { color: #fff; }

.brand-seal {
    flex: 0 0 auto;
    width: 112px;
    height: 112px;
    margin: 0 0 -42px;
    align-self: flex-start;
    margin-top: 8px;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35));
    transition: transform .3s ease;
}
.brand:hover .brand-seal { transform: rotate(-8deg); }
.brand-seal .seal-svg,
.brand-seal .brand-logo { width: 100%; height: 100%; display: block; object-fit: contain; }

.brand-text { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }

.brand-name {
    font-family: var(--font-head);
    font-weight: 800;
    font-stretch: 106%;
    font-size: 1.12rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brand-desc {
    font-size: .84rem;
    line-height: 1.35;
    color: #CFE0D6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.topnav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 2.2rem;
}
.topnav-list a {
    font-family: var(--font-head);
    font-weight: 600;
    font-stretch: 110%;
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    padding: .4rem 0;
    white-space: nowrap;
}
.topnav-list a:hover {
    color: #fff;
    text-decoration: underline wavy var(--turmeric);
    text-underline-offset: 6px;
}
.topnav-list .current-menu-item > a,
.topnav-list .current_page_item > a { color: var(--turmeric); }

.menu-toggle {
    display: none;
    align-items: center;
    gap: .6rem;
    padding: .55rem .9rem;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .45);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    position: relative;
}
.menu-toggle-bars::before,
.menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }

/* ---------- Section titles ---------- */

.sec-title {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: 0 0 2rem;
}
.sec-num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 2px solid var(--ink);
    border-radius: 50%;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    background: var(--paper-a);
}
.sec-text {
    position: relative;
    min-width: 0;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 800;
    font-stretch: 112%;
    letter-spacing: -.01em;
    padding-bottom: .35rem;
}
.sec-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -.45rem;
    width: 92px;
    height: 12px;
    background: var(--brush) no-repeat left center / 100% 100%;
}

/* ---------- Front page ---------- */

.shell--front { width: 85%; max-width: 1320px; }

.front { padding: 4.5rem 0 5rem; }
.block { margin-top: 5.5rem; min-width: 0; }

/* Opener */

.opener {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}
.opener-text { min-width: 0; }
.opener-title {
    font-weight: 900;
    font-stretch: 116%;
    font-size: clamp(2.4rem, 4.7vw, 4.6rem);
    line-height: .96;
    letter-spacing: -.02em;
    text-transform: uppercase;
    margin: 0 0 1.6rem;
}
.opener-lead {
    font-size: clamp(1.15rem, 1.7vw, 1.5rem);
    line-height: 1.45;
    max-width: 44ch;
    margin-bottom: 2.2rem;
}

.opener-photo {
    position: relative;
    justify-self: center;
    width: min(100%, 470px);
    padding: 22px 22px 26px;
    background: #FDFBF6;
    box-shadow: 0 2px 0 rgba(38, 34, 30, .06), 0 22px 40px -14px rgba(38, 34, 30, .45);
    transform: rotate(4deg);
}
.opener-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 860 / 1015;
    object-fit: cover;
}
.pushpin {
    position: absolute;
    top: -16px;
    left: 58%;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #FF8A7A 0 12%, #E2322A 40%, #A3150F 100%);
    box-shadow: 4px 8px 8px rgba(38, 34, 30, .35);
}
.pushpin::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 26px;
    width: 3px;
    height: 16px;
    background: linear-gradient(#9AA0A0, #5D6464);
    transform: translateX(-50%) rotate(18deg);
    transform-origin: top;
}

.stamp {
    position: absolute;
    z-index: 3;
    display: inline-block;
    padding: .45rem .9rem;
    font-family: var(--font-head);
    font-weight: 800;
    font-stretch: 110%;
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.05;
    color: var(--green);
    border: 3px double var(--green);
    border-radius: 6px;
    background: rgba(243, 234, 219, .9);
    box-shadow: inset 0 0 0 2px rgba(31, 75, 74, .25);
}
.stamp--ready {
    top: 28px;
    left: -38px;
    font-size: 1.3rem;
    transform: rotate(-16deg);
}

/* Rooms */

.block-rooms {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
}
.paper-wrap { position: relative; filter: drop-shadow(0 8px 12px rgba(38, 34, 30, .14)); min-width: 0; }
.rooms-wrap {
    grid-column: 1 / 8;
    grid-row: 1;
}
.rooms-sheet {
    background-color: var(--paper);
    padding: 3rem calc(100% / 7 + 1.8rem) 3rem 2.4rem;
}
.ribbon {
    position: absolute;
    top: 0;
    right: calc(100% / 7 + 1rem);
    width: 40px;
    height: 66px;
    background: var(--brick);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
}
.rooms-sheet .sec-title { padding-right: 3rem; }

.rooms-list { display: flex; flex-direction: column; gap: .2rem; }
.room summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .55rem 0;
    cursor: pointer;
    list-style: none;
}
.room summary::-webkit-details-marker { display: none; }
.room-box {
    position: relative;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border: 2px solid var(--brick);
    background: var(--paper);
}
.room-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: -3px;
    width: 9px;
    height: 17px;
    border: solid var(--brick);
    border-width: 0 3px 3px 0;
    transform: rotate(40deg);
}
.room-name {
    flex: 1;
    min-width: 0;
    font-size: 1.22rem;
    font-weight: 600;
}
.room-caret {
    width: 10px;
    height: 10px;
    border: solid var(--muted);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform .2s ease;
    margin-right: .3rem;
}
.room[open] .room-caret { transform: rotate(-135deg); }
.room summary:hover .room-name { color: var(--brick-dark); }
.room ul {
    list-style: none;
    margin: 0 0 .6rem;
    padding: 0 0 0 2.6rem;
}
.room li {
    position: relative;
    padding: .2rem 0 .2rem 1.8rem;
    font-size: 1rem;
    color: #4A433B;
}
.room li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 1.1rem;
    height: 1.5px;
    background: var(--muted);
}

.rooms-plan {
    grid-column: 7 / -1;
    grid-row: 1;
    position: relative;
    z-index: 2;
    margin-top: 7rem;
}
.plan-frame {
    position: relative;
    background: var(--green);
    border-radius: 10px;
    padding: 14px;
}
.plan-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 1500 / 728;
    object-fit: cover;
    border-radius: 4px;
}
.pin {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .35rem;
    transform: translate(-14px, -50%);
}
.pin b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--turmeric);
    color: var(--ink);
    font-family: var(--font-head);
    font-size: .85rem;
    box-shadow: 0 0 0 3px rgba(31, 75, 74, .8);
}
.pin i {
    font-style: normal;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--paper-a);
    padding: .15rem .45rem;
    white-space: nowrap;
}
.pin--flip { flex-direction: row-reverse; transform: translate(calc(-100% + 14px), -50%); }
.rooms-plan figcaption {
    margin-top: .9rem;
    padding: 0 .3rem;
    font-size: .95rem;
    color: #5E554A;
}

/* Packages */

.block-packs {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
    scroll-margin-top: 2rem;
}
.packs-main { grid-column: 1 / 9; min-width: 0; }
.packs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    align-items: start;
    padding-top: .5rem;
}
.pack { position: relative; min-width: 0; --rope: 56px; padding-top: var(--rope); }
.pack:nth-child(2) { --rope: 24px; }
.pack:nth-child(3) { --rope: 74px; }
.rope {
    position: absolute;
    top: 0;
    left: 50%;
    width: 7px;
    height: calc(var(--rope) + 26px);
    transform: translateX(-50%);
    border-radius: 4px;
    background: repeating-linear-gradient(-50deg, #D8BC8C 0 3px, #A9875A 3px 6px);
    z-index: 2;
}
.rope::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 16px;
    height: 12px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #D8BC8C, #8E6F45);
}
.pack-tag {
    position: relative;
    padding: 3rem 1.3rem 1.6rem;
    clip-path: polygon(22% 0, 78% 0, 100% 10%, 100% 100%, 0 100%, 0 10%);
    min-height: 330px;
    display: flex;
    flex-direction: column;
}
.pack-tag::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 50%;
    width: 22px;
    height: 22px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--plaster);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .7), inset 0 2px 4px rgba(38, 34, 30, .35);
}
.pack--brick .pack-tag { background: var(--brick); color: #fff; }
.pack--sage .pack-tag { background: var(--sage); color: var(--ink); min-height: 360px; }
.pack--turmeric .pack-tag { background: var(--turmeric); color: var(--ink); min-height: 310px; }
.pack-title {
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    font-stretch: 104%;
    text-align: center;
    color: inherit;
    margin-bottom: .7rem;
}
.pack--brick .pack-title { color: #2B1A12; }
.pack-text { font-size: .95rem; line-height: 1.45; margin-bottom: .8rem; }
.pack--brick .pack-text { color: #fff; }
.pack-facts { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.pack-facts li {
    position: relative;
    padding: .2rem 0 .2rem 1.2rem;
    font-size: .92rem;
    line-height: 1.35;
}
.pack-facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
.pack-label {
    margin-top: auto;
    align-self: center;
    display: inline-block;
    padding: .5rem .9rem;
    background: var(--paper-a);
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .85rem;
    line-height: 1.25;
    text-align: center;
    border: 1px solid var(--line);
    box-shadow: 0 4px 8px rgba(38, 34, 30, .25);
    transform: rotate(-4deg);
}

.note-wrap {
    grid-column: 9 / -1;
    align-self: center;
    margin-top: 4rem;
}
.packs-note {
    padding: 2.6rem 1.8rem 2.2rem;
    background-color: var(--paper-a);
    transform: rotate(1.5deg);
}
.tape {
    position: absolute;
    top: 0;
    left: 50%;
    width: 110px;
    height: 26px;
    transform: translateX(-50%) rotate(-3deg);
    background: rgba(242, 183, 5, .45);
}
.note-title { font-size: 1.2rem; margin-bottom: 1rem; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
    position: relative;
    padding: .35rem 0 .35rem 2rem;
    border-bottom: 1px dashed var(--line);
    font-size: 1rem;
    line-height: 1.4;
}
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
    content: "";
    position: absolute;
    left: .2rem;
    top: .6rem;
    width: 7px;
    height: 13px;
    border: solid var(--sage);
    border-width: 0 3px 3px 0;
    transform: rotate(40deg);
}

/* Duo: latest posts + last two blocks */

.duo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
    margin-top: 5.5rem;
}
.duo > .block,
.duo-side > .block:first-child { margin-top: 0; }
.duo-side { min-width: 0; }
.duo-side .block + .block { margin-top: 4rem; }

.notes-more { margin: 1.6rem 0 0; font-family: var(--font-head); font-weight: 600; }
.empty-note { color: var(--muted); font-style: italic; }

/* Cards */

.cards {
    display: grid;
    gap: 1.2rem;
    filter: drop-shadow(0 6px 10px rgba(38, 34, 30, .14));
}
.cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1.6rem; }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background-color: var(--paper);
    background-image: radial-gradient(circle, var(--paper-b) 3.2px, transparent 3.8px);
    background-size: 18px 24px;
    background-repeat: repeat-x;
    background-position: 6px 0;
    padding-top: 24px;
    border-left: 6px solid var(--brick);
    -webkit-mask-image: linear-gradient(#000, #000), var(--torn-bottom);
    mask-image: linear-gradient(#000, #000), var(--torn-bottom);
    -webkit-mask-position: top, bottom left;
    mask-position: top, bottom left;
    -webkit-mask-size: 100% calc(100% - 9px), 120px 10px;
    mask-size: 100% calc(100% - 9px), 120px 10px;
    -webkit-mask-repeat: no-repeat, repeat-x;
    mask-repeat: no-repeat, repeat-x;
    transition: transform .2s ease;
}
.card:nth-child(3n+2) { border-left-color: var(--sage); }
.card:nth-child(3n+3) { border-left-color: var(--turmeric); }
.card:hover { transform: translateY(-4px) rotate(-.4deg); }

.card-thumb { margin: 0 .8rem; clip-path: polygon(0 0, 100% 0, 100% 96%, 92% 100%, 80% 97%, 66% 100%, 50% 96%, 34% 100%, 20% 97%, 8% 100%, 0 96%); }
.card-thumb a { display: block; }
.card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .35s ease;
}
.card:hover .card-thumb img { transform: scale(1.04); }

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1rem 1rem 1.6rem;
}
.card-title {
    font-size: 1.05rem;
    font-stretch: 102%;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 .5rem;
}
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--brick-dark); }
.card-excerpt { font-size: .92rem; line-height: 1.5; color: #554C42; }
.card-excerpt p { margin: 0 0 .5em; background: none; }
.cards--three .card-excerpt p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-foot {
    margin-top: auto;
    padding-top: .5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
}
.card-date {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Before / after */

.change-band {
    background-color: var(--green);
    background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.5px);
    background-size: 7px 7px;
    border-radius: 10px;
    padding: 1.4rem 1.5rem 1.6rem;
    color: var(--cream-text);
    box-shadow: 0 14px 26px -14px rgba(38, 34, 30, .5);
}
.change-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
    align-items: end;
}
.change-shot { min-width: 0; }
.change-shot figcaption {
    text-align: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--cream-text);
    margin-bottom: .6rem;
}
.change-shot img {
    display: block;
    width: 100%;
    aspect-ratio: 760 / 477;
    object-fit: cover;
    border-radius: 6px;
}
.change-days {
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: .4rem;
}
.change-days span {
    position: relative;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: .04em;
    color: var(--turmeric);
    padding: 1.6rem 0;
    background: linear-gradient(var(--cream-text), var(--cream-text)) center top / 2px 1.2rem no-repeat,
                linear-gradient(var(--cream-text), var(--cream-text)) center bottom / 2px 1.2rem no-repeat;
}
.change-facts {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.change-facts li {
    font-size: .88rem;
    line-height: 1.4;
    text-align: center;
    color: var(--cream-text);
    padding-top: .6rem;
    border-top: 1px solid rgba(201, 187, 164, .4);
}

/* Checks */

.checks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
    padding: 1.2rem;
    background: var(--paper-b);
    border: 1px solid var(--line);
}
.check {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-width: 0;
    padding: 1rem .5rem;
    text-align: center;
    background: var(--paper-a);
    border: 1.5px solid var(--green);
    border-radius: 6px;
    color: var(--green);
    transition: background-color .2s ease, transform .2s ease;
}
.check:nth-child(2), .check:nth-child(4), .check:nth-child(6) { border-color: var(--brick); }
.check:hover { background: var(--paper); transform: translateY(-3px); }
.check .ico { display: block; width: 42px; height: 42px; }
.check .ac { stroke: var(--brick); }
.check-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.2;
    color: var(--ink);
}
.check-hint { font-size: .78rem; line-height: 1.3; color: var(--muted); }
.check--big {
    grid-column: 4;
    grid-row: 1 / span 2;
    border-color: var(--brick);
    padding: 1.4rem 1rem;
}
.check--big .ico { width: 56px; height: 56px; }
.check--big .check-name { font-size: 1.15rem; }
.check--big p { margin: .3rem 0 0; font-size: .85rem; line-height: 1.4; color: #5E554A; }

/* ---------- Inner pages ---------- */

.inner { padding: 3rem 0 5rem; }

.crumbs {
    margin-bottom: 2rem;
    font-family: var(--font-head);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.crumbs a { color: var(--green); text-decoration: none; }
.crumbs a:hover { color: var(--brick-dark); text-decoration: underline wavy var(--turmeric); }
.crumbs-sep { margin: 0 .35rem; color: var(--brick); }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    column-gap: 6%;
    align-items: start;
}
.layout-single { display: block; }
.layout-single .content-area { width: 85%; margin-left: auto; margin-right: auto; }
.content-area { min-width: 0; }
.content-area > .paper-wrap { margin-bottom: 2.4rem; }

.page-head { margin-bottom: 2rem; }
.page-title {
    position: relative;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    font-stretch: 114%;
    text-transform: uppercase;
    letter-spacing: -.01em;
    padding-bottom: .5rem;
    margin-bottom: 1rem;
}
.page-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -.3rem;
    width: 110px;
    height: 14px;
    background: var(--brush) no-repeat left center / 100% 100%;
}
.page-intro { font-size: 1.15rem; color: #4A433B; max-width: 60ch; }

.sheet { padding: 2.8rem 2.6rem 3rem; }
.entry-head { margin-bottom: 1.6rem; }
.entry-title {
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    font-weight: 800;
    font-stretch: 110%;
    letter-spacing: -.01em;
}
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.4rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.entry-meta a { color: var(--green); text-decoration: none; }
.entry-cat::before { content: "■"; color: var(--brick); margin-right: .5rem; font-size: .7em; }
.entry-cover { margin: 0 0 2rem; }
.entry-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 8px solid #fff; box-shadow: 0 10px 20px -10px rgba(38, 34, 30, .4); }

.entry-content { font-size: 1.08rem; line-height: 1.75; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-size: 1.7rem; margin: 2.2rem 0 .9rem; padding-left: .9rem; border-left: 5px solid var(--brick); }
.entry-content h3 { font-size: 1.35rem; margin: 1.8rem 0 .7rem; }
.entry-content h4 { font-size: 1.12rem; margin: 1.5rem 0 .6rem; }
.entry-content p { margin: 0 0 1.15em; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.3em; padding-left: 1.6em; }
.entry-content li { margin-bottom: .35em; }
.entry-content ul li::marker { color: var(--brick); }
.entry-content ol li::marker { color: var(--green); font-weight: 700; }
.entry-content img { display: block; height: auto; }
.entry-content figure { margin: 1.6rem 0; }
.entry-content figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.entry-content blockquote {
    margin: 1.8rem 0;
    padding: 1.4rem 1.6rem 1.4rem 1.8rem;
    background: var(--paper-a);
    border-left: 6px solid var(--turmeric);
    font-size: 1.15rem;
    font-style: italic;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6rem 0;
    font-size: .95rem;
    border: 1px solid var(--line);
}
.entry-content th,
.entry-content td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.entry-content th { background: var(--paper-b); font-family: var(--font-head); font-weight: 700; }
.entry-content tr:nth-child(even) td { background: rgba(231, 222, 207, .35); }
.entry-content pre { overflow-x: auto; padding: 1rem; background: var(--coffee); color: var(--cream-text); font-size: .9rem; }
.entry-content hr { border: 0; height: 12px; background: var(--brush) no-repeat center / 120px 12px; margin: 2rem 0; }
.page-links { margin-top: 1.5rem; font-weight: 600; }

.entry-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px dashed var(--line); }
.chip {
    display: inline-block;
    padding: .3rem .8rem;
    background: var(--paper-b);
    color: var(--ink);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
}
.chip:hover { background: var(--turmeric); color: var(--ink); }

.post-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.4rem;
}
.post-step {
    display: block;
    padding: 1rem 1.2rem;
    background: var(--paper-a);
    border: 1px solid var(--line);
    border-left: 5px solid var(--sage);
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.3;
}
.post-step span {
    display: block;
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .3rem;
}
.post-step--next { grid-column: 2; text-align: right; border-left: 1px solid var(--line); border-right: 5px solid var(--brick); }
.post-step:hover { background: var(--paper); color: var(--brick-dark); }

/* Sidebar */

.sidebar { min-width: 0; }
.sidebar .slip {
    position: relative;
    padding: 1.6rem 1.4rem 1.5rem 1.6rem;
    margin-bottom: 1.6rem;
    background: var(--paper-a);
    border: 1px solid var(--line);
    border-left: 6px solid var(--sage);
    color: var(--ink);
    box-shadow: 0 10px 18px -12px rgba(38, 34, 30, .4);
}
.sidebar .slip-title {
    font-size: 1.1rem;
    font-stretch: 108%;
    color: var(--ink);
    padding-bottom: .5rem;
    margin-bottom: .9rem;
    border-bottom: 2px solid var(--brick);
    display: inline-block;
}
.sidebar .slip ul { list-style: none; margin: 0; padding: 0; }
.sidebar .slip li { padding: .5rem 0; border-bottom: 1px dashed var(--line); line-height: 1.35; color: var(--ink); }
.sidebar .slip li:last-child { border-bottom: 0; }
.sidebar .slip a { color: var(--green); text-decoration: none; font-weight: 600; }
.sidebar .slip a:hover { color: var(--brick-dark); text-decoration: underline wavy var(--turmeric); }
.sidebar .slip .post-date { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sidebar .slip p { color: var(--ink); }

/* Pagination */

.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin: 2.6rem 0 0;
}
.pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.7rem;
    padding: .55rem .85rem;
    background: var(--paper-a);
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    box-shadow: 0 3px 6px -3px rgba(38, 34, 30, .35);
    transition: transform .15s ease, background-color .15s ease;
}
.pager a.page-numbers:hover { background: var(--turmeric); transform: translateY(-2px) rotate(-1deg); }
.pager .page-numbers.current { background: var(--brick); border-color: var(--brick); color: #fff; }
.pager .page-numbers.dots { background: none; border: 0; box-shadow: none; min-width: auto; }

/* Search */

.finder { margin: 1.4rem 0; }
.finder-label {
    display: block;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .4rem;
}
.finder-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.finder-input {
    flex: 1 1 220px;
    min-width: 0;
    padding: .8rem 1rem;
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: 0;
}
.finder-input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(242, 183, 5, .45); }
.finder-btn { border-width: 2px; }

.empty-sheet { padding: 2.6rem 2.4rem; }

/* 404 */

.lost { text-align: left; padding-top: 3.6rem; }
.stamp--lost { position: absolute; top: 1.6rem; right: 2rem; font-size: 2.4rem; color: var(--brick); border-color: var(--brick); transform: rotate(8deg); }

/* Comments */

.remarks { padding: 2.6rem 2.4rem; }
.remarks-title, .comment-reply-title { font-size: 1.5rem; }
.remark-list, .remark-list .children { list-style: none; margin: 0 0 2rem; padding: 0; }
.remark-list .children { margin: 1rem 0 0 1.6rem; }
.remark { margin-bottom: 1rem; }
.remark-body { padding: 1rem 1.2rem; background: var(--paper-a); border-left: 4px solid var(--sage); }
.remark-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin-bottom: .5rem; }
.remark-head img { border-radius: 50%; display: block; }
.remark-author { font-weight: 700; }
.remark-date { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.remark-wait { font-style: italic; color: var(--brick-dark); }
.remark-text p:last-child { margin-bottom: .4rem; }
.remark-reply a { font-size: .8rem; font-weight: 700; color: var(--green); }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; font-weight: 600; margin-bottom: .3rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: .75rem .9rem;
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid var(--line);
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(242, 183, 5, .45); }
.comment-form-cookies-consent { display: flex; gap: .6rem; align-items: flex-start; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; font-size: .92rem; }
.comment-notes, .logged-in-as { font-size: .9rem; color: var(--muted); }
.req { color: var(--brick); }
.comment-navigation .nav-links { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }

/* WordPress core classes */

.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .85rem; color: var(--muted); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.sticky .card-title a::before { content: "★ "; color: var(--brick); }

/* ---------- Footer ---------- */

.basement {
    background-color: var(--coffee);
    background-image:
        radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1.5px),
        radial-gradient(rgba(0, 0, 0, .25) 1px, transparent 1.5px);
    background-size: 6px 6px, 9px 9px;
    background-position: 0 0, 2px 4px;
    color: var(--cream-text);
    padding: 4rem 0 0;
}
.basement-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
}
.basement-col { min-width: 0; }
.basement .slip { margin-bottom: 1.5rem; color: var(--cream-text); }
.basement .slip-title {
    font-size: 1.25rem;
    font-stretch: 108%;
    color: #FFF8EC;
    margin-bottom: 1rem;
}
.basement .slip p,
.basement .slip .textwidget { color: #D9CFBE; font-size: .98rem; line-height: 1.6; }
.basement .slip ul { list-style: none; margin: 0; padding: 0; }
.basement .slip li { padding: .3rem 0; color: #D9CFBE; }
.basement .slip a { color: #F3EADB; text-decoration: none; }
.basement .slip a:hover { color: var(--turmeric); text-decoration: underline wavy var(--turmeric); text-underline-offset: 4px; }
.basement .slip .post-date { color: #A89C88; }
.basement-line {
    margin-top: 2.6rem;
    padding: 1.3rem 0 1.6rem;
    border-top: 1px solid rgba(201, 187, 164, .25);
    text-align: center;
}
.basement-line p { margin: 0; font-size: .82rem; letter-spacing: .04em; color: #A89C88; }

/* ---------- Cookie banner ---------- */

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.4rem;
    max-width: 680px;
    padding: 1.1rem 1.3rem 1.1rem 1.5rem;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-left: 6px solid var(--brick);
    box-shadow: 0 16px 30px -12px rgba(38, 34, 30, .5);
}
.cookie-text { flex: 1 1 280px; margin: 0; font-size: .92rem; line-height: 1.45; color: var(--ink); }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
    .duo { grid-template-columns: minmax(0, 1fr); gap: 4.5rem; }
}

@media (max-width: 960px) {
    .masthead-row { flex-wrap: wrap; min-height: 88px; }
    .brand-seal { width: 84px; height: 84px; margin: 4px 0 -28px; }
    .menu-toggle { display: inline-flex; }
    .topnav { display: none; width: 100%; padding: .4rem 0 1rem 100px; }
    .topnav.is-open { display: block; }
    .topnav-list { flex-direction: column; gap: .2rem; }

    .shell--front { width: 92%; }
    .front { padding-top: 3.5rem; }
    .opener { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
    .opener-photo { width: min(88%, 430px); transform: rotate(3deg); }

    .block-rooms { display: block; }
    .rooms-sheet { padding: 2.6rem 2rem 2.8rem; }
    .ribbon { right: 1.6rem; }
    .rooms-plan { margin-top: 1.6rem; }

    .block-packs { display: block; }
    .note-wrap { margin-top: 2.4rem; max-width: 520px; }
    .packs-note { transform: rotate(1deg); }

    .layout-with-sidebar { display: block; }
    .sidebar { margin-top: 2.6rem; }
    .layout-single .content-area { width: 100%; }

    .basement-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .basement-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    body { font-size: 1rem; }
    .masthead-row { gap: .8rem; }
    .brand { gap: .7rem; }
    .brand-seal { width: 64px; height: 64px; margin: 2px 0 -18px; }
    .brand-name { font-size: .95rem; }
    .brand-desc { display: none; }
    .topnav { padding-left: 0; }

    .block { margin-top: 4rem; }
    .duo { margin-top: 4rem; }
    .opener-title { font-size: clamp(2.1rem, 10vw, 2.9rem); }
    .stamp--ready { left: -14px; top: 18px; font-size: 1rem; }
    .opener-photo { padding: 14px 14px 18px; }

    .sec-title { gap: .7rem; }
    .sec-num { width: 2.2rem; height: 2.2rem; font-size: .72rem; }

    .rooms-sheet { padding: 2.4rem 1.3rem 2.6rem; }
    .rooms-sheet .sec-title { padding-right: 2.6rem; }
    .room ul { padding-left: 1.2rem; }
    .pin i { display: none; }
    .pin b { width: 22px; height: 22px; font-size: .72rem; }

    .packs { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
    .pack, .pack:nth-child(2), .pack:nth-child(3) { --rope: 28px; }
    .pack-tag, .pack--sage .pack-tag, .pack--turmeric .pack-tag { min-height: 0; }
    .packs-note { padding: 2.4rem 1.3rem 2rem; }

    .cards--three { grid-template-columns: minmax(0, 1fr); }

    .change-band { padding: 1.2rem 1rem 1.4rem; }
    .change-pair { grid-template-columns: minmax(0, 1fr); }
    .change-days { padding: 0; }
    .change-days span { writing-mode: horizontal-tb; transform: none; padding: 0 1.8rem; background-size: 1.2rem 2px, 1.2rem 2px; background-position: left center, right center; }
    .change-facts { grid-template-columns: minmax(0, 1fr); }

    .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .8rem; }
    .check--big { grid-column: 1 / -1; grid-row: auto; }

    .inner { padding-top: 2rem; }
    .sheet { padding: 2.2rem 1.3rem 2.4rem; }
    .remarks, .empty-sheet { padding: 2.2rem 1.3rem; }
    .post-steps { grid-template-columns: minmax(0, 1fr); }
    .post-step--next { grid-column: 1; }

    .basement-cols { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .cookie-banner { left: .6rem; right: .6rem; bottom: .6rem; padding: 1rem 1rem 1rem 1.2rem; }
}

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