/* Kirsi Talo Kodumajutus — preview site. Colours from their logo (wine, green, cream) and the woven rugs in their rooms. */
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/alegreya-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/alegreya-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 400 800; font-display: swap;
  src: url(fonts/alegreya-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 400 800; font-display: swap;
  src: url(fonts/alegreya-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-display: swap; src: url(fonts/alegreyasans-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-display: swap; src: url(fonts/alegreyasans-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; font-weight: 500; font-display: swap; src: url(fonts/alegreyasans-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-weight: 500; font-display: swap; src: url(fonts/alegreyasans-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-display: swap; src: url(fonts/alegreyasans-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-display: swap; src: url(fonts/alegreyasans-700-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --cream: #eeecd7;
  --paper: #f7f5ea;
  --wine: #6b1631;
  --wine-dark: #470e20;
  --green: #2e6b3a;
  --wood: #c98a2e;
  --ink: #2b1b20;
  --muted: #6a585c;
  --line: #d9d4b8;
  --serif: "Alegreya", Georgia, serif;
  --sans: "Alegreya Sans", system-ui, sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--wine); text-underline-offset: .18em; }
a:hover { color: var(--wine-dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--wine); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--wine-dark); line-height: 1.12; margin: 0; }
h2 { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.eyebrow { font: 500 .85rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow svg { flex: none; }

/* Rug stripe band — like the woven rag rugs on their floors */
.rug { display: block; width: 100%; height: 14px; }
.rug.thin { height: 8px; }

/* Header */
.top { background: var(--cream); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo { flex: none; display: block; }
.logo img { width: 150px; height: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--wine); text-decoration: underline; }
.lang { display: flex; gap: 6px; font-weight: 700; font-size: .95rem; }
.lang a, .lang span { padding: 4px 8px; border-radius: 4px; text-decoration: none; }
.lang span { background: var(--wine); color: var(--cream); }
.lang a { color: var(--wine); border: 1px solid var(--wine); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 6px; font: 700 1.05rem/1.2 var(--sans); text-decoration: none; border: 2px solid var(--wine); }
.btn-solid { background: var(--wine); color: var(--cream); }
.btn-solid:hover { background: var(--wine-dark); border-color: var(--wine-dark); color: var(--cream); }
.btn-line { color: var(--wine); background: transparent; }
.btn-line:hover { background: var(--wine); color: var(--cream); }
.top .btn { padding: 9px 16px; font-size: .98rem; }

/* Hero */
.hero { background: var(--cream); }
.hero .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(2.7rem, 1.6rem + 3.6vw, 4.6rem); letter-spacing: -.01em; }
.hero h1 small { display: block; font-size: .46em; font-weight: 500; font-style: italic; color: var(--green); margin-top: 10px; letter-spacing: 0; }
.hero .lead { font-size: 1.3rem; margin: 24px 0 30px; max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rating { display: flex; align-items: center; gap: 12px; margin-top: 30px; font-size: 1rem; color: var(--muted); }
.rating strong { font: 700 1.9rem/1 var(--serif); color: var(--wine-dark); }
.stars { color: var(--wood); letter-spacing: 2px; font-size: 1.1rem; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 18% 50%; border-radius: 4px; box-shadow: 14px 14px 0 var(--wine); }

/* Facts */
.facts { background: var(--wine); color: var(--cream); }
.facts ul { list-style: none; margin: 0 auto; padding: 26px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: var(--wrap); }
.facts li { display: flex; flex-direction: column; gap: 2px; font-size: 1rem; line-height: 1.35; }
.facts b { font: 700 1.7rem/1.1 var(--serif); color: #fff; }

/* Sections */
section { padding: 88px 0; }
section[id] { scroll-margin-top: 12px; }
.alt { background: var(--cream); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.text p { font-size: 1.15rem; max-width: 34em; }
.text h2 { margin-bottom: 22px; }
figure { margin: 0; }
figcaption { font-size: .92rem; color: var(--muted); margin-top: 10px; }
.ph img { width: 100%; border-radius: 4px; }
.r21 img { aspect-ratio: 2 / 1; object-fit: cover; }
.r32 img { aspect-ratio: 3 / 2; object-fit: cover; }

.beds { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.beds li { display: flex; align-items: center; gap: 14px; font: 600 1.35rem/1.25 var(--serif); color: var(--wine-dark); padding: 12px 0; border-top: 1px solid var(--line); }
.beds li:last-child { border-bottom: 1px solid var(--line); }
.rooms { display: grid; grid-template-columns: 4fr 3fr; gap: 24px; margin-top: 52px; align-items: start; }

.tick { list-style: none; padding: 0; margin: 20px 0 0; }
.tick li { padding-left: 28px; position: relative; margin: 8px 0; font-size: 1.1rem; }
.tick li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; background: var(--green); transform: rotate(45deg); }

.food { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }

/* Gallery: justified row, each tile as wide as its photo's share of the row */
.gallery { display: flex; gap: 16px; margin-top: 36px; }
.gallery figure { flex: var(--r) 1 0; min-width: 0; }
.gallery img { width: 100%; aspect-ratio: var(--r); object-fit: cover; border-radius: 4px; }

/* Reviews */
.reviews-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.score { display: flex; align-items: center; gap: 16px; }
.score strong { font: 700 4rem/1 var(--serif); color: var(--wine); }
.score span { color: var(--muted); line-height: 1.35; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quotes blockquote { margin: 0; background: var(--paper); border-top: 4px solid var(--wine); padding: 26px 26px 22px; border-radius: 0 0 4px 4px; display: flex; flex-direction: column; }
.quotes p { font: italic 500 1.2rem/1.45 var(--serif); color: var(--ink); }
.quotes .tr { font: 400 .98rem/1.45 var(--sans); color: var(--muted); font-style: normal; }
.quotes footer { margin-top: auto; font-weight: 700; color: var(--wine-dark); font-size: .98rem; }
.quotes footer span { font-weight: 400; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
.contact dl { margin: 26px 0 30px; display: grid; grid-template-columns: max-content 1fr; gap: 12px 22px; }
.contact dt { font-weight: 700; color: var(--green); }
.contact dd { margin: 0; }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: 4px; background: var(--cream); display: block; }
.maplinks { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; font-size: .98rem; }
.airbnb { font-size: 1rem; color: var(--muted); margin-top: 18px; }

/* Footer */
.foot { background: var(--wine-dark); color: var(--cream); padding: 44px 0 36px; font-size: .98rem; }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.foot a { color: var(--cream); }
.foot p { margin: 0 0 6px; }
.foot .name { font: 700 1.5rem/1.2 var(--serif); }
.foot .credit { color: #d8c9cc; font-size: .9rem; }
.foot .preview { margin-top: 18px; font-size: .88rem; color: #d8c9cc; }
.social { display: flex; gap: 16px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .top .wrap { gap: 16px; }
  .lang { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero .wrap, .split, .contact { grid-template-columns: 1fr; gap: 32px; }
  .hero .wrap { padding-top: 28px; padding-bottom: 48px; }
  .hero-photo { order: -1; }
  .hero-photo img { box-shadow: 8px 8px 0 var(--wine); }
  .split.flip > :first-child { order: 0; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .rooms { grid-template-columns: 1fr; margin-top: 36px; }
  .gallery { flex-direction: column; gap: 24px; }
  .gallery figure { flex: none; }
  .gallery .portrait { width: 62%; }
}
@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .wrap { padding: 0 18px; }
  .top .wrap { min-height: 68px; }
  .logo img { width: 112px; }
  .top .btn { display: none; }
  .hero .lead { font-size: 1.15rem; }
  .actions .btn { width: 100%; justify-content: center; }
  .food { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .gallery .portrait { width: 78%; }
  .contact dl { grid-template-columns: 1fr; gap: 2px; }
  .contact dd { margin-bottom: 10px; }
  .foot .wrap { grid-template-columns: 1fr; }
}
