:root {
  --navy: #062F27;
  --cream: #F7F3EC;
  --accent: #5AC8C0;
  --white: #FFFFFF;
  --ink: #062F27;
  --border: #E5E7EB;
  --muted: #626B78;
  --shadow: 0 24px 70px rgba(6, 47, 39, 0.12);
  --radius: 8px;
  --container: 1180px;
  --heading-font: "Rokkitt", Georgia, "Times New Roman", serif;
  --body-font: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  letter-spacing: 0;
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

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

.section-pad {
  padding: 108px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(247, 243, 236, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 1.08rem;
  color: var(--navy);
  letter-spacing: 0;
}

.logo-link img {
  width: auto;
  height: 50px;
  max-width: 225px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #303846;
}

.nav-menu a:not(.btn) {
  position: relative;
}

.nav-menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(6, 47, 39, 0.18);
}

.btn-small {
  min-height: 42px;
  padding: 10px 15px;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.hero {
  min-height: calc(100vh - 74px);
  background:
    linear-gradient(112deg, rgba(247, 243, 236, 0.98) 0%, rgba(247, 243, 236, 0.86) 48%, rgba(255, 255, 255, 0.98) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #237E78;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

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

h1,
h2,
h3 {
  font-family: var(--heading-font);
  color: var(--navy);
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 5.2vw, 4.85rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.45rem);
  font-weight: 400;
}

h3 {
  font-size: 1.18rem;
  font-weight: 400;
}

.hero-subtitle {
  max-width: 620px;
  color: #4B5563;
  font-size: 1.18rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.supporting-line {
  margin: 28px 0 0;
  color: #4B5563;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-banner {
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  object-position: center;
}

.hero-showcase-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.hero-showcase-header span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-carousel-controls {
  margin: 0;
  position: relative;
  z-index: 11;
}

.hero-ad-track {
  position: relative;
  z-index: 2;
  padding: 0 2px 12px;
}

.hero-static-card {
  flex: 0 0 min(330px, 72%);
  scroll-snap-align: center;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(6, 47, 39, 0.08);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 20px 48px rgba(6, 47, 39, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-static-card:hover,
.hero-static-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(6, 47, 39, 0.2);
}

.hero-static-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--navy);
}

.hero-bottle {
  position: absolute;
  left: 50%;
  top: 58%;
  z-index: 2;
  width: min(46%, 270px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 28px 44px rgba(6, 47, 39, 0.22));
}

.visual-card,
.image-button,
.hero-banner,
.portfolio-tile,
.featured-product,
.video-poster,
.screenshot-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.visual-card {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(6, 47, 39, 0.08);
  box-shadow: 0 20px 48px rgba(6, 47, 39, 0.16);
  transition: transform 0.25s ease;
}

.visual-card:hover,
.visual-card:focus-visible {
  transform: translateY(-6px) rotate(var(--tilt, 0deg));
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-ad {
  width: 188px;
  aspect-ratio: 4 / 5;
}

.hero-ad-one {
  left: 4%;
  top: 14%;
  --tilt: -4deg;
  transform: rotate(-4deg);
}

.hero-ad-two {
  right: 2%;
  top: 18%;
  --tilt: 4deg;
  transform: rotate(4deg);
}

.hero-ad-three {
  left: 8%;
  bottom: 12%;
  --tilt: 3deg;
  transform: rotate(3deg);
}

.hero-video {
  right: 9%;
  bottom: 8%;
  width: 164px;
  aspect-ratio: 9 / 16;
}

.proof-strip {
  background: var(--navy);
  color: var(--white);
  padding: 28px 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.proof-grid div {
  background: var(--navy);
  padding: 18px 26px;
}

.proof-grid strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
}

.proof-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  font-size: 0.9rem;
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.muted-section {
  background: var(--cream);
}

.featured-project {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.portfolio-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 18px;
}

.portfolio-header h3 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 1.35rem;
  line-height: 1.18;
}

.portfolio-kicker {
  margin-bottom: 8px;
  color: #237E78;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.featured-product,
.portfolio-tile {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #FAFAF8;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-product:hover,
.portfolio-tile:hover,
.ad-card:hover,
.video-card:hover,
.service-card:hover,
.browser-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(6, 47, 39, 0.11);
}

.featured-product img,
.portfolio-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--navy);
}

.portfolio-video-tile video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--navy);
}

.portfolio-video-tile {
  position: relative;
}

.portfolio-video-tile::before {
  content: "Video";
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(6, 47, 39, 0.86);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.portfolio-video-tile::after {
  content: none;
}

.portfolio-play {
  display: none;
}

.portfolio-play::after {
  content: none;
}

.portfolio-video-tile.is-playing .portfolio-play {
  opacity: 0;
}

.featured-assets {
  gap: 18px;
}

.portfolio-tile {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.portfolio-card {
  flex: 0 0 min(330px, calc((100% - 54px) / 3.35));
  scroll-snap-align: start;
}

.portfolio-card span {
  display: block;
  margin: 14px 0 6px;
  color: #237E78;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-video-tile .portfolio-play {
  display: none;
}

.portfolio-card h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.28;
}

.portfolio-carousel {
  margin-top: 12px;
}

.portfolio-carousel .carousel-controls {
  margin-top: -58px;
}

.portfolio-footer {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}

.portfolio-carousel .carousel-track {
  padding-bottom: 8px;
}

.video-tile {
  position: relative;
  aspect-ratio: 9 / 16;
}

.play-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(6, 47, 39, 0.82);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
}

.angle-tags,
.point-grid,
.highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.angle-tags {
  margin: 22px 0 24px;
}

.angle-tags span,
.point-grid span,
.highlight-list li {
  list-style: none;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: #3A4553;
  font-size: 0.9rem;
  font-weight: 700;
}

.service-grid {
  display: grid;
  gap: 20px;
}

.carousel {
  position: relative;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: -76px 0 24px;
}

.carousel-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--accent);
  transform: translateY(-2px);
}

.carousel-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 22px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.ad-card,
.video-card,
.service-card,
.process-step,
.browser-card,
.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ad-card {
  flex: 0 0 calc((100% - 60px) / 4);
  scroll-snap-align: start;
  padding: 12px 12px 20px;
}

.ad-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--navy);
  border-radius: 6px;
}

.ad-card span,
.video-card span {
  display: block;
  margin: 16px 4px 8px;
  color: #237E78;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ad-card h3,
.video-card h3 {
  margin: 0 4px;
  font-size: 1rem;
  line-height: 1.25;
}

.video-grid {
  gap: 24px;
}

.video-card {
  flex: 0 0 min(390px, calc((100% - 48px) / 2.7));
  scroll-snap-align: start;
  padding: 14px 14px 22px;
}

.video-poster {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 7px;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-frame {
  aspect-ratio: auto;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame video {
  display: block;
  width: min(100%, 360px);
  height: auto;
  border-radius: inherit;
  background: var(--navy);
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(6, 47, 39, 0.22);
}

.play-button::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 18px;
  border-left: 15px solid var(--navy);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.founder-section {
  background: #FBFAF7;
}

.founder-grid,
.contact-grid,
.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

.founder-portrait {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.founder-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.founder-copy .role {
  color: #237E78;
  font-weight: 800;
}

.founder-copy p,
.company-copy p,
.contact-copy p {
  color: var(--muted);
}

.highlight-list {
  padding: 0;
  margin: 24px 0 28px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.browser-card {
  overflow: hidden;
}

.browser-bar {
  display: flex;
  gap: 7px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--border);
  background: #F9FAFB;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CED4DD;
}

.screenshot-button {
  display: block;
  width: 100%;
  background: var(--white);
}

.screenshot-button img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--white);
}

.browser-copy {
  padding: 22px;
}

.browser-copy p {
  color: var(--muted);
}

.proof-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.service-grid {
  grid-template-columns: repeat(5, 1fr);
}

.service-card {
  padding: 24px;
}

.line-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border: 1px solid rgba(90, 200, 192, 0.46);
  border-radius: 50%;
  color: #237E78;
  font-weight: 800;
}

.service-card p,
.process-step p {
  color: var(--muted);
  margin-bottom: 0;
}

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

.process-step {
  position: relative;
  padding: 26px;
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}

.company-copy {
  font-size: 1.04rem;
}

.point-grid {
  margin-top: 26px;
}

.contact-section {
  background: var(--cream);
}

.contact-grid {
  align-items: start;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-weight: 700;
  color: var(--navy);
}

.contact-links a {
  width: fit-content;
  border-bottom: 1px solid rgba(6, 47, 39, 0.28);
}

.contact-form {
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin: 16px 0 7px;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.9rem;
}

.contact-form label:first-of-type {
  margin-top: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #D7DDE6;
  border-radius: var(--radius);
  background: #FFFFFF;
  color: var(--navy);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(90, 200, 192, 0.18);
}

.contact-form .btn {
  width: 100%;
  margin-top: 22px;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-weight: 700;
}

.form-status.is-error {
  color: #9B1C1C;
}

.form-status.is-success {
  color: #237E78;
}

.final-cta {
  background: var(--navy);
  color: var(--white);
  padding: 88px 0;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.final-cta p {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.site-footer {
  padding: 48px 0;
  background: #031F1A;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .wordmark {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 30px;
}

.footer-grid p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: flex-end;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.copyright {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 47, 39, 0.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1060px, 92vw);
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.lightbox-close {
  position: absolute;
  right: 22px;
  top: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .founder-grid,
  .contact-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-banner img {
    max-height: none;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ad-card {
    flex-basis: calc((100% - 20px) / 2);
  }

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

  .final-cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .section-pad {
    padding: 78px 0;
  }

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

  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 13px 10px;
  }

  .nav-menu .btn {
    margin-top: 8px;
  }

  .profile-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .carousel-controls {
    justify-content: flex-start;
    margin: 0 0 18px;
  }

  .video-card {
    flex-basis: 72%;
  }

  .portfolio-header {
    grid-template-columns: 1fr;
  }

  .portfolio-carousel .carousel-controls {
    margin-top: 0;
  }

  .portfolio-card {
    flex-basis: 58%;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section-pad {
    padding: 62px 0;
  }

  .nav {
    min-height: 66px;
  }

  .logo-link img {
    height: 34px;
    max-width: 150px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-subtitle {
    font-size: 1.03rem;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-banner img {
    max-height: none;
  }

  .proof-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .ad-card,
  .video-card {
    flex-basis: 84%;
  }

  .proof-grid div {
    padding: 18px;
  }

  .featured-project,
  .contact-form {
    padding: 20px;
  }

  .featured-assets {
    gap: 14px;
  }

  .portfolio-card {
    flex-basis: 84%;
  }

  .ad-card,
  .video-card,
  .service-card,
  .process-step,
  .browser-copy {
    padding: 18px;
  }

  .ad-card {
    padding: 10px 10px 18px;
  }
}
