/* Semar kitchens & furniture. Web brand guide (11.2026): sage main colour and buttons, graphite text and dark blocks, oak icons,
   cream ground, brass #B8924A thin lines, burgundy only on the "Küsige pakkumist!" CTA. Lora (headings) + Carlito (text). */
@font-face { font-family: "Lora"; src: url(../fonts/lora-lat.woff2) format("woff2"); font-weight: 400 600; font-display: swap;
  unicode-range: U+0000-00FF, U+2018-201E, U+2022, U+2026, U+20AC; }
@font-face { font-family: "Lora"; src: url(../fonts/lora-ext.woff2) format("woff2"); font-weight: 400 600; font-display: swap;
  unicode-range: U+0160-0161, U+017D-017E; }
@font-face { font-family: "Lora"; src: url(../fonts/lora-cyr.woff2) format("woff2"); font-weight: 400 600; font-display: swap;
  unicode-range: U+0401, U+0410-044F, U+0451, U+2116; }
@font-face { font-family: "Carlito"; src: url(../fonts/carlito-lat-400.woff2) format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0160-0161, U+017D-017E, U+2018-201E, U+2022, U+2026, U+20AC, U+2190-2192, U+2212; }
@font-face { font-family: "Carlito"; src: url(../fonts/carlito-lat-700.woff2) format("woff2"); font-weight: 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0160-0161, U+017D-017E, U+2018-201E, U+2022, U+2026, U+20AC, U+2190-2192, U+2212; }
@font-face { font-family: "Carlito"; src: url(../fonts/carlito-cyr-400.woff2) format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0401, U+0410-044F, U+0451, U+2116; }
@font-face { font-family: "Carlito"; src: url(../fonts/carlito-cyr-700.woff2) format("woff2"); font-weight: 700; font-display: swap;
  unicode-range: U+0401, U+0410-044F, U+0451, U+2116; }

:root {
  --cream: #f4eee0;
  --paper: #faf7f0;
  --linen: #e5dac9;
  --sand: #d0c4ae;
  --sage-mist: #e3e8dc;
  --sage-light: #aebba3;
  --sage: #5f7458;
  --forest: #44583f;
  --pine: #2b3a29;
  --graphite: #3a3833;
  --graphite-500: #5a564c;
  --oak: #b07a45;
  --walnut: #8c5c35;
  --brass: #b8924a;
  --burgundy: #7b2d3a;
  --bordeaux: #5b1f2c;
  --err: #9b2a2a;
  --hdr: 64px;
  --pad: 16px;
  --display: "Lora", Georgia, "Times New Roman", serif;
  --text: "Carlito", Calibri, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 960px) { :root { --hdr: 92px; --pad: 40px; } }
@media (min-width: 1280px) { :root { --pad: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.i18n-wait body { opacity: 0; }
body { margin: 0; background: var(--cream); color: var(--graphite); font: 400 18px/1.5 var(--text); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 500; }
p { margin: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--graphite); color: var(--cream); padding: 12px 16px; min-height: 44px; text-decoration: none; }
.skip:focus { top: 8px; }
main:focus { outline: none; }
.tick { display: inline-block; width: 26px; height: 1.5px; background: var(--brass); flex: none; }

/* buttons: burgundy is kept for the call action only */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 3px;
  font: 700 17px/1 var(--text); letter-spacing: .02em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn .ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn--cta { background: var(--burgundy); color: var(--paper); }
.btn--cta:hover { background: var(--bordeaux); }
.btn--line { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn--line:hover { background: var(--graphite); color: var(--paper); }
.btn--line .ico { color: var(--oak); }
.btn--line:hover .ico { color: var(--paper); }
.btn--sage { background: var(--sage); color: var(--paper); }
.btn--sage:hover { background: var(--forest); }
.btn--ink { background: var(--graphite); color: var(--paper); }
.btn--ink:hover { background: #24231f; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 16px; }
.btn--wide { width: 100%; }

/* header */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--cream); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.is-scrolled { border-bottom-color: var(--sand); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 6px; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.logo { height: 48px; width: auto; }
.nav { display: none; }
.lang { display: flex; margin-left: 48px; }
.lang__b { min-width: 44px; min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer; font: 700 14px/1 var(--text); letter-spacing: .12em; color: var(--graphite-500); position: relative; }
.lang__b[aria-pressed="true"] { color: var(--graphite); }
.lang__b[aria-pressed="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 2px; background: var(--burgundy); }
.lang__b:hover { color: var(--graphite); }
.hdr__cta { display: none; }
.menu-btn { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; margin-right: -8px; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--graphite); transition: transform .25s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--sand); padding: 8px var(--pad) 24px; box-shadow: 0 24px 40px -24px rgba(58, 56, 51, .35); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: center; min-height: 54px; font: 500 22px/1.2 var(--display); text-decoration: none; border-bottom: 1px solid var(--sand); }
.menu__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.menu__cta .btn { padding: 0 12px; }
.menu__main { grid-column: 1 / -1; }
@media (max-width: 379px) {
  .hdr__in { padding: 0 10px; gap: 0; }
  .lang__b { min-width: 44px; padding: 0; }
}
@media (min-width: 600px) { .logo { height: 60px; } .lang { margin-left: 60px; } }
@media (min-width: 960px) { .logo { height: 64px; } .lang { margin-left: 64px; } }
@media (min-width: 1280px) { .logo { height: 72px; } }
@media (min-width: 1100px) {
  .nav { display: flex; gap: 2px; margin: 0 8px 0 24px; }   /* 04.11: five links (Meist), tighter until 1280 px */
  .lang { margin-left: 0; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; font: 400 17px/1 var(--text); text-decoration: none; color: var(--graphite-500); white-space: nowrap; }
  .nav a:hover { color: var(--graphite); }
  .hdr__cta { display: inline-flex; margin-left: 12px; }
  .menu-btn, .menu { display: none !important; }
}
@media (min-width: 1280px) { .nav { margin: 0 10px 0 64px; } .nav a { padding: 0 12px; } }

/* hero */
.hero { display: grid; grid-template-columns: 1fr; padding: 30px var(--pad) 8px; max-width: 1440px; margin: 0 auto;
  grid-template-areas: "where" "h1" "photo" "cta" "reg" "lead"; }
.hero__where { grid-area: where; display: flex; align-items: center; gap: 10px; font: 700 13px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--graphite-500); }
.hero h1 { grid-area: h1; margin-top: 10px; font-size: clamp(2rem, 1.15rem + 4vw, 5rem); line-height: 1.06; font-weight: 500; letter-spacing: -.012em; text-wrap: balance; }
.hero__photo { grid-area: photo; margin: 18px calc(var(--pad) * -1) 0 0; height: clamp(200px, calc(100svh - 400px), 460px); border-radius: 120px 0 0 0; overflow: hidden; background: var(--linen); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__cta { grid-area: cta; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.hero__cta .btn { padding: 0 12px; }
.hero__main { grid-column: 1 / -1; }
.hero__lead { grid-area: lead; margin-top: 16px; font-size: 19px; line-height: 1.5; max-width: 36ch; color: var(--graphite-500); }
.hero__reg { grid-area: reg; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 0 16px; align-items: center; font-size: 15px; color: var(--graphite-500); }
.hero__tel { font: 500 17px/1 var(--display); color: var(--graphite); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.hero__tel:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 599px) { .hero__tel { display: none; } }
@media (min-width: 600px) and (max-width: 959px) {
  :root { --hdr: 72px; }
  .hero { padding-top: 40px; }
  .hero__cta { grid-template-columns: auto auto; justify-content: start; }
  .hero__cta .btn { padding: 0 26px; }
  .hero__main { justify-self: start; }
  .hero__photo { border-radius: 180px 0 0 0; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 4vw, 72px); padding-top: 0; padding-bottom: 0;
    grid-template-rows: 1fr auto auto auto auto auto 1fr; min-height: min(calc(100svh - var(--hdr)), 880px);
    grid-template-areas: ". photo" "where photo" "h1 photo" "lead photo" "cta photo" "reg photo" ". photo"; }
  .hero__photo { margin: 0 calc(var(--pad) * -1) 0 0; height: auto; min-height: 540px; border-radius: 220px 0 0 0; }
  .hero h1 { margin-top: 18px; }
  .hero__lead { margin-top: 22px; font-size: 21px; }
  .hero__cta { margin-top: 30px; grid-template-columns: auto auto; justify-content: start; gap: 10px; }
  .hero__cta .btn { padding: 0 28px; min-height: 56px; }
  .hero__main { justify-self: start; }
  .hero__reg { margin-top: 22px; }
}
@media (min-width: 1440px) { .hero__photo { margin-right: calc((100vw - 1440px) / -2 - var(--pad)); } }

/* sections */
.sec { padding: 72px 0; }
.sec__head { display: grid; gap: 10px; margin-bottom: 36px; }
.sec__no { display: flex; align-items: center; gap: 12px; font: 700 14px/1 var(--text); letter-spacing: .14em; color: var(--forest); }
.sec__no::after { content: ""; width: 28px; height: 1.5px; background: var(--brass); }
.sec h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.01em; font-weight: 500; }
.sec__intro { max-width: 46ch; color: var(--graphite-500); font-size: 19px; }
@media (min-width: 960px) {
  .sec { padding: 112px 0; }
  .sec__head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 4vw, 72px); align-items: end; margin-bottom: 56px; }
  .sec__no { grid-column: 1 / -1; }
  .sec__intro { justify-self: start; font-size: 20px; }
}

/* services: a run of cabinet fronts with shadow gaps and oak handles */
.fronts { display: grid; gap: 14px; }   /* 03.11 Sergei: more air between the photos (was 2px «shadow gaps») */
.front { background: var(--paper); border: 1px solid var(--sand); display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 14px; align-items: start; align-content: start; }
.front h3 { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 379px) {
  .front { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .front img { width: 84px !important; height: 105px !important; }
  .front__txt { padding-right: 14px; }
  .front h3 { font-size: 18px !important; }
}
.front img { width: 112px; height: 140px; object-fit: cover; }
.front__txt { position: relative; padding: 4px 24px 0 0; }
.front__handle { position: absolute; right: 2px; top: 6px; width: 3px; height: 40px; border-radius: 2px; background: var(--oak); }
.front h3 { font-size: 21px; line-height: 1.18; font-weight: 500; }
.front p { margin-top: 8px; font-size: 16.5px; line-height: 1.45; color: var(--graphite-500); }
@media (min-width: 640px) {
  .front { grid-template-columns: 180px 1fr; gap: 24px; padding: 18px; }
  .front img { width: 180px; height: 225px; }
  .front h3 { font-size: 24px; margin-top: 4px; }
  .front p { font-size: 18px; max-width: 42ch; }
}
@media (min-width: 1100px) {
  .fronts { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .front { grid-template-columns: 1fr; padding: 0 0 28px; gap: 0; }
  .front img { width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .front__txt { padding: 26px 22px 0; }
  .front__handle { position: static; display: block; width: 40px; height: 3px; margin-bottom: 20px; }
  .front h3 { font-size: 22px; margin: 0; text-wrap: balance; }
  .front p { font-size: 17px; }
}

/* our work: graphite band with the same big radius as the hero photo */
.work { background: var(--graphite); color: var(--cream); border-radius: 64px 0 0 0; }
.work .sec__no { color: var(--sage-light); }
.work .sec__intro { color: #cfc8b9; }
.work .sec__head { margin-bottom: 28px; }
.work :focus-visible { outline-color: var(--brass); }
/* 04.11: category tabs, cut like the fronts: one rounded corner, cream when chosen */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs[hidden], .tab[hidden] { display: none; }
.tab { min-height: 44px; padding: 10px 18px 9px; border: 1px solid rgba(244, 238, 224, .38); border-radius: 16px 0 0 0; background: transparent; color: var(--cream);
  font: 700 16px/1.2 var(--text); letter-spacing: .02em; text-align: left; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.tab:hover { border-color: var(--brass); }
.tab[aria-selected="true"] { background: var(--cream); border-color: var(--cream); color: var(--graphite); cursor: default; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; grid-auto-flow: dense; }
.tile { aspect-ratio: 3 / 4; }
.tile--l, .tile--ml { grid-column: span 2; aspect-ratio: 3 / 2; }   /* tile sizes: see the table in index.html above the tabs */
.tile__b { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #2f2d29; cursor: zoom-in; overflow: hidden; }
.tile__b img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile__b:hover img { transform: scale(1.03); }
@media (min-width: 960px) {
  .work { border-radius: 120px 0 0 0; }
  .work .sec__head { margin-bottom: 36px; }
  .tabs { margin-bottom: 24px; }
  .tab { padding: 11px 22px 10px; font-size: 17px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15.5vw, 228px); gap: 8px; grid-auto-flow: row; }
  .tile, .tile--l, .tile--dl, .tile--ml { aspect-ratio: auto; grid-row: span 2; }
  .tile--l, .tile--dl { grid-column: span 2; }
  .tile--ml { grid-column: auto; }
  .tile--tall { aspect-ratio: auto; grid-column: span 2; grid-row: span 4; }
}

/* brand line on sage */
.motto { background: var(--sage); color: var(--paper); }
.motto__in { padding-top: 56px; padding-bottom: 56px; }
.motto__l1 { font: 500 clamp(1.75rem, 1.1rem + 2.8vw, 3.4rem)/1.18 var(--display); letter-spacing: -.01em; max-width: 24ch; text-wrap: balance; }
.motto__l1 span { display: block; }
.motto__l2 { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 19px; color: var(--paper); }
@media (min-width: 960px) { .motto__in { padding-top: 88px; padding-bottom: 88px; } .motto__l2 { font-size: 21px; } }

/* how we work */
.steps { display: grid; gap: 0; }
.step { position: relative; padding: 0 0 32px 64px; }
.step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--sand); }
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step__no { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border: 1.5px solid var(--sage); color: var(--forest); border-radius: 22px 0 0 0; display: grid; place-items: center; font: 500 19px/1 var(--display); }
.step:last-child .step__no { background: var(--sage); border-color: var(--sage); color: var(--paper); }
.step h3 { font-size: 22px; line-height: 1.22; font-weight: 500; padding-top: 8px; }
.step p { margin-top: 8px; color: var(--graphite-500); max-width: 44ch; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .step { padding: 76px 0 0; }
  .step::before { left: 56px; right: -32px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .step:last-child::before { display: none; }
  .step__no { width: 48px; height: 48px; border-radius: 24px 0 0 0; }
  .step h3 { padding-top: 0; font-size: 23px; }
}

/* 04.11 about us: linen band with the big radius (where the company data strip was); the data itself is in the footer now */
.about { background: var(--linen); border-radius: 64px 0 0 0; }
.about__in { display: grid; gap: 22px; }
.about__head { display: grid; gap: 10px; }
.about__txt { display: grid; gap: 16px; }
.about__lead { font: 500 clamp(1.4rem, 1.05rem + 1.4vw, 2.15rem)/1.3 var(--display); letter-spacing: -.005em; color: var(--graphite); max-width: 30ch; text-wrap: pretty; }
.about__txt p:not(.about__lead) { font-size: 19px; color: var(--graphite-500); max-width: 46ch; }
.about__photo { margin: 6px calc(var(--pad) * -1) 0 0; aspect-ratio: 4 / 3; border-radius: 96px 0 0 0; overflow: hidden; background: var(--sand); }
.about__photo[hidden] { display: none; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .about { border-radius: 120px 0 0 0; }
  /* no photo yet: heading left, text right (like the section heads) */
  .about__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 4vw, 72px); align-items: start; }
  .about__txt { padding-top: 34px; gap: 20px; }
  .about__txt p:not(.about__lead) { font-size: 20px; }
  /* with the workshop photo: heading and text left, photo right, out to the page edge */
  .about__in:has(.about__photo:not([hidden])) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head photo" "txt photo"; grid-template-rows: auto 1fr; row-gap: 28px; }
  .about__in:has(.about__photo:not([hidden])) .about__head { grid-area: head; }
  .about__in:has(.about__photo:not([hidden])) .about__txt { grid-area: txt; padding-top: 0; }
  .about__in:has(.about__photo:not([hidden])) .about__photo { grid-area: photo; margin: 0 calc(var(--pad) * -1) 0 0; border-radius: 160px 0 0 0; min-height: 460px; aspect-ratio: auto; }
}
@media (min-width: 1440px) { .about__in:has(.about__photo:not([hidden])) .about__photo { margin-right: calc((100vw - 1440px) / -2 - var(--pad)); } }

/* contact */
.contact__in { display: grid; gap: 40px; }
.contact__lead { margin-top: 14px; font-size: 19px; color: var(--graphite-500); max-width: 40ch; }
.contact__info h2 { margin-top: 10px; }
.bigtel { display: inline-flex; align-items: center; min-height: 44px; margin-top: 22px; font: 500 clamp(1.9rem, 1.4rem + 2.2vw, 3.2rem)/1.1 var(--display); font-variant-numeric: lining-nums; text-decoration: none; white-space: nowrap; }
.bigtel:hover { color: var(--burgundy); }
.contact__btns { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
.contact__btns .btn { padding: 0 12px; }
.clist { margin: 28px 0 0; display: grid; gap: 14px; }
.clist > div { border-top: 1px solid var(--sand); padding-top: 12px; }
.clist dt { font-size: 15px; color: var(--graphite-500); }
.clist dd { margin: 2px 0 0; font-size: 19px; }
.clist a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; text-underline-offset: 4px; }
.form { background: var(--paper); border-radius: 56px 0 0 0; padding: 32px 18px 24px; border: 1px solid var(--sand); }
.form__h { font-size: 27px; font-weight: 500; margin-bottom: 18px; }
.field { margin-top: 16px; }
.field label { display: block; font: 700 16px/1.3 var(--text); margin-bottom: 7px; }
.opt { font-weight: 400; color: var(--graphite-500); font-size: 15px; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 13px 14px; border: 1.5px solid var(--sand); border-radius: 3px; background: #fff; font-size: 17px; line-height: 1.4; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%233a3833' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(95, 116, 88, .3); }
.field input::placeholder, .field textarea::placeholder { color: #6f6a5f; }
.field.is-bad input, .field.is-bad textarea, .field.is-bad select { border-color: var(--err); }
.err { margin-top: 6px; font-size: 15px; color: var(--err); }
.form .btn--wide { margin-top: 24px; }
.form__note { margin-top: 10px; font-size: 15px; color: var(--graphite-500); }
.form__done[hidden] { display: none; }
.form__done { display: grid; gap: 10px; margin-top: 16px; padding: 16px 16px 14px; background: var(--sage-mist); border-left: 3px solid var(--sage); }
.form__done.is-sending { background: var(--paper); border-left-color: var(--sand); }
.form__done.is-fail { background: #f3e6e0; border-left-color: var(--burgundy); }
.form__fallback { display: none; gap: 10px; }
.form__done.is-fail .form__fallback { display: grid; }
.form__mail { justify-self: start; white-space: normal; text-align: center; line-height: 1.2; padding: 8px 16px; }
.form__addrlead { font-size: 15px; color: var(--graphite-500); margin-top: 4px; }
.form__status { font-size: 16px; line-height: 1.4; color: var(--graphite); }
.form__done.is-sent .form__status { font-weight: 700; }
.form__addr { font: 500 21px/1.2 var(--display); overflow-wrap: anywhere; user-select: all; }
.btn:disabled { opacity: .6; cursor: progress; }
/* 04.11: files (photos, drawings, sketches) */
.field__hint { margin: -2px 0 10px; font-size: 15px; line-height: 1.4; color: var(--graphite-500); }
.files { position: relative; }
.files__in { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; }   /* stays focusable: Tab reaches it, the label below shows the ring */
.field .files__btn { display: inline-flex; margin: 0; font: 700 16px/1 var(--text); cursor: pointer; }
.files__btn .ico--clip { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.files__in:focus-visible + .files__btn { outline: 2px solid var(--burgundy); outline-offset: 3px; }
.files__in:disabled + .files__btn { opacity: .6; pointer-events: none; }
.files__list { display: grid; gap: 6px; margin-top: 10px; }
.files__list:empty { display: none; }
.files__item { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 44px; align-items: center; gap: 10px; min-height: 48px; padding-left: 12px; background: #fff; border: 1.5px solid var(--sand); border-radius: 3px; }
.files__ico { width: 20px; height: 20px; fill: none; stroke: var(--oak); stroke-width: 1.6; stroke-linejoin: round; }
.files__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.files__size { font-size: 14px; color: var(--graphite-500); white-space: nowrap; font-variant-numeric: tabular-nums; }
.files__rm { width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--graphite-500); cursor: pointer; display: grid; place-items: center; }
.files__rm:hover { color: var(--err); }
.files__rm svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
/* 04.11: map, click to load */
.map { display: grid; gap: 6px; }
.map__frame { position: relative; height: clamp(280px, 78vw, 360px); border: 1px solid var(--sand); border-radius: 56px 0 0 0; overflow: hidden; background: var(--linen); }
.map__ph { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 24px 20px; text-align: center; }
.map__pin { width: 40px; height: 40px; fill: var(--oak); }
.map__addr { font: 500 22px/1.25 var(--display); }
.map__btn { margin-top: 4px; }
.map__note { max-width: 32ch; font-size: 15px; line-height: 1.4; color: var(--graphite-500); }
.map__if { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.82) sepia(.06); }
.map__frame.is-on { border-radius: 24px 0 0 0 !important; }   /* the big corner would cut Google's address card */
.map__open { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--graphite); text-underline-offset: 4px; }
.map__open:hover { color: var(--burgundy); }
.form__copy { display: flex; flex-wrap: wrap; gap: 8px; }
.form__copy .btn { padding: 6px 14px; font-size: 15px; white-space: normal; text-align: center; line-height: 1.2; }
.form__copied { font-size: 15px; font-weight: 700; color: var(--forest); }
.form__copied:empty { display: none; }
.form__alt { margin-top: 12px; font-size: 15px; color: var(--graphite-500); }
.form__alt a { display: inline-flex; align-items: center; min-height: 44px; color: var(--graphite); overflow-wrap: anywhere; text-underline-offset: 4px; }
@media (min-width: 640px) { .contact__btns { grid-template-columns: auto auto; justify-content: start; } .contact__btns .btn { padding: 0 24px; } .form { padding: 44px 36px 32px; } }
@media (min-width: 960px) {
  .contact__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(40px, 6vw, 112px); align-items: start;
    grid-template-areas: "info form" "map form"; grid-template-rows: auto 1fr; }
  .contact__info { grid-area: info; }
  .form { grid-area: form; border-radius: 96px 0 0 0; padding: 56px 48px 40px; }
  .map { grid-area: map; }
  .map__frame { border-radius: 96px 0 0 0; height: 360px; }
}

/* footer: sage block, vertical logo for sage, light text (guide: cream/white text on sage) */
.ftr { background: var(--sage); color: var(--paper); padding: 80px 0 28px; font-size: 17px; }
.ftr__in { display: grid; gap: 24px; justify-items: center; text-align: center; }
.ftr__brand .brand { margin: 0; }
.ftr__logo { width: 90px; height: auto; }
.ftr__brand { padding-bottom: 76px; }  /* 24 px gap + 76 = 100 px >= medallion height (about 97 px at 90 px width) */
.ftr__nav, .ftr__contact { display: flex; flex-wrap: wrap; gap: 0 20px; align-items: center; justify-content: center; }
.ftr a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--paper); }
.ftr a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr__contact a { overflow-wrap: anywhere; }
.ftr__contact p { flex-basis: 100%; padding: 6px 0; }
.ftr__end { justify-self: stretch; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid rgba(250, 247, 240, .4); padding-top: 12px; font-size: 15px; }
.ftr__up { min-width: 44px; justify-content: flex-end; gap: 6px; }
.ftr :focus-visible { outline-color: var(--paper); }
.ftr a[hidden], .ftr [hidden] { display: none; }
/* 04.11: company data (was a strip above the contact section) + Instagram / Facebook, on the sage footer */
.ftr__data { display: grid; gap: 14px; justify-items: center; }
.ftr__h { font: 700 13px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.ftr__dl { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 12px 28px; margin: 0; }
.ftr__dl dt { font-size: 14px; color: var(--paper); }
.ftr__dl dd { margin: 2px 0 0; font: 500 17px/1.3 var(--display); font-variant-numeric: lining-nums; }
.social { display: flex; gap: 6px; }
.ftr .social__a { width: 44px; height: 44px; justify-content: center; border-radius: 50%; }
.ftr .social__a:hover { background: rgba(250, 247, 240, .16); }
.social__a svg { width: 22px; height: 22px; fill: var(--paper); }
@media (min-width: 960px) {
  .ftr { padding-top: 88px; }
  .ftr__in { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.3fr); column-gap: clamp(40px, 5vw, 96px); align-items: start; justify-items: start; text-align: left; }
  .ftr__logo { width: 96px; }
  .ftr__brand { padding-bottom: 0; }
  .ftr__nav, .ftr__contact { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  .ftr__contact p { padding: 10px 0 0; }
  .ftr__data { justify-items: start; gap: 12px; padding-top: 10px; }
  .ftr__dl { grid-template-columns: 1fr; gap: 10px; }
  .social { margin-left: -11px; }
  .ftr__end { grid-column: 1 / -1; margin-top: 80px; }
}

/* sticky call bar (phones and tablets) */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--cream); border-top: 1px solid var(--sand);
  transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; }
.callbar.is-on { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
.callbar .btn { padding: 0 10px; }
@media (min-width: 960px) { .callbar { display: none; } }
/* the call bar is off over the contact section and the footer, so no page padding is needed for it */

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 60; background: #1e1d1a; display: grid; place-items: center; padding: 64px 12px 84px; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; display: grid; justify-items: center; gap: 12px; max-width: 100%; }
.lb__img { max-width: min(100%, 1400px); max-height: calc(100svh - 270px); width: auto; height: auto; object-fit: contain; touch-action: pan-y; user-select: none; }
.lb__cap { color: var(--cream); font-size: 17px; line-height: 1.45; max-width: 64ch; text-align: center; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lb__count { color: var(--brass); font-variant-numeric: tabular-nums; font-weight: 700; }
.lb__btn { position: absolute; width: 52px; height: 52px; border: 1px solid rgba(244, 238, 224, .35); background: rgba(58, 56, 51, .85); color: var(--cream); border-radius: 3px; cursor: pointer; display: grid; place-items: center; }
.lb__btn:hover { border-color: var(--brass); }
.lb__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb__close { top: 10px; right: 10px; }
.lb__prev, .lb__next { bottom: 16px; }
.lb__prev { left: calc(50% - 60px); }
.lb__next { right: calc(50% - 60px); }
@media (min-width: 960px) {
  .lb { padding: 72px 96px; }
  .lb__img { max-height: calc(100svh - 170px); }
  .lb__prev, .lb__next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lb__prev { left: 24px; }
  .lb__next { right: 24px; }
  .lb__close { top: 20px; right: 24px; }
}

/* gentle entrance, only when JS is on and motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__photo img { animation: settle 1.1s var(--ease) both; }
  .js .hero h1, .js .hero__where { animation: rise .7s var(--ease) both; }
  .js .hero h1 { animation-delay: .06s; }
}
@keyframes settle { from { transform: scale(1.04); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }

/* 02.11 Artur: real WhatsApp glyph in WhatsApp green */
.btn .ico--wa, .btn--line .ico--wa, .btn--line:hover .ico--wa { width: 22px; height: 22px; color: #25D366; fill: #25D366; }
.ico--wa { fill: #25D366; color: #25D366; }

/* 03.11: second phone under the big one (Estonian / Russian speaker) */
.tel2 { margin-top: 6px; font-size: 17px; color: var(--graphite-500); }
.tel2 a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }   /* 04.11: 44 px tap target */
.ftr__nav a { min-width: 44px; }
