﻿:root {
  --bg: #FFF44C;
  --ink: #1d1d1b;
  --muted: #3f3f3a;
  --panel: #fffdf5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Bahnschrift", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.1;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

.page-shell {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: var(--bg);
}

.top-right-menu {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  margin-right: 0;
  transform: none;
}

.page-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 2.4rem 0.8rem;
  background: var(--bg);
  z-index: 10;
  margin-left: 0;
}

.brand-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform 0.2s ease;
}

.brand-link:hover,
.brand-link:focus-visible {
  transform: translateY(-1px);
}

.brand {
  font-family: "Momo Trust Display", cursive;
  font-size: clamp(1rem, 1.6vw, 1.375rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  margin-left: 0;
}

.brand:hover,
.brand:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.menu-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  margin-left: 0;
}

/* Make the FAQ link regular weight (not bold) */
.menu-links a.nav-button[href="faq.html"] {
  font-weight: 400;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: "Avenis Regular", "Avenis", "Avenir", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-button:hover,
.nav-button:focus-visible {
  transform: translateY(-1px);
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero {
  min-height: calc(100vh - 5.7rem);
  padding: 1rem 1.6rem 2rem;
  display: flex;
  align-items: center;
}

.hero-content {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: 660px;
  margin-top: -8rem;
  margin-left: -2rem;
}

.hero-tagline {
  font-family: "Momo Trust Display", cursive;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.05;
  font-weight: 700;
  color: var(--ink);
  max-width: 34rem;
  margin-top: 0;
  margin-left: -2px;
}

.hero-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  padding: 0.7rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  font-family: "Avenis Regular", "Avenis", "Avenir", sans-serif;
  cursor: pointer;
  margin-top: 2rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-1px);
  background: rgba(29, 29, 27, 0.04);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.projects-strip {
  padding: 0 2.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* moved up 50% relative to previous 30% offset */
  transform: translateY(calc(30% - 50%));
}

.sliding-text-band {
  width: 100%;
  overflow: hidden;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 1.75rem;
  transform: translateY(-30%);
}

.sliding-text-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  white-space: nowrap;
  font-family: "Momo Trust Display", cursive;
  font-size: clamp(1rem, 1.6vw, 1.375rem);
  font-weight: 700;
  color: var(--ink);
  animation: slideText 18s linear infinite;
  padding-left: 2.4rem;
  padding-right: 2.4rem;
}

.image-slider-panel {
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  background: #f8efc1;
  transform: translateY(15%);
}

.image-slider {
  position: relative;
  width: 100%;
  height: 280px;
}

.image-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.image-slide.active {
  opacity: 1;
}

.projects-button {
  display: block;
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  text-align: center;
  text-transform: none;
  letter-spacing: 0.08em;
  font-weight: 400;
  font-size: 0.98rem;
  font-family: "Avenis Regular", "Avenis", "Avenir", sans-serif;
  text-decoration: none;
  position: relative;
  margin-top: 1.2rem;
  margin-bottom: 0rem;
  top: auto;
  transform: translateY(20%);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.projects-button:hover,
.projects-button:focus-visible {
  transform: translateY(calc(20% - 1px));
  background: rgba(29, 29, 27, 0.04);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.site-footer-panel {
  padding: 0.4rem 1.6rem 1.4rem;
  transform: translateY(-10%);
}

.site-footer-panel .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  padding: 0.6rem 0 0.2rem;
}

.site-footer-panel .footer-inner p {
  margin: 0;
  font-family: "Avenis Regular", "Avenis", "Avenir", sans-serif;
  font-size: 0.612rem;
  color: var(--ink);
  text-align: center;
}

.site-footer-panel .footer-inner .footer-company {
  font-family: "Momo Trust Display", cursive;
  font-weight: 700;
}

.site-footer-panel .footer-inner a {
  color: var(--ink);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.site-footer-panel .footer-inner a:hover,
.site-footer-panel .footer-inner a:focus-visible {
  color: #704214;
}

.back-to-top {
  position: absolute;
  right: 1.2rem;
  top: 1rem;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: transparent;
  text-decoration: none;
}

.back-to-top::after {
  content: '↑';
  color: transparent;
  transition: color 0.2s ease;
}

.back-to-top:hover::after,
.back-to-top:focus-visible::after {
  color: #fff;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(29, 29, 27, 0.56);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: min(640px, 100%);
  max-height: min(85vh, 780px);
  overflow: auto;
  padding: 2rem 1.6rem 1.6rem;
  border-radius: 1.3rem;
  background: var(--panel);
  box-shadow: 0 30px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.95rem;
  border: none;
  background: transparent;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.modal-card h2 {
  margin-bottom: 1rem;
  font-family: "Momo Trust Display", cursive;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 700;
}

.modal-card li {
  margin-bottom: 0.85rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  font-style: normal;
}

.modal-card p,
.modal-card .service-note {
  margin-bottom: 0.85rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--muted);
  font-style: italic;
}

.modal-card .service-note {
  margin-top: 0.25rem;
  margin-bottom: 0.55rem;
}

.modal-card ul {
  margin: 0 0 0.8rem 1.2rem;
}

#emailLink {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#emailLink::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 0.45rem);
  transform: translateX(-50%) translateY(6px);
  white-space: nowrap;
  background: rgba(29, 29, 27, 0.92);
  color: #fffdf5;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-family: "Avenis Regular", "Avenis", "Avenir", sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#emailLink:hover::after,
#emailLink:focus-visible::after,
#emailLink.is-copied::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#emailLink:hover,
#emailLink:focus-visible,
#emailLink:active {
  transform: none;
  opacity: 1;
  text-decoration: none;
  outline: none;
}

.quote-form {
  display: grid;
  gap: 0.85rem;
}

.quote-field {
  display: grid;
  gap: 0.3rem;
}

.quote-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.quote-field input,
.quote-field textarea {
  width: 100%;
  border: 1px solid rgba(29, 29, 27, 0.16);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-family: "Bahnschrift", sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
}

.quote-field textarea {
  min-height: 92px;
  border-radius: 1rem;
  resize: vertical;
}

.quote-file-field .file-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.quote-file-field input[type="file"] {
  display: none;
}

.file-button {
  border: none;
  border-radius: 999px;
  background: #704214;
  color: #fff;
  padding: 0.65rem 0.85rem;
  font-family: "Bahnschrift", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.file-button:hover,
.file-button:focus-visible {
  transform: translateY(-1px);
  background: #5c3410;
}

.file-info {
  color: var(--muted);
  font-size: 0.85rem;
}

.quote-actions {
  display: flex;
  justify-content: flex-end;
}

.quote-submit {
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.quote-submit:hover,
.quote-submit:focus-visible {
  transform: translateY(-1px);
  background: #2f2f2b;
}

@keyframes slideText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .hero-content {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-right-menu {
    margin-left: 0;
    width: 100%;
  }

  .menu-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 0.3rem;
  }

  .hero-content {
    gap: 1.3rem;
  }
}

.faq-page {
  background: #FFF44C;
  color: var(--ink);
}

.faq-page .page-shell {
  background: #FFF44C;
  color: var(--ink);
}

.faq-page .page-header {
  background: #FFF44C;
  color: var(--ink);
  border-bottom: 1px solid rgba(29, 29, 27, 0.16);
}

.content-page .page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-page main.hero {
  flex: 1;
}

.faq-page .brand,
.faq-page .nav-button,
.faq-page .site-footer-panel .footer-inner p,
.faq-page .site-footer-panel .footer-inner a,
.faq-page .site-footer-panel .footer-inner .footer-company {
  color: var(--ink);
}

.faq-page .nav-button:hover,
.faq-page .nav-button:focus-visible {
  color: var(--ink);
}

.faq-page .hero {
  min-height: auto;
  padding: 2rem 1.6rem 3rem;
  align-items: flex-start;
}

.faq-page .hero-content {
  width: min(1000px, 100%);
  margin: 0 auto;
  justify-content: flex-start;
}

.faq-panel {
  width: 100%;
  background: transparent;
  min-height: auto;
  display: block;
}

.faq-content {
  width: 100%;
  max-width: 940px;
  padding: 0;
  color: var(--ink);
}

.faq-content h2 {
  font-family: "Momo Trust Display", cursive;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1.4rem;
  color: var(--ink);
}

.faq-content ul {
  list-style: disc;
  margin: 0 0 1rem 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.faq-content li {
  padding: 0 0 0.6rem;
  border-bottom: 1px solid rgba(76, 76, 76, 0.16);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.faq-content li:last-child {
  border-bottom: none;
}

.faq-content .faq-question {
  font-family: "Momo Trust Display", cursive;
  font-size: clamp(0.84rem, 1.6vw, 1.04rem);
  font-weight: 700;
  color: var(--ink);
}

.faq-content .faq-answer {
  font-family: "Bahnschrift", sans-serif;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--ink);
}

.faq-page .site-footer-panel {
  padding: 0.4rem 1.6rem 1.4rem;
  transform: none;
}

.faq-page .site-footer-panel .footer-inner {
  align-items: center;
  gap: 0.3rem;
}

.faq-page .site-footer-panel .footer-inner a:hover,
.faq-page .site-footer-panel .footer-inner a:focus-visible {
  color: var(--ink);
}

.privacy-content h2,
.privacy-content h3 {
  font-family: "Momo Trust Display", cursive;
  color: var(--ink);
  font-weight: 700;
}

.privacy-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.8rem;
}

.privacy-content h3 {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  margin: 1.2rem 0 0.35rem;
}

.privacy-content p,
.privacy-content li {
  line-height: 1.35;
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-family: "Bahnschrift", sans-serif;
  font-size: 0.82rem;
}

.privacy-content ul {
  list-style: disc inside;
  margin: 0 0 0.7rem 1rem;
  padding: 0;
  color: var(--ink);
}

.privacy-content ul li {
  padding: 0.1rem 0;
  border: none;
  display: list-item;
}

.privacy-content strong {
  color: var(--ink);
}

.faq-content .faq-answer {
  color: var(--ink);
  font-style: italic;
  line-height: 1.6;
}

.projects-intro {
  margin-bottom: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.projects-intro p {
  font-family: "Avenis Regular", "Avenis", "Avenir", sans-serif;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.projects-banner {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  padding: 0;
  max-width: none;
}

.projects-banner-track {
  display: flex;
  gap: 0.55rem;
  width: max-content;
  animation: scrollProjects 180s linear infinite;
}

.projects-banner-slide {
  flex: 0 0 auto;
  width: min(34vw, 360px);
  height: min(22vw, 280px);
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  box-shadow: none;
  transition: none;
}

.projects-banner-slide:hover {
  transform: none;
  box-shadow: none;
}

.projects-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 900px) {
  .projects-banner-slide {
    width: min(48vw, 260px);
    height: min(28vw, 220px);
  }
}

@keyframes scrollProjects {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.project-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 12, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 100;
  padding: 1.5rem;
}
.project-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.project-lightbox-inner {
  position: relative;
  width: min(96vw, 960px);
  max-height: 96vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-lightbox-content {
  width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-lightbox img {
  width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(0,0,0,0.42);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  font-size: 1.4rem;
}
.lightbox-close {
  top: -16px;
  right: -16px;
}
.lightbox-prev {
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.22);
  transform: scale(1.02);
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-50%) scale(1.02);
}

.rotating-word {
  font-family: "Momo Trust Display", cursive;
  font-size: clamp(1.4rem, 5vw, 1.2rem);
  color: #fff;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: none;
  opacity: 1;
  transition: opacity 0.35s ease;
  white-space: normal;
  max-width: calc(100% - 2.4rem);
  padding: 0 1.2rem;
  text-align: center;
  display: inline-block;
  overflow-wrap: anywhere;
}
.rotating-word.visible {
  opacity: 1;
}
.rotating-word.hidden {
  opacity: 0;
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-text-space {
    min-height: 260px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 1.5rem 1rem;
  }
}
