/*
Theme Name: Keskuse tee 14
Theme URI: https://keskusetee14.ee/
Author: Keskuse tee 14
Description: Selge ja minimalistlik Keskuse tee 14 ooteleht.
Version: 2.4.11
Text Domain: keskusetee14
*/

:root {
  color-scheme: light;
  --paper: #f4f3ef;
  --ink: #080808;
  --muted: #777671;
  --font-display: "Neue Haas Grotesk Display Pro", "Neue Haas Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --edge: clamp(1.5rem, 4vw, 4.75rem);
  --max-width: 96rem;
}

* { box-sizing: border-box; }
::selection { background: #11110f; color: #fff; }
html { min-width: 320px; background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--font-display); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.page { display: grid; width: min(100%, calc(var(--max-width) + 2 * var(--edge))); min-height: 100svh; margin-inline: auto; grid-template-rows: auto 1fr auto; padding: clamp(1.5rem, 3.2vw, 3rem) var(--edge) clamp(1.25rem, 2.5vw, 2.35rem); }
.admin-bar .page { min-height: calc(100svh - 32px); }
.header, .footer { display: flex; align-items: flex-start; justify-content: space-between; }
.brand-logo { display: block; width: clamp(3.75rem, 4.5vw, 5rem); height: auto; }
.header__status { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.135em; line-height: 1.3; text-transform: uppercase; }
.hero { display: flex; align-items: center; padding-block: clamp(4rem, 9vh, 7rem); }
.hero__inner { width: 100%; }
.hero-title { margin: 0; font-size: clamp(4.8rem, 9.2vw, 9.25rem); font-weight: 700; letter-spacing: -0.062em; line-height: 0.9; }
.hero-title__line { display: block; }
.hero-title__rotator { position: relative; display: block; width: 9.8ch; height: 0.94em; overflow: hidden; }
.hero-title__word { display: block; will-change: transform, opacity; }
.hero-title__word.is-leaving { animation: word-out 500ms cubic-bezier(0.55, 0, 0.45, 1) forwards; }
.hero-title__word.is-entering { animation: word-in 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-title__place { font-weight: 400; }
.hero-facts { display: flex; align-items: baseline; gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vh, 4.25rem); }
.hero-facts p { margin: 0; font-size: clamp(0.9375rem, 1.2vw, 1.125rem); font-weight: 500; letter-spacing: -0.015em; }
.hero-facts p:last-child { color: var(--muted); }
.footer { align-items: flex-end; justify-content: flex-end; color: var(--muted); }
.footer p { margin: 0; font-size: 0.6875rem; letter-spacing: 0.06em; line-height: 1.4; text-transform: uppercase; }
.footer__copyright { text-align: right; }
@keyframes word-out { to { opacity: 0; transform: translateY(-45%); } }
@keyframes word-in { from { opacity: 0; transform: translateY(45%); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .header, .hero-title, .hero-facts, .footer { animation: reveal 850ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .hero-title { animation-delay: 90ms; }
  .hero-facts { animation-delay: 170ms; }
  .footer { animation-delay: 250ms; }
}
@media (max-width: 64rem) {
  .hero-title { font-size: clamp(4.8rem, 11.2vw, 7.5rem); }
}
@media (max-width: 48rem) {
  .admin-bar .page { min-height: calc(100svh - 46px); }
  .brand-logo { width: 3.8rem; }
  .hero { padding-block: clamp(4.5rem, 10vh, 7rem); }
  .hero-title { font-size: clamp(4.4rem, 15.5vw, 7rem); letter-spacing: -0.055em; line-height: 0.93; }
  .hero-facts { margin-top: clamp(2.5rem, 5vh, 3.5rem); }
}
@media (max-width: 30rem) {
  .page { padding: 1.25rem var(--edge) 1.15rem; }
  .header__status { max-width: 9rem; text-align: right; }
  .hero { padding-block: clamp(3.75rem, 8vh, 5rem); }
  .hero-title { font-size: clamp(3.65rem, 17vw, 4.85rem); letter-spacing: -0.045em; line-height: 0.95; }
  .hero-facts { display: block; margin-top: 2.5rem; }
  .hero-facts p + p { margin-top: 0.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .flexibility-title__track { transform: none !important; }
}

/* Päris veeb — Figma 266:512 */
.site-preview-page { --surface: #f3f3f2; --surface-rgb: 243, 243, 242; --warm: #fbfaf7; --deep: #11110f; --deep-rgb: 17, 17, 15; --soft: #4f4e49; --text-on-dark: #f3f3f2; --text-on-dark-muted: #e8e6df; --line: #cccac4; --map: #dadbd7; --status: #7b8964; --focus: #888; --error: #d98d7c; --error-text: #f1b3a5; background: var(--surface); color: var(--deep); font-family: var(--font-display); }
.site-shell { overflow: hidden; }
.site-header { height: 6rem; padding: 0 4.45%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-logo img { display: block; width: 6.5rem; height: auto; }
.site-nav { display: flex; gap: 2rem; margin-left: auto; margin-right: 5rem; }
.site-nav a, .header-contact, .site-footer, .table-head, .status, .text-link, .hero-action > span { color: var(--deep); font-size: .875rem; text-decoration: none; }
.header-contact { font-weight: 600; white-space: nowrap; }.header-contact span, .button span, .text-link span { margin-left: .8rem; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.5rem; }
.site-hero { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 3rem; align-items: center; min-height: 47rem; padding: 4.5rem 4.45% 5.3rem; }
.hero-copy h1 { margin: 0; font-size: clamp(4.5rem, 9vw, 8.15rem); line-height: .91; letter-spacing: -.025em; }.hero-copy h1 em, .split-heading em, .quality em, .contact h2 em { font-style: normal; font-weight: 400; }
.hero-copy > p { max-width: 29rem; margin: 3rem 0; color: var(--soft); font-size: 1.5rem; line-height: 1.35; }
.hero-action { display: flex; align-items: center; gap: 1.75rem; }.hero-action > span { color: var(--soft); font-weight: 600; letter-spacing: .05em; font-size: .8rem; }
.button { display: inline-flex; align-items: center; border: 2px solid var(--deep); border-radius: 4rem; padding: 1rem 1.5rem; background: var(--deep); color: var(--surface); font-weight: 600; font-size: .8125rem; letter-spacing: .05em; text-decoration: none; transition: transform .2s ease, background .2s ease; }.button:hover { transform: translateY(-2px); }
.image-card { min-height: 40.6rem; border-radius: .75rem; overflow: hidden; }.image-card img, .cinematic img, .architecture img, .location > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 4.45% 5rem; }.facts > div { padding: 1.1rem 1.25rem 1.5rem 4.2rem; border-top: 1px solid rgba(17,17,15,.18); position: relative; }.facts strong, .facts span { display: block; }.facts strong { font-size: 1.5rem; font-weight: 400; }.facts span { margin-top: .5rem; color: var(--soft); font-size: .875rem; line-height: 1.55; }.facts > div::before { content: '＋'; position: absolute; left: 0; top: 1.05rem; font-size: 2.4rem; font-weight: 200; }
.cinematic { position: relative; height: 47.5rem; padding: 5rem 1.5rem; }.cinematic img { border-radius: .75rem; }.cinematic > span { position: absolute; left: 3rem; bottom: 6rem; color: white; font-size: .8rem; letter-spacing: .08em; font-weight: 600; }.gallery-slider__slides { position: relative; width: 100%; height: 100%; }.gallery-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease; }.gallery-slide.is-active { opacity: 1; visibility: visible; }.gallery-slide > img { width: 100%; height: 100%; object-fit: cover; display: block; }.gallery-caption { position: absolute; left: 1.5rem; bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; color: white; font-size: .8rem; font-weight: 600; letter-spacing: .08em; }.cinematic .gallery-caption__logo { display: block; width: 45px; height: auto; border-radius: 0; filter: invert(1); }.gallery-controls { position: absolute; right: 3rem; bottom: 6.25rem; z-index: 3; display: flex; gap: .5rem; }.gallery-controls button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(17,17,15,.35); color: white; font: inherit; cursor: pointer; backdrop-filter: blur(8px); }.gallery-controls button:hover { background: rgba(17,17,15,.65); }
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; padding: 6rem 4.45% 7.5rem; background: var(--warm); }.area-figure { aspect-ratio: 1; border-radius: 50%; background: #edece7; display: grid; place-items: center; }.area-figure > div { position: relative; display: grid; }.area-figure strong { font-size: clamp(6rem, 12vw, 11.5rem); letter-spacing: -.1em; line-height: .8; }.area-figure strong:nth-child(2) { margin-left: -.1em; }.area-figure small { justify-self: center; margin-top: 1.5rem; font-size: 4.5rem; }.editorial-copy img { width: 6.5rem; margin-bottom: 2rem; }.editorial-copy h2, .split-heading h2, .section-intro h2, .architecture h2, .completion h2 { margin: 0; font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.05em; }.editorial-copy p, .editorial-copy > strong { display: block; max-width: 39rem; color: var(--soft); font-size: 1rem; line-height: 1.5; }.editorial-copy > strong { margin-top: 2rem; color: var(--deep); font-size: 1.5rem; font-weight: 400; }
.flexibility, .quality { padding: 7.5rem 4.45%; }.split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }.split-heading p { margin: 0; color: var(--soft); font-size: 1.5rem; line-height: 1.45; }.floor-plan { margin-top: 4.5rem; border: 1px solid var(--deep); }.tabs { display: grid; grid-template-columns: repeat(3, 1fr); }.tabs button { min-height: 3.5rem; border: 0; border-right: 1px solid var(--deep); background: transparent; text-align: left; padding: 0 1.25rem; cursor: pointer; }.tabs button:last-child { border-right: 0; }.tabs button.is-active { border-bottom: 3px solid var(--deep); }.tabs button:focus-visible { outline: 2px solid var(--deep); outline-offset: -3px; }.floor-plan__panel[hidden] { display: none; }.floor-plan img { width: 100%; height: 32rem; object-fit: contain; display: block; padding: 1rem; }
.flexibility-title__loop { display: block; height: 2.5em; overflow: hidden; }.flexibility-title__track { display: block; transform: translateY(-50%); animation: flexibility-scroll-down 11s linear infinite; will-change: transform; }.flexibility-title__set, .flexibility-title__set > span { display: block; }.flexibility-title__set > span { height: 1em; white-space: nowrap; }.flexibility-title > em { display: block; margin-top: .12em; }@keyframes flexibility-scroll-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.statement { padding: 10rem 14%; background: var(--warm); text-align: center; }.statement h2 { max-width: 70rem; margin: 0 auto 2rem; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.06em; }.statement p { margin: 0 auto 2.5rem; color: var(--soft); }.availability { padding: 7.5rem 4.45%; }.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }.section-intro p { color: var(--soft); }.space-table { margin-top: 5rem; }.table-head, .table-row { display: grid; grid-template-columns: 2fr 2fr 2fr 2fr 2fr; align-items: center; border-top: 1px solid rgba(17,17,15,.22); min-height: 5.5rem; }.table-head { min-height: 3rem; color: var(--soft); font-size: .75rem; text-transform: uppercase; }.table-row { color: inherit; text-decoration: none; transition: background-color .2s ease, padding .2s ease; }.table-row:hover, .table-row:focus-visible { padding-inline: 1rem; background: rgba(17,17,15,.045); outline: none; }.table-row > * { padding-right: 1rem; }.table-row strong { font-size: 1.5rem; font-weight: 400; }.status { display: flex; align-items: center; gap: .6rem; }.status i { width: .45rem; height: .45rem; border-radius: 50%; background: #7b8964; }.text-link { display: inline-block; margin-top: 2.5rem; font-weight: 600; }
.architecture { display: grid; grid-template-columns: 1fr 1fr; min-height: 47.5rem; align-items: center; background: var(--deep); color: var(--surface); }.architecture > div { padding: 6rem 15%; }.architecture small { letter-spacing: .12em; }.architecture p { max-width: 28rem; margin-top: 2.5rem; color: #aaa8a1; font-size: 1rem; line-height: 1.5; }.architecture img { height: 47.5rem; }
.quality { background: var(--surface); }.quality > h2 { margin: 0; max-width: 65rem; font-size: clamp(4rem, 7vw, 6rem); line-height: .95; letter-spacing: -.07em; }.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 5rem; }.feature-grid article { display: flex; gap: 1.75rem; padding: 2rem 2.5rem 3rem 0; border-top: 1px solid rgba(17,17,15,.2); }.feature-icon { flex: 0 0 4.4rem; font-size: 4rem; font-weight: 200; line-height: .8; }.feature-grid h3 { margin: 0; font-size: 3rem; line-height: .95; letter-spacing: -.05em; font-weight: 700; }.feature-grid p { margin: 1rem 0 0; color: var(--soft); line-height: 1.5; }
.location { display: grid; grid-template-columns: 1fr 1fr; min-height: 37.5rem; }.location > img { background: #dadbd7; object-fit: cover; }.location > div { padding: 6rem 9%; }.location h2 { margin: 0; font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: .9; letter-spacing: -.07em; }.location p { max-width: 35rem; margin: 2.5rem 0; color: var(--soft); line-height: 1.5; }.location hr { border: 0; border-top: 1px solid rgba(17,17,15,.24); }.travel { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }.travel span, .travel strong { display: block; }.travel span { font-size: 1.3rem; }.travel strong { margin-top: .5rem; font-size: 3rem; letter-spacing: -.05em; }
.completion { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 7rem 4.45%; background: var(--warm); }.completion small { font-size: 3rem; }.completion strong { display: block; font-size: clamp(7rem, 15vw, 11rem); line-height: .8; letter-spacing: -.09em; }.completion h2 { font-size: clamp(2.5rem, 4vw, 4rem); }.completion p { max-width: 34rem; line-height: 1.5; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; padding: 7.5rem 4.45%; background: var(--deep); color: var(--surface); }.architecture ::selection, .contact ::selection { background: #fff; color: #11110f; }.contact h2 { margin: 0; font-size: clamp(4rem, 7vw, 6.3rem); line-height: .91; letter-spacing: -.06em; }.contact-copy > p { max-width: 30rem; margin-top: 3rem; line-height: 1.5; }.contact-details { margin-top: 5rem; color: #e8e6df; line-height: 1.5; }.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }.contact-links a { color: white; font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; text-decoration: none; }.contact-links a:hover, .contact-links a:focus-visible { text-decoration: underline; text-underline-offset: .2em; }.contact-details address { margin-top: 1.75rem; color: #e8e6df; font-style: normal; }.contact-form .fluentform form { display: flex; flex-direction: column; gap: 1.5rem; }.contact-form .ff-el-group { margin: 0; }.contact-form .ff-el-input--label { margin: 0 0 .8rem; }.contact-form .ff-el-input--label label { color: var(--surface); font-size: .75rem; font-weight: 400; }.contact-form .fluentform .ff-el-form-control { width: 100%; min-height: 2rem; border: 0 !important; border-bottom: 1px solid #77756f !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: white !important; padding: .2rem 0 .75rem; outline: 0; resize: vertical; }.contact-form .fluentform .ff-el-form-control:focus { border-bottom-color: white !important; background: transparent !important; box-shadow: none !important; color: white !important; }.contact-form .fluentform .ff-el-is-error .ff-el-form-control { border-bottom-color: #d98d7c !important; }.contact-form .text-danger, .contact-form .error { color: #f1b3a5; font-size: .75rem; }.contact-form .fluentform .ff-btn-submit { display: inline-flex !important; align-items: center !important; align-self: flex-start; min-height: 42px !important; margin-top: .5rem !important; border: 2px solid white !important; border-radius: 4rem !important; padding: 11px 24px !important; background: white !important; box-shadow: none !important; color: var(--deep) !important; font-family: inherit !important; font-size: .8125rem !important; font-weight: 600 !important; letter-spacing: .05em !important; line-height: 16px !important; opacity: 1 !important; transition: transform .2s ease !important; }.contact-form .fluentform .ff-btn-submit:hover { transform: translateY(-2px); }.contact-form .fluentform .ff-btn-submit::after { content: '' !important; display: block; flex: 0 0 16px; width: 16px; height: 12px; margin-left: 20px; background: url('assets/figma/arrow.svg') center / contain no-repeat; filter: invert(1); }.contact-form .ff-message-success { border: 1px solid #77756f; box-shadow: none; color: white; }.button-light { align-self: start; background: white; color: var(--deep); border-color: white; margin-top: .5rem; }.site-footer { display: flex; justify-content: space-between; padding: 3rem 4.45%; color: var(--soft); }.site-footer strong { display: inline-block; margin-top: .4rem; color: var(--deep); }
@media (max-width: 48rem) { .site-header { height: 4.75rem; padding: 0 1.25rem; }.site-logo img { width: 6.5rem; }.site-nav, .header-contact { display: none; }.menu-toggle { display: block; }.site-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 3rem; padding: 2.25rem 1.25rem 3.5rem; }.hero-copy h1 { font-size: clamp(4rem, 18vw, 6.2rem); }.hero-copy > p { margin: 2.25rem 0; font-size: 1.15rem; }.hero-action { align-items: flex-start; flex-direction: column; gap: 1rem; }.image-card { min-height: 19.5rem; }.facts { display: block; padding: 0 1.25rem 2rem; }.facts > div { min-height: 5.1rem; padding-left: 4.9rem; }.facts > div::before { left: .25rem; }.cinematic { height: 19.5rem; padding: 2rem .75rem; }.cinematic span { left: 1.5rem; bottom: 3rem; }.editorial, .split-heading, .architecture, .location, .completion, .contact { display: flex; flex-direction: column; gap: 3rem; }.editorial { padding: 4rem 1.25rem 4.5rem; }.area-figure { width: 100%; }.area-figure strong { font-size: 6rem; }.area-figure small { font-size: 2.5rem; }.editorial-copy img { display: none; }.editorial-copy h2, .split-heading h2, .section-intro h2, .architecture h2, .completion h2 { font-size: 3rem; }.flexibility, .quality, .availability { padding: 4.5rem 1.25rem; }.split-heading { gap: 2rem; }.split-heading p { font-size: 1.15rem; }.floor-plan { margin-top: 3rem; }.floor-plan img { height: 16rem; }.statement { padding: 6rem 1.25rem; }.statement h2 { font-size: 3.1rem; }.section-intro { display: block; }.space-table { margin-top: 3rem; }.table-head { display: none; }.table-row { grid-template-columns: 1fr 1fr; gap: .5rem 1rem; padding: 1rem 0; }.table-row strong { grid-column: 1 / -1; font-size: 1.25rem; }.table-row > * { padding: 0; }.architecture > div { padding: 4.5rem 1.25rem 0; }.architecture img { height: 21rem; width: 100%; }.feature-grid { display: block; margin-top: 3rem; }.feature-grid article { display: block; min-height: 11.25rem; padding-right: 0; }.feature-icon { display: block; margin-bottom: 1.5rem; }.feature-grid h3 { font-size: 2.2rem; }.location > div { padding: 4.5rem 1.25rem; }.location > img { min-height: 18rem; }.completion { padding: 5rem 1.25rem; }.completion strong { font-size: 8rem; }.contact { padding: 4.5rem 1.25rem; gap: 4rem; }.contact h2 { font-size: 4rem; }.contact-details { margin-top: 3rem; }.site-footer { padding: 2rem 1.25rem; font-size: .75rem; } }
