

:root {
  
  --paper:       #F4EEE1;
  --paper-2:     #EAE2D0;
  --ink:         #16181F;
  --ink-soft:    #5A554A;
  --line:        #D8CFBC;
  --accent:      #2348E6;   
  --accent-warm: #FF6A2B;   

  
  --on-ink:      #F4EEE1;
  --on-ink-soft: #B9B3A6;

  --radius: 14px;
  --radius-sm: 10px;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1140px;
  --pad: 24px;

  --shadow-card: 0 18px 40px -20px rgba(22, 20, 15, 0.30);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 68px;
  
  overscroll-behavior-y: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  overscroll-behavior-y: none;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.display { font-family: var(--font-display); line-height: 1.02; letter-spacing: -0.02em; }
.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.accent { color: var(--accent); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 22px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); }
.btn:active { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn-block { width: 100%; padding: 15px; font-size: 1rem; }

.announce {
  background: var(--accent);
  color: #fff;
  font-size: 0.92rem;
  position: relative;
  z-index: 60;
}
.announce .wrap { display: flex; align-items: center; gap: 14px; padding: 11px 24px; min-height: 44px; }
.announce-msg { display: inline-flex; align-items: center; gap: 10px; margin: 0; line-height: 1.4; }
.announce-msg strong { font-weight: 700; }
.announce-msg a { color: #fff; text-decoration: underline; }
.announce-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-warm); flex: 0 0 auto; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); animation: announcePulse 2.4s infinite; }
@keyframes announcePulse { 70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.announce-link {
  margin-left: auto;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--accent);
  background: #fff;
  padding: 7px 14px;
  border-radius: 100px;
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.announce-link:hover { transform: translateY(-1px); }
.announce-link:empty { display: none; }
.announce-close { margin-left: 6px; background: transparent; border: none; color: rgba(255, 255, 255, 0.85); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 4px; flex: 0 0 auto; }
.announce-close:hover { color: #fff; }
.announce-link:empty + .announce-close { margin-left: auto; }
@media (max-width: 620px) {
  .announce { font-size: 0.84rem; }
  
  .announce .wrap { flex-wrap: wrap; gap: 6px 12px; padding: 10px 16px; }
  .announce-msg { flex: 1 1 auto; }
  .announce-close { order: 2; margin-left: 0; font-size: 1.5rem; padding: 2px 8px; align-self: flex-start; }
  .announce-link { order: 3; flex: 0 0 auto; margin-left: 0; padding: 6px 12px; font-size: 0.8rem; }
  .announce-link:empty + .announce-close { margin-left: auto; }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand .bmark {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: block;
}

.b-c { color: var(--accent); }
.b-o { color: var(--accent-warm); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a:not(.btn) {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(0) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-2px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--pad) 22px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .nav.open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a:not(.btn) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav-links .btn { margin-top: 16px; }
}

.hero { padding: clamp(8px, 1.2vw, 16px) 0 clamp(48px, 7vw, 80px); position: relative; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(620px 320px at 88% -8%, rgba(31, 53, 255, 0.07), transparent 70%),
    radial-gradient(420px 260px at 100% 30%, rgba(255, 90, 31, 0.05), transparent 70%);
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }

.why { position: relative; overflow: hidden; }
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(640px 360px at 92% -10%, rgba(255, 90, 31, 0.06), transparent 70%),
    repeating-linear-gradient(135deg, rgba(244, 241, 234, 0.035) 0 1px, transparent 1px 12px);
}
.why .wrap { position: relative; z-index: 1; }

footer { position: relative; overflow: hidden; }
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(560px 300px at 90% 130%, rgba(31, 53, 255, 0.09), transparent 70%),
    repeating-linear-gradient(135deg, rgba(244, 241, 234, 0.03) 0 1px, transparent 1px 12px);
}
footer .wrap { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.eyebrow .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-warm);
  box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(255, 90, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 15ch;
}
h1.hero-title .accent-text { color: var(--accent); }

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.6;
  margin: 30px 0 40px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 20px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.strip { background: var(--paper-2); }
.strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-item { padding: 36px 30px; border-right: 1px solid var(--line); }
.strip-item:first-child { padding-left: 0; }
.strip-item:last-child { border-right: none; padding-right: 0; }
.strip-item .ix { color: var(--accent); margin-bottom: 10px; }
.strip-item h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.strip-item p { font-size: 0.92rem; color: var(--ink-soft); }

@media (max-width: 760px) {
  .strip .wrap { grid-template-columns: 1fr; }
  .strip-item,
  .strip-item:first-child { padding: 22px 0; border-right: none; border-bottom: 1px solid var(--line); }
  .strip-item:last-child { border-bottom: none; }
}

section { padding: clamp(88px, 12vw, 140px) 0; }

#main > section:first-child { padding-top: clamp(8px, 1.2vw, 16px); }

#main > * + section, #main > * + .strip { border-top: 1px solid var(--line); }
.sec-head { max-width: 60ch; }
.sec-label { color: var(--accent); margin-bottom: 18px; }
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 20ch;
}
.sec-intro { color: var(--ink-soft); max-width: 56ch; margin-top: 22px; font-size: 1.06rem; line-height: 1.62; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: #c9c2b2;
}
.card .num { color: var(--accent); }
.card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 18px 0 10px;
}
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .card-foot {
  margin-top: 20px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.card ul { list-style: none; margin-top: 16px; display: grid; gap: 7px; }
.card li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
@media (max-width: 880px) { .cards { grid-template-columns: 1fr; } }

.why { background: var(--ink); color: var(--on-ink); }
.why h2 { color: var(--on-ink); }
.why .sec-label { color: var(--accent-warm); }
.why .sec-intro { color: var(--on-ink-soft); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 0;
  margin-top: 62px;
  border-top: 1px solid rgba(244, 241, 234, 0.14);
}
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 34px 36px 34px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.14);
}
.why-item:nth-child(odd) { border-right: 1px solid rgba(244, 241, 234, 0.14); padding-right: 40px; }
.why-item:nth-child(even) { padding-left: 40px; }
.why-item .mk {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(244, 241, 234, 0.08);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  color: var(--accent-warm);
  font-size: 0.9rem;
  font-weight: 500;
}
.why-item h4 { font-family: var(--font-display); font-size: 1.14rem; margin-bottom: 5px; }
.why-item p { color: var(--on-ink-soft); font-size: 0.95rem; }

@media (max-width: 760px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item,
  .why-item:nth-child(odd),
  .why-item:nth-child(even) { padding: 24px 0; border-right: none; }
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 60px; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--ink); }
.step .n {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.step h4 { font-family: var(--font-display); font-size: 1.15rem; margin: 10px 0 6px; }
.step p { color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.work {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: #c9c2b2; }
.work .thumb {
  aspect-ratio: 16 / 11;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.work .thumb img { width: 100%; height: 100%; object-fit: cover; }

.work .thumb.placeholder {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: rgba(244, 241, 234, 0.95);
  letter-spacing: -0.02em;
}
.work .thumb.placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  
  background-image:
    radial-gradient(120% 100% at 85% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 60%);
}
.work .thumb .ph-mark { position: relative; z-index: 1; }
.work .body { padding: 22px; }
.work .tag { color: var(--accent); }
.work h3 { font-family: var(--font-display); font-size: 1.28rem; margin: 10px 0 6px; }
.work p { color: var(--ink-soft); font-size: 0.94rem; }

.work-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 38px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-soft);
  background: var(--paper-2);
  border: 1px dashed var(--line);
  padding: 9px 14px;
  border-radius: 8px;
}
@media (max-width: 880px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

.home-work { padding: 100px 0; }
.feat-list { display: flex; flex-direction: column; gap: 88px; margin-top: 64px; }

.feat { position: relative; display: flex; align-items: center; gap: 60px; }
.feat.flip { flex-direction: row-reverse; }
.feat-copy { flex: 1 1 0; min-width: 0; }

.feat-media { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; }

.feat-browser { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 26px 56px -30px rgba(22, 20, 15, 0.5); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.feat:hover .feat-browser { transform: translateY(-4px); box-shadow: 0 34px 66px -30px rgba(22, 20, 15, 0.58); }
.feat-browser-bar { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.feat-browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cfc8ba; }
.feat-browser-bar i:first-child { background: var(--accent-warm); }
.feat-screen { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.feat-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; }

.feat-media.feat-plain img { width: 100%; display: block; border-radius: 14px; box-shadow: 0 26px 56px -30px rgba(22, 20, 15, 0.5); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.feat:hover .feat-media.feat-plain img { transform: translateY(-4px); box-shadow: 0 34px 66px -30px rgba(22, 20, 15, 0.58); }

.feat-media.is-phone .pm-phone { width: min(270px, 78%); transition: transform 0.25s ease; }
.feat:hover .feat-media.is-phone .pm-phone { transform: translateY(-4px); }

.feat-media .thumb.placeholder { width: 100%; aspect-ratio: 16 / 11; border-radius: calc(var(--radius) + 2px); display: grid; place-items: center; box-shadow: 0 26px 56px -30px rgba(22, 20, 15, 0.5); }

.feat-copy .tag { color: var(--accent); }
.feat-copy h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.02em; margin: 10px 0 14px; }
.feat-copy > p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.65; max-width: 46ch; }
.feat-copy .work-visit { display: inline-block; margin-top: 20px; color: var(--accent); font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; }
.feat.is-linked:hover .work-visit { text-decoration: underline; }

@media (max-width: 760px) {
  .home-work { padding: 68px 0; }
  .feat-list { gap: 56px; margin-top: 44px; }
  .feat, .feat.flip { flex-direction: column; gap: 24px; align-items: stretch; }
  .feat-copy > p { max-width: none; }
}

.work { display: flex; flex-direction: column; }
.work .body { display: flex; flex-direction: column; gap: 7px; flex: 1 1 auto; padding: 22px 24px 24px; }
.work h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 6px 0 2px; }
.work p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }
.work .work-blurb { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work .work-visit { margin-top: auto; padding-top: 16px; color: var(--accent); font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; }
.work.is-linked:hover .work-visit { text-decoration: underline; }
.work.is-linked:hover .thumb.placeholder .ph-art { transform: translateY(-3px); transition: transform 0.2s ease; }

.project-detail { padding: 128px 0 96px; }
.project-detail-inner { max-width: 940px; }
.project-back { display: inline-block; color: var(--ink-soft); font-size: 0.8rem; margin-bottom: 34px; transition: color 0.15s ease; }
.project-back:hover { color: var(--accent); }

.project-hero { max-width: 68ch; }
.project-hero .tag { color: var(--accent); }
.project-hero h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); letter-spacing: -0.028em; margin: 12px 0 18px; }
.project-lead { color: var(--ink-soft); font-size: 1.18rem; line-height: 1.6; }
.project-hero .btn { margin-top: 28px; }

.project-media {
  margin: 48px 0;
  padding: clamp(20px, 4vw, 46px);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 50% -10%, rgba(255, 255, 255, 0.75), transparent 60%),
    linear-gradient(165deg, #ECE7DD 0%, #D6CDBD 100%);
}
.project-media img { width: 100%; display: block; border-radius: 12px; border: 1px solid rgba(0, 0, 0, 0.06); box-shadow: 0 34px 70px -34px rgba(22, 20, 15, 0.6); }

.project-media.is-phone { display: flex; justify-content: center; }
.pm-phone { width: min(300px, 72vw); padding: 8px; background: #16140F; border-radius: 34px; box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.66); }
.pm-phone img { width: 100%; display: block; border-radius: 26px; border: 0; box-shadow: none; }

.project-media.project-embed { padding: 0; background: #fff; overflow: hidden; box-shadow: 0 34px 70px -34px rgba(22, 20, 15, 0.6); }
.embed-bar { display: flex; align-items: center; gap: 6px; padding: 11px 15px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.embed-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfc8ba; }
.embed-bar i:first-child { background: var(--accent-warm); }
.embed-addr { margin-left: 8px; font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.02em; }
.embed-viewport { position: relative; width: 100%; aspect-ratio: 1280 / 800; overflow: hidden; background: #fff; }
.embed-frame { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; pointer-events: none; }

.embed-open { position: absolute; inset: 0; z-index: 2; }
.project-media.project-embed:hover { box-shadow: 0 40px 80px -34px rgba(22, 20, 15, 0.66); }

.project-body { font-size: 1.07rem; line-height: 1.75; color: var(--ink); max-width: 68ch; margin: 44px 0; }
.project-body p { margin: 0 0 1em; }
.project-body h3, .project-body h4 { font-family: var(--font-display); margin: 1.4em 0 0.5em; }

.project-facts { display: flex; flex-wrap: wrap; gap: 14px 48px; margin: 40px 0 8px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-facts .fact { display: flex; flex-direction: column; gap: 4px; }
.project-facts .k { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.project-facts .v { font-size: 1rem; font-weight: 600; color: var(--ink); }
.project-facts a.v { color: var(--accent); }

.project-cta { margin-top: 56px; padding: clamp(38px, 6vw, 60px) 32px; border-radius: calc(var(--radius) + 6px); background: var(--ink); text-align: center; }
.project-cta h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); color: #fff; margin-bottom: 14px; }
.project-cta p { color: rgba(244, 241, 234, 0.72); max-width: 46ch; margin: 0 auto 26px; line-height: 1.6; }

.project-cta .btn { background: var(--paper); color: var(--ink); }
.project-cta .btn:hover { background: #fff; transform: translateY(-2px); }
@media (max-width: 560px) { .project-detail { padding: 104px 0 72px; } }

.quote { background: var(--paper); }
.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 68px;
  align-items: start;
}
.contact-list { list-style: none; margin-top: 28px; }
.contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.96rem;
}
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list .k { color: var(--ink-soft); font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-list .v { font-weight: 500; }
.contact-list a.v:hover { color: var(--accent); }

.quote-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 7px; }
.req { color: var(--accent-warm); }
input, select, textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
input::placeholder, textarea::placeholder { color: #9a9384; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 53, 255, 0.12);
}
textarea { resize: vertical; min-height: 120px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235A554A' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(31, 53, 255, 0.08); color: var(--accent); border: 1px solid rgba(31, 53, 255, 0.25); }
.form-status.error   { background: rgba(255, 90, 31, 0.08); color: #c8420f; border: 1px solid rgba(255, 90, 31, 0.3); }
.form-status.info    { background: var(--paper-2); color: var(--ink-soft); border: 1px solid var(--line); }

.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

@media (max-width: 860px) { .quote-inner { grid-template-columns: 1fr; gap: 40px; } }

footer { background: var(--ink); color: var(--on-ink-soft); padding: 52px 0 44px; }
footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
footer .brand { color: var(--on-ink); }
footer .foot-meta { font-family: var(--font-mono); font-size: 0.76rem; }
footer a { color: var(--on-ink-soft); transition: color 0.2s ease; }
footer a:hover { color: var(--on-ink); }

.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 760px) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

.preview-mode .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

body { font-synthesis: weight style; }   
strong, b { font-weight: 800; color: inherit; }
em, i { font-style: italic; }

h1 strong, h2 strong, h3 strong, h4 strong { color: var(--accent); }
.why h1 strong, .why h2 strong, .why h3 strong, .why h4 strong { color: var(--accent-warm); }
main p a, main li a, main blockquote a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.15s ease;
}
main p a:hover, main li a:hover, main blockquote a:hover { opacity: 0.7; }

.why a { color: #8aa0ff; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; align-items: stretch; }
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: #c9c2b2; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 18px 50px -26px rgba(31, 53, 255, 0.5); }
.price-flag {
  position: absolute;
  top: -11px;
  left: 30px;
  background: var(--accent);
  color: #fff;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 0.66rem;
}
.price-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 10px 0 4px;
}
.price-card .price span { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.price-card .price-desc { color: var(--ink-soft); font-size: 0.95rem; }
.price-card ul { list-style: none; margin: 18px 0 24px; display: grid; gap: 8px; }
.price-card li { font-size: 0.92rem; color: var(--ink-soft); padding-left: 24px; position: relative; }
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 15px;
  height: 15px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.price-card .btn { margin-top: auto; }
.price-note { margin-top: 26px; color: var(--ink-soft); }
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; } }

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.quote-card figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.quote-card .qn { font-weight: 600; }
.quote-card .qr { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.03em; }
@media (max-width: 880px) { .quote-grid { grid-template-columns: 1fr; } }

.about { background: var(--paper); }
.about-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.about-sig { margin-top: 22px; display: flex; flex-direction: column; gap: 2px; }
.about-sig .about-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.about-sig .about-role { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.03em; }
.about-media { display: grid; place-items: center; }
.about-media img { width: 100%; max-width: 320px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.about-monogram {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--ink) 0%, #2a2620 100%);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.5rem;
  letter-spacing: -0.03em;
  position: relative;
  overflow: hidden;
}
.about-monogram::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(300px 200px at 80% 0%, rgba(31, 53, 255, 0.35), transparent 70%),
    radial-gradient(200px 160px at 10% 100%, rgba(255, 90, 31, 0.22), transparent 70%);
}
.about-monogram span { position: relative; z-index: 1; }
@media (max-width: 860px) { .about-inner { grid-template-columns: 1fr; gap: 34px; } .about-media { order: -1; justify-items: start; } }

.faq-list { margin-top: 58px; max-width: 820px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.faq-item .faq-icon::before,
.faq-item .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.faq-item .faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-item .faq-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-item .faq-a { overflow: hidden; padding: 0 4px 24px; max-width: 68ch; }
.faq-item .faq-a p { color: var(--ink-soft); }
.faq-item[open] summary { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: faqIn 0.3s ease; }
  @keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

#main > section, #main > .strip { position: relative; }
.imglayer { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 4; }

.hero .imglayer { transition: transform 0.25s ease; transform-origin: center top; }
@media (min-width: 1600px) { .hero .imglayer { transform: translate(120px, -10px); } }
@media (min-width: 1350px) and (max-width: 1599px) { .hero .imglayer { transform: translate(165px, 45px); } }
@media (min-width: 1150px) and (max-width: 1349px) { .hero .imglayer { transform: translate(150px, 95px) scale(0.96); } }
@media (min-width: 950px)  and (max-width: 1149px) { .hero .imglayer { transform: translate(120px, 160px) scale(0.9); } }
@media (min-width: 761px)  and (max-width: 949px)  { .hero .imglayer { transform: translate(75px, 215px) scale(0.82); } }

.imgitem { position: absolute; transform-origin: center; }
.imgitem img { width: 100%; height: auto; display: block; border-radius: 8px; -webkit-user-select: none; user-select: none; }

@media (max-width: 760px) {
  html:not(.img-editing) .imglayer { display: none; }
}

.img-editing .imgitem { pointer-events: auto; cursor: move; outline: 1px dashed rgba(31, 53, 255, 0.65); outline-offset: 2px; touch-action: none; }
.img-editing .imgitem.sel { outline: 2px solid var(--accent); }
.ig-h { position: absolute; width: 16px; height: 16px; background: #fff; border: 2px solid var(--accent); border-radius: 50%; display: none; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); }
.imgitem.sel .ig-h, .imgitem.sel .ig-del { display: block; }
.ig-scale { right: -9px; bottom: -9px; cursor: nwse-resize; }
.ig-rotate { left: 50%; top: -30px; transform: translateX(-50%); cursor: grab; background: var(--accent); }
.ig-rotate::after { content: ""; position: absolute; left: 50%; top: 14px; width: 2px; height: 14px; background: var(--accent); transform: translateX(-50%); }
.ig-del { position: absolute; right: -13px; top: -13px; width: 24px; height: 24px; border-radius: 50%; border: none; background: var(--accent-warm); color: #fff; cursor: pointer; display: none; font-size: 15px; line-height: 1; padding: 0; }

#liveAdminBar {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  background: rgba(244, 241, 234, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 100px; padding: 8px 10px;
  box-shadow: 0 14px 40px -12px rgba(22, 20, 15, 0.4); z-index: 90;
  font-family: var(--font-body);
}
#liveAdminBar button { border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 0.85rem; padding: 8px 16px; border-radius: 100px; cursor: pointer; transition: transform 0.12s ease, background 0.15s ease; }
#liveAdminBar button:hover { transform: translateY(-1px); }
#liveAdminBar .la-edit { background: var(--accent-warm); border-color: var(--accent-warm); color: #fff; }
#liveAdminBar .la-edit.on { background: var(--accent); border-color: var(--accent); }
#liveAdminBar .la-add { background: var(--ink); border-color: var(--ink); color: var(--paper); }
#liveAdminBar .la-status { font-size: 0.78rem; color: var(--ink-soft); padding: 0 4px; }

.w70 { width: 70%; } .w65 { width: 65%; } .w45 { width: 45%; } .w40 { width: 40%; }

.why-item .mk { position: relative; font-size: 0; line-height: 0; }
.why-item .mk::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 18px; height: 18px;
  background: var(--accent-warm);
  -webkit-mask: var(--mk-icon) no-repeat center / contain;
          mask: var(--mk-icon) no-repeat center / contain;
}
.why-item:nth-child(1) .mk { --mk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E"); }
.why-item:nth-child(2) .mk { --mk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='2'/%3E%3Crect x='9' y='9' width='6' height='6'/%3E%3Cpath d='M9 1v3M15 1v3M9 20v3M15 20v3M20 9h3M20 14h3M1 9h3M1 14h3'/%3E%3C/svg%3E"); }
.why-item:nth-child(3) .mk { --mk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41 13.42 20.59a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cpath d='M7 7h.01'/%3E%3C/svg%3E"); }
.why-item:nth-child(4) .mk { --mk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }

.work .thumb.placeholder { display: grid; place-items: center; padding: 22px; }
.work .thumb.placeholder .ph-art { position: relative; z-index: 1; width: 80%; max-width: 220px; }
.ph-block { height: 42px; border-radius: 7px; background: linear-gradient(120deg, var(--accent), #5B6BFF); }
.ph-ln { height: 7px; border-radius: 100px; background: #e7e1d5; }

.ph-web .ph-win { background: #fff; border-radius: 10px; overflow: hidden; transform: rotate(-1.6deg);
  box-shadow: 0 18px 38px -18px rgba(0, 0, 0, 0.55); }
.ph-web .ph-top { display: flex; gap: 5px; padding: 8px 10px; background: var(--paper-2); }
.ph-web .ph-top i { width: 7px; height: 7px; border-radius: 50%; background: #cfc8ba; }
.ph-web .ph-body { padding: 13px; display: grid; gap: 8px; }
.ph-web .ph-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-web .ph-tiles b { height: 26px; border-radius: 6px; background: var(--paper-2); }

.ph-phone .ph-phone-m { width: 104px; margin: 0 auto; background: var(--ink); border: 3px solid #2a261f;
  border-radius: 20px; padding: 7px; box-shadow: 0 18px 38px -18px rgba(0, 0, 0, 0.6); transform: rotate(2.4deg); }
.ph-phone .ph-pscreen { background: var(--paper); border-radius: 13px; padding: 11px 9px; display: grid; gap: 7px; }
.ph-phone .ph-status { height: 5px; width: 30px; border-radius: 100px; background: #cfc8ba; margin: 0 auto 1px; }
.ph-phone .ph-block { height: 46px; background: linear-gradient(120deg, var(--accent-warm), #FF8A5C); }
.ph-phone .ph-cta { height: 18px; border-radius: 6px; background: var(--ink); margin-top: 1px; }

.ph-flow .ph-flow { position: relative; width: 100%; height: 116px; }
.ph-flow .ph-flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 38%;
  border-top: 2px dashed rgba(255, 255, 255, 0.55); }
.ph-flow .ph-node { position: absolute; width: 44px; height: 44px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); display: grid; place-items: center; z-index: 1;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.5); }
.ph-flow .ph-node::after { content: ""; width: 17px; height: 17px; border-radius: 5px; }
.ph-flow .ph-node:nth-child(1) { left: 2%; top: 6px; }
.ph-flow .ph-node:nth-child(1)::after { background: var(--accent); }
.ph-flow .ph-node:nth-child(2) { left: 50%; transform: translateX(-50%); top: 58px; }
.ph-flow .ph-node:nth-child(2)::after { background: var(--accent-warm); }
.ph-flow .ph-node:nth-child(3) { right: 2%; top: 6px; }
.ph-flow .ph-node:nth-child(3)::after { background: var(--ink); }

.price-grid { gap: 28px; }
.price-card { padding: 34px 32px; }
.price-card .price {
  font-size: 2.5rem; line-height: 1; margin: 14px 0 6px;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.price-card .price span {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.06em;
}

#liveAdminBar .la-graphics { background: #fff; }
#graphicsFlyout {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(4, 58px); gap: 8px;
  background: rgba(244, 241, 234, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; padding: 12px;
  box-shadow: 0 18px 50px -14px rgba(22, 20, 15, 0.45); z-index: 95;
}
#graphicsFlyout button {
  width: 58px; height: 58px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 9px; cursor: pointer; display: grid; place-items: center;
  transition: transform 0.12s ease, border-color 0.15s ease;
}
#graphicsFlyout button:hover { transform: translateY(-2px); border-color: var(--accent); }
#graphicsFlyout img { max-width: 100%; max-height: 100%; pointer-events: none; }

.home-cta { text-align: center; }
.home-cta-inner { max-width: 640px; margin: 0 auto; display: grid; justify-items: center; gap: 0; }
.home-cta .sec-label { margin-bottom: 16px; }
.home-cta h2 { max-width: 18ch; margin: 0 auto; }
.home-cta-sub { color: var(--ink-soft); font-size: 1.06rem; margin: 18px auto 30px; max-width: 48ch; }

.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.error-page .error-code { color: var(--accent); margin-bottom: 18px; }
.error-page h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.025em; max-width: 18ch; margin: 0 auto; }
.error-sub { color: var(--ink-soft); font-size: 1.06rem; max-width: 46ch; margin: 18px auto 32px; line-height: 1.6; }
.error-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.form-privacy { margin-top: 14px; font-size: 0.82rem; color: var(--ink-soft); text-align: center; line-height: 1.5; }

.work.is-linked { cursor: pointer; }
.work-link { position: absolute; inset: 0; z-index: 3; border-radius: var(--radius); }
.work-link:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.work-visit { display: inline-block; margin-top: 14px; color: var(--accent); font-size: 0.74rem; font-weight: 600; }
.work.is-linked:hover .work-visit { text-decoration: underline; }

.device-screen { overflow: hidden; background: #fff; }
.device-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

.thumb.frame-phone {
  position: relative;
  background:
    radial-gradient(115% 80% at 50% 2%, rgba(255, 255, 255, 0.85), transparent 58%),
    linear-gradient(165deg, #ECE7DD 0%, #D6CDBD 100%);
}
.frame-phone .device-phone {
  position: absolute; top: 7%; bottom: 7%; left: 50%; transform: translateX(-50%);
  aspect-ratio: 10 / 20; background: #16140F; border: 3px solid #2a261f;
  border-radius: 22px; padding: 5px;
  box-shadow: 0 24px 46px -16px rgba(0, 0, 0, 0.62), 0 6px 16px -8px rgba(0, 0, 0, 0.4);
}
.frame-phone .device-screen { width: 100%; height: 100%; border-radius: 16px; }

.thumb.frame-browser {
  place-items: center; padding: 22px;
  background:
    radial-gradient(120% 95% at 50% -10%, rgba(255, 255, 255, 0.8), transparent 60%),
    linear-gradient(165deg, #ECE7DD, #D6CDBD);
}
.frame-browser .device-browser {
  width: 100%; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.5);
}
.frame-browser .device-bar { flex: 0 0 auto; display: flex; gap: 4px; align-items: center; padding: 5px 10px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.frame-browser .device-bar i { width: 5px; height: 5px; border-radius: 50%; background: #cfc8ba; }
.frame-browser .device-bar i:first-child { background: var(--accent-warm); }
.frame-browser .device-screen { flex: 1 1 auto; width: 100%; height: 158px; }

.wall {
  display: grid;
  grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-top: 60px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.wall-index {
  list-style: none;
  margin: 0;
  padding: 0;
  position: sticky;
  top: 5.5rem;
}
.wall-index li + li { border-top: 1px solid var(--line); }
.wall-index button {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  cursor: pointer;
  opacity: 0.38;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.wall-index button .n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  flex: 0 0 auto;
}
.wall-index button:hover { opacity: 0.75; }
.wall-index button.on { opacity: 1; }
.wall-stage { min-width: 0; }
.wall-print {
  --photo-ar: 1.5;
  margin: 0;
  width: 100%;
  aspect-ratio: var(--photo-ar);
  max-height: min(58vh, 520px);
  display: grid;
  place-items: center;
  padding: 1rem;
  box-sizing: border-box;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.wall-print img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(50vh, 460px);
  object-fit: contain;
}
.wall-copy { margin-top: 22px; max-width: 36rem; }
.wall-copy .tag {
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-family: var(--font-mono);
}
.wall-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin: 8px 0 12px;
  letter-spacing: -0.03em;
}
.wall-copy p:not(.tag) { color: var(--ink-soft); line-height: 1.65; margin: 0; }
.wall-copy .card-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
@media (max-width: 860px) {
  .wall { grid-template-columns: 1fr; }
  .wall-index { position: static; }
  .wall-print { max-height: none; }
}
