:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #fff4ec;
  --ink: #6f432d;
  --muted: #5e514a;
  --soft: #ffffff;
  --line: rgba(255, 178, 127, 0.5);
  --line-strong: rgba(255, 178, 127, 0.92);
  --accent: #ffb27f;
  --accent-dark: #dc9869;
  --accent-ink: #6f432d;
  --accent-ink-strong: #2a1b13;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 42% 86% at -4% 48%, transparent 57%, rgba(255, 178, 127, 0.34) 60%, rgba(255, 178, 127, 0.15) 64%, transparent 70%),
    radial-gradient(ellipse 34% 94% at 70% 38%, transparent 58%, rgba(255, 178, 127, 0.27) 61%, rgba(255, 178, 127, 0.12) 65%, transparent 72%),
    radial-gradient(ellipse 20% 98% at 94% 44%, transparent 57%, rgba(255, 178, 127, 0.3) 60%, rgba(255, 178, 127, 0.13) 64%, transparent 71%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.96)),
    var(--bg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 100vw 100vh;
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

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

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 100px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.nav-wrap {
  align-items: center;
  display: flex;
  gap: 18px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 650;
  gap: 12px;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background: rgba(255, 178, 127, 0.1);
  border: 1px solid rgba(111, 67, 45, 0.34);
  border-radius: 50%;
  display: grid;
  height: 52px;
  justify-content: center;
  place-items: center;
  position: relative;
  width: 52px;
}

.brand-disc {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.96) 0 43%, transparent 44%),
    repeating-conic-gradient(
      from -8deg,
      rgba(111, 67, 45, 0.95) 0deg 5deg,
      rgba(255, 178, 127, 0.55) 5deg 10deg,
      transparent 10deg 18deg
    ),
    radial-gradient(circle at center, rgba(255, 178, 127, 0.3), rgba(255, 178, 127, 0.1));
  border: 1px solid var(--accent-ink);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 7px rgba(255, 178, 127, 0.18),
    inset 0 0 0 12px rgba(111, 67, 45, 0.08);
  display: block;
  position: relative;
  width: 38px;
}

.brand-disc::before {
  border: 1px solid rgba(111, 67, 45, 0.42);
  border-radius: 50%;
  content: "";
  inset: 9px;
  position: absolute;
}

.brand-disc::after {
  background: var(--accent-ink);
  border-radius: 50%;
  box-shadow:
    0 -14px 0 -3px var(--accent-ink),
    10px 10px 0 -3px var(--accent-ink),
    -10px 10px 0 -3px var(--accent-ink);
  content: "";
  height: 5px;
  left: calc(50% - 2.5px);
  opacity: 0.86;
  position: absolute;
  top: 6px;
  width: 5px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  margin-left: auto;
}

.nav-links a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.language-switch {
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  display: inline-flex;
  height: 38px;
}

.language-switch button {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--accent-ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 0 12px;
}

.language-switch button + button {
  border-left: 2px dotted var(--accent);
}

.language-switch button.is-active {
  background: var(--accent);
  color: var(--accent-ink-strong);
}

.language-switch button:first-child {
  border-radius: calc(var(--radius-md) - 1px) 0 0 calc(var(--radius-md) - 1px);
}

.language-switch button:last-child {
  border-radius: 0 calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0;
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  display: none;
  height: 42px;
  margin-left: auto;
  padding: 9px;
  width: 42px;
}

.menu-toggle span {
  background: var(--accent-ink);
  display: block;
  height: 1px;
  margin: 6px 0;
}

section {
  padding: clamp(70px, 10vw, 136px) 0;
}

#services {
  padding-bottom: clamp(34px, 5vw, 62px);
}

#domains {
  padding-top: clamp(28px, 4vw, 54px);
}

.section-dark,
.section-light,
.section-soft,
.cta-section {
  background: transparent;
  color: var(--ink);
}

.hero {
  min-height: 94svh;
  overflow: hidden;
  padding-top: 100px;
  position: relative;
}

.hero::before {
  content: "";
  display: none;
  filter: blur(0.4px);
  inset: 0;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.hero-glow {
  display: none;
}

.hero-grid {
  align-items: start;
  display: grid;
  column-gap: 64px;
  row-gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  min-height: calc(94svh - 100px);
  padding: 112px 0 56px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: contents;
}

.hero-copy .eyebrow,
.hero-copy h1 {
  grid-column: 1 / -1;
}

.hero-copy .hero-intro,
.hero-copy .hero-specialization,
.hero-copy .hero-actions {
  grid-column: 1;
}

.eyebrow,
.panel-label {
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 18px;
  text-transform: uppercase;
}

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

h1 {
  color: var(--ink);
  font-size: clamp(54px, 6vw, 104px);
  font-weight: 620;
  line-height: 1.02;
  margin-bottom: 28px;
  max-width: 1320px;
  min-height: 2em;
}

h1.is-typing {
  position: relative;
}

h1.is-typing::before {
  content: attr(data-full-text);
  display: block;
  visibility: hidden;
}

.typing-text {
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.typing-text::after {
  animation: caret-blink 0.85s steps(2, start) infinite;
  color: var(--accent-ink);
  content: "|";
  display: inline-block;
  font-weight: 520;
  margin-left: 0.08em;
  transform: translateY(-0.04em);
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .typing-text::after {
    animation: none;
    content: "";
  }
}

h1 span,
h2,
h3,
.service-number,
.panel-item span {
  color: var(--accent-ink);
}

h2 {
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 560;
  line-height: 1.08;
  margin-bottom: 0;
}

h3 {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 560;
  line-height: 1.12;
}

.hero-intro {
  color: rgba(111, 67, 45, 0.82);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.48;
  max-width: 780px;
}

.hero-specialization {
  color: var(--accent-ink);
  font-size: 18px;
  font-weight: 520;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.text-link {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 560;
  min-height: 50px;
}

.button {
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  color: var(--accent-ink-strong);
  justify-content: center;
  padding: 0 20px;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-light,
.text-link,
.dark-link {
  color: var(--accent-ink);
}

.button-light {
  background: var(--soft);
}

.hero-panel,
.service-card,
.article-card,
.cta-box {
  background: rgba(255, 178, 127, 0.14);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
}

.hero-panel {
  align-self: start;
  grid-column: 2;
  grid-row: 3 / span 3;
  padding: 24px;
  transform: translateY(12px);
}

.hero-panel .panel-label {
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.08;
  margin-bottom: 24px;
  text-transform: none;
}

.panel-item {
  border-top: 2px dotted var(--line-strong);
  display: grid;
  gap: 18px;
  grid-template-columns: 38px 1fr;
  padding: 18px 0;
}

.panel-item:last-child {
  padding-bottom: 0;
}

.panel-item h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.panel-item p {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.split-heading,
.section-heading,
.expertise-grid,
.cta-box,
.footer-grid,
.footer-bottom {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.large-copy {
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.48;
}

.large-copy.compact {
  font-size: 20px;
  margin-top: 24px;
}

.section-heading {
  align-items: end;
  margin-bottom: 54px;
}

#services .section-heading {
  margin-bottom: 36px;
}

.section-heading > p,
.section-heading.inverse > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.service-grid {
  border-top: 2px dotted var(--accent);
  display: grid;
  gap: 0;
}

.service-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 2px dotted var(--line-strong);
  display: grid;
  gap: 22px;
  grid-template-columns: 52px minmax(220px, 0.72fr) minmax(260px, 1fr);
  padding: 28px 0;
}

.service-card.featured {
  background: transparent;
  color: var(--ink);
}

.service-number {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(255, 178, 127, 0.2);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent-ink);
  display: inline-flex;
  font-size: 11px;
  font-weight: 560;
  justify-content: center;
  line-height: 1;
  position: relative;
  width: 34px;
}

.service-number::after {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  height: 7px;
  position: absolute;
  right: -3px;
  top: 3px;
  width: 7px;
}

.service-card h3,
.article-card h3 {
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: clamp(20px, 2vw, 28px);
}

.service-card p,
.article-card p {
  color: var(--muted);
  line-height: 1.48;
}

.service-card p {
  font-size: 16px;
  max-width: 680px;
}

.service-card ul {
  line-height: 1.75;
  margin: 0;
  padding-left: 18px;
}

.service-card li::marker {
  color: var(--accent-ink);
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
  line-height: 1.8;
  padding: 28px 0;
  position: relative;
}

#domains h2 {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.16;
  max-width: 760px;
}

.tag-grid::before,
.tag-grid::after {
  border-top: 2px dotted var(--line-strong);
  content: "";
  left: 0;
  position: absolute;
  width: 100%;
}

.tag-grid::before {
  top: 0;
}

.tag-grid::after {
  bottom: 0;
}

.tag-grid span {
  align-items: center;
  color: var(--accent-ink);
  display: inline-flex;
  font-family: "SFMono-Regular", "Roboto Mono", "IBM Plex Mono", monospace;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 520;
  letter-spacing: 0;
  padding: 8px 0;
  text-transform: uppercase;
}

.tag-grid span:not(:last-child)::after {
  color: var(--accent);
  content: "/";
  font-family: inherit;
  margin-left: 14px;
}

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

.article-card {
  padding: 28px;
}

.article-card p {
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 560;
  text-transform: uppercase;
}

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

.cta-box {
  align-items: center;
  background: var(--accent);
  color: var(--accent-ink-strong);
  padding: 42px;
}

.cta-box .eyebrow,
.cta-box h2,
.cta-box p {
  color: var(--accent-ink-strong);
}

.cta-box p {
  font-size: 20px;
  line-height: 1.5;
}

footer {
  border-top: 1px solid var(--accent);
  color: var(--muted);
  padding: 64px 0 28px;
}

.footer-grid {
  border-bottom: 2px dotted var(--line-strong);
  grid-template-columns: 1.3fr 0.7fr 1fr;
  padding-bottom: 54px;
}

.footer-grid p,
.footer-grid span,
.footer-grid a {
  color: var(--muted);
  display: block;
  line-height: 1.7;
}

.footer-grid .brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  margin-bottom: 18px;
}

.footer-grid .brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}

.footer-grid .brand-disc {
  display: block;
}

.footer-label {
  color: var(--accent-ink) !important;
  font-size: 12px;
  font-weight: 560;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-grid .footer-contact-button {
  align-items: center;
  background: rgba(255, 178, 127, 0.16);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--accent-ink);
  display: inline-flex;
  font-weight: 560;
  justify-content: center;
  line-height: 1;
  margin-bottom: 10px;
  min-height: 40px;
  padding: 0 18px;
}

.footer-contact {
  text-align: center;
}

.footer-contact .footer-contact-button {
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom {
  color: var(--accent-ink);
  font-size: 13px;
  grid-template-columns: 1fr 1fr;
  padding-top: 24px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    background: var(--surface-2);
    border-bottom: 1px solid var(--accent);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    margin-left: 0;
    padding: 14px 20px 24px;
    position: absolute;
    right: 0;
    top: 100px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-top: 2px dotted var(--line-strong);
    padding: 14px 0;
    width: 100%;
  }

  .hero-grid,
  .split-heading,
  .section-heading,
  .expertise-grid,
  .cta-box,
  .footer-grid,
  .footer-bottom,
  .service-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
    min-height: auto;
    padding-top: 70px;
  }

  .hero-copy {
    display: block;
  }

  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .hero-intro,
  .hero-copy .hero-specialization,
  .hero-copy .hero-actions,
  .hero-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-panel {
    transform: none;
  }

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

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

  .language-switch {
    height: 42px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
