/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: #ffffff;
}

body {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 400;
  color: #333;
  background: #ffffff;
  line-height: 1.7;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 11fr 9fr;
  align-items: start;
  background: transparent;
  position: relative;
  z-index: 0;
  padding-bottom: 200px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  background: #fff8e9;
  transform: translateX(-50%);
  z-index: -1;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 420px;
  pointer-events: none;
  display: block;
  z-index: 0;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-left {
  padding: 3rem 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-thumbnails {
  display: flex;
  gap: 1rem;
}

.thumb {
  flex: 1 1 0;
  min-width: 0;
  max-width: 264px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 clamp(6px, 0.8vw, 10px) white;
}

.thumb::before {
  content: '';
  display: block;
  padding-top: 100%;
}

.thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-logo {
  height: calc(3.8rem * 2 * 1.2);
  width: auto;
  flex-shrink: 0;
}

.hero-title {
  display: flex;
  flex-direction: column;
}

.welcome-to {
  font-size: 3.8rem;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-title h1 {
  font-size: 3.8rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-tagline {
  font-size: 1.4rem;
  color: #444;
  line-height: 1.65;
  max-width: 840px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.94rem 2rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.85;
}

.btn-dark {
  background: #1a1a1a;
  color: #fff;
}

.btn-orange {
  background: #e8521a;
  color: #fff;
}

.btn-purple {
  background: #aa00dd;
  color: #fff;
}

.btn-elw {
  background: #243C7D;
  color: #fff;
}

.btn-grey {
  background: #888;
  color: #fff;
}

.hero-right {
  padding-top: 3rem;
  padding-right: 1.8rem;
  position: relative;
  z-index: 1;
}

.hero-image-wrap {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
}

.hero-right img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 0 0 clamp(6px, 0.8vw, 10px) white;
  outline-offset: 0;
}

/* ─── Services ──────────────────────────────────────────────── */
.services {
  padding: 4rem 0;
  background: transparent;
  margin-top: -200px;
  position: relative;
}

.services .container {
  max-width: 100%;
  padding: 0 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.service-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  color: #e8521a;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.service-item p {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #555;
  line-height: 1.75;
}

/* ─── Meet the Team ─────────────────────────────────────────── */
.team-section {
  padding: 4rem 0 5rem;
  background: #ffffff;
  text-align: center;
}

.team-section .container {
  max-width: 100%;
  padding: 0 2rem;
}

.section-heading {
  font-size: 48px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.6rem;
  display: inline-block;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 120px;
  height: 3px;
  background: #e8521a;
  margin: 0.5rem auto 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.team-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 6px;
  box-shadow: 0 0 0 clamp(6px, 0.8vw, 10px) white;
}

.team-name {
  padding: 0.9rem 1rem;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  text-align: center;
  background: #fff;
}

/* ─── Get In Touch ──────────────────────────────────────────── */
.contact {
  padding: 4rem 0 5rem;
  background: #ffffff;
  text-align: center;
}

.contact .container {
  max-width: 100%;
  padding: 0 2rem;
}

.contact .section-heading {
  margin-bottom: 2.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  text-align: left;
  margin-top: 1rem;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: center;
}

.contact-intro {
  font-size: 26px;
  color: #333;
  line-height: 1.6;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #333;
  font-size: 24px;
  transition: color 0.2s;
}

.contact-row:hover {
  color: #e8521a;
}

.contact-icon {
  width: 26px;
  height: 26px;
  color: #e8521a;
  flex-shrink: 0;
  position: relative;
  top: -3px;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-right {
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.contact-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  box-shadow: 0 0 0 clamp(6px, 0.8vw, 10px) white;
}

/* ─── Footer ────────────────────────────────────────────────── */
/* Footer markup + styles are shared via footer.html / footer.css
   (see CLAUDE.md "Site footer") — not defined here. */

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 0.8rem;
  opacity: 0.7;
}

/* ─── Mobile neon box ───────────────────────────────────────── */
.mobile-neon {
  display: none;
  position: relative;
  width: 100%;
  min-height: 270px;
  overflow: hidden;
  border-radius: 6px;
  border: clamp(6px, 0.8vw, 10px) solid #fff8e9;
  background: #fff8e9;
  margin-top: 1.5rem;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.mobile-neon.visible {
  opacity: 1;
}

.mobile-neon-photo {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(10, 3, 20, 0.68), rgba(10, 3, 20, 0.68)), url('images/laptop.jpg');
  background-size: cover; background-position: center top;
  opacity: 0; transition: opacity 1.5s ease;
}
.mobile-neon-photo.visible { opacity: 1; }

.mobile-neon-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(200, 0, 255, 0.5) 0%, transparent 65%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.mobile-neon-glow.visible { opacity: 1; }

.mobile-neon-glow.dim {
  background: radial-gradient(ellipse at 50% 40%, rgba(150, 0, 200, 0.3) 0%, transparent 65%);
  transition: none;
}

#mobileNeonContent {
  opacity: 0;
  transition: opacity 1.5s ease;
}

#mobileNeonContent.visible { opacity: 1; }

.mobile-neon-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.2rem 1.4rem;
  position: relative;
  z-index: 1;
}

.mobile-neon-sign {
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
  padding: 0.25rem 0 0.4rem;
}

.mobile-neon-subtitle-wrap {
  opacity: 0;
  transition: opacity 1.2s ease;
  text-align: center;
}

.mobile-neon-subtitle-wrap.visible { opacity: 1; }

.mobile-neon-subtitle {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.mobile-neon-subtext {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.mobile-neon-sign.dim .neon-line {
  color: #993dbb;
  text-shadow: 0 0 6px #993dbb, 0 0 15px #770099, 0 0 35px #550088, 0 0 65px #330066;
  transition: none;
}

.mobile-neon .neon-line {
  display: block;
  font-size: 2.4rem !important;
  line-height: 1.05;
  white-space: nowrap;
  text-align: center;
}

.mobile-neon-cta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex-shrink: 0;
  align-self: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.5s ease;
}

.mobile-neon-cta.visible { opacity: 1; pointer-events: auto; }

.mobile-neon-cta .btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.72rem;
}

@media (max-width: 1100px) {
  .mobile-neon { display: flex; flex-direction: column; justify-content: center; }
}

/* ─── Mobile sketch overlay ──────────────────────────────────── */
.mobile-sketch-overlay {
  position: absolute; inset: 0; z-index: 5;
  background-color: #eceae7;
  background-image:
    linear-gradient(rgba(60,70,80,0.22) 0.7px, transparent 0.7px),
    linear-gradient(90deg, rgba(60,70,80,0.22) 0.7px, transparent 0.7px),
    linear-gradient(rgba(60,70,80,0.10) 0.4px, transparent 0.4px),
    linear-gradient(90deg, rgba(60,70,80,0.10) 0.4px, transparent 0.4px);
  background-size: 30px 30px, 30px 30px, 6px 6px, 6px 6px;
  opacity: 0; pointer-events: none;
  transition: opacity 2s ease;
  overflow: hidden;
}

.mobile-sketch-overlay::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='mn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23mn)' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 250px 250px;
  pointer-events: none;
}

.mobile-sketch-overlay.visible { opacity: 1; pointer-events: auto; }

.mobile-sketch-title-band {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  padding: 1.5% 8% 0;
  pointer-events: none;
}

.mobile-sketch-svg {
  width: 100%; height: 100%; display: block;
}

.mobile-sketch-detail {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.mobile-sketch-detail.visible { opacity: 1; }

.mobile-sketch-overlay .sketch-intro-text {
  font-size: clamp(0.9rem, 2.2vw, 1.44rem);
}

.mobile-sketch-footer {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center;
  padding: 2% 4% 4%;
}

.mobile-sketch-tagline {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: clamp(0.9rem, 3.8vw, 2rem);
  font-weight: 400;
  color: rgba(42, 35, 24, 0.9);
  margin: 0 0 0.5rem;
  opacity: 0; transition: opacity 1.2s ease;
}
.mobile-sketch-tagline.visible { opacity: 1; }

.mobile-sketch-cta {
  display: flex; gap: 0.5rem; justify-content: center; flex-wrap: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 1.2s ease;
}

.mobile-sketch-cta.visible { opacity: 1; pointer-events: auto; }

.mobile-sketch-cta .btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.72rem;
}

/* ─── Neon sign ─────────────────────────────────────────────── */
.neon-dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
  opacity: 0;
  transition: opacity 3s ease;
}

.neon-dark.visible { opacity: 1; }

.neon-glow {
  position: absolute;
  top: 0%;
  left: 0;
  right: 0;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(200, 0, 255, 0.65) 0%, rgba(140, 0, 220, 0.35) 40%, transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transition: opacity 3s ease;
}

.neon-glow.visible { opacity: 1; }
.neon-glow.dim {
  background: radial-gradient(ellipse at center, rgba(150, 0, 200, 0.35) 0%, rgba(100, 0, 150, 0.2) 40%, transparent 70%);
  transition: none;
}

.neon-sign {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 3s ease;
}

.neon-sign.visible { opacity: 1; }
.neon-sign.dim .neon-line {
  color: #993dbb;
  text-shadow: 0 0 6px #993dbb, 0 0 15px #770099, 0 0 35px #550088, 0 0 65px #330066;
  transition: none;
}

.neon-line {
  display: block;
  font-family: 'Neonderthaw', cursive;
  font-weight: 700;
  color: #ee55ff;
  line-height: 0.95;
  text-shadow:
    0 0 6px  #ee55ff,
    0 0 15px #cc00ff,
    0 0 30px #bb00ff,
    0 0 60px #9900ee,
    0 0 100px #7700cc,
    0 0 160px #5500aa;
}

.neon-line:first-child { font-size: 2rem; }
.neon-line:last-child  { font-size: 3rem; }

.neon-cta {
  position: absolute;
  bottom: 6%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 3s ease;
}

.neon-cta.visible { opacity: 1; pointer-events: auto; }

.neon-tagline {
  position: absolute;
  left: 6%;
  right: 6%;
  text-align: center;
  pointer-events: none;
}

.neon-tagline-head {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  margin: 0 0 0.4em;
}

.neon-tagline-subhead {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  margin: 0 0 0.9em;
  opacity: 0;
  transition: opacity 3s ease;
}

.neon-tagline-subhead.visible { opacity: 1; }

.neon-tagline-body {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  margin: 0;
  opacity: 0;
  transition: opacity 3s ease;
}

.neon-tagline-body.visible { opacity: 1; }

/* ─── Elevation sketch overlay ──────────────────────────────── */
.sketch-overlay {
  position: absolute;
  inset: 0;
  background-color: #eceae7;
  background-image:
    linear-gradient(rgba(60,70,80,0.22) 0.7px, transparent 0.7px),
    linear-gradient(90deg, rgba(60,70,80,0.22) 0.7px, transparent 0.7px),
    linear-gradient(rgba(60,70,80,0.10) 0.4px, transparent 0.4px),
    linear-gradient(90deg, rgba(60,70,80,0.10) 0.4px, transparent 0.4px);
  background-size: 30px 30px, 30px 30px, 6px 6px, 6px 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 3.2s ease;
  overflow: hidden;
  border-radius: inherit;
}

.sketch-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 250px 250px;
  pointer-events: none;
}

.sketch-overlay.visible { opacity: 1; }

.sketch-svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: translateY(-3%);
}

.sketch-group path {
  fill: none;
  stroke: #2a2318;
  stroke-width: 1.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sketch-group text {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  fill: #2a2318;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.sketch-group text.visible { opacity: 1; }

.sketch-detail {
  opacity: 0;
  filter: url(#sketchFilter);
  transition: opacity 1.4s ease;
}

/* iOS/Safari won't resolve a filter reference into a different sibling <svg>,
   so the mobile hero uses its own local copy of the filter (#mSketchFilter) */
.mobile-sketch-overlay .sketch-detail {
  filter: url(#mSketchFilter);
}

.sketch-detail.visible { opacity: 1; }

.sketch-painted {
  opacity: 0;
  transition: opacity 2.6s ease;
}

.sketch-painted.visible { opacity: 1; }

.sketch-title {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.sketch-title.visible { opacity: 1; }

.sketch-title-band {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8% 4%;
  background: transparent;
  pointer-events: none;
}

.sketch-intro-text {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.9rem, 2.2vw, 1.44rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  color: rgba(42, 35, 24, 0.6);
  margin-top: 0.4em;
  margin-bottom: 0.05em;
}

.sketch-title-svg {
  width: 100%;
  height: auto;
  display: block;
}

.sketch-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2% 4% 5%;
  gap: 1rem;
  text-align: center;
}

.sketch-body-text {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 400;
  color: rgba(42, 35, 24, 0.62);
  font-size: clamp(0.95rem, 2.3vw, 1.4rem);
  line-height: 1.25;
  margin: 0 0 0.6em;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.sketch-body-text.visible { opacity: 1; }

.sketch-cta {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: nowrap;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.sketch-cta.visible {
  opacity: 1;
  pointer-events: auto;
}

.sketch-tagline {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 400;
  color: rgba(42, 35, 24, 0.68);
  font-size: clamp(1rem, 2.6vw, 1.6rem);
  margin: 0.55em 0 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  text-align: center;
}

.sketch-tagline.visible { opacity: 1; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  html {
    background: #fff8e9;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 80px;
    background: #fff8e9;
  }

  .hero::before {
    display: none;
  }

  .hero-wave {
    height: 100px;
  }

  .services {
    margin-top: -80px;
  }

  .hero-right {
    display: none;
  }

  .hero-left {
    padding: 2rem 1.5rem;
  }

  .services-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-wrap: wrap;
  }

  .hero-buttons .btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.78rem;
  }

  .welcome-to,
  .hero-title h1 {
    font-size: clamp(1.5rem, 8.5vw, 3.8rem);
  }

  .hero-logo {
    height: calc(clamp(1.5rem, 8.5vw, 3.8rem) * 2 * 1.2);
  }
}
