/* =============================================
   DESIGN TOKENS
============================================= */
:root {
  --font-display: "btl", "Inter" serif!important;
  --font-body: 'Trebuchet MS', sans-serif;
  --font-ui: 'Arial', sans-serif;

  --color-primary: #0758f5;
  --color-teal: #036399;
  --color-dark-nav: #3a3a3a;
  --color-light-blue: #8aa5ff;
  --color-purple-link: #c8c8ff;
  --color-off-white: #f5f8f6;
  --color-dark-bg: #0b1d26;
}

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

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

/* ---- Shared reusables ---- */
.link-arrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark-bg);
  text-decoration: none;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  width: 100%;
  transition: color .2s;
}

.link-arrow:hover {
  color: var(--color-primary);
}

.link-arrow.white {
  color: #fff;
  border-color: rgba(255, 255, 255, .2);
}

.link-arrow.white:hover {
  color: var(--color-light-blue);
}

.btn-morse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 25px;
  padding: 15px 28px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s;
}

.btn-morse:hover {
  opacity: .88;
}

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

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

.btn-morse.full {
  width: 100%;
}

.text-white {
  color: #fff;
}

/* =============================================
   NAV
============================================= */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-dark-nav);
  background-image: url('img/black_bg.jpg');
  background-size: cover;
  background-position: center;
}

.nav-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}

.nav-logo-wrap {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  text-decoration: none;
}

.logo-letter {
  height: 32px;
  width: auto;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn i {
  font-size: 1.25rem;
}

.nav-links {
  display: none;
  flex-direction: column;
  width: 100%;
  padding: 24px 0 24px 0;
}

.nav-links.open {
  display: flex;
}

.nav-links .nav-link-morse {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.nav-links .nav-cta {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

.nav-link-morse {
  color: var(--color-light-blue) !important;
  font-family: var(--font-ui);
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-link-morse:hover {
  color: #fff !important;
}

@media (min-width: 768px) {
  .nav-bar {
    flex-wrap: nowrap;
    height: 88px;
    padding: 0 40px;
  }

  .hamburger-btn {
    display: none;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 32px;
    padding: 0;
  }

  .nav-links .nav-link-morse {
    padding: 0;
    border-bottom: none;
  }

  .nav-links .nav-cta {
    margin-top: 0;
    width: auto;
  }
}

/* =============================================
   HERO
============================================= */
section.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--color-teal);
  background-image: url('img/hero_section_bg.png');
  background-size: cover;
  background-position: center;
}

section.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 99, 153, .65);
  pointer-events: none;
}

section.hero .hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

@media (max-width: 767px) {
  section.hero .hero-inner {
    padding: 50px 0;
  }
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--color-off-white);
  letter-spacing: -.04em;
  line-height: .85;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.hero-body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  opacity: .82;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(5, 234, 246, .55) 0%, transparent 70%);
  z-index: 1;
  border-radius: 20px;
}

.hero-img-wrap img {
  position: relative;
  z-index: 2;
  width: 100%;
  object-fit: contain;
  border-radius: 20px;
}

/* =============================================
   BRAND VALUE
============================================= */
section.brand-value {
  position: relative;
  overflow: hidden;
  background-color: #f9f9f8;
  background-image: url('img/white_bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

@media (max-width: 767px) {
  section.brand-value {
    padding: 50px 0 0;
  }
}

.brand-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 700;
  color: #000;
  letter-spacing: -.04em;
  line-height: .88;
  margin-bottom: 1.5rem;
}

.brand-body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #000;
  line-height: 1.7;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}

.brand-portrait {
  width: 100%;
  display: block;
}

.bottom-attached-img {
  position: relative;
  bottom: -80px;
}

/* =============================================
   DESIGN THINKING (dark)
============================================= */
section.design-thinking {
  position: relative;
  overflow: hidden;
  background-color: #3a3a3a;
  background-image: url('img/black_bg.jpg');
  background-size: cover;
  background-position: center;
}

.dt-content {
  position: relative;
  z-index: 1;
  padding: 100px 0 0;
}

@media (max-width: 767px) {
  .dt-content {
    padding: 60px 0 0;
  }
}

.dt-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--color-off-white);
  letter-spacing: -.04em;
  line-height: .88;
  margin-bottom: 1.25rem;
}

.dt-body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.dt-napkin {
  width: 100%;
  max-width: 420px;
  transform: rotate(5.73deg);
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .35));
}

.tear-edge {
  width: 100%;
  display: block;
  margin-top: 40px;
}

/* =============================================
   CLIENTS
============================================= */
section.clients {
  background: #fff;
  padding: 70px 0;
}

@media (max-width: 767px) {
  section.clients {
    padding: 50px 0;
  }
}

.clients-h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 2rem;
}

.clients-owl .owl-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
}

.clients-owl .owl-prev,
.clients-owl .owl-next {
  width: 36px;
  height: 36px;
  border: 1px solid #d0d0d0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  font-size: 0.75rem;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}

.clients-owl .owl-prev:hover,
.clients-owl .owl-next:hover {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #fff;
}

.clients-owl .owl-prev span,
.clients-owl .owl-next span {
  display: none;
}

.client-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 1rem 0.5rem;
  gap: 1rem;
}

.client-item img {
  width: 160px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto;
}

.client-industry {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #555;
  margin: 0;
}

/* =============================================
   PORTFOLIO / WORK
============================================= */
section.portfolio {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  background-image: url('img/Work%20Entry%20Block.png');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}

section.portfolio::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, .8) 20%, rgba(255, 255, 255, 0) 80%);
  pointer-events: none;
}

@media (max-width: 767px) {
  section.portfolio {
    padding: 60px 0;
  }
}

section.portfolio .container {
  position: relative;
  z-index: 1;
}

.portfolio-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 700;
  color: #000;
  letter-spacing: -.04em;
  line-height: .88;
  margin-bottom: 1rem;
}

.portfolio-sub {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.portfolio-body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #000;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.portfolio-feat-img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.portfolio-feat-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin: 1rem 0 .25rem;
}

.portfolio-feat-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #000;
  text-align: center;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: .5rem;
}

/* =============================================
   TESTIMONIALS
============================================= */
.owl-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
}

.testi-owl .owl-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.testi-owl .owl-prev,
.testi-owl .owl-next {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4);
  background: #5F5F5F;
  color: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s;
  line-height: 1;
  margin: 0;
}

.testi-owl .owl-prev:hover,
.testi-owl .owl-next:hover {
  border-color: #fff;
}

.testi-owl .owl-dot span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  margin: 0;
  transition: background .2s;
}

.testi-owl .owl-dot.active span {
  background: #fff;
}

.testi-owl .owl-item {
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.testi-owl .owl-item.active {
  opacity: 1;
}

.owl-carousel {
  width: 100%;
}

.owl-carousel .owl-item img {
  height: 3.75rem;
  width: 3.75rem;
  border-radius: 50%;
}

.owl-theme .owl-dots .owl-dot span {
  height: 2rem;
  width: 2rem;
  border: 2px solid #000;
}

.owl-theme .owl-dots .owl-dot.active span {
  background: #075D8D;
}

section.testimonials {
  position: relative;
  background-image: url('img/Testimonial%20Block.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  padding: 80px 0 60px;
}

@media (max-width: 767px) {
  section.testimonials {
    padding: 50px 0;
  }
}

.testi-label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  opacity: .75;
  text-align: center;
  margin-bottom: .5rem;
}

.testi-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-off-white);
  letter-spacing: -.04em;
  line-height: 1;
  text-align: center;
  margin-bottom: .75rem;
}

.testi-sub {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  opacity: .75;
  line-height: 1.4;
  margin-bottom: 2.5rem;
}

.testi-card {
  background: rgba(245, 248, 246, .1);
  border-radius: 20px;
  padding: 28px;
  color: var(--color-off-white);
  height: 100%;
}

.owl-item.active .testi-card {
  background: #075d8d;
  border-radius: 12px;
  padding: 36px;
}

.testi-card .quote {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-off-white);
}

.testi-card p {
  font-family: var(--font-body);
  font-size: .88rem;
  line-height: 1.65;
  color: var(--color-off-white);
}

.testi-avatar {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}

.testi-avatar.square {
  border-radius: 6px;
}

.testi-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-off-white);
  margin-bottom: 2px;
}

.testi-role {
  font-family: var(--font-body);
  font-size: .78rem;
  color: var(--color-off-white);
  opacity: .75;
}

/* =============================================
   BLOG
============================================= */
section.blog-section {
  position: relative;
  background-color: #f9f9f8;
  background-image: url('img/white_bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 70px 0;
}

@media (max-width: 767px) {
  section.blog-section {
    padding: 50px 0;
  }
}

.blog-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #000;
  letter-spacing: -.04em;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 2rem;
}

.blog-tag {
  display: inline-block;
  background: #4a3aff;
  color: #fff;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
}

.blog-date {
  font-family: var(--font-body);
  font-size: .9rem;
  color: #000;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #000;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.blog-teaser {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #000;
  line-height: 1.5;
}

.blog-entry-img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

/* =============================================
   CTA
============================================= */
section.cta {
  background: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

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

.cta-box {
  background: var(--color-teal);
  border-radius: 20px;
  padding: 70px 50px;
  position: relative;
  text-align: center;
}

@media (max-width: 767px) {
  .cta-box {
    border-radius: 0;
    padding: 60px 24px 0;
  }
}

.cta-face {
  position: absolute;
  right: -15%;
  bottom: -80px;
  object-fit: contain;
  max-height: calc(110% + 80px);
  width: auto;
}

@media (max-width: 1400px) {
  .cta-face {
    right: -20%;
    max-height: calc(100% + 80px);
  }
}

@media (max-width: 1200px) {
  .cta-face {
    right: -30%;
    max-height: calc(85% + 80px);
  }
}

@media (max-width: 1050px) {
  .cta-face {
    right: -27%;
    max-height: calc(85% + 80px);
  }
}

@media (max-width: 992px) {
  .cta-box {
    padding-bottom: 0;
  }

  .cta-face {
    position: static;
    max-height: 300px;
    margin: 0 auto;
  }
}

.cta-eyebrow {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  opacity: .8;
  margin-bottom: .5rem;
}

.cta-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-off-white);
  letter-spacing: -.04em;
  line-height: .9;
  margin-bottom: 1rem;
}

.cta-body {
  font-family: var(--font-body);
  font-size: .9rem;
  color: #fff;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

/* =============================================
   FOOTER
============================================= */
footer.site-footer {
  background-color: #3a3a3a;
  background-image: url('img/black_bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  color: #fff;
}

@media (max-width: 767px) {
  footer.site-footer {
    padding: 60px 0 40px;
  }
}

.footer-logo-wrap {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-bottom: 1.25rem;
}

.footer-logo-wrap img {
  height: 32px;
  width: auto;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: .75rem;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: .78rem;
  color: #fff;
  opacity: .5;
  line-height: 1.4;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-purple-link);
  margin-bottom: 1rem;
}

.footer-link {
  display: block;
  font-family: var(--font-body);
  font-size: .9rem;
  color: #fff;
  opacity: .8;
  text-decoration: none;
  margin-bottom: .75rem;
  transition: opacity .2s;
}

.footer-link:hover {
  opacity: 1;
  color: #fff;
}
