/* Pulli-Aiku puhkemaja — the yellow cottage, the black roofs, the red-brown deck, the meadow and the sky */
@font-face { font-family: "Bree Serif"; font-weight: 400; font-display: swap;
  src: url("fonts/bree-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: "Bree Serif"; font-weight: 400; font-display: swap;
  src: url("fonts/bree-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: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap;
  src: url("fonts/atkinson-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: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap;
  src: url("fonts/atkinson-400-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: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap;
  src: url("fonts/atkinson-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: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap;
  src: url("fonts/atkinson-700-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 {
  --yellow: #F2C94C;      /* the cottage walls */
  --yellow-lt: #FBEBB5;
  --butter: #FFF8E3;      /* paper */
  --roof: #23252A;        /* the black roofs */
  --roof-2: #34373E;
  --deck: #8C3F2B;        /* the red-brown deck */
  --deck-dk: #6E2F1F;
  --meadow: #55702F;      /* the grass */
  --meadow-lt: #E6EDD6;
  --sky: #E4EEF5;
  --ink: #23252A;
  --ink-2: #4F525A;
  --line: #E7DEC4;
  --r: 14px;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--butter); color: var(--ink); font: 400 18px/1.6 "Atkinson Hyperlegible", system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Bree Serif", Georgia, serif; font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: clamp(32px, 4.2vw, 48px); }
h3 { font-size: 22px; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--roof); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--deck); outline-offset: 3px; border-radius: 4px; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--deck); margin-bottom: 12px; }
.lead { font-size: 20px; color: var(--ink-2); max-width: 40em; margin-top: 16px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 227, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand svg { flex: none; }
.brand b { display: block; font: 400 22px/1 "Bree Serif", Georgia, serif; }
.brand small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 3px; letter-spacing: .02em; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 700; font-size: 16px; color: var(--ink-2); }
.nav a:hover { color: var(--deck); }
.lang { display: flex; gap: 2px; font-weight: 700; font-size: 15px; border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.lang a, .lang span { padding: 4px 10px; border-radius: 99px; text-decoration: none; }
.lang span { background: var(--roof); color: #fff; }
.call { display: inline-flex; align-items: center; gap: 8px; background: var(--roof); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; padding: 10px 16px; border-radius: 99px; }
.call:hover { background: var(--deck); }

/* hero */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 78%; background: var(--yellow); z-index: -1; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(46px, 7vw, 92px); }
.hero .eyebrow { color: var(--roof); }
.hero .lead { color: var(--roof); font-size: 22px; }
.hero-side { padding-bottom: 8px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; text-decoration: none; padding: 14px 22px; border-radius: 99px; border: 2px solid var(--roof); }
.btn.solid { background: var(--roof); color: #fff; }
.btn.solid:hover { background: var(--deck); border-color: var(--deck); }
.btn.ghost:hover { background: rgba(255,255,255,.4); }
.rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 16px; color: var(--roof); }
.rating .stars { color: var(--deck); letter-spacing: 2px; font-size: 18px; }
.hero-img { max-width: 1392px; margin: 40px auto 0; padding: 0 24px; }
.hero-img img { width: 100%; aspect-ratio: 3712 / 2062; object-fit: cover; border-radius: var(--r); box-shadow: 0 24px 60px -30px rgba(35,37,42,.55); }

/* facts */
.facts { background: var(--roof); color: #fff; margin-top: 56px; }
.facts ul { list-style: none; margin: 0; padding: 30px 24px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.facts li { border-left: 3px solid var(--yellow); padding-left: 14px; font-size: 16px; color: #D9DADD; line-height: 1.4; }
.facts b { display: block; font: 400 24px/1.15 "Bree Serif", Georgia, serif; color: #fff; margin-bottom: 4px; }

section { padding: 96px 0; }
.head { max-width: 760px; margin-bottom: 44px; }

/* house */
.house-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.kit { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.kit li { position: relative; padding-left: 28px; font-size: 17px; }
.kit li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 4px; background: var(--yellow); box-shadow: inset 0 0 0 2px var(--roof); }
.floors { display: grid; gap: 14px; margin-top: 32px; }
.floor { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.floor h3 { font-size: 20px; margin-bottom: 4px; }
.floor p { color: var(--ink-2); font-size: 17px; }
figure { margin: 0; }
figcaption { font-size: 15px; color: var(--ink-2); margin-top: 8px; }
.ph img { width: 100%; border-radius: var(--r); object-fit: cover; }
.r43 img { aspect-ratio: 4 / 3; }
.r34 img { aspect-ratio: 3 / 4; }
.house-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.house-photos .wide { grid-column: 1 / -1; }
/* one justified row: each column's share = its photo's width/height, so all four are the same height */
.rooms { display: grid; grid-template-columns: .75fr 1.333fr 1.333fr .887fr; gap: 16px; margin-top: 48px; align-items: start; }
.rooms .ylak img { aspect-ratio: 3 / 4; }
.rooms .dussi img { aspect-ratio: 3024 / 3409; }

/* outdoors */
.out { background: var(--meadow); color: #fff; }
.out .eyebrow { color: var(--yellow); }
.out .lead { color: #E8EEDD; }
.out figcaption { color: #E1E8D3; }
.out-grid { display: grid; grid-template-columns: 1.333fr .966fr 1.606fr; gap: 20px; align-items: start; }
.out-grid .r43 img { aspect-ratio: 4 / 3; }
.saun img { aspect-ratio: 3024 / 3131; }
.tub img { aspect-ratio: 4320 / 2690; }
.extra { display: inline-block; margin-top: 22px; background: var(--yellow); color: var(--roof); font-weight: 700; border-radius: 99px; padding: 8px 16px; font-size: 16px; }
.band { margin-top: 20px; }
.band img { aspect-ratio: 4320 / 1927; }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal img { aspect-ratio: 4 / 3; }

/* reviews */
.rev { background: var(--sky); }
.rev-card { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; background: #fff; border-radius: 22px; padding: 40px 44px; max-width: 900px; }
.score { text-align: center; }
.score b { display: block; font: 400 72px/1 "Bree Serif", Georgia, serif; }
.score .stars { color: var(--deck); font-size: 22px; letter-spacing: 3px; }
.score small { display: block; color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.rev-card p { font-size: 19px; color: var(--ink-2); }
.rev-card a { font-weight: 700; color: var(--deck); }

/* location */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
#asukoht .band { margin-top: 44px; }
.addr { font-style: normal; font-size: 20px; line-height: 1.5; margin-top: 24px; padding-left: 16px; border-left: 4px solid var(--yellow); }
.swim { font-size: 20px; color: var(--ink-2); }
.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.links .btn { font-size: 16px; padding: 11px 18px; }

/* contact */
.contact { background: var(--yellow); }
.contact .eyebrow { color: var(--roof); }
.contact .lead { color: var(--roof); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.card { display: block; background: var(--butter); border-radius: var(--r); padding: 22px 24px; text-decoration: none; border: 2px solid transparent; }
.card:hover { border-color: var(--roof); }
.card small { display: block; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--deck); }
.card span { display: block; font: 400 22px/1.25 "Bree Serif", Georgia, serif; margin-top: 6px; overflow-wrap: anywhere; }
.hours { margin-top: 28px; font-weight: 700; color: var(--roof); }

/* footer */
footer { background: var(--roof); color: #C9CBD0; font-size: 15px; padding: 36px 0; }
footer .wrap { display: grid; gap: 6px; }
footer a { color: #fff; }
.made { margin-top: 10px; color: #9EA1A8; font-size: 14px; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .facts ul { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .hero { padding-top: 40px; }
  .hero::before { height: 70%; }
  .hero .wrap, .house-grid, .loc-grid, .out-grid { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr 1fr; }
  .rev-card { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; gap: 20px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap, .hero-img { padding: 0 16px; }
  .top .wrap { height: 64px; gap: 10px; }
  .brand small { display: none; }
  .call span { display: none; }
  .call { padding: 10px 12px; }
  .hero-img { margin-top: 28px; }
  .hero .lead { font-size: 19px; }
  .btn { padding: 12px 18px; font-size: 16px; }
  .facts { margin-top: 36px; }
  .facts ul { grid-template-columns: 1fr 1fr; padding: 24px 16px; }
  .facts li:last-child { grid-column: 1 / -1; }
  .kit { gap: 8px 12px; }
  .kit li { font-size: 16px; }
  .house-photos { grid-template-columns: 1fr; }
  /* the two upright photos side by side (their own ratios), the two wide ones full width */
  .rooms { grid-template-columns: .75fr .887fr; gap: 12px; }
  .rooms .ylak { order: 1; } .rooms .dussi { order: 2; }
  .rooms .wide1, .rooms .wide2 { grid-column: 1 / -1; order: 3; }
  .gal { grid-template-columns: 1fr; }
}
