/* Külalistemaja Taevas — preview by Saarekiri. "Taevas" = the sky: the logo's sky blue, a pale-sky hero,
   lime-plaster cream, the ochre of the 1931 house and a lemonade-yellow accent. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(fonts/fraunces-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: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(fonts/fraunces-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: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/fraunces-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: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/fraunces-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: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/figtree-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: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/figtree-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 {
  --sky: #2f7fcf;        /* the logo blue */
  --sky-deep: #1d5f9f;   /* buttons, links (AA on cream) */
  --sky-pale: #dcecf8;
  --sky-mist: #eef5fb;
  --night: #15283d;      /* contact section, text on light */
  --plaster: #f7f2e8;    /* natural lime plaster */
  --paper: #fffdf8;
  --ochre: #caa25a;      /* the house */
  --lemon: #f3d55b;      /* lemonade */
  --pine: #8a5a2b;
  --ink: #1f2a36;
  --muted: #56616d;
  --line: #e4dccb;
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--sans); color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sky-deep); text-underline-offset: 3px; }
a:hover { color: var(--night); }
:focus-visible { outline: 3px solid var(--lemon); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em;
  font-variation-settings: "opsz" 96; color: var(--night); }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
h3 { font-size: 1.35rem; font-variation-settings: "opsz" 36; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--night); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
.eyebrow { font: 600 .8rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sky-deep); margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sky); border-radius: 2px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 253, 248, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--sky-deep); }
.lang { display: flex; gap: 2px; font-weight: 600; font-size: .9rem; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a, .lang span { padding: 4px 10px; border-radius: 999px; text-decoration: none; color: var(--ink); }
.lang span { background: var(--sky-deep); color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 650;
  text-decoration: none; background: var(--sky-deep); color: #fff; border: 2px solid var(--sky-deep); line-height: 1.1; }
.btn:hover { background: var(--night); border-color: var(--night); color: #fff; }
.btn.ghost { background: transparent; color: var(--sky-deep); }
.btn.ghost:hover { background: var(--sky-deep); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* hero: pale sky, the house in an arch like its gable window */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px;
  background: linear-gradient(180deg, var(--sky-pale) 0%, var(--sky-mist) 55%, var(--plaster) 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 1.6rem + 4vw, 4.6rem); font-weight: 520; margin-bottom: 18px; }
.hero h1 em { display: block; font-style: italic; font-weight: 400; color: var(--sky); font-size: .58em; letter-spacing: 0; margin-bottom: 6px; }
.hero .lead { color: #3d4a57; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 26px; }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 0; color: var(--muted); font-size: .98rem; }
.rating strong { font: 600 1.7rem/1 var(--serif); color: var(--night); }
.stars { color: #e3a623; letter-spacing: 2px; font-size: 1.05rem; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 1600 / 1095; object-fit: cover;
  border-radius: 50% 50% var(--radius) var(--radius) / 26% 26% var(--radius) var(--radius);
  box-shadow: 0 30px 60px -30px rgba(21, 40, 61, .45); }
.hero-photo .badge { position: absolute; left: -26px; top: 18px; margin: 0; background: var(--lemon); color: var(--night);
  border-radius: 999px; width: 118px; height: 118px; display: grid; place-content: center; text-align: center;
  font: 600 .78rem/1.15 var(--sans); letter-spacing: .06em; text-transform: uppercase; transform: rotate(-8deg);
  box-shadow: 0 10px 24px -10px rgba(21, 40, 61, .5); }
.badge b { display: block; font: 600 2rem/1 var(--serif); letter-spacing: 0; text-transform: none; }

/* facts */
.facts { background: var(--night); color: #fff; }
.facts ul { list-style: none; margin: 0 auto; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.facts li { display: flex; flex-direction: column; gap: 2px; padding-left: 18px; border-left: 2px solid var(--sky); }
.facts b { font: 560 1.9rem/1.1 var(--serif); color: var(--lemon); }
.facts span { color: #c8d6e5; font-size: .95rem; }

section.block { padding: 96px 0; }

/* story */
.story { background: var(--plaster); }
.story-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.year { font: 300 clamp(5rem, 3rem + 8vw, 9.5rem)/.9 var(--serif); color: var(--sky); font-variation-settings: "opsz" 144;
  margin: 0 0 10px; position: relative; display: inline-block; }
.year::after { content: ""; position: absolute; right: -46px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--sky); box-shadow: 22px 26px 0 -3px var(--plaster), 22px 26px 0 -1px var(--sky), 6px 52px 0 -5px var(--plaster), 6px 52px 0 -3px var(--sky); }
.story h2 { max-width: 15em; }
.keep { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.keep li { display: flex; gap: 12px; align-items: baseline; }
.keep li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ochre); transform: translateY(-1px); }
.story-photo { margin: 0; justify-self: center; width: min(100%, 420px); }
.story-photo img { width: 100%; aspect-ratio: 900 / 1349; object-fit: cover; border-radius: 210px 210px var(--radius) var(--radius); }
figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }

/* rooms */
.rooms-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-bottom: 36px; }
.rooms-head .lead { margin: 0; }
.amen { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 420px; }
.amen li { background: var(--sky-mist); border: 1px solid var(--sky-pale); color: var(--night); padding: 7px 14px; border-radius: 999px; font-weight: 550; font-size: .93rem; }
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.room-grid img, .bath-row img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.room-grid img { aspect-ratio: 3 / 2; }
.bath-row { display: grid; grid-template-columns: 2fr 4.5fr 4.5fr; gap: 16px; margin-top: 16px; }
.bath-row .p { aspect-ratio: 800 / 1203; }
.bath-row .l { aspect-ratio: 3 / 2; }
.bath-row .note { background: var(--plaster); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.bath-row .note p:last-child { margin: 0; }

/* yard / café / family */
.yard { background: linear-gradient(180deg, var(--paper), var(--sky-mist)); }
.yard-photo { margin: 0 0 40px; }
.yard-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--lemon); margin-bottom: 16px; }
.card .ico svg { width: 24px; height: 24px; stroke: var(--night); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin: 0; color: var(--muted); }

/* rating band */
.band { background: var(--sky); color: #fff; padding: 46px 0; }
.band .wrap { display: flex; align-items: center; gap: 22px 40px; flex-wrap: wrap; justify-content: space-between; }
.band .score { display: flex; align-items: center; gap: 18px; }
.band strong { font: 500 4rem/1 var(--serif); }
.band .stars { color: var(--lemon); font-size: 1.4rem; }
.band p { margin: 0; font-size: 1.1rem; }
.band .btn { background: #fff; color: var(--sky-deep); border-color: #fff; }
.band .btn:hover { background: var(--night); color: #fff; border-color: var(--night); }

/* location */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; }
.loc-grid figure { margin: 0; }
.loc-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.addr { font: 500 1.3rem/1.35 var(--serif); color: var(--night); margin: 0 0 6px; }

/* contact */
.contact { background: var(--night); color: #e8eef5; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: var(--lemon); }
.contact .eyebrow::before { background: var(--lemon); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover { background: rgba(255,255,255,.12); color: #fff; }
.contact-list small { display: block; color: #9fb3c8; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-list svg { width: 24px; height: 24px; flex: none; stroke: var(--lemon); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact .lead { color: #c8d6e5; }
.contact .logo-card { background: #fff; border-radius: var(--radius); padding: 28px 32px; display: inline-block; margin-top: 10px; }
.contact .logo-card img { width: 220px; }

footer { background: #0f1e2e; color: #9fb3c8; font-size: .9rem; padding: 28px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
footer p { margin: 0; }
footer a { color: #c8d6e5; }

/* tablet */
@media (max-width: 1060px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 760px; }
  .rooms-head { grid-template-columns: 1fr; }
  .amen { justify-content: flex-start; max-width: none; }
  .cards { grid-template-columns: 1fr; }
}
/* phone */
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .wrap { width: calc(100% - 32px); }
  .top .wrap { min-height: 62px; }
  .brand img { height: 38px; }
  .hero { padding: 36px 0 48px; }
  .hero-photo .badge { width: 88px; height: 88px; left: auto; right: -4px; top: -18px; font-size: .64rem; }
  .badge b { font-size: 1.55rem; }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
  .facts ul { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .facts b { font-size: 1.4rem; }
  .contact .logo-card { padding: 20px 24px; }
  .contact .logo-card img { width: 170px; }
  section.block { padding: 64px 0; }
  .room-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bath-row { grid-template-columns: 2fr 4.5fr; gap: 10px; }
  .bath-row .note { grid-column: 1 / -1; padding: 22px; }
  .loc-grid { grid-template-columns: 1fr; }
  .year::after { display: none; }
  .band strong { font-size: 3.2rem; }
}
