@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Libre Baskerville';
  src: url('../fonts/libre-baskerville-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Libre Baskerville';
  src: url('../fonts/libre-baskerville-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-header-bg: #f8f8f8;
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-overlay: rgba(0, 0, 0, 0.52);
  --color-btn-bg: rgba(30, 30, 30, 0.75);
  --color-btn-hover: rgba(50, 50, 50, 0.9);
  --color-border: rgba(255, 255, 255, 0.35);
  --color-seo-bg: #f3f3f1;
  --color-seo-accent: #1f4b6e;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-editorial: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --header-height: 72px;
  --container-padding: clamp(1.5rem, 4vw, 4rem);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition), color var(--transition);
}

a:hover {
  opacity: 0.75;
}

ul {
  list-style: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--color-header-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  padding: 0 var(--container-padding);
  max-width: 1600px;
  margin: 0 auto;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-black);
  justify-self: start;
}

.header-logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
}

.header-logo:hover {
  opacity: 1;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  justify-self: center;
}

.menu-line {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-black);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle:hover .menu-line:first-child {
  transform: translateY(2px);
}

.menu-toggle:hover .menu-line:last-child {
  transform: translateY(-2px);
}

.header-cta {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--color-black);
  justify-self: end;
  text-transform: uppercase;
}

.header-cta:hover {
  opacity: 0.6;
}

.fullscreen-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  visibility: hidden;
}

.fullscreen-nav.active {
  pointer-events: auto;
  visibility: visible;
}

.nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition);
}

.fullscreen-nav.active .nav-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 90vw);
  height: 100%;
  background: var(--color-white);
  padding: 6rem 3rem 3rem;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.fullscreen-nav.active .nav-panel {
  transform: translateX(0);
}

.nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.nav-close span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-black);
  position: absolute;
}

.nav-close span:first-child {
  transform: rotate(45deg);
}

.nav-close span:last-child {
  transform: rotate(-45deg);
}

.nav-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-link {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-black);
  display: block;
  transform: translateX(20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.fullscreen-nav.active .nav-link {
  transform: translateX(0);
  opacity: 1;
}

.nav-list li:nth-child(1) .nav-link { transition-delay: 0.1s; }
.nav-list li:nth-child(2) .nav-link { transition-delay: 0.15s; }
.nav-list li:nth-child(3) .nav-link { transition-delay: 0.2s; }
.nav-list li:nth-child(4) .nav-link { transition-delay: 0.25s; }

.nav-link:hover {
  opacity: 0.5;
}

.nav-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--header-height) + 2rem) var(--container-padding) 4rem;
  max-width: 1600px;
  margin: 0 auto;
}

.hero-indicator {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.hero-indicator .plus {
  margin-right: 0.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.hero-line {
  display: block;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 0.5rem;
}

.hero-subtext {
  font-size: clamp(0.9rem, 1.5vw, 1.125rem);
  color: var(--color-white);
  line-height: 1.7;
  max-width: 320px;
}

.arrow-icon {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

.hero-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--color-btn-bg);
  color: var(--color-white);
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.hero-btn:hover {
  background: var(--color-btn-hover);
  transform: translateY(-2px);
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.6);
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.seo-section {
  position: relative;
  background: var(--color-seo-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.seo-shell {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(92vh, 920px);
}

.seo-col {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 4vw, 4.5rem);
}

.seo-col--copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  min-height: 100%;
}

.seo-lead {
  font-family: var(--font-editorial);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  line-height: 1.55;
  color: #171717;
  max-width: 28ch;
  font-weight: 400;
}

.seo-mark {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 1;
  color: #111;
  margin-top: 3rem;
  align-self: flex-end;
  transform-origin: center;
  animation: seoMarkPulse 6s ease-in-out infinite;
}

.seo-rail {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

.seo-headline {
  font-family: var(--font-editorial);
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #121212;
  max-width: 11ch;
  margin-bottom: 1.5rem;
}

.seo-sub {
  max-width: 38ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.seo-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #121212;
  margin-bottom: 3rem;
}

.seo-cta:hover {
  opacity: 1;
}

.seo-cta-arrow {
  display: inline-block;
  width: 3.5rem;
  border-bottom: 1px solid #121212;
  line-height: 0;
  font-size: 1.1rem;
  text-align: right;
  transition: width var(--transition), transform var(--transition);
}

.seo-cta:hover .seo-cta-arrow {
  width: 4.5rem;
  transform: translateX(4px);
}

.seo-stack {
  position: relative;
  height: clamp(280px, 36vw, 420px);
  margin-top: 1rem;
}

.seo-panel {
  position: absolute;
  width: min(72%, 420px);
  margin: 0;
  background: var(--color-white);
  padding: 0.55rem 0.55rem 0.7rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.seo-panel figcaption {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  margin-bottom: 0.45rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.seo-panel a {
  display: block;
}

.seo-panel a:hover {
  opacity: 1;
}

.seo-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.seo-panel--1 {
  left: 0;
  top: 8%;
  z-index: 1;
  transform: rotate(-3deg);
  animation: seoFloatA 7s ease-in-out infinite;
}

.seo-panel--2 {
  left: 18%;
  top: 28%;
  z-index: 2;
  transform: rotate(2deg);
  animation: seoFloatB 8s ease-in-out infinite;
}

.seo-panel--3 {
  left: 36%;
  top: 48%;
  z-index: 3;
  transform: rotate(-1.5deg);
  animation: seoFloatC 6.5s ease-in-out infinite;
}

.seo-panel:hover {
  z-index: 5;
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  animation: none;
}

.seo-entry {
  position: absolute;
  right: 0;
  top: 42%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: var(--color-seo-accent);
  color: var(--color-white);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.85rem 0.45rem;
  font-weight: 500;
}

@keyframes seoMarkPulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.04); }
}

@keyframes drawFlow {
  to { stroke-dashoffset: 0; }
}

@keyframes popDot {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes seoFloatA {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-8px); }
}

@keyframes seoFloatB {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-10px); }
}

@keyframes seoFloatC {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(-0.5deg) translateY(-7px); }
}

.cap-section {
  position: relative;
  background: #1a1a1a;
  color: #f2f2f0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.cap-shell {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--container-padding) clamp(3rem, 7vw, 5.5rem);
}

.cap-item {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.cap-item:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.cap-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: clamp(1.4rem, 3vw, 2.1rem) 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: inherit;
  transition: opacity var(--transition);
}

.cap-trigger:hover {
  opacity: 0.88;
}

.cap-title {
  font-family: var(--font-editorial);
  font-size: clamp(1.65rem, 3.6vw, 3.1rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #f4f4f2;
}

.cap-desc {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: rgba(242, 242, 240, 0.62);
  text-align: right;
  justify-self: end;
  max-width: 28ch;
  line-height: 1.45;
}

.cap-panel {
  overflow: hidden;
  padding: 0 0 1.75rem;
  animation: capPanelIn 0.45s ease;
}

.cap-panel[hidden] {
  display: none;
}

.cap-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.cap-gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 0;
  transform: translateY(14px);
  animation: capImgIn 0.5s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.06s);
}

.cap-entry {
  position: absolute;
  right: 0;
  top: 38%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: var(--color-seo-accent);
  color: var(--color-white);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.85rem 0.45rem;
  font-weight: 500;
}

@keyframes capPanelIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes capImgIn {
  to { opacity: 1; transform: translateY(0); }
}

.blog-section {
  padding: 6rem var(--container-padding);
  max-width: 1400px;
  margin: 0 auto;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 2.75rem;
}

.category-nav a {
  display: inline-block;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  color: #111;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1.3;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.category-nav a:hover,
.category-nav a:focus-visible,
.category-nav a.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
  opacity: 1;
}

.category-section {
  margin-bottom: 4.5rem;
  padding-top: 0.5rem;
  scroll-margin-top: 5rem;
}

.category-section .section-header {
  margin-bottom: 2rem;
}

.category-broad-tag {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f4b6e;
  border: 1px solid rgba(31, 75, 110, 0.35);
  padding: 0.15rem 0.45rem;
  vertical-align: middle;
}

.services-section {
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.services-shell {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem var(--container-padding) 4.5rem;
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 4rem;
}

.services-label {
  padding-top: 2rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #222;
  text-transform: uppercase;
  white-space: nowrap;
}

.services-main {
  padding-top: 2.25rem;
}

.services-intro {
  max-width: 860px;
  margin-bottom: 4.5rem;
}

.services-intro h2 {
  font-size: clamp(2rem, 4.9vw, 4.1rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #1b1b1b;
}

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

.services-card {
  position: relative;
  min-height: 250px;
  padding-top: 2.5rem;
}

.services-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 28px;
  background: #f1f1f1;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.services-card-plus {
  position: absolute;
  top: 2px;
  left: 14px;
  z-index: 1;
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1;
  color: #444;
}

.services-card h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #1f1f1f;
  max-width: 240px;
}

.services-card p {
  max-width: 280px;
  font-size: 1rem;
  line-height: 1.55;
  color: #2f2f2f;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 640px;
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.blog-section--showcase {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-featured {
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
}

.blog-featured-link {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.blog-featured-link:hover {
  opacity: 1;
}

.blog-featured-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-featured-link:hover .blog-featured-image img {
  transform: scale(1.04);
}

.blog-featured-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.blog-featured-body time {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.blog-featured-body h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.blog-featured-body p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 420px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

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

.blog-section-cta {
  margin-top: 3.5rem;
  text-align: center;
}

.blog-cta-btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-black);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.blog-cta-btn:hover {
  background: var(--color-black);
  border-color: var(--color-black);
  color: var(--color-white);
  transform: translateY(-2px);
  opacity: 1;
}

.blog-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
}

.blog-card-link {
  display: block;
  height: 100%;
}

.blog-card-link:hover {
  opacity: 1;
}

.blog-card-image {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin-bottom: 1.25rem;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card-link:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-cat {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f4b6e;
  margin-bottom: 0.35rem;
}

.blog-card-body time {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.blog-card-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.35;
}

.blog-card-body p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.read-more {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-black);
}

.page-content {
  padding: calc(var(--header-height) + 4rem) var(--container-padding) 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.page-content.wide {
  max-width: 1200px;
}

.page-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}

.page-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.page-content p {
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.page-content ul,
.page-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.page-content ol li {
  list-style: decimal;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 2.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 4rem 0;
}

.about-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.value-card {
  padding: 2rem;
  background: #f5f5f5;
}

.value-card h3 {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info p {
  margin-bottom: 0.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.875rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-black);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  align-self: flex-start;
  padding: 1rem 2.5rem;
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-submit:hover {
  background: #333;
  transform: translateY(-2px);
}

.form-success {
  display: none;
  padding: 1rem;
  background: #e8f5e9;
  color: #2e7d32;
  margin-top: 1rem;
}

.form-success.visible {
  display: block;
}

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

.site-footer {
  position: relative;
  background: #fff;
  color: var(--color-text);
  margin-top: 0;
  overflow: visible;
}

.footer-top {
  background: #ececec;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-top-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.footer-intro {
  max-width: 34ch;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: #222;
}

.footer-talk-title {
  font-family: var(--font-editorial);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #111;
}

.footer-form {
  border-top: 1px solid #111;
}

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

.footer-form-row--email {
  grid-template-columns: 1fr auto;
}

.footer-field {
  display: block;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
}

.footer-field input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1.05rem 1rem;
  font-family: var(--font-main);
  font-size: 0.9375rem;
  color: #111;
  outline: none;
}

.footer-field input::placeholder {
  color: #777;
}

.footer-submit {
  width: 56px;
  border: 0;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  background: #111;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--transition);
}

.footer-submit:hover {
  background: #1f4b6e;
}

.footer-form-ok {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: #1f4b6e;
}

.footer-stage {
  position: relative;
  background: #fff;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3.5rem) var(--container-padding);
  overflow: visible;
}

.footer-stage-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 320px);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
  min-height: 520px;
  padding-right: clamp(2.5rem, 5vw, 4rem);
}

.footer-visual {
  position: relative;
  min-height: 320px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}

.footer-disclaimer {
  max-width: 40rem;
  padding-right: 0.5rem;
}

.footer-disclaimer p {
  margin: 0 0 0.7rem;
  font-size: clamp(0.6875rem, 1.05vw, 0.78125rem);
  line-height: 1.55;
  color: #4a4a4a;
  letter-spacing: 0.005em;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-disclaimer-alert {
  color: #1a1a1a;
}

.footer-disclaimer-alert strong {
  color: var(--color-seo-accent);
  font-weight: 700;
}

.footer-visual-graphic {
  position: relative;
  align-self: end;
  justify-self: end;
  width: 100%;
  padding-bottom: 0.35rem;
}

.footer-mark {
  position: absolute;
  right: -0.15rem;
  bottom: -0.35rem;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1;
  color: #000;
  animation: seoMarkPulse 7s ease-in-out infinite;
  z-index: 1;
}

.footer-illustration {
  width: 100%;
  opacity: 0.95;
}

.footer-svg {
  width: 100%;
  height: auto;
  display: block;
}

.fs-box {
  fill: none;
  stroke: #1f4b6e;
  stroke-width: 2.5;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: drawFlow 2.4s ease forwards;
}

.fs-box--b {
  stroke: #111;
  animation-delay: 0.25s;
}

.fs-path {
  stroke: #111;
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawFlow 1.8s ease 0.4s forwards;
}

.fs-dot {
  fill: #1f4b6e;
  opacity: 0;
  animation: popDot 0.45s ease forwards;
}

.fs-dot:nth-child(4) { animation-delay: 0.7s; }
.fs-dot:nth-child(5) { animation-delay: 0.95s; }
.fs-dot:nth-child(6) { animation-delay: 1.2s; }

.fs-truck {
  fill: #111;
  opacity: 0;
  animation: popDot 0.5s ease 0.55s forwards;
}

.footer-entry {
  position: absolute;
  right: 0;
  top: 34%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: var(--color-seo-accent);
  color: #fff;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.85rem 0.45rem;
  font-weight: 500;
}

.footer-panel {
  position: relative;
  width: 100%;
  background: #000;
  color: #fff;
  padding: 1.85rem 1.65rem 1.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.footer-panel-nav {
  flex: 1;
}

.footer-panel a {
  color: #fff;
  text-decoration: none;
}

.footer-panel a:hover {
  opacity: 0.75;
}

.footer-panel-main {
  list-style: none;
  margin: 0;
  padding: 0 0 1.15rem;
}

.footer-panel-main li {
  margin: 0 0 0.85rem;
}

.footer-panel-main a {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
}

.footer-contact {
  margin: 0 0 1.15rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-contact-title {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.footer-contact p {
  margin: 0 0 0.45rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-panel-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-panel-legal li {
  margin: 0;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-panel-legal li:last-child {
  border-bottom: 0;
}

.footer-panel-legal a {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.footer-copy {
  margin-top: 1.15rem;
  margin-bottom: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  background: var(--color-white);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-inner p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  flex: 1;
}

.cookie-inner a {
  color: var(--color-black);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie {
  padding: 0.625rem 1.25rem;
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn-accept {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.btn-accept:hover {
  background: #333;
}

.btn-reject,
.btn-settings {
  background: transparent;
  color: var(--color-text);
}

.btn-reject:hover,
.btn-settings:hover {
  background: #f0f0f0;
}

.hero-page {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-page .hero-content {
  padding-bottom: 3rem;
}

.hero-page .hero-headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .seo-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .seo-col--copy {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    min-height: auto;
    gap: 2.5rem;
  }

  .seo-rail {
    right: auto;
    left: 1.25rem;
    top: auto;
    bottom: 1.25rem;
    transform: none;
    writing-mode: horizontal-tb;
  }

  .seo-entry {
    top: auto;
    bottom: 1.5rem;
    writing-mode: horizontal-tb;
    transform: none;
    padding: 0.45rem 0.85rem;
  }

  .seo-stack {
    height: 340px;
  }

  .services-shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-main,
  .services-label {
    padding-top: 0;
  }

  .services-cards {
    gap: 2.5rem;
  }

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

  .blog-featured-link {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-top-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-intro {
    max-width: none;
  }

  .about-values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cap-trigger {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 1.35rem 0;
  }

  .cap-desc {
    text-align: left;
    justify-self: start;
  }

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

  .cap-gallery img:nth-child(n + 5) {
    display: none;
  }

  .cap-entry {
    display: none;
  }

  .seo-panel {
    width: min(78%, 320px);
  }

  .seo-panel--2 {
    left: 14%;
  }

  .seo-panel--3 {
    left: 28%;
  }

  .seo-headline {
    max-width: none;
  }

  .services-section {
    padding-top: 0;
  }

  .services-intro {
    margin-bottom: 2.5rem;
  }

  .services-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-card {
    min-height: auto;
  }

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

  .header-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-aside {
    padding-bottom: 0;
  }

  .blog-grid,
  .blog-section--showcase .blog-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-stage {
    padding-right: var(--container-padding);
  }

  .footer-stage-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-right: 0;
  }

  .footer-visual {
    min-height: 0;
    order: 2;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-visual-graphic {
    justify-self: center;
    max-width: 220px;
  }

  .footer-panel {
    order: 1;
  }

  .footer-entry {
    display: none;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.25rem;
  }

  .nav-panel {
    width: 100%;
    padding: 5rem 2rem 2rem;
  }
}
