:root {
      --ink: #111216;
      --dark: #08090b;
      --paper: #f4f1eb;
      --muted: #8f8982;
      --line: rgba(255,255,255,.14);
      --red: #e23d35;
      --lime: #b9d95b;
      --cyan: #1eb8c6;
      --font-sans: "PingFang SC", "Microsoft YaHei", system-ui, "WenQuanYi Micro Hei", sans-serif;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: auto; }
    button, input, textarea { font: inherit; }
    body {
      margin: 0;
      background: var(--dark);
      color: white;
      font-family: var(--font-sans);
      font-size: 16px;
      line-height: 1.65;
      letter-spacing: 0;
      font-synthesis: none;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

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

    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px clamp(20px, 3vw, 46px);
      mix-blend-mode: normal;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-weight: 900;
      letter-spacing: .08em;
    }

    .site-logo {
      display: block;
      width: auto;
      height: clamp(22px, 2.35vw, 30px);
      object-fit: contain;
    }

    .brand-name {
      display: inline-flex;
      position: relative;
      z-index: 2;
      color: white;
      font-size: clamp(15px, 1.6vw, 19px);
      font-weight: 900;
      letter-spacing: .08em;
      white-space: nowrap;
      transform: translateZ(0);
      will-change: transform;
      transition: color .18s ease, text-shadow .18s ease;
      text-shadow: 0 1px 8px rgba(0,0,0,.18);
    }

    .brand-name.is-on-light {
      color: #101216;
      text-shadow: 0 1px 8px rgba(255,255,255,.28);
    }

    .mark {
      width: 34px;
      height: 34px;
      border: 2px solid currentColor;
      position: relative;
    }

    .mark::before,
    .mark::after {
      content: "";
      position: absolute;
      background: currentColor;
      left: 9px;
      right: 9px;
      top: 15px;
      height: 2px;
    }

    .mark::after {
      top: 9px;
      bottom: 9px;
      left: 15px;
      right: auto;
      width: 2px;
      height: auto;
    }

    .nav-link {
      border: 1px solid rgba(255,255,255,.42);
      padding: 12px 18px;
      font-size: 14px;
      font-weight: 600;
      transition: background .25s ease, transform .25s ease;
    }

    .nav-link:hover {
      background: rgba(255,255,255,.14);
      transform: translateY(-2px);
    }

    .case-hero {
      min-height: 92vh;
      position: relative;
      display: grid;
      align-items: end;
      overflow: hidden;
      background-color: #08090b;
      background-image: var(--case-hero-image, none);
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      isolation: isolate;
    }

    .case-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.76) 42%, rgba(0,0,0,.42) 72%, rgba(0,0,0,.62) 100%),
        linear-gradient(0deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.12) 48%, rgba(0,0,0,.48) 100%),
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
      background-size: auto, auto, 70px 70px, 70px 70px;
      z-index: -1;
    }

    .case-hero::after {
      content: none;
    }

    .hero-inner,
    .section-inner {
      width: min(1340px, calc(100% - 84px));
      margin: 0 auto;
    }

    .hero-inner {
      padding: 130px 0 72px;
      position: relative;
      z-index: 2;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 18px;
      color: rgba(255,255,255,.76);
      font-size: 13px;
      font-weight: 900;
      letter-spacing: .1em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 42px;
      height: 2px;
      background: var(--red);
    }

    h1 {
      max-width: 920px;
      margin: 0;
      font-size: clamp(54px, 8.4vw, 126px);
      line-height: .9;
      letter-spacing: 0;
      text-wrap: balance;
    }

    .lead {
      max-width: 720px;
      margin: 28px 0 0;
      color: rgba(255,255,255,.78);
      font-size: clamp(17px, 2vw, 22px);
      line-height: 1.75;
    }

    .meta-bar {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: #0e1014;
    }

    .meta-item {
      min-height: 118px;
      padding: 24px clamp(20px, 3vw, 44px);
      border-right: 1px solid var(--line);
      display: grid;
      align-content: center;
      gap: 8px;
    }

    .meta-item:last-child { border-right: 0; }
    .meta-item span {
      color: rgba(255,255,255,.52);
      font-size: 13px;
      letter-spacing: .06em;
      text-transform: uppercase;
    }
    .meta-item strong {
      font-size: clamp(20px, 2.6vw, 32px);
      line-height: 1.1;
    }

    section {
      padding: clamp(72px, 10vw, 132px) 0;
    }

    .story {
      background: var(--paper);
      color: var(--ink);
    }

    .story-grid {
      display: grid;
      grid-template-columns: minmax(0, .78fr) minmax(0, 1.1fr);
      gap: clamp(40px, 7vw, 96px);
      align-items: start;
    }

    h2 {
      margin: 0;
      font-size: clamp(36px, 5.5vw, 72px);
      line-height: .98;
      letter-spacing: 0;
      text-wrap: balance;
    }

    .story-copy {
      display: grid;
      gap: 24px;
      color: #3f3b36;
      font-size: clamp(16px, 1.7vw, 19px);
      line-height: 1.85;
    }

    .story-copy p { margin: 0; }

    .case-entry-content {
      width: 100%;
      margin: 0 auto;
      max-width: none;
    }

    .case-entry-content > * {
      width: min(90%, 1120px);
      margin-left: auto;
      margin-right: auto;
    }

    .case-entry-content > figure,
    .case-entry-content > .wp-block-image,
    .case-entry-content > .wp-block-gallery,
    .case-entry-content > .wp-block-video,
    .case-entry-content > img,
    .gallery-content > p:has(> img) {
      width: 90%;
      max-width: none;
      padding-right: 0;
      padding-left: 0;
      margin-top: clamp(18px, 3vw, 36px);
      margin-bottom: clamp(18px, 3vw, 36px);
    }

    .case-entry-content img,
    .case-entry-content video {
      display: block;
      width: 100%;
      height: auto;
      margin-left: auto;
      margin-right: auto;
    }

    .case-entry-content figcaption {
      margin-top: 10px;
      color: #77716a;
      font-size: 13px;
      line-height: 1.6;
      text-align: center;
    }

    .gallery-content {
      color: rgba(255,255,255,.78);
    }

    .gallery-content > p {
      box-sizing: border-box;
      width: 100%;
      padding-right: clamp(24px, 4vw, 56px);
      padding-left: clamp(24px, 4vw, 56px);
    }

    .gallery-content > :first-child {
      margin-top: 0;
    }

    .gallery-content > :last-child {
      margin-bottom: 0;
    }

    .strategy-list {
      display: grid;
      gap: 12px;
      margin-top: 12px;
    }

    .strategy {
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr);
      gap: 16px;
      align-items: start;
      padding: 18px 0;
      border-top: 1px solid rgba(17,18,22,.14);
    }

    .strategy b {
      color: var(--red);
      font-size: 13px;
      letter-spacing: .12em;
    }

    .gallery {
      background: #0b0d10;
      padding: clamp(56px, 8vw, 104px) 0;
    }

    .gallery-grid {
      width: min(1180px, calc(100% - 84px));
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: clamp(18px, 3vw, 34px);
    }

    .shot {
      width: 100%;
      min-height: 0;
      aspect-ratio: 16 / 10;
      background: var(--shot);
      position: relative;
      overflow: hidden;
    }

    .shot.wide { width: 100%; }
    .shot::after {
      content: attr(data-label);
      position: absolute;
      left: 22px;
      bottom: 20px;
      padding: 8px 10px;
      background: rgba(0,0,0,.38);
      border: 1px solid rgba(255,255,255,.18);
      color: rgba(255,255,255,.86);
      font-size: 12px;
      letter-spacing: .08em;
      backdrop-filter: blur(10px);
    }

    .result {
      background: var(--dark);
      border-top: 1px solid rgba(255,255,255,.12);
    }

    .result-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(340px, .52fr);
      gap: clamp(44px, 7vw, 110px);
      align-items: end;
    }

    .result p {
      max-width: 780px;
      margin: 22px 0 0;
      color: rgba(255,255,255,.72);
      font-size: clamp(17px, 2vw, 22px);
      line-height: 1.75;
    }

    .next-panel {
      display: grid;
      gap: 14px;
      padding: 24px;
      border: 1px solid rgba(255,255,255,.16);
      background: rgba(255,255,255,.045);
    }

    .next-panel span {
      color: rgba(255,255,255,.48);
      font-size: 12px;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .btn-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 20px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 50px;
      padding: 14px 18px;
      border: 1px solid rgba(255,255,255,.34);
      background: rgba(255,255,255,.06);
      color: white;
      font-weight: 800;
      transition: transform .24s ease, background .24s ease, border-color .24s ease;
    }

    .btn.primary {
      border-color: var(--red);
      background: var(--red);
    }

    .btn:hover {
      transform: translateY(-2px);
      border-color: white;
      background: rgba(255,255,255,.14);
    }

    .contact {
      background: var(--dark);
      color: white;
      border-top: 1px solid rgba(255,255,255,.1);
    }

    .contact .section-inner {
      width: min(1340px, calc(100% - 84px));
    }

    .contact-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(340px, .55fr);
      gap: clamp(48px, 7vw, 112px);
      align-items: start;
    }

    .contact h2 {
      max-width: 850px;
    }

    .contact-logo {
      display: block;
      width: clamp(130px, 15vw, 190px);
      height: auto;
      margin: 0 0 28px;
    }

    .country-strip {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      max-width: 760px;
      margin-top: 30px;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,.12);
    }

    .country-note {
      max-width: 720px;
      margin: 18px 0 0;
      color: rgba(255,255,255,.7);
      font-size: clamp(15px, 1.6vw, 18px);
      line-height: 1.7;
    }

    .country {
      position: relative;
      appearance: none;
      border: 1px solid rgba(255,255,255,.22);
      background: rgba(255,255,255,.055);
      color: rgba(255,255,255,.78);
      padding: 9px 13px;
      font-size: 13px;
      cursor: pointer;
      transition: color .24s ease, background .24s ease, border-color .24s ease, transform .24s ease;
    }

    .country:hover,
    .country.is-hover,
    .country:focus,
    .country:focus-visible {
      color: #0b0d10;
      background: var(--lime);
      border-color: var(--lime);
      transform: translateY(-2px);
      outline: none;
    }

    .country-preview {
      position: absolute;
      left: 50%;
      bottom: calc(100% + 12px);
      z-index: 6;
      width: 168px;
      height: 104px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.24);
      background: var(--thumb);
      box-shadow: 0 22px 52px rgba(0,0,0,.45);
      opacity: 0;
      transform: translate(-50%, 8px) scale(.96);
      transform-origin: bottom center;
      pointer-events: none;
      transition: opacity .22s ease, transform .22s ease;
    }

    .country-preview::before,
    .country-preview::after {
      content: "";
      position: absolute;
    }

    .country-preview::before {
      content: attr(data-title);
      left: 12px;
      top: 10px;
      color: white;
      font-size: 12px;
      font-weight: 800;
      text-shadow: 0 1px 10px rgba(0,0,0,.35);
    }

    .country-preview::after {
      inset: auto 16px 12px 18px;
      width: 78px;
      height: 28px;
      border: 1px solid rgba(255,255,255,.42);
      background: rgba(8,11,14,.42);
    }

    .country-image {
      position: absolute;
      inset: 0;
      z-index: -1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .country-image:not([src]),
    .country-image[src=""] {
      display: none;
    }

    .country:hover .country-preview,
    .country.is-hover .country-preview,
    .country:focus .country-preview,
    .country:focus-visible .country-preview {
      opacity: 1;
      transform: translate(-50%, 0) scale(1);
    }

    form {
      display: grid;
      gap: 12px;
      align-content: start;
    }

    input,
    textarea {
      width: 100%;
      border: 1px solid rgba(255,255,255,.18);
      background: rgba(255,255,255,.06);
      color: white;
      padding: 15px 14px;
      outline: none;
      border-radius: 0;
    }

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

    input::placeholder,
    textarea::placeholder {
      color: rgba(255,255,255,.45);
    }

    .submit {
      min-height: 52px;
      border: 0;
      background: var(--lime);
      color: #111;
      font-weight: 800;
      cursor: pointer;
    }

    .submit:disabled {
      cursor: default;
      opacity: .72;
    }

    .form-status {
      min-height: 20px;
      margin: 0;
      color: rgba(255,255,255,.66);
      font-size: 13px;
      line-height: 1.5;
    }

    .aibo-ajax-form.is-success .form-status {
      color: var(--lime);
    }

    .aibo-ajax-form.is-error .form-status {
      color: #ff8b8b;
    }

    .contact-info {
      display: grid;
      gap: 14px;
      align-content: end;
      margin-top: 20px;
      color: rgba(255,255,255,.72);
      line-height: 1.7;
    }

    .contact-info strong {
      display: block;
      color: white;
      margin-bottom: 2px;
    }

    footer {
      padding: 28px clamp(18px, 4vw, 56px);
      background: var(--dark);
      color: rgba(255,255,255,.54);
      border-top: 1px solid rgba(255,255,255,.1);
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      font-size: 13px;
    }

    @media (max-width: 900px) {
      .hero-inner,
      .section-inner { width: min(100% - 36px, 720px); }
      .case-entry-content { width: 100%; }
      .gallery-content > p {
        padding-right: 12px;
        padding-left: 12px;
      }
      .gallery-content > p:has(> img),
      .case-entry-content > figure,
      .case-entry-content > .wp-block-image,
      .case-entry-content > .wp-block-gallery,
      .case-entry-content > .wp-block-video,
      .case-entry-content > img {
        width: 90%;
        padding-right: 0;
        padding-left: 0;
      }
      .case-hero::after { opacity: .32; right: -18vw; width: 80vw; }
      .meta-bar,
      .story-grid,
      .result-grid,
      .contact-grid { grid-template-columns: 1fr; }
      .meta-item { border-right: 0; border-bottom: 1px solid var(--line); }
      .gallery-grid { width: min(100% - 36px, 720px); }
      .shot,
      .shot.wide { width: 100%; }
      .nav-link { display: none; }
      .contact .section-inner {
        width: min(1180px, calc(100% - 40px));
      }
    }

    @media (max-width: 560px) {
      .hero-inner { padding-top: 112px; }
      h1 { font-size: clamp(42px, 16vw, 72px); }
      .btn { width: 100%; }
      .country-strip { gap: 8px; }
      .country-preview {
        left: 0;
        transform: translate(0, 8px) scale(.96);
      }
      .country:hover .country-preview,
      .country.is-hover .country-preview,
      .country:focus .country-preview,
      .country:focus-visible .country-preview {
        transform: translate(0, 0) scale(1);
      }
    }
