/* Apple.com Design System & Stylesheet for Kudusi Jewellers */
@layer reset, base, theme, components, utilities;

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

  html {
    scroll-behavior: smooth;
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
  }

  body {
    min-block-size: 100vh;
    text-rendering: optimizeLegibility;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  img, picture, svg, video {
    display: block;
    max-inline-size: 100%;
    block-size: auto;
    object-fit: cover;
  }

  /* Logo images should contain, not cover */
  .logo-img {
    object-fit: contain !important;
  }

  input, button, textarea, select {
    font: inherit;
    color: inherit;
    background: transparent;
    border: none;
  }

  ul, ol {
    list-style: none;
  }

  a {
    text-decoration: none;
    color: inherit;
  }
}

@layer theme {
  :root {
    color-scheme: light; /* Strictly light mode (daymode) */

    /* Apple-inspired monochromatic tones with subtle gold accents */
    --gold-accent: #c5a880; /* Elegant gold for links/accents */
    --gold-accent-hover: #b49162;
    --apple-blue: #0071e3; /* Classic Apple CTA blue */
    --apple-blue-hover: #0077ed;

    /* Daymode Tones */
    --bg-primary: #ffffff;
    --bg-surface: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --border-color: #d2d2d7;
    --shadow-color: rgba(0, 0, 0, 0.04);
    --hdr-bg: rgba(255, 255, 255, 0.8);

    /* Fonts (SF Pro style native system stack) */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    
    /* Layout properties */
    --header-height: 70px; /* Doubled logo space compatibility */
    --container-max: 1024px; /* Apple uses structured margins */
    --radius-card: 18px; /* Smooth card curvature */
    --radius-btn: 980px; /* Fully rounded pill buttons */
    
    --transition-apple: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }
}

@layer base {
  body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    overflow-x: hidden;
    letter-spacing: -0.01em;
  }

  h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-primary);
    text-wrap: balance;
    letter-spacing: -0.02em;
  }

  h1 {
    font-size: clamp(2.5rem, 1.8rem + 3.5vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem);
  }

  h3 {
    font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  }

  p {
    font-size: clamp(1rem, 0.95rem + 0.1vw, 1.05rem);
    color: var(--text-secondary);
    line-height: 1.6;
    text-wrap: pretty;
  }

  p:not(:last-child) {
    margin-bottom: 1.2rem;
  }

  /* Accessible touch dimensions */
  a, button, select, input[type="submit"] {
    min-inline-size: 44px;
    min-block-size: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-apple);
  }

  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--apple-blue);
    outline-offset: 3px;
  }
}

@layer components {
  .container {
    max-inline-size: var(--container-max);
    margin-inline: auto;
    padding-inline: 1.25rem;
    width: 100%;
  }

  /* Announcement bar */
  .announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-family: var(--font-family);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    overflow: hidden;
  }

  .announcement-slider {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .announcement-text {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  }

  .announcement-text.active {
    opacity: 1;
    transform: translateY(0);
  }

  .announcement-text.exit {
    opacity: 0;
    transform: translateY(-100%);
  }

  /* Header - Apple style top menu */
  .site-header {
    position: fixed;
    top: 30px; /* Shifted below announcement bar */
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--hdr-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    display: flex;
    align-items: center;
  }

  /* Offset for non-home pages to clear the fixed top bar + header */
  main:not(:has(.hero-section)) {
    padding-top: 100px;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
  }

  .logo-link {
    display: flex;
    align-items: center;
    min-width: unset;
    min-height: unset;
    height: 100%;
    
    img {
      height: 44px; /* Doubled logo size */
      width: auto;
      object-fit: contain;
    }
  }

  .nav-menu {
    display: flex;
    gap: 2.2rem;
    align-items: center;

    a {
      font-size: 0.75rem; /* Small Apple style menu text */
      font-weight: 400;
      letter-spacing: -0.01em;
      color: #6e6e73;
      min-width: unset;
      min-height: unset;
      padding-block: 0.5rem;

      &:hover {
        color: #000000;
      }

      &.active {
        color: #000000;
      }
    }
  }

  .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 18px;
    height: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;

    span {
      width: 100%;
      height: 1.5px;
      background-color: var(--text-primary);
      transition: all var(--transition-apple);
      transform-origin: left center;
    }

    &[aria-expanded="true"] {
      span:first-child {
        transform: rotate(45deg) translate(1px, -1px);
      }
      span:nth-child(2) {
        opacity: 0;
        width: 0;
      }
      span:last-child {
        transform: rotate(-45deg) translate(1px, 1px);
      }
    }
  }

  /* Apple Style Hero Sections */
  .hero-section {
    padding-block-start: 100px;
    padding-block-end: 60px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    text-align: center;
  }

  .hero-center-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    
    h1 {
      max-width: 900px;
      margin-bottom: 1.25rem;
      font-weight: 600;
      display: flex;
      flex-direction: column;
      align-items: center;
      
      .brand-subtitle {
        display: block;
        color: var(--gold-accent);
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 0.75rem;
      }
    }

    p {
      max-width: 650px;
      font-size: 1.2rem;
      margin-bottom: 2rem;
      color: var(--text-secondary);
    }
  }

  .emerald-text-effect {
    font-size: clamp(2.4rem, 1.8rem + 3.2vw, 3.8rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #023015 0%, #00a86b 35%, #00ff99 65%, #023015 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: emerald-shine 6s linear infinite;
    display: inline-block;
  }

  @keyframes emerald-shine {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 200% 50%;
    }
  }

  .hero-video-wrapper {
    width: 100%;
    max-width: 650px;
    margin-inline: auto;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 12px 30px var(--shadow-color);
    aspect-ratio: 16 / 9;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
  }

  .hero-loop-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .parallax-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 3rem;
    border-radius: var(--radius-card);
    box-shadow: 0 20px 50px var(--shadow-color);
    aspect-ratio: 16 / 9;
    view-timeline-name: --parallax-view;
    view-timeline-axis: block;
  }

  .hero-media-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 650px; /* Same max-width as the video wrapper */
    margin-inline: auto; /* Centered */
    margin-top: 3rem;
    border-radius: var(--radius-card);
    box-shadow: 0 20px 50px var(--shadow-color);
    aspect-ratio: 16 / 9;
    view-timeline-name: --parallax-view;
    view-timeline-axis: block;
  }

  .hero-media-caption {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.5;
  }

  .parallax-img,
  .hero-parallax-img {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%; /* Oversized so it has room to translate */
    object-fit: cover;
    will-change: transform;
    
    /* Native Scroll-driven animation (progressive enhancement) */
    animation: parallax-scroll linear both;
    animation-timeline: --parallax-view;
    animation-range: entry 0% exit 100%;
  }

  @keyframes parallax-scroll {
    from {
      transform: translateY(-10%);
    }
    to {
      transform: translateY(10%);
    }
  }

  /* Apple Buttons & CTA Links */
  .btn {
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-btn);
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;

    &.btn-primary {
      background-color: var(--apple-blue);
      color: #ffffff;
      
      &:hover {
        background-color: var(--apple-blue-hover);
        transform: scale(1.02);
      }
    }

    &.btn-secondary {
      background-color: transparent;
      border-color: var(--border-color);
      color: var(--text-primary);
      
      &:hover {
        background-color: var(--bg-surface);
        transform: scale(1.02);
      }
    }
  }

  /* Apple Style borderless text link CTA */
  .cta-link {
    font-size: 1.05rem;
    color: var(--apple-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 400;
    min-width: unset;
    min-height: unset;
    padding-inline: 0.5rem;

    &:hover {
      text-decoration: underline;
    }

    &.gold {
      color: var(--gold-accent);
    }
  }

  /* WhatsApp CTA button customization */
  .whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #25D366;
    color: #ffffff;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-btn);
    font-size: 0.95rem;
    font-weight: 500;
    min-height: 40px;
    
    svg {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }

    &:hover {
      background-color: #22c35e;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    }
  }

  /* Sections */
  .section {
    padding-block: 70px;
  }

  .section-bg-subtle {
    background-color: var(--bg-surface);
  }

  .section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem auto;

    .sub-title {
      color: var(--gold-accent);
      text-transform: uppercase;
      font-size: 0.75rem;
      letter-spacing: 0.08em;
      font-weight: 500;
      margin-bottom: 0.5rem;
      display: block;
    }

    h2 {
      font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
      margin-bottom: 1rem;
    }
  }

  /* Grid Features */
  .grid-three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-block: 2rem;
  }

  .feature-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-card);
    padding: 2.5rem 2rem;
    transition: transform var(--transition-apple), box-shadow var(--transition-apple);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px var(--shadow-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;

    h3 {
      font-size: 1.35rem;
      font-weight: 600;
    }

    p {
      margin: 0;
      font-size: 0.95rem;
    }

    &:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px var(--shadow-color);
    }
  }

  /* Row layouts / Showcase Blocks */
  .showcase-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-block: 3rem;

    &.reverse {
      direction: rtl;
      
      .showcase-content, .showcase-media {
        direction: ltr;
      }
    }
  }

  .showcase-media {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 12px 30px var(--shadow-color);
    aspect-ratio: 16 / 10;
    
    img {
      width: 100%;
      height: 100%;
      transition: transform 6s ease;

      &:hover {
        transform: scale(1.04);
      }
    }
  }

  .showcase-content {
    h3 {
      font-size: 1.75rem;
      margin-bottom: 0.75rem;
    }
    
    p {
      margin-bottom: 1.5rem;
    }
  }

  .strengths-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
  }

  .strengths-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .strength-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;

    h4 {
      font-size: 1.05rem;
      font-weight: 600;
      margin-bottom: 0.25rem;
    }

    p {
      margin: 0;
      font-size: 0.95rem;
    }
  }

  .showcase-grid-two {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }

  .gem-showcase-card {
    position: relative;
    width: 100%;
    min-height: 280px;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 12px 36px var(--shadow-color);
    background-color: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }

  .gem-showcase-card img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    display: block;
    will-change: transform;
    border-radius: 8px;
  }

  /* Location Card: Zoom In effect on hover */
  .location-card img {
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1);
  }

  .location-card:hover img {
    transform: scale(1.15);
  }

  /* Inspection Card: Zoom Out effect on hover */
  .inspection-card img {
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1.15); /* Starts slightly zoomed in */
  }

  .inspection-card:hover img {
    transform: scale(1); /* Zooms out to 1 */
  }

  /* Testimonial Quote */
  .quote-container {
    background-color: var(--bg-surface);
    padding: 3rem;
    border-radius: var(--radius-card);
    box-shadow: 0 8px 24px var(--shadow-color);
    margin-block: 3rem;
    text-align: center;

    blockquote {
      p {
        font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
        font-weight: 400;
        color: var(--text-primary);
        line-height: 1.4;
        margin-bottom: 2rem;
        letter-spacing: -0.02em;
      }
    }

    cite {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.75rem;
      font-style: normal;

      .cite-img {
        width: 48px;
        height: 48px;
        border-radius: var(--radius-round);
        overflow: hidden;
        border: 1.5px solid var(--border-color);

        img {
          width: 100%;
          height: 100%;
        }
      }

      .cite-info {
        strong {
          display: block;
          font-size: 0.95rem;
          font-weight: 600;
          color: var(--text-primary);
        }
        span {
          font-size: 0.8rem;
          color: var(--text-secondary);
          text-transform: uppercase;
          letter-spacing: 0.05em;
        }
      }
    }
  }

  /* About specific elements */
  .leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-block: 3rem;
  }

  .leader-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 8px 24px var(--shadow-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: transform var(--transition-apple), border-color var(--transition-apple);

    .leader-avatar {
      width: 100px;
      height: 100px;
      border-radius: var(--radius-round);
      overflow: hidden;
      border: 2px solid var(--border-color);
      margin-bottom: 1.5rem;
      box-shadow: 0 4px 12px var(--shadow-color);

      img {
        width: 100%;
        height: 100%;
      }
    }

    h3 {
      font-size: 1.25rem;
      margin-bottom: 0.25rem;
      font-weight: 600;
    }

    .leader-title {
      font-size: 0.8rem;
      color: var(--gold-accent);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-weight: 500;
      margin-bottom: 1.25rem;
    }

    p {
      font-size: 0.9rem;
      margin: 0;
      line-height: 1.5;
    }

    &:hover {
      transform: translateY(-4px);
      border-color: var(--gold-accent);
    }
  }

  /* Contact layouts */
  .contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    margin-block: 3rem;
  }

  .contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;

    .info-group {
      display: flex;
      gap: 1.25rem;
      align-items: flex-start;

      h3 {
        font-size: 0.85rem;
        font-weight: 500;
        margin-bottom: 0.35rem;
        text-transform: uppercase;
        color: var(--text-secondary);
        letter-spacing: 0.05em;
      }

      p, a {
        font-size: 1.05rem;
        margin: 0;
        color: var(--text-primary);
      }

      a {
        min-width: unset;
        min-height: unset;
        display: inline;
        
        &:hover {
          color: var(--apple-blue);
        }
      }
      
      .phone-row {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.4rem;
        
        a {
          display: inline-flex;
          align-items: center;
          gap: 0.4rem;
          
          svg {
            width: 16px;
            height: 16px;
            fill: #25D366;
            flex-shrink: 0;
          }
        }
      }
    }
  }

  .form-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 3rem;
    box-shadow: 0 12px 30px var(--shadow-color);
  }

  .form-group {
    margin-bottom: 1.5rem;

    label {
      display: block;
      font-size: 0.8rem;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 0.5rem;
      color: var(--text-secondary);
    }

    input[type="text"],
    input[type="email"],
    textarea {
      width: 100%;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 0.75rem 1rem;
      background-color: var(--bg-primary);
      color: var(--text-primary);
      transition: border-color var(--transition-apple), box-shadow var(--transition-apple);

      &:focus {
        outline: none;
        border-color: var(--apple-blue);
        box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
      }
    }

    textarea {
      resize: vertical;
      min-height: 120px;
    }
  }

  /* Comments */
  .comments-container {
    max-width: 700px;
    margin: 3.5rem auto 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 3.5rem;

    h2 {
      font-size: 1.75rem;
      margin-bottom: 2rem;
    }
  }

  .comment-form {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 2.5rem;
    box-shadow: 0 8px 24px var(--shadow-color);
    margin-top: 2.5rem;
  }

  /* Success Modal */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-apple);

    &.active {
      opacity: 1;
      pointer-events: auto;
    }
  }

  .modal-content {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 3rem;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform var(--transition-apple);

    .modal-overlay.active & {
      transform: translateY(0);
    }

    .modal-icon {
      font-size: 3rem;
      color: var(--apple-blue);
      margin-bottom: 1.25rem;
    }

    h3 {
      font-size: 1.5rem;
      margin-bottom: 0.75rem;
    }

    p {
      margin-bottom: 1.75rem;
    }
  }

  /* Footer - Apple style clean links directory */
  .site-footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding-block: 50px 30px;
    color: var(--text-secondary);
    font-size: 0.75rem; /* Tiny text like Apple footer */
    line-height: 1.6;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
  }

  .footer-col {
    h3 {
      font-size: 0.75rem;
      font-weight: 500;
      color: var(--text-primary);
      margin-bottom: 1rem;
    }

    p {
      font-size: 0.75rem;
      line-height: 1.6;
      color: var(--text-secondary);
    }

    a {
      min-width: unset;
      min-height: unset;
      display: inline;
      font-size: 0.75rem;
      color: var(--text-secondary);
      
      &:hover {
        color: var(--text-primary);
        text-decoration: underline;
      }
    }

    .footer-links-list {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-secondary);

    .footer-links {
      display: flex;
      gap: 1.5rem;

      a {
        min-width: unset;
        min-height: unset;
        font-size: 0.75rem;
        
        &:hover {
          color: var(--text-primary);
          text-decoration: underline;
        }
      }
    }
  }
}

@layer utilities {
  .text-accent { color: var(--gold-accent); }
  .text-blue { color: var(--apple-blue); }
  .text-center { text-align: center; }
  
  .mt-1 { margin-top: 1rem; }
  .mt-2 { margin-top: 2rem; }
  .mt-3 { margin-top: 3rem; }
  
  .mb-1 { margin-bottom: 1rem; }
  .mb-2 { margin-bottom: 2rem; }
  
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
}

/* Responsiveness Media Queries */
@media (max-width: 992px) {
  .showcase-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;

    &.reverse {
      direction: ltr;
    }
  }

  .showcase-media {
    max-width: 550px;
    margin-inline: auto;
    width: 100%;
  }

  .strengths-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .leaders-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 48px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background-color: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    padding: 80px 1.5rem 1.5rem 1.5rem;
    gap: 1.5rem;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform var(--transition-apple);
    z-index: 99;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);

    &.active {
      transform: translateX(0);
    }

    a {
      font-size: 0.95rem;
      width: 100%;
      padding-block: 0.4rem;
      color: var(--text-primary);
    }
  }

  .leaders-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  .form-card {
    padding: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    text-align: center;

    .footer-links {
      justify-content: center;
      flex-wrap: wrap;
      gap: 1rem;
    }
  }
}

@media (pointer: coarse) {
  a, button, select, input[type="submit"] {
    min-inline-size: 48px;
    min-block-size: 48px;
  }
}

/* Reduced Motion Support */
@property --animation-reduced {
  syntax: "*";
  inherits: false;
  initial-value: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: var(--animation-reduced) !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  
  .parallax-img,
  .hero-parallax-img,
  .showcase-media img:hover {
    transform: none !important;
    animation: none !important;
  }
}

/* Alternate Presence & Strengths rows */
.presence-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.presence-row.reverse-row {
  grid-template-columns: 1.2fr 1fr;
}

.presence-content {
  h2 {
    font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
  }
}

.presence-media {
  width: 100%;
}

.checkmark-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;

  li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;

    &::before {
      content: "✓";
      position: absolute;
      left: 0;
      top: 0;
      color: var(--gold-accent);
      font-weight: 700;
      font-size: 1.2rem;
    }
  }
}

/* Sapphire Blue live text effect */
.sapphire-text-effect {
  font-size: clamp(1.2rem, 1rem + 1.5vw, 1.7rem);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  background: linear-gradient(135deg, #0a2540 0%, #1e4bb0 35%, #00ccff 65%, #0a2540 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: sapphire-shine 6s linear infinite;
  display: inline-block;
}

@keyframes sapphire-shine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@media (max-width: 768px) {
  .presence-row,
  .presence-row.reverse-row {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }
  
  .presence-row.reverse-row .presence-media {
    order: 2;
  }
}

