/* Türju rannamaja — the ochre cottage with the red roof, the Baltic sea 100 m away, Sõrve sunsets. */
@font-face { font-family: "Domine"; font-weight: 400 700; font-display: swap; src: url(fonts/domine-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: "Domine"; font-weight: 400 700; font-display: swap; src: url(fonts/domine-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: "Hanken Grotesk"; font-weight: 100 900; font-display: swap; src: url(fonts/hanken-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: "Hanken Grotesk"; font-weight: 100 900; font-display: swap; src: url(fonts/hanken-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; }

:root {
  --sand: #F7F1E6;      /* paper: the sandy beach */
  --sand-2: #EFE4D0;
  --ochre: #E2A238;     /* the cottage walls */
  --ochre-soft: #F6D9A2;
  --roof: #9F2F28;      /* the roof */
  --sea: #1D3B50;       /* the Baltic in the evening */
  --sea-2: #2B5570;
  --foam: #DDE9EF;
  --sunset: #E0612F;
  --ink: #1E2226;
  --muted: #555B60;
  --line: #DCCDB2;
  --radius: 14px;
  --wrap: 1200px;
  --serif: "Domine", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sunset); outline-offset: 3px; }
.eyebrow { font: 700 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--roof); margin-bottom: .9rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
section { padding: clamp(56px, 7vw, 96px) 0; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(247, 241, 230, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand svg { flex: none; }
.brand b { font: 700 1.15rem/1 var(--serif); display: block; }
.brand small { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: none; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--roof); }
.lang { display: flex; gap: 2px; font-weight: 700; font-size: .85rem; }
.lang a, .lang span { padding: 6px 8px; border-radius: 6px; text-decoration: none; }
.lang span { background: var(--sea); color: #fff; }
.lang a:hover { background: var(--sand-2); }
.call { display: none; background: var(--roof); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 16px; border-radius: 999px; font-size: .95rem; white-space: nowrap; }
.call:hover { background: #82241f; }
@media (min-width: 640px) { .call { display: inline-block; } }
@media (min-width: 1100px) { .nav { display: flex; } }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.btn { display: inline-block; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--sea); }
.btn.solid { background: var(--sea); color: #fff; }
.btn.solid:hover { background: var(--sea-2); border-color: var(--sea-2); }
.btn.ghost:hover { background: var(--foam); }

/* hero */
.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 6vw, 80px); }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.4rem); margin-bottom: .35em; }
.hero h1 span { display: block; font-size: .42em; font-family: var(--sans); font-weight: 600; color: var(--roof); letter-spacing: .01em; margin-top: .5em; }
.hero .lead { color: var(--ink); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.rating { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.rating .stars { color: var(--ochre); letter-spacing: 2px; font-size: 1.1rem; }
.rating:hover span:last-child { text-decoration: underline; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 48px -24px rgba(29, 59, 80, .45); }
.hero-photo::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 46%; height: 40%; border-radius: var(--radius); background: var(--ochre); z-index: -1; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr 1.15fr; gap: 56px; }
}

/* facts band */
.facts { background: var(--sea); color: #fff; padding: 0; }
.facts ul { list-style: none; margin: 0 auto; padding: 28px 20px; max-width: var(--wrap); display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
.facts li { font-size: .95rem; color: var(--foam); }
.facts b { display: block; font: 700 1.35rem/1.2 var(--serif); color: #fff; margin-bottom: 2px; }
@media (min-width: 900px) { .facts ul { grid-template-columns: repeat(4, 1fr); padding: 34px 20px; } }

/* photos */
figure { margin: 0; }
figure img { border-radius: 10px; width: 100%; }
figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.wide img { aspect-ratio: 12 / 5; object-fit: cover; }
.tall img { aspect-ratio: 2 / 3; object-fit: cover; }

/* the cottage */
.floors { display: grid; gap: 18px; margin: 34px 0 40px; }
.floor { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.floor h3 { color: var(--roof); }
.floor ul { margin: 0; padding-left: 1.1em; }
.floor li { margin: .2em 0; }
.grid2 { display: grid; gap: 18px; }
.bath { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
@media (min-width: 760px) {
  .floors { grid-template-columns: 1fr 1fr; }
  .grid2 { grid-template-columns: 1fr 1fr; gap: 22px; }
  .bath { gap: 22px; max-width: 860px; }
}
.room-row { display: grid; gap: 18px; margin-top: 18px; }
@media (min-width: 760px) { .room-row { grid-template-columns: 1fr 1fr 1fr; gap: 22px; } }

/* the sea */
.sea { background: var(--sea); color: #fff; }
.sea .eyebrow { color: var(--ochre-soft); }
.sea .lead { color: var(--foam); }
.sea figcaption { color: #B9CCD7; }
.sea-grid { display: grid; gap: 18px; margin-top: 34px; }
.sea-grid .beach img { aspect-ratio: 1397 / 786; object-fit: cover; }
.sea-side { display: grid; gap: 18px; }
@media (min-width: 900px) {
  .sea-grid { grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }
  .sea-side { gap: 22px; }
}
.band { margin-top: 22px; }
.band img { aspect-ratio: 12 / 5; object-fit: cover; }

/* kingdom of Torgu */
.torgu .wrap { display: grid; gap: 36px; align-items: center; }
.torgu blockquote { margin: 0 0 24px; padding: 0; font: 400 clamp(1.35rem, 1.1rem + 1vw, 1.85rem)/1.4 var(--serif); }
.torgu blockquote p::before { content: "„"; }
.torgu blockquote p::after { content: "“"; }
.torgu .src { font-size: .9rem; color: var(--muted); }
.crown { color: var(--ochre); margin-bottom: 14px; }
.torgu figure { max-width: 380px; justify-self: center; width: 100%; }
@media (min-width: 900px) { .torgu .wrap { grid-template-columns: 1.4fr 1fr; gap: 64px; } }

/* gallery */
.gallery { background: var(--sand-2); }
.gallery .grid2 { margin-top: 30px; }

/* ratings + location */
.two { display: grid; gap: 22px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.score { display: flex; align-items: center; gap: 18px; margin: 10px 0 16px; }
.score b { font: 700 3.6rem/1 var(--serif); color: var(--sea); }
.score .stars { color: var(--ochre); font-size: 1.4rem; letter-spacing: 3px; display: block; }
.score small { color: var(--muted); }
address { font-style: normal; font-size: 1.1rem; margin: 10px 0 14px; line-height: 1.5; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.links a { font-weight: 700; color: var(--sea); }

/* contact */
.contact { background: var(--ochre); }
.contact .eyebrow { color: var(--sea); }
.contact .lead { color: var(--ink); }
.cards { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.cards a { display: flex; flex-direction: column; gap: 4px; background: var(--sand); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; border: 2px solid transparent; }
.cards a:hover { border-color: var(--sea); }
.cards small { font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--roof); }
.cards span { font: 700 1.2rem/1.3 var(--serif); overflow-wrap: anywhere; }
.season { margin-top: 26px; font-weight: 700; }

/* footer */
footer { background: var(--ink); color: #C9CDD1; font-size: .9rem; padding: 34px 0; }
footer p { margin: 0 0 .4em; }
footer .made { margin-top: 14px; color: #9AA0A6; }
footer a { color: #fff; }
