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

:root {
  --black:   #1a1a1a;
  --cream:   #f4f1ea;
  --pink:    #e91e63;
  --yellow:  #ffc107;
  --blue:    #03a9f4;
  --white:   #ffffff;

  --font-display: 'Road Rage', cursive;
  --font-hand:    'Permanent Marker', cursive;
  --font-body:    Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--cream);
  background-image: url('assets/website/work_screen/Work Screen - Background.jpg');
  background-attachment: fixed;
  background-size: cover;
  color: var(--black);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Visually Hidden utility for Google SEO & Screen Readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  border-bottom: 2px solid var(--black);
}

.nav-logo img {
  height: 40px;
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-hand);
  font-size: 0.9rem;
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--pink); }

@media (min-width: 850px) {
  .nav-links { display: flex; }
}

.nav-cta {
  font-family: var(--font-hand);
  font-size: 0.9rem;
  color: var(--white);
  background: var(--black);
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  transform: rotate(-2deg);
  transition: transform 0.2s, background 0.2s;
}

.nav-cta:hover {
  transform: rotate(0deg) scale(1.05);
  background: var(--pink);
}

/* ── HERO ── */
.hero {
  margin-top: 72px;
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('assets/website/hero_screen/Website - Hero Screen.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* 
 * The canvas holds all SVG layers in the same 1920x1080 coordinate space.
 * Width is clamped so it fills the viewport, maintaining 16:9 aspect ratio.
 */
.hero-canvas {
  width: 100%;
  max-height: calc(100svh - 72px);
  aspect-ratio: 1920 / 1080;
  position: relative;
  margin-top: -80px;
}

/* Every SVG is a transparent layer over the full canvas */
.hero-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill; /* stretch to exactly fill — SVG handles its own scaling */
  pointer-events: none;
  user-select: none;
}

/* Floating animations on Cloud and Heart layers */
@keyframes float-cloud {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-10px); }
}
@keyframes float-heart {
  0%, 100% { transform: translateY(0px) scale(1);      }
  50%       { transform: translateY(-8px)  scale(1.04); }
}

.hero-anim-cloud {
  animation: float-cloud 6s ease-in-out infinite;
}
.hero-anim-heart {
  animation: float-heart 4s ease-in-out infinite 0.6s;
}

/* ── ABOUT ANIMATIONS ── */
@keyframes float-pencil {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(2deg); }
}
@keyframes float-tablet {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(5px, -8px); }
}
@keyframes float-code {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.03); }
}

.about-anim-pencil { animation: float-pencil 5s ease-in-out infinite; }
.about-anim-tablet { animation: float-tablet 7s ease-in-out infinite 1s; }
.about-anim-code   { animation: float-code 6s ease-in-out infinite 0.5s; }

/* ── BUTTON OVERLAYS ──
 * Invisible <a> tags placed as % of the 1920x1080 canvas.
 * Positions match the button locations visible in the mock-up.
 */
.hero-btn-overlay {
  position: absolute;
  cursor: pointer;
  z-index: 20;
}

/* "HIRE ME" — pink button */
.hero-btn-hire {
  left: 38.85%;
  top: 84.1%;
  width: 6.84%;
  height: 6.8%;
}

/* "VIEW WORK" — yellow button */
.hero-btn-view {
  left: 46.24%;
  top: 83.97%;
  width: 7.87%;
  height: 6.8%;
}

/* "ALL WORK" — teal button / PORTFOLIO */
.hero-btn-all {
  left: 54.35%;
  top: 84.1%;
  width: 6.84%;
  height: 6.8%;
}

/* ── ABOUT ── */
.about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('assets/website/about_screen/About Screen - Background.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 0;
  height: 1080px; /* Redesigned for 1080p canvas */
  border-top: 4px solid var(--black);
}

.about-canvas {
  height: 100%;
  aspect-ratio: 1920 / 1080;
  position: relative;
}

.about-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

/* Button overlays — positioned from mock-up coordinates */
.about-btn-overlay {
  position: absolute;
  cursor: pointer;
  z-index: 20;
}

/* "Portfolio" button */
.about-btn-portfolio {
  left: 66.2%;
  top: 27.31%;
  width: 9.32%;
  height: 16.57%;
}

/* "CNC Work" button */
.about-btn-cnc {
  left: 66.2%;
  top: 48.52%;
  width: 9.32%;
  height: 16.57%;
}

/* Social Buttons */
.about-btn-linkedin {
  left: 36.09%;
  top: 73.43%;
  width: 5.21%;
  height: 9.26%;
}

.about-btn-behance {
  left: 43.49%;
  top: 73.43%;
  width: 5.21%;
  height: 9.26%;
}

.about-btn-github {
  left: 51.30%;
  top: 73.43%;
  width: 5.21%;
  height: 9.26%;
}

.about-btn-whatsapp {
  left: 58.70%;
  top: 73.43%;
  width: 5.21%;
  height: 9.26%;
}

/* Interactive Hovers (GPU Accelerated Filters) */
.about-btn-img-portfolio, .about-btn-img-cnc,
.about-btn-img-linkedin, .about-btn-img-behance,
.about-btn-img-github, .about-btn-img-whatsapp {
  transition: filter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-canvas:has(.about-btn-portfolio:hover) .about-btn-img-portfolio { filter: brightness(1.22); }
.about-canvas:has(.about-btn-cnc:hover) .about-btn-img-cnc { filter: brightness(1.22); }
.about-canvas:has(.about-btn-linkedin:hover) .about-btn-img-linkedin { filter: brightness(1.22); }
.about-canvas:has(.about-btn-behance:hover) .about-btn-img-behance   { filter: brightness(1.22); }
.about-canvas:has(.about-btn-github:hover) .about-btn-img-github     { filter: brightness(1.22); }
.about-canvas:has(.about-btn-whatsapp:hover) .about-btn-img-whatsapp { filter: brightness(1.22); }

/* ── PHILOSOPHY [NEW] ── */
.philosophy-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('assets/website/philosophy_screen/Background.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 0;
  height: 720px;
  border-top: 4px solid var(--black);
}

.philosophy-canvas {
  height: 100%;
  aspect-ratio: 1920 / 720;
  position: relative;
}

.philosophy-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

/* Overlay for Fair Pricing Card in Philosophy Section */
.phil-overlay-pricing {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  left: 42.8%;
  top: 35.7%;
  width: 14.2%;
  height: 42%;
}

.phil-card-img-pricing {
  transition: filter 0.25s ease-out;
}
.philosophy-canvas:has(.phil-overlay-pricing:hover) .phil-card-img-pricing {
  filter: brightness(1.08) contrast(1.05);
}

/* ── PRICING ── */
.pricing-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('assets/website/pricing_screen/Pricing Screen - Background.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 0;
  height: 1080px;
  border-top: 4px solid var(--black);
}

.pricing-canvas {
  height: 100%;
  aspect-ratio: 1920 / 1080;
  position: relative;
}

.pricing-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

/* ── CNC WORK SCREEN ── */
.cnc-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('assets/website/cnc_screen/CNC Screen - Background.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 0;
  height: 1080px;
  border-top: 4px solid var(--black);
}

.cnc-canvas {
  height: 100%;
  aspect-ratio: 1920 / 1080;
  position: relative;
}

.cnc-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

/* Description Box (x=387, y=363, w=224, h=305) */
.cnc-description-box {
  position: absolute;
  left: 20.156%;
  top: 33.611%;
  width: 11.8%;
  height: 28.241%;
  background: var(--black);
  border-radius: 11px;
  padding: 0.95rem 0.8rem;
  color: var(--white);
  font-family: var(--font-hand);
  font-size: 0.84rem;
  line-height: 1.32;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  z-index: 10;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  box-sizing: border-box;
  overflow: hidden;
}

/* Name & Location Box (x=387, y=688, w=224, h=158) */
.cnc-name-box {
  position: absolute;
  left: 20.156%;
  top: 63.704%;
  width: 11.8%;
  height: 14.630%;
  background: var(--black);
  border-radius: 11px;
  padding: 0.85rem 0.8rem;
  color: var(--white);
  font-family: var(--font-hand);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 10;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  box-sizing: border-box;
  overflow: hidden;
}

.cnc-name-box h3 {
  font-size: 1.02rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.cnc-name-box p {
  font-size: 0.8rem;
  color: var(--yellow);
  opacity: 0.95;
  line-height: 1.2;
}

/* Large Slideshow Container Frame (x=628, y=363, w=900, h=506) */
.cnc-slideshow-frame {
  position: absolute;
  left: 32.708%;
  top: 33.611%;
  width: 46.875%;
  height: 46.852%;
  border-radius: 19px;
  border: 4px solid var(--black);
  overflow: hidden;
  background: #000;
  z-index: 10;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.35);
  box-sizing: border-box;
}

.cnc-slideshow-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.cnc-slideshow-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.cnc-slideshow-container img.active {
  opacity: 1;
}

/* Controls */
.cnc-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 26, 26, 0.75);
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: background 0.2s, transform 0.2s;
}

.cnc-slide-btn:hover {
  background: var(--pink);
  transform: translateY(-50%) scale(1.1);
}

.cnc-prev-btn { left: 15px; }
.cnc-next-btn { right: 15px; }

.cnc-dots-container {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 15;
}

.cnc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--black);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.cnc-dot.active {
  background: var(--yellow);
  transform: scale(1.25);
}

/* Visit Alania Callout Box (x=360, y=889, w=1200, h=160) */
.cnc-alania-box {
  position: absolute;
  left: 18.75%;
  top: 82.315%;
  width: 62.5%;
  height: 14.815%;
  background: var(--black);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  border: 3px solid var(--black);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.3);
  box-sizing: border-box;
}

.cnc-alania-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.cnc-alania-sub {
  font-family: var(--font-hand);
  color: var(--white);
  font-size: 1.15rem;
}

.cnc-alania-link {
  font-family: var(--font-hand);
  color: var(--white);
  font-size: 2.2rem;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.cnc-alania-link:hover {
  color: var(--yellow);
  transform: scale(1.03);
}

/* Mobile CNC Section */
.m-cnc {
  padding: 6rem 1.5rem 3rem;
}

.m-cnc-intro {
  font-family: var(--font-hand);
  font-size: 1.05rem;
  color: var(--black);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.m-cnc-card {
  background: var(--black);
  color: var(--white);
  border: 3px solid var(--black);
  box-shadow: 6px 6px 0 var(--black);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.m-cnc-slideshow {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.m-cnc-slideshow img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.m-cnc-slideshow img.active {
  opacity: 1;
}

.m-cnc-info {
  padding: 1.25rem;
  font-family: var(--font-hand);
}

.m-cnc-info h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.m-cnc-location {
  font-size: 0.95rem;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}

.m-cnc-desc {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--cream);
}

.m-cnc-alania-card {
  background: var(--black);
  color: var(--white);
  border: 3px solid var(--black);
  box-shadow: 5px 5px 0 var(--black);
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  font-family: var(--font-hand);
}

.m-cnc-alania-card p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.m-cnc-alania-card a {
  font-size: 1.4rem;
  color: var(--yellow);
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s;
}

.m-cnc-alania-card a:hover {
  transform: scale(1.04);
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2rem; /* Matches the bold reference */
  padding: 0.8rem 3rem;
  text-decoration: none;
  transform: rotate(-2deg);
  border: 3px solid var(--black);
  box-shadow: 8px 8px 0px var(--black);
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: rotate(0deg) translate(-2px, -2px);
  box-shadow: 12px 12px 0px var(--black);
}

.btn-secondary {
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 2rem;
  padding: 0.8rem 3rem;
  text-decoration: none;
  transform: rotate(2deg);
  border: 3px solid var(--black);
  box-shadow: 8px 8px 0px var(--black);
  transition: all 0.2s;
}

.btn-secondary:hover {
  transform: rotate(0deg) translate(-2px, -2px);
  box-shadow: 12px 12px 0px var(--black);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2rem;
  padding: 0.8rem 3rem;
  text-decoration: none;
  transform: rotate(-1deg);
  border: 3px solid var(--black);
  box-shadow: 8px 8px 0px var(--black);
  transition: all 0.2s;
}

.btn-blue:hover {
  transform: rotate(0deg) translate(-2px, -2px);
  box-shadow: 12px 12px 0px var(--black);
}

/* ── SECTION SHARED ── */
section { padding: 5rem 2rem; position: relative; }

.section-header-img {
  max-width: 300px;
  margin-bottom: 3rem;
}

/* ── SERVICES ── */
.services-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('assets/website/services_screen/Services Screen - Background.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 0;
  border-top: 4px solid var(--black);
  border-bottom: 4px solid var(--black);
  height: 720px; /* Constrained to 720px high to match the about section */
}

.services-canvas {
  height: 100%;
  aspect-ratio: 1920 / 1080;
  position: relative;
  transform: scale(1.3); /* Scale up all elements together by 30% */
}

.services-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

/* ── WORK ── */
.work-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('assets/website/work_screen/Work Screen - Background.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 0;
  height: 720px; /* Constrained to 720px high to match other sections */
}

.work-canvas {
  height: 100%;
  aspect-ratio: 1920 / 1080;
  position: relative;
}

.work-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

/* ── OVERLAYS ── */
.work-card-overlay {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  width: 21%;
  height: 43%;
  top: 32%;
}

.work-overlay-solstice { left: 5%; }
.work-overlay-cape     { left: 27%; }
.work-overlay-vela     { left: 49%; }
.work-overlay-forma    { left: 71%; }

/* View Full Archive Button overlay hit-area */
.work-btn-overlay {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  left: 40.93%;
  top: 76.39%;
  width: 17.35%;
  height: 5.84%;
}

/* ── CTA ── */
.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('assets/website/CTA_screen/CTA Screen - Background.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 0;
  border-top: 4px solid var(--black);
  border-bottom: 4px solid var(--black);
}

.cta-canvas {
  width: 100%;
  aspect-ratio: 1920 / 600;
  position: relative;
}

.cta-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

/* Heart pulse animation */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.08); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.05); }
  70%       { transform: scale(1); }
}

.cta-anim-heart {
  animation: heartbeat 2s ease-in-out infinite;
  transform-origin: center;
}

/* Button overlays — positioned from mockup visual inspection */
.cta-btn-overlay {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  height: 18%;
  width: 18%;
}

.cta-btn-email    { left: 54.84%; top: 34.67%; width: 13.80%; height: 10.50%; }
.cta-btn-whatsapp { left: 53.91%; top: 52.17%; width: 15.78%; height: 11.17%; }

/* ── FOOTER ── */
.footer-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('assets/website/footer/Footer - Background.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 0;
}

.footer-canvas {
  width: 100%;
  aspect-ratio: 1920 / 400;
  position: relative;
}

.footer-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

/* Footer Overlays hit-areas mapped to mockup design coordinates */
.footer-link-overlay {
  position: absolute;
  cursor: pointer;
  z-index: 10;
}

/* Top Row buttons - Coordinates from Hitboxes.svg */
.footer-link-work       { left: 18.70%; top: 12.0%; width: 8.38%;  height: 25.0%; } /* 359 / 1920, 48 / 400, 161 / 1920, 100 / 400 */
.footer-link-cnc        { left: 28.59%; top: 12.0%; width: 9.06%;  height: 25.0%; } /* 549 / 1920 */
.footer-link-websites   { left: 39.74%; top: 12.0%; width: 8.38%;  height: 25.0%; } /* 763 / 1920 */
.footer-link-patreon    { left: 50.68%; top: 12.0%; width: 8.38%;  height: 25.0%; } /* 973 / 1920 */
.footer-link-pricing    { left: 61.51%; top: 12.0%; width: 8.07%;  height: 25.0%; } /* 1181 / 1920 */
.footer-link-contact    { left: 72.14%; top: 12.0%; width: 8.75%;  height: 25.0%; } /* 1385 / 1920 */

/* Bottom Row buttons */
.footer-link-bytethis  { left: 21.98%; top: 65.25%; width: 17.14%; height: 25.0%; } /* 422 / 1920, 261 / 400 */
.footer-link-synontech { left: 41.46%; top: 65.25%; width: 17.14%; height: 25.0%; } /* 796 / 1920 */
.footer-link-kerfsuite { left: 60.94%; top: 65.25%; width: 17.14%; height: 25.0%; } /* 1170 / 1920 */

/* Powered by Synontech logo */
.footer-link-poweredby { left: 5.05%; top: 77.5%; width: 9.53%; height: 12.5%; }

/* Copyright notice — bottom right */
.footer-copyright {
  position: absolute;
  left: 81.4%; /* 1563 / 1920 */
  top: 77.75%; /* 311 / 400 */
  font-family: var(--font-hand);
  font-size: clamp(0.8rem, 1.2vw, 1.1rem);
  color: rgb(0, 0, 0);
  opacity: 1;
  margin: 0;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 5;
}

/* ── UTILITIES ── */
.splat {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.reveal {
  opacity: 1; /* Temporarily disabled reveal animation to ensure visibility during redesign */
}

/* ── RESPONSIVE REFINE ── */
@media (max-width: 1280px) {
  .about-section, .philosophy-section, .services-section, .work-section, .pricing-section, .cta-section, .footer-section {
    height: auto;
  }
  .about-canvas, .philosophy-canvas, .services-canvas, .work-canvas, .pricing-canvas, .cta-canvas, .footer-canvas {
    width: 100%;
    height: auto;
  }
}


/* ── INTERACTIVE CANVAS HOVERS (GPU Accelerated Filters) ── */

/* Hero buttons transition & hover highlights */
.hero-btn-img-hire, .hero-btn-img-view, .hero-btn-img-all {
  transition: filter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-canvas:has(.hero-btn-hire:hover) .hero-btn-img-hire { filter: brightness(1.22); }
.hero-canvas:has(.hero-btn-view:hover) .hero-btn-img-view { filter: brightness(1.22); }
.hero-canvas:has(.hero-btn-all:hover) .hero-btn-img-all { filter: brightness(1.22); }

/* Work cards & Work Full Archive button transition & hovers */
.work-card-img-solstice, .work-card-img-cape, .work-card-img-vela, .work-card-img-forma, .work-btn-img-archive {
  transition: filter 0.25s ease-out;
}
.work-canvas:has(.work-overlay-solstice:hover) .work-card-img-solstice { filter: brightness(1.08) contrast(1.05); }
.work-canvas:has(.work-overlay-cape:hover) .work-card-img-cape { filter: brightness(1.08) contrast(1.05); }
.work-canvas:has(.work-overlay-vela:hover) .work-card-img-vela { filter: brightness(1.08) contrast(1.05); }
.work-canvas:has(.work-overlay-forma:hover) .work-card-img-forma { filter: brightness(1.08) contrast(1.05); }
.work-canvas:has(.work-btn-overlay:hover) .work-btn-img-archive { filter: brightness(1.22); }

/* ── CNC ── */
.cnc-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--black);
  overflow: hidden;
  padding: 0;
  height: 1080px;
  border-top: 4px solid var(--black);
}

.cnc-canvas {
  height: 100%;
  aspect-ratio: 1920 / 1080;
  position: relative;
}

.cnc-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.cnc-slideshow-container {
  position: absolute;
  left: 32.7%;
  top: 33.6%;
  width: 46.87%; /* 900 / 1920 */
  height: 46.85%; /* 506 / 1080 */
  overflow: hidden;
  background: #000;
  z-index: 5;
}

.cnc-slideshow-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.cnc-slideshow-container img.active {
  opacity: 1;
}

.cnc-box {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}

.cnc-name-box {
  left: 20.15%; /* 387 / 1920 */
  top: 63.7%; /* 688 / 1080 */
  width: 15.2%; /* 292 / 1920 */
  height: 14.6%; /* 158 / 1080 */
}

.cnc-description-box {
  left: 20.15%; /* 387 / 1920 */
  top: 35.64%; /* 385 / 1080 */
  width: 15.2%; /* 292 / 1920 */
  height: 27.03%; /* 292 / 1080 */
}

.cnc-btn-overlay {
  position: absolute;
  cursor: pointer;
  z-index: 20;
}

.cnc-btn-alania {
  left: 18.75%; /* 360 / 1920 */
  top: 82.31%; /* 889 / 1080 */
  width: 62.5%; /* 1200 / 1920 */
  height: 14.81%; /* 160 / 1080 */
}

/* CTA buttons transition & hovers */
.cta-btn-img-email, .cta-btn-img-whatsapp {
  transition: filter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta-canvas:has(.cta-btn-email:hover) .cta-btn-img-email { filter: brightness(1.22); }
.cta-canvas:has(.cta-btn-whatsapp:hover) .cta-btn-img-whatsapp { filter: brightness(1.22); }

/* Footer buttons transition & hovers */
.footer-btn-img-about, .footer-btn-img-philosophy, .footer-btn-img-services, .footer-btn-img-work,
.footer-btn-img-pricing, .footer-btn-img-portfolio,
.footer-btn-img-bytethis, .footer-btn-img-synontech, .footer-btn-img-kerfsuite, .footer-btn-img-poweredby {
  transition: filter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-canvas:has(.footer-link-about:hover) .footer-btn-img-about { filter: brightness(1.22); }
.footer-canvas:has(.footer-link-philosophy:hover) .footer-btn-img-philosophy { filter: brightness(1.22); }
.footer-canvas:has(.footer-link-services:hover) .footer-btn-img-services { filter: brightness(1.22); }
.footer-canvas:has(.footer-link-work:hover) .footer-btn-img-work { filter: brightness(1.22); }
.footer-canvas:has(.footer-link-pricing:hover) .footer-btn-img-pricing { filter: brightness(1.22); }
.footer-canvas:has(.footer-link-portfolio:hover) .footer-btn-img-portfolio { filter: brightness(1.22); }
.footer-canvas:has(.footer-link-bytethis:hover) .footer-btn-img-bytethis { filter: brightness(1.22); }
.footer-canvas:has(.footer-link-synontech:hover) .footer-btn-img-synontech { filter: brightness(1.22); }
.footer-canvas:has(.footer-link-kerfsuite:hover) .footer-btn-img-kerfsuite { filter: brightness(1.22); }
.footer-canvas:has(.footer-link-poweredby:hover) .footer-btn-img-poweredby { filter: brightness(1.22); }

.footer-btn-img-cnc, .footer-btn-img-websites, .footer-btn-img-patreon {
  transition: filter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-canvas:has(.footer-link-cnc:hover) .footer-btn-img-cnc { filter: brightness(1.22); }
.footer-canvas:has(.footer-link-websites:hover) .footer-btn-img-websites { filter: brightness(1.22); }
.footer-canvas:has(.footer-link-patreon:hover) .footer-btn-img-patreon { filter: brightness(1.22); }


/* ══════════════════════════════════════════════════════════
   MOBILE LAYOUT  (≤ 768px)
   Desktop canvas sections are hidden; native HTML sections shown.
   ══════════════════════════════════════════════════════════ */

/* ── SHOW / HIDE TOGGLES ── */
.mobile-only  { display: none; }
.desktop-only { }

@media (max-width: 768px) {
  .mobile-only  { display: block; }
  .desktop-only { display: none !important; }

  /* iOS Safari: background-attachment:fixed causes white flashes */
  body {
    background-attachment: scroll;
  }


  /* ── HAMBURGER BUTTON ── */
  .hamburger {
    background: none;
    border: 2px solid var(--black);
    font-size: 1.4rem;
    line-height: 1;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-family: sans-serif;
    color: var(--black);
    transition: background 0.2s, color 0.2s;
  }
  .hamburger:hover {
    background: var(--black);
    color: var(--white);
  }

  /* ── MOBILE NAV DRAWER ── */
  .mobile-nav-drawer {
    display: none;                        /* hidden by default */
    position: fixed;
    top: 65px;                            /* below nav bar */
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--black);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    z-index: 90;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  }
  .mobile-nav-drawer.open { display: flex; }

  .mobile-nav-drawer a {
    font-family: var(--font-hand);
    font-size: 1.25rem;
    color: var(--black);
    text-decoration: none;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: color 0.2s;
  }
  .mobile-nav-drawer a:last-child { border-bottom: none; }
  .mobile-nav-drawer a:hover { color: var(--pink); }

  .mobile-nav-cta {
    margin-top: 0.5rem;
    background: var(--black) !important;
    color: var(--white) !important;
    text-align: center;
    padding: 0.8rem !important;
    border: none !important;
    font-family: var(--font-hand) !important;
    font-size: 1rem !important;
  }

  /* ── MOBILE HERO ── */
  .m-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/website/hero_screen/Website - Hero Screen.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    overflow: hidden;
    padding-top: 75px; /* nav offset */
    padding-bottom: 3rem;
    border-bottom: 4px solid var(--black);
  }

  .m-hero-bg {
    position: absolute;
    inset: 0;
    background: rgba(244, 241, 234, 0.50);
    pointer-events: none;
  }

  .m-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    padding: 0 1.5rem;
    width: 100%;
  }

  .m-hero-top-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 320px;
    margin-bottom: 0.2rem;
  }

  .m-hero-logo {
    width: 60%;
    height: auto;
    display: block;
  }

  .m-hero-cloud {
    width: 35%;
    height: auto;
    display: block;
  }

  .m-hero-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    max-width: 440px;
    margin-bottom: 0.2rem;
  }

  .m-hero-heart {
    width: 15%;
    max-width: 60px;
    height: auto;
    display: block;
  }

  .m-hero-title-img {
    width: 82%;
    height: auto;
    display: block;
  }

  .m-hero-sub-img {
    width: 68%;
    max-width: 250px;
    height: auto;
    margin-bottom: 0.6rem;
  }

  .m-hero-buttons {
    display: flex;
    gap: 0.4rem;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    max-width: 360px;
  }

  .m-hero-buttons a {
    display: block;
    width: 30%;
    max-width: 110px;
    transition: transform 0.15s;
  }
  .m-hero-buttons a:active {
    transform: scale(0.95);
  }
  .m-hero-buttons img {
    width: 100%;
    height: auto;
    display: block;
  }


  /* ── MOBILE SHARED SECTION STYLES ── */
  .m-section {
    padding: 4rem 1.5rem;
    border-top: 4px solid var(--black);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .m-section-title-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2.2rem;
  }

  .m-section-title-img {
    width: 60%;
    max-width: 250px;
    height: auto;
  }

  .m-cta-link-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1.8rem;
  }

  .m-cta-link {
    display: inline-block;
    font-family: var(--font-hand);
    font-size: 1.1rem;
    color: var(--black);
    text-decoration: none;
    border-bottom: 2px solid var(--black);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
  }
  .m-cta-link:hover { color: var(--pink); border-color: var(--pink); }


  /* ── MOBILE ABOUT ── */
  .m-about {
    background-color: var(--cream);
    background-image: url('assets/website/about_screen/About Screen - Background.jpg');
  }

  .m-about-content {
    width: 100%;
    max-width: 440px;
    margin-bottom: 2rem;
    text-align: center;
  }

  .m-about-text {
    font-family: var(--font-hand);
    font-size: 1.15rem;
    color: var(--black);
    line-height: 1.4;
    margin-bottom: 1.2rem;
  }
  .m-about-text strong {
    color: var(--pink);
    font-size: 1.3rem;
  }

  .m-about-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin-bottom: 2.2rem;
  }
  .m-about-buttons a {
    width: 30%;
    transition: transform 0.15s;
  }
  .m-about-buttons a:active {
    transform: scale(0.95);
  }
  .m-about-buttons img {
    width: 100%;
    height: auto;
  }

  .m-about-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    max-width: 400px;
  }

  .m-social-link {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--black);
    background: var(--yellow);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border: 2px solid var(--black);
    box-shadow: 4px 4px 0 var(--black);
    transition: all 0.15s;
  }
  .m-social-link:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--black);
  }

  /* ── MOBILE OPTIMIZED COMPONENTS ── */
  .m-pricing-list {
    list-style: none;
    width: 100%;
    max-width: 440px;
    margin-bottom: 2rem;
    font-family: var(--font-hand);
    color: var(--black);
  }

  .m-pricing-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.2);
    font-size: 1.1rem;
  }

  .m-pricing-list li span:last-child {
    color: var(--pink);
    font-weight: bold;
    font-size: 1.2rem;
  }

  .m-feature-card {
    background: var(--white);
    border: 3px solid var(--black);
    box-shadow: 6px 6px 0 var(--black);
    padding: 1.5rem;
    width: 100%;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .m-feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--black);
    text-transform: uppercase;
  }

  .m-feature-card p {
    font-family: var(--font-hand);
    font-size: 1rem;
    color: #444;
    line-height: 1.3;
  }

  .m-disclaimer-box {
    background: var(--cream);
    border: 2px solid var(--black);
    padding: 1.2rem;
    font-family: var(--font-hand);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 1rem;
    box-shadow: 4px 4px 0 var(--black);
  }

  /* ── MOBILE PHILOSOPHY ── */
  .m-philosophy {
    background-color: var(--cream);
    background-image: url('assets/website/philosophy_screen/Background.jpg');
  }

  .m-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    width: 100%;
    max-width: 480px;
  }
  .m-cards-grid .m-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 70%;
    margin: 0 auto;
  }

  .m-card {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .m-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.2s;
  }
  .m-card:hover img {
    transform: translateY(-4px);
  }


  /* ── MOBILE SERVICES ── */
  .m-services {
    background-color: var(--cream);
    background-image: url('assets/website/services_screen/Services Screen - Background.jpg');
  }


  /* ── MOBILE WORK ── */
  .m-work {
    background-color: var(--cream);
    background-image: url('assets/website/work_screen/Work Screen - Background.jpg');
  }

  .m-work-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 420px;
  }

  .m-work-card-img-link {
    display: block;
    width: 100%;
    transition: transform 0.2s;
  }
  .m-work-card-img-link:hover {
    transform: scale(1.02) rotate(-0.5deg);
  }
  .m-work-card-img-link img {
    width: 100%;
    height: auto;
    display: block;
  }

  .m-work-btn-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }
  .m-work-btn-wrap a {
    display: block;
    width: 55%;
    max-width: 200px;
    transition: transform 0.2s;
  }
  .m-work-btn-wrap a:hover {
    transform: translateY(-2px) scale(1.03);
  }
  .m-work-btn-wrap img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ── MOBILE CNC ── */
  .m-cnc {
    background-color: var(--black);
    color: var(--cream);
  }

  .m-cnc-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 480px;
  }

  .m-cnc-slideshow {
    width: 100%;
    aspect-ratio: 900 / 506;
    position: relative;
    overflow: hidden;
    background: #000;
    border: 2px solid var(--cream);
  }

  .m-cnc-slideshow img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  .m-cnc-slideshow img.active {
    opacity: 1;
  }

  .m-cnc-text-img {
    width: 90%;
    height: auto;
  }

  .m-cnc-visit-link {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--cream);
    color: var(--black);
    text-align: center;
    text-decoration: none;
    font-family: var(--font-hand);
    font-size: 1.2rem;
    border: 3px solid var(--black);
    box-shadow: 6px 6px 0px #333;
    transition: transform 0.15s;
  }
  .m-cnc-visit-link:active {
    transform: scale(0.98);
  }


  /* ── MOBILE PRICING ── */
  .m-pricing {
    background-color: var(--cream);
    background-image: url('assets/website/pricing_screen/Pricing Screen - Background.jpg');
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .m-pricing-title-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2.2rem;
  }

  .m-pricing-title-img {
    width: 50%;
    max-width: 220px;
    height: auto;
  }

  .m-pricing-block {
    width: 100%;
    max-width: 480px;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .m-pricing-heading-img {
    width: 70%;
    max-width: 280px;
    height: auto;
    margin-bottom: 1.2rem;
  }

  .m-pricing-text-img {
    width: 100%;
    height: auto;
  }

  .m-pricing-disclaimer {
    width: 100%;
    max-width: 550px;
    background: #f4f1ea;
    border: 3.5px solid var(--black);
    box-shadow: 8px 8px 0 var(--black);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    transform: rotate(-0.5deg);
  }

  .m-pricing-disclaimer-img {
    width: 100%;
    height: auto;
    display: block;
  }


  /* ── MOBILE CTA ── */
  .m-cta {
    background-color: var(--cream);
    background-image: url('assets/website/CTA_screen/CTA Screen - Background.jpg');
    border-top: 4px solid var(--black);
    border-bottom: 4px solid var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3.5rem 1.5rem;
  }

  .m-cta-heart {
    width: 60px;
    margin-bottom: 1.5rem;
    display: block;
  }

  .m-cta-title-img {
    width: 85%;
    max-width: 400px;
    height: auto;
    display: block;
    margin-bottom: 2rem;
  }

  .m-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 290px;
    margin-top: 0;
  }

  .m-cta-buttons a {
    display: block;
    width: 100%;
    transition: transform 0.15s;
  }
  .m-cta-buttons a:active {
    transform: scale(0.97);
  }
  .m-cta-buttons img {
    width: 100%;
    height: auto;
    display: block;
  }


  /* ── MOBILE FOOTER ── */
  .m-footer {
    background: var(--black);
    color: var(--cream);
    padding: 3rem 1.5rem 2.5rem;
    border-top: 4px solid var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    width: 100%;
  }

  .m-footer-logo {
    width: 45%;
    max-width: 170px;
    height: auto;
    filter: invert(1);
  }

  .m-footer-nav {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 320px;
  }
  .m-footer-nav a {
    display: block;
    width: 22%;
    max-width: 70px;
    transition: transform 0.15s;
  }
  .m-footer-nav a:hover {
    transform: scale(1.08);
  }
  .m-footer-nav img {
    width: 100%;
    height: auto;
    display: block;
    filter: invert(1);
  }

  .m-footer-links-row {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 360px;
  }
  .m-footer-links-row a {
    display: block;
    width: 30%;
    max-width: 105px;
    transition: transform 0.15s;
  }
  .m-footer-links-row a:hover {
    transform: scale(1.05);
  }
  .m-footer-links-row img {
    width: 100%;
    height: auto;
    display: block;
    filter: invert(1);
  }

  .m-footer-powered {
    display: block;
    width: 35%;
    max-width: 120px;
    transition: opacity 0.2s;
    opacity: 0.6;
  }
  .m-footer-powered:hover {
    opacity: 0.95;
  }
  .m-footer-powered img {
    width: 100%;
    height: auto;
    display: block;
    filter: invert(1);
  }

  .m-footer-copy {
    font-family: var(--font-hand);
    font-size: 0.8rem;
    opacity: 0.45;
    margin-top: 0.5rem;
  }

} /* end @media (max-width: 768px) */


