:root {
  --ink: #11110f;
  --muted-ink: #66655f;
  --paper: #ffffff;
  --soft: #f6f6f1;
  --line: #deded6;
  --yellow: #f7d844;
  --yellow-soft: #fff2a8;
  --mint: #bff3b7;
  --blue: #c8ddf4;
  --pink: #f6b2e7;
  --coral: #ff725e;
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 42px;
  --page: min(1180px, calc(100vw - 48px));
  --shadow-soft: 0 22px 70px rgba(31, 31, 23, 0.09);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --space-hero: 78px;
  --space-section: 78px;
  --space-card: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: var(--page); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(222, 222, 214, .7);
  backdrop-filter: blur(18px);
}
.nav-shell {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", "DM Sans", Arial, sans-serif;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand-mark { width: 26px; height: 26px; transition: transform 500ms var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(45deg); }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { position: relative; padding-block: 12px; color: #4e4e49; font-size: .78rem; font-weight: 500; }
.main-nav a::after {
  content: ""; position: absolute; right: 0; bottom: 7px; left: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 220ms var(--ease-out);
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.nav-actions > a:first-child { font-size: .78rem; font-weight: 500; }
.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: white;
  font-size: .86rem; font-weight: 600; cursor: pointer; transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
}
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(17,17,15,.12); }
.button--dark { color: white; background: var(--ink); }
.button--light { color: var(--ink); background: white; border-color: white; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.page-hero {
  padding: var(--space-hero) 0 52px;
}
.page-hero h1 {
  margin: 0 0 16px; max-width: 820px; font: 400 clamp(3rem, 5vw, 5.4rem)/.98 "Instrument Serif", Georgia, serif; letter-spacing: -.04em;
}
.page-hero p {
  max-width: 740px; margin: 0; color: var(--muted-ink); font-size: 1.05rem;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-card); }
.card {
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--soft);
}
.card h3 { margin: 0 0 10px; font: 400 clamp(1.5rem, 2.4vw, 2.4rem)/1 "Instrument Serif", Georgia, serif; }
.card p { margin: 0; color: rgba(17,17,15,.75); }
.section-spacer { padding: var(--space-section) 0; }
.section-head { margin-bottom: 34px; }
.section-head h2 {
  margin: 4px 0 0; font: 400 clamp(2.8rem, 5vw, 4.8rem)/.96 "Instrument Serif", Georgia, serif; letter-spacing: -.04em;
}
.section-head p { color: var(--muted-ink); max-width: 680px; }
.showcase-board {
  margin-top: 30px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(246,246,241,.9), rgba(255,255,255,.95));
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 22px;
  align-items: center;
}
.showcase-side, .showcase-tile,
.showcase-phone {
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, filter 280ms ease;
}
.showcase-side, .showcase-tile {
  position: relative;
  min-height: 260px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(17,17,15,.1);
  background: linear-gradient(180deg, #fbf8f1, #f3efe3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.showcase-side::before,
.showcase-side::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.showcase-side::before {
  top: 16px;
  left: 16px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,.8);
  box-shadow: inset 0 0 0 1px rgba(17,17,15,.08);
}
.showcase-side::after {
  right: -34px;
  bottom: -34px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
}
.showcase-side h3, .showcase-tile h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font: 400 1.25rem/1.05 "Instrument Serif", Georgia, serif;
}
.showcase-side p, .showcase-tile p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted-ink);
}
.showcase-board.about-showcase .showcase-side:first-child {
  background: linear-gradient(180deg, #f9f2e7, #efe6d6);
}
.showcase-board.about-showcase .showcase-side:first-child::before {
  background: radial-gradient(circle at top left, #fbd39a, #f3a75b 66%, transparent 66%);
}
.showcase-board.about-showcase .showcase-side:first-child::after {
  background: rgba(236, 166, 86, .30);
}
.showcase-board.about-showcase .showcase-side:last-child {
  background: linear-gradient(180deg, #f6f7f0, #edf1e7);
}
.showcase-board.about-showcase .showcase-side:last-child::before {
  background: radial-gradient(circle at top left, #b9f0bc, #6ecb8c 66%, transparent 66%);
}
.showcase-board.about-showcase .showcase-side:last-child::after {
  background: rgba(99, 191, 111, .26);
}
.showcase-side:hover,
.showcase-tile:hover,
.showcase-phone:hover {
  transform: translateY(-4px) rotate(-0.15deg);
  box-shadow: 0 20px 38px rgba(17,17,15,.10);
}
.showcase-side:hover::before,
.showcase-side:hover::after {
  animation: drift 5s ease-in-out infinite;
}
.showcase-phone {
  min-height: 340px;
  padding: 18px;
  border-radius: 34px;
  background: linear-gradient(180deg, #10100d, #1a1a17);
  box-shadow: 0 24px 48px rgba(17,17,15,.18);
}
.showcase-phone-inner {
  height: 100%;
  padding: 20px;
  border-radius: 26px;
  background: linear-gradient(180deg, #efb672, #f6ba54 35%, #db6d36 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.showcase-phone-inner .mini-label {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.showcase-phone-inner .content-line {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(17,17,15,.36);
  color: white;
  font-size: .72rem;
}
.showcase-quote {
  padding: 22px;
  border-radius: 24px;
  background: var(--mint);
  border: 1px solid rgba(17,17,15,.08);
}
.showcase-quote strong {
  display: block;
  margin-bottom: 12px;
  font: 400 2rem/1 "Instrument Serif", Georgia, serif;
}
@keyframes drift {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.04); }
}
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-box { padding: 26px; border-radius: var(--radius-md); background: var(--soft); border: 1px solid var(--line); }
.stat-box strong { display: block; font: 400 2.5rem/1 "Instrument Serif", Georgia, serif; }
.stat-box p { margin: 6px 0 0; color: var(--muted-ink); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill {
  padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(17,17,15,.18); background: white; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.accents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.accent-card {
  position: relative; min-height: 240px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(246,246,241,.98));
}
.accent-card:nth-child(1) { background: var(--yellow-soft); }
.accent-card:nth-child(2) { background: var(--blue); }
.accent-card:nth-child(3) { background: var(--mint); }
.accent-card::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.42);
}
.accent-card h3 { margin: 0 0 12px; font: 400 1.65rem/1.05 "Instrument Serif", Georgia, serif; }
.accent-card p { margin: 0; color: rgba(17,17,15,.74); }
.service-display {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}
.service-copy {
  min-width: 0;
}
.service-copy h2 {
  margin: 0 0 14px;
  font: 400 clamp(2.3rem, 4vw, 4rem)/.98 "Instrument Serif", Georgia, serif;
  letter-spacing: -.04em;
}
.service-copy p:last-of-type { color: var(--muted-ink); }
.laptop-shell {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 32px;
  border: 8px solid #11110f;
  background: linear-gradient(180deg, #141413, #22221f);
  box-shadow: 0 28px 70px rgba(17,17,15,.16);
}
.laptop-shell::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -32px;
  width: 68%;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 0 0 22px 22px;
  background: rgba(17,17,15,.42);
  filter: blur(8px);
}
.laptop-screen {
  position: relative;
  min-height: 420px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbff, #ecf5fb 48%, #dce5f2 100%);
  overflow: hidden;
}
.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.screen-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17,17,15,.06);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.screen-pill.muted { background: rgba(17,17,15,.02); }
.screen-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
  margin-top: 18px;
}
.screen-panel {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(17,17,15,.08);
}
.screen-panel.large {
  grid-row: span 2;
  min-height: 250px;
}
.screen-panel.accent {
  background: rgba(114, 189, 97, .14);
}
.ui-title {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 700;
}
.ui-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9ac7f0, #c8ddf4);
  margin-bottom: 10px;
}
.ui-line-wide { width: 72%; }
.ui-line-mid { width: 54%; }
.ui-line-short { width: 80%; }
.ui-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.ui-card {
  min-height: 90px;
  border-radius: 14px;
  background: linear-gradient(180deg, #dbe8fb, #f6f9fd);
}
.mini-stat {
  margin-bottom: 14px;
  font-size: .82rem;
  font-weight: 700;
  color: #144e7d;
}
.phone-preview {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 140px;
  padding: 10px;
  border-radius: 22px;
  background: #0f1010;
  box-shadow: 0 22px 40px rgba(17,17,15,.28);
}
.phone-screen {
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #d8ebff, #f6fbff);
}
.phone-top {
  width: 42px;
  height: 6px;
  border-radius: 999px;
  background: #8ebde6;
  margin-bottom: 14px;
}
.phone-card {
  height: 62px;
  border-radius: 12px;
  background: linear-gradient(120deg, #8c7cff, #5cb0ec);
  margin-bottom: 12px;
}
.phone-line {
  height: 8px;
  width: 78%;
  border-radius: 999px;
  background: rgba(17,17,15,.24);
}
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-card); }
.project-card {
  padding: 24px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; position: relative;
}
.project-card::before {
  content: ""; position: absolute; inset: auto auto -26px -20px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,114,94,.12);
}
.project-card h3 { margin: 0 0 8px; font: 400 1.8rem/1 "Instrument Serif", Georgia, serif; }
.project-card p { margin: 0 0 18px; color: var(--muted-ink); }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.project-meta span { padding: 5px 8px; border-radius: 999px; background: white; border: 1px solid var(--line); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.editorial-card {
  padding: 22px; border-radius: var(--radius-md); border: 1px solid var(--line); background: white; box-shadow: 0 12px 28px rgba(17,17,15,.04);
}
.editorial-card h3 { margin: 4px 0 10px; font: 400 2rem/1.05 "Instrument Serif", Georgia, serif; }
.editorial-card p { color: var(--muted-ink); }
.quote-card { padding: 42px; border-radius: var(--radius-lg); background: var(--mint); }
.quote-card blockquote { margin: 0; font: 400 clamp(2.4rem, 4vw, 4.2rem)/1.02 "Instrument Serif", Georgia, serif; letter-spacing: -.04em; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
label { display: grid; gap: 9px; font-size: .86rem; font-weight: 600; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font: inherit; background: white;
}
textarea { min-height: 160px; resize: vertical; }
.form-actions { margin-top: 18px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
footer { padding: 48px 0; color: white; background: var(--ink); border-top: 1px solid #33332e; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 26px; color: #aaa9a1; font-size: .78rem; }
.footer-links a:hover { color: white; }

/* Taskello App Card Design */
.taskello-card {
  width: 100%;
  max-width: 380px;
  height: 360px;
  background-color: #000;
  border: 12px solid #000;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.taskello-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=1000&auto=format&fit=crop') center/cover;
}

.taskello-badge {
  position: absolute;
  top: 28px;
  right: 24px;
  color: white;
  font-weight: 600;
  font-size: 15px;
  text-align: right;
  line-height: 1.25;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.taskello-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  z-index: 2;
}

.taskello-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.taskello-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 24px 20px;
  box-sizing: border-box;
}

.taskello-header h4 {
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 3px 0;
  letter-spacing: -0.01em;
}

.taskello-header p {
  color: #909090;
  font-size: 15px;
  margin: 0;
  font-weight: 500;
}

.taskello-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2px;
}

.taskello-date {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.taskello-date strong {
  font-size: 42px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.taskello-count {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Impact Card Design for Work page */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.impact-card {
  width: 100%;
  max-width: 380px;
  background: #f4f4f4;
  border: 4px solid #1c1c1c;
  border-radius: 14px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1c1c1c;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.impact-top {
  display: flex;
  height: 84px;
  border-bottom: 4px solid #1c1c1c;
}

.impact-brand {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 24px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.05em;
  border-right: 4px solid #1c1c1c;
  background: #ffffff;
}
.impact-brand span { color: #f05000; }

.impact-metal {
  width: 84px;
  background: conic-gradient(from 180deg at 50% 50%, #e8e8e8, #ffffff, #bcbcbc, #ffffff, #e8e8e8, #ffffff, #bcbcbc, #ffffff, #e8e8e8);
}

.impact-bottom {
  display: flex;
  flex: 1;
  min-height: 280px;
}

.impact-sidebar {
  width: 110px;
  display: flex;
  flex-direction: column;
  border-right: 4px solid #1c1c1c;
}

.impact-hatch {
  height: 100px;
  background: repeating-linear-gradient(45deg, #1c1c1c, #1c1c1c 3px, #3a3a3a 3px, #3a3a3a 5px);
  border-bottom: 4px solid #1c1c1c;
}

.impact-stat {
  flex: 1;
  background: #f05000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.impact-number {
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #1c1c1c;
}

.impact-unit {
  width: 32px;
  height: 32px;
  background: #1c1c1c;
  color: #f05000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.impact-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.impact-client {
  font-family: monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #888;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: auto;
}

.impact-client span {
  color: #1c1c1c;
  font-weight: 700;
}

.impact-text {
  margin-top: 30px;
}

.impact-text h4 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 10px 0;
  letter-spacing: -0.03em;
}

.impact-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
}

/* Akyra Unified Dashboard */
.akyra-dashboard {
  width: 100%;
  max-width: 1100px;
  margin: 60px auto 0;
  background: #f7f7f7;
  border: 6px solid #1c1c1c;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: minmax(380px, auto) minmax(160px, auto);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1c1c1c;
}

.dash-main {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  border-right: 6px solid #1c1c1c;
  border-bottom: 6px solid #1c1c1c;
  position: relative;
  background: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=1000&auto=format&fit=crop') center/cover;
}

.dash-main-badge {
  position: absolute;
  top: 36px;
  right: 36px;
  color: white;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.dash-main-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  z-index: 2;
}

.dash-main-svg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}

.dash-main-content {
  position: relative;
  z-index: 2;
  padding: 40px 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.dash-side {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  border-bottom: 6px solid #1c1c1c;
  background: #1c1c1c;
  color: white;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
}

.dash-bottom {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  display: flex;
  background: white;
}

.dash-bottom-hatch {
  width: 160px;
  background: repeating-linear-gradient(45deg, #1c1c1c, #1c1c1c 4px, #3a3a3a 4px, #3a3a3a 6px);
  border-right: 6px solid #1c1c1c;
}

.dash-bottom-metal {
  width: 100px;
  background: conic-gradient(from 180deg at 50% 50%, #e8e8e8, #ffffff, #bcbcbc, #ffffff, #e8e8e8, #ffffff, #bcbcbc, #ffffff, #e8e8e8);
  border-right: 6px solid #1c1c1c;
}

.dash-bottom-text {
  flex: 1;
  padding: 36px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dash-bottom-stat {
  width: 160px;
  background: #f05000;
  border-left: 6px solid #1c1c1c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 980px) {
  .akyra-dashboard { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .dash-main { grid-column: 1 / 2; grid-row: 1 / 2; border-right: none; }
  .dash-side { grid-column: 1 / 2; grid-row: 2 / 3; }
  .dash-bottom { grid-column: 1 / 2; grid-row: 3 / 4; flex-direction: column; }
  .dash-bottom-hatch, .dash-bottom-metal, .dash-bottom-stat { width: 100%; border-right: none; border-left: none; }
  .dash-bottom-hatch { height: 60px; border-bottom: 6px solid #1c1c1c; }
  .dash-bottom-metal { height: 60px; border-bottom: 6px solid #1c1c1c; }
  .dash-bottom-stat { padding: 30px; border-top: 6px solid #1c1c1c; }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger inner elements of the dashboard */
.akyra-dashboard.animate-on-scroll .dash-main,
.akyra-dashboard.animate-on-scroll .dash-side,
.akyra-dashboard.animate-on-scroll .dash-bottom {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.akyra-dashboard.is-visible .dash-main {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.akyra-dashboard.is-visible .dash-side {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.akyra-dashboard.is-visible .dash-bottom {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

/* Insight Stack (Blog Page) */
.insight-stack {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 60px auto 140px;
  height: 720px;
}

.insight-folder {
  position: absolute;
  top: var(--offset-y, 0);
  left: var(--offset-x, 0);
  width: var(--folder-width, 600px);
  height: 440px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  z-index: var(--z-index, 1);
  color: var(--folder-text, #111);
}

.insight-folder:hover {
  transform: translateY(-24px) scale(1.02);
  z-index: 100 !important;
  box-shadow: 0 40px 80px rgba(0,0,0,0.2);
}

.folder-tab-container {
  display: flex;
  padding-left: var(--tab-offset, 0);
  filter: drop-shadow(0 -4px 10px rgba(0,0,0,0.05));
}

.folder-tab {
  background-color: var(--folder-color);
  padding: 16px 36px;
  border-radius: 18px 18px 0 0;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  display: inline-block;
  position: relative;
  z-index: 2;
  margin-bottom: -1px;
}

.folder-body {
  background-color: var(--folder-color);
  flex: 1;
  border-radius: var(--body-radius, 0 24px 24px 24px);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 10px 10px 40px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.folder-body h2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 20px 0;
}

.folder-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.25);
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  color: inherit;
  text-decoration: none;
  align-self: flex-start;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.3s;
}

.folder-link:hover {
  background: rgba(255,255,255,0.4);
}

.folder-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 980px) {
  .insight-stack {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 40px auto;
  }
  .insight-folder {
    position: relative;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 400px;
  }
  .folder-body h2 {
    font-size: 32px;
  }
  .folder-tab-container {
    padding-left: 0 !important;
  }
  .folder-body {
    border-radius: 0 20px 20px 20px !important;
  }
}

@media (max-width: 980px) {
  :root { --page: min(100% - 34px, 760px); --space-hero: 64px; --space-section: 64px; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .menu-toggle { display: grid; }
  .main-nav, .nav-actions {
    position: fixed; right: 17px; left: 17px; display: none; background: white;
  }
  .main-nav { top: 88px; padding: 24px; flex-direction: column; align-items: stretch; gap: 4px; border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; box-shadow: var(--shadow-soft); }
  .nav-actions { top: 321px; padding: 0 24px 24px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 24px 24px; }
  .main-nav.is-open, .nav-actions.is-open { display: flex; }
  .main-nav a { min-height: 46px; display: flex; align-items: center; font-size: 1rem; }
  .showcase-board { grid-template-columns: 1fr; }
  .showcase-side, .showcase-tile, .showcase-phone { min-height: auto; }
  .showcase-phone { order: 2; }
  .service-display { grid-template-columns: 1fr; gap: 28px; }
  .grid-2, .form-grid, .stats-row, .work-grid, .accents-grid, .editorial-grid { grid-template-columns: 1fr; }
  .hero { overflow: visible; }
  .hero-copy { max-width: 100%; }
}
@media (max-width: 720px) {
  :root { --page: calc(100vw - 28px); --radius-lg: 30px; --space-hero: 58px; --space-section: 58px; --space-card: 18px; }
  .page-hero { padding-top: 52px; }
  .page-hero h1 { margin-bottom: 12px; }
  .showcase-board { padding: 18px; gap: 14px; }
  .showcase-side, .showcase-tile { min-height: 190px; }
  .showcase-phone { min-height: 280px; }
  .showcase-phone-inner { padding: 16px; }
  .showcase-quote { padding: 18px; }
  .showcase-quote strong { font-size: 1.6rem; }
  .service-display { gap: 22px; }
  .laptop-shell { padding: 12px; border-width: 6px; border-radius: 22px; }
  .laptop-screen { min-height: 360px; padding: 14px; }
  .phone-preview { position: static; margin-top: 16px; width: 120px; }
  .screen-grid { grid-template-columns: 1fr; }
  .screen-panel.large { grid-row: auto; min-height: 200px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .hero { overflow: visible; }
  .hero-copy { max-width: 100%; }
  .hero h1 { line-height: .94; }
  .hero-stage { overflow: visible; }
}

/* Work Fan Hero */
.work-fan-hero {
  background:
    linear-gradient(180deg, rgba(222, 244, 255, 0.72), rgba(247, 251, 255, 0.82)),
    url('https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  padding: 120px 40px 0;
  overflow: hidden;
  text-align: center;
}

.work-fan-hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  max-width: 800px;
  margin: 0 auto 16px;
  color: #111;
}

.work-fan-hero .hero-sub {
  font-size: 17px;
  color: #666;
  max-width: 480px;
  margin: 0 auto 80px;
  line-height: 1.6;
}

/* The fan container */
.work-fan-stage {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Individual fan cards */
.fan-card {
  position: absolute;
  bottom: 0;
  width: 210px;
  height: 310px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  cursor: pointer;
  transform-origin: bottom center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s;
  /* Start stacked for animation */
  transform: rotate(0deg) translateX(0) translateY(40px);
  opacity: 0;
}

.fan-card.is-fanned {
  opacity: 1;
}

.fan-card:nth-of-type(1) { --fan-rotate: -28deg; --fan-tx: -370px; --fan-delay: 0s;    background: #2b2b2b; color: #fff; }
.fan-card:nth-of-type(2) { --fan-rotate: -14deg; --fan-tx: -185px; --fan-delay: 0.06s; background: #f05000; color: #fff; }
.fan-card:nth-of-type(3) { --fan-rotate:   0deg; --fan-tx:    0px; --fan-delay: 0.12s; background: #c5ff2e; color: #111; }
.fan-card:nth-of-type(4) { --fan-rotate:  14deg; --fan-tx:  185px; --fan-delay: 0.18s; background: #4164ff; color: #fff; }
.fan-card:nth-of-type(5) { --fan-rotate:  28deg; --fan-tx:  370px; --fan-delay: 0.24s; background: #1c1c1c; color: #fff; }

.fan-card.is-fanned {
  transform: rotate(var(--fan-rotate)) translateX(var(--fan-tx)) translateY(0);
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1) var(--fan-delay),
              opacity 0.6s ease var(--fan-delay),
              box-shadow 0.4s;
}

.fan-card:hover {
  transform: rotate(calc(var(--fan-rotate) * 0.3)) translateX(var(--fan-tx)) translateY(-32px) !important;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
  z-index: 10;
}

.fan-card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin-bottom: 8px;
}

.fan-card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.fan-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: inherit;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.fan-card-link:hover { opacity: 1; }

/* Floating client badges */
.fan-badge {
  position: absolute;
  background: white;
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  white-space: nowrap;
  z-index: 20;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fan-badge.is-fanned {
  opacity: 1;
  transform: translateY(0);
}

.fan-badge--1 { top: 60px; left: 8%;  transition-delay: 0.5s; }
.fan-badge--2 { top: 30px; right: 12%; transition-delay: 0.65s; }
.fan-badge--3 { top: 160px; left: 3%; transition-delay: 0.8s; }

/* Fan pattern overlay on cards */
.fan-card-pattern {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 55%;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  opacity: 0.15;
  background: repeating-linear-gradient(
    45deg,
    currentColor 0,
    currentColor 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 12px 12px;
}

@media (max-width: 980px) {
  .work-fan-stage {
    height: 340px;
  }
  .fan-card {
    width: 160px;
    height: 240px;
    padding: 18px;
  }
  .fan-card:nth-of-type(1) { --fan-tx: -270px; }
  .fan-card:nth-of-type(2) { --fan-tx: -135px; }
  .fan-card:nth-of-type(4) { --fan-tx:  135px; }
  .fan-card:nth-of-type(5) { --fan-tx:  270px; }
  .fan-card-title { font-size: 15px; }
  .fan-badge--3 { display: none; }
}

@media (max-width: 640px) {
  .work-fan-stage {
    height: 280px;
  }
  .fan-card {
    width: 130px;
    height: 200px;
    padding: 14px;
  }
  .fan-card:nth-of-type(1) { --fan-tx: -195px; }
  .fan-card:nth-of-type(2) { --fan-tx: -100px; }
  .fan-card:nth-of-type(4) { --fan-tx:  100px; }
  .fan-card:nth-of-type(5) { --fan-tx:  195px; }
  .fan-badge--1, .fan-badge--2 { display: none; }
}

/* Contact Page Redesign */
.contact-split-layout {
  max-width: 1300px;
  margin: 80px auto 140px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-left h1 {
  font-size: 72px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 24px 0;
}

.contact-form-container {
  background: #f7f7f7;
  padding: 60px;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #333;
  gap: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  color: #111;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f05000;
}

@media (max-width: 980px) {
  .contact-split-layout {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 0 20px;
  }
  .contact-left h1 {
    font-size: 56px;
  }
  .contact-form-container {
    padding: 30px;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* Privacy Policy Styling */
.privacy-layout {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}
.privacy-content {
  color: var(--muted-ink);
  font-size: 1.05rem;
  line-height: 1.7;
}
.privacy-content h2 {
  font: 400 clamp(1.8rem, 3.2vw, 2.5rem)/1.1 "Instrument Serif", Georgia, serif;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.privacy-content h3 {
  font: 700 0.88rem/1.2 "Space Grotesk", sans-serif;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 32px;
  margin-bottom: 12px;
}
.privacy-content p {
  margin-top: 0;
  margin-bottom: 24px;
}
.privacy-content ul {
  margin-top: 0;
  margin-bottom: 28px;
  padding-left: 24px;
}
.privacy-content li {
  margin-bottom: 10px;
}
.privacy-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s;
}
.privacy-content a:hover {
  opacity: 0.7;
}

