/*
==================================================
  Font Imports & Root Variable Definitions
==================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Cutive+Mono&display=swap');

@font-face {
  font-family: 'Trolleybus Trial';
  src: url('assets/Trolleybus/CopyrightBolditalicStudio-TrolleybusTrial.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NType82';
  src: url('../Assets/NType82-Regular.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color Palette */
  --text-primary: #000000;
  --text-secondary: #404040;
  --background-primary: #ffffff;
  --background-secondary: #ffffff;
  --border-color: #e5e5e5;
  --accent-color: #000000; /* Changed to #000000 for underline effect */

  /* Layout & Sizing */
  --container-gap: 50px;
  --control-radius: 12px;

  /* Typography */
  --homepage-font-title: 'Trolleybus Trial';
  --homepage-font-subheading: 'NType82';
  --homepage-font-body: 'Cutive Mono';
  --homepage-font-title-spacing: 0.05em;
  --homepage-font-subheading-spacing: 0;
  --homepage-font-subheading-weight: 300;
  --font-family: var(--homepage-font-body);
}


/*
==================================================
  Global & Base Styles
==================================================
*/

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: var(--font-family);
  color: var(--text-primary);
  background: #ffffff;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

main {
  background: #ffffff;
}

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


/*
==================================================
  Header & Navigation
==================================================
*/

/*
==================================================
  HEADER & NAVIGATION STYLES
==================================================
*/

/* --- Top Announcement Banner --- */
/* --- Top Banner --- */
/*
==================================================
  HEADER & NAVIGATION STYLES
==================================================
*/

/* --- Top Announcement Banner --- */
.top-banner {
  text-align: center;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 300;
  font-family: var(--homepage-font-title);
  font-variant-caps: small-caps;
  color: #ffffff;
  background-color: #000000;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 0;
  line-height: 1.1;
}

/* --- Main Header Container --- */
header {
  background: var(--background-secondary);
  width: 100%;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.secondary-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* Left, Center, and Right columns */
  align-items: center; /* Vertically center all items */
  height: 72px;
  padding: 0 40px; /* Remove top padding for proper vertical centering */
}

/* --- Logo / Header Title --- */
.header-title {
  justify-self: start; /* Align title to the left */
  font-family: var(--homepage-font-title);
  font-size: 2.35rem;
  letter-spacing: 0.05em;
  line-height: 1;
  font-weight: 400;
  font-variant-caps: normal;
  text-transform: none;
  color: #000000 !important;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

/* --- Main Navigation Links --- */
.nav {
  display: flex;
  gap: 40px;
  justify-self: center; /* Keep navigation in the center */
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 400;
  font-family: var(--homepage-font-body);
  font-variant-caps: normal;
  text-transform: none;
  letter-spacing: -0.05em;
  line-height: 1;
  position: relative;
  padding: 8px 4px;
  transition: color 0.3s ease;
}

.mobile-nav a {
  font-family: var(--homepage-font-body);
  font-variant-caps: normal;
  text-transform: none;
  letter-spacing: -0.05em;
  line-height: 1;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav a:hover {
  color: var(--text-primary);
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* --- Cart Icon & Counter --- */
.cart-nav {
  justify-self: end; /* Align cart to the right */
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
}

.cart-nav:hover svg {
  stroke: var(--accent-color);
}

.cart-nav:hover .cart-count {
  color: var(--accent-color);
}

.cart-nav svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-primary);
  stroke-width: 2;
  transition: stroke 0.2s ease;
}

/* Cart count font styling to match FAQ page */
.cart-nav .cart-count {
  font-family: var(--homepage-font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  letter-spacing: -0.05em;
  line-height: 1.1;
  font-variant-caps: normal;
}

.cart-nav .cart-count {
  color: var(--text-primary);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  min-width: auto;
  height: auto;
  padding: 0;
  transition: color 0.2s ease;
}

/*
==================================================
  Page Sections & Content Blocks
==================================================
*/

.hero-section {
  display: flex;
  width: 100%;
  height: 60vh;
  background: #ffffff;
}

.hero-section.reverse {
  flex-direction: row; /* Changed from row-reverse to row */
}

.hero-left,
.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-left {
  background: #ffffff;
}

.hero-right {
  background: url('assets/another+week+another+frame+(Blog+Banner)+(1).jpg') center center/cover no-repeat;
  border-top-left-radius: 3px;
}

.hero-left.hero-image-alt {
  background: url('assets/diogo-lemos-c8r5SVWKaGk-unsplash.jpg') center center/cover no-repeat;
  border-bottom-right-radius: 3px;
}

.hero-right.blue-bg {
  background: #ffffff !important;
}

.info-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #000000;
  color: #ffffff;
  font-size: 18px;
  padding: 48px 0 40px 0;
  font-family: var(--homepage-font-body);
  font-variant-caps: small-caps;
  letter-spacing: -0.025em;
}

.info-bar > div {
  text-align: center;
  flex: 1;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 0 60px 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background: #ffffff; /* Changed background color to pure white */
}

.quad-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 60vw;
  min-height: 600px;
  max-height: 90vh;
}

.quad {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px; /* Added padding for content */
}

.quad-left-top {
  background: #181818;
  color: #ffffff;
}

.quad-right-top {
  background: url('assets/quad-top-right.jpg') center center/cover no-repeat;
}

.quad-left-bottom {
  background: url('assets/quad-bottom-left.jpg') center center/cover no-repeat;
}

.quad-right-bottom {
  background: #ffffff;
  color: #181818;
}

.quad-content {
  text-align: center;
  margin: 0 auto;
  max-width: 420px;
}

.quad-content h2 {
  font-family: var(--homepage-font-title);
  font-size: 2.2rem;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.quad-content p {
  font-family: var(--homepage-font-body);
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.025em;
}


/*
==================================================
  Component-Specific Styles
==================================================
*/

/* --- Frame Options (in .container) --- */
.frame-options-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px;
  width: 100%;
  margin-bottom: 60px;
}

.frame-option {
  text-align: center;
  width: 250px;
  font-family: var(--homepage-font-body);
  background: #ffffff;
  border-radius: 6px;
  box-shadow: none;
}

.frame-image {
  width: 250px;
  aspect-ratio: 1 / 1;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.frame-image:hover {
  box-shadow: none;
}

.frame-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  border-radius: 3px;
}

.frame-option p {
  margin: 0 0 8px 0;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--homepage-font-title);
  letter-spacing: 0.05em;
}

.frame-option p:last-child {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.9rem;
  margin-bottom: 0;
  font-family: var(--homepage-font-body);
  letter-spacing: -0.025em;
}

/* --- General Button Style --- */
button {
  background-color: #000000;
  color: #ffffff;
  padding: 14px 32px;
  border: 1px solid #000000;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 20px;
  font-size: 16px;
  font-family: var(--homepage-font-body) !important;
  font-weight: 300;
  letter-spacing: -0.025em;
  transition: all 0.2s ease;
}

button:hover {
background-color: transparent;
color: #000000 !important;
border-color: #000000;
}

/* --- Gallery Row --- */
.gallery-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  background: #222;
  padding: 32px 0;
  margin: 0;
  overflow-x: auto; /* Allow horizontal scroll on smaller screens */
}

.gallery-image {
  width: 300px;
  height: 340px;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0; /* Prevent images from shrinking */
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Frame Guide Section --- */
.frame-guide-section {
  width: 100%;
  text-align: center;
  margin: 80px 0;
  font-family: var(--homepage-font-body);
  padding: 20px 40px;
  background: #ffffff;
  position: relative;
}

.frame-guide-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
  font-family: var(--homepage-font-title);
  font-weight: 400;
  color: #000000;
  letter-spacing: 0.05em;
}

.frame-guide-subtitle {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 80px;
  font-family: var(--homepage-font-body);
  font-weight: 400;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.frame-guide-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.frame-guide-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 250px;
}

.frame-guide-step-number {
  width: 60px;
  height: 60px;
  background: var(--text-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: var(--homepage-font-body);
}

.frame-guide-step-icon {
  width: 60px;
  height: 60px;
  background: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 0;
}

.frame-guide-step-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* New desktop/tablet-only elements (see the min-width: 769px block below);
   hidden here so they don't appear in the unchanged phone layout. */
.frame-guide-step-num,
.frame-guide-eyebrow {
  display: none;
}

.frame-guide-icon {
  display: none;
}

.frame-guide-box {
  background: transparent;
  border: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
}

.frame-guide-box h3 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: #000000;
  font-family: var(--homepage-font-title);
  letter-spacing: 0.05em;
}

.frame-guide-box p {
  font-size: 0.95rem;
  color: #000000;
  line-height: 1.6;
  margin: 0;
  font-family: var(--homepage-font-body);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.frame-guide-arrow {
  display: none;
}

.frame-guide-btn {
  /* Inherit all styles from .hero-button for perfect match */
  @extend .hero-button;
}

.frame-guide-btn:hover {
  @extend .hero-button:hover;
}

/* Responsive adjustments for frame guide */
@media (max-width: 768px) {
  .frame-guide-section {
    padding: 60px 20px;
  }
  
  .frame-guide-title {
    font-size: 2.2rem;
  }
  
  .frame-guide-subtitle {
    font-size: 1rem;
    margin-bottom: 60px;
  }
  
  .frame-guide-steps {
    flex-direction: column;
    gap: 50px;
    margin-bottom: 60px;
  }
  
  .frame-guide-step {
    max-width: 100%;
  }
  
  .frame-guide-box h3 {
    font-size: 1.2rem;
  }
  
  .frame-guide-box p {
    font-size: 0.9rem;
  }
}


/*
==================================================
  Mobile Responsive Styles
==================================================
*/

/* ============================================
   MOBILE HEADER STYLES (768px and below)
   ============================================ */

@media (max-width: 768px) {
    /* Remove header shadows on mobile */
    header {
        box-shadow: none !important;
        border-bottom: none !important;
    }
    
    /* Top banner mobile override */
    .top-banner {
      font-family: var(--homepage-font-body);
      font-weight: 300;
      font-variant-caps: small-caps;
      letter-spacing: 0;
      background: #000000 !important;
      color: #ffffff !important;
      border-bottom: none !important;
    }
    
    /* Mobile header layout - Standardized for all mobile dimensions */
    .secondary-header {
        padding: 15px !important;
        height: 65px !important;
        min-height: 65px !important;
        max-height: 65px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        background: #ffffff !important;
        border-bottom: none !important;
        box-shadow: none !important;
        /* Completely override desktop grid layout */
        grid-template-columns: none !important;
        grid-template-areas: none !important;
        grid-template-rows: none !important;
        grid: none !important;
        /* Force flexbox and prevent grid inheritance */
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    
    /* Mobile element positioning - Consistent across all dimensions */
    .cart-nav {
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        grid-area: unset !important;
        justify-self: unset !important;
        align-self: unset !important;
        margin: 0 !important;
        /* Force out of any grid or flex context */
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    
    .cart-nav svg {
        width: 1.4rem;
        height: 1.4rem;
    }
    
    /* Cart count styling */
    .cart-nav .cart-count {
      font-family: var(--homepage-font-body) !important;
        font-size: 0.9rem !important;
        font-weight: 400 !important;
        letter-spacing: -0.025em !important;
    }
    
    .header-title {
        font-size: 1.8rem !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        grid-area: unset !important;
        justify-self: unset !important;
        align-self: unset !important;
        margin: 0 !important;
        /* Ensure consistent sizing */
        white-space: nowrap !important;
    }
    
    .nav {
        display: none !important;
        grid-area: unset !important;
    }
    
    .burger-menu {
        display: flex !important;
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        grid-area: unset !important;
        justify-self: unset !important;
        align-self: unset !important;
        margin: 0 !important;
        /* Consistent burger size across all mobile */
        width: 24px !important;
        height: 18px !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    
    .mobile-nav {
        display: block;
    }
}

/* Small screens (600px and below) */
@media (max-width: 600px) {
    .mobile-nav {
        width: 280px;
        padding: 70px 30px 30px 30px;
    }
    
    .mobile-nav a {
      font-family: var(--homepage-font-body);
        font-size: 1.08rem;
        padding: 12px 0;
    }
}

/* Very small screens (480px and below) */
@media (max-width: 480px) {
    .mobile-nav {
        width: 250px;
        padding: 65px 25px 25px 25px;
    }
    
    .mobile-nav a {
      font-family: var(--homepage-font-body);
        font-size: 1rem;
        padding: 10px 0;
    }
    
    /* Keep header size consistent - don't override padding */
}

/* Extra small screens (360px and below) */
@media (max-width: 360px) {
    .mobile-nav {
        width: 220px;
        padding: 60px 20px 20px 20px;
    }
    
    .mobile-nav a {
      font-family: var(--homepage-font-body);
        font-size: 0.95rem;
        padding: 8px 0;
    }
}

/*
==================================================
  Footer
==================================================
*/

.footer {
background: #000000;
  color: #ffffff;
  padding: 40px 28px;
  font-family: var(--homepage-font-body);
  font-size: 16px;
  margin-top: 0;
  width: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  align-items: flex-start;
  gap: 32px 72px;
  max-width: 980px;
  margin: 0 auto;
}

.footer-col {
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col h3 {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 0;
  font-family: var(--homepage-font-title);
  letter-spacing: 0.05em;
  color: #ffffff;
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li {
  margin-bottom: 0;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: var(--homepage-font-body);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.footer-col p {
  margin: 0;
  color: #ffffff;
  font-family: var(--homepage-font-body);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.footer-title {
  font-family: var(--homepage-font-title);
  font-weight: 300;
  letter-spacing: 0.05em;
}

/*
==================================================
  Hero Section Specific Styles
==================================================
*/

/* --- Hero Section Content --- */
.hero-left h1 {
  font-family: var(--homepage-font-subheading) !important;
  font-size: 3.4rem;
  font-weight: var(--homepage-font-subheading-weight) !important;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.hero-left p {
  font-family: var(--homepage-font-body);
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  text-align: center;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-left h2 {
  font-family: var(--homepage-font-subheading) !important;
  font-size: 1.6rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  text-align: center;
  font-weight: var(--homepage-font-subheading-weight) !important;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero-button {
  background-color: #000000;
  color: #ffffff;
  padding: 14px 32px;
  border: 1px solid #000000;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 20px;
  font-size: 16px;
  font-family: var(--homepage-font-body);
  font-weight: 400;
  letter-spacing: 0;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.hero-left .hero-button,
.hero-section.reverse .hero-right .hero-button {
  font-variant-caps: normal;
}

.hero-button:hover {
background-color: transparent;
color: #000000 !important;
border-color: #000000;
}

.hero-section.reverse .hero-right h1 {
  font-family: var(--homepage-font-subheading) !important;
  font-size: 3.4rem;
  font-weight: var(--homepage-font-subheading-weight) !important;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.hero-section.reverse .hero-right p {
  font-family: var(--homepage-font-body);
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  text-align: center;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-section.reverse .hero-right h2 {
  font-family: var(--homepage-font-subheading) !important;
  font-size: 1.6rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  text-align: center;
  font-weight: var(--homepage-font-subheading-weight) !important;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero-section.reverse .hero-right .hero-button {
  background-color: #000000;
  color: #ffffff;
  padding: 14px 32px;
  border: 1px solid #000000;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 20px;
  font-size: 16px;
  font-family: var(--homepage-font-body);
  font-weight: 400;
  letter-spacing: 0;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

/* Homepage typography overrides. */
.top-banner,
.nav a,
.mobile-nav a,
.cart-nav .cart-count,
.quad-content p,
.frame-option,
.frame-option p:last-child,
button,
.frame-guide-section,
.frame-guide-subtitle,
.frame-guide-step-number,
.frame-guide-box p,
.footer,
.footer-col a,
.footer-col p,
.footer-col > p,
.hero-left p,
.hero-button,
.hero-section.reverse .hero-right p,
.hero-section.reverse .hero-right .hero-button {
  font-family: var(--homepage-font-body) !important;
  font-weight: 400 !important;
  letter-spacing: -0.05em !important;
  line-height: 1.1 !important;
  font-variant-caps: normal !important;
}

.hero-left p,
.hero-section.reverse .hero-right p {
  word-spacing: -0.18em !important;
}

.info-bar,
.info-bar div {
  font-family: var(--homepage-font-subheading) !important;
  font-weight: var(--homepage-font-subheading-weight) !important;
  letter-spacing: var(--homepage-font-subheading-spacing) !important;
  line-height: 1.1 !important;
  font-variant-caps: normal !important;
}

.top-banner {
  font-family: var(--homepage-font-subheading) !important;
  font-weight: var(--homepage-font-subheading-weight) !important;
  letter-spacing: var(--homepage-font-subheading-spacing) !important;
  line-height: 1.1 !important;
  font-variant-caps: normal !important;
}

.frame-option-text p:first-child {
  font-family: var(--homepage-font-subheading) !important;
  font-weight: var(--homepage-font-subheading-weight) !important;
  letter-spacing: var(--homepage-font-subheading-spacing) !important;
  line-height: 1.1 !important;
}

body {
  font-family: var(--homepage-font-body) !important;
}

body *,
body *::before,
body *::after {
  font-weight: 400 !important;
  letter-spacing: -0.05em !important;
}

.hero-left h1,
.hero-section.reverse .hero-right h1,
.mobile-section-content h2 {
  font-family: var(--homepage-font-subheading) !important;
  font-weight: var(--homepage-font-subheading-weight) !important;
  letter-spacing: -0.01em !important;
  line-height: 1.1 !important;
}

.frame-guide-title {
  font-family: var(--homepage-font-title) !important;
  letter-spacing: 0.05em !important;
  line-height: 1.1 !important;
}

.frame-guide-box h3 {
  font-family: var(--homepage-font-title) !important;
  font-weight: 400 !important;
  letter-spacing: var(--homepage-font-title-spacing) !important;
  line-height: 1.1 !important;
}

.hero-section.reverse .hero-right .hero-button:hover {
background-color: transparent;
color: #000000 !important;
border-color: #000000;
}

/* Migrated from page head styles */



    /* Burger menu styles - copied from Pricing */
    .burger-menu {
      display: none;
      flex-direction: column;
      cursor: pointer;
      width: 24px;
      height: 18px;
      justify-content: space-between;
    }

    .burger-line {
      width: 100%;
      height: 2px;
      background-color: #000000;
      transition: all 0.3s ease;
    }

    .burger-menu.active .burger-line:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-menu.active .burger-line:nth-child(2) {
      opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Mobile navigation overlay */
    .mobile-nav-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 9998;
    }

    .mobile-nav {
      display: none;
      position: fixed;
      top: 0;
      right: -300px;
      width: 300px;
      height: 100%;
      background: #ffffff;
      z-index: 9999;
      transition: right 0.3s ease;
      padding: 80px 40px 40px 40px;
      box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .mobile-nav.active {
      right: 0;
    }

    .mobile-nav-close {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 2rem;
      color: #000000;
      cursor: pointer;
      font-weight: 300;
      line-height: 1;
      transition: color 0.3s ease;
      z-index: 10000;
      padding: 5px;
      user-select: none;
    }

    .mobile-nav-close:hover {
      color: #333;
    }

    .mobile-nav a {
      display: block;
      color: #000000;
      text-decoration: none;
      font-size: 1.1rem;
      font-weight: 300;
      font-family: var(--homepage-font-body);
      letter-spacing: 0;
      padding: 15px 0;
      border-bottom: 1px solid #f0f0f0;
      transition: color 0.3s ease;
    }

    .mobile-nav a:hover {
      color: #333;
    }

    .mobile-nav a:last-child {
      border-bottom: none;
    }

    /* Mobile Optimization Styles */
    @media (max-width: 768px) {
      /* Hide reverse hero section in mobile view */
      .hero-section.reverse {
        display: none !important;
      }

      /* Header optimizations */
      .secondary-header {
        padding: 0 15px;
        grid-template-columns: auto 1fr auto;
        gap: 15px;
        background: #ffffff;
      }

      .header-title {
        font-size: 52px !important;
      }

      .cart-nav {
        justify-self: start;
      }

      .burger-menu {
        display: flex;
        order: 1;
      }

      /* Hero section mobile optimization */
      .hero-section {
        position: relative;
        background: #000000;
        background-size: cover;
        background-position: center -100px;
        background-repeat: no-repeat;
        height: 590px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        overflow: hidden;
        flex-direction: column;
      }

      .hero-section.reverse {
        flex-direction: column;
      }

      .hero-left,
      .hero-right {
        max-width: 100%;
        margin: 0;
        position: relative;
        z-index: 1;
      }

      .hero-left {
        display: none !important;
      }

      .hero-section .pinterest-video {
        position: absolute;
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
        width: calc(100% - 40px);
        height: calc(100% - 40px);
        border-radius: 16px;
        object-fit: contain;
        z-index: 10;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
        pointer-events: none !important;
      }

      .hero-section .pinterest-video::-webkit-media-controls {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
      }

      .hero-section .pinterest-video::-webkit-media-controls-enclosure {
        display: none !important;
      }

      .hero-section .pinterest-video::-webkit-media-controls-panel {
        display: none !important;
      }

      .hero-section .pinterest-video::-webkit-media-controls-play-button {
        display: none !important;
      }

      .hero-section .pinterest-video::-webkit-media-controls-start-playback-button {
        display: none !important;
      }

      .hero-left.expanded {
        width: 100vw !important;
        height: 100vh !important;
        border-radius: 0 !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        z-index: 10 !important;
      }

      .hero-right {
        display: none !important;
      }

      .hero-left::before {
        content: "GOOD FRAME";
        position: absolute;
        top: 15px;
        left: 20px;
        color: #ffffff;
        font-weight: 700;
        font-size: 7px;
        z-index: 4;
        font-family: var(--homepage-font-body);
      }

      .hero-left::after {
        content: "EST. 2024";
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 7px;
        color: #ffffff;
        font-weight: 700;
        z-index: 4;
        font-family: var(--homepage-font-body);
      }

      .hero-left .carousel {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 30px;
        background: #000000;
        overflow: hidden;
        display: flex;
        align-items: center;
        border-radius: 0 0 16px 16px;
        transition: border-radius 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 3;
      }

      .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
        border-radius: 16px;
        pointer-events: none !important;
      }

      .hero-video::-webkit-media-controls {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
      }

      .hero-video::-webkit-media-controls-enclosure {
        display: none !important;
      }

      .hero-video::-webkit-media-controls-panel {
        display: none !important;
      }

      .hero-video::-webkit-media-controls-play-button {
        display: none !important;
      }

      .hero-video::-webkit-media-controls-start-playback-button {
        display: none !important;
      }

      .hero-left.expanded .hero-video {
        border-radius: 0;
      }

      .hero-left.expanded .carousel {
        border-radius: 0;
      }

      .hero-left .carousel-text {
        color: #ffffff;
        font-size: 12px;
        font-weight: 700;
        font-family: var(--homepage-font-body);
        white-space: nowrap;
        animation: scroll-carousel 15s linear infinite;
        text-transform: uppercase;
        letter-spacing: -0.025em;
      }

      @keyframes scroll-carousel {
        0% {
          transform: translateX(0%);
        }
        100% {
          transform: translateX(-50%);
        }
      }

      .hero-left h1 {
        font-size: 2.1rem !important;
        line-height: 1.1;
        margin: 15px 0 10px 0;
        color: #000000 !important;
        font-weight: 400;
        font-family: var(--homepage-font-subheading) !important;
        letter-spacing: -0.01em;
        text-align: center;
      }

      .hero-left p {
        font-size: 0.95rem !important;
        margin-bottom: 15px;
        color: #666 !important;
        font-weight: 400;
        line-height: 1.1;
        font-family: var(--homepage-font-body);
        letter-spacing: 0;
      }

      .hero-left .hero-button {
        display: none !important;
      }

      .hero-right {
        display: none;
      }

      .hero-image-alt {
        height: 300px;
        margin-bottom: 2rem;
      }

      /* Info bar mobile optimization - Carousel */
      .info-bar {
        background: #000000;
        padding: 20px 0;
        overflow: hidden;
        position: relative;
        height: 60px;
        display: flex;
        align-items: center;
      }

      .info-bar-carousel {
        display: flex;
        animation: scroll-info-bar 40s linear infinite;
        white-space: nowrap;
      }

      .info-bar div {
        font-size: 1rem;
        line-height: 1.4;
        color: #ffffff;
        margin-right: 60px;
        flex-shrink: 0;
        white-space: nowrap;
        font-family: var(--homepage-font-subheading);
        font-variant-caps: normal;
        letter-spacing: -0.025em;
      }

      @keyframes scroll-info-bar {
        0% {
          transform: translateX(0%);
        }
        100% {
          transform: translateX(-100%);
        }
      }

      /* Mobile-only section styles */
      .mobile-only-section {
        display: block;
        background: #ffffff;
        padding: 0px 0px 0px 0px;
        margin: 0;
      }

      .mobile-section-content {
        max-width: 400px;
        margin: 0 auto;
        text-align: center;
        padding: 30px 20px 0px 20px;
      }

      .mobile-section-content h2 {
        font-size: 2.05rem;
        color: #000000;
        margin-bottom: 15px;
        font-weight: 700;
        font-family: var(--homepage-font-body);
        letter-spacing: 0;
        line-height: 1.1;
        text-align: center;
      }

      .mobile-section-content > p {
        font-size: 0.95rem;
        color: #666;
        margin-bottom: 25px;
        line-height: 1.4;
        font-weight: 400;
        font-family: var(--homepage-font-body);
        letter-spacing: -0.025em;
      }

      .mobile-section-button {
        background-color: #000000;
        color: #ffffff !important;
        border: 1px solid #000000;
        border-radius: 6px;
        padding: 14px 32px;
        font-size: 16px;
        font-family: var(--homepage-font-body);
        font-weight: 300;
        letter-spacing: -0.025em;
        cursor: pointer;
        transition: all 0.2s ease;
        text-decoration: none;
        display: inline-block;
        text-align: center;
        margin-bottom: 30px;
      }

      .mobile-section-button:hover {
        background-color: transparent;
        color: #000000 !important;
        border-color: #000000;
      }

      .mobile-section-image {
        margin: 0;
        overflow: hidden;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
      }

      .mobile-section-image img {
        width: 100%;
        height: 250px;
        display: block;
        object-fit: cover;
      }

      .mobile-section-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin-top: 20px;
      }

      .mobile-section-item {
        background: #ffffff;
        padding: 25px 15px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      .mobile-section-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
      }

      .mobile-item-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
        display: block;
      }

      .mobile-section-item h3 {
        font-size: 1.1rem;
        color: #000000;
        margin-bottom: 8px;
        font-weight: 600;
        font-family: var(--homepage-font-body);
        letter-spacing: 0;
        line-height: 1.1;
      }

      .mobile-section-item p {
        font-size: 0.9rem;
        color: #666;
        line-height: 1.4;
        margin: 0;
        font-family: var(--homepage-font-body);
        letter-spacing: -0.025em;
      }

      /* Container and frame options mobile optimization */
      .container {
        padding: 40px 20px;
        text-align: center;
        background: #ffffff !important;
      }

      .container .hero-button {
        display: none !important;
      }

      .frame-options-row {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        justify-content: center;
        display: flex;
      }

      .frame-option {
        max-width: none;
        width: calc(100vw - 40px);
        margin: 0 auto;
        text-align: center;
        border: none !important;
        box-shadow: none !important;
      }

      .frame-option .frame-image {
        margin-bottom: 0;
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
      }

      .frame-option .frame-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top left;
        border-radius: 0 !important;
        border: none !important;
        display: block;
        box-shadow: none !important;
      }

      .frame-option-button {
        width: 100%;
        height: 50px;
        background-color: #000000;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        font-weight: 500;
        font-family: var(--homepage-font-body);
        text-decoration: none;
        margin-bottom: 15px;
        transition: background-color 0.3s ease;
        letter-spacing: -0.025em;
      }

      .frame-option-button:hover {
        background-color: #333333;
        color: #ffffff;
      }

      .frame-option p {
        font-size: 1rem !important;
        margin-bottom: 8px;
        text-align: left !important;
      }

      .frame-option-content {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100% !important;
      }

      .frame-option-text {
        flex: 1 !important;
      }

      .frame-option-text p {
        font-size: 1rem !important;
        margin-bottom: 8px;
        text-align: left !important;
        color: #000000 !important;
        letter-spacing: -0.025em;
      }

      .frame-option-price {
        font-size: 1.2rem !important;
        font-weight: 400 !important;
        color: #000000 !important;
        margin-left: 15px !important;
      }

      /* Gallery row mobile optimization */
      .gallery-row {
        display: flex;
        overflow: hidden;
        position: relative;
        background: #000000;
        padding: 0;
        gap: 0;
      }

      .gallery-carousel {
        display: flex;
        background: #000000;
        animation: gallery-scroll 45s linear infinite;
        gap: 0;
      }

      .gallery-image:nth-child(5) {
        grid-column: unset;
      }

      .gallery-image {
        border-radius: 0 !important;
        background: #000000;
        flex-shrink: 0;
        width: 70vw;
        height: 300px;
      }

      .gallery-image img {
        border-radius: 0 !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      @keyframes gallery-scroll {
        0% {
          transform: translateX(0);
        }
        100% {
          transform: translateX(-50%);
        }
      }

      /* Frame guide section mobile optimization */
      .frame-guide-section {
        padding: 30px 20px 35px 20px;
        text-align: center;
      }

      .frame-guide-title {
        font-size: 2.2rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.2 !important;
        font-weight: 400 !important;
      }

      .frame-guide-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 40px !important;
        line-height: 1.6 !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
      }

      .frame-guide-steps {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 50px;
        align-items: center;
      }

      .frame-guide-step {
        text-align: center;
        max-width: 280px;
        width: 100%;
        padding: 0 10px;
      }

      .frame-guide-step-icon {
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .frame-guide-step-icon img {
        width: 40px !important;
        height: 40px !important;
        object-fit: contain;
      }

      .frame-guide-box h3 {
        font-size: 1.4rem !important;
        margin-bottom: 12px !important;
        font-weight: 400 !important;
        line-height: 1.3 !important;
      }

      .frame-guide-box p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin: 0 !important;
        max-width: 100% !important;
      }

      /* Button mobile optimization */
      .hero-button {
        background: linear-gradient(135deg, #000000 0%, #000000 100%);
        color: #ffffff !important;
        border: none;
        border-radius: 25px;
        padding: 14px 28px;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: -0.025em;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        display: inline-block;
        position: relative;
        overflow: hidden;
        z-index: 1;
        font-family: var(--homepage-font-title);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      }

      /* Frame guide section button styling - match mobile section button */
      .frame-guide-section .hero-button {
        background-color: #000000 !important;
        background: #000000 !important;
        color: #ffffff !important;
        border: 1px solid #000000 !important;
        border-radius: 6px !important;
        padding: 14px 32px !important;
        font-size: 16px !important;
        font-family: var(--homepage-font-title) !important;
        font-weight: 400 !important;
        letter-spacing: -0.025em !important;
        text-transform: none !important;
        box-shadow: none !important;
      }

      .frame-guide-section .hero-button:hover {
        background-color: transparent !important;
        background: transparent !important;
        color: #000000 !important;
        border-color: #000000 !important;
        transform: none !important;
        box-shadow: none !important;
      }

      .frame-guide-section .hero-button:before {
        display: none !important;
      }

      .hero-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
      }

      .hero-button:before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
        z-index: -1;
      }

      .hero-button:hover:before {
        left: 100%;
      }

      /* Footer mobile optimization - Grid layout for precise positioning */
      .footer-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-gap: 20px !important;
        padding: 20px 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        align-items: start !important;
      }

      /* Footer column styling */
      .footer-col {
        text-align: center;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
      }

      /* Position first column (Navigation) on the left */
      .footer-col:first-child {
        grid-column: 1;
        justify-self: start;
      }

      /* Position second column (Contact) on the right */
      .footer-col:nth-child(2) {
        grid-column: 2;
        justify-self: end;
      }

      /* Hide Social column in mobile view */
      .footer-col:last-child {
        display: none !important;
      }

      /* Show regular footer headings */
      .footer-col > h3 {
        font-size: 0.8rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.95);
        margin-bottom: 12px;
        text-transform: uppercase;
        letter-spacing: 0;
        line-height: 1.1;
        text-decoration: none !important;
      }

      /* Show regular footer content */
      .footer-col > ul,
      .footer-col > p {
        display: block !important;
      }

      .footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .footer-col li {
        padding: 3px 0;
      }

      .footer-col p {
        padding: 3px 0;
        margin: 0;
      }

      .footer-col a,
      .footer-col p {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s ease;
        display: block;
        font-size: 0.7rem;
        line-height: 1.3;
        font-weight: 300;
      }

      /* Hide all dropdown elements */
      .footer-dropdown-header,
      .footer-dropdown-content,
      .footer-dropdown-arrow {
        display: none !important;
      }
    }

    /* Smaller mobile screens */
    @media (max-width: 480px) {
      .secondary-header {
        padding: 0 10px;
        height: 60px;
        gap: 10px;
      }

      .header-title {
        font-size: 52px !important;
      }

      .burger-menu {
        width: 22px;
        height: 16px;
      }

      .mobile-nav {
        width: 250px;
        padding: 65px 25px 25px 25px;
      }

      .mobile-nav a {
        font-size: 0.95rem;
        padding: 10px 0;
      }

      .hero-section {
        padding: 30px 15px;
      }

      .hero-left h1 {
        font-size: 1.9rem !important;
      }

      .hero-left p {
        font-size: 1rem !important;
      }

      .hero-right,
      .hero-image-alt {
        height: 250px;
      }

      .container {
        padding: 30px 15px;
      }

      .frame-guide-section {
        padding: 30px 15px 40px 15px;
      }

      .frame-guide-title {
        font-size: 1.9rem !important;
        margin-bottom: 1.2rem !important;
      }

      .frame-guide-subtitle {
        font-size: 1rem !important;
        margin-bottom: 35px !important;
        max-width: 95% !important;
      }

      .frame-guide-steps {
        gap: 35px;
        margin-bottom: 45px;
      }

      .frame-guide-step {
        max-width: 260px;
        padding: 0 5px;
      }

      .frame-guide-step-icon img {
        width: 36px !important;
        height: 36px !important;
      }

      .frame-guide-box h3 {
        font-size: 1.3rem !important;
        margin-bottom: 10px !important;
      }

      .frame-guide-box p {
        font-size: 0.95rem !important;
      }

      .gallery-row {
        padding: 0;
        gap: 0;
      }

      .info-bar {
        padding: 25px 15px;
      }

      .info-bar div {
        font-size: 0.85rem;
      }
    }

    @media (max-width: 360px) {
      .burger-menu {
        width: 20px;
        height: 14px;
      }

      .mobile-nav {
        width: 220px;
        padding: 60px 20px 20px 20px;
      }

      .mobile-nav a {
        font-size: 0.9rem;
        padding: 8px 0;
      }
    }

    /* Desktop styles - Hide video and carousel in hero section */
    @media (min-width: 769px) {
      .hero-section:not(.hero-section-duplicate) .hero-video {
        display: none !important;
      }

      .hero-section:not(.hero-section-duplicate) .carousel {
        display: none !important;
      }

      .hero-section .pinterest-video {
        display: none !important;
      }

      .mobile-only-section {
        display: none !important;
      }

      /* Desktop info bar - override mobile carousel styles */
      .info-bar {
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        background: #000000 !important;
        color: #ffffff !important;
        font-size: 18px !important;
        padding: 48px 0 40px 0 !important;
        font-family: var(--homepage-font-subheading) !important;
        font-variant-caps: normal !important;
        letter-spacing: var(--homepage-font-subheading-spacing) !important;
        height: auto !important;
        overflow: visible !important;
        position: static !important;
      }

      .info-bar-carousel {
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        width: 100% !important;
        animation: none !important;
        white-space: normal !important;
      }

      .info-bar div {
        text-align: center !important;
        flex: 1 !important;
        font-size: 15px !important;
        line-height: 1.25 !important;
        color: #ffffff !important;
        margin-right: 0 !important;
        padding: 0 12px !important;
        flex-shrink: 1 !important;
        white-space: normal !important;
        font-family: var(--homepage-font-subheading) !important;
        font-variant-caps: normal !important;
        letter-spacing: var(--homepage-font-subheading-spacing) !important;
      }

      /* Hide duplicate content - only show first 3 items */
      .info-bar div:nth-child(n + 4) {
        display: none !important;
      }

      /* Desktop gallery - restore original layout */
      .gallery-row {
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        gap: 40px !important;
        background: #000000 !important;
        padding: 32px 0 !important;
        margin: 0 !important;
        overflow-x: auto !important;
        animation: none !important;
        position: static !important;
      }

      .gallery-carousel {
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        background: #000000 !important;
        gap: 40px !important;
        animation: none !important;
        width: auto !important;
      }

      .gallery-image {
        width: 300px !important;
        height: 340px !important;
        background: #000000 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
      }

      .gallery-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 8px !important;
      }

      /* Hide duplicate images in desktop view */
      .gallery-image:nth-child(n + 6) {
        display: none !important;
      }

      /* Hide price and start framing button in frame options for desktop */
      .frame-option-button {
        display: none !important;
      }

      .frame-option-price {
        display: none !important;
      }

      /* How It Works: modern outlined-icon redesign, tablet (769-900px).
         Phone (<=768px) keeps the existing card layout above (and the
         numbered layout below 767px in mobile-overrides.css) unchanged;
         desktop (901px+) gets the equivalent treatment in desktop.css.
         Selectors are boosted with an "html body.homepage" prefix to
         reliably outrank the pre-existing "body.homepage .frame-guide-*"
         card design that otherwise also matches up to 900px. */
      .frame-guide-eyebrow {
        display: block !important;
        margin: 0 0 12px !important;
        color: #8a8a8a !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        font-family: var(--homepage-font-subheading) !important;
        letter-spacing: 0.16em !important;
        text-transform: uppercase !important;
      }

      html body.homepage .frame-guide-subtitle {
        margin-bottom: 56px !important;
      }

      html body.homepage .frame-guide-steps {
        position: relative !important;
        display: flex !important;
        grid-template-columns: none !important;
        justify-content: center !important;
        align-items: flex-start !important;
        gap: 40px !important;
        width: 100% !important;
        max-width: 700px !important;
        margin: 0 auto 64px !important;
      }

      .frame-guide-steps::before {
        content: '' !important;
        position: absolute !important;
        top: 30px !important;
        left: calc(100% / 6) !important;
        right: calc(100% / 6) !important;
        height: 1px !important;
        background: #d9d9d9 !important;
        z-index: 0 !important;
      }

      html body.homepage .frame-guide-step {
        position: relative !important;
        z-index: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 240px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        text-align: center !important;
      }

      html body.homepage .frame-guide-step-icon {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 60px !important;
        height: 60px !important;
        background: #ffffff !important;
        border: 1px solid rgba(7, 7, 7, 0.45) !important;
        border-radius: 50% !important;
        margin: 0 0 22px !important;
        transition: transform 180ms ease, border-color 180ms ease !important;
      }

      html body.homepage .frame-guide-step-icon img {
        width: 24px !important;
        height: 24px !important;
        filter: none !important;
      }

      html body.homepage .frame-guide-step:hover .frame-guide-step-icon {
        transform: scale(1.04) !important;
        border-color: #070707 !important;
      }

      html body.homepage .frame-guide-box {
        min-width: 0 !important;
        width: 100% !important;
        text-align: center !important;
      }

      html body.homepage .frame-guide-box h3 {
        text-align: center !important;
      }

      html body.homepage .frame-guide-box p {
        text-align: center !important;
      }

      .frame-guide-step-num {
        display: flex !important;
        position: absolute !important;
        top: -6px !important;
        right: -6px !important;
        z-index: 2 !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 22px !important;
        height: 22px !important;
        padding: 0 6px !important;
        border-radius: 999px !important;
        background: #070707 !important;
        color: #f9f2e6 !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        font-family: var(--homepage-font-body) !important;
      }

      /* Start Framing intentionally has no button styling of its own
         here - it uses the same shared .hero-button component (sizing,
         padding, border-radius, font, and the label<->arrow hover swap)
         as the other homepage primary buttons; see the "Matched
         homepage framing CTAs" rules in Shared/logo.css. */
    }

.header-title {
          font-family: var(--homepage-font-title) !important;
          letter-spacing: 0.05em !important;
        }

        .footer,
        .footer * {
          color: #ffffff !important;
        }

        .footer h3 {
          font-family: var(--homepage-font-title) !important;
          letter-spacing: 0.05em !important;
          line-height: 1.1 !important;
          text-decoration: none !important;
        }

        .footer a,
        .footer p,
        .footer li {
          font-family: var(--homepage-font-body) !important;
          letter-spacing: -0.05em !important;
          line-height: 1.1 !important;
        }

        .mobile-nav a,
        .hero-left::before,
        .hero-left::after,
        .hero-left .carousel-text,
        .hero-left p,
        .mobile-section-content > p,
        .mobile-section-item p,
        .frame-option-text p,
        .frame-option-price,
        .frame-guide-step,
        .footer a,
        .footer p,
        .footer li {
          font-family: var(--homepage-font-subheading) !important;
          font-weight: 400 !important;
          letter-spacing: var(--homepage-font-subheading-spacing) !important;
          line-height: 1.1 !important;
          font-variant-caps: normal !important;
        }

        .hero-left p {
          word-spacing: -0.18em !important;
        }

        .info-bar,
        .info-bar div {
          font-family: var(--homepage-font-subheading) !important;
          font-weight: 200 !important;
          letter-spacing: var(--homepage-font-subheading-spacing) !important;
          line-height: 1.1 !important;
          font-variant-caps: normal !important;
        }

        .top-banner {
          font-family: var(--homepage-font-subheading) !important;
          font-weight: 200 !important;
          letter-spacing: var(--homepage-font-subheading-spacing) !important;
          line-height: 1.1 !important;
          font-variant-caps: normal !important;
        }

        .frame-option-text p:first-child {
          font-family: var(--homepage-font-subheading) !important;
          letter-spacing: var(--homepage-font-subheading-spacing) !important;
          line-height: 1.1 !important;
        }

        body {
          font-family: var(--homepage-font-body) !important;
        }

        body *,
        body *::before,
        body *::after {
          font-weight: 400 !important;
          letter-spacing: -0.05em !important;
        }

        /* Remove underline from footer titles on mobile */
        @media (max-width: 768px) {
          .footer h3 {
            text-decoration: none !important;
          }
        }

        .nav a,
        .mobile-nav a,
        .legacy-nav a,
        .legacy-mobile-nav a {
          font-family: var(--homepage-font-subheading) !important;
        }

        button,
        .hero-button,
        .mobile-section-button,
        .frame-option-button,
        .frame-guide-section .hero-button {
          font-family: var(--homepage-font-body) !important;
          letter-spacing: -0.05em !important;
        }

        html,
        body,
        main {
          margin: 0 !important;
          padding: 0 !important;
          width: 100% !important;
          border: none !important;
          outline: none !important;
          box-shadow: none !important;
        }

        body {
          background: #ffffff !important;
          overflow-x: hidden !important;
        }

        :root {
          --homepage-font-title: 'Trolleybus Trial';
          --homepage-font-subheading: 'NType82';
          --homepage-font-body: 'Cutive Mono';
          --homepage-font-title-spacing: 0.05em;
          --homepage-font-subheading-spacing: 0;
          --homepage-font-subheading-weight: 300;
        }

        .font-category-title {
          font-family: var(--homepage-font-title) !important;
          letter-spacing: var(--homepage-font-title-spacing) !important;
        }

        .font-category-subheading {
          font-family: var(--homepage-font-subheading) !important;
          font-weight: var(--homepage-font-subheading-weight) !important;
          letter-spacing: var(--homepage-font-subheading-spacing) !important;
        }

        .font-category-body {
          font-family: var(--homepage-font-body) !important;
        }

        body,
        p,
        li,
        .frame-guide-section,
        .mobile-section-content,
        .frame-option,
        .frame-guide-box,
        .footer,
        .footer p,
        .footer a,
        .footer li,
        .footer-col p,
        .footer-col a,
        .footer-col li,
        .mobile-nav-close,
        .frame-option-text p:last-child,
        .quad-content p,
        .frame-guide-box p,
        .frame-guide-box li,
        .hero-section p,
        .hero-left p,
        .hero-right p {
          font-family: var(--homepage-font-body) !important;
        }

        .header-title,
        h1,
        h2,
        h3,
        .frame-guide-title,
        .footer h3,
        .quad-content h2 {
          font-family: var(--homepage-font-title) !important;
          letter-spacing: var(--homepage-font-title-spacing) !important;
        }

        .top-banner,
        .cart-nav .cart-count,
        .carousel-text,
        .info-bar .info-bar-item,
        .mobile-section-content p,
        .frame-option-text p:first-child,
        .frame-option-price,
        .frame-guide-subtitle,
        .frame-guide-label,
        .frame-guide-step,
        .info-bar,
        .footer-dropdown-header {
          font-family: var(--homepage-font-subheading) !important;
          font-weight: 200 !important;
          letter-spacing: var(--homepage-font-subheading-spacing) !important;
        }

        .frame-guide-subtitle {
          letter-spacing: -0.01em !important;
        }

        .frame-guide-box h3 {
          font-family: var(--homepage-font-title) !important;
          font-weight: 400 !important;
          letter-spacing: var(--homepage-font-title-spacing) !important;
        }

        .secondary-header .nav a,
        .nav a,
        .mobile-nav a {
          font-family: var(--homepage-font-body) !important;
          font-weight: 400 !important;
          letter-spacing: -0.05em !important;
        }

        .info-bar .info-bar-item {
          font-variant-caps: normal !important;
        }

        button,
        .hero-button,
        .mobile-section-button,
        .frame-option-button,
        .frame-guide-section .hero-button {
          font-family: var(--homepage-font-body) !important;
          letter-spacing: -0.05em !important;
        }

        .hero-section p,
        .hero-left p,
        .hero-right p {
          font-family: var(--homepage-font-body) !important;
          letter-spacing: 0 !important;
          word-spacing: 0 !important;
          line-height: 1.2 !important;
        }

        .hero-section.reverse .hero-right p,
        .hero-section.reverse .hero-right .hero-button,
        .mobile-section-content p,
        .mobile-section-content .mobile-section-button {
          font-family: var(--homepage-font-subheading) !important;
          letter-spacing: 0 !important;
        }

/* Final mobile header alignment */
@media (max-width: 768px) {
  .secondary-header {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) 72px !important;
    align-items: center !important;
    height: 65px !important;
    min-height: 65px !important;
    max-height: 65px !important;
    padding: 0 15px !important;
    gap: 0 !important;
  }

  .secondary-header .cart-nav {
    position: static !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    transform: none !important;
    margin: 0 !important;
  }

  .secondary-header .header-title {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    align-self: center !important;
    transform: translateY(4px) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: 65px !important;
    font-size: clamp(2.25rem, 10vw, 3.25rem) !important;
    line-height: 0.95 !important;
    white-space: nowrap !important;
  }

  .secondary-header .burger-menu {
    position: static !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    transform: none !important;
    margin: 0 !important;
  }

  .secondary-header .nav {
    display: none !important;
  }
}

/* Shared mobile header and pricing-style drawer */
@media (max-width: 768px) {
  header {
    background: #ffffff !important;
    box-shadow: none !important;
    border-bottom: none !important;
  }

  .top-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    height: auto !important;
    padding: 8px 16px !important;
    background: #000000 !important;
    color: #ffffff !important;
    border: 0 !important;
    text-align: center !important;
    font-family: var(--homepage-font-subheading, var(--font-family-subheading, 'NType82')) !important;
    font-size: 1rem !important;
    font-weight: 300 !important;
    font-style: normal !important;
    font-variant-caps: normal !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.1 !important;
  }

  .secondary-header {
    box-sizing: border-box !important;
    position: relative !important;
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) 72px !important;
    align-items: center !important;
    width: 100% !important;
    height: 65px !important;
    min-height: 65px !important;
    max-height: 65px !important;
    padding: 0 15px !important;
    gap: 0 !important;
    background: #ffffff !important;
    color: #000000 !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  .secondary-header .cart-nav {
    position: static !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    transform: none !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #000000 !important;
    text-decoration: none !important;
  }

  .secondary-header .cart-nav svg {
    width: 1.35rem !important;
    height: 1.35rem !important;
    stroke: #000000 !important;
    stroke-width: 2 !important;
  }

  .secondary-header .cart-nav .cart-count,
  .secondary-header .cart-count {
    color: #000000 !important;
    background: transparent !important;
    font-family: var(--homepage-font-body, var(--font-family, 'Cutive Mono')) !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    letter-spacing: -0.05em !important;
    line-height: 1.1 !important;
  }

  .secondary-header .header-title {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    align-self: center !important;
    transform: translateY(4px) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: 65px !important;
    color: #000000 !important;
    text-decoration: none !important;
    font-family: var(--homepage-font-title, var(--font-family-display, 'Trolleybus Trial')) !important;
    font-size: clamp(2.25rem, 10vw, 3.25rem) !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-variant-caps: normal !important;
    text-transform: none !important;
    letter-spacing: 0.05em !important;
    line-height: 0.95 !important;
    white-space: nowrap !important;
  }

  .secondary-header .nav {
    display: none !important;
  }

  .secondary-header .burger-menu {
    position: static !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    transform: none !important;
    margin: 0 !important;
    display: flex !important;
    width: 24px !important;
    height: 18px !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    cursor: pointer !important;
  }

  .secondary-header .burger-line,
  .burger-menu .burger-line {
    width: 100% !important;
    height: 2px !important;
    background: #000000 !important;
    transition: all 0.3s ease !important;
  }

  .burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px) !important;
  }

  .burger-menu.active .burger-line:nth-child(2) {
    opacity: 0 !important;
  }

  .burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px) !important;
  }

  .mobile-nav-overlay {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 9998 !important;
  }

  .mobile-nav-overlay.active {
    display: block !important;
  }

  .mobile-nav {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    right: -300px !important;
    width: min(300px, 82vw) !important;
    height: 100vh !important;
    padding: 78px 28px 28px !important;
    background: #ffffff !important;
    box-shadow: -2px 0 14px rgba(0, 0, 0, 0.08) !important;
    transition: right 0.3s ease !important;
    z-index: 9999 !important;
  }

  .mobile-nav.active {
    right: 0 !important;
  }

  .mobile-nav-close {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    padding: 4px !important;
    color: #000000 !important;
    font-family: var(--homepage-font-body, var(--font-family, 'Cutive Mono')) !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  .mobile-nav a {
    display: block !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(7, 7, 7, 0.08) !important;
    color: #000000 !important;
    text-decoration: none !important;
    font-family: var(--homepage-font-body, var(--font-family, 'Cutive Mono')) !important;
    font-size: 1.05rem !important;
    font-weight: 400 !important;
    letter-spacing: -0.05em !important;
    line-height: 1.1 !important;
  }

  .mobile-nav a:last-child {
    border-bottom: 0 !important;
  }
}
/* Exact Pricing mobile footer */
.footer,
footer.footer {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 32px 20px 36px !important;
  background: #000000 !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.footer,
.footer * {
  color: #ffffff !important;
}

.footer .footer-content,
footer.footer .footer-content,
.footer-content {
  box-sizing: border-box !important;
  width: min(100%, 560px) !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  align-items: start !important;
  justify-items: stretch !important;
}

.footer .footer-content .footer-col,
.footer .footer-content .footer-col:first-child,
.footer .footer-content .footer-col:nth-child(2),
.footer .footer-content .footer-col:nth-child(3),
.footer .footer-content .footer-col:last-child,
.footer-col,
.footer-col:first-child,
.footer-col:nth-child(2),
.footer-col:nth-child(3),
.footer-col:last-child {
  box-sizing: border-box !important;
  display: flex !important;
  flex: initial !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  grid-column: auto !important;
  grid-row: auto !important;
  order: initial !important;
  text-align: left !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer .footer-content .footer-col > h3,
.footer .footer-content .footer-col h3,
.footer-col h3,
.footer h3,
.footer-title {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Trolleybus Trial', 'Cutive Mono', monospace !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.05em !important;
  line-height: 1.1 !important;
  text-align: left !important;
  text-decoration: none !important;
  text-transform: none !important;
}

.footer .footer-content .footer-col > ul,
.footer .footer-content .footer-col ul,
.footer-col ul,
.footer-col > ul {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer .footer-content .footer-col ul li,
.footer-col ul li,
.footer-col li,
.footer li {
  display: list-item !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer .footer-content .footer-col > p,
.footer .footer-content .footer-col p,
.footer .footer-content .footer-col a,
.footer-col a,
.footer-col p,
.footer-col > p,
.footer li,
.footer p,
.footer a,
.footer-col p a {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  text-decoration: none !important;
  font-family: 'Cutive Mono', monospace !important;
  font-size: 0.88rem !important;
  font-weight: 400 !important;
  letter-spacing: -0.05em !important;
  line-height: 1.35 !important;
  text-transform: none !important;
}

.footer .footer-content .footer-col > p,
.footer .footer-content .footer-col p,
.footer-col p,
.footer-col > p,
.footer p {
  display: block !important;
}

.footer .footer-content .footer-col a,
.footer-col a,
.footer a,
.footer-col p a {
  display: inline !important;
}

.footer-dropdown-header,
.footer-dropdown-content,
.footer-dropdown-arrow {
  display: none !important;
}

.hero-section.reverse .hero-right .hero-subheading,
.mobile-section-content .hero-subheading {
  font-family: var(--homepage-font-subheading) !important;
  font-weight: 400 !important;
  letter-spacing: 0.05em !important;
  word-spacing: 0.12em !important;
  line-height: 1.3 !important;
}

/* Mobile homepage hero */
@font-face {
  font-family: 'Inter Homepage Hero';
  src: url('assets/fonts/New folder/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@media (max-width: 900px) {
  .desktop-home-hero {
    display: none !important;
  }

  .mobile-home-hero[hidden] {
    display: block !important;
  }
}

/* Premium mobile homepage layout and palette. */
@media (max-width: 900px) {
  body.homepage {
    --home-mobile-gutter: clamp(20px, 5.5vw, 24px);
    --home-mobile-section-space: clamp(52px, 14vw, 64px);
    overflow-x: clip;
    background: #ffffff !important;
    color: #000000 !important;
  }

  body.homepage main {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: #ffffff !important;
    color: #000000 !important;
  }

  body.homepage .mobile-home-hero {
    box-sizing: border-box;
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 34px var(--home-mobile-gutter) 32px;
    background: #ffffff !important;
    color: #000000 !important;
  }

  body.homepage .mobile-home-hero__content {
    width: min(100%, 600px);
    margin: 0 auto;
  }

  body.homepage .mobile-home-hero h1 {
    margin: 0 0 18px;
    color: #000000 !important;
    font-size: clamp(3.35rem, 15.5vw, 4.75rem) !important;
    font-weight: 400 !important;
    letter-spacing: -0.045em !important;
    line-height: 0.91 !important;
    text-align: left !important;
  }

  body.homepage .mobile-home-hero h1 span {
    display: block;
  }

  body.homepage .mobile-home-hero p {
    max-width: 370px;
    margin: 0;
    color: #171717 !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
  }

  body.homepage .mobile-home-hero__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    margin: 24px 0;
  }

  body.homepage .mobile-home-hero__primary,
  body.homepage .mobile-home-hero__secondary,
  body.homepage .mobile-section-button,
  body.homepage .frame-option-button,
  body.homepage .container > .hero-button,
  body.homepage .frame-guide-section > .hero-button {
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px !important;
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1.1 !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: none !important;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  }

  body.homepage .mobile-home-hero__primary,
  body.homepage .mobile-section-button,
  body.homepage .frame-option-button,
  body.homepage .container > .hero-button,
  body.homepage .frame-guide-section > .hero-button {
    background: #000000 !important;
    border: 1px solid #000000 !important;
    box-shadow: none !important;
    color: #ffffff !important;
  }

  body.homepage .mobile-home-hero__secondary {
    gap: 8px;
    background: #ffffff !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
  }

  body.homepage .mobile-home-hero__secondary span {
    color: #000000 !important;
    font-size: 1.1rem;
    line-height: 0;
  }

  body.homepage .mobile-home-hero__primary:hover,
  body.homepage .mobile-home-hero__primary:active,
  body.homepage .mobile-section-button:hover,
  body.homepage .mobile-section-button:active,
  body.homepage .frame-option-button:hover,
  body.homepage .frame-option-button:active,
  body.homepage .container > .hero-button:hover,
  body.homepage .container > .hero-button:active,
  body.homepage .frame-guide-section > .hero-button:hover,
  body.homepage .frame-guide-section > .hero-button:active {
    background: #222222 !important;
    border-color: #222222 !important;
    color: #ffffff !important;
    transform: none !important;
  }

  body.homepage .mobile-home-hero__secondary:hover,
  body.homepage .mobile-home-hero__secondary:active {
    background: #f5f5f5 !important;
    border-color: #000000 !important;
    color: #000000 !important;
  }

  body.homepage .mobile-home-hero__primary:focus-visible,
  body.homepage .mobile-home-hero__secondary:focus-visible,
  body.homepage .mobile-section-button:focus-visible,
  body.homepage .frame-option-button:focus-visible,
  body.homepage .container > .hero-button:focus-visible,
  body.homepage .frame-guide-section > .hero-button:focus-visible {
    outline: 3px solid #767676;
    outline-offset: 3px;
  }

  body.homepage .mobile-home-hero__image {
    width: 100%;
    height: clamp(240px, 66vw, 330px);
    overflow: hidden;
    border-radius: 14px;
    background: #f5f5f5 !important;
  }

  body.homepage .mobile-home-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
  }

  body.homepage .info-bar {
    box-sizing: border-box;
    display: block !important;
    width: 100%;
    height: auto !important;
    min-height: 88px;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: #000000 !important;
    color: #ffffff !important;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
  }

  body.homepage .info-bar::-webkit-scrollbar {
    display: none;
  }

  body.homepage .info-bar-carousel {
    display: flex !important;
    align-items: stretch;
    width: max-content !important;
    margin: 0 !important;
    animation: none !important;
    transform: none;
    white-space: normal !important;
  }

  body.homepage .info-bar .info-bar-item {
    box-sizing: border-box;
    display: flex !important;
    flex: 0 0 min(78vw, 280px) !important;
    align-items: center;
    min-height: 88px;
    margin: 0 !important;
    padding: 20px 22px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-size: 0.9375rem !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    scroll-snap-align: start;
  }

  body.homepage .info-bar .info-bar-item:nth-child(n + 4) {
    display: none !important;
  }

  body.homepage .info-bar .info-bar-item:nth-child(3) {
    border-right: 0;
  }

  body.homepage .mobile-only-section {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff !important;
    color: #000000 !important;
  }

  body.homepage .mobile-section-image {
    width: 100%;
    height: clamp(240px, 65vw, 300px);
    margin: 0;
    overflow: hidden;
    box-shadow: none !important;
  }

  body.homepage .mobile-section-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
  }

  body.homepage .mobile-section-content {
    box-sizing: border-box;
    width: min(100%, 600px);
    margin: 0 auto;
    padding: var(--home-mobile-section-space) var(--home-mobile-gutter);
    background: #ffffff !important;
    color: #000000 !important;
    text-align: center;
  }

  body.homepage .mobile-section-content h2 {
    max-width: 390px;
    margin: 0 auto 16px !important;
    color: #000000 !important;
    font-size: clamp(2.25rem, 10.5vw, 2.8rem) !important;
    font-weight: 400 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.06 !important;
  }

  body.homepage .mobile-section-content > p {
    max-width: 360px;
    margin: 0 auto 24px !important;
    color: #333333 !important;
    font-size: 1rem !important;
    letter-spacing: 0 !important;
    line-height: 1.55 !important;
  }

  body.homepage .mobile-section-button {
    width: min(100%, 220px);
    margin: 0 auto !important;
  }

  body.homepage .hero-section.reverse {
    display: none !important;
  }

  body.homepage .container {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: var(--home-mobile-section-space) 20px 64px !important;
    background: #f5f5f5 !important;
    color: #000000 !important;
  }

  body.homepage .frame-options-row {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 20px !important;
    width: min(100%, 390px) !important;
    margin: 0 auto 24px !important;
  }

  body.homepage .frame-option {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 16px !important;
    overflow: hidden;
    background: #ffffff !important;
    border: 1px solid #dedede !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
    color: #000000 !important;
    text-align: left !important;
  }

  body.homepage .frame-option .frame-image {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    margin: 0 0 16px !important;
    padding: 18px !important;
    overflow: hidden;
    background: #f7f7f7 !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  body.homepage .frame-option .frame-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.homepage .frame-option-button {
    width: 100% !important;
    margin: 0 0 18px !important;
  }

  body.homepage .frame-option-content {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
  }

  body.homepage .frame-option-text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body.homepage .frame-option-text p {
    margin: 0 !important;
    color: #000000 !important;
    text-align: left !important;
  }

  body.homepage .frame-option-text p:first-child {
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
  }

  body.homepage .frame-option-text p:last-child {
    margin-top: 6px !important;
    color: #444444 !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
  }

  body.homepage .frame-option-price {
    flex: 0 0 auto !important;
    margin: 0 !important;
    color: #000000 !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
  }

  body.homepage .container > .hero-button {
    width: min(100%, 390px);
    margin: 0 auto !important;
  }

  body.homepage .container > .hero-button::before,
  body.homepage .frame-guide-section > .hero-button::before {
    display: none !important;
  }

  body.homepage .gallery-row {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0 !important;
    overflow: hidden !important;
    background: #000000 !important;
  }

  body.homepage .gallery-carousel {
    display: flex !important;
    width: max-content;
    gap: 0 !important;
    margin: 0;
    background: #000000 !important;
    animation: gallery-scroll 45s linear infinite;
  }

  body.homepage .gallery-image {
    flex: 0 0 100vw !important;
    width: 100vw !important;
    height: clamp(240px, 65vw, 320px) !important;
    margin: 0 !important;
    overflow: hidden;
    background: #000000 !important;
    border-radius: 0 !important;
  }

  body.homepage .gallery-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
  }

  body.homepage .frame-guide-section {
    box-sizing: border-box;
    width: 100%;
    margin: 0 !important;
    padding: var(--home-mobile-section-space) 20px 68px !important;
    background: #ffffff !important;
    color: #000000 !important;
    text-align: center;
  }

  body.homepage .frame-guide-title {
    margin: 0 0 14px !important;
    color: #000000 !important;
    font-size: clamp(2.5rem, 11vw, 3rem) !important;
    font-weight: 400 !important;
    line-height: 1.08 !important;
  }

  body.homepage .frame-guide-subtitle {
    max-width: 360px !important;
    margin: 0 auto 28px !important;
    color: #333333 !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  body.homepage .frame-guide-steps {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 16px !important;
    width: min(100%, 390px);
    margin: 0 auto 28px !important;
  }

  body.homepage .frame-guide-step {
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 18px !important;
    background: #ffffff !important;
    border: 1px solid #dedede;
    border-radius: 14px;
    text-align: left !important;
  }

  body.homepage .frame-guide-step-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    background: #000000 !important;
    border-radius: 50%;
  }

  body.homepage .frame-guide-step-icon img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
    filter: brightness(0) invert(1) !important;
  }

  body.homepage .frame-guide-box {
    min-width: 0;
    text-align: left !important;
  }

  body.homepage .frame-guide-box h3 {
    margin: 0 0 6px !important;
    color: #000000 !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  body.homepage .frame-guide-box p {
    margin: 0 !important;
    color: #333333 !important;
    font-size: 0.9375rem !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }

  body.homepage .frame-guide-section > .hero-button {
    width: min(100%, 220px);
    margin: 0 auto !important;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  body.homepage .gallery-row {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
  }

  body.homepage .gallery-carousel {
    animation: none !important;
  }

  body.homepage .gallery-image {
    scroll-snap-align: start;
  }
}

/* Phone-only fixes: contained information carousel and compact How It Works cards. */
@media (max-width: 767px) {
  body.homepage .mobile-home-hero,
  body.homepage .mobile-home-hero__content,
  body.homepage .mobile-home-hero__image,
  body.homepage .mobile-home-hero__image img {
    border-radius: 0 !important;
  }

  body.homepage .info-bar {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 120px !important;
    min-height: 120px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #000000 !important;
    color: #ffffff !important;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
  }

  body.homepage .info-bar.is-interacting {
    cursor: grabbing;
  }

  body.homepage .info-bar-carousel {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    animation: none !important;
    transition: none;
    transform: translate3d(0, 0, 0);
    white-space: normal !important;
    will-change: transform;
  }

  body.homepage .info-bar-carousel.is-animating {
    transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  body.homepage .info-bar .info-bar-item,
  body.homepage .info-bar .info-bar-item:nth-child(n) {
    display: flex !important;
    flex: 0 0 100% !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 120px !important;
    min-height: 120px !important;
    margin: 0 !important;
    padding: 18px 24px 38px !important;
    color: #ffffff !important;
    border: 0 !important;
    font-size: 0.9375rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  body.homepage .info-bar-pagination {
    position: absolute;
    bottom: 15px;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
  }

  body.homepage .info-bar-dot,
  body.homepage .info-bar-dot:hover,
  body.homepage .info-bar-dot:active {
    display: block !important;
    width: 6px !important;
    min-width: 6px !important;
    height: 6px !important;
    min-height: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.42) !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body.homepage .info-bar-dot.is-active {
    background: #ffffff !important;
  }

  body.homepage .info-bar-dot:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
  }

  body.homepage .frame-guide-steps {
    align-items: stretch !important;
  }

  body.homepage .frame-guide-step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    padding: 20px 18px !important;
    text-align: center !important;
  }

  body.homepage .frame-guide-step-icon {
    display: none !important;
  }

  body.homepage .frame-guide-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
  }

  body.homepage .frame-guide-box h3 {
    margin: 0 0 8px !important;
    text-align: center !important;
  }

  body.homepage .frame-guide-box p {
    max-width: 310px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  body.homepage .info-bar-carousel.is-animating {
    transition: none !important;
  }
}

/* Final phone homepage composition. Desktop and tablet remain unchanged. */
@media (max-width: 767px) {
  body.homepage {
    --home-mobile-gutter: 24px;
    overflow-x: hidden !important;
    overflow-x: clip !important;
  }

  body.homepage main {
    overflow-x: hidden !important;
    overflow-x: clip !important;
  }

  body.homepage .mobile-home-hero {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: clamp(480px, 125vw, 570px) !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 40px 24px !important;
    overflow: hidden !important;
    background: #181512 !important;
    color: #ffffff !important;
  }

  body.homepage .mobile-home-hero::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    pointer-events: none;
  }

  body.homepage .mobile-home-hero__content {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 430px !important;
    height: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  body.homepage .mobile-home-hero h1 {
    position: relative !important;
    z-index: 2;
    width: 100% !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(1.85rem, 8.4vw, 2.8rem) !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 1.08 !important;
    text-align: center !important;
    text-wrap: balance;
  }

  body.homepage .mobile-home-hero h1 span {
    display: block !important;
    white-space: nowrap;
  }

  body.homepage .mobile-home-hero__actions {
    position: relative !important;
    z-index: 2;
    display: flex !important;
    justify-content: center !important;
    width: auto !important;
    margin: clamp(40px, 11vw, 50px) 0 0 !important;
  }

  body.homepage .mobile-home-hero__primary {
    width: auto !important;
    min-width: 150px !important;
    min-height: 46px !important;
    padding: 0 22px !important;
    border-radius: 7px !important;
    font-size: 0.9375rem !important;
    white-space: nowrap !important;
  }

  body.homepage .mobile-home-hero__image {
    position: absolute !important;
    z-index: 0;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body.homepage .mobile-home-hero__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 51% 58% !important;
  }

  body.homepage :is(.container, .frame-guide-section, .gallery-section) {
    box-sizing: border-box;
    max-width: 100% !important;
    padding-inline: 24px !important;
  }

  body.homepage :is(.frame-options-row, .frame-guide-steps) {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 100% !important;
  }

  body.homepage main img {
    max-width: 100%;
    height: auto;
  }
}
