/* Marketing site — luminaya.dev */

* { box-sizing: border-box; }
body { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* clear the sticky nav when landing on a section */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.container.narrow { max-width: 760px; }

/* ===== Buttons ===== */
.btn {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--fg-1);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  transition: all 120ms var(--ease-out);
}
.btn-sm { padding: 7px 13px; font-size: 13px; }
.btn-primary { background: var(--tn-mint); color: var(--bg-0); border: none; }
.btn-primary:hover { background: #6BFFE5; color: var(--bg-0); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); background: var(--tn-mint); }
.btn-ghost { color: var(--fg-2); border-color: var(--border-2); }
.btn-ghost:hover { color: var(--fg-1); border-color: var(--border-3); background: var(--bg-1); }

a { border: none; }

/* ===== Nav ===== */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(6, 8, 28, 0.78);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border-1);
}
.site-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--fg-1);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand .dot { color: var(--tn-mint); }
.site-nav .links { display: flex; gap: 24px; }
.site-nav .links a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-2);
  text-decoration: none;
  transition: color 120ms var(--ease-out);
}
.site-nav .links a:hover { color: var(--fg-1); }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 640px;
}
.hero-grid-bg {
  position: absolute;
  inset: -64px;
  background-image: url('assets/grid.svg');
  background-repeat: repeat;
  opacity: 1;
  mask-image: radial-gradient(ellipse 80% 70% at 40% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 40% 40%, black 30%, transparent 100%);
  pointer-events: none;
  animation: gridDrift 80s linear infinite;
  will-change: background-position;
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: -384px -384px; }
}
.hero-inner { position: relative; z-index: 1; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--fg-1);
  margin: 16px 0 24px;
  max-width: 30ch;
  min-height: 3.3em;
  position: relative;
  z-index: 1;
}
.hero-headline .strike { color: var(--fg-3); text-decoration: line-through; text-decoration-color: var(--tn-pink); text-decoration-thickness: 2px; }
.hero-headline .accent { color: var(--tn-mint); }
.hero-caret {
  display: inline-block;
  width: 0.45ch;
  margin-left: 2px;
  color: var(--tn-mint);
  animation: caretBlink 1s steps(2, start) infinite;
  font-weight: 400;
  vertical-align: -0.05em;
}
@keyframes caretBlink {
  to { opacity: 0; }
}

/* ===== Deploy ticker ===== */
.hero-ticker {
  position: absolute;
  top: 96px;
  right: 32px;
  width: 340px;
  background: #000;
  border: 1px solid rgba(234, 224, 207, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-mono);
  z-index: 2;
  overflow: hidden;
}
.ticker-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #0a0a0a;
  border-bottom: 1px solid #1a1a1a;
}
.ticker-bar i {
  width: 9px; height: 9px;
  border-radius: 999px;
  background: #333;
}
.ticker-title {
  margin-left: 8px;
  font-size: 11px;
  color: var(--fg-3);
  flex: 1;
}
.ticker-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--tn-mint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ticker-body {
  padding: 8px 12px 12px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--fg-1);
  height: 96px;
  overflow: hidden;
  position: relative;
}
.ticker-line {
  display: grid;
  grid-template-columns: 16px auto 1fr;
  gap: 8px;
  align-items: baseline;
  white-space: nowrap;
  animation: tickerEnter 320ms var(--ease-out);
}
@keyframes tickerEnter {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.ticker-arrow { color: var(--tn-mint); }
.ticker-run .ticker-arrow { color: #FFC857; }
.ticker-ref { color: var(--tn-pink); }
.ticker-run .ticker-ref { color: #FFC857; }
.ticker-msg {
  color: var(--fg-2);
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1100px) {
  .hero-ticker { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-grid-bg { animation: none; }
  .hero-caret { animation: none; }
  .ticker-line { animation: none; }
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 56ch;
  margin: 0 0 32px;
}
.hero-cta { display: flex; gap: 12px; margin-bottom: 56px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  padding-top: 24px;
  border-top: 1px solid var(--border-1);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.status-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--tn-mint);
  box-shadow: 0 0 8px var(--tn-mint);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
.status-dot.mint { background: var(--tn-mint); box-shadow: 0 0 8px var(--tn-mint); }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
  border-top: 1px solid var(--border-1);
}
.section-alt { background: var(--bg-1); }
.section-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg-1);
  margin: 8px 0 16px;
  max-width: 22ch;
}
.section-sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--fg-2);
  max-width: 60ch;
  margin: 0 0 56px;
  line-height: 1.55;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.svc-card {
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-top: 1px solid var(--border-3);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.svc-card:hover {
  background: var(--bg-2);
  border-color: rgba(0, 255, 210, 0.2);
}
.svc-kw {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--tn-mint);
  letter-spacing: 0.02em;
}
.svc-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--fg-1);
  margin: 0;
  letter-spacing: -0.01em;
}
.svc-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
  flex: 1;
}
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 2px;
  background: var(--bg-inset);
  color: var(--fg-2);
  border: 1px solid var(--border-1);
}

/* ===== Work ===== */
.work-list { display: flex; flex-direction: column; gap: 0; }
.work-card {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border-2);
  transition: background 200ms var(--ease-out);
  position: relative;
}
.work-card:last-child { border-bottom: 1px solid var(--border-2); }
.work-card:hover { background: rgba(255, 255, 255, 0.01); }
.work-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-3);
}
.work-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.work-meta-dot { opacity: 0.5; }
.work-client { color: var(--fg-2); }
.work-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 0 10px;
  max-width: 28ch;
}
.work-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  max-width: 64ch;
}
.work-arrow {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--fg-3);
  text-decoration: none;
  align-self: center;
  transition: transform 200ms var(--ease-out), color 200ms var(--ease-out);
}
.work-card:hover .work-arrow { color: var(--tn-mint); transform: translateX(4px); }

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.team-card {
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.team-card:hover { border-color: var(--border-3); }
.team-card:hover .avatar img { transform: scale(1.02); }

.avatar {
  aspect-ratio: 1 / 1;
  background: var(--bg-inset);
  border-bottom: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 64px;
  font-weight: 400;
  color: var(--fg-4);
  position: relative;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 600ms var(--ease-out);
}

.team-meta {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--fg-1);
  letter-spacing: -0.01em;
  margin: 0;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  margin: 0 0 10px;
}
.team-bio {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 14px;
  flex: 1;
}
.team-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--tn-mint);
}

.team-card-placeholder {
  opacity: 0.55;
}
.team-card-placeholder .avatar { border-bottom-style: dashed; }
.team-card-placeholder { border-style: dashed; }
.team-card-placeholder .team-name,
.team-card-placeholder .team-tag { color: var(--fg-3); }

a.team-card-link {
  text-decoration: none;
  color: inherit;
}
.team-card-link .team-more {
  color: var(--fg-3);
  transition: color 200ms var(--ease-out);
}
.team-card-link:hover {
  border-color: rgba(0, 255, 210, 0.32);
}
.team-card-link:hover .team-more { color: var(--tn-mint); }

/* ===== Contact ===== */
.section-contact { background: var(--bg-1); }
.contact-form { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 8px;
}
.input {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg-1);
  background: var(--bg-inset);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  padding: 12px 14px;
  outline: none;
  box-shadow: var(--inner-well);
  transition: border-color 120ms var(--ease-out), box-shadow 120ms var(--ease-out);
}
.input:focus {
  border-color: rgba(0, 255, 210, 0.5);
  box-shadow: var(--inner-well), var(--glow-mint);
}
.input::placeholder { color: var(--fg-4); }
.textarea { resize: vertical; font-family: var(--font-mono); line-height: 1.5; }

.radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.radio {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 4px;
  background: var(--bg-inset);
  border: 1px solid var(--border-2);
  color: var(--fg-2);
  cursor: pointer;
  transition: all 120ms var(--ease-out);
}
.radio input { display: none; }
.radio:hover { color: var(--fg-1); border-color: var(--border-3); }
.radio.active { background: rgba(0, 255, 210, 0.08); border-color: rgba(0, 255, 210, 0.5); color: var(--tn-mint); }

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

/* ===== Principles ===== */
.principles {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  border-top: 1px solid var(--border-2);
}
.principle {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--border-2);
  align-items: flex-start;
  transition: background 200ms var(--ease-out);
}
.principle:hover .principle-n { color: var(--tn-mint); }
.principle-n {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 400;
  color: var(--fg-3);
  letter-spacing: 0.02em;
  line-height: 1;
  padding-top: 6px;
  transition: color 200ms var(--ease-out);
}
.principle-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  margin: 0 0 8px;
  line-height: 1.2;
}
.principle-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
  max-width: 68ch;
}

/* ===== Timeline ===== */
.timeline {
  margin-top: 64px;
  padding: 28px 0 4px;
  border-top: 1px solid var(--border-1);
}
.timeline-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--tn-mint);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0,
    var(--border-3) 8%,
    var(--border-3) 92%,
    transparent 100%);
}
.t-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 18px;
  position: relative;
}
.t-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--bg-1);
  border: 1px solid var(--border-3);
  border-radius: 999px;
}
.t-step:first-child .t-dot {
  background: var(--tn-mint);
  border-color: var(--tn-mint);
  box-shadow: 0 0 12px rgba(0,255,210,0.5);
}
.t-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.t-label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--fg-1);
  letter-spacing: -0.01em;
}
.t-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}

@media (max-width: 800px) {
  .principle { grid-template-columns: 60px 1fr; gap: 16px; }
  .principle-n { font-size: 22px; }
  .principle-title { font-size: 20px; }
  .timeline-track { grid-template-columns: 1fr; gap: 16px; }
  .timeline-track::before { display: none; }
  .t-step { padding-top: 0; padding-left: 22px; }
  .t-dot { top: 4px; }
}

/* ===== Person / portfolio page ===== */
.person-hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-1);
}
.person-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 64px;
  align-items: start;
}
.person-meta-col { padding-top: 8px; }
.person-name {
  font-family: var(--font-display);
  font-size: clamp(56px, 7.5vw, 96px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--fg-1);
  margin: 14px 0 14px;
}
.person-name .dot { color: var(--tn-mint); }
.person-role {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg-2);
  margin: 0 0 32px;
  letter-spacing: 0.01em;
}
.person-role .role-sep { color: var(--fg-4); margin: 0 8px; }
.person-bio {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 56ch;
  margin-bottom: 36px;
}
.person-bio p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}
.person-bio p strong {
  color: var(--fg-1);
  font-weight: 500;
}
.person-facts {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px 16px;
  margin: 0 0 32px;
  padding: 20px 0 4px;
  border-top: 1px solid var(--border-1);
  font-family: var(--font-mono);
  font-size: 13px;
  max-width: 52ch;
}
.person-facts dt {
  color: var(--fg-3);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}
.person-facts dt::before { content: "// "; color: var(--fg-4); }
.person-facts dd {
  color: var(--fg-1);
  margin: 0;
}
.person-facts dd .mint { color: var(--tn-mint); }
.person-facts dd .pink { color: var(--tn-pink); }
.person-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Portrait column */
.person-portrait {
  position: relative;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.portrait-frame {
  position: relative;
  aspect-ratio: 1235 / 1274;       /* Nour-full default */
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.person-portrait.fathy .portrait-frame { aspect-ratio: 1141 / 1280; }
.person-portrait.rageh .portrait-frame { aspect-ratio: 1024 / 1535; }
.person-portrait.square .portrait-frame { aspect-ratio: 1 / 1; }
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.person-portrait.square .portrait-frame img { object-position: center; }

/* Tick marks at the corners — like crop guides */
.portrait-frame::before,
.portrait-frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--tn-mint);
  opacity: 0.85;
  pointer-events: none;
}
.portrait-frame::before {
  top: -1px; left: -1px;
  border-right: none; border-bottom: none;
}
.portrait-frame::after {
  bottom: -1px; right: -1px;
  border-left: none; border-top: none;
}

/* Pink tick on the second corner pair */
.portrait-frame .crop-tr,
.portrait-frame .crop-bl {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--tn-pink);
  opacity: 0.75;
  pointer-events: none;
}
.portrait-frame .crop-tr {
  top: -1px; right: -1px;
  border-left: none; border-bottom: none;
}
.portrait-frame .crop-bl {
  bottom: -1px; left: -1px;
  border-right: none; border-top: none;
}

.portrait-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  padding: 0 2px;
}
.portrait-caption .pcap-name { color: var(--fg-2); }
.portrait-caption .pcap-note { color: var(--tn-pink); }

/* ===== Person sections ===== */
.person-section { padding: 88px 0; }
.person-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-2);
}
.person-list-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-2);
  align-items: flex-start;
  transition: background 200ms var(--ease-out);
}
.person-list-row:hover { background: rgba(255,255,255,0.012); }
.person-list-row:hover .person-list-n { color: var(--tn-mint); }
.person-list-n {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg-3);
  padding-top: 4px;
  transition: color 200ms var(--ease-out);
}
.person-list-head {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  margin: 0 0 10px;
  line-height: 1.2;
}
.person-list-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.person-list-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
  padding-top: 4px;
  max-width: 60ch;
}

/* Off-hours */
.section-offhours { background: var(--bg-1); }
.off-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  max-width: 88ch;
}
.off-list li {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 6px 0;
}
.off-list .off-bullet {
  color: var(--tn-mint);
  font-size: 12px;
  line-height: 1;
}
.off-list strong {
  color: var(--fg-1);
  font-weight: 500;
}

/* Others / cross-links */
.others-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.other-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px 20px 16px 16px;
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.other-card:hover {
  border-color: var(--border-3);
  background: var(--bg-2);
}
.other-card:hover .other-arrow { color: var(--tn-mint); transform: translateX(4px); }
.other-avatar {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-inset);
  border: 1px solid var(--border-1);
}
.other-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.other-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--fg-1);
  letter-spacing: -0.01em;
}
.other-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 3px;
}
.other-arrow {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--fg-3);
  transition: transform 200ms var(--ease-out), color 200ms var(--ease-out);
}

@media (max-width: 980px) {
  .person-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .person-portrait { max-width: 460px; }
}
@media (max-width: 800px) {
  .person-section { padding: 56px 0; }
  .person-list-row { grid-template-columns: 40px 1fr; gap: 16px; }
  .person-list-text { grid-column: 1 / -1; padding-left: 56px; }
  .off-list { grid-template-columns: 1fr; }
  .others-grid { grid-template-columns: 1fr; }
  .person-facts { grid-template-columns: 100px 1fr; }
}

/* ===== Footer ===== */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-1);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
}
.brand-small { font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--fg-2); }
.brand-small .dot { color: var(--tn-mint); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--fg-3); text-decoration: none; transition: color 120ms var(--ease-out); }
.footer-links a:hover { color: var(--fg-1); }

/* ===== Mobile ===== */
@media (max-width: 800px) {
  .site-nav .links { display: none; }
  .services-grid, .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .work-card { grid-template-columns: 40px 1fr; }
  .work-arrow { display: none; }
  .hero { padding: 60px 0 80px; }
  .section { padding: 64px 0; }
}
