/* =========================================================
   BLURR INC. — Design system
   ========================================================= */

@font-face {
  font-family: "Anton";
  src: url("../assets/fonts/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/Montserrat-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/Montserrat-Italic-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --blue: #144592;
  --blue-light: #2c5cae;
  --blue-dark: #0d2e63;
  --blue-deep: #0a2450;
  --orange: #f26623;
  --orange-dark: #d9541a;
  --cream: #fbf7ef;
  --cream-deep: #f1ead9;
  --ink: #101a2e;
  --ink-soft: #4a5568;
  --white: #ffffff;
  --line: rgba(16, 26, 46, 0.1);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;

  --container: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 40px -20px rgba(10, 24, 56, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--blue);
}

p {
  margin: 0;
  line-height: 1.7;
  color: var(--ink-soft);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section--tight {
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (max-width: 780px) {
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* -------------------- Eyebrow / section label -------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--orange);
}

/* -------------------- Buttons -------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
}

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

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(20, 69, 146, 0.55);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-accent {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(242, 102, 35, 0.55);
}

.btn-accent:hover {
  background: var(--orange-dark);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 13px 28px;
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* -------------------- Header / Nav -------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.nav-group--right {
  justify-content: flex-end;
}

.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--blue);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--cream-deep);
}

.nav-link.is-active {
  background: var(--orange);
  color: var(--white);
}

.nav-logo {
  flex-shrink: 0;
  padding: 0 20px;
}

.nav-logo img {
  height: 30px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
}

@media (max-width: 900px) {
  .nav-group {
    display: none;
  }
  .nav {
    justify-content: space-between;
  }
  .nav-logo {
    padding: 0;
  }
  .nav-toggle {
    display: flex;
  }

  .site-header.is-open .nav {
    flex-wrap: wrap;
  }
  .site-header.is-open .nav-group {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    order: 3;
    gap: 4px;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    margin-top: 12px;
  }
  .site-header.is-open .nav-group--left {
    border-top: none;
    margin-top: 4px;
  }
  .site-header.is-open .nav-dot {
    display: none;
  }
  .site-header.is-open .nav-link {
    width: 100%;
    padding: 10px 14px;
  }
}

/* -------------------- Hero -------------------- */

.hero {
  padding-top: 90px;
  padding-bottom: 70px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  color: var(--blue);
}

.hero h1 span {
  display: block;
  color: var(--orange);
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  letter-spacing: 0.06em;
  margin-top: 14px;
}

.hero-cards {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 64px;
}

.hero-card {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--blue-light), var(--blue));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.hero-card:hover {
  transform: translateY(-6px);
}

.hero-card .icon {
  width: 42px;
  height: 42px;
}

.hero-card span.label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0 8px;
}

.hero-card .index {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  opacity: 0.6;
}

/* -------------------- Blur blobs (brand-true decorative art) -------------------- */

.blob {
  position: relative;
  overflow: hidden;
  background: var(--blue);
}

.blob::before,
.blob::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(38px);
}

.blob--blue::before {
  width: 65%;
  height: 65%;
  background: var(--blue-light);
  top: -15%;
  left: -10%;
}
.blob--blue::after {
  width: 55%;
  height: 55%;
  background: var(--orange);
  bottom: -15%;
  right: -10%;
  opacity: 0.85;
}

.blob--orange {
  background: var(--orange);
}
.blob--orange::before {
  width: 60%;
  height: 60%;
  background: #ff8c4d;
  top: -10%;
  right: -10%;
}
.blob--orange::after {
  width: 50%;
  height: 50%;
  background: var(--blue);
  bottom: -15%;
  left: -12%;
}

.blob--cream {
  background: var(--cream-deep);
}
.blob--cream::before {
  width: 60%;
  height: 60%;
  background: var(--blue-light);
  top: -10%;
  left: 20%;
  opacity: 0.65;
}
.blob--cream::after {
  width: 45%;
  height: 45%;
  background: var(--orange);
  bottom: -10%;
  right: 10%;
  opacity: 0.55;
}

/* topographic contour line texture */
.topo {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23144592' stroke-width='1' opacity='0.14'%3E%3Cpath d='M10 40 C 60 10, 120 70, 180 30 S 260 60 300 20'/%3E%3Cpath d='M-10 90 C 50 60, 110 120, 170 80 S 250 110 290 70'/%3E%3Cpath d='M-10 140 C 50 110, 110 170, 170 130 S 250 160 290 120'/%3E%3Cpath d='M-10 190 C 50 160, 110 220, 170 180 S 250 210 290 170'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 320px 320px;
  pointer-events: none;
}

/* -------------------- About section -------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media .blob {
  aspect-ratio: 4/3.2;
  border-radius: var(--radius-lg);
}

.about-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4/3.2;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.about-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 20px;
}

.about-copy p {
  margin-bottom: 28px;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-media {
    order: -1;
  }
}

/* -------------------- Portfolio teaser (home) -------------------- */

.portfolio-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  margin-bottom: 44px;
}

.p-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}

.p-card .p-tag {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.p-card p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 320px;
  position: relative;
  z-index: 1;
}

.p-card--featured {
  grid-row: span 2;
}

/* Solid variant for short/wide cards — the dual-blob wash reads as
   a muddy pastel once the blurred circles are taller than the card. */
.p-card--solid {
  background: var(--blue);
}

.p-card--solid::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  right: -60px;
  bottom: -90px;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(46px);
  opacity: 0.4;
}

.p-stack {
  display: grid;
  gap: 26px;
}

/* Real project screenshots as card backgrounds, darkened toward the
   bottom so the tag/description stay legible over any photo. */
.p-card--photo {
  background: var(--blue-dark);
}

.p-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.p-card--photo:hover .p-card-bg {
  transform: scale(1.05);
}

.p-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 36, 80, 0.92) 15%, rgba(10, 36, 80, 0.25) 60%, rgba(10, 36, 80, 0.45));
}

@media (max-width: 860px) {
  .portfolio-teaser {
    grid-template-columns: minmax(0, 1fr);
  }
  .p-card--featured {
    grid-row: auto;
  }
}

/* -------------------- Clients / testimonials -------------------- */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.client-card {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: var(--white);
}

.client-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.client-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  overflow: hidden;
  flex-shrink: 0;
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-avatar .blob {
  width: 100%;
  height: 100%;
}

/* Base blue blob is indistinguishable from the identical card
   background — lighten it so the avatar reads as a circle. */
.client-avatar .blob--blue {
  background: var(--blue-light);
}

.client-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.client-role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.client-card p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 18px;
}

.stars {
  color: var(--orange);
  letter-spacing: 3px;
}

@media (max-width: 900px) {
  .clients-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* -------------------- Contact form -------------------- */

.contact-panel {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.field input,
.field textarea {
  width: 100%;
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94a0b3;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid var(--orange);
}

.field.full {
  margin-bottom: 30px;
}

@media (max-width: 700px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-panel {
    padding: 32px 22px;
  }
}

/* -------------------- Footer -------------------- */

.site-footer {
  background: var(--blue-deep);
  color: var(--white);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  height: 26px;
}

.footer-brand small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
}

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

.footer-links .nav-dot {
  background: rgba(255, 255, 255, 0.35);
}

.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

/* -------------------- Page hero (inner pages) -------------------- */

.page-hero {
  padding-top: 60px;
  padding-bottom: 30px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.page-hero p {
  max-width: 560px;
  margin: 18px auto 0;
}

/* -------------------- Reveal-on-scroll -------------------- */

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- Portfolio accordion page -------------------- */

.acc-item {
  position: relative;
  margin-bottom: 40px;
  color: var(--white);
}

.acc-clip {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--blue);
  padding: 32px 34px 40px;
  overflow: hidden;
  transition: background-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover preview — desktop / mouse only, so tap-to-open on touch stays untouched */
@media (hover: hover) and (pointer: fine) {
  .acc-item:hover .acc-clip {
    background: var(--blue-light);
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(10, 36, 80, 0.35);
  }

  .acc-item:hover .acc-thumb img {
    transform: scale(1.08);
  }

  .acc-item:hover .acc-hover-hint {
    max-height: 40px;
    opacity: 1;
    margin-top: 14px;
  }
}

.acc-corner {
  position: absolute;
  top: 0;
  width: 60px;
  height: 60px;
  z-index: 0;
  pointer-events: none;
}

.acc-item--normal .acc-corner {
  right: 0;
  transform: scaleX(1);
}

.acc-item--reverse .acc-corner {
  left: 0;
  transform: scaleX(-1);
}

.acc-corner svg {
  display: block;
  width: 100%;
  height: 100%;
}

.acc-header-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.acc-name,
.acc-category {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: 0.02em;
}

.acc-name {
  color: var(--orange);
}

.acc-category {
  color: var(--white);
}

.acc-preview {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 30px;
}

.acc-item--reverse .acc-preview {
  flex-direction: row-reverse;
}

.acc-thumb {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-md);
  background: var(--cream);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.acc-thumb img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

/* Unrolls open on hover (see @media hover block above); collapsed the
   rest of the time, and hidden once the card is already expanded since
   the full detail is showing right below it. */
.acc-hover-hint {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--orange);
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.35s ease;
}

.acc-item.is-open .acc-hover-hint {
  display: none;
}

.acc-preview p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.acc-toggle {
  position: absolute;
  bottom: -20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 18px -6px rgba(10, 24, 56, 0.5);
  transition: transform 0.3s ease;
  z-index: 2;
  cursor: pointer;
  border: none;
}

.acc-item--normal .acc-toggle {
  right: 34px;
}

.acc-item--reverse .acc-toggle {
  left: 34px;
}

.acc-item.is-open .acc-toggle {
  transform: rotate(180deg);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative;
  z-index: 1;
}

.acc-item.is-open .acc-body {
  max-height: 900px;
}

/* -------------------- Portfolio case study (description + gallery) -------------------- */

.case-study {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  gap: 30px;
}

.case-copy p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 16px;
}

.case-copy p:last-child {
  margin-bottom: 0;
}

.case-gallery-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin: 0 0 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--cream);
  aspect-ratio: 16 / 10;
}

/* Mobile screenshots (portrait) — a 16:10 box would crop almost
   everything away, so these get their own narrower ratio. */
.gallery-item--portrait {
  aspect-ratio: 3 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  color: var(--white);
  text-align: left;
  background: linear-gradient(to top, rgba(10, 24, 56, 0.85), transparent);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(10, 24, 56, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox figure {
  margin: 0;
  max-width: min(1000px, 100%);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--cream);
}

.lightbox figcaption {
  margin-top: 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-lock {
  overflow: hidden;
}

@media (max-width: 860px) {
  .acc-clip {
    padding: 26px 22px 34px;
  }
  .acc-header-row,
  .acc-item--reverse .acc-header-row {
    flex-direction: row;
  }
  .acc-item--reverse .acc-name {
    text-align: left;
  }
  .acc-preview,
  .acc-item--reverse .acc-preview {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .acc-item--normal .acc-toggle,
  .acc-item--reverse .acc-toggle {
    right: 24px;
    left: auto;
  }
}

/* -------------------- Values / stats grids (about page) -------------------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
}

.value-card .icon {
  width: 44px;
  height: 44px;
  color: var(--orange);
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}

.stat {
  padding: 30px 10px;
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--orange);
  display: block;
}

.stat .label {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .values-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* -------------------- Clients page: logo strip -------------------- */

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 50px 0;
  opacity: 0.75;
}

.logo-strip .tag {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--blue);
  letter-spacing: 0.04em;
}

/* -------------------- About page: portrait intro -------------------- */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
  position: relative;
}

.intro-media {
  position: relative;
}

.intro-photo {
  width: 100%;
  height: auto;
  display: block;
}

.intro-copy {
  display: flex;
  flex-direction: column;
}

.intro-topo {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 28px;
  opacity: 0.9;
  pointer-events: none;
}

.intro-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 18px;
}

@media (max-width: 860px) {
  .intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .intro-media {
    padding: 0;
  }
  .intro-topo {
    display: none;
  }
}

/* -------------------- About page: expertise panel -------------------- */

.expertise-panel {
  border-radius: var(--radius-lg);
  padding: 48px 32px 32px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.expertise-card {
  position: relative;
  background: var(--blue-dark);
  border-radius: var(--radius-md);
  padding: 18px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--white);
  min-height: 220px;
}

.expertise-card {
  transition: background 0.25s ease;
}

.expertise-card:hover {
  background: var(--orange);
}

.expertise-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.expertise-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.expertise-media {
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.expertise-single-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.expertise-hover {
  display: none;
  flex-direction: column;
  flex: 1;
}

.expertise-card:hover .expertise-media {
  display: none;
}

.expertise-card:hover .expertise-hover {
  display: flex;
}

.expertise-stack {
  position: relative;
  height: 90px;
  margin-top: auto;
}

.stack-layer {
  position: absolute;
  left: 4%;
  right: 4%;
  height: 42px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
}

.stack-layer:nth-child(1) {
  top: 0;
  opacity: 0.45;
  left: 10%;
  right: 10%;
}

.stack-layer:nth-child(2) {
  top: 18px;
  opacity: 0.7;
  left: 5%;
  right: 5%;
}

.stack-layer:nth-child(3) {
  top: 36px;
  opacity: 1;
  left: 0;
  right: 0;
}

.photo-fan {
  overflow: visible;
  height: 300px;
}

.fan-photo {
  position: absolute;
  left: 50%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 18px -8px rgba(4, 12, 30, 0.55);
  transform: translateX(-50%);
}

.fan-photo:nth-child(1) {
  top: 0;
  width: 64%;
  opacity: 0.75;
  z-index: 1;
}

.fan-photo:nth-child(2) {
  top: 55px;
  width: 82%;
  opacity: 0.9;
  z-index: 2;
}

.fan-photo:nth-child(3) {
  top: 125px;
  width: 100%;
  opacity: 1;
  z-index: 3;
}

.expertise-arrow {
  position: absolute;
  right: 16px;
  bottom: -18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-dark);
  border: 4px solid var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 10px 18px -6px rgba(10, 24, 56, 0.5);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.expertise-arrow svg {
  width: 18px;
  height: 18px;
}

.expertise-card:hover .expertise-arrow {
  background: var(--orange-dark);
  border-color: var(--orange);
}

@media (max-width: 860px) {
  .expertise-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

/* -------------------- About page: timeline -------------------- */

.timeline {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 44px 56px;
}

.timeline-item--left {
  left: 0;
  text-align: right;
}

.timeline-item--right {
  left: 50%;
  text-align: left;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 1px var(--line);
}

.timeline-item--left::after {
  right: -8px;
}

.timeline-item--right::after {
  left: -8px;
}

.timeline-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-date {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

@media (max-width: 700px) {
  .timeline::before {
    left: 18px;
  }
  .timeline-item,
  .timeline-item--left,
  .timeline-item--right {
    width: 100%;
    left: 0;
    text-align: left;
    padding: 0 16px 40px 46px;
  }
  .timeline-item--left::after,
  .timeline-item--right::after {
    left: 11px;
    right: auto;
  }
}
