/* Laevnina Farm — preview site. Fonts: Gloock + Public Sans (OFL), self-hosted. */
@font-face { font-family: "Gloock"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/gloock-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: "Gloock"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/gloock-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: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/publicsans-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: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/publicsans-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 {
  --sea: #1E3A4C;        /* the Baltic off Laevaranna */
  --sea-2: #2C5168;
  --juniper: #3F5B3A;    /* juniper meadow */
  --meadow: #E6EBDA;     /* grazed grass, light */
  --linen: #F6F2E9;      /* page */
  --roof: #B5452F;       /* the red roof and kitchen */
  --roof-dark: #96361F;
  --sand: #E3C690;       /* accents on dark */
  --ink: #1B2328;
  --muted: #56626A;
  --line: #D9D3C4;
  --serif: "Gloock", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --gut: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--roof); outline-offset: 2px; }

/* header */
.top { background: var(--linen); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sea); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand b { font: 400 23px/1 var(--serif); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; font-size: 13px; font-weight: 600; }
.lang a, .lang span { padding: 5px 10px; text-decoration: none; }
.lang span { background: var(--sea); color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 99px; background: var(--roof);
  color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.2; border: 2px solid var(--roof); }
.btn:hover { background: var(--roof-dark); border-color: var(--roof-dark); }
.btn.ghost { background: transparent; color: var(--sea); border-color: var(--sea); }
.btn.ghost:hover { background: var(--sea); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.top .btn { padding: 9px 16px; font-size: 15px; }

/* hero */
.hero { padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--juniper); margin: 0 0 14px; }
.hero h1 { font-size: 76px; color: var(--sea); margin-bottom: 20px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink); max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 1024 / 683; object-fit: cover; border-radius: 6px; }
.hero-photo figcaption, .house-top figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* distances strip */
.dist { background: var(--meadow); }
.dist ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dist li { border-left: 2px solid var(--juniper); padding-left: 16px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.dist b { display: block; font: 400 34px/1.1 var(--serif); color: var(--sea); margin-bottom: 2px; }

/* sections */
section { padding: 88px 0; }
.head { max-width: 760px; margin-bottom: 36px; }
.head h2 { font-size: 52px; color: var(--sea); margin-bottom: 16px; }
.head p { font-size: 18px; color: var(--muted); }

/* the house */
.house-top { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; margin-bottom: 20px; }
.house-top figure { margin: 0; }
.house-top img { width: 100%; aspect-ratio: 1024 / 683; border-radius: 6px; }
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--meadow); color: var(--juniper); border-radius: 99px; padding: 6px 14px; font-size: 15px; font-weight: 600; }
.quote-own { font: 400 26px/1.35 var(--serif); color: var(--sea); margin: 0 0 18px; }

/* justified photo rows: each tile's flex-grow is its photo's aspect ratio, so one row shares one height */
.row { display: flex; gap: 14px; margin-top: 14px; }
.row figure { margin: 0; min-width: 0; }
.row img { width: 100%; border-radius: 6px; }
.row figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* yard + sea (dark band) */
.yard { background: var(--sea); color: #E9EEF1; }
.yard .head h2 { color: #fff; }
.yard .head p, .yard figcaption { color: #B8C7D0; }
.yard .eyebrow { color: var(--sand); }
.yard .chips li { background: var(--sea-2); color: #fff; }

/* reviews */
.reviews { background: var(--meadow); }
.score { display: flex; align-items: baseline; gap: 14px; margin-bottom: 30px; flex-wrap: wrap; }
.score b { font: 400 72px/1 var(--serif); color: var(--sea); }
.stars { font: 400 26px/1 Arial, sans-serif; letter-spacing: 3px;
  background: linear-gradient(90deg, var(--roof) 90%, #C9C2B2 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.house-top h2 { font-size: 44px; color: var(--sea); margin-bottom: 20px; }
.score span { color: var(--muted); }
.quotes { display: grid; grid-template-columns: 3fr 2fr; gap: 24px; }
blockquote { margin: 0; background: var(--linen); border-radius: 6px; padding: 28px 30px; border-left: 4px solid var(--juniper); }
blockquote p { font: 400 23px/1.4 var(--serif); color: var(--ink); margin-bottom: 14px; }
blockquote footer { font-size: 15px; color: var(--muted); }

/* location */
.where { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.where figure { margin: 0; }
.where h2 { font-size: 44px; color: var(--sea); margin-bottom: 22px; }
.where img { width: 100%; aspect-ratio: 1040 / 640; border-radius: 6px; border: 1px solid var(--line); }
.facts { list-style: none; padding: 0; margin: 0 0 24px; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { text-align: right; font-weight: 600; }

/* contact */
.contact { background: var(--roof); color: #fff; padding: 72px 0; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact h2 { font-size: 52px; margin-bottom: 12px; }
.contact p { color: #F6DCD4; font-size: 18px; margin: 0; }
.contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact a { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px; padding: 16px 20px; text-decoration: none; font-size: 20px; font-weight: 600; word-break: break-all; }
.contact a:hover { background: rgba(255,255,255,.2); }
.contact a small { display: block; font-size: 13px; font-weight: 500; color: #F6DCD4; letter-spacing: .06em; text-transform: uppercase; word-break: normal; }
.contact svg { width: 26px; height: 26px; flex: none; }

footer.site { background: var(--sea); color: #B8C7D0; font-size: 14px; padding: 28px 0; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer.site a { color: #fff; }

/* tablet */
@media (max-width: 1080px) {
  .nav { display: none; }
  .top .wrap { gap: 14px; }
  .lang { margin-left: auto; }
  .hero h1 { font-size: 60px; }
  .hero .wrap { gap: 36px; }
}
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero { padding: 32px 0 48px; }
  .hero .wrap, .house-top, .where, .contact .wrap, .quotes { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .dist ul { grid-template-columns: repeat(2, 1fr); }
  .head h2, .contact h2 { font-size: 40px; }
}
/* phone: rows break into one photo per line, each in its own ratio */
@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --gut: 16px; }
  .top .btn { display: none; }
  .brand b { font-size: 21px; }
  .hero h1 { font-size: 48px; }
  .lead { font-size: 18px; }
  .row { flex-direction: column; gap: 14px; }
  .row figure { flex: none !important; }
  .dist b { font-size: 28px; }
  .score b { font-size: 56px; }
  blockquote p { font-size: 20px; }
  .contact a { font-size: 17px; }
  .facts li { flex-direction: column; gap: 2px; }
  .facts li span:last-child { text-align: left; }
}
