@font-face {
  font-family: Cinzel;
  src: url("./assets/cinzel.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Jost;
  src: url("./assets/jost.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Jost;
  src: url("./assets/jost-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
.container { width: min(1140px, calc(100% - 40px)); }
.lucide {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  stroke-width: 1.8;
}
a .lucide,
button .lucide {
  flex: none;
}
#menuToggle { flex: none; }
.hero-phone > .lucide {
  width: 46px;
  height: 46px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.9; cursor: pointer; }
.about-main { height: auto; aspect-ratio: 5/6; }
.about-float { height: auto; aspect-ratio: 1; }
:focus-visible { outline: 3px solid #f3d78c; outline-offset: 4px; }
[data-reveal] { opacity: 1; transform: none; }
.js-ready [data-reveal]:not(.revealed) { opacity: 0; }
.js-ready [data-reveal="up"]:not(.revealed) { transform: translateY(46px); }
.js-ready [data-reveal="left"]:not(.revealed) { transform: translateX(-56px); }
.js-ready [data-reveal="right"]:not(.revealed) { transform: translateX(56px); }
.js-ready [data-reveal="zoom"]:not(.revealed) { transform: scale(0.88); }
[data-reveal]:focus-within { opacity: 1 !important; transform: none !important; }
.faq-a { max-height: none; }
.js-ready .faq-a { max-height: 0; }
.js-ready .faq-item.open .faq-a { max-height: var(--faq-height, 1000px); }
.faq-item.open .faq-q .lucide { transform: rotate(45deg); }
.project-dialog {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 6, 8, 0.88);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0s linear 0.2s;
}
.project-dialog.open,
.project-dialog:target {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.2s ease,
    visibility 0s;
}
.project-dialog-card {
  width: min(100%, 440px);
  padding: clamp(26px, 6vw, 42px);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.project-dialog-card h2 {
  font-family: var(--ff-display);
  font-size: 1.45rem;
  color: var(--gold-2);
  margin-bottom: 16px;
}
.project-dialog-card p { color: #e8e4da; line-height: 1.7; margin-bottom: 24px; }
.project-dialog-open { overflow: hidden; }
.g-item:focus-visible .g-ol { opacity: 1; }
.g-item .lucide { width: 1.4rem; height: 1.4rem; }
.foot-bottom {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: space-between;
}
html:not(.js-ready) #toTop { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 768px) and (scripting: enabled) {
  html:not(.js-ready) #navMenu { display: none; }
}
@media (max-width: 768px) {
  body.menu-open header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    padding: 88px 24px 24px;
  }
  nav ul { flex: none; margin-block: auto; }
  html:not(.js-ready) nav {
    position: static;
    opacity: 1;
    visibility: visible;
    padding: 0;
  }
  html:not(.js-ready) #menuToggle { display: none; }
}
@media (max-width: 480px) {
  .btn { padding-inline: 12px; white-space: nowrap; }
  .hero-content { padding-bottom: 170px; }
  .hero-actions { align-items: flex-start; }
  .hero-phone { flex-basis: 100%; }
  .about-media { padding-bottom: 48px; }
  .about-float { width: 48%; border-width: 4px; }
  .project-dialog-card .btn { width: 100%; justify-content: center; }
}
@media (max-width: 360px) {
  header .logo { font-size: 1rem; gap: 8px; letter-spacing: 0.14em; }
  header .logo .mark { width: 38px; height: 38px; flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .project-dialog { transition: none !important; }
  .js-ready [data-reveal]:not(.revealed) { opacity: 1; transform: none; }
}
@media (min-width: 120rem) {
  .hero,
  .cta {
    background: #08080a;
  }
  .hero-bg,
  .cta-bg {
    left: 50%;
    right: auto;
    width: min(100%, 1760px);
    transform: translateX(-50%);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }
}
