@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/inter-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Cardo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cardo-400.woff2") format("woff2");
}

@font-face {
  font-family: "Cardo";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cardo-italic-400.woff2") format("woff2");
}

@font-face {
  font-family: "Cardo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/cardo-700.woff2") format("woff2");
}

:root {
  --bg: #f9f9f9;
  --surface: #ffffff;
  --surface-alt: #f2f2f2;
  --text: #111111;
  --muted: #636363;
  --border: rgba(17, 17, 17, 0.1);
  --border-strong: rgba(17, 17, 17, 0.18);
  --shadow: 0 24px 60px rgba(17, 17, 17, 0.08);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --content: 70rem;
  --content-wide: 78rem;
  --section-space: clamp(3.5rem, 7vw, 5.5rem);
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --copy: 41rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: none;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

button:hover,
.button:hover {
  transform: translateY(-1px);
  background: #2a2a2a;
  border-color: #2a2a2a;
}

main,
header,
footer,
section {
  width: 100%;
}

.shell {
  width: min(100%, var(--content-wide));
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.shell.narrow {
  width: min(100%, var(--content));
}

.topbar {
  padding-block: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand img {
  width: 3.75rem;
  height: auto;
}

.brand-title {
  margin: 0;
  font-size: clamp(0.94rem, 1vw, 1.08rem);
  font-weight: 600;
}

.hero {
  padding-top: 1rem;
  padding-bottom: var(--section-space);
}

.hero-copy {
  width: min(100%, 36rem);
  margin: 0 auto;
  text-align: center;
}

.hero h1,
.section-title,
.article-title,
.case-title {
  margin: 0;
  font-family: "Cardo", serif;
  font-weight: 400;
  line-height: 1.12;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.hero p {
  margin: 1.5rem auto 0;
  max-width: 33rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.hero-actions {
  margin-top: 1.8rem;
}

.hero-media {
  margin-top: 2.4rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero-media img,
.image-frame img,
.case-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section {
  padding-block: var(--section-space);
}

.section-alt {
  background: var(--surface-alt);
}

.section-dark {
  background: var(--text);
  color: var(--bg);
}

.section-header {
  width: min(100%, 44rem);
  margin: 0 auto 2.6rem;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.section-header p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.section-dark .section-header p,
.section-dark .meta,
.section-dark .testimonial-role,
.section-dark .footer-tagline {
  color: rgba(249, 249, 249, 0.78);
}

.asterisk-title {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  justify-content: center;
}

.asterisk-title::before {
  content: "✶";
  font-size: 0.9em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card,
.case-list article,
.article-shell,
.contact-card,
.testimonial-card,
.service-panel,
.synergy-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 1.6rem 1.35rem;
  text-align: center;
}

.feature-card h3,
.service-copy h3 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.35;
}

.feature-card p,
.service-copy p,
.case-list p,
.article-body p,
.article-body li,
.contact-card p,
.footer-tagline,
.synergy-copy p {
  color: var(--muted);
}

.feature-card p {
  margin: 0.9rem 0 0;
}

.service-stack {
  display: grid;
  gap: 1.75rem;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
}

.service-panel.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.service-panel.reverse .service-copy {
  order: 2;
}

.service-panel.reverse .image-frame {
  order: 1;
}

.service-copy {
  padding: clamp(1.6rem, 4vw, 2.6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-copy ul {
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.service-copy li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--text);
}

.service-copy li + li {
  margin-top: 0.55rem;
}

.service-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.image-frame {
  min-height: 100%;
}

.image-frame img {
  min-height: 100%;
}

.synergy-card {
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.synergy-card hr {
  border: 0;
  border-top: 1px solid var(--border-strong);
  margin: 0;
}

.synergy-lead {
  margin: 0;
  padding: 1.5rem 0;
  text-align: center;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
}

.synergy-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.synergy-copy {
  max-width: 54rem;
  margin: 0 auto;
  text-align: center;
}

.case-list {
  display: grid;
  gap: 1rem;
}

.case-list article {
  padding: 1.5rem;
}

.case-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.case-list h3 {
  margin: 0;
}

.case-list p {
  margin: 0.95rem 0 0;
}

.meta {
  font-size: 0.92rem;
  color: var(--muted);
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.case-link::after {
  content: "→";
}

.testimonials {
  display: grid;
  gap: 1rem;
}

.testimonial-card {
  padding: 1.7rem;
  background: rgba(249, 249, 249, 0.05);
  border-color: rgba(249, 249, 249, 0.12);
  box-shadow: none;
}

.testimonial-card blockquote {
  margin: 0;
  font-family: "Cardo", serif;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.45;
}

.testimonial-card footer {
  margin-top: 1.15rem;
}

.testimonial-card strong {
  display: block;
  font-size: 1rem;
}

.testimonial-role {
  margin-top: 0.2rem;
  font-size: 0.92rem;
}

.contact-card {
  width: min(100%, 64rem);
  margin: 0 auto;
  padding: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
}

.contact-card p {
  width: min(100%, 34rem);
  margin: 1rem auto 0;
}

.site-footer {
  padding-block: 2.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: start;
}

.footer-brand p {
  margin: 0.55rem 0 0;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-links a {
  font-weight: 700;
  text-decoration: none;
}

.article-page {
  padding-top: 1.2rem;
  padding-bottom: var(--section-space);
}

.article-shell {
  padding: clamp(1.6rem, 4vw, 2.4rem);
}

.article-title {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.article-meta span + span::before {
  content: "—";
  margin-right: 0.6rem;
}

.article-body {
  width: min(100%, var(--copy));
  margin-top: 2rem;
}

.article-body h2 {
  margin: 2rem 0 0.75rem;
  font-family: "Inter", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.article-body p,
.article-body ul {
  margin: 0.9rem 0 0;
}

.article-body ul {
  padding-left: 1.2rem;
}

.case-image {
  margin-top: 1.3rem;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-nav a {
  max-width: 24rem;
  font-weight: 600;
  text-decoration: none;
}

.article-nav span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.legacy-redirect {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 900px) {
  .feature-grid,
  .footer-grid,
  .service-panel,
  .service-panel.reverse {
    grid-template-columns: 1fr;
  }

  .service-panel.reverse .service-copy,
  .service-panel.reverse .image-frame {
    order: initial;
  }

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

  .article-nav {
    flex-direction: column;
  }
}

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

  .brand {
    align-items: flex-start;
  }

  .brand img {
    width: 3.15rem;
  }

  .section,
  .hero,
  .site-footer,
  .article-page {
    padding-block: 3.5rem;
  }

  .article-meta span + span::before {
    content: "";
    margin-right: 0;
  }
}

