  :root {
    --bg: #ffffff;
    --bg-alt: #f5f5f3;
    --ink: #141414;
    --muted: #6a6a6a;
    --subtle: #9a9a9a;
    --line: #e6e6e3;
    --accent: #e8503a;
    --accent-soft: #fbe3dd;
    --max: 1200px;
    --pad: clamp(20px, 5vw, 56px);
    --mono: 'JetBrains Mono', ui-monospace, monospace;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Lexend', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  ::selection { background: var(--accent); color: #fff; }
  .wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

  /* highlight chip (ollyo-style) */
  .chip {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.72em;
    font-weight: 500;
    padding: 0.08em 0.5em;
    border-radius: 5px;
    vertical-align: middle;
    line-height: 1.25;
    letter-spacing: 0;
  }

  /* ---------- header ---------- */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
  .logo { display: inline-flex; align-items: center; gap: 10px; }
  .logo-mark { height: 34px; width: auto; display: block; flex: 0 0 auto; }
  .logo-wm { font-weight: 700; font-size: 1.75rem; letter-spacing: -0.035em; color: var(--ink); line-height: 1; }
  .logo-a {
    font-weight: 800;
    background-image: radial-gradient(var(--accent) 38%, transparent 40%), radial-gradient(var(--accent) 38%, transparent 40%);
    background-size: 3px 3px, 3px 3px;
    background-position: 0 0, 1.5px 1.5px;
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .nav-links { display: flex; gap: 30px; }
  .nav-links a { font-size: 0.95rem; color: var(--muted); transition: color .2s var(--ease); }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta { display: inline-flex; align-items: center; background: var(--ink); color: #fff; font-size: 0.9rem; font-weight: 500; padding: 9px 18px; border-radius: 999px; --fill2: var(--accent); --fill-text: #fff; }
  .burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
  .burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

  /* ---------- hero ---------- */
  .hero { padding: clamp(50px, 9vw, 110px) var(--pad) clamp(40px, 7vw, 80px); }
  .hero-head {
    font-weight: 700; letter-spacing: -0.03em; line-height: 1.04;
    margin: 0; max-width: 20ch;
  }
  .hero-lead {
    display: block;
    font-size: clamp(1.4rem, 3.4vw, 2.4rem);
    font-weight: 500; color: var(--ink);
  }
  .hero-accent {
    display: inline-block;
    font-size: clamp(2.8rem, 8.4vw, 6.4rem);
    font-weight: 800; letter-spacing: -0.045em;
    text-transform: uppercase; color: var(--ink);
    line-height: 1.02;
  }
  /* rotating word cycle */
  .hero-rot {
    display: inline-block; height: 1em; overflow: hidden;
    vertical-align: bottom; margin-left: 0.18em;
    font-size: clamp(2.8rem, 8.4vw, 6.4rem);
    font-weight: 800; letter-spacing: -0.045em; line-height: 1.02;
  }
  .rot-track { display: block; animation: rotwords 6s cubic-bezier(.8,0,.2,1) infinite; }
  .rot-track > span { display: block; height: 1em; color: var(--accent); text-transform: lowercase; }
  @keyframes rotwords {
    0%, 22%    { transform: translateY(0); }
    30%, 55%   { transform: translateY(-1em); }
    63%, 88%   { transform: translateY(-2em); }
    96%, 100%  { transform: translateY(-3em); }
  }
  .hero-para {
    max-width: 52ch; margin-top: clamp(22px, 4vw, 40px);
    font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--muted); line-height: 1.55;
  }
  .hero-para strong { color: var(--ink); font-weight: 600; }

  /* animated particle-network background */
  .hero { position: relative; }
  .hero-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    align-items: center; gap: clamp(28px, 5vw, 64px);
  }
  .hero-inner { position: relative; z-index: 2; }
  /* hero icon tiles — seamless square grid with animated icons */
  .hero-visual { position: relative; }
  .tiles { position: relative; height: clamp(400px, 44vw, 500px); max-width: 460px; margin: 0 auto; }
  .tile {
    position: absolute; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 24px;
    box-shadow: 0 10px 20px -8px rgba(20,20,20,.12), 0 40px 70px -30px rgba(20,20,20,.42);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px;
    will-change: transform;
  }
  .tile .ic { width: 40%; height: 40%; display: block; }
  .tile span { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; }
  /* scattered, independently floating cards (no cursor interaction) */
  .t-agent { width: clamp(144px, 38%, 180px); top: 29%; left: 32%; color: var(--accent); background: #fdf1ee; border-color: rgba(232,80,58,.22); animation: floaty3 7.2s ease-in-out infinite; }
  .t-auto  { width: clamp(116px, 30%, 140px); top: 6%; left: 0; color: var(--ink); animation: floaty1 6.4s ease-in-out infinite .5s; }
  .t-dev   { width: clamp(110px, 29%, 132px); top: 0; right: 2%; color: var(--ink); animation: floaty2 7.6s ease-in-out infinite .2s; }
  .t-web   { width: clamp(120px, 32%, 148px); top: 63%; left: 6%; color: var(--ink); animation: floaty2 6.8s ease-in-out infinite .9s; }
  .t-infra { width: clamp(112px, 30%, 134px); top: 56%; right: 0; color: var(--ink); animation: floaty1 7.3s ease-in-out infinite .6s; }
  @keyframes floaty1 { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-17px) rotate(1.5deg); } }
  @keyframes floaty2 { 0%,100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-13px) rotate(-2deg); } }
  @keyframes floaty3 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-21px) rotate(2deg); } }
  /* icon animations */
  .ic-auto .flow { stroke-dasharray: 4 7; animation: flow 1.3s linear infinite; }
  .ic-auto .n-top { transform-box: fill-box; transform-origin: center; animation: nodePulse 2s ease-in-out infinite; }
  .ic-auto .n-bot { transform-box: fill-box; transform-origin: center; animation: nodePulse 2s ease-in-out infinite 1s; }
  .ic-agent .ag-ring, .ic-agent .ag-orbit, .ic-agent .ag-orbit2 { transform-box: view-box; transform-origin: 24px 24px; }
  .ic-agent .ag-ring { animation: spin 20s linear infinite; }
  .ic-agent .ag-orbit { animation: spin 3.4s linear infinite; }
  .ic-agent .ag-orbit2 { animation: spin 5s linear infinite reverse; }
  .ic-agent .ag-core { transform-box: fill-box; transform-origin: center; animation: nodePulse 2s ease-in-out infinite; }
  .ic-web .web-block { transform-box: fill-box; transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
  .ic-dev .d-l { transform-box: fill-box; transform-origin: center; animation: devL 2.6s ease-in-out infinite; }
  .ic-dev .d-r { transform-box: fill-box; transform-origin: center; animation: devR 2.6s ease-in-out infinite; }
  .ic-dev .d-s { animation: devBlink 1.5s steps(1) infinite; }
  .ic-infra .l1 { animation: led 1.5s steps(1) infinite; }
  .ic-infra .l2 { animation: led 1.5s steps(1) infinite .3s; }
  .ic-infra .l3 { animation: led 1.5s steps(1) infinite .6s; }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes flow { to { stroke-dashoffset: -22; } }
  @keyframes devL { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-2.5px); } }
  @keyframes devR { 0%,100% { transform: translateX(0); } 50% { transform: translateX(2.5px); } }
  @keyframes devBlink { 0%,60% { opacity: 1; } 61%,100% { opacity: .2; } }
  @keyframes twinkle { 0%,100% { opacity: .35; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }
  @keyframes nodePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.22); } }
  @keyframes led { 0%,45% { opacity: 1; } 55%,100% { opacity: .22; } }
  /* centered highlighted-word band */
  .hlband { text-align: center; background: var(--bg-alt); }
  .hlband .wrap { max-width: 1100px; }
  .hlband .read-reveal { font-size: clamp(1.7rem, 4vw, 3rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.28; max-width: min(92%, 980px); margin: 0 auto; }
  .hlband .ic { display: inline-flex; align-items: center; justify-content: center; width: 0.82em; height: 0.82em; border-radius: 0.24em; vertical-align: -0.1em; margin: 0 0.08em; }
  .hlband .ic svg { width: 0.5em; height: 0.5em; }
  .hlband .ic1 { background: var(--accent); color: #fff; transform: rotate(-4deg); }
  .hlband .ic2 { background: var(--ink); color: #fff; border-radius: 50%; transform: rotate(4deg); }
  .hl-sub { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; max-width: 46ch; margin: 24px auto 0; }
  .hl-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
  .hl-ctas a { border-radius: 30px; padding: 14px 28px; font-weight: 600; font-size: 0.95rem; }
  .btn-primary { background: var(--ink); color: #fff; --fill2: var(--accent); --fill-text: #fff; }
  .btn-ghost { border: 1px solid var(--line); color: var(--ink); background: #fff; transition: background .25s var(--ease), border-color .25s var(--ease); }
  .btn-ghost:hover { background: var(--bg-alt); border-color: var(--subtle); }
  /* liquid-fill button hover — two circles rise from the bottom */
  .btn-fx { position: relative; overflow: hidden; isolation: isolate; transition: color .9s var(--ease) .8s; }
  .btn-fx .btn-txt { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; }
  .btn-fx .btn-fill { position: absolute; left: 50%; bottom: 0; width: 200%; aspect-ratio: 1 / 1; border-radius: 50%; transform: translate(-50%, 118%); transition: transform 2.4s cubic-bezier(.22, 1, .36, 1); z-index: 1; pointer-events: none; }
  .btn-fx .f1 { display: none; }
  .btn-fx .f2 { background: var(--fill2); }
  .btn-fx:hover .btn-fill { transform: translate(-50%, 40%); }
  .btn-fx:hover { color: var(--fill-text, #fff); }
  @media (prefers-reduced-motion: reduce) { .btn-fx .btn-fill { transition: none; } }

  /* floating work preview */
  @keyframes cardfloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
  @keyframes phonefloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
  @keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(53,208,127,.6);} 70%{box-shadow:0 0 0 7px rgba(53,208,127,0);} 100%{box-shadow:0 0 0 0 rgba(53,208,127,0);} }
  .hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

  /* ---------- section scaffold ---------- */
  section.block { padding: clamp(64px, 10vw, 130px) 0; }
  .eyebrow { font-family: var(--mono); font-size: 0.8rem; color: var(--subtle); letter-spacing: 0.02em; margin-bottom: 26px; }
  h2.big {
    font-size: clamp(1.9rem, 4.4vw, 3.4rem);
    font-weight: 600; line-height: 1.1; letter-spacing: -0.03em;
    max-width: 20ch;
  }

  /* statement */
  .bg-alt { background: var(--bg-alt); }
  .statement { background: var(--bg-alt); }
  .statement p {
    font-size: clamp(1.5rem, 3.6vw, 2.8rem); font-weight: 500;
    line-height: 1.2; letter-spacing: -0.02em; max-width: 24ch;
  }
  .statement .small { font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 400; color: var(--muted); max-width: 52ch; margin-top: 30px; line-height: 1.6; }
  /* scroll reading reveal — words sweep from muted grey to solid ink */
  .read-reveal {
    font-size: clamp(1.6rem, 3.9vw, 3rem); font-weight: 600;
    line-height: 1.32; letter-spacing: -0.02em; max-width: 24ch;
  }
  .read-reveal .w { color: #c7c7c0; transition: color 0.05s linear; }

  /* capabilities (slash list) */
  .caps-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 50px; }
  /* services accordion */
  .svc-list { border-top: 1px solid var(--line); }
  .svc {
    display: grid; grid-template-columns: 54px 1fr; gap: 20px;
    padding: 28px 24px; border-bottom: 1px solid var(--line);
    cursor: pointer; transition: background .8s var(--ease);
  }
  .svc-num { font-family: var(--mono); font-size: 0.8rem; color: var(--subtle); padding-top: 0.45em; transition: color .3s var(--ease); }
  .svc-body { min-width: 0; }
  .svc-title { font-size: clamp(1.4rem, 2.8vw, 2.1rem); font-weight: 500; letter-spacing: -0.02em; margin: 0; transition: color .3s var(--ease); }
  .svc-tags { font-size: 0.88rem; color: var(--muted); margin: 11px 0 0; }
  .svc-tags i { font-style: normal; color: var(--subtle); margin: 0 8px; }
  .svc-panel { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: 0; transition: grid-template-rows .9s var(--ease), opacity .7s var(--ease), margin-top .8s var(--ease); }
  .svc-panel-in { overflow: hidden; min-height: 0; }
  .svc-desc { font-size: 1rem; color: var(--muted); line-height: 1.6; max-width: 54ch; margin: 0; }
  .svc-cta {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
    font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--ink); border: 1px solid var(--ink); border-radius: 30px; padding: 11px 22px;
    transition: background .25s var(--ease), color .25s var(--ease);
  }
  .svc-cta:hover { background: var(--ink); color: #fff; }
  .svc.open { background: #f1f2f4; }
  .svc.open .svc-num { color: var(--accent); }
  .svc.open .svc-panel { grid-template-rows: 1fr; opacity: 1; margin-top: 18px; }

  /* work — full-bleed accent showcase panel (one project at a time) */
  .show { position: relative; overflow: hidden; background: var(--sa, #7a4f99); color: #fff; transition: background-color .8s var(--ease); }
  section.show { padding: clamp(46px, 5.5vw, 78px) 0 clamp(78px, 8vw, 112px); }
  .show-name { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); font-size: clamp(6rem, 21vw, 19rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: rgba(0,0,0,.13); white-space: nowrap; pointer-events: none; z-index: 0; text-transform: lowercase; will-change: transform, opacity; }
  .show-title { position: relative; z-index: 1; text-align: center; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; color: #fff; margin: 0 0 clamp(12px, 1.4vw, 18px); }
  .show-inner { position: relative; z-index: 1; text-align: center; will-change: transform, opacity; }
  .show-descs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin: 0 0 clamp(34px, 4.5vw, 56px); }
  .show-descs span { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,.82); display: inline-flex; align-items: center; }
  .show-descs span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.5); margin-right: 14px; }
  .show-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(34px, 4vw, 48px); background: #fff; color: var(--ink); font-weight: 600; font-size: 0.95rem; border-radius: 30px; padding: 15px 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
  .show-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0,0,0,.45); }
  /* central framed screenshot + floating bits */
  .show-stage { position: relative; max-width: 900px; margin: 0 auto; }
  .show-frame { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 50px 90px -40px rgba(0,0,0,.55); }
  .show-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f3f3f1; border-bottom: 1px solid var(--line); }
  .show-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #d4d4d1; }
  .show-bar .dot.d1 { background: var(--accent); }
  .show-barurl { margin-left: 10px; font-family: var(--mono); font-size: 0.72rem; color: var(--subtle); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; }
  .show-shot { overflow: hidden; }
  .show-shot img { display: block; width: 100%; height: auto; }
  .show-phone { position: absolute; right: -58px; bottom: -40px; width: 148px; border: 6px solid #141414; border-radius: 24px; overflow: hidden; background: #141414; box-shadow: 0 30px 54px -20px rgba(0,0,0,.55); transform: rotate(5deg); }
  .show-phone img { display: block; width: 100%; }
  .show-chip { position: absolute; left: -44px; bottom: 40px; z-index: 7; background: #fff; color: var(--ink); border-radius: 12px; padding: 11px 15px; box-shadow: 0 22px 44px -18px rgba(0,0,0,.5); display: flex; align-items: center; gap: 9px; font-size: 0.8rem; font-weight: 500; white-space: nowrap; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
  .show-chip:hover { transform: translateY(-2px); box-shadow: 0 26px 50px -18px rgba(0,0,0,.55); }
  .show-chip .live { width: 8px; height: 8px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 0 rgba(53,208,127,.6); animation: livepulse 2s infinite; }
  .show-chip-ico { width: 14px; height: 14px; margin-left: 1px; color: var(--muted); }
  .show-note { position: absolute; font-family: 'Caveat', cursive; font-size: 1.55rem; line-height: 1; color: rgba(255,255,255,.92); }
  .show-note.n-left { left: -34px; top: 52px; transform: rotate(-7deg); }
  .show-note.n-right { right: -26px; top: 104px; transform: rotate(6deg); }
  /* feature columns */
  /* controls */
  .show-arrow { position: absolute; top: 46%; transform: translateY(-50%); z-index: 6; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); backdrop-filter: blur(4px); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
  .show-arrow:hover { background: #fff; color: var(--ink); }
  .show-arrow svg { width: 20px; height: 20px; }
  .show-arrow-l { left: -24px; }
  .show-arrow-r { right: -24px; }

  /* values */
  .values { background: var(--bg-alt); }
  .val-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 20px; }
  .val h4 { font-family: var(--mono); font-weight: 500; font-size: 0.82rem; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 14px; }
  .val p { font-size: 1.05rem; color: var(--ink); line-height: 1.55; }
  .val .big-mark { font-size: clamp(2.4rem,5vw,4rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 10px; display: block; }

  /* team */
  .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: clamp(18px,2.4vw,30px); margin-top: 20px; }
  .tcard .photo { aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: var(--bg-alt); border: 1px solid var(--line); }
  .tcard .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(1); transition: filter .4s var(--ease), transform .5s var(--ease); display: block; }
  .tcard:hover .photo img { filter: grayscale(0); transform: scale(1.04); }
  .tcard h4 { font-size: 1.05rem; font-weight: 600; margin-top: 14px; }
  .tcard p { font-size: 0.88rem; color: var(--muted); }

  /* contact */
  .contact { background: var(--ink); color: #fff; }
  .contact h2 { font-size: clamp(2.2rem, 6vw, 5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
  .contact .accent { color: var(--accent); }
  .contact .lead { color: #b7b7b7; max-width: 46ch; margin-top: 24px; font-size: 1.1rem; }
  .contact .mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; background: #fff; color: var(--ink); font-weight: 600; padding: 16px 30px; border-radius: 999px; font-family: var(--mono); transition: background .2s var(--ease), color .2s var(--ease); }
  .contact .mail:hover { background: var(--accent); color: #fff; }

  footer.foot { border-top: 1px solid rgba(255,255,255,0.12); margin-top: clamp(50px,8vw,90px); padding-top: 34px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 0.85rem; color: #8a8a8a; }

  /* giant animated wordmark (mobbin-style) — full width, top half only */
  .block.contact { padding-bottom: 0; }
  .bigmark {
    width: 100%;
    overflow: hidden;
    font-size: clamp(5.5rem, 23vw, 22rem);
    height: 0.6em;            /* shows ~top 60% of the letters, any screen */
    margin-top: clamp(30px, 5vw, 70px);
    user-select: none;
  }
  .bigmark-inner {
    display: flex; justify-content: center;
    font-weight: 800; font-size: 1em;
    line-height: 0.9; letter-spacing: -0.05em; text-transform: lowercase;
    white-space: nowrap;
  }
  .bigmark .bl { display: inline-block; overflow: hidden; }
  .bigmark .bl > span {
    display: inline-block; color: #262626;
    transform: translateY(110%);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i) * 70ms);
  }
  .bigmark.in .bl > span { transform: translateY(0); }
  .bigmark .bl.ga > span { color: #5e2d24; }

  /* reveal */
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }

  /* responsive */
  @media (max-width: 820px) {
    .nav-links, .nav .nav-cta { display: none; }
    .burger { display: flex; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 520px; margin-top: 8px; }
    .hero-para { text-align: left; }
    .svc { grid-template-columns: 38px 1fr; gap: 14px; padding: 22px 16px; }
    .show-phone, .show-note { display: none; }
    .show-chip { position: static; display: flex; width: max-content; max-width: 100%; margin: 20px auto 0; }
    .show-name { font-size: 28vw; }
    .val-grid { grid-template-columns: 1fr; }
    .mobile-open { display: flex !important; }
  }
  @media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

  /* ===== about page ===== */
  .about-hero { padding-top: clamp(64px, 10vw, 130px); }
  .about-head { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; max-width: 20ch; margin: 18px 0 0; }
  .about-sub { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 62ch; margin: 24px 0 0; }
  .about-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
  .acard { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: clamp(22px, 2.4vw, 34px); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
  .acard:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -28px rgba(20,20,20,.3); }
  .acard-ic { width: 46px; height: 46px; border-radius: 12px; background: #fdf1ee; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
  .acard-ic svg { width: 24px; height: 24px; }
  .acard h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; margin: 18px 0 8px; }
  .acard p { color: var(--muted); line-height: 1.6; font-size: 0.98rem; }
  .founder-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
  .founder-photo { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 34px 64px -34px rgba(20,20,20,.35); aspect-ratio: 4 / 5; }
  .founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
  .founder-bio h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; margin: 10px 0 0; }
  .founder-role { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 8px 0 20px; }
  .founder-bio p.bio { color: var(--muted); line-height: 1.7; max-width: 54ch; }
  .founder-bio p.bio + p.bio { margin-top: 16px; }
  @media (max-width: 820px) {
    .about-cards { grid-template-columns: 1fr; }
    .founder-grid { grid-template-columns: 1fr; }
    .founder-photo { max-width: 380px; }
  }

  /* ===== services page ===== */
  .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
  .scard { position: relative; overflow: hidden; }
  .scard .num { position: absolute; top: 20px; right: 22px; font-family: var(--mono); font-size: 0.72rem; color: var(--subtle); }
  .scard .stags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
  .scard .stags span { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); border: 1px solid var(--line); border-radius: 20px; padding: 4px 10px; }
  @media (max-width: 920px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

  /* ===== service detail pages ===== */
  .acard[href] { text-decoration: none; color: inherit; display: block; }
  .svc-hero { padding-top: clamp(60px, 9vw, 120px); }
  .svc-hero .svc-ic { width: 64px; height: 64px; border-radius: 16px; background: #fdf1ee; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 26px; }
  .svc-hero .svc-ic svg { width: 34px; height: 34px; }
  .svc-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; max-width: 18ch; margin: 0; }
  .svc-hero .lead2 { color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.6; max-width: 56ch; margin: 22px 0 0; }
  .svc-hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }
  .back-link { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
  .back-link:hover { color: var(--accent); }
  .feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.6vw, 34px); }
  .feat { display: flex; gap: 14px; align-items: flex-start; }
  .feat-dot { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: #fdf1ee; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
  .feat-dot svg { width: 16px; height: 16px; }
  .feat h4 { font-size: 1.08rem; font-weight: 600; }
  .feat p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin-top: 5px; max-width: 42ch; }
  /* portfolio item */
  .pf-item { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
  .pf-item .shot { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(20,20,20,.3); aspect-ratio: 1440 / 785; background: var(--bg-alt); }
  .pf-item .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
  .pf-item .cat { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
  .pf-item h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 0; }
  .pf-item p { color: var(--muted); line-height: 1.6; margin-top: 14px; max-width: 44ch; }
  .pf-item .visit { display: inline-flex; margin-top: 20px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
  .pf-item + .pf-item { margin-top: clamp(40px, 5vw, 72px); }
  @media (max-width: 820px) { .feat-list { grid-template-columns: 1fr; } .pf-item { grid-template-columns: 1fr; } }

  /* ===== process (connected circles) ===== */
  .process { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; margin-top: clamp(28px, 4vw, 48px); }
  .process::before { content: ""; position: absolute; top: 34px; left: 16.66%; right: 16.66%; height: 2px; background: var(--line); z-index: 1; }
  .pstep { text-align: center; position: relative; z-index: 2; }
  .pdot { width: 68px; height: 68px; border-radius: 50%; background: #fdf1ee; color: var(--accent); border: 1px solid rgba(232,80,58,.28); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px #fff; }
  .pdot svg { width: 30px; height: 30px; }
  .pstep .pnum { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--accent); margin-top: 18px; }
  .pstep h4 { margin-top: 4px; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
  .pstep p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 10px auto 0; max-width: 34ch; }
  @media (max-width: 720px) {
    .process { grid-template-columns: 1fr; gap: 30px; }
    .process::before { display: none; }
  }

  /* ===== services mega-menu ===== */
  header { z-index: 60; }
  .nav-services { position: static; display: inline-flex; align-items: center; }
  .nav-services > a { display: inline-flex; align-items: center; gap: 6px; }
  .nav-caret { font-size: 0.7em; color: var(--subtle); transition: transform .25s var(--ease), color .25s var(--ease); }
  .nav-services:hover .nav-caret { transform: rotate(180deg); color: var(--accent); }
  .mega {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(20,20,20,.28);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    z-index: 60;
  }
  .nav-services:hover .mega, .mega:hover { opacity: 1; visibility: visible; transform: translateY(0); }
  .mega-inner { display: grid; grid-template-columns: 0.9fr 2.1fr; gap: clamp(32px, 5vw, 72px); padding: clamp(30px, 3.4vw, 46px) 0; }
  .mega-intro h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }
  .mega-intro p { color: var(--muted); margin-top: 12px; line-height: 1.6; max-width: 34ch; }
  .mega-all { display: inline-flex; margin-top: 20px; font-weight: 500; color: var(--accent); }
  .mega-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 28px; }
  .mega-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 12px; text-decoration: none; transition: background .2s var(--ease); }
  .mega-item:hover { background: var(--bg-alt); }
  .mega-ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: #fdf1ee; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
  .mega-ic svg { width: 21px; height: 21px; }
  .mega-tx { display: flex; flex-direction: column; }
  .mega-tx strong { font-size: 0.98rem; font-weight: 600; color: var(--ink); }
  .mega-tx em { font-style: normal; font-size: 0.85rem; color: var(--muted); margin-top: 2px; }
  @media (max-width: 820px) { .mega, .nav-caret { display: none; } }

  /* ===== mobile polish ===== */
  .hero-ctas-m { display: none; }
  @media (max-width: 820px) {
    /* mobile hero: drop the paragraph; 5 small square tiles on a slowly rotating ring */
    .hero-para { display: none; }
    .hero { overflow: hidden; }
    /* mobile order: tiles first, then the headline, then the buttons */
    .hero-grid { gap: clamp(20px, 5vw, 32px); }
    .hero-visual { order: 1; }
    .hero-inner { order: 2; }
    .hero-ctas-m { order: 3; }
    .hero-visual { display: block; margin-top: 2px; }
    .tiles { position: relative; height: clamp(206px, 62vw, 248px); aspect-ratio: auto; max-width: 290px; margin: 0 auto; --r: clamp(62px, 19.5vw, 82px); }
    .tiles .tile { position: absolute; top: 50%; left: 50%; width: clamp(58px, 18vw, 76px); aspect-ratio: 1; margin: 0; gap: 5px; border-radius: 15px; box-shadow: 0 12px 26px -16px rgba(20,20,20,.3);
      transform: translate(-50%, -50%) rotate(calc(var(--a) + var(--t))) translateY(calc(-1 * var(--r))) rotate(calc(-1 * (var(--a) + var(--t))));
      animation: orbit 34s linear infinite; }
    .tiles .tile .ic { width: 40%; height: 40%; }
    .tiles .tile span { font-size: 0.46rem; }
    .tiles .t-agent { --a: 0deg; }
    .tiles .t-auto  { --a: 72deg; }
    .tiles .t-dev   { --a: 144deg; }
    .tiles .t-web   { --a: 216deg; }
    .tiles .t-infra { --a: 288deg; }
    .hero-ctas-m { display: flex; gap: 10px; margin-top: 14px; }
    .hero-ctas-m a { flex: 1; display: inline-flex; align-items: center; justify-content: center; border-radius: 30px; padding: 14px 14px; font-weight: 600; font-size: 0.9rem; text-align: center; white-space: nowrap; }
    /* portfolio arrows: keep them on-frame, not clipped */
    .show-arrow { width: 46px; height: 46px; }
    .show-arrow-l { left: 2px; }
    .show-arrow-r { right: 2px; }
  }
  @media (max-width: 420px) {
    .hero-accent, .hero-rot { font-size: clamp(2.2rem, 11.5vw, 3rem); }
    .hero-lead { font-size: clamp(1.25rem, 5.6vw, 1.6rem); }
  }
  /* orbit for the mobile hero ring: all tiles share one animated angle (--t), each kept upright */
  @property --t { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
  @keyframes orbit { from { --t: 0deg; } to { --t: 360deg; } }
