/* Arlo Designs — flagship marketing site (brand: Montserrat, coral + charcoal on light cream) */

:root {
  --bg-deep: #f7f3eb;
  --bg-raised: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f2efe8;
  --border: rgba(53, 55, 58, 0.12);
  --border-strong: rgba(53, 55, 58, 0.22);
  --text: #35373a;
  --text-muted: #5c5f66;
  --text-subtle: #7a7d85;
  /* Brand board: accent #FF6A51, charcoal #35373A, cream #F7F3EB */
  --charcoal: #35373a;
  --cream: #f7f3eb;
  --accent: #ff6a51;
  --accent-hover: #ff5238;
  --accent-soft: rgba(255, 106, 81, 0.14);
  --accent-glow: rgba(255, 106, 81, 0.22);
  --accent-deep: #d64d38;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-sans: "Montserrat", system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 20px 60px rgba(53, 55, 58, 0.12);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

#main {
  min-width: 0;
}

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

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 10000;
  width: auto;
  height: auto;
  clip: auto;
  padding: var(--space-xs) var(--space-sm);
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

/* Film grain overlay */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.shell {
  width: min(1120px, calc(100% - 3rem));
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

@media (max-width: 640px) {
  .shell {
    width: min(1120px, calc(100% - 2rem));
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(247, 243, 235, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--space-md);
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.logo__img {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(220px, 58vw);
}

.logo__img--footer {
  height: 40px;
  max-width: 200px;
  margin-inline: auto;
}

@media (max-width: 480px) {
  .logo__img {
    height: 36px;
    max-width: 52vw;
  }
}

.nav {
  position: relative;
  flex-shrink: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav__list a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav__cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.65);
}

.nav__cta:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  cursor: pointer;
}

.nav__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}

.nav.is-open .nav__toggle-bar:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.nav.is-open .nav__toggle-bar:nth-of-type(2) {
  transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 768px) {
  /* Menu is absolutely positioned; anchor to full header row, not the narrow .nav wrapper. */
  .header__inner {
    position: relative;
  }

  .nav {
    position: static;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__list {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    z-index: 10;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-raised);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  }

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

  .nav__list li {
    text-align: center;
  }

  .nav__list a {
    display: block;
    padding: 0.65rem;
  }
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: var(--space-xs) 0 var(--space-2xl);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  filter: blur(60px);
  opacity: 0.85;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-4%, 6%) scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow {
    animation: none;
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero__visual {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-sans);
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: none;
}

.hero__title-accent {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-image: linear-gradient(
    115deg,
    var(--text) 0%,
    var(--accent) 42%,
    var(--accent-deep) 100%
  );
}

.hero__lede {
  margin: 0 0 var(--space-lg);
  max-width: 36ch;
  color: var(--text-muted);
  font-size: 1.125rem;
}

.hero__lede-text--mobile {
  display: none;
}

.hero__lede-text--desktop {
  display: block;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.hero__social.social-links {
  margin: 0 0 var(--space-xl);
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-hover));
  color: #ffffff;
  box-shadow: 0 12px 36px rgba(255, 106, 81, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 16px 44px rgba(255, 106, 81, 0.38);
}

.btn--ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.95);
}

.btn--block {
  width: 100%;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: 0;
  padding: var(--space-md) 0 0;
  border-top: 1px solid var(--border);
}

.hero__stats dt {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.hero__stats dd {
  margin: 0.5rem 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

@media (max-width: 960px) {
  .hero {
    padding: var(--space-xs) 0 var(--space-lg);
  }

  .hero__content {
    display: contents;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  /* Eyebrow → image (where headline+body were) → headline → body → CTAs → stats */
  .hero__grid > .eyebrow {
    order: 1;
    margin-bottom: 0.25rem;
  }

  .hero__grid > .hero__visual {
    order: 2;
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .hero__grid > .hero__title {
    order: 3;
  }

  .hero__grid > .hero__lede {
    order: 4;
  }

  .hero__grid > .hero__actions {
    order: 5;
  }

  .hero__grid > .hero__stats {
    order: 6;
  }

  .hero__title {
    margin-bottom: var(--space-sm);
    margin-top: 0;
    font-size: clamp(1.85rem, 8.5vw, 2.35rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 0;
    margin-top: 0;
  }

  .hero__social.social-links {
    justify-content: center;
    margin-bottom: var(--space-lg);
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.15rem;
  }

  .hero__lede {
    margin-bottom: var(--space-sm);
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.5;
    max-width: none;
  }

  .hero__lede-text--desktop {
    display: none;
  }

  .hero__lede-text--mobile {
    display: block;
  }

  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xs);
    padding-top: var(--space-sm);
    margin-top: 0;
    border-top: 1px solid var(--border);
  }

  .hero__stats dt {
    font-size: 0.625rem;
    letter-spacing: 0.08em;
  }

  .hero__stats dd {
    margin-top: 0.25rem;
    font-size: 1.05rem;
  }
}

@media (min-width: 961px) {
  .hero__lede-text--mobile {
    display: none;
  }

  .hero__lede-text--desktop {
    display: block;
  }
}

/* Hero visual card */
.hero-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, #ffffff 0%, #faf8f4 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-card__chrome {
  display: flex;
  gap: 6px;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #ebe8e0;
}

.hero-card__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3f3f46;
}

.hero-card__chrome span:first-child {
  background: #ef4444;
}

.hero-card__chrome span:nth-child(2) {
  background: #eab308;
}

.hero-card__chrome span:nth-child(3) {
  background: #22c55e;
}

.hero-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.hero-card__label {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.hero-card__preview {
  margin: 0 0 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  background: #e8e4dc;
}

.hero-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-card__caption {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .hero .hero-card__chrome {
    padding: 0.65rem 0.85rem;
  }

  .hero .hero-card__body {
    padding: 1rem 1rem 1.1rem;
  }

  .hero .hero-card__label {
    margin-bottom: 0.65rem;
  }

  .hero .hero-card__preview {
    margin-bottom: 0.65rem;
  }
}

/* Strip */
.strip {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.45);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}

.strip__viewport {
  width: 100%;
  min-width: 0;
  overflow: visible;
}

.strip__track {
  display: flex;
  justify-content: center;
  width: 100%;
}

.strip__inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-md) var(--space-xl);
  padding: var(--space-md) max(1.5rem, 3vw);
  width: max-content;
  max-width: none;
  margin-inline: auto;
  box-sizing: border-box;
}

.strip__item--loop {
  display: none;
}

.strip__item {
  margin: 0;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

@keyframes strip-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .strip {
    overflow-x: hidden;
  }

  .strip__viewport {
    overflow: hidden;
    padding-inline: max(1rem, 3vw);
  }

  .strip__track {
    justify-content: flex-start;
  }

  .strip__item--loop {
    display: block;
  }

  /* Horizontal padding lives on viewport so translateX(-50%) loops cleanly */
  .strip__inner {
    justify-content: flex-start;
    padding-block: var(--space-md);
    padding-inline: 0;
    margin-inline: 0;
    flex-shrink: 0;
    animation: strip-marquee 55s linear infinite;
    will-change: transform;
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .strip__inner {
    animation: none;
    will-change: auto;
    padding-left: max(1.5rem, 3vw);
    padding-right: max(1.5rem, 3vw);
  }

  .strip__viewport {
    padding-inline: 0;
  }

  .strip {
    overflow-x: auto;
  }
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 45%);
}

.section--tint {
  background: linear-gradient(145deg, rgba(255, 106, 81, 0.09), transparent 58%);
}

.section__head {
  max-width: 640px;
  margin-bottom: var(--space-xl);
}

.section__title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.section__intro {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Work grid */
.work-grid {
  --gap: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

.work-card--wide {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .work-card--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

.work-card article {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out), transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.work-card:hover article {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(53, 55, 58, 0.12);
}

.work-card__media {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}

.work-card__media--photo {
  aspect-ratio: 21 / 9;
  position: relative;
  overflow: hidden;
  background: #e8e4dc;
}

.work-card:not(.work-card--wide) .work-card__media--photo {
  aspect-ratio: 16 / 10;
}

.work-card__media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.work-card__body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-card__meta {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.work-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.work-card__desc {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  flex: 1;
}

.work-card__link {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.work-card__link:hover {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.work-card__tag {
  align-self: flex-start;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .services {
    grid-template-columns: 1fr;
  }
}

.service {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.service:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.service__index {
  display: block;
  margin-bottom: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.service__title {
  margin: 0 0 var(--space-sm);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.service__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 900px) {
  .process {
    grid-template-columns: 1fr;
  }
}

.process__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
}

.process-step > div:last-child {
  min-width: 0;
}

.process-step:first-child {
  padding-top: 0;
}

.process-step__num {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.process-step__title {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.process-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Testimonials */
.testimonials {
  padding: var(--space-2xl) 0;
}

.testimonials__header {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.testimonials__intro {
  margin: var(--space-sm) 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.testimonials__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  width: 100%;
}

.testimonial__card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.testimonial__stars {
  margin-bottom: var(--space-md);
  font-size: 1rem;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--accent);
}

.testimonial__blockquote {
  margin: 0;
  flex: 1;
}

.testimonial__blockquote p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
}

.testimonial__byline {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.testimonial__name {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial__company {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (min-width: 720px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* CTA */
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(155deg, var(--bg-card) 0%, var(--bg-raised) 100%);
  box-shadow: var(--shadow-lg);
  min-width: 0;
}

@media (max-width: 768px) {
  .cta__inner {
    grid-template-columns: 1fr;
    padding: var(--space-lg);
  }
}

.cta__title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta__lede {
  margin: 0;
  color: var(--text-muted);
}

.cta__quick {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.cta__quick-block {
  min-width: 0;
}

@media (min-width: 480px) {
  .cta__quick {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  }
}

.cta__social.social-links {
  margin: var(--space-md) 0 0;
  justify-content: flex-start;
}

.cta__quick-block .cta__email-label,
.cta__quick-block .cta__phone-label {
  margin: 0 0 0.35rem;
}

.cta__quick-block .cta__phone-label {
  margin-top: 0;
}

.cta__panel {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #f2efe8;
}

.cta__email-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.cta__email {
  display: inline-block;
  margin-bottom: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .cta__email {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.cta__email:hover {
  text-decoration: underline;
}

.cta__phone-label {
  margin: var(--space-md) 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.cta__phone {
  display: inline-block;
  margin-bottom: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.cta__phone:hover {
  text-decoration: underline;
}

/* Sign-up / contact form */
.signup-form__intro {
  margin: 0 0 var(--space-md);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.signup-form {
  margin: 0;
}

.signup-form__row {
  margin-bottom: var(--space-md);
}

.signup-form__row--split {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .signup-form__row--split {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  margin-bottom: var(--space-md);
}

.signup-form__row--split .form-field {
  margin-bottom: 0;
}

@media (max-width: 599px) {
  .signup-form__row--split .form-field:first-child {
    margin-bottom: var(--space-md);
  }
}

.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

.form-required {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: var(--text-subtle);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-subtle);
  opacity: 1;
}

.form-textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-select-wrap {
  position: relative;
}

.form-select {
  appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2353573a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 16px;
}

.signup-form__actions {
  margin-top: var(--space-md);
}

.signup-form__submit {
  width: 100%;
}

.signup-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.signup-form__submit:disabled:hover {
  transform: none;
  box-shadow: none;
}

.signup-form__status {
  margin: var(--space-sm) 0 0;
  min-height: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.signup-form__status.is-success {
  color: #2d6a4f;
  font-weight: 500;
}

.signup-form__status.is-error {
  color: #c1121f;
  font-weight: 500;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  text-align: center;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
}

.site-footer__tagline {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.social-links {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.social-links__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  color: var(--accent);
  background: var(--bg-raised);
  border: 1px solid rgba(255, 106, 81, 0.28);
  box-shadow: 0 1px 0 rgba(255, 106, 81, 0.06);
  text-decoration: none;
  transition:
    color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    background-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.social-links__link:hover {
  color: var(--accent-hover);
  border-color: rgba(255, 106, 81, 0.55);
  background: var(--accent-soft);
  box-shadow: 0 4px 14px var(--accent-glow);
  text-decoration: none;
}

.social-links__icon {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
}

.site-footer__nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.site-footer__sep {
  color: var(--text-subtle);
  user-select: none;
}

.site-footer__legal {
  margin: 0 auto 0.5rem;
  max-width: 36rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-subtle);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-subtle);
}

/* Legal pages (Privacy & Cookie Policy) */
.legal-page {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) 0 var(--space-2xl);
}

.legal__header {
  margin-bottom: var(--space-lg);
  max-width: 48rem;
}

.legal__title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.legal__meta,
.legal__updated {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.legal__article {
  max-width: 48rem;
}

.legal__article h2 {
  margin: var(--space-lg) 0 var(--space-sm);
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.legal__article h2:first-of-type {
  margin-top: 0;
}

.legal__article h3 {
  margin: var(--space-md) 0 var(--space-xs);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}

.legal__article p {
  margin: 0 0 var(--space-sm);
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.legal__article ul {
  margin: 0 0 var(--space-sm);
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.legal__article li {
  margin-bottom: 0.35rem;
}

.legal__article a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal__article a:hover {
  color: var(--accent-deep);
}

.legal__rule {
  margin: var(--space-lg) 0;
  border: none;
  border-top: 1px solid var(--border);
}

.legal__table-wrap {
  margin: var(--space-md) 0 var(--space-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-raised);
}

.legal__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.legal__table th,
.legal__table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.legal__table th {
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.5);
}

.legal__table td {
  color: var(--text-muted);
}

.legal__table tr:last-child td {
  border-bottom: none;
}

.legal__link-list {
  word-break: break-word;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Cookie consent */
body.cookie-consent-open {
  overflow: hidden;
}

.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: var(--space-sm);
  padding-bottom: max(var(--space-sm), env(safe-area-inset-bottom));
}

.cookie-consent__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(53, 55, 58, 0.18);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.cookie-consent__sheet {
  position: relative;
  width: 100%;
  max-width: 520px;
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.35s var(--ease-out);
}

.cookie-consent--visible {
  pointer-events: auto;
}

.cookie-consent--visible .cookie-consent__backdrop {
  opacity: 1;
}

.cookie-consent--visible .cookie-consent__sheet {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent--leaving .cookie-consent__backdrop {
  opacity: 0;
}

.cookie-consent--leaving .cookie-consent__sheet {
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
}

.cookie-consent__panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-raised);
  box-shadow: 0 -8px 48px rgba(53, 55, 58, 0.14), var(--shadow-lg);
  padding: var(--space-lg);
  text-align: left;
}

.cookie-consent__title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.cookie-consent__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.cookie-consent__link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-consent__link:hover {
  color: var(--accent-deep);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  justify-content: flex-end;
}

.cookie-consent__btn {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}

.cookie-consent__btn:active {
  transform: scale(0.98);
}

.cookie-consent__btn--decline {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.65);
}

.cookie-consent__btn--decline:hover {
  border-color: var(--text-muted);
  background: #ffffff;
}

.cookie-consent__btn--accept {
  background: linear-gradient(145deg, var(--accent), var(--accent-hover));
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(255, 106, 81, 0.28);
}

.cookie-consent__btn--accept:hover {
  box-shadow: 0 10px 28px rgba(255, 106, 81, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent__backdrop,
  .cookie-consent__sheet {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 480px) {
  .cookie-consent__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .cookie-consent__btn {
    width: 100%;
    justify-content: center;
  }
}
