﻿:root {
      --bg-ivory: #FBF7EF;
      --bg-paper: #F6F0E6;
      --ink-deep: #111418;
      --ink-solid: #0B0F14;
      --burgundy: #9F1239;
      --burgundy-deep: #7F1D1D;
      --gold: #C9A45C;
      --gold-dark: #B8893C;
      --text-main: #111827;
      --text-muted: #6B7280;
      --border-light: rgba(17,24,39,.10);
      --border-gold: rgba(201,164,92,.22);
      --shadow-luxe: 0 26px 80px rgba(17,24,39,.08);
    }
    *,*::before,*::after{box-sizing:border-box;}
    html{width:100%;overflow-x:hidden;}
    body{
      width:100%;
      margin:0;
      overflow-x:hidden;
      background: var(--bg-ivory);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      line-height: 1.6;
    }
    img,video,iframe,embed{max-width:100%;height:auto;display:block;}
    a{text-decoration:none;transition:all 0.3s ease;}

    
    .site-header{
      position:sticky;
      top:0;
      z-index:1000;
      width:100%;
      background:rgba(17,20,24,.92);
      backdrop-filter:blur(20px) saturate(150%);
      border-bottom:1px solid rgba(201,164,92,.20);
      box-shadow:0 14px 44px rgba(17,24,39,.20);
    }
    .header-inner{
      width:min(1200px, calc(100% - 32px));
      min-height:76px;
      margin:0 auto;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
    }
    .logo{
      display:inline-flex;
      align-items:center;
      gap:12px;
      min-width:0;
      max-width:100%;
      text-decoration:none;
      flex-shrink:0;
    }
    .logo img{
      display:block;
      height:40px;
      width:auto;
      max-width:150px;
      object-fit:contain;
      flex-shrink:0;
    }
    .logo span{
      display:inline-block;
      font-size:18px;
      font-weight:900;
      line-height:1.2;
      color:#F8FAFC;
      white-space:nowrap;
      max-width:190px;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .desktop-nav-wrap{
      flex:1 1 auto;
      min-width:0;
      display:flex;
      justify-content:flex-end;
      overflow:hidden;
    }
    .desktop-nav{
      display:flex;
      align-items:center;
      justify-content:flex-end;
      gap:8px;
      max-width:100%;
      overflow-x:auto;
      overflow-y:hidden;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
      white-space:nowrap;
    }
    .desktop-nav::-webkit-scrollbar{display:none;}
    .desktop-nav a{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:40px;
      padding:0 14px;
      border-radius:999px;
      color:#CBD5E1;
      text-decoration:none;
      font-size:14px;
      font-weight:800;
      line-height:1;
      white-space:nowrap;
      flex:0 0 auto;
      border:1px solid transparent;
    }
    .desktop-nav a:hover{
      color:#FFFFFF;
      background:rgba(201,164,92,.14);
      border-color:rgba(201,164,92,.30);
      box-shadow:0 8px 24px rgba(201,164,92,.12);
    }
    .mobile-menu-btn{
      display:none;
      width:46px;
      height:46px;
      border:1px solid rgba(201,164,92,.28);
      border-radius:16px;
      background:rgba(201,164,92,.10);
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      cursor:pointer;
      flex:0 0 auto;
      box-shadow:0 8px 20px rgba(17,24,39,.18);
    }
    .mobile-menu-btn span{
      display:block;
      width:20px;
      height:2px;
      border-radius:999px;
      background:#F8FAFC;
    }
    .mobile-nav-mask{
      position:fixed;
      inset:0;
      z-index:1100;
      background:rgba(15,23,42,.56);
      opacity:0;
      visibility:hidden;
      pointer-events:none;
      transition:opacity .25s ease, visibility .25s ease;
    }
    .mobile-drawer{
      position:fixed;
      top:0;
      left:0;
      z-index:1110;
      width:min(86vw, 360px);
      height:100vh;
      height:100dvh;
      max-width:90vw;
      background:linear-gradient(180deg,#111418 0%,#0B0F14 100%);
      color:#F8FAFC;
      transform:translateX(-105%);
      transition:transform .28s ease;
      box-shadow:24px 0 60px rgba(0,0,0,.34);
      display:flex;
      flex-direction:column;
      overflow:hidden;
    }
    .drawer-head{
      min-height:76px;
      padding:16px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      border-bottom:1px solid rgba(255,255,255,.12);
      flex:0 0 auto;
    }
    .drawer-logo img{height:34px;max-width:120px;}
    .drawer-logo span{font-size:16px;max-width:145px;color:#F8FAFC;}
    .drawer-close{
      width:40px;
      height:40px;
      border:0;
      border-radius:14px;
      background:rgba(255,255,255,.10);
      color:#F8FAFC;
      font-size:26px;
      line-height:1;
      cursor:pointer;
      flex:0 0 auto;
    }
    .drawer-body{
      flex:1 1 auto;
      min-height:0;
      overflow-y:auto;
      overflow-x:hidden;
      -webkit-overflow-scrolling:touch;
      padding:14px;
    }
    .drawer-nav{
      display:flex;
      flex-direction:column;
      gap:8px;
    }
    .drawer-nav a{
      display:flex;
      align-items:center;
      width:100%;
      min-height:48px;
      padding:13px 14px;
      border-radius:14px;
      background:rgba(255,255,255,.08);
      color:#F8FAFC;
      text-decoration:none;
      font-size:15px;
      font-weight:800;
      line-height:1.35;
      white-space:normal;
      word-break:break-word;
      overflow-wrap:anywhere;
      border:1px solid rgba(255,255,255,.10);
    }
    .drawer-nav a:hover{
      background:rgba(201,164,92,.18);
    }
    body.drawer-open{overflow:hidden;touch-action:none;}
    body.drawer-open .mobile-nav-mask{opacity:1;visibility:visible;pointer-events:auto;}
    body.drawer-open .mobile-drawer{transform:translateX(0);}

    
    .ti-hero {
      padding: 80px 0;
      background: var(--bg-paper);
      border-bottom: 1px solid var(--border-light);
    }
    .ti-hero-inner {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
      max-width: 800px;
      text-align: center;
    }
    .ti-title {
      font-size: clamp(28px, 5vw, 42px);
      font-weight: 800;
      color: var(--ink-deep);
      margin: 0 0 16px 0;
    }
    .ti-desc {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.8;
      margin: 0;
    }
    .ti-grid {
      width: min(1200px, calc(100% - 32px));
      margin: 64px auto;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 20px;
    }
    .ti-card {
      background: #fff;
      border: 1px solid var(--border-light);
      border-radius: 12px;
      padding: 24px;
      text-align: center;
      transition: all 0.3s ease;
    }
    .ti-card:hover {
      border-color: var(--gold);
      transform: translateY(-2px);
      box-shadow: var(--shadow-luxe);
    }
    .ti-card-name {
      font-size: 16px;
      font-weight: 800;
      color: var(--ink-deep);
      margin: 0 0 8px 0;
      word-wrap: break-word;
    }
    .ti-card-count {
      font-size: 12px;
      background: rgba(159,18,57,0.08);
      color: var(--burgundy);
      padding: 4px 10px;
      border-radius: 99px;
      font-weight: 700;
      display: inline-block;
    }

    
    .site-footer{
      position:relative;
      width:100%;
      background:linear-gradient(180deg,#111418 0%,#0B0F14 100%);
      color:#F8FAFC;
      padding:60px 0 24px;
      overflow:hidden;
      border-top:1px solid rgba(201,164,92,.18);
    }
    .site-footer .logo span{color:#F8FAFC;}
    .footer-inner{
      width:min(1200px, calc(100% - 32px));
      margin:0 auto;
      display:grid;
      grid-template-columns:minmax(260px,1.35fr) repeat(3,minmax(150px,1fr));
      gap:28px;
      align-items:start;
    }
    .footer-brand,.footer-column{min-width:0;}
    .footer-brand p{
      margin:16px 0 0;
      color:rgba(248,250,252,.76);
      line-height:1.8;
      font-size:14px;
      word-break:break-word;
      overflow-wrap:anywhere;
    }
    .footer-column h3{
      margin:0 0 14px;
      font-size:15px;
      color:#fff;
    }
    .footer-column ul{
      list-style:none;
      margin:0;
      padding:0;
      display:flex;
      flex-direction:column;
      gap:10px;
    }
    .footer-column a,.footer-column span{
      display:inline;
      color:rgba(248,250,252,.76);
      text-decoration:none;
      font-size:14px;
      line-height:1.55;
      white-space:normal;
      word-break:break-word;
      overflow-wrap:anywhere;
    }
    .footer-column a:hover{color:#fff;}
    .footer-bottom{
      width:min(1200px, calc(100% - 32px));
      margin:32px auto 0;
      padding-top:20px;
      border-top:1px solid rgba(255,255,255,.10);
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      color:rgba(248,250,252,.62);
      font-size:13px;
    }
    .footer-bottom p{
      margin:0;
      min-width:0;
      word-break:break-word;
      overflow-wrap:anywhere;
    }
    .footer-bottom a{
      color:rgba(248,250,252,.76);
      text-decoration:none;
      word-break:break-word;
      overflow-wrap:anywhere;
    }

    @media (max-width:900px){
      .footer-inner{grid-template-columns:1fr 1fr;gap:24px;}
      .footer-brand{grid-column:1 / -1;}
      .footer-bottom{flex-direction:column;align-items:flex-start;gap:8px;}
      .header-inner{width:min(100% - 24px, 1200px);min-height:68px;gap:12px;}
      .desktop-nav-wrap,.desktop-nav{display:none !important;}
      .mobile-menu-btn{display:inline-flex !important;}
      .logo img{height:34px;max-width:118px;}
      .logo span{font-size:16px;max-width:145px;}
    }
    @media (max-width:640px){
      .footer-inner{grid-template-columns:1fr;}
      .footer-inner,.footer-bottom{width:min(100% - 24px, 1200px);}
    }
    @media (max-width:420px){
      .mobile-drawer{width:88vw;}
      .logo span{max-width:118px;}
    }