:root {
  --bg: #101014;
  --surface: #18181e;
  --surface-2: #212128;
  --text: #f5f2ed;
  --muted: #aaa7a2;
  --line: rgba(255, 255, 255, .12);
  --accent: #ff5a36;
  --accent-2: #ffb23e;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: white;
  color: #111;
  border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 1.1rem 0;
  background: rgba(16, 16, 20, .88);
  backdrop-filter: blur(16px);
}
.site-header::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0 0 auto;
  height: 78px;
  background: rgba(16, 16, 20, .88);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 10px 10px 18px 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #131316;
  font-size: 1.7rem;
  font-weight: 950;
  transform: rotate(-3deg);
  box-shadow: 0 10px 32px rgba(255, 90, 54, .22);
}
.brand strong { display: block; font-size: 1.02rem; letter-spacing: -.03em; }
.brand small {
  display: block;
  margin-top: .25rem;
  color: var(--muted);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  color: #d7d4cf;
  font-size: .87rem;
  text-decoration: none;
  transition: color .2s ease;
}
.nav a:hover, .nav a:focus { color: white; }
.nav .nav-cta {
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.menu-button { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 5vw;
  align-items: center;
  width: min(calc(100% - 40px), var(--max));
  min-height: calc(100vh - 79px);
  margin: 0 auto;
  padding: 6rem 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 10%;
  right: -20%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 54, .14), transparent 65%);
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-2);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.5rem, 8.2vw, 7.6rem);
  line-height: .86;
  letter-spacing: -.075em;
}
h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 242, 237, .72);
}
.hero-text {
  max-width: 590px;
  color: #c3c0bb;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: .8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #171518; }
.button-primary:hover { background: #ff704f; }
.button-ghost { border-color: var(--line); color: white; }
.button-ghost:hover { background: rgba(255,255,255,.06); }

.hero-visual { position: relative; min-height: 430px; perspective: 900px; }
.frame {
  position: absolute;
  inset: 10% 2% 8% 8%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
}
.frame-main {
  z-index: 2;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%),
    radial-gradient(circle at 68% 32%, #f8b443 0 3%, transparent 3.5%),
    linear-gradient(150deg, #272730, #17171c 65%);
  transform: rotateY(-8deg) rotateZ(2deg);
  box-shadow: 0 30px 80px rgba(0,0,0,.42);
}
.frame-main::before, .frame-main::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 120px;
  border: 26px solid var(--accent);
  opacity: .75;
  transform: rotate(-42deg);
}
.frame-main::before { right: -90px; top: 110px; }
.frame-main::after { left: -140px; bottom: -55px; opacity: .24; }
.frame-back {
  inset: 2% 10% 16% 0;
  background: linear-gradient(135deg, #f39936, #dc3d2b);
  opacity: .42;
  transform: rotate(-5deg) translateZ(-60px);
}
.frame-label, .frame-time {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  top: 1.1rem;
  font-size: .62rem;
  letter-spacing: .16em;
}
.frame-time { left: auto; top: auto; right: 1.25rem; bottom: 1.1rem; color: var(--muted); }
.play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: rgba(16,16,20,.58);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}
.play::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 25px;
  border-left: 21px solid white;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}
.spark { position: absolute; z-index: 4; border-radius: 50%; background: var(--accent-2); }
.spark-one { width: 12px; height: 12px; top: 4%; right: 14%; }
.spark-two { width: 7px; height: 7px; bottom: 4%; left: 0; background: var(--accent); }

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  padding: 1.2rem 2rem;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #a9a6a0;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 8rem 0; }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; column-gap: 3rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.section-heading > p:last-child { align-self: end; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 4rem; }
.service-card {
  min-height: 310px;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.service-card.featured { background: linear-gradient(145deg, #f15a38, #d33f27); color: white; }
.service-number { color: var(--accent-2); font-size: .7rem; letter-spacing: .16em; }
.featured .service-number { color: rgba(255,255,255,.76); }
.service-card h3 { margin: 6rem 0 1rem; font-size: 1.4rem; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.featured p { color: rgba(255,255,255,.82); }

.project { padding-top: 2rem; }
.project-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 560px;
  overflow: hidden;
  border-radius: 28px;
  background: #eeede8;
  color: #1a1a1d;
}
.project-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(30deg, rgba(255,255,255,.1) 25%, transparent 25%) 0 0 / 60px 60px,
    linear-gradient(210deg, rgba(255,255,255,.08) 25%, transparent 25%) 0 0 / 60px 60px,
    linear-gradient(145deg, #ff783d, #f3aa35);
}
.project-art::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
}
.house-body {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 160px;
  height: 140px;
  border-radius: 8px;
  background: #1d1d22;
  color: white;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -.08em;
}
.house-roof {
  position: absolute;
  z-index: 3;
  top: calc(50% - 125px);
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 85px solid #1d1d22;
}
.project-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 7vw, 6rem); }
.project-copy .eyebrow { color: #cd482d; }
.project-copy > p:not(.eyebrow) { max-width: 530px; color: #5f5c58; font-size: 1.05rem; }
.project-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.project-links a { font-weight: 800; text-decoration: none; border-bottom: 1px solid #aaa; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; }
.about-copy { padding-top: 2rem; color: #b9b6b1; font-size: 1.05rem; }
.legal-name { margin-top: 2.5rem; color: var(--text); }
.legal-name span { display: block; color: var(--muted); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }

.contact {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 4rem;
  padding-right: clamp(2rem, 6vw, 5rem);
  padding-left: clamp(2rem, 6vw, 5rem);
  border-radius: 28px;
  background: linear-gradient(125deg, #f25a38, #f69536);
  color: #18171a;
}
.contact .eyebrow { color: #4c2117; }
.contact a { display: block; width: fit-content; text-decoration: none; }
.contact-mail { margin-top: 3rem; font-size: clamp(1.25rem, 2.5vw, 2rem); font-weight: 850; border-bottom: 2px solid currentColor; }
.contact-phone { margin-top: .65rem; }
.contact address { align-self: end; font-style: normal; }
.contact address strong { display: block; margin-bottom: .8rem; }
.contact address a { margin-top: 2rem; font-weight: 800; }

.privacy { padding: 3rem 0 5rem; }
.privacy details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy summary {
  display: flex;
  justify-content: space-between;
  padding: 1.4rem 0;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}
.privacy summary::-webkit-details-marker { display: none; }
.privacy details[open] summary span { transform: rotate(45deg); }
.privacy-content { max-width: 800px; padding: 2rem 0 3rem; color: var(--muted); }
.privacy-content h2, .privacy-content h3 { color: var(--text); }
.privacy-content h2 { font-size: 2rem; }
.privacy-content h3 { margin: 2rem 0 .5rem; font-size: 1rem; }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: .78rem;
}
footer p { margin: 0; text-align: center; }
footer > a:last-child { justify-self: end; }

@media (max-width: 880px) {
  .menu-button {
    display: grid;
    gap: 4px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
  }
  .menu-button span:not(.sr-only) { display: block; width: 18px; height: 1px; background: white; }
  .nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #18181e;
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem; }
  .hero { grid-template-columns: 1fr; padding: 5rem 0; }
  .hero-visual { min-height: 360px; }
  .section-heading, .about { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .service-card h3 { margin-top: 3rem; }
  .project-card { grid-template-columns: 1fr; }
  .project-art { min-height: 360px; }
  .contact { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, footer > a:last-child { justify-self: center; }
}

@media (max-width: 560px) {
  .hero { min-height: auto; }
  .hero-visual { min-height: 290px; }
  .frame { inset: 9% 1% 9% 6%; }
  .frame-back { inset: 4% 8% 15% 0; }
  .play { width: 64px; height: 64px; }
  .play::after { left: 26px; top: 21px; border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; }
  .trust-strip { justify-content: flex-start; }
  .section { padding: 5.5rem 0; }
  .project { padding-top: 0; }
  .contact { width: calc(100% - 24px); padding: 4rem 1.4rem; }
  .contact-mail { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
