@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ─── TOKENS ─── */
:root {
  --accent: #6366f1;
  --accent-dark: #4f52d8;
  --black: #0a0a0a;
  --white: #ffffff;
  --off-white: #f8f7f5;
  --light-gray: #efefed;
  --mid-gray: #c8c8c4;
  --dark-gray: #444440;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.92);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-gray);
  transition: color 0.25s var(--ease);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* ─── HAMBURGER ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--light-gray);
  border-radius: 8px;
  cursor: pointer;
  padding: 9px 10px;
  z-index: 210;
  transition: border-color 0.2s;
}

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s, background 0.2s;
}

.nav-toggle.active span {
  background: var(--accent);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE POPUP ─── */
.mobile-nav-popup {
  display: none;
  position: fixed;
  top: calc(var(--nav-h) - 4px);
  right: 16px;
  width: 280px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transform: translateY(0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  height: auto !important;
  overflow: visible !important;
}

.mobile-nav-popup.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-popup ul {
  padding: 10px 0;
  margin: 0;
  list-style: none;
  height: auto !important;
  overflow: visible !important;
}

.mobile-nav-popup ul li {
  border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-popup ul li:last-child {
  border-bottom: none;
}

.mobile-nav-popup ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.mobile-nav-popup ul li a:hover {
  background: #f9f9f9;
}

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 198;
}

.mobile-nav-backdrop.open {
  display: block;
}

/* ─── PAGE WRAPPER ─── */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: var(--nav-h);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent);
  transition: background 0.25s var(--ease), color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.btn:hover {
  background: var(--accent);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.28);
}

.btn-solid {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-solid:hover {
  background: var(--accent-dark);
  color: var(--white) !important;
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.32);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-dark:hover {
  background: transparent;
  color: var(--black) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

/* keep visited link colours consistent with each button variant */
.btn:visited {
  color: var(--accent);
}

.btn-solid:visited {
  color: var(--white);
}

.btn-dark:visited {
  color: var(--white);
}

/* ─── SECTION LABEL ─── */
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── HEADINGS ─── */
h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

h3 {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ─── SECTIONS ─── */
section {
  padding: 100px 48px;
}

/* ─── HERO SPLIT ─── */
.hero-split {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  padding: 0 48px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero-copy-v2 {
  padding: 80px 0;
  z-index: 2;
}
.hero-title {
  font-size: clamp(48px, 6vw, 92px);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--dark-gray);
  max-width: 540px;
  margin-bottom: 44px; /* Space between text and buttons */
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.text-accent {
  color: var(--accent);
}
.hero-visual-v2 {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-wrapper {
  position: relative;
  z-index: 2;
  width: 85%;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.12);
}
.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.hero-img-wrapper:hover .hero-main-img {
  transform: scale(1.05);
}
.hero-accent-shape {
  position: absolute;
  top: 15%;
  right: -5%;
  width: 70%;
  height: 70%;
  background: var(--accent);
  opacity: 0.1;
  z-index: 1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 15s infinite alternate ease-in-out;
}
@keyframes morph {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.4;
}
.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  to { left: 100%; }
}
.scroll-text {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── EXPERTISE VISUAL ─── */
.focus-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.focus-card-v2 {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease);
}
.focus-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.focus-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.focus-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.focus-card-v2:hover .focus-img img {
  transform: scale(1.05);
}
.focus-content {
  padding: 32px;
}
.focus-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.focus-content p {
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* ─── DARK SECTION ─── */
.section-dark {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
}

.section-dark .section-label {
  color: rgba(255, 255, 255, 0.45);
}

.section-dark .section-label::before {
  background: var(--accent);
}

.section-dark h2 {
  color: var(--white);
}

.section-dark p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 18px;
}

.section-dark p strong {
  color: var(--white);
  font-weight: 500;
}

/* ─── STATS ─── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
}

.stat {
  padding: 28px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:last-child {
  border-right: none;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
}

/* ─── PAGE HEADER ─── */
.page-header {
  padding: 80px 48px;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: attr(data-title);
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-family: var(--font-display);
  font-size: 180px;
  font-weight: 800;
  color: var(--light-gray);
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
  z-index: 0;
  user-select: none;
}

.page-header .section-label,
.page-header h1,
.page-header p {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(44px, 6vw, 80px);
}

.page-header p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--dark-gray);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
}

/* ─── ABOUT STRIP ─── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--off-white);
}

.about-strip-left {
  padding: 100px 56px 100px 48px;
  border-right: 1px solid var(--light-gray);
}

.about-strip-right {
  padding: 100px 48px 100px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-strip-right p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--dark-gray);
  margin-bottom: 18px;
}

.about-strip-right strong {
  color: var(--black);
  font-weight: 500;
}

/* ─── PROJECTS ─── */
.projects-list {
  display: flex;
  flex-direction: column;
}

.project-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 40px;
  align-items: start;
  padding: 52px 48px;
  border-bottom: 1px solid var(--light-gray);
  border-left: 3px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.project-item:hover {
  background: var(--off-white);
  border-left-color: var(--accent);
}

.project-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 5px;
}

.project-content h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.project-content .project-subtitle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 14px;
}

.project-content p {
  font-size: 15px;
  color: var(--dark-gray);
  max-width: 540px;
  line-height: 1.7;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1.5px solid var(--light-gray);
  color: var(--dark-gray);
}

.tag.tag-accent {
  border-color: var(--accent);
  color: var(--accent);
}

.project-meta {
  text-align: right;
  flex-shrink: 0;
  min-width: 150px;
}

.project-date {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.05em;
}

.project-status {
  font-size: 12px;
  color: var(--mid-gray);
  margin-top: 4px;
}

/* ─── TIMELINE ─── */
.timeline-section {
  background: var(--off-white);
}

.timeline {
  position: relative;
  margin-top: 56px;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--light-gray);
}

.timeline-item {
  position: relative;
  padding: 0 0 52px 44px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--mid-gray);
  transition: border-color 0.3s, background 0.3s;
}

.timeline-item:hover::before {
  border-color: var(--accent);
  background: var(--accent);
}

.tl-date {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 15px;
  color: var(--dark-gray);
  max-width: 540px;
  line-height: 1.7;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--light-gray);
}

.contact-block {
  background: var(--white);
  padding: 60px 48px;
  transition: box-shadow 0.3s var(--ease);
}

.contact-block:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.contact-block h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.contact-block p,
.contact-block address {
  font-style: normal;
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 2;
}

.contact-block a {
  color: var(--black);
  font-weight: 500;
  transition: color 0.25s;
}

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

/* form styles removed – no forms on site */

/* ─── VIDEO WRAPPER ─── */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  margin: 48px auto 0 auto;
  background: var(--off-white);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

@supports not (aspect-ratio: 16 / 9) {
  .video-wrapper {
    padding-bottom: 56.25%;
    height: 0;
  }
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── PARTNER CARDS ─── */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 56px;
  background: var(--light-gray);
}

.partner-card {
  background: var(--white);
  padding: 64px 52px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.partner-card:hover {
  background: var(--off-white);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
}

.partner-type {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.partner-type::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.partner-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 24px;
}

.partner-card p {
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 1.8;
  margin-bottom: 14px;
}

.partner-collab {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
}

.partner-collab-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 10px;
}

.partner-collab-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.partner-collab-list li {
  font-size: 13px;
  color: var(--dark-gray);
  padding-left: 14px;
  position: relative;
}

.partner-collab-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 11px;
}

/* ─── SOCIALS ─── */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  margin-top: 56px;
  background: var(--light-gray);
}

.social-card {
  background: var(--white);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
  color: var(--black);
}

.social-card:hover {
  background: var(--off-white);
  color: var(--black);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.social-card:visited {
  color: var(--black);
}

.social-platform {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.social-handle {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
}

.social-desc {
  font-size: 14px;
  color: var(--dark-gray);
  line-height: 1.6;
}

.social-arrow {
  margin-top: auto;
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.25s;
  padding-top: 8px;
}

.social-card:hover .social-arrow {
  transform: translateX(5px);
}

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 48px 40px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 36px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ─── LEGAL ─── */
.legal-content {
  max-width: 760px;
  padding: 72px 48px;
}

.legal-content h2 {
  font-size: 26px;
  margin: 36px 0 14px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 1.8;
}

.legal-content ul {
  margin: 10px 0 10px 20px;
}

.legal-content a {
  color: var(--accent);
}

/* ─── TEAM ─── */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 32px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  flex: 1 1 28%;
  max-width: 320px;
}

.team-member:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.1);
  transform: translateY(-4px);
}

.team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
}

.team-position {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
  font-weight: 700;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.team-quote {
  font-size: 0.9rem;
  color: var(--dark-gray);
  font-style: italic;
  max-width: 240px;
  line-height: 1.6;
}

/* ─── SERVICE ─── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  margin-top: 56px;
  background: var(--light-gray);
}

.service-card {
  background: var(--white);
  padding: 48px 40px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover {
  background: var(--off-white);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ─── GALLERY ─── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  overflow: hidden;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.photo-grid img:hover {
  transform: scale(1.04);
  opacity: 0.9;
}

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

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

.delay-1 {
  transition-delay: 0.07s;
}

.delay-2 {
  transition-delay: 0.14s;
}

.delay-3 {
  transition-delay: 0.21s;
}

.delay-4 {
  transition-delay: 0.28s;
}

.delay-5 {
  transition-delay: 0.35s;
}

/* ─── PAGE FADE ─── */
.page-body {
  animation: pageFadeIn 0.4s var(--ease) both;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ─── TABLET ─── */
@media (max-width: 1024px) {
  nav {
    padding: 0 32px;
  }

  section {
    padding: 80px 32px;
  }

  .hero {
    padding: 60px 32px 72px;
  }

  .about-strip-left,
  .about-strip-right {
    padding: 72px 32px;
  }

  .project-item {
    gap: 24px;
    padding: 44px 32px;
  }

  .page-header {
    padding: 64px 32px;
  }

  .contact-block,
  .contact-form-block {
    padding: 48px 32px;
  }

  footer {
    padding: 48px 32px 32px;
  }

  .legal-content {
    padding: 60px 32px;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav-popup {
    display: block;
  }

  section {
    padding: 64px 20px;
  }

  h2 {
    font-size: clamp(28px, 7vw, 40px);
  }

  .hero {
    padding: 48px 20px 56px;
    min-height: calc(100svh - var(--nav-h));
  }

  .hero-split { grid-template-columns: 1fr; padding: 40px 20px 80px; min-height: auto; }
  .hero-copy-v2 { padding: 40px 0; order: 2; }
  .hero-visual-v2 { order: 1; padding: 20px 0; }
  .hero-img-wrapper { width: 100%; aspect-ratio: 1/1; }
  .hero-title { font-size: clamp(34px, 9vw, 52px); }
  .scroll-down { display: none; }
  .focus-grid-v2 { grid-template-columns: 1fr; gap: 20px; }
  .focus-card-v2 { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
  .focus-content { padding: 24px; }

  .about-strip {
    grid-template-columns: 1fr;
  }

  .about-strip-left {
    border-right: none;
    border-bottom: 1px solid var(--light-gray);
    padding: 48px 20px;
  }

  .about-strip-right {
    padding: 48px 20px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
  }

  .stat:last-child {
    border-bottom: none;
  }

  .stat-value {
    font-size: 36px;
  }

  .project-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 36px 20px;
  }

  .project-num {
    padding-top: 0;
  }

  .project-content h3 {
    font-size: 22px;
  }

  .project-meta {
    text-align: left;
    min-width: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-block,
  .contact-form-block {
    padding: 40px 20px;
  }

  .page-header {
    padding: 52px 20px 40px;
  }

  .page-header::after {
    display: none;
  }

  .page-header h1 {
    font-size: clamp(34px, 9vw, 52px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding-top: 20px;
    font-size: 11px;
  }

  footer {
    padding: 44px 20px 28px;
  }

  .legal-content {
    padding: 44px 20px;
  }

  .legal-content h2 {
    font-size: 20px;
  }

  .team-grid {
    gap: 20px;
  }

  .team-member {
    flex: 1 1 100%;
    padding: 28px 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 36px 24px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 11px;
  }

  .socials-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .photo-grid img {
    aspect-ratio: 3 / 2;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    padding: 44px 24px;
  }
}