:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --card: rgba(16, 16, 16, 0.76);
  --card-solid: #101010;
  --text: #f8f8f8;
  --muted: #9e9e9e;
  --line: rgba(255, 255, 255, 0.12);
  --primary: #ffb21a;
  --primary-2: #ff9800;
  --dark: #090909;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 178, 26, 0.08), transparent 28%),
    linear-gradient(135deg, #020202 0%, #080808 52%, #000 100%);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 34px;
  height: 34px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  box-shadow: 0 0 16px rgba(255, 178, 26, 0.58), inset 0 0 10px rgba(255, 178, 26, 0.12);
  transition: opacity 0.2s ease, width 0.18s ease, height 0.18s ease, border-color 0.18s ease;
  will-change: transform;
}

.cursor-ring.visible {
  opacity: 1;
}

.cursor-ring.is-hovering {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 178, 26, 0.82);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(940px, calc(100% - 32px));
}

.section-padding {
  position: relative;
  padding: 100px 0;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
}

.page-backdrop::before,
.page-backdrop::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.55;
}

.page-backdrop::before {
  left: -9%;
  top: 8%;
  width: 440px;
  height: 440px;
  background: rgba(255, 178, 26, 0.08);
  animation: floatGlow 13s ease-in-out infinite;
}

.page-backdrop::after {
  right: -8%;
  bottom: -6%;
  width: 380px;
  height: 380px;
  background: rgba(255, 152, 0, 0.08);
  animation: floatGlow 15s ease-in-out infinite reverse;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 20px 0;
}

.nav-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), 0 0 32px rgba(255, 178, 26, 0.06);
  backdrop-filter: blur(18px);
}

.brand,
.footer h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand span,
.footer h3 span {
  color: var(--primary);
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.25s ease, transform 0.25s ease;
}

.desktop-nav a i,
.mobile-nav a i,
.nav-cta i {
  color: var(--primary);
  font-size: 0.95em;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.desktop-nav a:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.nav-cta,
.button-primary {
  background: var(--primary);
  color: #080808;
  box-shadow: 0 0 28px rgba(255, 178, 26, 0.22);
}

.nav-cta:hover,
.button-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 42px rgba(255, 178, 26, 0.36), 0 18px 36px rgba(0, 0, 0, 0.28);
}

.button-ghost {
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.7);
  color: var(--text);
}

.button-ghost:hover {
  border-color: rgba(255, 178, 26, 0.45);
  background: rgba(255, 178, 26, 0.08);
  transform: translateY(-4px);
}

.mobile-nav {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.74);
  color: var(--primary);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.menu-toggle:hover {
  border-color: rgba(255, 178, 26, 0.42);
  background: rgba(255, 178, 26, 0.08);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 78px;
  background:
    radial-gradient(circle at 80% 43%, rgba(255, 178, 26, 0.18), transparent 30%),
    radial-gradient(circle at 9% 14%, rgba(255, 152, 0, 0.08), transparent 24%),
    linear-gradient(135deg, rgba(3, 3, 3, 0.99), rgba(9, 9, 9, 0.98) 48%, #000 100%);
}

.hero-light {
  position: absolute;
  width: 420px;
  height: 420px;
  left: -150px;
  top: -150px;
  border-radius: 50%;
  background: rgba(255, 178, 26, 0.08);
  filter: blur(80px);
  animation: floatGlow 8s ease-in-out infinite;
}

.hero-angle {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, transparent 43%, rgba(255, 178, 26, 0.05) 43%, rgba(255, 178, 26, 0.12) 51%, transparent 52%);
}

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

.hero-copy {
  animation: enterUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-bottom: 28px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 178, 26, 0.34);
  border-radius: 999px;
  background: rgba(255, 178, 26, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.badge span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.35rem, 5.4vw, 5.15rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 span,
.hero h1 strong,
.hero h1 em {
  display: block;
  font-style: normal;
}

.hero h1 span {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3.4vw, 3.6rem);
}

.hero h1 em,
.section-heading em {
  color: var(--primary);
  font-style: normal;
  text-shadow: 0 0 22px rgba(255, 178, 26, 0.28), 0 0 54px rgba(255, 152, 0, 0.18);
}

.hero p,
.section-heading p,
.footer p,
.glass-card p,
.form-help {
  color: var(--muted);
  line-height: 1.7;
}

.hero p {
  max-width: 680px;
  margin: 26px 0 0;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 24px;
}

.focus-tags span {
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.64);
  color: var(--muted);
  font-size: 13px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.focus-tags span:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 178, 26, 0.42);
  background: rgba(255, 178, 26, 0.08);
}

.portrait-wrap {
  position: relative;
  width: min(500px, 38vw);
  aspect-ratio: 1;
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: imageIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both, gentleBob 8s ease-in-out 1.6s infinite;
}

.portrait-glow {
  position: absolute;
  inset: -56px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 178, 26, 0.31), rgba(255, 152, 0, 0.18) 34%, transparent 68%);
  filter: blur(26px);
}

.portrait {
  position: relative;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(255, 178, 26, 0.52);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(255, 178, 26, 0.22), 0 0 70px rgba(255, 152, 0, 0.22);
}

.section-heading {
  position: relative;
  z-index: 1;
  margin: 0 auto 64px;
  max-width: 760px;
  text-align: center;
}

.section-heading span,
.form-block > span,
.contact-card span,
.note span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 4.5vw, 4.1rem);
  line-height: 1;
}

.section-heading p {
  margin: 22px auto 0;
  max-width: 680px;
  font-size: 17px;
}

.portfolio {
  padding-top: 105px;
}

.portfolio::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 170px;
  background: linear-gradient(to bottom, rgba(255, 178, 26, 0.06), transparent);
}

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

.video-card {
  position: relative;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.7s ease, transform 0.45s ease, filter 0.45s ease;
}

.video-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.video-card::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 24% 0%, rgba(255, 152, 0, 0.12), transparent 36%),
    radial-gradient(circle at 92% 92%, rgba(255, 178, 26, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(23, 23, 23, 0.9), rgba(13, 13, 13, 0.94));
  opacity: 0.75;
  filter: blur(4px);
  transition: opacity 0.45s ease;
}

.video-inner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 178, 26, 0.18);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.96), rgba(10, 10, 10, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38), 0 0 34px rgba(255, 152, 0, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-frame img,
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s ease, filter 0.45s ease;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.16) 45%, rgba(0, 0, 0, 0.28)),
    radial-gradient(circle at 20% 10%, rgba(255, 152, 0, 0.13), transparent 34%),
    radial-gradient(circle at 92% 82%, rgba(255, 178, 26, 0.12), transparent 30%);
  transition: opacity 0.45s ease;
}

.video-card:hover .video-inner {
  transform: translateY(-10px) rotateX(-1deg);
  border-color: rgba(255, 178, 26, 0.36);
  box-shadow: 0 38px 88px rgba(0, 0, 0, 0.58), 0 0 48px rgba(255, 152, 0, 0.16);
}

.video-card:hover img,
.video-card:hover video {
  transform: scale(1.075);
}

.video-card:hover .video-frame::after {
  opacity: 0.55;
}

.video-card.dimmed {
  filter: saturate(0.78) brightness(0.82);
  opacity: 0.72;
  transform: scale(0.96);
}

.play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.play span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 178, 26, 0.42);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: var(--primary);
  box-shadow: 0 0 28px rgba(255, 152, 0, 0.18);
  backdrop-filter: blur(8px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.video-card:hover .play span {
  transform: scale(1.16);
  border-color: rgba(255, 178, 26, 0.75);
  box-shadow: 0 0 42px rgba(255, 152, 0, 0.3);
}

.video-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}

.video-meta h3 {
  font-size: clamp(1rem, 1.7vw, 1.55rem);
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.74);
}

.video-meta span {
  border: 1px solid rgba(255, 178, 26, 0.3);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--primary);
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

.yellow-line {
  width: min(900px, calc(100% - 48px));
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, rgba(255, 178, 26, 0.62), transparent);
}

.timeline {
  position: relative;
}

.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline::before {
  width: 1px;
  background: rgba(255, 178, 26, 0.25);
}

.timeline::after {
  width: 2px;
  background: linear-gradient(to bottom, rgba(255, 178, 26, 0.95), rgba(255, 178, 26, 0.75), rgba(255, 178, 26, 0.95));
  box-shadow: 0 0 24px rgba(255, 152, 0, 0.4);
  animation: growLine 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 140px;
  margin-bottom: 50px;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 1px solid rgba(255, 178, 26, 0.4);
  box-shadow: 0 0 22px rgba(255, 178, 26, 0.5);
  transform: translate(-50%, -50%);
  animation: pulseDot 2.8s ease-in-out infinite;
}

.timeline-item:nth-child(odd) .timeline-dot {
  left: calc(50% - 10px);
}

.timeline-item:nth-child(even) .timeline-dot {
  left: calc(50% + 10px);
}

.timeline-card {
  width: calc(50% - 42px);
  position: relative;
  text-align: right;
}

.timeline-item:nth-child(odd) .timeline-card {
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-card {
  text-align: left;
}

.glass-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 22px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 178, 26, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 30px rgba(255, 152, 0, 0.14);
}

.timeline-card {
  padding: 24px;
  overflow: hidden;
}

.timeline-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary), rgba(255, 178, 26, 0.5), transparent);
}

.timeline-item:nth-child(odd) .timeline-card::before {
  inset: 0 0 0 auto;
}

.timeline-card strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.timeline-card h3 {
  margin-top: 12px;
  font-size: 22px;
}

.timeline-card p {
  margin: 8px 0 0;
  font-size: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  overflow: hidden;
}

.service-card::after,
.tool-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), rgba(255, 178, 26, 0.45), transparent);
  transition: width 0.45s ease;
}

.service-card:hover::after,
.tool-card:hover::after {
  width: 100%;
}

.service-icon,
.tool-icon,
.mini-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 178, 26, 0.24);
  border-radius: 16px;
  background: rgba(255, 178, 26, 0.1);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 900;
}

.service-card h3 {
  font-size: 18px;
}

.service-card p {
  margin: 12px 0 0;
  font-size: 14px;
}

.tools {
  overflow: hidden;
}

.wave {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background:
    radial-gradient(80% 40% at 50% 50%, transparent 58%, rgba(255, 178, 26, 0.2) 59%, transparent 60%);
  transform: scaleX(1.2);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 92px;
  padding: 20px;
  overflow: hidden;
}

.tool-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 14px;
  font-size: 13px;
}

.tool-card h3 {
  font-size: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.38fr minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.contact-notes {
  display: grid;
  gap: 16px;
}

.contact-card,
.note {
  padding: 22px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.mini-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin: 0;
}

.contact-card a {
  display: block;
  margin-top: 10px;
  overflow-wrap: anywhere;
  font-weight: 800;
  transition: color 0.25s ease;
}

.contact-card a:hover {
  color: var(--primary);
}

.contact-card p,
.note p {
  margin: 10px 0 0;
  font-size: 14px;
}

.brief-form {
  padding: 34px;
}

.form-block + .form-block {
  margin-top: 34px;
}

.form-block h3 {
  margin: 8px 0 20px;
  font-size: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(24, 24, 24, 0.68);
  color: var(--text);
  padding: 14px 15px;
  outline: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 178, 26, 0.62);
  box-shadow: 0 0 0 3px rgba(255, 178, 26, 0.1);
}

.feedback {
  margin: 24px 0 0;
  border: 1px solid rgba(255, 178, 26, 0.3);
  border-radius: 14px;
  background: rgba(255, 178, 26, 0.1);
  padding: 12px 14px;
  color: var(--text);
}

.feedback.error {
  border-color: rgba(255, 80, 80, 0.35);
  background: rgba(255, 80, 80, 0.1);
}

.form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.form-help {
  margin: 18px 0 0;
  font-size: 14px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 46px 0;
}

.footer h3 {
  font-size: 24px;
  letter-spacing: 0;
}

.footer p {
  max-width: 420px;
  margin: 9px 0 0;
  font-size: 14px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.5);
  color: var(--muted);
  padding: 9px 14px;
  font-size: 14px;
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.footer nav a:hover,
.footer-email:hover {
  color: var(--text);
  border-color: rgba(255, 178, 26, 0.35);
  transform: translateY(-2px);
}

.footer-email {
  color: var(--primary);
  font-size: 14px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.video-modal {
  width: min(960px, 94vw);
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 178, 26, 0.22);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.96);
  color: var(--text);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

.video-modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: var(--text);
  cursor: pointer;
}

.modal-video-wrap {
  aspect-ratio: 16 / 9;
  background: #000;
}

.modal-video-wrap video {
  width: 100%;
  height: 100%;
}

.modal-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 22px;
}

.modal-caption h3 {
  font-size: 24px;
}

.modal-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
}

.section-reveal.visible,
.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes imageIn {
  from {
    opacity: 0;
    filter: blur(18px);
    transform: scale(0.84);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes gentleBob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -16px;
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(18px, -24px, 0);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.25);
  }
}

@keyframes growLine {
  from {
    transform: translateX(-50%) scaleY(0);
    transform-origin: top;
  }
  to {
    transform: translateX(-50%) scaleY(1);
    transform-origin: top;
  }
}

@media (max-width: 980px) {
  .section-padding {
    padding: 92px 0;
  }

  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .desktop-nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

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

  .mobile-nav {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
  }

  .nav-shell.is-open .mobile-nav {
    display: grid;
  }

  .mobile-nav a {
    display: grid;
    min-height: 36px;
    place-items: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(8, 8, 8, 0.6);
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hero {
    padding-top: 122px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .portrait-wrap {
    justify-self: center;
    width: min(360px, 72vw);
  }

  .video-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cursor-ring {
    display: none;
  }

  .container,
  .narrow {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 10px 10px 0;
  }

  .nav-shell {
    padding: 11px;
    border-radius: 18px;
  }

  .brand {
    font-size: 14px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .mobile-nav {
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .mobile-nav a {
    display: flex;
    justify-content: flex-start;
    padding: 8px 4px;
    font-size: 9px;
  }

  .hero {
    padding: 118px 0 68px;
  }

  .hero p,
  .section-heading p {
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

  .video-grid,
  .service-grid,
  .tool-grid,
  .form-row,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .timeline::before,
  .timeline::after,
  .timeline-dot {
    left: 24px;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 24px;
  }

  .timeline-item,
  .timeline-item:nth-child(even),
  .timeline-item:nth-child(odd) {
    justify-content: flex-start;
  }

  .timeline-card {
    width: calc(100% - 58px);
    margin-left: 58px;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-card,
  .timeline-item:nth-child(even) .timeline-card {
    text-align: left;
  }

  .brief-form {
    padding: 22px;
  }

  .contact-card {
    flex-direction: column;
  }

  .modal-caption {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-ring {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
