*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:        #0a0a0b;
      --surface:   #111114;
      --surface2:  #18181c;
      --border:    #222228;
      --border2:   #2e2e38;
      --text:      #e8e6e0;
      --text-muted:#7a7880;
      --text-dim:  #4a4852;
      --accent:    #c8a96e;
      --accent-dim:#7a6642;
      --accent-glow: rgba(200,169,110,0.12);
      --radius:    6px;
      --radius-lg: 12px;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-weight: 300;
      font-size: 15px;
      line-height: 1.6;
      min-height: 100vh;
      /* subtle noise texture */
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    }

    a { color: var(--accent); text-decoration: none; transition: opacity .2s; }
    a:hover { opacity: .75; }

    img { display: block; width: 100%; height: 100%; object-fit: cover; }

    /* ─── SCROLLBAR ─── */
    ::-webkit-scrollbar { width: 4px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

    /* ════════════════════════════════════
       HEADER
    ════════════════════════════════════ */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(10,10,11,.85);
      backdrop-filter: blur(20px) saturate(1.4);
      -webkit-backdrop-filter: blur(20px) saturate(1.4);
      border-bottom: 1px solid var(--border);
      padding: 0 clamp(16px, 4vw, 48px);
    }

    .header-inner {
      max-width: 1600px;
      margin: 0 auto;
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    /* Logo */
    .logo {
      display: flex;
      align-items: center;
      gap: 11px;
      user-select: none;
      flex-shrink: 0;
      text-decoration: none;

      /*
       * ── LOGO COLOR ──────────────────────────
       * Gold  → --logo-color: #c8a96e
       * White → --logo-color: #e8e6e0
       * ────────────────────────────────────────
       */
      --logo-color: #c8a96e;
    }
    .logo-bar {
      width: 4px;
      height: 26px;
      background: var(--logo-color);
      flex-shrink: 0;
      border-radius: 2px;
      box-shadow: 0 0 8px var(--logo-color), 0 0 2px var(--logo-color);
    }
    .logo-wordmark {
      display: flex;
      align-items: baseline;
      gap: 1px;
      line-height: 1;
    }
    .logo-main {
      font-family: 'Syne', sans-serif;
      font-weight: 500;
      font-size: clamp(22px, 3vw, 30px);
      letter-spacing: .5px;
      color: var(--logo-color);
      line-height: 1;
      opacity: .95;
    }
    .logo-tld {
      font-family: 'DM Mono', monospace;
      font-size: clamp(11px, 1.2vw, 13px);
      font-weight: 300;
      color: var(--logo-color);
      opacity: .45;
      letter-spacing: .5px;
      align-self: flex-end;
      margin-bottom: 1px;
    }

    /* Stats */
    .header-stats {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-shrink: 0;
    }
    .stat-item {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 3px;
    }
    .stat-num {
      font-family: 'DM Mono', monospace;
      font-size: 16px;
      font-weight: 400;
      color: var(--accent);
      line-height: 1.1;
      letter-spacing: -.5px;
    }
    .stat-label {
      font-size: 10px;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 1.5px;
      line-height: 1;
    }
    .stat-sep {
      width: 1px;
      height: 28px;
      background: var(--border);
    }

    /* Search */
    .header-search {
      display: flex;
      align-items: center;
      position: relative;
    }
    .search-icon-btn {
      width: 38px; height: 38px;
      display: flex; align-items: center; justify-content: center;
      background: none;
      border: 1px solid var(--border2);
      border-radius: var(--radius);
      color: var(--text);
      cursor: pointer;
      transition: all .2s;
      flex-shrink: 0;
      position: relative;
      z-index: 2;
    }
    .search-icon-btn:hover {
      color: var(--accent);
      border-color: var(--accent-dim);
      background: var(--surface2);
    }
    .search-icon-btn svg { width: 20px; height: 20px; }

    /* Desktop: expand inline to the left of the icon */
    .search-box {
      display: flex;
      align-items: center;
      position: absolute;
      right: 44px;
      top: 50%;
      transform: translateY(-50%);
      background: var(--surface2);
      border: 1px solid var(--border2);
      border-radius: var(--radius);
      overflow: hidden;
      width: 0;
      opacity: 0;
      pointer-events: none;
      transition: width .3s ease, opacity .25s ease, border-color .2s;
    }
    .search-box.open {
      width: clamp(200px, 28vw, 320px);
      opacity: 1;
      pointer-events: all;
      border-color: var(--accent-dim);
    }

    /* Mobile: full-width bar sliding down below header */
    @media (max-width: 640px) {
      .search-box {
        position: fixed;
        top: 68px;
        left: 0; right: 0;
        width: 100% !important;
        transform: none;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        border-bottom: 1px solid var(--border2);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease, border-color .2s;
        z-index: 200;
      }
      .search-box.open {
        opacity: 1;
        pointer-events: all;
        border-color: var(--accent-dim);
      }
      .search-input { padding: 12px 16px; font-size: 15px; }
      .search-submit { width: 52px; height: 48px; }
    }
    .search-input {
      flex: 1;
      background: none;
      border: none;
      outline: none;
      padding: 8px 12px;
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      color: var(--text);
      width: 100%;
    }
    .search-input::placeholder { color: var(--text-dim); }
    .search-submit {
      width: 36px; height: 36px;
      display: flex; align-items: center; justify-content: center;
      background: var(--accent);
      border: none;
      border-radius: 0;
      color: #0a0a0b;
      cursor: pointer;
      flex-shrink: 0;
      transition: background .2s;
    }
    .search-submit:hover { background: #d4b87e; }
    .search-submit svg { width: 15px; height: 15px; }

    /* ════════════════════════════════════
       WRAPPER / MAX-WIDTH
    ════════════════════════════════════ */
    .page-wrap {
      max-width: 1600px;
      margin: 0 auto;
      padding: 0 clamp(12px, 3vw, 48px);
    }

    /* ════════════════════════════════════
       SECTION LABEL
    ════════════════════════════════════ */
    .section-label {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 20px;
    }
    .section-label::before {
      content: '';
      display: block;
      width: 3px;
      height: 18px;
      background: var(--accent);
      border-radius: 2px;
    }
    .section-label span {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 2.5px;
      color: var(--text-muted);
      font-weight: 400;
    }

    /* ════════════════════════════════════
       SECTION 1 — FEATURED IMAGE + SIDEBAR
    ════════════════════════════════════ */
    .section-featured {
      padding: clamp(24px, 4vw, 48px) 0 0;
    }

    .featured-layout {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 24px;
      align-items: start;
    }

    /* Main column */
    .featured-main {}

    .featured-frame {
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border2);
      box-shadow: 0 0 0 1px rgba(200,169,110,.06), 0 32px 64px rgba(0,0,0,.6);
      background: var(--surface);
    }

    .featured-frame img {
      width: 100%;
      height: auto;
      max-height: 90vh;
      object-fit: contain;
      display: block;
      transition: none;
    }

    /* photo meta overlay */
    .photo-meta {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 36px 20px 18px;
      background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 100%);
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
    }
    .photo-title {
      font-family: 'Syne', sans-serif;
      font-size: clamp(16px, 2vw, 22px);
      font-weight: 500;
      color: #fff;
      line-height: 1.2;
    }
    .photo-info {
      font-family: 'DM Mono', monospace;
      font-size: 13px;
      color: rgba(255,255,255,.8);
      text-align: right;
      line-height: 1.8;
    }

    /* Prev / Next navigation */
    /* Side nav buttons — inside featured-frame */
    .nav-side-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 52px; height: 52px;
      display: flex; align-items: center; justify-content: center;
      background: rgba(8,8,9,.82);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1.5px solid rgba(255,255,255,.35);
      border-radius: 50%;
      color: #fff;
      cursor: pointer;
      text-decoration: none;
      transition: background .2s, border-color .2s, box-shadow .2s;
      z-index: 20;
      box-shadow: 0 4px 20px rgba(0,0,0,.55);
    }
    .nav-side-btn:hover {
      background: rgba(200,169,110,.4);
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(200,169,110,.2), 0 4px 20px rgba(0,0,0,.55);
      opacity: 1;
    }
    .nav-side-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
    .nav-prev { left: 14px; }
    .nav-next { right: 14px; }

    /* Counter below image */
    .photo-nav {
      display: flex;
      justify-content: center;
      margin-top: 12px;
      padding: 0 2px;
    }
    .nav-counter {
      font-family: 'DM Mono', monospace;
      font-size: 13px;
      color: var(--text-muted);
    }

    /* Sidebar */
    .featured-sidebar {}

    .ad-block {
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    .ad-label {
      font-size: 9px;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: var(--text-dim);
      text-align: center;
      padding: 8px;
      border-bottom: 1px solid var(--border);
    }
    .ad-content {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      min-height: 260px;
      color: var(--text-dim);
      font-size: 12px;
      font-family: 'DM Mono', monospace;
      letter-spacing: 1px;
      text-align: center;
      line-height: 2;
      flex-direction: column;
      gap: 8px;
    }
    .ad-content-icon {
      width: 36px; height: 36px;
      border: 1px dashed var(--border2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 4px;
    }

    /* Sidebar widget */
    .sidebar-widget {
      margin-top: 16px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-sizing: border-box;
      width: 100%;
    }
    .sidebar-widget iframe,
    .sidebar-widget img,
    .sidebar-widget ins {
      max-width: 100% !important;
      display: block;
      height: auto !important;
    }
    .widget-header {
      padding: 14px 16px;
      border-bottom: 1px solid var(--border);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: var(--text-muted);
    }
    .widget-list {
      list-style: none;
    }
    .widget-list li a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 16px;
      color: var(--text-muted);
      font-size: 14px;
      font-weight: 400;
      border-bottom: 1px solid var(--border);
      transition: all .2s;
    }
    .widget-list li:last-child a { border-bottom: none; }
    .widget-list li a:hover {
      background: var(--surface2);
      color: var(--text);
      padding-left: 20px;
    }
    .widget-list li a .wl-num {
      margin-left: auto;
      font-family: 'DM Mono', monospace;
      font-size: 13px;
      color: var(--accent);
    }

    /* Hide sidebar on mobile */
    @media (max-width: 900px) {
      .featured-layout { grid-template-columns: 1fr; }
      .featured-sidebar { display: none; }
    }

    /* ════════════════════════════════════
       AD BANNER (between sections)
    ════════════════════════════════════ */
    .ad-banner {
      margin: clamp(24px, 4vw, 48px) 0;
      padding: 0 clamp(8px, 2vw, 24px);
      box-sizing: border-box;
      width: 100%;
    }
    .ad-banner-inner {
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 16px;
      box-sizing: border-box;
      width: 100%;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .ad-banner-inner > * {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .ad-banner-inner iframe,
    .ad-banner-inner img {
      max-width: 100% !important;
      height: auto !important;
      display: block;
    }

    .gallery-description {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 20px;
      max-width: 860px;
    }

    /* ════════════════════════════════════
       SECTION 2 — GALLERY THUMBNAILS
    ════════════════════════════════════ */
    .section-gallery {
      padding: clamp(24px, 4vw, 40px) 0 0;
    }

    .gallery-grid {
      display: grid;
      /* mobile: 3 cols, grows to 8 at max width */
      grid-template-columns: repeat(3, 1fr);
      gap: 6px;
    }

    @media (min-width: 480px)  { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
    @media (min-width: 640px)  { .gallery-grid { grid-template-columns: repeat(5, 1fr); } }
    @media (min-width: 800px)  { .gallery-grid { grid-template-columns: repeat(6, 1fr); } }
    @media (min-width: 1100px) { .gallery-grid { grid-template-columns: repeat(7, 1fr); } }
    @media (min-width: 1400px) { .gallery-grid { grid-template-columns: repeat(8, 1fr); } }

    .thumb-item {
      position: relative;
      aspect-ratio: 2/3;
      overflow: hidden;
      border-radius: 4px;
      background: var(--surface2);
      cursor: pointer;
    }
    .thumb-item img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform .4s ease, filter .4s ease;
      filter: brightness(.85) saturate(.9);
    }
    .thumb-item:hover img {
      transform: scale(1.08);
      filter: brightness(1) saturate(1.1);
    }
    .thumb-item.active {
      box-shadow: 0 0 0 2px var(--accent);
    }
    .thumb-item.active img { filter: brightness(1) saturate(1.15); }

    .thumb-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0);
      transition: background .3s;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .thumb-item:hover .thumb-overlay { background: rgba(200,169,110,.07); }

    /* ════════════════════════════════════
       SECTION 3 — OTHER GALLERIES
    ════════════════════════════════════ */
    .section-other {
      padding: clamp(24px, 4vw, 40px) 0 0;
    }

    .other-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

    @media (min-width: 540px)  { .other-grid { grid-template-columns: repeat(3, 1fr); } }
    @media (min-width: 768px)  { .other-grid { grid-template-columns: repeat(4, 1fr); } }
    @media (min-width: 1024px) { .other-grid { grid-template-columns: repeat(4, 1fr); } }
    @media (min-width: 1280px) { .other-grid { grid-template-columns: repeat(5, 1fr); } }

    .gallery-card {
      display: block;
      color: inherit;
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--surface2);
      border: 1px solid var(--border);
      cursor: pointer;
      transition: border-color .3s, transform .3s, box-shadow .3s;
    }
    .gallery-card:hover {
      border-color: var(--accent-dim);
      transform: translateY(-3px);
      box-shadow: 0 16px 40px rgba(0,0,0,.5);
    }
    .gallery-card-thumb {
      position: relative;
      aspect-ratio: 2/3;
      overflow: hidden;
    }
    .gallery-card-thumb img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform .5s ease, filter .5s ease;
      filter: brightness(.8) saturate(.85);
    }
    .gallery-card:hover .gallery-card-thumb img {
      transform: scale(1.07);
      filter: brightness(.95) saturate(1);
    }
    .gallery-card-info {
      padding: 12px 14px 14px;
    }
    .gallery-card-title {
      font-size: 13px;
      font-weight: 400;
      color: var(--text);
      line-height: 1.3;
      margin-bottom: 5px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .gallery-card-count {
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      color: var(--text-dim);
    }
    .gallery-card-badge {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 8px 12px;
      background: rgba(0,0,0,.55);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      font-size: 13px;
      font-weight: 400;
      color: rgba(255,255,255,.9);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: background .2s, color .2s;
    }
    .gallery-card:hover .gallery-card-badge {
      background: rgba(200,169,110,.45);
      color: #fff;
    }

    /* ════════════════════════════════════
       TERMS / TEXT SECTION
    ════════════════════════════════════ */
    .section-terms {
      padding: clamp(32px, 5vw, 60px) 0;
    }

    .terms-box {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: clamp(24px, 4vw, 48px);
    }

    .terms-title {
      font-family: 'Syne', sans-serif;
      font-size: clamp(26px, 4vw, 40px);
      font-weight: 300;
      color: var(--text);
      line-height: 1.15;
      margin-bottom: 8px;
    }
    .terms-subtitle {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 32px;
      padding-bottom: 24px;
      border-bottom: 1px solid var(--border);
    }

    .terms-section-title {
      font-family: 'Syne', sans-serif;
      font-size: clamp(18px, 2.5vw, 24px);
      font-weight: 400;
      color: var(--text);
      margin: 28px 0 12px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .terms-section-title::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
      max-width: 120px;
    }

    .terms-p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 14px;
    }

    .terms-list {
      list-style: none;
      margin: 12px 0 20px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .terms-list li {
      display: flex;
      gap: 12px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      padding: 10px 14px;
      background: var(--surface2);
      border-radius: var(--radius);
      border-left: 2px solid var(--accent-dim);
    }
    .terms-list li::before {
      content: '—';
      color: var(--accent-dim);
      flex-shrink: 0;
      font-family: 'DM Mono', monospace;
    }

    /* ════════════════════════════════════
       FOOTER
    ════════════════════════════════════ */
    .site-footer {
      background: var(--surface);
      border-top: 1px solid var(--border);
      margin-top: clamp(32px, 5vw, 60px);
    }
    .footer-inner {
      max-width: 1600px;
      margin: 0 auto;
      padding: 28px clamp(12px, 3vw, 48px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }
    .footer-copy {
      font-size: 12px;
      color: var(--text-dim);
      font-family: 'DM Mono', monospace;
    }
    .footer-links {
      display: flex;
      align-items: center;
      gap: 4px;
      flex-wrap: wrap;
    }
    .footer-links a {
      font-size: 12px;
      color: var(--text-dim);
      padding: 4px 10px;
      border-radius: 4px;
      transition: all .2s;
      font-family: 'DM Sans', sans-serif;
    }
    .footer-links a:hover {
      color: var(--text-muted);
      background: var(--surface2);
    }
    .footer-links span {
      color: var(--border2);
      font-size: 10px;
    }

    /* ════════════════════════════════════
       PAGINATION
    ════════════════════════════════════ */
    .pagination {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 32px;
    }

    .pg-btn {
      width: 38px; height: 38px;
      display: flex; align-items: center; justify-content: center;
      background: var(--surface2);
      border: 1px solid var(--border2);
      border-radius: var(--radius);
      color: var(--text-muted);
      transition: all .2s;
      flex-shrink: 0;
    }
    .pg-btn:hover {
      border-color: var(--accent-dim);
      color: var(--accent);
      background: var(--surface);
    }
    .pg-btn svg { width: 14px; height: 14px; }

    .pg-numbers {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .pg-num {
      min-width: 38px; height: 38px;
      display: flex; align-items: center; justify-content: center;
      padding: 0 4px;
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      font-family: 'DM Mono', monospace;
      font-size: 13px;
      color: var(--text-muted);
      transition: all .2s;
    }
    .pg-num:hover {
      border-color: var(--accent-dim);
      color: var(--accent);
      background: var(--surface);
    }
    .pg-num.active {
      background: var(--accent);
      border-color: var(--accent);
      color: #0a0a0b;
      font-weight: 700;
      pointer-events: none;
    }

    .pg-ellipsis {
      font-family: 'DM Mono', monospace;
      font-size: 13px;
      color: var(--text-dim);
      padding: 0 4px;
      user-select: none;
    }

    /* ════════════════════════════════════
       404 PAGE
    ════════════════════════════════════ */
    .section-404-wrap {
      padding: clamp(48px, 8vw, 100px) 0 clamp(32px, 5vw, 60px);
    }
    .section-404 {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: clamp(48px, 8vw, 96px) 0;
    }
    .err-code {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: clamp(96px, 18vw, 200px);
      line-height: 1;
      color: transparent;
      -webkit-text-stroke: 1px #2e2e38;
      letter-spacing: -4px;
      user-select: none;
      position: relative;
    }
    .err-code::after {
      content: '404';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, #c8a96e 0%, #7a6642 50%, transparent 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      opacity: .18;
    }
    .err-bar {
      width: 40px;
      height: 3px;
      background: var(--accent);
      border-radius: 2px;
      box-shadow: 0 0 10px var(--accent);
      margin: 24px 0 20px;
    }
    .err-title {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: clamp(22px, 4vw, 36px);
      color: var(--text);
      margin-bottom: 16px;
      letter-spacing: -.3px;
    }
    .err-desc {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.8;
      max-width: 480px;
      margin-bottom: 36px;
    }
    .err-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 28px;
      background: var(--surface2);
      border: 1px solid var(--border2);
      border-radius: var(--radius);
      color: var(--text-muted);
      font-size: 14px;
      font-family: 'DM Sans', sans-serif;
      font-weight: 400;
      transition: all .2s;
      text-decoration: none;
    }
    .err-btn:hover {
      border-color: var(--accent-dim);
      color: var(--accent);
      background: var(--surface);
      opacity: 1;
    }
    .err-btn svg { width: 14px; height: 14px; }

    /* ════════════════════════════════════
       SPACING UTILITY
    ════════════════════════════════════ */
    .mt-sec { margin-top: clamp(32px, 5vw, 56px); }
    /* ════════════════════════════════════
       LEGAL PAGES
    ════════════════════════════════════ */
    .section-legal {
      padding: clamp(32px, 5vw, 56px) 0;
    }

    .legal-wrap {
      max-width: 780px;
      margin: 0 auto;
    }

    .legal-header {
      margin-bottom: 40px;
      padding-bottom: 24px;
      border-bottom: 1px solid var(--border);
    }

    .legal-title {
      font-family: 'Syne', sans-serif;
      font-size: clamp(22px, 3vw, 30px);
      font-weight: 600;
      color: var(--text);
      margin-bottom: 10px;
      line-height: 1.2;
    }

    .legal-meta {
      font-family: 'DM Mono', monospace;
      font-size: 12px;
      color: var(--text-muted);
      display: flex;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
    }

    .legal-meta-sep { opacity: .4; }

    .legal-intro {
      margin-bottom: 32px;
      color: var(--text-muted);
      font-size: 15px;
      line-height: 1.7;
    }

    .legal-body { display: flex; flex-direction: column; gap: 32px; }

    .legal-section { display: flex; flex-direction: column; gap: 10px; }

    .legal-section h2 {
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--accent);
      margin-bottom: 4px;
    }

    .legal-section p {
      font-size: 14px;
      line-height: 1.8;
      color: var(--text-muted);
    }

    .legal-section p strong { color: var(--text); }

    .legal-section a {
      color: var(--accent);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .legal-list {
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .legal-list li {
      font-size: 14px;
      line-height: 1.7;
      color: var(--text-muted);
      padding-left: 16px;
      position: relative;
    }

    .legal-list li::before {
      content: '—';
      position: absolute;
      left: 0;
      color: var(--accent-dim);
    }

    /* ─── Contact Cards ─── */
    .contact-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    @media (max-width: 640px) {
      .contact-grid { grid-template-columns: 1fr; }
    }

    .contact-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 24px 20px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      transition: border-color .2s;
    }

    .contact-card:hover { border-color: var(--accent-dim); }

    .contact-card-icon {
      width: 40px;
      height: 40px;
      border-radius: var(--radius);
      background: var(--surface2);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .contact-card-icon svg {
      width: 18px;
      height: 18px;
      stroke: var(--accent);
      flex-shrink: 0;
    }

    .contact-card-body { display: flex; flex-direction: column; gap: 6px; }

    .contact-card-title {
      font-family: 'Syne', sans-serif;
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
    }

    .contact-card-desc {
      font-size: 13px;
      line-height: 1.6;
      color: var(--text-muted);
    }

    .contact-card-mail {
      font-family: 'DM Mono', monospace;
      font-size: 13px;
      color: var(--accent);
      text-decoration: none;
      margin-top: 4px;
      word-break: break-all;
    }

    .contact-card-mail:hover { opacity: .75; }