/* ============================================================
   Inside the D Agency — One-Pager Stylesheet
   CI: Navy #0A1B26 · Gold #E8B33D · Off-White #F8F8F0
   Fonts: Bebas Neue (Headlines) · Inter (Body)
   ============================================================ */

/* ---- Fonts ------------------------------------------------- */
@font-face {
  font-family: "Bebas Neue";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/BebasNeue-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/Inter-Light.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/Inter-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/Inter-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/Inter-Bold.ttf") format("truetype");
}

/* ---- Tokens ------------------------------------------------ */
:root {
  --navy:       #0A1B26;
  --navy-2:     #122636;
  --navy-deep:  #06121B;
  --gold:       #E8B33D;
  --gold-dark:  #C8951F;
  --gold-soft:  #F2C95C;
  --cream:      #F8F8F0;
  --ink:        #0A1B26;
  --body:       #2C3743;
  --slate:      #6E7A87;
  --bg:         #ffffff;
  --bg-muted:   #F4F1E8;
  --line:       rgba(10, 27, 38, 0.12);

  --font-head: "Bebas Neue", "Impact", "Arial Narrow Bold", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --container-narrow: 760px;
  --radius: 6px;
  --shadow: 0 12px 40px -16px rgba(10, 27, 38, 0.28);
  --transition: 220ms cubic-bezier(.2, .7, .2, 1);
}

/* ---- Reset & base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.4em;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
strong { font-weight: 600; color: var(--ink); }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--narrow { max-width: var(--container-narrow); }

/* ---- Navigation -------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.nav__inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo img { height: 56px; width: auto; transition: height var(--transition); }
.nav__menu {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav__menu a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  padding: 4px 0;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transition: right var(--transition);
}
.nav__menu a:hover { color: var(--gold); }
.nav__menu a:hover::after { right: 0; }

.nav.is-scrolled {
  background: rgba(10, 27, 38, 0.96);
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: saturate(180%) blur(8px);
}
.nav.is-scrolled .nav__logo img { height: 40px; }

/* mobile toggle */
.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero -------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(6,18,27,0.78) 0%, rgba(10,27,38,0.92) 100%),
    url("assets/img/bg-hero.jpg") center/cover no-repeat;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 80% 25%, rgba(232,179,61,0.22), transparent 60%),
    radial-gradient(50% 50% at 10% 85%, rgba(232,179,61,0.12), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  text-align: center;
  padding: 160px 0 120px;
  width: min(100% - 2.5rem, var(--container));
}
.hero__eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.36em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 1.4rem;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 400;
  color: #fff;
  font-size: clamp(2.8rem, 7.5vw, 6.4rem);
  line-height: 1;
  letter-spacing: 0.005em;
  margin: 0 0 1.6rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
  text-transform: uppercase;
}
.hero__sub {
  max-width: 640px;
  margin: 0 auto 2.6rem;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  font-style: italic;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: 28px; height: 44px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  display: grid; place-items: start center;
  padding-top: 8px;
}
.hero__scroll span {
  display: block;
  width: 3px; height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---- Buttons ----------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  text-align: center;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary:hover {
  background: var(--gold-soft);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn--lg {
  padding: 20px 40px;
  font-size: 15px;
  letter-spacing: 0.12em;
}

/* ---- Section base ----------------------------------------- */
.section {
  padding: clamp(70px, 9vw, 140px) 0;
  position: relative;
}
.section--light { background: #fff; color: var(--body); }
.section--muted { background: var(--bg-muted); color: var(--body); }
.section--dark {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: var(--gold); }
.section--dark a:not(.btn):hover { color: var(--gold-soft); }
.section--dark strong { color: #fff; }

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.section__head--left {
  text-align: left;
  margin-left: 0;
  margin-bottom: 36px;
}
.section__title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin: 0 0 0.5em;
}
.section__lead {
  font-size: 1.1rem;
  color: var(--slate);
  font-weight: 300;
}
.section--dark .section__lead { color: rgba(255,255,255,0.7); }

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 0 0 1.2rem;
  position: relative;
  padding-left: 28px;
}
.kicker::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}
.kicker--gold { color: var(--gold); }

/* ---- About: copy + media ---------------------------------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about__media {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
  filter: saturate(0.95);
}
.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,27,38,0) 60%, rgba(10,27,38,0.25) 100%);
  pointer-events: none;
}

/* ---- Strip (atmosphere tiles) ----------------------------- */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--navy);
}
.strip__tile {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  display: block;
  background: var(--navy-2);
}
.strip__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1), filter var(--transition);
  filter: grayscale(0.4) brightness(0.85);
}
.strip__tile:hover img {
  transform: scale(1.06);
  filter: none;
}
.strip__caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
  z-index: 1;
}
.strip__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,27,38,0) 40%, rgba(10,27,38,0.7) 100%);
  pointer-events: none;
}

/* ---- Intro lede ------------------------------------------- */
.lede {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 1.4rem;
}

/* ---- Cards (Services) ------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 40px 32px 32px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,179,61,0.45);
  background: rgba(255,255,255,0.06);
}
.card__num {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.card__title {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.card p { color: rgba(255,255,255,0.78); font-size: 0.98rem; }
.card__claim {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: var(--gold) !important;
  font-weight: 600;
  font-style: italic;
}

/* ---- Quote ------------------------------------------------- */
.quote {
  background: var(--gold);
  color: var(--navy);
  padding: clamp(72px, 10vw, 120px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: "“";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 320px;
  color: rgba(10,27,38,0.10);
  line-height: 1;
  font-weight: 900;
  pointer-events: none;
}
.quote blockquote {
  margin: 0;
  position: relative;
}
.quote p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  font-style: italic;
  margin: 0 0 1.6rem;
  color: var(--navy);
}
.quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.8;
}

/* ---- Trio (Team) ------------------------------------------ */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.trio__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 0 32px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.trio__item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.trio__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  background: var(--bg-muted);
  overflow: hidden;
}
.trio__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.trio__item:hover .trio__photo img { transform: scale(1.04); }
.trio__photo--initials {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  display: grid;
  place-items: center;
}
.trio__photo--initials span {
  font-family: var(--font-head);
  font-size: clamp(4rem, 9vw, 7rem);
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 1;
}
.trio__photo--initials::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 30% 40%, rgba(232,179,61,0.18), transparent 60%);
  pointer-events: none;
}
.trio__role {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 28px 30px 0.6rem;
}
.trio__item h3 {
  font-size: 2rem;
  margin: 0 30px 1rem;
  color: var(--ink);
}
.trio__item p { color: var(--body); font-size: 0.98rem; padding: 0 30px; }

/* ---- Contact ---------------------------------------------- */
.contact-cta {
  text-align: center;
  margin: 0 auto 60px;
  max-width: 720px;
}
.contact-cta .btn {
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
}
.contact-cta__hint {
  margin-top: 1rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-style: italic;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}
.contact__item {
  padding: 24px;
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,0.03);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.contact__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.contact__item a,
.contact__item p,
.contact__item address {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.55;
}
.contact__item a { font-weight: 600; }
.contact__item a:hover { color: var(--gold); }

/* ---- Footer ----------------------------------------------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.55);
  padding: 48px 0;
  font-size: 0.9rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
}
.footer__brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__brand img {
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer__brand p { margin: 0; font-size: 0.85rem; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.footer__links a:hover { color: var(--gold); }
.footer__social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.footer__social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  transition: background var(--transition), color var(--transition);
}
.footer__social a:hover { background: var(--gold); color: var(--navy); }

/* ---- Reveal animations ------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Responsive ------------------------------------------- */
@media (max-width: 980px) {
  .cards, .trio { grid-template-columns: 1fr; gap: 22px; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about__media { order: -1; }
  .strip { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand { align-items: center; }
  .footer__social { justify-content: center; }
}
@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(6,18,27,0.98);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .nav__menu.is-open { max-height: 420px; padding: 12px 0; }
  .nav__menu a {
    padding: 14px 28px;
  }
  .nav__menu a::after { display: none; }
  .hero__inner { padding: 130px 0 90px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
