/*
Theme Name: dds_blunturiblog.com
Theme URI: https://blunturiblog.com/
Author: Ananya Sharma
Description: A field-notebook theme for a lifestyle blog about Indian homes: renting, moving, decorating, organising and buying property. Paper texture, tape, hand-lettered headings and typewriter text.
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: blntr
*/

/* ---------- Fonts ---------- */
@font-face { font-family: "Patrick Hand"; src: url("fonts/PatrickHand-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("fonts/CourierPrime-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("fonts/CourierPrime-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("fonts/Kalam-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
    --paper: #E8DCC8;
    --indigo: #22335C;
    --indigo-deep: #1A2849;
    --ink: #2B2A26;
    --muted: #7A6E5D;
    --saffron: #D9822B;
    --saffron-dark: #B9681A;
    --terra: #B14A32;
    --mint: #A8C3B0;
    --mint-soft: #D3E2D6;
    --sheet: #FBF6EC;
    --grid: rgba(122, 140, 160, .22);
    --tape: rgba(222, 211, 182, .78);
    --door-kitchen: #DDA74E;
    --door-bedroom: #C8714E;
    --door-entry: #8FA48C;
    --f-hand: "Patrick Hand", "Segoe Print", "Comic Sans MS", cursive;
    --f-type: "Courier Prime", "Courier New", Courier, monospace;
    --f-note: "Kalam", "Patrick Hand", "Segoe Print", cursive;
    --torn: polygon(0 0,0.0% 0.5%,5.2% 0.8%,10.6% 1.4%,13.9% 0.0%,20.2% 0.6%,24.1% 2.2%,29.0% 1.8%,33.9% 1.4%,37.5% 1.4%,44.0% 1.2%,50.0% 1.5%,53.2% 1.7%,58.6% 0.7%,61.7% 1.9%,66.6% 1.6%,73.1% 1.6%,79.8% 0.9%,86.0% 1.0%,92.7% 1.9%,96.1% 0.3%,100% 1%,98.5% 0.0%,99.0% 6.2%,99.2% 11.7%,99.4% 17.6%,99.1% 24.5%,98.9% 33.1%,98.6% 41.7%,98.9% 50.7%,98.6% 55.5%,98.6% 64.3%,98.9% 71.1%,98.7% 76.2%,99.5% 83.1%,98.6% 87.4%,99.9% 96.3%,99% 100%,100.0% 99.1%,96.4% 99.4%,90.3% 98.1%,87.1% 98.6%,84.0% 98.4%,79.6% 98.1%,72.7% 98.9%,65.7% 99.3%,62.4% 98.7%,59.3% 99.6%,54.7% 98.7%,51.0% 99.9%,44.6% 99.3%,37.7% 98.0%,33.2% 99.0%,28.1% 98.6%,22.8% 98.8%,17.3% 97.9%,12.2% 99.1%,6.4% 99.5%,2.2% 97.8%,0.5% 99%,0.9% 100.0%,0.7% 95.9%,0.0% 89.0%,1.0% 82.0%,1.0% 77.7%,1.1% 71.3%,1.1% 65.6%,0.0% 57.9%,1.1% 53.6%,0.4% 44.8%,0.9% 38.5%,0.6% 32.9%,0.6% 27.3%,0.5% 20.3%,1.2% 14.5%,0.9% 10.3%,0.5% 2.6%);
}

/* ---------- Hidden rules (must precede components) ---------- */
[hidden] { display: none !important; }
.cookie-banner[hidden] { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    font-family: var(--f-type);
    font-size: 1.0625rem;
    line-height: 1.75;
    background-color: var(--paper);
    background-image:
        radial-gradient(circle at 6% 34%, transparent 92px, rgba(150, 105, 60, .16) 94px, rgba(150, 105, 60, .05) 99px, transparent 102px),
        radial-gradient(circle at 98% 47%, transparent 70px, rgba(150, 105, 60, .11) 72px, rgba(150, 105, 60, .04) 77px, transparent 80px),
        url("images/paper-tile.jpg");
    background-repeat: no-repeat, no-repeat, repeat;
    background-size: 100% 1400px, 100% 1600px, 256px 128px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-hand);
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
    margin: 1.4em 0 .5em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.05em; }
p, li, dd, td, th, figcaption, h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }
img { max-width: 100%; height: auto; }
a { color: var(--indigo); text-decoration: underline; text-decoration-color: rgba(43, 42, 38, .45); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--terra); text-decoration-color: var(--terra); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px dashed var(--saffron); outline-offset: 3px; }
strong, b { font-weight: 700; }
hr { border: 0; height: 2px; margin: 2rem 0; background: repeating-linear-gradient(90deg, var(--muted) 0 10px, transparent 10px 16px); opacity: .5; }

.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 100; background: var(--saffron); color: var(--ink); padding: .5rem 1rem; font-family: var(--f-type); font-weight: 700; }
.skip-link:focus { top: 1rem; }

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

/* ---------- Shared bits ---------- */
.tape {
    position: absolute; width: 110px; height: 30px; z-index: 3;
    background: var(--tape);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
    clip-path: polygon(0 8%, 6% 0, 12% 10%, 20% 2%, 30% 9%, 42% 1%, 55% 8%, 66% 0, 78% 9%, 88% 2%, 100% 6%, 97% 50%, 100% 94%, 90% 100%, 80% 91%, 68% 99%, 55% 92%, 42% 100%, 30% 92%, 18% 100%, 8% 93%, 0 98%, 3% 50%);
    pointer-events: none;
}
.tape--tr { top: -12px; right: -26px; transform: rotate(32deg); }
.tape--tl { top: -10px; left: -22px; transform: rotate(-30deg); }
.tape--top { top: -14px; left: 50%; transform: translateX(-50%) rotate(-3deg); }

.tag-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    padding: .55rem 1.5rem .5rem 1.3rem;
    font-family: var(--f-hand); font-size: 1.3rem; line-height: 1.2;
    color: var(--ink); text-decoration: none;
    background: var(--saffron);
    border: 0; cursor: pointer;
    clip-path: polygon(0 6%, 4% 0, 9% 7%, 15% 1%, 22% 6%, 30% 0, 40% 5%, 52% 1%, 62% 6%, 72% 0, 82% 5%, calc(100% - 14px) 0, 100% 14px, 99% 50%, 100% 92%, 92% 100%, 82% 95%, 70% 100%, 58% 94%, 46% 100%, 34% 95%, 22% 100%, 12% 95%, 4% 100%, 0 94%, 2% 50%);
    transform: rotate(-1.5deg);
    transition: transform .2s ease, background-color .2s ease;
    max-width: 100%;
}
.tag-btn::after {
    content: ""; position: absolute; top: 0; right: 0; width: 14px; height: 14px;
    background: linear-gradient(225deg, transparent 50%, #F2C48F 50%);
}
.tag-btn:hover, .tag-btn:focus-visible { color: var(--ink); background: #E6953F; transform: rotate(0deg) translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
    position: relative;
    z-index: 5;
    background: var(--indigo);
    color: var(--sheet);
    padding: 1.4rem 0 1.1rem;
}
.site-header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 14px;
    background: var(--indigo);
    clip-path: polygon(0 0,100% 0,100.0% 56%,97.5% 65%,95.5% 24%,93.2% 27%,91.8% 22%,89.3% 42%,88.5% 70%,86.9% 45%,86.0% 69%,85.1% 87%,84.0% 43%,82.1% 89%,79.6% 88%,77.7% 21%,75.2% 20%,73.4% 32%,72.1% 33%,70.3% 88%,68.9% 38%,67.9% 88%,66.0% 62%,65.0% 23%,63.2% 94%,62.0% 83%,60.5% 55%,58.8% 73%,57.4% 46%,55.1% 46%,54.2% 53%,52.5% 58%,50.3% 51%,48.4% 24%,47.4% 68%,46.3% 58%,45.3% 77%,43.7% 100%,42.8% 86%,40.9% 55%,39.5% 59%,37.6% 89%,35.4% 23%,33.1% 49%,31.4% 100%,30.5% 54%,28.6% 72%,27.3% 64%,24.9% 59%,24.0% 74%,22.6% 93%,21.6% 22%,20.4% 51%,19.3% 46%,17.8% 78%,16.9% 72%,15.4% 50%,13.0% 70%,10.6% 50%,8.5% 60%,6.5% 63%,4.0% 34%,3.0% 34%,1.8% 44%,1.0% 90%,0 60%);
}
.head-row { display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; }
.brand { display: flex; align-items: flex-start; gap: 1rem; flex: 1 1 520px; min-width: 0; }
.brand-mark { flex: 0 0 auto; display: block; line-height: 0; }
.brand-logo { display: block; width: 68px; height: 68px; object-fit: contain; filter: drop-shadow(1px 2px 0 rgba(0, 0, 0, .25)); }
.brand-text { min-width: 0; max-width: 680px; }
.brand-name, .brand-desc, .swatch-note, .map-lead, .copyright { hyphens: manual; }
.brand-name { margin: 0 0 .35rem; font-family: var(--f-hand); font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.25; }
.brand-name a { color: #FFFFFF; text-decoration: none; }
.brand-name a:hover { color: #F3C998; }
.brand-desc { margin: 0; font-family: var(--f-type); font-size: .82rem; line-height: 1.5; color: #D6DCEA; }

.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.7rem; }
.main-nav a {
    display: inline-block; padding: .2rem 0;
    font-family: var(--f-hand); font-size: 1.45rem; line-height: 1.2;
    color: #FFFFFF; text-decoration: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M1 3.5 C20 2 40 4.6 60 3 S90 2.4 99 3.8' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 6px;
    transition: color .2s, transform .2s;
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: #F3C998; transform: translateY(-1px); }
.main-nav .current-menu-item > a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M1 3.5 C20 2 40 4.6 60 3 S90 2.4 99 3.8' fill='none' stroke='%23D9822B' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }

.nav-toggle {
    display: none; align-items: center; gap: .6rem;
    padding: .45rem .9rem; background: transparent; color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, .7); border-radius: 3px;
    font-family: var(--f-hand); font-size: 1.2rem; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.pencil-line {
    display: block; height: 6px; margin-top: 1.2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 6' preserveAspectRatio='none'%3E%3Cpath d='M2 3 C200 2.2 400 3.8 600 2.8 S900 3.4 998 3' fill='none' stroke='%23F4EEE2' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M0 3 l8 -2 v4 z M1000 3 l-8 -2 v4 z' fill='%23F4EEE2'/%3E%3C/svg%3E");
    background-size: 100% 6px; background-repeat: no-repeat;
}

/* ---------- Front page ---------- */
.front-main { width: min(92%, 1280px); margin-inline: auto; padding: 3.5rem 0 4rem; }
.fp-row { display: grid; gap: 2.5rem; align-items: start; }
.fp-row > * { min-width: 0; }
.fp-block { position: relative; }
.fp-title { margin: 0 0 1.1rem; font-size: clamp(1.9rem, 3.3vw, 2.75rem); }

/* Block 1: Move-in map */
.fp-map {
    padding: 2rem 2rem 2.2rem;
    background-color: var(--sheet);
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 20px 20px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .04), 0 10px 22px rgba(70, 50, 25, .18);
    transform: rotate(-.4deg);
}
.postmark {
    position: absolute; top: 18px; right: 28px; width: 76px; height: 76px; border-radius: 50%;
    border: 2px dashed rgba(43, 42, 38, .55);
    display: flex; align-items: center; justify-content: center; text-align: center;
    transform: rotate(-12deg);
}
.postmark::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px solid rgba(43, 42, 38, .45); }
.postmark span { font-family: var(--f-type); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(43, 42, 38, .7); }
.map-grid { display: grid; gap: 1.8rem; }
.map-grid > * { min-width: 0; }
.map-plan { position: relative; margin: 0; }
.map-plan img { display: block; width: 100%; height: auto; aspect-ratio: 1008 / 912; }
.map-room {
    position: absolute; transform: translate(-50%, -50%);
    font-family: var(--f-hand); font-size: clamp(.78rem, 1.55vw, 1.12rem); line-height: 1; white-space: nowrap;
    color: var(--ink);
    padding: .1em .25em; background: rgba(251, 246, 236, .7);
}
.map-lead { font-family: var(--f-hand); font-size: clamp(1.45rem, 2.3vw, 1.85rem); line-height: 1.25; margin: 0 0 1.2rem; }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.tick-list li { display: flex; gap: .75rem; align-items: flex-start; }
.tick-box {
    position: relative; flex: 0 0 26px; height: 26px; margin-top: .2rem;
    border: 2px solid var(--ink); border-radius: 2px;
}
.tick-box::before, .tick-box::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 2.4px; background: var(--ink); border-radius: 2px; }
.tick-box::before { transform: translate(-50%, -50%) rotate(45deg); }
.tick-box::after { transform: translate(-50%, -50%) rotate(-45deg); width: 32px; top: 36%; left: 62%; }
.tick-text { min-width: 0; }
.tick-text strong { display: block; font-family: var(--f-hand); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.tick-text small { display: block; font-size: .85rem; line-height: 1.45; color: var(--muted); }

/* Block 2: Swatches */
.swatch-sheet {
    position: relative;
    padding: 2rem 1.8rem 1.6rem;
    background: #F8F4EC;
    box-shadow: 0 10px 22px rgba(70, 50, 25, .18);
    transform: rotate(.5deg);
}
.swatch-intro { font-size: .9rem; line-height: 1.6; color: var(--muted); margin: -.3rem 0 1.3rem; }
.swatch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.2rem; }
.swatch { margin: 0; text-align: center; transition: transform .25s ease; }
.swatch:nth-child(odd) { transform: rotate(-1.2deg); }
.swatch:nth-child(even) { transform: rotate(1deg); }
.swatch:hover { transform: rotate(0) scale(1.04); }
.swatch img { display: block; width: 100%; height: auto; aspect-ratio: 2.25 / 1; object-fit: contain; }
.swatch figcaption { margin-top: .35rem; font-family: var(--f-hand); font-size: 1.25rem; line-height: 1.2; }
.swatch-note {
    display: flex; align-items: flex-start; gap: .4rem; justify-content: flex-end;
    margin: .6rem .4rem 0 0; color: var(--ink);
    font-family: var(--f-note); font-weight: 700; font-size: 1.25rem; line-height: 1.25;
}
.swatch-note svg { flex: 0 0 auto; margin-top: -.6rem; }
.swatch-note span { max-width: 15rem; text-align: right; }

/* Latest posts */
.fp-latest { margin: 4.2rem 0 4.5rem; }
.latest-title { margin: 0 0 2.6rem; text-align: center; font-family: var(--f-note); font-weight: 700; font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: .01em; }
.latest-more { margin: 2.6rem 0 0; text-align: center; }
.card-grid--three > .card:nth-child(n+4) { display: none; }
.empty-note { font-size: 1rem; color: var(--muted); }

/* Block 3: Rent vs buy */
.fp-rent { padding: 0 0 1.5rem 1.2rem; }
.folder { position: relative; padding-top: 2.4rem; }
.folder-tab {
    position: absolute; top: 0; left: 0;
    display: inline-block; height: 2.6rem; padding: .5rem 2.4rem .4rem 1.2rem;
    font-family: var(--f-type); font-weight: 700; font-size: .9rem; letter-spacing: .04em;
    color: var(--ink);
    background: #B9D0BE;
    border-radius: 12px 12px 0 0;
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 100%, 0 100%);
}
.folder-head {
    padding: 1.2rem 1.8rem .6rem;
    background: var(--mint);
    border-radius: 0 12px 0 0;
}
.folder-head .fp-title { margin: 0; }
.folder-body {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.4rem 1.8rem 1rem;
    background: var(--mint-soft);
    position: relative;
}
.folder-body::before {
    content: ""; position: absolute; top: 1.4rem; bottom: 1rem; left: 50%; width: 2px;
    background: linear-gradient(var(--ink), var(--ink)) no-repeat;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 31%, 100% 58%, 0 59%, 100% 100%, 0 100%);
}
.rb-col { min-width: 0; padding: 0 1.4rem; }
.rb-col:first-child { padding-left: 0; }
.rb-col:last-child { padding-right: 0; }
.rb-col h3 { margin: 0 0 .9rem; padding-bottom: .4rem; text-align: center; font-size: 1.8rem; border-bottom: 2px solid var(--ink); }
.rb-col ul { list-style: none; margin: 0; padding: 0; }
.rb-col li { position: relative; padding-left: 1.3rem; margin-bottom: .7rem; font-size: .92rem; line-height: 1.55; }
.rb-col li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--saffron); }
.rb-col:last-child li::before { background: var(--terra); }
.folder-foot {
    margin: 0; padding: .6rem 1.8rem 1.4rem 7.5rem;
    background: var(--mint-soft);
    border-radius: 0 0 12px 12px;
    font-family: var(--f-hand); font-size: 1.6rem; line-height: 1.2;
    box-shadow: 0 10px 20px rgba(70, 50, 25, .14);
}
.stamp-calm {
    position: absolute; left: -.6rem; bottom: .2rem;
    width: 120px; height: 120px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; text-align: center;
    border: 4px solid var(--terra); color: var(--terra);
    background: rgba(232, 220, 200, .35);
    transform: rotate(-14deg);
    opacity: .9;
    -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 60%, rgba(0, 0, 0, .65) 61%, #000 75%);
    mask-image: radial-gradient(circle at 30% 40%, #000 60%, rgba(0, 0, 0, .65) 61%, #000 75%);
}
.stamp-calm::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px solid var(--terra); }
.stamp-calm span { font-family: var(--f-type); font-weight: 700; font-size: 1.1rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .06em; }

/* Block 4: Room fixes */
.fp-rooms { padding: 0 0 2rem; }
.fp-rooms .fp-title { text-align: center; margin-top: 2.4rem; }
.doors {
    list-style: none; margin: 1.6rem 0 0; padding: 0;
    display: flex; align-items: flex-end; justify-content: center; gap: 1rem;
    counter-reset: none;
}
.door {
    position: relative;
    flex: 0 1 140px; min-width: 0;
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 1rem .9rem 1rem;
    border: 3px solid var(--ink);
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .22), inset 0 0 0 8px rgba(43, 42, 38, .55), 4px 6px 0 rgba(43, 42, 38, .12);
    transition: transform .25s ease;
}
.door:hover { transform: translateY(-6px) rotate(-1deg); }
.door--kitchen { background: var(--door-kitchen); height: 330px; }
.door--balcony { background: var(--mint); height: 270px; }
.door--bedroom { background: var(--door-bedroom); height: 300px; }
.door--entry { background: var(--door-entry); height: 340px; }
.door-name {
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-family: var(--f-hand); font-size: 1.75rem; line-height: 1; white-space: nowrap;
    color: var(--ink);
    margin: .3rem 0 auto .15rem;
}
.door-knob { position: absolute; right: 16px; top: 48%; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); background: rgba(255, 255, 255, .5); }
.door-tip { display: block; margin-top: .8rem; font-family: var(--f-hand); font-size: 1.05rem; line-height: 1.2; color: var(--ink); }
.door--bedroom .door-tip, .door--bedroom .door-name { color: #24130C; }
.keys-photo {
    position: relative;
    width: 170px; margin: -3.2rem 0 0 auto;
    padding: 10px 10px 30px;
    background: #FFFDF7;
    box-shadow: 0 8px 18px rgba(40, 30, 15, .28);
    transform: rotate(6deg);
    z-index: 2;
}
.keys-photo img { display: block; width: 100%; height: auto; aspect-ratio: 508 / 432; object-fit: cover; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.6rem 2rem; }
.card {
    position: relative; isolation: isolate;
    display: flex; flex-direction: column;
    padding: 16px 16px 0;
    filter: drop-shadow(0 6px 10px rgba(70, 50, 25, .2));
    transition: transform .25s ease, filter .25s ease;
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sheet); clip-path: var(--torn); }
.card:nth-child(3n+1) { transform: rotate(-1.6deg); }
.card:nth-child(3n+2) { transform: rotate(.9deg); }
.card:nth-child(3n) { transform: rotate(-.6deg); }
.card:hover { transform: rotate(0) translateY(-5px); filter: drop-shadow(0 12px 16px rgba(70, 50, 25, .26)); }
.card-tape { position: absolute; top: -14px; left: 34%; width: 120px; height: 32px; z-index: 3; background: var(--tape); transform: rotate(-6deg); clip-path: polygon(0 10%, 8% 0, 20% 8%, 34% 0, 50% 7%, 66% 0, 80% 8%, 92% 0, 100% 10%, 97% 50%, 100% 92%, 88% 100%, 72% 92%, 56% 100%, 40% 93%, 24% 100%, 8% 92%, 0 100%, 3% 50%); }
.card:nth-child(3n+1) .card-tape { left: -26px; top: 6px; transform: rotate(-38deg); }
.card:nth-child(3n+2) .card-tape { left: auto; right: -24px; top: 4px; transform: rotate(34deg); }
.card-thumb { position: relative; overflow: hidden; }
.card-thumb a { display: block; }
.card-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-thumb img { transform: scale(1.03); }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 1.1rem .5rem 1.4rem; min-width: 0; }
.card-title { margin: 0 0 .55rem; font-size: 1.65rem; line-height: 1.15; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--terra); }
.card-excerpt { font-size: .9rem; line-height: 1.6; color: var(--ink); flex: 1; }
.card-excerpt p { margin: 0 0 .5em; background: none; }
.card-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1rem; margin-top: .9rem; }
.card-date { font-size: .85rem; color: var(--muted); }
.card .tag-btn { margin-right: -1.8rem; font-size: 1.2rem; }

/* ---------- Inner pages ---------- */
.page-wrap { padding: 2.4rem 0 4rem; }
.breadcrumbs { margin: 0 0 1.8rem; font-size: .85rem; line-height: 1.6; color: var(--muted); }
.breadcrumbs a { color: var(--indigo); }
.breadcrumbs .sep { margin: 0 .35rem; color: var(--terra); }
.layout-with-sidebar, .layout-single { display: block; }
.content-area { min-width: 0; }
.sidebar { min-width: 0; margin-top: 3rem; }

.list-head { margin: 0 0 2.4rem; }
.list-title { margin: 0 0 .4rem; font-family: var(--f-note); font-weight: 700; }
.list-sub { margin: 0; color: var(--muted); font-size: .95rem; }

.sheet {
    position: relative;
    padding: 2.2rem 1.5rem 2.4rem;
    background-color: var(--sheet);
    background-image: linear-gradient(90deg, transparent 2.6rem, rgba(177, 74, 50, .35) 2.6rem, rgba(177, 74, 50, .35) calc(2.6rem + 1.5px), transparent calc(2.6rem + 1.5px));
    background-repeat: no-repeat;
    box-shadow: 0 10px 24px rgba(70, 50, 25, .16);
}
.entry { padding-left: 3.4rem; }
.entry-head { margin-bottom: 1.6rem; }
.entry-title { margin: 0 0 .5rem; }
.entry-meta { margin: 0; font-size: .85rem; color: var(--muted); }
.entry-meta a { color: var(--muted); }
.meta-sep { margin: 0 .4rem; }
.entry-thumb { margin: 0 0 1.8rem; }
.entry-thumb img { display: block; width: 100%; height: auto; border: 8px solid #FFFFFF; box-shadow: 0 4px 10px rgba(0, 0, 0, .12); transform: rotate(-.6deg); }
.entry-content { font-size: 1.02rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.entry-content h3 { font-size: 1.55rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em; padding-left: 1.4rem; }
.entry-content li { margin-bottom: .4em; }
.entry-content ul li::marker { color: var(--saffron); }
.entry-content ol li::marker { color: var(--terra); font-weight: 700; }
.entry-content blockquote {
    margin: 1.8rem 0; padding: 1.3rem 1.5rem 1.3rem 1.6rem;
    background: var(--mint-soft); border-left: 5px solid var(--terra);
    font-family: var(--f-hand); font-size: 1.4rem; line-height: 1.35;
    transform: rotate(-.4deg);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: .5rem; font-family: var(--f-type); font-size: .85rem; font-style: normal; color: var(--muted); }
.entry-content figure { margin: 1.8rem 0; }
.entry-content figcaption { font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.entry-content img { display: block; }
.entry-content pre { overflow-x: auto; padding: 1rem 1.2rem; background: #F1E9D8; border: 1px dashed var(--muted); font-size: .9rem; }
.entry-content code { background: #F1E9D8; padding: .05em .3em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: .92rem; border: 2px solid var(--ink); }
.entry-content th, .entry-content td { border: 1px solid var(--ink); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.entry-content th { background: var(--mint); font-family: var(--f-hand); font-size: 1.15rem; font-weight: 400; }
.entry-content tr:nth-child(even) td { background: rgba(232, 220, 200, .4); }
.wp-block-table { overflow-x: auto; }
.alignleft { float: left; margin: .3rem 1.4rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.4rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text { font-size: .85rem; color: var(--muted); }
.entry-tags { margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.entry-tags a { display: inline-block; padding: .2rem .7rem; background: var(--mint); color: var(--ink); text-decoration: none; font-size: .85rem; transform: rotate(-1deg); }
.entry-tags a:hover { background: var(--saffron); color: var(--ink); }
.page-links { margin-top: 1.4rem; }

.post-navigation { margin: 2.4rem 0 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.post-navigation a { display: block; padding: 1rem 1.3rem; background: var(--sheet); text-decoration: none; color: var(--ink); box-shadow: 0 5px 12px rgba(70, 50, 25, .14); transition: transform .2s; }
.post-navigation a:hover { transform: translateY(-3px); color: var(--ink); }
.post-navigation .nav-next { text-align: right; }
.nav-label { display: block; font-size: .8rem; color: var(--muted); }
.nav-title { display: block; font-family: var(--f-hand); font-size: 1.3rem; line-height: 1.2; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .55rem; margin: 3rem 0 0; }
.pager .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.6rem; height: 2.6rem; padding: 0 .8rem;
    font-family: var(--f-hand); font-size: 1.25rem; line-height: 1;
    color: var(--ink); text-decoration: none;
    background: var(--sheet); border: 2px solid var(--ink);
    transform: rotate(-1deg);
    transition: background-color .2s, transform .2s;
}
.pager .page-numbers:nth-child(even) { transform: rotate(1.2deg); }
.pager a.page-numbers:hover { background: var(--mint); transform: translateY(-2px); }
.pager .page-numbers.current { background: var(--saffron); }
.pager .page-numbers.dots { background: none; border: 0; }

/* Sidebar & widgets */
.sidebar .widget {
    position: relative;
    margin-bottom: 2.2rem; padding: 1.6rem 1.4rem 1.4rem;
    background: #F3ECDD;
    border-top: 6px solid var(--mint);
    box-shadow: 0 8px 18px rgba(70, 50, 25, .14);
    color: var(--ink);
}
.sidebar .widget:nth-child(even) { border-top-color: var(--saffron); }
.sidebar .widget-title { margin: 0 0 .9rem; font-size: 1.6rem; color: var(--ink); }
.sidebar .widget a { color: var(--indigo); }
.sidebar .widget a:hover { color: var(--terra); }
.sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget li { padding: .55rem 0; border-bottom: 1px dashed rgba(122, 110, 93, .55); font-size: .92rem; line-height: 1.45; }
.sidebar .widget li:last-child { border-bottom: 0; }
.sidebar .widget .post-date { display: block; font-size: .8rem; color: var(--muted); }

/* Search form */
.search-form { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.4rem 0; }
.search-field {
    flex: 1 1 220px; min-width: 0;
    padding: .7rem .9rem;
    font-family: var(--f-type); font-size: 1rem; color: var(--ink);
    background: #FFFDF7; border: 2px solid var(--ink); border-radius: 0;
}
.search-submit {
    padding: .6rem 1.4rem;
    font-family: var(--f-hand); font-size: 1.25rem; color: var(--ink);
    background: var(--saffron); border: 2px solid var(--ink); cursor: pointer;
    transition: background-color .2s, transform .2s;
}
.search-submit:hover { background: #E6953F; transform: translateY(-2px); }

/* 404 */
.notfound { text-align: left; padding-left: 3.4rem; }
.notfound-code { margin: 0; font-family: var(--f-note); font-weight: 700; font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--terra); transform: rotate(-3deg); display: inline-block; }

/* Comments */
.comments-area { margin-top: 2.6rem; padding-left: 3.4rem; }
.comments-title, .comment-reply-title { margin: 0 0 1.2rem; font-size: 1.9rem; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: 1.6rem; border-left: 2px dashed rgba(122, 110, 93, .5); }
.comment-body { padding: 1.1rem 0; border-bottom: 1px dashed rgba(122, 110, 93, .55); }
.comment-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .8rem; margin-bottom: .5rem; }
.comment-meta .avatar { border-radius: 50%; display: block; }
.comment-author { font-family: var(--f-hand); font-size: 1.25rem; }
.comment-date { font-size: .8rem; color: var(--muted); }
.comment-awaiting { font-size: .85rem; color: var(--terra); }
.comment-text { font-size: .95rem; }
.reply { margin: 0; }
.comment-reply-link { font-size: .85rem; }
.comment-respond { margin-top: 2rem; }
.comment-form label { display: block; margin-bottom: .3rem; font-size: .9rem; font-weight: 700; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
    width: 100%; padding: .65rem .8rem;
    font-family: var(--f-type); font-size: 1rem; color: var(--ink);
    background: #FFFDF7; border: 2px solid var(--ink); border-radius: 0;
}
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }
.comment-form .submit {
    padding: .6rem 1.6rem; font-family: var(--f-hand); font-size: 1.3rem; color: var(--ink);
    background: var(--saffron); border: 2px solid var(--ink); cursor: pointer;
}
.comment-form .submit:hover { background: #E6953F; }
.comment-notes, .logged-in-as { font-size: .85rem; color: var(--muted); }
.req { color: var(--terra); }

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    margin-top: 2rem;
    padding: 3.4rem 0 2rem;
    background: var(--indigo);
    color: #E4E8F1;
}
.site-footer::before {
    content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px;
    background: var(--indigo);
    clip-path: polygon(0 100%,100% 100%,100.0% 57%,97.6% 59%,96.0% 75%,94.9% 65%,93.2% 78%,91.0% 12%,89.4% 18%,88.4% 81%,87.6% 50%,85.0% 83%,82.9% 83%,81.8% 1%,79.5% 8%,78.6% 24%,76.2% 76%,75.4% 59%,74.0% 75%,71.7% 66%,70.4% 37%,68.7% 84%,67.8% 83%,66.5% 70%,63.9% 10%,61.8% 40%,59.7% 65%,58.3% 8%,56.5% 13%,55.0% 37%,53.5% 2%,51.2% 0%,50.0% 6%,48.4% 50%,46.8% 72%,44.9% 34%,43.5% 39%,42.1% 52%,39.9% 15%,38.9% 12%,38.0% 59%,35.8% 22%,33.8% 24%,32.2% 24%,29.6% 16%,28.0% 49%,27.0% 53%,24.4% 0%,23.2% 75%,21.8% 2%,20.6% 50%,18.0% 77%,16.1% 12%,15.2% 18%,14.0% 33%,13.2% 78%,11.8% 37%,10.3% 9%,9.4% 74%,7.4% 1%,5.5% 47%,3.6% 16%,1.1% 61%,0 40%);
}
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.foot-col { min-width: 0; }
.site-footer .widget { color: #E4E8F1; font-size: .95rem; line-height: 1.65; }
.site-footer .widget-title { margin: 0 0 .7rem; font-size: 2rem; color: #FFFFFF; }
.site-footer .widget p { color: #E4E8F1; }
.site-footer a { color: #FFFFFF; text-decoration-color: rgba(255, 255, 255, .6); }
.site-footer a:hover { color: #F3C998; text-decoration-color: #F3C998; }
.site-footer .widget ul { list-style: none; margin: 0; padding: 0; }
.site-footer .widget li { margin: 0 0 .25rem; }
.foot-col--2 .widget { text-align: center; }
.foot-bottom { margin-top: 2.6rem; text-align: center; }
.copyright {
    display: inline-block; margin: 0; padding: .45rem 1.1rem;
    border: 1.5px solid rgba(255, 255, 255, .55);
    font-size: .85rem; line-height: 1.5; color: #E4E8F1;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed; left: 50%; bottom: 1rem; z-index: 50;
    width: min(92%, 720px);
    display: flex; align-items: center; gap: 1rem 1.4rem; flex-wrap: wrap;
    padding: 1.1rem 1.4rem;
    transform: translateX(-50%) rotate(-.5deg);
    background: var(--sheet); color: var(--ink);
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 var(--indigo);
}
.cookie-text { margin: 0; flex: 1 1 300px; min-width: 0; font-size: .88rem; line-height: 1.55; color: var(--ink); }
.cookie-accept { flex: 0 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 959px) {
    .nav-toggle { display: inline-flex; }
    .main-nav { flex-basis: 100%; display: none; }
    .main-nav.is-open { display: block; }
    .main-nav .menu { flex-direction: column; gap: .4rem; padding: .4rem 0 .2rem; }
    .stamp-calm { width: 100px; height: 100px; }
    .stamp-calm span { font-size: .92rem; }
}

@media (min-width: 600px) {
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sheet { padding: 2.6rem 2.4rem 2.8rem 4.2rem; }
    .entry, .notfound, .comments-area { padding-left: 4.2rem; }
    .post-navigation .nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-navigation .nav-previous:only-child { grid-column: 1; }
    .post-navigation .nav-next:only-child { grid-column: 2; }
    .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
    .keys-photo { width: 190px; }
}

@media (min-width: 960px) {
    .front-main { width: min(85%, 1280px); }
    .fp-row--top { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 3rem; }
    .fp-row--bottom { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.4rem; }
    .map-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; }
    .card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6rem; }
    .layout-single .content-area { width: 85%; margin-left: auto; margin-right: auto; }
    .layout-with-sidebar { display: grid; grid-template-columns: minmax(0, 67fr) minmax(0, 27fr); gap: 6%; align-items: start; }
    .layout-with-sidebar .sidebar { margin-top: 0; }
    .page-wrap > .content-area.layout-single { width: 85%; margin-left: auto; margin-right: auto; }
    .keys-photo { position: absolute; right: -1rem; bottom: 0; margin: 0; width: 170px; }
    .fp-rooms { padding-bottom: 10.5rem; }
    .fp-rooms .doors { margin-bottom: 0; }
}

@media (max-width: 599px) {
    body { font-size: 1rem; }
    .tape--tr { right: -6px; width: 84px; }
    .tape--tl { left: -6px; width: 84px; }
    .card:nth-child(3n+1) .card-tape { left: -8px; }
    .card:nth-child(3n+2) .card-tape { right: -8px; }
    .site-header { padding: 1.1rem 0 .9rem; }
    .brand { gap: .7rem; }
    .brand-logo { width: 52px; height: 52px; }
    .brand-desc { font-size: .76rem; }
    .front-main { padding: 2.4rem 0 3rem; }
    .fp-map { padding: 1.6rem 1.1rem 1.6rem; }
    .postmark { width: 60px; height: 60px; top: 10px; right: 12px; }
    .postmark span { font-size: .5rem; }
    .fp-map .fp-title { padding-right: 4.2rem; }
    .swatch-sheet { padding: 1.6rem 1.1rem 1.3rem; }
    .swatch figcaption { font-size: 1.1rem; }
    .fp-rent { padding-left: 0; }
    .folder-head { padding: 1rem 1.1rem .5rem; }
    .folder-body { grid-template-columns: minmax(0, 1fr); padding: 1.1rem 1.1rem .8rem; gap: 1.4rem; }
    .folder-body::before { display: none; }
    .rb-col, .rb-col:first-child, .rb-col:last-child { padding: 0; }
    .folder-foot { padding: .6rem 1.1rem 1.2rem 6.4rem; font-size: 1.35rem; }
    .stamp-calm { width: 88px; height: 88px; left: -.3rem; bottom: .4rem; border-width: 3px; }
    .stamp-calm span { font-size: .78rem; }
    .doors { flex-wrap: wrap; gap: .8rem; }
    .door { flex: 0 1 calc(50% - .4rem); }
    .door--kitchen { height: 260px; }
    .door--balcony { height: 220px; }
    .door--bedroom { height: 240px; }
    .door--entry { height: 270px; }
    .door-name { font-size: 1.45rem; }
    .keys-photo { width: 160px; margin: 1.4rem auto 0; }
    .card .tag-btn { margin-right: -1rem; }
    .sheet { padding: 1.8rem 1.1rem 2rem 2.6rem; background-image: linear-gradient(90deg, transparent 1.6rem, rgba(177, 74, 50, .35) 1.6rem, rgba(177, 74, 50, .35) calc(1.6rem + 1.5px), transparent calc(1.6rem + 1.5px)); }
    .entry, .notfound, .comments-area { padding-left: 2.6rem; }
    .entry-content blockquote { padding: 1.1rem 1.1rem 1.1rem 1.2rem; font-size: 1.2rem; }
    .sidebar .widget { padding: 1.3rem 1.1rem 1.1rem; }
    .cookie-banner { padding: 1rem 1.1rem; bottom: .6rem; }
    .foot-col--2 .widget { text-align: left; }
}
