:root {
      --maroon: #a71930;
      --maroon-dark: #861326;
      --maroon-soft: #f9ebee;
      --navy: #123b66;
      --navy-dark: #082846;
      --navy-soft: #edf5fb;
      --gold: #d6a33c;
      --gold-light: #f2d89c;
      --ink: #243343;
      --muted: #667483;
      --line: #dfe7ed;
      --white: #ffffff;
      --cream: #fbfaf7;
      --shadow-sm: 0 10px 30px rgba(8, 40, 70, 0.08);
      --shadow-md: 0 18px 50px rgba(8, 40, 70, 0.14);
      --shadow-lg: 0 30px 90px rgba(8, 40, 70, 0.22);
      --radius: 24px;
      --container: 1240px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at 10% 15%, rgba(167, 25, 48, 0.05), transparent 24rem),
        radial-gradient(circle at 90% 40%, rgba(18, 59, 102, 0.06), transparent 26rem),
        var(--cream);
      min-height: 100vh;
      overflow-x: hidden;
    }

    body.lightbox-open {
      overflow: hidden;
    }

    img {
      display: block;
      max-width: 100%;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button {
      font: inherit;
    }

    .container {
      width: min(calc(100% - 32px), var(--container));
      margin-inline: auto;
    }

    /* Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.9);
      border-bottom: 1px solid rgba(223, 231, 237, 0.9);
      backdrop-filter: blur(18px);
    }

    .navbar {
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .brand-logo {
      width: 52px;
      height: 52px;
      object-fit: contain;
      border-radius: 14px;
      background: var(--white);
    }

    .brand-copy strong {
      display: block;
      color: var(--navy-dark);
      font-size: 1rem;
      line-height: 1.15;
      letter-spacing: -0.02em;
    }

    .brand-copy span {
      color: var(--maroon);
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 26px;
      list-style: none;
      color: var(--navy-dark);
      font-size: 0.94rem;
      font-weight: 700;
    }

    .nav-links a {
      position: relative;
      padding-block: 8px;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      right: 100%;
      bottom: 0;
      height: 2px;
      background: var(--maroon);
      border-radius: 99px;
      transition: right 0.25s ease;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      right: 0;
    }

    .nav-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 0 20px;
      border-radius: 14px;
      color: var(--white);
      background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
      font-weight: 800;
      box-shadow: 0 10px 24px rgba(167, 25, 48, 0.22);
    }

    /* Hero */
    .gallery-hero {
      position: relative;
      padding: 88px 0 60px;
      overflow: hidden;
    }

    .gallery-hero::before,
    .gallery-hero::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      filter: blur(2px);
      pointer-events: none;
    }

    .gallery-hero::before {
      width: 420px;
      height: 420px;
      right: -180px;
      top: -170px;
      background: radial-gradient(circle, rgba(167, 25, 48, 0.15), transparent 65%);
    }

    .gallery-hero::after {
      width: 360px;
      height: 360px;
      left: -180px;
      bottom: -200px;
      background: radial-gradient(circle, rgba(18, 59, 102, 0.16), transparent 65%);
    }

    .hero-grid {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
      align-items: end;
      gap: 48px;
      z-index: 1;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 18px;
      padding: 8px 13px;
      border: 1px solid rgba(167, 25, 48, 0.18);
      border-radius: 999px;
      color: var(--maroon);
      background: rgba(255, 255, 255, 0.72);
      font-size: 0.78rem;
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      box-shadow: var(--shadow-sm);
    }

    .eyebrow-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--gold);
      box-shadow: 0 0 0 5px rgba(214, 163, 60, 0.14);
    }

    .hero-title {
      max-width: 760px;
      color: var(--navy-dark);
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(2.7rem, 5.7vw, 5.8rem);
      font-weight: 700;
      line-height: 0.95;
      letter-spacing: -0.055em;
    }

    .hero-title span {
      color: var(--maroon);
    }

    .hero-description {
      max-width: 670px;
      margin-top: 24px;
      color: var(--muted);
      font-size: clamp(1rem, 1.4vw, 1.14rem);
      line-height: 1.8;
    }

    .hero-card {
      position: relative;
      padding: 28px;
      border: 1px solid rgba(255, 255, 255, 0.8);
      border-radius: var(--radius);
      background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 245, 251, 0.8));
      box-shadow: var(--shadow-md);
      overflow: hidden;
    }

    .hero-card::before {
      content: "";
      position: absolute;
      width: 120px;
      height: 120px;
      top: -60px;
      right: -40px;
      border-radius: 50%;
      background: rgba(214, 163, 60, 0.18);
    }

    .hero-card small {
      display: block;
      margin-bottom: 8px;
      color: var(--maroon);
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    .hero-card strong {
      display: block;
      color: var(--navy-dark);
      font-size: clamp(2.8rem, 6vw, 4.8rem);
      line-height: 1;
      letter-spacing: -0.06em;
    }

    .hero-card p {
      margin-top: 14px;
      color: var(--muted);
      line-height: 1.65;
    }

    /* Gallery controls */
    .gallery-section {
      padding: 24px 0 100px;
    }

    .gallery-toolbar {
      position: sticky;
      top: 94px;
      z-index: 50;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 30px;
      padding: 15px 16px 15px 20px;
      border: 1px solid rgba(223, 231, 237, 0.95);
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.86);
      box-shadow: var(--shadow-sm);
      backdrop-filter: blur(16px);
    }

    .toolbar-copy strong {
      display: block;
      color: var(--navy-dark);
      font-size: 0.98rem;
    }

    .toolbar-copy span {
      display: block;
      margin-top: 3px;
      color: var(--muted);
      font-size: 0.82rem;
    }

    .view-switch {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 5px;
      border-radius: 13px;
      background: var(--navy-soft);
    }

    .view-button {
      width: 42px;
      height: 38px;
      border: 0;
      border-radius: 10px;
      color: var(--navy);
      background: transparent;
      cursor: pointer;
      transition: 0.2s ease;
    }

    .view-button:hover,
    .view-button.active {
      color: var(--white);
      background: var(--navy);
      box-shadow: 0 8px 18px rgba(18, 59, 102, 0.18);
    }

    .view-button svg {
      width: 18px;
      height: 18px;
      margin: auto;
      fill: currentColor;
    }

    /* Masonry */
    .gallery-grid {
      column-count: 4;
      column-gap: 18px;
    }

    .gallery-grid.compact {
      column-count: 5;
      column-gap: 14px;
    }

    .gallery-item {
      position: relative;
      width: 100%;
      margin-bottom: 18px;
      border: 0;
      border-radius: 20px;
      background: var(--white);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      break-inside: avoid;
      cursor: zoom-in;
      isolation: isolate;
      animation: reveal 0.55s both;
      animation-delay: calc(var(--order, 0) * 26ms);
      transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
    }

    .gallery-grid.compact .gallery-item {
      margin-bottom: 14px;
      border-radius: 16px;
    }

    .gallery-item:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
    }

    .gallery-media {
      position: relative;
      min-height: 210px;
      overflow: hidden;
      background:
        linear-gradient(90deg, #edf2f5 25%, #f7f9fa 50%, #edf2f5 75%);
      background-size: 200% 100%;
      animation: shimmer 1.4s infinite;
    }

    .gallery-item.loaded .gallery-media {
      min-height: 0;
      animation: none;
      background: #eaf0f4;
    }

    .gallery-media img {
      width: 100%;
      height: auto;
      opacity: 0;
      transform: scale(1.02);
      transition:
        opacity 0.5s ease,
        transform 0.6s ease;
    }

    .gallery-item.loaded .gallery-media img {
      opacity: 1;
    }

    .gallery-item:hover .gallery-media img {
      transform: scale(1.055);
    }

    .gallery-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 14px;
      padding: 18px;
      color: var(--white);
      background:
        linear-gradient(to top, rgba(4, 24, 44, 0.78), rgba(4, 24, 44, 0.02) 52%);
      opacity: 0;
      transition: opacity 0.25s ease;
    }

    .gallery-item:hover .gallery-overlay,
    .gallery-item:focus-visible .gallery-overlay {
      opacity: 1;
    }

    .photo-number {
      font-size: 0.8rem;
      font-weight: 850;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .zoom-icon {
      display: grid;
      place-items: center;
      width: 42px;
      height: 42px;
      flex: 0 0 42px;
      border: 1px solid rgba(255, 255, 255, 0.34);
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.17);
      backdrop-filter: blur(12px);
    }

    .zoom-icon svg {
      width: 19px;
      height: 19px;
      fill: currentColor;
    }

    .orientation-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      z-index: 2;
      padding: 7px 10px;
      border-radius: 999px;
      color: var(--navy-dark);
      background: rgba(255, 255, 255, 0.88);
      font-size: 0.69rem;
      font-weight: 850;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      box-shadow: 0 6px 16px rgba(8, 40, 70, 0.1);
      backdrop-filter: blur(10px);
    }

    /* Lightbox */
    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 999;
      display: grid;
      place-items: center;
      padding: 28px;
      color: var(--white);
      background: rgba(2, 14, 27, 0.94);
      backdrop-filter: blur(18px);
      opacity: 0;
      visibility: hidden;
      transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
    }

    .lightbox.open {
      opacity: 1;
      visibility: visible;
    }

    .lightbox-stage {
      position: relative;
      display: grid;
      grid-template-rows: minmax(0, 1fr) auto;
      width: min(95vw, 1500px);
      height: min(92vh, 980px);
      gap: 18px;
    }

    .lightbox-figure {
      min-height: 0;
      display: grid;
      place-items: center;
      border-radius: 22px;
      overflow: hidden;
    }

    .lightbox-image {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      border-radius: 18px;
      box-shadow: var(--shadow-lg);
      user-select: none;
    }

    .lightbox-caption {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      min-height: 30px;
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.9rem;
      text-align: center;
    }

    .lightbox-caption strong {
      color: var(--white);
    }

    .lightbox-close,
    .lightbox-nav {
      position: absolute;
      z-index: 3;
      display: grid;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.18);
      color: var(--white);
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(14px);
      cursor: pointer;
      transition: 0.2s ease;
    }

    .lightbox-close:hover,
    .lightbox-nav:hover {
      background: var(--maroon);
      border-color: var(--maroon);
      transform: scale(1.04);
    }

    .lightbox-close {
      top: 20px;
      right: 20px;
      width: 48px;
      height: 48px;
      border-radius: 50%;
    }

    .lightbox-nav {
      top: 50%;
      width: 52px;
      height: 74px;
      border-radius: 17px;
      transform: translateY(-50%);
    }

    .lightbox-nav:hover {
      transform: translateY(-50%) scale(1.04);
    }

    .lightbox-prev {
      left: 20px;
    }

    .lightbox-next {
      right: 20px;
    }

    .lightbox-close svg,
    .lightbox-nav svg {
      width: 22px;
      height: 22px;
      fill: currentColor;
    }

    .lightbox-counter {
      position: absolute;
      top: 24px;
      left: 24px;
      padding: 9px 13px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.09);
      font-size: 0.8rem;
      font-weight: 800;
      backdrop-filter: blur(12px);
    }

    /* Empty/error */
    .gallery-item.error {
      display: none;
    }

    /* Footer */
    .site-footer {
      padding: 34px 0;
      color: rgba(255, 255, 255, 0.76);
      background: var(--navy-dark);
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .footer-inner strong {
      display: block;
      color: var(--white);
      margin-bottom: 4px;
    }

    .footer-inner small {
      font-size: 0.8rem;
    }

    .back-top {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--gold-light);
      font-size: 0.86rem;
      font-weight: 800;
    }

    @keyframes shimmer {
      to {
        background-position: -200% 0;
      }
    }

    @keyframes reveal {
      from {
        opacity: 0;
        transform: translateY(18px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 1120px) {
      .gallery-grid {
        column-count: 3;
      }

      .gallery-grid.compact {
        column-count: 4;
      }

      .nav-links {
        gap: 18px;
      }
    }

    @media (max-width: 900px) {
      .nav-links,
      .nav-cta {
        display: none;
      }

      .navbar {
        min-height: 72px;
      }

      .brand-logo {
        width: 46px;
        height: 46px;
      }

      .gallery-hero {
        padding-top: 64px;
      }

      .hero-grid {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 28px;
      }

      .hero-card {
        max-width: 430px;
      }

      .gallery-toolbar {
        top: 82px;
      }
    }

    @media (max-width: 720px) {
      .gallery-grid,
      .gallery-grid.compact {
        column-count: 2;
        column-gap: 12px;
      }

      .gallery-item,
      .gallery-grid.compact .gallery-item {
        margin-bottom: 12px;
        border-radius: 15px;
      }

      .orientation-badge {
        top: 10px;
        left: 10px;
        padding: 6px 8px;
        font-size: 0.62rem;
      }

      .gallery-overlay {
        opacity: 1;
        padding: 12px;
        background: linear-gradient(to top, rgba(4, 24, 44, 0.72), transparent 48%);
      }

      .zoom-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
      }

      .gallery-toolbar {
        align-items: center;
        padding: 13px 13px 13px 16px;
      }

      .toolbar-copy span {
        display: none;
      }

      .lightbox {
        padding: 18px 10px;
      }

      .lightbox-stage {
        height: 88vh;
      }

      .lightbox-nav {
        top: auto;
        bottom: 18px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        transform: none;
      }

      .lightbox-nav:hover {
        transform: scale(1.04);
      }

      .lightbox-prev {
        left: 18px;
      }

      .lightbox-next {
        right: 18px;
      }

      .lightbox-close {
        top: 14px;
        right: 14px;
        width: 44px;
        height: 44px;
      }

      .lightbox-counter {
        top: 16px;
        left: 14px;
      }

      .footer-inner {
        align-items: flex-start;
        flex-direction: column;
      }
    }

    @media (max-width: 480px) {
      .container {
        width: min(calc(100% - 22px), var(--container));
      }

      .brand-copy strong {
        max-width: 220px;
        font-size: 0.9rem;
      }

      .brand-copy span {
        font-size: 0.68rem;
      }

      .gallery-hero {
        padding: 48px 0 38px;
      }

      .hero-title {
        font-size: clamp(2.45rem, 14vw, 4rem);
      }

      .hero-description {
        margin-top: 18px;
        line-height: 1.7;
      }

      .hero-card {
        padding: 22px;
      }

      .gallery-section {
        padding-bottom: 70px;
      }

      .gallery-toolbar {
        top: 78px;
        margin-bottom: 16px;
      }

      .view-switch {
        display: none;
      }

      .photo-number {
        font-size: 0.67rem;
      }

      .zoom-icon {
        display: none;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }