:root {
      color-scheme: dark;
      --paper: #050505;
      --ink: #f6f6f4;
      --soft: #a4a4a4;
      --line: #3c3c3c;
      --easing: cubic-bezier(.22, 1, .36, 1);
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
    body::before { content: ''; position: fixed; inset: 0; z-index: 30; opacity: .07; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E"); }
    ::selection { color: var(--paper); background: var(--ink); }
    a { color: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    a:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
    .container { width: min(1392px, calc(100% - 100px)); margin-inline: auto; }

    /* Cursor spotlight — monochrome, non-interactive and GPU-friendly. */
    .topbar, main, .footer { position: relative; z-index: 1; }
    .cursor-light {
      position: fixed; top: 0; left: 0; width: 520px; height: 520px;
      border-radius: 50%; pointer-events: none; z-index: 0;
      background: radial-gradient(circle, rgba(255,255,255,.105) 0%, rgba(255,255,255,.045) 22%, rgba(255,255,255,.012) 46%, transparent 69%);
      opacity: 0; filter: blur(7px); will-change: transform;
      transform: translate3d(-650px,-650px,0) translate(-50%,-50%);
      transition: opacity .45s ease;
    }
    .cursor-light.is-active { opacity: 1; }
    .cursor-ring {
      position: fixed; top: 0; left: 0; width: 17px; height: 17px;
      border: 1px solid rgba(255,255,255,.72); border-radius: 50%;
      background: rgba(255,255,255,.10); box-shadow: 0 0 20px rgba(255,255,255,.28), 0 0 42px rgba(255,255,255,.10);
      pointer-events: none; z-index: 45; opacity: 0;
      transform: translate3d(-100px,-100px,0) translate(-50%,-50%);
      transition: opacity .25s ease, width .3s var(--easing), height .3s var(--easing), background .3s;
      will-change: transform;
    }
    .cursor-ring.is-active { opacity: .88; }
    .cursor-ring.is-hover { width: 43px; height: 43px; background: rgba(255,255,255,.075); }
    .cursor-ring.is-pressed { width: 10px; height: 10px; background: rgba(255,255,255,.55); }

    /* Top navigation */
    .topbar { display: flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 94px; border-bottom: 1px solid var(--line); }
    .brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
    .brand-mark { display: flex; align-items: center; justify-content: center; width: 37px; height: 37px; border: 1.5px solid var(--ink); border-radius: 50%; font-size: 25px; line-height: 1; transition: transform 800ms var(--easing), color .35s, background .35s; }
    .brand:hover .brand-mark { transform: rotate(135deg); background: var(--ink); color: var(--paper); }
    .brand-name { font-size: 13px; line-height: 1.3; text-transform: uppercase; letter-spacing: -.025em; font-weight: 800; }
    .brand-name small { display: block; color: var(--soft); font-size: 9px; font-weight: 600; letter-spacing: .17em; margin-top: 3px; }
    .topbar-right { display: flex; align-items: center; gap: 31px; text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: .125em; }
    .availability { display: inline-flex; align-items: center; gap: 10px; }
    .availability::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px #353535; }
    .top-link { text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 5px; transition: opacity .3s; }
    .top-link:hover { opacity: .5; }

    /* Intro */
    .hero { position: relative; padding-top: clamp(60px, 7.7vw, 114px); isolation: isolate; }
    .hero::before {
      content: ''; position: absolute; z-index: -1; pointer-events: none;
      width: min(650px, 75vw); height: 390px; left: -18%; top: -12%;
      background: radial-gradient(ellipse, rgba(255,255,255,.035), transparent 72%);
      animation: ambient-drift 13s ease-in-out infinite alternate;
    }
    @keyframes ambient-drift {
      from { transform: translate3d(-18px,0,0) scale(.93); }
      to { transform: translate3d(105px,18px,0) scale(1.1); }
    }
    .hero-meta { display: flex; align-items: center; gap: 13px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; }
    .meta-dash { width: 35px; height: 1px; background: var(--ink); transform-origin: left; animation: draw-dash 1s .35s var(--easing) both; }
    @keyframes draw-dash { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    .hero-title-wrap { position: relative; padding-top: 20px; }
    h1 { margin: 0 0 0 -.065em; font-size: clamp(68px, 12.45vw, 184px); font-weight: 800; line-height: .96; letter-spacing: -.105em; white-space: nowrap; }
    .hero-under { display: flex; align-items: flex-end; justify-content: space-between; padding: 14px 0 54px; gap: 30px; }
    .hero-caption { max-width: 380px; margin: 0; font-size: clamp(14px, 1.3vw, 17px); line-height: 1.6; letter-spacing: -.025em; }
    .hero-english { margin: 0; text-align: right; font-size: 10px; line-height: 1.7; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; color: var(--soft); }
    .hero-stamp { position: absolute; right: 3%; top: 10px; width: 75px; height: 75px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #575757; animation: spin 24s linear infinite; }
    .hero-stamp svg { width: 32px; height: 32px; }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* Section */
    .works-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--ink); padding: 18px 0 22px; }
    .works-titlebar h2 { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .works-titlebar .count { display: inline-grid; place-items: center; width: 30px; height: 21px; margin-left: 7px; border-radius: 999px; border: 1px solid var(--ink); font-size: 10px; letter-spacing: 0; }
    .works-titlebar p { font-size: 11px; color: var(--soft); letter-spacing: .08em; margin: 0; text-transform: uppercase; }
    .projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 36px); }
    .project { display: block; min-width: 0; text-decoration: none; transition: transform .65s var(--easing); }
    .project:hover { transform: translateY(-9px); }
    .project-shell { position: relative; padding: clamp(12px, 1.35vw, 20px); overflow: hidden; border: 1px solid #515151; border-radius: 17px; background: linear-gradient(135deg, #ebebe8, #e8e8e5 62%, #dfdfdc); transition: border-color .45s var(--easing), box-shadow .6s var(--easing); }
    .project:hover .project-shell { border-color: #c9c9c9; box-shadow: 0 24px 55px -25px #ffffff26; }
    .project-shell::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(370px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.42), transparent 75%); opacity: 0; transition: opacity .4s; }
    .project:hover .project-shell::after { opacity: 1; }
    .browser { position: relative; z-index: 1; overflow: hidden; background: #fff; border: 1px solid #c9c9c7; border-radius: 8px; box-shadow: 0 9px 30px -14px #0002; transform: perspective(1100px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition: transform .4s ease; }
    .browser-top { position: relative; display: flex; justify-content: space-between; align-items: center; height: 29px; background: #fafafa; border-bottom: 1px solid #e0e0df; padding-inline: 12px; }
    .browser-dots { display: flex; gap: 4px; }
    .browser-dots b { display: block; width: 5px; height: 5px; background: #b9b9b8; border-radius: 50%; }
    .browser-address { position: absolute; left: 50%; transform: translateX(-50%); font-size: 9px; color: #888; letter-spacing: .01em; }
    .browser-icon { font-size: 11px; color: #999; }
    .preview { position: relative; aspect-ratio: 1.70; overflow: hidden; background: #ddd; isolation: isolate; }
    .preview-shine { position: absolute; z-index: 2; inset: 0; background: linear-gradient(115deg, transparent 20%, #fff3 49%, transparent 78%); transform: translateX(-120%); transition: transform .9s var(--easing); pointer-events: none; }
    .project:hover .preview-shine { transform: translateX(120%); }
    .project .mock-aura .mock-hero::before { transition: transform 1.2s var(--easing); }
    .project:hover .mock-aura .mock-hero::before { transform: translateX(9px) scale(1.04); }
    .project .mock-voyage .mock-map { transition: filter .65s var(--easing); }
    .project:hover .mock-voyage .mock-map { filter: contrast(1.06); }
    .mock-voyage .route-shimmer { fill:none; stroke:rgba(255,255,255,.72); stroke-width:2; stroke-dasharray:3 55; stroke-linecap:round; animation: route-glimmer 9s linear infinite; }
    @keyframes route-glimmer { to { stroke-dashoffset:-232; } }

    /* Accurate, lightweight monochrome project teasers. The originals are separate, unchanged files. */
    .mock { position: absolute; inset: 0; overflow: hidden; filter: grayscale(1); }
    .mock-aura { background: #eeeee9; font-family: Georgia, serif; }
    .mock-aura .mock-nav { height: 16%; background: #f3f3ef; display: flex; align-items: center; justify-content: space-between; padding: 0 6%; }
    .mock-aura .mock-logo { display: flex; align-items: center; gap: 7px; font: bold clamp(8px,1vw,13px) Georgia,serif; color: #1c2420; }
    .mock-aura .mock-logo span { display: grid; place-items: center; background: #252b29; color: #fff; border-radius: 5px; height: 21px; width: 21px; }
    .mock-links { display: flex; gap: 8px; align-items: center; }
    .mock-links i { display: block; width: 24px; height: 3px; border-radius: 2px; background: #7777; }
    .mock-aura .mock-hero { position: relative; margin: 2% 4%; height: 78%; border-radius: 11px; overflow: hidden; background: radial-gradient(ellipse at 87% 21%, #bbb 0%, transparent 28%), linear-gradient(160deg, #939e98 0%, #53625b 48%, #19251f 100%); }
    .mock-hero::before { content:''; position:absolute; inset: 20% -5% 0 18%; background: linear-gradient(180deg, #ffffff55 0 4%,transparent 4%), repeating-linear-gradient(90deg,#8f9590 0 15%,#343b39 15% 18%,#777e78 18% 32%); clip-path: polygon(14% 23%,71% 13%,95% 34%,100% 100%,0 100%,0 44%); opacity:.46; }
    .mock-hero::after { content: ''; position: absolute; inset: 58% 0 0; background: linear-gradient(transparent,#151a17cc); }
    .mock-aura .mock-hero-text { position: absolute; z-index: 1; top: 16%; left: 8%; color: #fff; max-width: 64%; font: bold clamp(15px, 2.4vw, 34px)/1.03 Georgia,serif; }
    .mock-aura .mock-hero-text small { display: block; margin-top: 5%; font: 400 clamp(5px,.75vw,10px)/1.5 Arial,sans-serif; opacity: .8; }
    .mock-aura .mock-booking { position: absolute; z-index: 2; bottom: 8%; left: 7%; right: 7%; background:#f9f9f8; border-radius:7px; display:flex; padding: 2%; gap: 2%; align-items:center; height: 26%; }
    .mock-aura .mock-booking i { background:#e9e9e6; height: 65%; flex: 1; border-radius:3px; }
    .mock-aura .mock-booking i:last-child { background:#292d2a; }
    .mock-voyage { background: #f6f6f6; color:#151515; font-family: Arial, sans-serif; display:flex; flex-direction:column; }
    .mock-voyage .mock-ribbon { flex:0 0 8%; background: #19212a; }
    .mock-voyage .mock-nav { flex:0 0 15%; min-height:0; padding: 0 5%; display:flex; align-items:center; justify-content:space-between; background: #fff; border-bottom:1px solid #ddd; }
    .mock-voyage .mock-logo { font-size: clamp(9px, 1vw, 15px); font-weight:900; }
    /* Heading is in its own flex row: it never overlaps the navigation or the controls. */
    .mock-voyage .mock-title { flex:0 0 auto; font-weight:900; letter-spacing:-.05em; line-height:1.14; font-size:clamp(12px, 1.8vw, 25px); margin:3.6% 5% 3%; max-width:90%; }
    .mock-voyage .mock-grid { display:grid; grid-template-columns: 41% 1fr; gap:2%; margin:0 5% 4%; flex:1 1 auto; min-height:0; }
    .mock-voyage .mock-panel { padding:6%; background:#fff; border:1px solid #ddd; border-radius:7px; display:flex; flex-direction:column; gap:7%; }
    .mock-voyage .mock-pill { width:72%; height:9%; background:#e3e3e3; border-radius:50px; }
    .mock-voyage .mock-input { width:100%; height:24%; background:#f0f0f0; border:1px solid #ddd; border-radius:4px; }
    .mock-voyage .mock-cta { margin-top:auto; height:18%; background:#242a30; border-radius:4px; }
    .mock-voyage .mock-map { position:relative; border:1px solid #d5d5d5; border-radius:7px; background:#e5e5e5; overflow:hidden; }
    .mock-voyage .route-map { position:absolute; display:block; width:100%; height:100%; inset:0; }
    .mock-voyage .road { fill:none; stroke:#fcfcfc; stroke-width:17; stroke-linecap:round; stroke-linejoin:round; }
    .mock-voyage .road-secondary { stroke:#f7f7f7; stroke-width:10; }
    .mock-voyage .route-underlay { fill:none; stroke:#fefefe; stroke-width:11; stroke-linecap:round; stroke-linejoin:round; }
    .mock-voyage .route-line { fill:none; stroke:#4b4b4b; stroke-width:5; stroke-linecap:round; stroke-linejoin:round; }
    .mock-voyage .marker-ring { fill:#fff; stroke:#bbb; stroke-width:2.5; }
    .mock-voyage .marker-center { fill:#171717; }

    .project-info { display:flex; align-items:flex-start; gap:14px; padding:23px 2px 1px; }
    .project-number { padding-top:4px; color: var(--soft); font-size:11px; font-weight:700; letter-spacing:.03em; }
    .project-copy { flex: 1; min-width: 0; }
    .project-name { margin:0; font-size:clamp(23px, 2.25vw, 32px); letter-spacing:-.055em; line-height:1.15; font-weight:800; }
    .project-type { margin:9px 0 0; font-size:12px; line-height:1.5; color:#a9a9a9; }
    .project-name { transition: text-shadow .45s ease; }
    .project:hover .project-name { text-shadow: 0 0 28px rgba(255,255,255,.17); }
    .open-icon { display:grid; place-items:center; flex: 0 0 auto; width:46px; height:46px; border: 1px solid #666; border-radius:50%; transition:background .45s, color .45s, border-color .45s, transform .5s var(--easing); }
    .open-icon svg { width:19px; height:19px; }
    .project:hover .open-icon { background:#f6f6f4; color:#050505; border-color:#f6f6f4; transform:rotate(45deg); }
    .project:focus-visible .open-icon { background:var(--ink);color:var(--paper); }
    .project-bottom { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:21px 2px 0; margin-top:20px; border-top:1px solid #393939; font-size:10px; color:#9c9c9c; text-transform:uppercase; font-weight:700; letter-spacing:.10em; }
    .project-bottom .view-text { color:var(--ink); }
    .project-bottom .view-text::after { content:' ↗'; display:inline-block; transition:transform .3s; }
    .project:hover .view-text::after { transform:translate(3px,-3px); }

    /* Footer */
    .footer { margin-top:clamp(80px,10vw,150px); padding:24px 0 30px; border-top:1px solid var(--ink); display:flex; justify-content:space-between; gap:24px; align-items:center; }
    .footer strong { text-transform:uppercase; letter-spacing:-.035em; font-size:15px; }
    .footer p { font-size:11px; color:var(--soft); letter-spacing:.05em; margin:0; }
    .footer-top { font-size:11px; font-weight:700; text-transform:uppercase; text-decoration:none; border-bottom:1px solid var(--ink); padding-bottom:5px; }
    .footer-top:hover { opacity:.6; }

    /* Entrance / scroll reveal */
    @keyframes intro-up { from { opacity:0; transform:translate3d(0,43px,0); filter:blur(7px); } to { opacity:1; transform:translate3d(0,0,0); filter:blur(0); } }
    .hero-meta { animation:intro-up 950ms 50ms var(--easing) both; }
    .hero-title-wrap h1 { animation:intro-up 1200ms 140ms var(--easing) both; }
    .hero-under { animation:intro-up 1000ms 350ms var(--easing) both; }
    .works-titlebar { animation:intro-up 850ms 500ms var(--easing) both; }
    .js .project { opacity:0; transform:translateY(55px); }
    .js .project.is-visible { opacity:1; transform:translateY(0); transition: opacity 900ms var(--easing),transform 900ms var(--easing); }
    .js .project.is-visible:hover { transform:translateY(-9px); }
    .js .project:nth-child(2) { transition-delay: 120ms; }

    @media (max-width:900px) {
      .container { width: min(100% - 56px, 1392px); }
      .hero { padding-top:65px; }
      h1 { font-size:clamp(57px,11.3vw,130px); }
      .hero-stamp { display:none; }
      .mock-aura .mock-hero-text { font-size:22px; }
    }
    @media (max-width:670px) {
      .container { width: calc(100% - 36px); }
      .topbar { min-height:74px; }
      .topbar-right { gap:12px; }
      .availability { display:none; }
      .top-link { font-size:9px; }
      .hero { padding-top:66px; }
      .hero-meta { font-size:10px; }
      .hero-title-wrap { padding-top:22px; }
      h1 { font-size:clamp(49px,11.2vw,74px); line-height:1.02; letter-spacing:-.105em; }
      .hero-under { align-items:start; padding:26px 0 60px; flex-direction:column; gap:13px; }
      .hero-caption { max-width:345px; font-size:14px; }
      .hero-english { text-align:left; font-size:9px; }
      .works-titlebar { padding:15px 0 20px; }
      .works-titlebar p { font-size:9px; }
      .projects { grid-template-columns:1fr; gap:52px; }
      .project-shell { padding:11px; border-radius:14px; }
      .project-name { font-size:27px; }
      .mock-aura .mock-hero-text { font-size:clamp(19px,4.4vw,30px); }
      .footer { flex-wrap:wrap; margin-top:95px; padding-bottom:38px; }
    }
    @media (max-width:360px) {
      h1 { font-size:clamp(42px,11.3vw,52px); }
      .topbar-right .top-link { display:none; }
    }
    @media (hover: none), (pointer: coarse) {
      .cursor-light, .cursor-ring { display: none !important; }
    }
    @media (prefers-reduced-motion:reduce) {
      .cursor-light, .cursor-ring { display: none !important; }
      *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
      .js .project { opacity:1; transform:none; }
    }

/* Security hardening: replace inline styles with classes. */
.meta-muted { color: var(--soft); }
.voyage-logo-subtitle { font-size: .5em; display: block; letter-spacing: .1em; }
