:root {
  --ink: #07090d;
  --panel: #10151b;
  --paper: #f6f8f7;
  --cream: #fafbf7;
  --text-soft: rgba(255, 255, 255, 0.74);
  --text-muted: #5b605c;
  --line-light: rgba(255, 255, 255, 0.18);
  --line-dark: rgba(7, 9, 13, 0.14);
  --accent: #63f0df;
  --warm: #d9a24c;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body.modal-open {
  overflow: hidden;
}

main {
  background: var(--paper);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--cream);
  background: rgba(7, 9, 13, 0.78);
  border-bottom: 1px solid rgba(244, 240, 220, 0.12);
  backdrop-filter: blur(18px);
}

.header-controls,
nav {
  display: flex;
  align-items: center;
}

.header-controls {
  width: 100%;
  gap: 10px;
  justify-content: space-between;
}

nav {
  gap: 6px;
  padding: 6px;
  background: rgba(244, 240, 220, 0.1);
  border: 1px solid var(--line-light);
  border-radius: 999px;
  backdrop-filter: blur(18px);
}

nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--cream);
  background: rgba(244, 240, 220, 0.92);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 850;
  color: var(--ink);
}

.lang-toggle {
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(244, 240, 220, 0.92);
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
  color-scheme: light;
  forced-color-adjust: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: start;
  overflow: hidden;
  padding: 118px clamp(18px, 5vw, 64px) 64px;
  color: var(--cream);
  background: var(--ink);
  isolation: isolate;
  transform-style: preserve-3d;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
  background-image: url("assets/images/man%20surfing.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.2) translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.94), rgba(7, 9, 13, 0.56) 52%, rgba(7, 9, 13, 0.24)),
    linear-gradient(0deg, rgba(7, 9, 13, 0.88), rgba(7, 9, 13, 0.1) 46%, rgba(7, 9, 13, 0.7));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 86px clamp(18px, 5vw, 64px) 0;
  z-index: -1;
  border-left: 1px solid rgba(244, 240, 220, 0.28);
  border-right: 1px solid rgba(244, 240, 220, 0.28);
  pointer-events: none;
}

.hero-content {
  width: min(100%, 1050px);
  padding-top: 46px;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: clamp(44px, 5vw, 86px);
  color: var(--cream);
  font-size: clamp(4rem, 11vw, 10.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(2.3rem, 6vw, 6.2rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  line-height: 1.18;
}

.lead {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.contact-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

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

.primary {
  color: var(--ink);
  background: var(--cream);
}

.secondary {
  color: var(--cream);
  background: transparent;
}

.wide {
  width: 100%;
}

.hero-meta {
  position: absolute;
  bottom: 46px;
  margin: 0;
  color: rgba(244, 240, 220, 0.72);
  font-size: clamp(0.9rem, 1.8vw, 1.5rem);
  font-weight: 850;
  text-transform: uppercase;
}

.meta-left {
  left: clamp(18px, 5vw, 64px);
}

.meta-right {
  right: clamp(18px, 5vw, 64px);
  text-align: right;
}

.intro {
  position: relative;
  z-index: 2;
  padding: clamp(70px, 10vw, 140px) clamp(18px, 5vw, 64px);
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 -22px 70px rgba(0, 0, 0, 0.24);
}

.intro .eyebrow,
.section .eyebrow,
.portfolio .eyebrow {
  color: #0c796e;
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--cream);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.proof-strip div {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 48px);
  border-right: 1px solid var(--line-dark);
  text-align: center;
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
  line-height: 1.12;
}

.proof-strip span {
  font-size: clamp(1.12rem, 1.55vw, 1.38rem);
  line-height: 1.45;
}

.proof-icon {
  width: clamp(162px, 18vw, 246px);
  height: clamp(162px, 18vw, 246px);
  object-fit: contain;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  padding-top: 28px;
  opacity: 0.92;
  filter: grayscale(1);
}

.animated-eye {
  overflow: visible;
  filter: none;
}

.eye-outline,
.eye-iris,
.eye-pupil,
.eye-glint {
  transform-box: fill-box;
  transform-origin: center;
}

.eye-outline {
  fill: none;
  stroke: #6f7470;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eye-iris {
  fill: none;
  stroke: #6f7470;
  stroke-width: 12;
}

.eye-pupil {
  fill: #6f7470;
  transform: translate(var(--eye-x, 0px), var(--eye-y, 0px));
  transition: transform 520ms cubic-bezier(0.22, 0.8, 0.24, 1);
}

.eye-glint {
  fill: var(--paper);
  opacity: 0.82;
  transform: translate(var(--eye-x, 0px), var(--eye-y, 0px));
  transition: transform 520ms cubic-bezier(0.22, 0.8, 0.24, 1);
}

.contact-icon {
  position: relative;
  display: block;
}

.contact-man {
  position: absolute;
  bottom: 3%;
  width: 46%;
  height: 78%;
  object-fit: contain;
}

.contact-man-left {
  left: -21%;
}

.contact-man-right {
  right: -21%;
}

.group-icon {
  position: relative;
  display: block;
  overflow: visible;
}

.group-man {
  position: absolute;
  bottom: 3%;
  width: 46%;
  height: 78%;
  object-fit: contain;
  transform: translateX(-50%);
}

.group-man-one {
  left: -21%;
}

.group-man-two {
  left: 14.5%;
}

.group-man-three {
  left: 50%;
}

.group-man-four {
  left: 85.5%;
}

.group-man-five {
  left: 121%;
}

.contact-bubble {
  position: absolute;
  top: 9%;
  left: 50%;
  width: 42%;
  height: auto;
  transform: translateX(-12%) scaleX(-1);
  transform-origin: center;
  overflow: visible;
  filter: none;
  animation: contactBubbleTalk 11.6s ease-in-out infinite;
}

.contact-dot {
  transform-box: fill-box;
  transform-origin: center;
}

.contact-bubble path {
  fill: #6f7470;
}

.contact-dot {
  fill: var(--paper);
  animation: contactDot 2.9s ease-in-out infinite;
}

.contact-dot-two {
  animation-delay: 0.36s;
}

.contact-dot-three {
  animation-delay: 0.72s;
}

@keyframes contactDot {
  0%,
  18%,
  100% {
    opacity: 0.28;
    transform: translateY(2px);
  }

  42%,
  62% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contactBubbleTalk {
  0%,
  7% {
    opacity: 0;
    transform: translateX(-88%) scaleX(1);
  }

  13%,
  38% {
    opacity: 1;
    transform: translateX(-88%) scaleX(1);
  }

  45% {
    opacity: 0;
    transform: translateX(-88%) scaleX(1);
  }

  50% {
    opacity: 0;
    transform: translateX(-12%) scaleX(-1);
  }

  56%,
  82% {
    opacity: 1;
    transform: translateX(-12%) scaleX(-1);
  }

  90%,
  100% {
    opacity: 0;
    transform: translateX(-12%) scaleX(-1);
  }
}

.proof-strip span,
.service-card p,
.step p,
.cta p {
  color: var(--text-muted);
  line-height: 1.55;
}

.business-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  color: var(--cream);
  background: var(--ink);
}

.word-rotator {
  position: relative;
  min-height: 76px;
  overflow: hidden;
  border-right: 1px solid var(--line-light);
  perspective: 620px;
}

.word-rotator:last-child {
  border-right: 0;
}

.word-track {
  position: absolute;
  inset: 0;
  display: block;
  transform-style: preserve-3d;
}

.word-track-hr {
  display: none;
}

html[lang="hr"] .word-track-en {
  display: none;
}

html[lang="hr"] .word-track-hr {
  display: grid;
}

.word-track span {
  position: absolute;
  inset: 0;
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: rotateX(88deg) translateY(10px);
  transform-origin: 50% 50%;
  transition:
    opacity 0.28s ease,
    transform 0.52s cubic-bezier(0.22, 0.8, 0.24, 1);
  backface-visibility: hidden;
}

.word-track span.is-active {
  opacity: 1;
  transform: rotateX(0deg) translateY(0);
}

.word-track span.is-exiting {
  opacity: 0;
  transform: rotateX(-88deg) translateY(-10px);
}

.section,
.portfolio {
  position: relative;
  z-index: 2;
  padding: clamp(72px, 10vw, 136px) clamp(18px, 5vw, 64px);
}

.dark-section {
  color: var(--cream);
  background:
    linear-gradient(rgba(7, 9, 13, 0.84), rgba(7, 9, 13, 0.96)),
    url("assets/images/GettyImages-1557118049.jpg") center / cover;
  background-attachment: fixed;
  overflow: hidden;
}

.dark-section::before,
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(244, 240, 220, 0.12), transparent),
    radial-gradient(circle at 22% 28%, rgba(99, 240, 223, 0.16), transparent 28%);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.section-heading {
  max-width: 1000px;
  margin-bottom: 42px;
}

.dark-section .section-heading h2,
.cta h2 {
  color: var(--cream);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 320px;
  padding: 28px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.service-card p {
  color: var(--text-soft);
}

.number {
  display: block;
  margin-bottom: 88px;
  color: var(--accent);
  font-weight: 950;
}

.portfolio {
  background: var(--paper);
  overflow: hidden;
}

.portfolio-grid {
  width: min(100%, 1080px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(240px, 0.68fr);
  grid-template-areas:
    "era hotels nga"
    "broomfield broomfield nga";
  align-items: stretch;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 16px);
}

.portfolio-card {
  position: relative;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--cream);
  background: var(--panel);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(7, 9, 13, 0.16);
  cursor: pointer;
  text-align: left;
}

.video-landscape {
  aspect-ratio: 16 / 9;
}

.video-portrait {
  aspect-ratio: 9 / 16;
}

.portfolio-era {
  grid-area: broomfield;
}

.portfolio-hotels {
  grid-area: hotels;
}

.portfolio-nga {
  grid-area: nga;
}

.portfolio-broomfield {
  grid-area: era;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.06);
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 9, 13, 0.86), rgba(7, 9, 13, 0.04) 58%);
}

.portfolio-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
}

.portfolio-card strong,
.portfolio-card span {
  display: block;
}

.portfolio-card strong {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.portfolio-card span {
  max-width: 34ch;
  color: rgba(244, 240, 220, 0.78);
  line-height: 1.4;
}

.play-mark {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(250, 251, 247, 0.8);
  border-radius: 50%;
  background: rgba(7, 9, 13, 0.46);
  backdrop-filter: blur(12px);
}

.play-mark::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 17px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid var(--cream);
}

.portfolio-card:hover .play-mark {
  background: var(--cream);
}

.portfolio-card:hover .play-mark::before {
  border-left-color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 6vw, 76px);
  background: var(--cream);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}

.step span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--cream);
  background: var(--ink);
  border-radius: 50%;
  font-weight: 950;
}

.step p {
  margin: 0;
  font-size: clamp(1.14rem, 1.6vw, 1.26rem);
}

.cta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(72px, 10vw, 136px) clamp(18px, 5vw, 64px);
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.96), rgba(7, 9, 13, 0.72)),
    url("assets/images/GettyImages-2189138240.jpg") center / cover;
  background-attachment: fixed;
  overflow: hidden;
}

.cta .eyebrow {
  color: var(--accent);
}

.cta p {
  max-width: 650px;
  color: var(--text-soft);
}

.contact-copy {
  margin-top: clamp(34px, 4vw, 66px);
}

.contact-panel {
  margin-top: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.contact-panel .primary {
  color: var(--ink);
  background: var(--cream);
  border-color: var(--cream);
}

.contact-panel .button {
  min-height: 58px;
  text-align: center;
}

.contact-panel .secondary {
  color: var(--cream);
  border-color: rgba(244, 240, 220, 0.52);
}

.fine-print {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
}

.video-dialog {
  position: relative;
  width: min(1120px, 100%);
  background: rgba(7, 9, 13, 0.94);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.48);
}

.video-dialog.is-portrait {
  width: min(430px, 100%);
}

.video-dialog.is-landscape {
  width: min(1120px, 100%);
}

.video-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  color: var(--cream);
  border-bottom: 1px solid var(--line-light);
}

.video-dialog-header h3 {
  margin: 0;
}

.video-close {
  min-height: 38px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--cream);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
}

.video-player {
  width: 100%;
  max-height: min(72vh, 760px);
  display: block;
  object-fit: contain;
  background: #000;
  border-radius: 0 0 8px 8px;
}

.video-dialog.is-landscape .video-player {
  aspect-ratio: 16 / 9;
}

.video-dialog.is-portrait .video-player {
  aspect-ratio: 9 / 16;
  max-height: min(78vh, 820px);
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    align-items: flex-start;
    flex-direction: column;
    background: var(--ink);
  }

  .header-controls {
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
  }

  nav {
    width: 100%;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
  }

  nav a {
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
  }

  .dark-section,
  .cta {
    background-attachment: scroll;
  }

  .hero-content {
    padding-top: 28px;
  }

  .hero-meta {
    position: static;
    display: inline-block;
    margin-top: 28px;
    margin-right: 18px;
    text-align: left;
  }

  .proof-strip,
  .business-bar,
  .service-grid,
  .split,
  .cta {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .word-rotator {
    min-height: 54px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .word-track span {
    min-height: 54px;
  }

  .portfolio-grid {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "era hotels"
      "broomfield broomfield"
      "nga nga";
    justify-items: center;
  }

  .portfolio-card {
    width: 100%;
  }

  .video-portrait {
    grid-column: span 2;
    width: min(420px, 100%);
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 16px;
  }

  .header-controls {
    gap: 8px;
  }

  .hero {
    padding: 76px 16px 48px;
  }

  .hero::after {
    inset: 70px 16px 0;
  }

  .hero-content {
    padding-top: 24px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.2rem, 13vw, 4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .portfolio-grid {
    display: block;
  }

  .portfolio-card {
    width: min(100%, 520px);
    margin: 0 auto 16px;
  }

  .video-portrait {
    width: min(360px, 82vw);
    margin-left: auto;
    margin-right: auto;
  }

  .video-dialog-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  [data-depth] {
    --parallax-y: 0px !important;
    transition: none !important;
  }
}
