/*
Theme Name: MATA LTI
Theme URI: https://mata-lti.com/
Author: Maťa LTI
Description: Minimalist custom landing page with interactive light particles.
Version: 1.9.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mata-lti
*/
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:"Source Sans Pro","Helvetica Neue",Arial,sans-serif}html{color-scheme:light dark}body{--bg:#f6f3ed;--fg:#383735;--muted:#77736d;--hair:#b5b0a8;background:var(--bg);color:var(--fg);overflow:hidden}body::before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 40% 47%,rgba(255,255,255,.76),transparent 58%);z-index:0}#light-field{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}.page{position:relative;z-index:1;min-height:100svh;display:flex;flex-direction:column;padding:36px clamp(28px,5.3vw,94px) 30px}header,footer{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:10px;letter-spacing:.22em;color:var(--muted)}header{font-weight:500}.hero{flex:1;display:grid;place-items:center;min-height:490px}.identity{text-align:center;width:min(740px,100%);transform:translateY(-8%)}.logo{display:block;width:min(440px,67vw);margin:auto}.logo img{display:block;width:100%;height:auto}.tagline{margin:-10px 0 0;font-size:clamp(10px,1.08vw,14px);letter-spacing:.33em;white-space:nowrap;font-weight:400}.tagline span{color:#b1aaa0;padding:0 7px}.rule{height:1px;background:var(--hair);width:46px;margin:33px auto 22px;opacity:.6}.statement{font-size:13px;letter-spacing:.09em;color:var(--muted);margin:0}footer{font-size:10px}@media(prefers-color-scheme:dark){body{--bg:#151719;--fg:#f0f0ed;--muted:#a5a7a8;--hair:#626668}body::before{background:radial-gradient(ellipse at 45% 40%,rgba(48,53,57,.34),transparent 64%)}}@media(max-width:600px){.page{padding:26px 23px}.index,.footer-note{display:none}.logo{width:min(390px,92vw)}.tagline{font-size:9px;letter-spacing:.16em;margin:-8px 0 0}.tagline span{padding:0 2px}.hero{min-height:380px}footer{font-size:9px}}@media(prefers-reduced-motion:reduce){#light-field{opacity:.55}}
.statement{font-size:clamp(12px,1.15vw,15px);line-height:1.85;letter-spacing:.015em;max-width:680px;margin:0 auto}.footer-contact{display:flex;gap:22px}.footer-contact a{color:inherit;text-decoration:none;letter-spacing:.08em}.footer-contact a:hover{text-decoration:underline}@media(max-width:800px){footer{flex-wrap:wrap;justify-content:center;text-align:center;gap:12px}.footer-contact{order:2;width:100%;justify-content:center}.footer-note{display:none}}@media(max-width:600px){.statement{font-size:12px;line-height:1.7}.statement br{display:none}.footer-contact{flex-direction:column;gap:9px}}
/* Logo is now the sole hero mark; tagline moved to header. */
.identity .rule{margin-top:17px}
header .eyebrow{letter-spacing:.20em}
@media(max-width:600px){header .eyebrow{font-size:9px;letter-spacing:.09em}}

/* v1.1: keep the footer within the visible viewport; scroll instead of clipping on short screens */
html,body{min-height:100%;height:auto}
body{overflow-x:hidden;overflow-y:auto}
.page{height:100vh;height:100dvh;min-height:0;padding-bottom:max(28px,env(safe-area-inset-bottom) + 16px)}
.hero{min-height:0;flex:1 1 auto}
.identity{transform:translateY(-4%)}
footer{flex-shrink:0;line-height:1.6}
@media(max-height:650px){.page{min-height:520px;height:auto}.hero{min-height:320px}.identity{transform:none}}
@media(max-width:600px){.page{min-height:100svh;height:auto;padding-bottom:max(30px,env(safe-area-inset-bottom) + 20px)}.hero{min-height:340px}.identity{transform:none}}

/* v1.7: responsive phone layout */
@media (max-width: 600px) {
  .page { width:100%; max-width:100%; padding:clamp(20px,5vw,28px) clamp(18px,5.5vw,26px) max(28px,env(safe-area-inset-bottom) + 18px); }
  .page > header { width:100%; min-width:0; gap:0; }
  .page > header .eyebrow { display:block; max-width:100%; font-size:clamp(8px,2.35vw,10px); letter-spacing:.08em; white-space:normal; overflow-wrap:normal; }
  .hero { width:100%; min-width:0; min-height:280px; }
  .identity { width:100%; max-width:100%; min-width:0; margin-inline:auto; }
  .identity .logo { display:block; width:min(100%, 340px); max-width:100%; height:auto; margin-inline:auto; }
  .identity .logo img { display:block; width:100%; max-width:100%; height:auto; object-fit:contain; }
  .statement { max-width:100%; font-size:clamp(11px,3vw,13px); line-height:1.7; overflow-wrap:break-word; }
  .page > footer { max-width:100%; }
}
@media (max-width: 360px) {
  .identity .logo { width:100%; }
  .page > header .eyebrow { font-size:8px; letter-spacing:.04em; }
}

/* v1.8: show founding date and country beneath the eyebrow on phones */
@media (max-width: 600px) {
  .page > header { display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:7px; }
  .page > header .index { display:block; max-width:100%; font-size:clamp(8px,2.15vw,10px); letter-spacing:.12em; line-height:1.5; white-space:normal; }
}

/* v1.9: preserve the word space after the desktop-only line break on mobile. */
