/* Giorgos Charilaou — refined personal brand */

:root {
  --ink: #101214;
  --ink-soft: #3a4148;
  --muted: #6f7881;
  --bg: #f7f8fa;
  --bg-elevated: #ffffff;
  --line: rgba(16, 18, 20, 0.09);
  --accent: #0c6b66;
  --accent-2: #0a5551;
  --accent-soft: rgba(12, 107, 102, 0.1);
  --shell: min(1120px, calc(100% - 2.75rem));
  --display: "Space Grotesk", "Avenir Next", sans-serif;
  --body: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 90% -5%, rgba(12, 107, 102, 0.08), transparent 55%),
    radial-gradient(700px 380px at -5% 30%, rgba(16, 18, 20, 0.04), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--accent-2);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent);
}

::selection {
  background: rgba(12, 107, 102, 0.18);
  color: var(--ink);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 60;
  background: var(--accent);
  transform-origin: left center;
  pointer-events: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 248, 250, 0.75);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 248, 250, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--accent-2);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.lang-toggle {
  min-width: 2.7rem;
  height: 2.5rem;
  padding: 0 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent-2);
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta).is-active::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.nav-cta {
  padding: 0.5rem 0.95rem;
  background: var(--ink);
  color: #fff !important;
  border-radius: var(--radius-sm);
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: -10% 0;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.hero-orb--a {
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  right: -6%;
  top: 8%;
  background: radial-gradient(circle, rgba(12, 107, 102, 0.22), transparent 68%);
}

.hero-orb--b {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  left: -8%;
  bottom: 5%;
  background: radial-gradient(circle, rgba(16, 18, 20, 0.06), transparent 70%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(4rem, 8vw, 5.5rem);
  width: var(--shell);
}

.hero-copy {
  will-change: transform;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-brand {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.hero-title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
  max-width: 26ch;
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-visual {
  margin: 0;
  justify-self: end;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  will-change: transform;
}

.hero-avatar {
  width: clamp(168px, 22vw, 220px);
  height: clamp(168px, 22vw, 220px);
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(12, 107, 102, 0.18), transparent 55%),
    #e8ecef;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(16, 18, 20, 0.06),
    0 18px 40px rgba(16, 18, 20, 0.12);
  animation: rise 1s var(--ease) both;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.08);
}

.hero-caption {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 2.35rem;
  border: 1.5px solid rgba(16, 18, 20, 0.22);
  border-radius: 999px;
  display: grid;
  justify-items: center;
  padding-top: 0.45rem;
  text-decoration: none;
  z-index: 2;
}

.hero-scroll span {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--accent);
  animation: scroll-dot 1.4s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

/* Buttons */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.2rem;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn:focus-visible,
.site-nav a:focus-visible,
.text-link:focus-visible,
.product-panel:focus-visible,
.nav-toggle:focus-visible,
.hero-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-2);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(16, 18, 20, 0.2);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

/* Sections shared */

.section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.section-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.section-copy {
  margin: 0;
  color: var(--ink-soft);
  max-width: 46ch;
  font-size: 1.05rem;
}

.section-copy a {
  font-weight: 700;
}

/* About */

.about {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.about-layout {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.5rem 3rem;
  align-items: start;
}

.about-body .section-title {
  max-width: 18ch;
}

.meta-row {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

/* Product */

.product-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: 2rem;
}

.product-top .section-title {
  margin-bottom: 0;
}

.product-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(125deg, #102226 0%, #0c1418 55%, #134046 100%);
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: 0 20px 50px rgba(16, 18, 20, 0.12);
}

.product-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(16, 18, 20, 0.16);
  color: inherit;
}

.product-panel-main,
.product-panel-side {
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.product-panel-main {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pulse-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #3dd6c6;
  margin-right: 0.45rem;
  box-shadow: 0 0 0 0 rgba(61, 214, 198, 0.55);
  animation: pulse 1.8s ease-out infinite;
  vertical-align: middle;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(61, 214, 198, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(61, 214, 198, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 214, 198, 0);
  }
}

.product-panel-live {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7edfd4;
}

.product-panel-main h3 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
}

.product-panel-main p {
  margin: 0;
  color: #9aadb4;
  max-width: 32ch;
}

.flow-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.flow-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.65rem;
  align-items: baseline;
  color: #e6eef0;
  font-weight: 600;
}

.flow-list span {
  font-family: var(--display);
  color: #7edfd4;
  font-size: 0.95rem;
}

.product-panel-cta {
  font-weight: 700;
  color: #fff;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 0.15rem;
}

.product-panel:hover .product-panel-cta {
  border-bottom-color: #7edfd4;
}

/* Services */

.services {
  background: var(--ink);
  color: #c8d2d8;
}

.services .section-kicker {
  color: #7edfd4;
}

.services .section-title {
  color: #fff;
  max-width: 12ch;
}

.services-head {
  margin-bottom: 0.5rem;
}

.services-head .section-title {
  max-width: 16ch;
}

.services-head .section-copy {
  margin-top: 0.85rem;
  color: #9aa7b2;
}

.service-list {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-row {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.45rem;
}

.service-row:nth-child(even) {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.service-index {
  grid-row: 1 / span 2;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #7edfd4;
  padding-top: 0.2rem;
}

.service-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.service-row p {
  margin: 0;
  color: #8f9ca5;
  max-width: 36ch;
  font-size: 0.98rem;
  grid-column: 2;
}

.services-cta {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}

.services .btn-primary {
  background: #12948e;
}

.services .btn-primary:hover {
  background: #0e7c77;
}

.services-cta-note {
  margin: 0;
  color: #8f9ca5;
  font-size: 0.92rem;
}

/* Process */

.process-intro {
  margin-top: 0.85rem;
  max-width: 44ch;
}

.process-steps {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.process-step {
  padding: 1.35rem 1.25rem 1.45rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.process-index {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.process-step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.process-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 28ch;
}

/* Trust */

.trust {
  padding: 0 0 clamp(2rem, 4vw, 2.75rem);
}

.trust-line {
  margin: 0;
  padding: 1rem 1.25rem;
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(0.98rem, 1.8vw, 1.15rem);
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  background: var(--accent-soft);
  border-radius: var(--radius);
}

/* Work */

.work-intro {
  margin-top: 0.85rem;
  max-width: 42ch;
}

.work-cases {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.work-case {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: clamp(1.15rem, 2.5vw, 1.55rem);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  min-height: 220px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.case-preview {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f1418;
}

.case-dots {
  display: block;
  height: 1.1rem;
  background:
    radial-gradient(circle at 0.55rem 50%, #ff5f57 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 1.35rem 50%, #febc2e 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 2.15rem 50%, #28c840 0.22rem, transparent 0.24rem),
    #1a2228;
}

.case-preview img {
  display: block;
  width: 100%;
  height: 10.5rem;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s var(--ease);
}

.work-case:hover .case-preview img {
  transform: scale(1.03);
}

.case-preview--brand {
  border-color: var(--line);
}

.case-preview--brand .case-dots {
  background:
    radial-gradient(circle at 0.55rem 50%, #ff5f57 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 1.35rem 50%, #febc2e 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 2.15rem 50%, #28c840 0.22rem, transparent 0.24rem),
    #e8eaed;
}

.case-preview--offer .case-offer {
  display: grid;
  gap: 0.55rem;
  align-content: center;
  justify-items: start;
  min-height: 10.5rem;
  padding: 1.25rem 1.15rem;
  background: linear-gradient(160deg, #f7f8fa, #eef6f5 60%, #e7eeef);
}

.case-preview--offer .case-offer strong {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.case-preview--offer .case-offer em {
  display: block;
  width: 4.5rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  font-style: normal;
}

.work-case:hover {
  transform: translateY(-3px);
}

.work-case h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.work-case p:not(.work-label) {
  margin: 0;
  flex: 1;
  max-width: 34ch;
  font-size: 0.98rem;
  line-height: 1.55;
}

.work-case-cta {
  margin-top: 0.5rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 0.05rem;
}

.work-case--product {
  background: linear-gradient(135deg, #102226 0%, #0c1418 55%, #134046 100%);
  color: #d5e0e4;
  box-shadow: 0 16px 40px rgba(16, 18, 20, 0.12);
}

.work-case--product .work-label {
  color: #7edfd4;
}

.work-case--product h3 {
  color: #fff;
}

.work-case--product p:not(.work-label) {
  color: #9aadb4;
}

.work-case--product .work-case-cta {
  color: #fff;
  border-color: #7edfd4;
}

.work-case--web {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.work-case--web .work-case-cta {
  color: var(--accent);
  border-color: var(--accent);
}

.work-feature {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
}

.work-feature-media {
  min-height: 280px;
  background: #111820;
  overflow: hidden;
}

.work-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.work-feature:hover .work-feature-media img {
  transform: scale(1.04);
}

.work-feature-body {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work-label {
  margin: 0 0 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-feature-body h3 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.work-feature-body p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.text-link {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 0.08rem;
}

.text-link:hover {
  color: var(--accent-2);
}

/* Profile */

.profile {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.profile-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.profile-head .section-title {
  margin-bottom: 0.55rem;
}

.profile-head .section-copy {
  margin: 0;
}

.profile-sheet {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) 1.4fr;
  gap: 2rem 2.5rem;
  align-items: start;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.profile-aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.profile-aside picture.screen-only {
  display: block;
  margin-bottom: 1rem;
}

.profile-avatar {
  width: 84px;
  height: 84px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  background: #e4e8ec;
  margin-bottom: 0;
}

.profile-name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.profile-role {
  margin: 0.25rem 0 1rem;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.92rem;
}

.profile-contacts {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.profile-contacts a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.profile-contacts a:hover {
  color: var(--accent-2);
}

.aside-block {
  margin-bottom: 1.25rem;
}

.aside-block h4,
.profile-block h3 {
  margin: 0 0 0.75rem;
}

.aside-block h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.profile-block h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plain-mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.profile-main {
  display: grid;
  gap: 2rem;
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.75rem 1.1rem;
  padding: 0 0 1.4rem 1.15rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -3.5px;
  top: 0.4rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg-elevated);
}

.timeline-when {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.timeline-what h4 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.timeline-what p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.creds-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  color: var(--ink-soft);
}

.creds-list span {
  color: var(--ink);
  font-weight: 700;
}

/* Contact */

.contact {
  padding-bottom: clamp(5rem, 10vw, 7rem);
}

.contact-wrap {
  padding: clamp(2.25rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, #102226 0%, #0c1418 60%, #14383d 100%);
  color: #c8d2d8;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem 2.5rem;
  align-items: start;
  border-radius: var(--radius-lg);
}

.contact-wrap .section-kicker {
  color: #7edfd4;
}

.contact-wrap .section-title {
  color: #fff;
  max-width: 10ch;
}

.contact-wrap .section-copy {
  color: #9aadb4;
  margin: 0 0 1.25rem;
}

.contact-copy {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-wrap .btn-primary {
  background: #12948e;
}

.contact-wrap .btn-primary:hover {
  background: #0e7c77;
}

.contact-wrap .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.contact-wrap .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.social-row a {
  color: #c5d0d7;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
}

.social-row a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.contact-meta {
  margin: 0.35rem 0 0;
  color: #8a96a1;
  font-size: 0.92rem;
}

.contact-meta a {
  color: #c5d0d7;
  text-decoration: none;
  font-weight: 600;
}

.contact-meta a:hover {
  color: #fff;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.contact-form .field {
  display: grid;
  gap: 0.35rem;
}

.contact-form label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aadb4;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(8, 14, 16, 0.45);
  color: #fff;
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(126, 223, 212, 0.55);
  outline-offset: 1px;
  border-color: transparent;
}

.contact-form textarea::placeholder {
  color: #7a8790;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.2rem;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
  color: #7edfd4;
}

.form-note.is-error {
  color: #ffb4a8;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 1.85rem;
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--accent-2);
}

/* Motion */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-copy .reveal:nth-child(1) {
  transition-delay: 0.04s;
}
.hero-copy .reveal:nth-child(2) {
  transition-delay: 0.12s;
}
.hero-copy .reveal:nth-child(3) {
  transition-delay: 0.2s;
}
.hero-copy .reveal:nth-child(4) {
  transition-delay: 0.28s;
}
.hero-copy .reveal:nth-child(5) {
  transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-avatar,
  .btn,
  .pulse-dot,
  .product-panel,
  .hero-scroll span,
  .work-feature-media img,
  [data-parallax] {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .progress,
  .hero-scroll {
    display: none;
  }
}

/* Responsive */

@media (max-width: 960px) {
  .hero-layout,
  .about-layout,
  .product-top,
  .product-panel,
  .work-cases,
  .work-feature,
  .profile-sheet,
  .service-list,
  .process-steps,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: center;
    order: -1;
  }

  .hero-avatar {
    width: 148px;
    height: 148px;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    padding-top: 1.75rem;
    padding-bottom: 3.5rem;
    justify-items: center;
    text-align: center;
  }

  .hero-copy {
    justify-items: center;
  }

  .hero-title,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-scroll {
    border-color: rgba(16, 18, 20, 0.22);
  }

  .hero-scroll span {
    background: var(--accent);
  }

  .product-panel-main {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .service-row,
  .service-row:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .profile-aside {
    position: static;
  }

  .profile-main {
    padding-left: 0;
    border-left: 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-tools {
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0.75rem auto 0.75rem;
    margin-left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 1rem 1.1rem;
    background: rgba(247, 248, 250, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav a {
    padding: 0.9rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
    margin-top: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 1.6rem);
    --header-h: 3.85rem;
  }

  .hero-brand {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .contact-actions .btn {
    flex: 1 1 calc(50% - 0.65rem);
  }
}

/* CV banner — print-focused, hidden on screen */

.cv-banner {
  display: none;
}

.cv-sheet {
  display: block;
}

/* Print / PDF */

@page {
  size: A4;
  margin: 14mm 14mm 16mm;
}

@media print {
  html,
  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 10.5pt;
    line-height: 1.45;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body * {
    visibility: hidden;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .site-header,
  .site-footer,
  .hero,
  .about,
  .product,
  .services,
  .work,
  .contact,
  .print-btn,
  .skip-link,
  .progress,
  .profile-head,
  .screen-only {
    display: none !important;
  }

  #profile,
  #profile * {
    visibility: visible;
  }

  #profile {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff !important;
    border: 0 !important;
  }

  #profile .shell {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .cv-sheet {
    display: block;
  }

  .cv-banner {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 2.5px solid #0c6b66;
  }

  .cv-banner-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 18%;
    background: #e8ecef;
  }

  .cv-banner-name {
    margin: 0;
    font-family: var(--display), sans-serif;
    font-size: 20pt;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111;
    line-height: 1.1;
  }

  .cv-banner-role {
    margin: 3px 0 4px;
    font-size: 10.5pt;
    font-weight: 700;
    color: #0c6b66;
  }

  .cv-banner-meta {
    margin: 0;
    font-size: 9pt;
    color: #444;
  }

  .profile-sheet {
    display: grid;
    grid-template-columns: 0.34fr 0.66fr;
    gap: 16px;
    align-items: start;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .profile-aside {
    position: static !important;
    padding-right: 12px;
    border-right: 1px solid #ddd;
  }

  .profile-main {
    padding-left: 4px;
    border-left: 0;
    gap: 14px;
  }

  .aside-block {
    margin-bottom: 12px;
    page-break-inside: avoid;
  }

  .aside-block h4,
  .profile-block h3 {
    margin: 0 0 6px;
    font-size: 9.5pt;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0c6b66;
    font-weight: 700;
    border-bottom: 1px solid #ddd;
    padding-bottom: 4px;
  }

  .profile-block h3 {
    font-family: var(--display), sans-serif;
    letter-spacing: 0.04em;
  }

  .plain-mini,
  .creds-list {
    gap: 3px;
    font-size: 9.5pt;
    color: #222;
  }

  .creds-list span {
    color: #111;
    font-weight: 700;
  }

  .timeline {
    border-left: 1.5px solid #ccc;
    margin: 0;
  }

  .timeline-item {
    grid-template-columns: 78px 1fr;
    gap: 6px 10px;
    padding: 0 0 10px 12px;
    page-break-inside: avoid;
  }

  .timeline-item::before {
    width: 6px;
    height: 6px;
    left: -3.5px;
    background: #0c6b66;
    box-shadow: 0 0 0 2px #fff;
  }

  .timeline-when {
    font-size: 8.5pt;
    color: #555;
  }

  .timeline-what h4 {
    margin: 0 0 2px;
    font-size: 10.5pt;
    color: #111;
  }

  .timeline-what p {
    margin: 0;
    font-size: 9.5pt;
    color: #333;
  }

  .profile-block {
    page-break-inside: avoid;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

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