:root {
  --navy: #07366f;
  --deep: #07151d;
  --ink: #10212d;
  --muted: #607283;
  --green: #18d977;
  --cyan: #16b9e6;
  --ice: #eef8ff;
  --paper: #ffffff;
  --line: rgba(16, 33, 45, 0.12);
  --shadow: 0 24px 70px rgba(7, 21, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  width: min(1120px, calc(100% - 32px));
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 10px 0 18px;
  color: #fff;
  background: rgba(7, 21, 29, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(24, 217, 119, 0.45), 0 10px 24px rgba(24, 217, 119, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 0 0 1px rgba(24, 217, 119, 0.7), 0 14px 32px rgba(24, 217, 119, 0.3);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-1px);
}

.site-header.is-scrolled {
  background: rgba(7, 21, 29, 0.88);
  box-shadow: 0 18px 44px rgba(7, 21, 29, 0.18);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(7, 21, 29, 0.88), rgba(7, 21, 29, 0.5) 48%, rgba(7, 21, 29, 0.22)),
    url("assets/tinified/stone-transformation-hero.jpg") center / cover no-repeat,
    radial-gradient(circle at 80% 20%, rgba(24, 217, 119, 0.28), transparent 28%),
    linear-gradient(135deg, #10212d, #07366f);
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 20% 88%, rgba(24, 217, 119, 0.26), transparent 28%),
    linear-gradient(0deg, rgba(7, 21, 29, 0.86), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 54px);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
}

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

.button.primary {
  color: var(--deep);
  background: var(--green);
  box-shadow: 0 18px 38px rgba(24, 217, 119, 0.28);
}

.button.primary:hover {
  background: #49f298;
  box-shadow: 0 24px 54px rgba(24, 217, 119, 0.36);
}

.button.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.button.ghost:hover {
  background: #fff;
  color: var(--deep);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.hero-stats strong {
  display: block;
  font-size: 25px;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.section-copy p,
.work-panel p,
.timeline p,
.feature-card p {
  color: var(--muted);
  line-height: 1.78;
}

.dark-band {
  width: 100%;
  max-width: none;
  padding: 100px max(20px, calc((100% - 1120px) / 2));
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgba(24, 217, 119, 0.18), transparent 28%),
    linear-gradient(135deg, #082b58, #07151d);
}

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

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

.feature-card {
  min-height: 265px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(24, 217, 119, 0.55);
}

.feature-card.green {
  color: var(--deep);
  background: var(--green);
}

.feature-card.green p {
  color: rgba(7, 21, 29, 0.72);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  border-radius: 50%;
  color: var(--deep);
  background: #fff;
  font-weight: 800;
}

.image-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 76px;
  align-items: center;
}

.rounded-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 54, 111, 0.76), rgba(7, 21, 29, 0.28)),
    url("assets/tinified/methodology-strategy-blocks.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.rounded-visual::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.visual-card {
  position: absolute;
  width: 220px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.visual-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.visual-card strong {
  font-size: 26px;
}

.top-card {
  top: 48px;
  right: 28px;
}

.bottom-card {
  left: 28px;
  bottom: 42px;
  color: var(--deep);
  background: var(--green);
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.timeline-item:hover {
  transform: translateX(8px);
  border-color: rgba(24, 217, 119, 0.58);
  box-shadow: 0 18px 42px rgba(7, 21, 29, 0.08);
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  font-weight: 800;
}

.soft-band {
  width: 100%;
  max-width: none;
  padding: 96px max(20px, calc((100% - 1120px) / 2));
  background:
    radial-gradient(circle at 10% 20%, rgba(22, 185, 230, 0.12), transparent 26%),
    linear-gradient(180deg, #f4fbff, #fff);
}

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

.pill-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
  transition: transform 190ms ease, color 190ms ease, background 190ms ease, border-color 190ms ease;
}

.pill-card:hover {
  color: var(--deep);
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-5px);
}

.work-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
}

.work-panel,
.quote-panel {
  min-height: 360px;
  padding: 42px;
  border-radius: 8px;
}

.work-panel {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 21, 29, 0.84), rgba(7, 54, 111, 0.66)),
    url("assets/tinified/working-with-us-background.jpg") center / cover no-repeat;
}

.work-panel p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.74);
}

.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--deep);
  background: var(--green);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.quote-panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(24, 217, 119, 0.28);
}

.quote-panel p {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.quote-panel span {
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 48px max(20px, calc((100% - 1120px) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: #07151d;
}

.site-footer strong {
  display: block;
  color: #fff;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    height: auto;
    min-height: 58px;
    align-items: flex-start;
    border-radius: 24px;
    padding: 12px;
  }

  .brand {
    max-width: 220px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-nav a {
    padding: 8px;
    font-size: 12px;
  }

  .hero {
    min-height: 800px;
  }

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

  .hero-stats,
  .split,
  .image-split,
  .work-section {
    grid-template-columns: 1fr;
  }

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

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

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: min(100% - 28px, 1120px);
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  h2 {
    font-size: 34px;
  }

  .hero-stats,
  .capability-grid,
  .pill-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .dark-band,
  .soft-band {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .rounded-visual {
    min-height: 420px;
  }

  .visual-card {
    width: 190px;
  }

  .work-panel,
  .quote-panel {
    padding: 28px;
  }

  .quote-panel p {
    font-size: 23px;
  }

  .site-footer {
    display: block;
  }

  .site-footer > p {
    margin-top: 26px;
  }
}
