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

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

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/inter/Inter-SemiBold.b72fa2728a8e.woff2") format("woff2");
}

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

:root {
  color-scheme: dark;
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --black: #030406;
  --white: #f7f3eb;
  --muted: rgba(247, 243, 235, 0.68);
  --faint: rgba(247, 243, 235, 0.14);
  --glass: rgba(6, 7, 10, 0.62);
  --glass-strong: rgba(6, 7, 10, 0.78);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --site-header-height: 64px;
  --announcement-height: 30px;
}

@property --announcement-height {
  syntax: "<length>";
  inherits: true;
  initial-value: 30px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: --announcement-height 520ms var(--ease);
}

body.is-announcement-dismissed {
  --announcement-height: 0px;
}

body.has-no-announcement {
  --announcement-height: 0px;
}

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

a:focus-visible {
  outline: 2px solid rgba(247, 243, 235, 0.86);
  outline-offset: -6px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(3, 4, 6, 0.82), rgba(3, 4, 6, 0.34));
  backdrop-filter: blur(18px) saturate(1.08);
}

.site-announcement {
  position: fixed;
  top: var(--site-header-height);
  right: 0;
  left: 0;
  z-index: 19;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  height: var(--announcement-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #050507;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.02em;
  animation: announcement-flash 1120ms var(--ease-soft) 1 both;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition:
    height 520ms var(--ease),
    border-color 420ms var(--ease-soft),
    opacity 320ms var(--ease-soft),
    transform 520ms var(--ease);
}

.site-announcement.is-dismissed {
  border-bottom-color: transparent;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.announcement-track {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.announcement-message {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0 18px 0 28px;
  white-space: nowrap;
  will-change: transform;
}

.announcement-message a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-announcement.is-overflowing .announcement-message {
  animation: announcement-marquee 18s linear 1400ms infinite;
}

.announcement-dismiss {
  display: grid;
  place-items: center;
  width: 34px;
  height: var(--announcement-height);
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  cursor: pointer;
  font: inherit;
}

.announcement-dismiss:hover,
.announcement-dismiss:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

@keyframes announcement-flash {
  0%,
  18% {
    background: #b20d19;
  }

  28%,
  48% {
    background: #050507;
  }

  58%,
  78% {
    background: #b20d19;
  }

  100% {
    background: #050507;
  }
}

@keyframes announcement-marquee {
  0%,
  12% {
    transform: translateX(0);
  }

  88%,
  100% {
    transform: translateX(calc(-1 * var(--announcement-scroll-distance, 0px)));
  }
}

.brand {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 640;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-transform: lowercase;
  text-shadow: 0 8px 34px rgba(255, 255, 255, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: rgba(247, 243, 235, 0.82);
  font-size: 0.95rem;
  font-weight: 520;
}

.site-nav a {
  position: relative;
  transition: color 260ms var(--ease-soft), transform 260ms var(--ease-soft);
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 260ms var(--ease-soft), transform 360ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  transform: translateY(-1px);
}

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

.pane-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 20%, rgba(50, 73, 122, 0.24), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(124, 58, 34, 0.22), transparent 30rem),
    var(--black);
}

.pane-stage {
  display: flex;
  width: 100vw;
  min-height: 100vh;
  padding-top: calc(var(--site-header-height) + var(--announcement-height));
  background: var(--black);
  transition: padding-top 520ms var(--ease);
}

.portfolio-pane {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 1 1 0;
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  background: #111;
  container-type: inline-size;
  container-name: pane;
  transition: flex 900ms var(--ease), filter 600ms var(--ease-soft);
}

.portfolio-pane:last-child {
  border-right: 0;
}

.portfolio-pane::before,
.portfolio-pane::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  transition: opacity 650ms var(--ease-soft), transform 1000ms var(--ease), filter 900ms var(--ease);
}

.portfolio-pane::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.7)),
    var(--pane-image);
  background-position: center;
  background-size: cover;
  filter: saturate(0.84) brightness(0.72);
  transform: scale(1.02);
}

.portfolio-pane::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.66)),
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.08), transparent 24rem);
  opacity: 0.92;
}

.pane-design {
  --pane-image:
    url("/static/templateone/img/airport-wireless.ed185e3df9d6.png");
}

.pane-development {
  --pane-image:
    linear-gradient(135deg, rgba(3, 15, 38, 0.92), rgba(0, 0, 0, 0.16)),
    repeating-linear-gradient(92deg, rgba(27, 176, 196, 0.06) 0 8px, transparent 8px 30px),
    repeating-linear-gradient(178deg, rgba(85, 181, 255, 0.24) 0 2px, transparent 2px 38px),
    linear-gradient(120deg, #051322, #18294a 48%, #06101d);
}

.pane-photography {
  --pane-image:
    linear-gradient(135deg, rgba(80, 50, 28, 0.64), rgba(0, 0, 0, 0.16)),
    radial-gradient(circle at 58% 20%, rgba(235, 222, 184, 0.42), transparent 9rem),
    radial-gradient(circle at 50% 62%, rgba(164, 96, 48, 0.5), transparent 15rem),
    linear-gradient(145deg, #171512, #6b563c 48%, #17110d);
}

.pane-strategy {
  --pane-image:
    linear-gradient(135deg, rgba(7, 39, 44, 0.7), rgba(0, 0, 0, 0.22)),
    radial-gradient(circle at 50% 36%, rgba(115, 207, 180, 0.34), transparent 9rem),
    linear-gradient(110deg, rgba(224, 235, 216, 0.16) 0 15%, transparent 15% 28%, rgba(96, 158, 154, 0.28) 28% 46%, transparent 46% 100%),
    linear-gradient(145deg, #0f1a1c, #36555a 50%, #0f1416);
}

.pane-link {
  position: relative;
  display: block;
  width: 100%;
  height: calc(100vh - var(--site-header-height) - var(--announcement-height));
  min-height: 620px;
  padding: clamp(28px, 4vw, 60px);
  transition: height 520ms var(--ease);
}

.pane-label {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-block;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
  transition: opacity 360ms var(--ease-soft), transform 600ms var(--ease);
  white-space: nowrap;
}

@media (min-width: 861px) {
  .pane-label {
    transform: translate(-50%, -50%);
  }

  .portfolio-pane:hover .pane-label {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(20px);
  }

  /* Size queries cannot use var(); use static thresholds for crowded panes. */
  @container pane (max-width: 9.5rem) {
    .pane-label {
      transform: translate(-50%, -50%) rotate(-90deg);
    }

    .portfolio-pane:hover .pane-label {
      transform: translate(-50%, -50%) rotate(-90deg) translateY(20px);
    }
  }

  @container pane (max-width: 11rem) {
    .portfolio-pane[data-label-ch="11"] .pane-label,
    .portfolio-pane[data-label-ch="12"] .pane-label,
    .portfolio-pane[data-label-ch="13"] .pane-label,
    .portfolio-pane[data-label-ch="14"] .pane-label,
    .portfolio-pane[data-label-ch="15"] .pane-label {
      transform: translate(-50%, -50%) rotate(-90deg);
    }

    .portfolio-pane[data-label-ch="11"]:hover .pane-label,
    .portfolio-pane[data-label-ch="12"]:hover .pane-label,
    .portfolio-pane[data-label-ch="13"]:hover .pane-label,
    .portfolio-pane[data-label-ch="14"]:hover .pane-label,
    .portfolio-pane[data-label-ch="15"]:hover .pane-label {
      transform: translate(-50%, -50%) rotate(-90deg) translateY(20px);
    }
  }
}

.pane-content {
  position: absolute;
  right: auto;
  bottom: clamp(32px, 7vw, 96px);
  left: clamp(24px, 5vw, 72px);
  display: grid;
  width: clamp(300px, 34vw, 520px);
  gap: 16px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms var(--ease-soft), transform 680ms var(--ease);
  transition-delay: 80ms;
}

.pane-kicker {
  color: rgba(247, 243, 235, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pane-title {
  max-width: 14ch;
  font-size: clamp(1.85rem, 3.55vw, 4.15rem);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}

.pane-copy {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.pane-cta {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
  backdrop-filter: blur(16px);
  transition: background 260ms var(--ease-soft), border-color 260ms var(--ease-soft), transform 260ms var(--ease-soft);
}

.portfolio-pane:hover {
  flex: 2.9 1 0;
}

.is-content-leaving .site-header {
  pointer-events: none;
}

.pane-stage:has(.portfolio-pane:hover) .portfolio-pane:not(:hover),
.portfolio-pane.is-muted {
  filter: grayscale(0.15) brightness(0.72);
}

.portfolio-pane:hover::before {
  filter: saturate(1.02) brightness(0.95);
  transform: scale(1.08);
}

.portfolio-pane:hover::after {
  opacity: 0.62;
}

.portfolio-pane:hover .pane-content {
  opacity: 1;
  transform: translateY(0);
}

.pane-link:hover .pane-cta,
.pane-link:focus-visible .pane-cta {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.preview-note {
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 10;
  max-width: 360px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(3, 4, 6, 0.54);
  color: rgba(247, 243, 235, 0.58);
  font-size: 0.72rem;
  backdrop-filter: blur(18px);
}

.preview-note p {
  margin: 0;
}

.content-page {
  position: relative;
  background:
    var(--black);
}

.content-page::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(50, 73, 122, 0.24), transparent 34rem),
    radial-gradient(circle at 88% 16%, rgba(124, 58, 34, 0.2), transparent 30rem),
    var(--black);
  opacity: 1;
  transition: opacity 620ms var(--ease-soft);
}

.content-page.is-content-leaving::before {
  opacity: 0;
}

.content-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 104px clamp(22px, 5vw, 72px) 96px;
}

.content-article {
  width: min(1120px, 100%);
  margin: 0 auto;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms var(--ease-soft), transform 720ms var(--ease);
}

.is-content-leaving .content-article {
  opacity: 0;
  transform: translateY(28px);
}

.content-hero {
  display: grid;
  gap: 22px;
  min-height: auto;
  padding: clamp(36px, 6vw, 72px) 0 clamp(52px, 8vw, 96px);
  align-content: end;
}

.content-kicker {
  margin: 0;
  color: rgba(247, 243, 235, 0.7);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.content-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.85rem, 7.3vw, 7.45rem);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}

.content-dek {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.content-body {
  display: grid;
  gap: clamp(28px, 5vw, 58px);
  padding-top: 24px;
}

.content-body > p {
  width: min(720px, 100%);
  margin: 0;
  color: rgba(247, 243, 235, 0.78);
  font-size: clamp(1.03rem, 1.45vw, 1.22rem);
}

.media-feature,
.media-grid figure {
  margin: 0;
}

.media-feature {
  display: grid;
  gap: 14px;
}

.post-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(3, 4, 6, 0.46);
  box-shadow: var(--shadow);
}

.post-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.post-embed--wide {
  width: 100%;
}

.post-embed--standard {
  width: min(720px, 100%);
}

.post-embed--compact {
  width: min(480px, 100%);
}

.post-embed--align-left {
  margin-inline: 0 auto;
}

.post-embed--align-center {
  margin-inline: auto;
}

.post-embed--align-right {
  margin-inline: auto 0;
}

.media-placeholder {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(circle at 22% 26%, rgba(246, 187, 68, 0.24), transparent 14rem),
    radial-gradient(circle at 78% 36%, rgba(85, 181, 255, 0.2), transparent 16rem),
    linear-gradient(135deg, rgba(6, 7, 10, 0.95), rgba(26, 31, 38, 0.82));
  box-shadow: var(--shadow);
}

.media-placeholder-wide {
  min-height: clamp(380px, 54vw, 640px);
}

.media-placeholder-design {
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.82)),
    repeating-linear-gradient(108deg, rgba(246, 187, 68, 0.58) 0 18px, rgba(43, 79, 157, 0.62) 18px 38px, rgba(220, 86, 83, 0.56) 38px 51px, rgba(238, 231, 202, 0.54) 51px 70px);
}

.media-placeholder-code {
  background:
    linear-gradient(135deg, rgba(3, 15, 38, 0.92), rgba(0, 0, 0, 0.36)),
    repeating-linear-gradient(178deg, rgba(85, 181, 255, 0.22) 0 2px, transparent 2px 38px),
    linear-gradient(120deg, #051322, #18294a 48%, #06101d);
}

figcaption {
  color: rgba(247, 243, 235, 0.54);
  font-size: 0.84rem;
}

.content-callout {
  width: min(860px, 100%);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.content-callout p {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.28rem, 2.7vw, 2.25rem);
  font-weight: 560;
  letter-spacing: -0.024em;
  line-height: 1.06;
  text-wrap: balance;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.media-grid figure {
  display: grid;
  gap: 12px;
}

.media-grid .media-placeholder {
  min-height: clamp(280px, 32vw, 460px);
}

.blog-shell,
.post-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - clamp(44px, 10vw, 144px)));
  min-height: 100vh;
  margin: 0 auto;
  padding: 104px 0 96px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms var(--ease-soft), transform 720ms var(--ease);
}

.blog-shell {
  padding-top: 104px;
}

.is-blog-leaving .blog-shell,
.is-post-leaving .post-shell {
  opacity: 0;
  transform: translateY(28px);
}

.blog-page.is-blog-leaving::before,
.post-page.is-post-leaving::before {
  opacity: 0;
}

.blog-page.is-blog-leaving .site-header,
.post-page.is-post-leaving .site-header {
  pointer-events: none;
}

.blog-hero,
.post-hero {
  display: grid;
  gap: 22px;
  min-height: auto;
  padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 84px);
  align-content: end;
}

.blog-hero {
  padding-top: clamp(36px, 6vw, 72px);
}

.blog-hero h1,
.post-hero h1 {
  max-width: 1020px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.85rem, 7.3vw, 7.45rem);
  font-weight: 610;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}

.post-shell {
  padding-top: 104px;
}

.post-hero {
  min-height: auto;
  padding: clamp(36px, 6vw, 72px) 0 clamp(42px, 6vw, 72px);
}

.post-hero h1 {
  max-width: 960px;
  font-size: clamp(2.65rem, 6.4vw, 6.45rem);
}

.blog-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3vw, 28px);
  width: 100%;
  margin-bottom: clamp(32px, 6vw, 72px);
}

.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;
}

.blog-search,
.filter-group,
.post-card,
.post-split-block,
.post-taxonomy {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
}

.filter-group {
  border-radius: 26px;
  padding: clamp(18px, 3vw, 28px);
}

.blog-search--compact {
  width: min(100%, 980px);
  border: none;
  background: transparent;
  backdrop-filter: none;
  padding: 0;
}

.filter-group h2 {
  margin: 0;
  color: rgba(247, 243, 235, 0.7);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.blog-search-field {
  position: relative;
  display: flex;
  width: 100%;
}

.blog-search-field input {
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(3, 4, 6, 0.46);
  color: var(--white);
  font: inherit;
  padding: 0 18px;
}

.blog-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(8, 10, 14, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  max-height: min(320px, 50vh);
  overflow-y: auto;
}

.blog-search-suggestions[hidden] {
  display: none;
}

.blog-search-suggestion {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.blog-search-suggestion-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.35;
}

.blog-search-suggestion-subtitle {
  display: block;
  margin-top: 4px;
  color: rgba(247, 243, 235, 0.58);
  font-size: 0.78rem;
  line-height: 1.4;
}

.blog-search-suggestion.is-active,
.blog-search-suggestion:hover,
.blog-search-suggestion:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.blog-search-field input::placeholder {
  color: rgba(247, 243, 235, 0.42);
}

.filter-chip {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 243, 235, 0.82);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 760;
  cursor: pointer;
  transition: background 260ms var(--ease-soft), border-color 260ms var(--ease-soft), color 260ms var(--ease-soft), transform 260ms var(--ease-soft);
}

.filter-groups {
  display: grid;
  gap: 18px;
  width: min(100%, 980px);
}

.filter-groups--centered {
  justify-items: stretch;
}

.filter-group {
  display: grid;
  gap: 14px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  line-height: 1.1;
  text-align: center;
}

.filter-chip.is-active,
.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  transform: translateY(-1px);
}

.post-list {
  display: grid;
  gap: 16px;
}

.post-card {
  overflow: hidden;
  border-radius: 30px;
  transition: border-color 320ms var(--ease-soft), background 320ms var(--ease-soft), opacity 420ms var(--ease-soft), transform 520ms var(--ease);
}

.post-card a {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 48px);
  padding: clamp(24px, 4vw, 42px);
}

.post-card-index {
  color: rgba(247, 243, 235, 0.42);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  font-weight: 760;
}

.post-card-content {
  display: grid;
  gap: 13px;
}

.post-meta {
  color: rgba(247, 243, 235, 0.56);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-title {
  max-width: 920px;
  color: var(--white);
  font-size: clamp(1.65rem, 3.55vw, 3.55rem);
  font-weight: 560;
  letter-spacing: -0.024em;
  line-height: 1.03;
  text-wrap: balance;
}

.post-subtitle,
.post-excerpt {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.post-subtitle {
  color: rgba(247, 243, 235, 0.86);
}

.post-tags,
.post-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-tags span,
.post-taxonomy span,
.post-taxonomy a {
  width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(247, 243, 235, 0.68);
  font-size: 0.78rem;
}

.post-card:hover,
.post-card:focus-within {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-3px);
}

.is-blog-leaving .post-card {
  opacity: 0;
  transform: translateY(24px);
}

.post-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 0;
}

.post-byline div {
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.post-byline dt {
  color: rgba(247, 243, 235, 0.48);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-byline dd {
  margin: 4px 0 0;
  color: rgba(247, 243, 235, 0.86);
}

.post-article {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms var(--ease-soft), transform 720ms var(--ease);
}

.is-post-leaving .post-article {
  opacity: 0;
  transform: translateY(24px);
}

.post-hero-media {
  margin-bottom: clamp(48px, 8vw, 92px);
}

.post-body h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.7rem, 4vw, 3.6rem);
  font-weight: 570;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

.post-split-block {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(22px, 5vw, 64px);
  padding: clamp(24px, 4vw, 42px);
  border-radius: 28px;
}

.post-split-block p {
  margin: 0;
}

.post-split-block > p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
}

.post-taxonomy {
  padding: clamp(18px, 3vw, 26px);
  border-radius: 24px;
}

.about-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - clamp(44px, 10vw, 144px)));
  min-height: 100vh;
  margin: 0 auto;
  padding: 104px 0 86px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.64fr);
  align-items: start;
  gap: clamp(34px, 8vw, 96px);
  padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 8vw, 86px);
}

.about-intro {
  display: grid;
  gap: 22px;
}

.about-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.85rem, 7.2vw, 7.25rem);
  font-weight: 610;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}

.about-headshot {
  display: grid;
  gap: 14px;
  width: min(100%, var(--about-headshot-max-width, 350px));
  min-width: 0;
  margin: 0;
  justify-self: end;
}

.about-headshot-frame {
  position: relative;
  width: 100%;
  min-height: var(--about-headshot-min-height, clamp(300px, 34vw, 430px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px 999px 34px 34px;
  background:
    linear-gradient(180deg, rgba(247, 243, 235, 0.08), transparent 32%),
    var(--about-headshot-image);
  background-position: center;
  background-size: cover;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

img.about-headshot-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  height: var(--about-headshot-min-height, clamp(300px, 34vw, 430px));
  min-height: var(--about-headshot-min-height, clamp(300px, 34vw, 430px));
  object-fit: var(--about-headshot-object-fit, cover);
  object-position: var(--about-headshot-object-position, center);
}

.about-headshot-frame::after {
  position: absolute;
  inset: auto 12% 0;
  height: 34%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(3, 4, 6, 0.58));
  pointer-events: none;
}

.about-body {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: clamp(18px, 5vw, 56px);
  padding: clamp(26px, 5vw, 46px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.about-section-copy {
  display: grid;
  gap: 18px;
}

.about-section h2 {
  max-width: 780px;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.6rem, 3.2vw, 3.2rem);
  font-weight: 570;
  letter-spacing: -0.026em;
  line-height: 1.03;
  text-wrap: balance;
}

.about-section p,
.about-notes p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
}

.about-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: clamp(24px, 5vw, 42px);
}

.about-notes p {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(247, 243, 235, 0.62);
  font-size: 0.92rem;
}

.contact-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - clamp(44px, 10vw, 144px)));
  margin: 0 auto;
  padding: 104px 0 72px;
}

.contact-hero {
  display: grid;
  gap: 18px;
  min-height: auto;
  padding: clamp(36px, 6vw, 72px) 0 clamp(30px, 5vw, 52px);
  align-content: end;
}

.contact-hero h1 {
  max-width: 940px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.85rem, 7.3vw, 7.35rem);
  font-weight: 610;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  align-content: start;
  gap: clamp(18px, 5vw, 56px);
  min-height: 0;
  padding: clamp(22px, 4vw, 38px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
}

.contact-card-primary {
  min-height: 0;
}

.contact-card-body {
  display: grid;
  gap: 14px;
}

.contact-card h2 {
  max-width: none;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.55rem, 2.5vw, 2.65rem);
  font-weight: 570;
  letter-spacing: -0.018em;
  line-height: 1.04;
  text-wrap: balance;
}

.contact-card p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.contact-link {
  display: inline-grid;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin-top: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: border-color 260ms var(--ease-soft), color 260ms var(--ease-soft), transform 320ms var(--ease);
}

.contact-link span {
  color: rgba(247, 243, 235, 0.5);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-link strong {
  color: var(--white);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  font-weight: 620;
  overflow-wrap: anywhere;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
  transform: translateX(3px);
}

.contact-note {
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 860px) {
  :root {
    --site-header-height: 58px;
  }

  .site-header {
    min-height: 58px;
    padding: 12px 18px;
  }

  .brand {
    font-size: 1.55rem;
  }

  .site-nav {
    gap: 16px;
    font-size: 0.86rem;
  }

  .pane-stage {
    min-height: auto;
    padding-top: calc(var(--site-header-height) + var(--announcement-height));
    flex-direction: column;
  }

  .portfolio-pane,
  .portfolio-pane:hover {
    flex: 1 1 auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .pane-link {
    height: auto;
    min-height: 68vh;
  }

  .pane-label {
    top: 34px;
    right: 24px;
    left: auto;
    transform: none;
  }

  .portfolio-pane:hover .pane-label {
    opacity: 0;
    transform: translateY(-12px);
  }

  .pane-content {
    right: clamp(24px, 5vw, 72px);
    width: auto;
    opacity: 1;
    transform: none;
  }

  .pane-title {
    max-width: 11ch;
    font-size: clamp(1.9rem, 8vw, 3.2rem);
  }

  .content-shell {
    padding-top: 92px;
  }

  .content-hero {
    min-height: auto;
    padding-top: 40px;
  }

  .content-hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 5rem);
  }

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

  .blog-shell,
  .post-shell,
  .about-shell,
  .contact-shell {
    width: min(100% - 36px, 1180px);
    padding-top: 118px;
  }

  .about-shell {
    padding-top: 92px;
  }

  .about-hero {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 40px;
  }

  .about-headshot {
    width: min(100%, var(--about-headshot-max-width, 350px));
    justify-self: start;
  }

  .about-headshot-frame {
    min-height: clamp(290px, 72vw, 390px);
  }

  .about-section,
  .contact-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .contact-shell {
    padding-top: 92px;
    padding-bottom: 64px;
  }

  .blog-shell {
    padding-top: 92px;
  }

  .post-shell {
    padding-top: 92px;
  }

  .blog-hero,
  .post-hero,
  .contact-hero {
    min-height: auto;
    padding-top: 40px;
  }

  .contact-hero {
    padding-top: 40px;
    padding-bottom: 34px;
  }

  .blog-hero,
  .post-hero {
    padding-top: 40px;
  }

  .blog-hero h1,
  .post-hero h1,
  .contact-hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 5rem);
  }

  .post-hero {
    padding-top: 56px;
  }

  .post-hero h1 {
    font-size: clamp(2.35rem, 10vw, 4.45rem);
  }

  .post-split-block,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card-primary {
    min-height: 0;
    grid-row: auto;
  }

  .post-card a {
    grid-template-columns: 1fr;
  }

  .post-card-index {
    font-size: 0.95rem;
  }
}

@media (max-width: 560px) {
  :root {
    --site-header-height: 78px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .pane-stage {
    padding-top: calc(var(--site-header-height) + var(--announcement-height));
  }

  .announcement-message {
    padding-left: 18px;
  }

  .pane-link {
    min-height: 620px;
    padding: 28px;
  }

  .preview-note {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
    border-radius: 18px;
  }
}

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

  .site-announcement,
  .site-announcement.is-overflowing .announcement-message {
    animation: none !important;
  }
}

/* Contact form ---------------------------------------------------------- */
.contact-form-section {
  margin-top: clamp(28px, 5vw, 56px);
  padding-top: clamp(28px, 5vw, 52px);
  border-top: 1px solid var(--line);
}

.contact-form-section[data-reveal] {
  animation: cf-rise 720ms var(--ease) 120ms both;
}

@keyframes cf-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form-head {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin-bottom: clamp(22px, 4vw, 36px);
}

.contact-form-head h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 580;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.contact-form-head p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.cf-form-errors {
  margin-bottom: 22px;
  padding: 14px 18px;
  border: 1px solid rgba(220, 80, 80, 0.5);
  border-radius: 12px;
  background: rgba(120, 30, 30, 0.22);
  color: #ffd9d2;
}

.cf-form-errors p {
  margin: 0;
  font-size: 0.96rem;
}

.cf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}

.cf-field {
  display: grid;
  gap: 8px;
}

.cf-field-wide {
  grid-column: 1 / -1;
}

.cf-field label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: rgba(247, 243, 235, 0.74);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cf-req {
  color: rgba(247, 243, 235, 0.55);
}

.cf-optional {
  color: rgba(247, 243, 235, 0.42);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.cf-field input,
.cf-field textarea {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 1.02rem;
  line-height: 1.5;
  transition: border-color 240ms var(--ease-soft), background 240ms var(--ease-soft), box-shadow 240ms var(--ease-soft);
}

.cf-field textarea {
  min-height: 150px;
  resize: vertical;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: rgba(247, 243, 235, 0.34);
}

.cf-field input:hover,
.cf-field textarea:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: rgba(247, 243, 235, 0.7);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(247, 243, 235, 0.12);
}

.cf-field.is-invalid input,
.cf-field.is-invalid textarea {
  border-color: rgba(220, 90, 90, 0.7);
}

/* Keep autofilled fields on-theme instead of the browser's white fill. */
.cf-field input:-webkit-autofill,
.cf-field input:-webkit-autofill:hover,
.cf-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white);
  caret-color: var(--white);
  -webkit-box-shadow: 0 0 0 1000px rgba(20, 22, 26, 0.96) inset;
  transition: background-color 9999s ease-in-out 0s;
}

.cf-help {
  margin: 2px 0 0;
  color: rgba(247, 243, 235, 0.5);
  font-size: 0.85rem;
}

.cf-error {
  margin: 0;
  color: #ff9f93;
  font-size: 0.86rem;
}

.cf-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.cf-file input[type="file"] {
  flex: 0 0 auto;
  max-width: 100%;
  color: rgba(247, 243, 235, 0.66);
  font-size: 0.92rem;
}

.cf-file input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 640;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 240ms var(--ease-soft), border-color 240ms var(--ease-soft);
}

.cf-file input[type="file"]::file-selector-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.cf-file input[type="file"]:focus-visible {
  outline: 2px solid rgba(247, 243, 235, 0.7);
  outline-offset: 4px;
}

.cf-file-names {
  color: rgba(247, 243, 235, 0.6);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.cf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: clamp(22px, 4vw, 34px);
}

.cf-submit {
  padding: 14px 30px;
  border: 1px solid rgba(247, 243, 235, 0.82);
  border-radius: 9999px;
  background: var(--white);
  color: #0a0b0e;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 320ms var(--ease), background 240ms var(--ease-soft), box-shadow 320ms var(--ease);
}

.cf-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.cf-submit:active {
  transform: translateY(0);
}

.cf-submit:focus-visible {
  outline: 2px solid rgba(247, 243, 235, 0.9);
  outline-offset: 3px;
}

.cf-privacy-button {
  padding: 6px 2px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: rgba(247, 243, 235, 0.78);
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 560;
  cursor: pointer;
  transition: color 240ms var(--ease-soft), border-color 240ms var(--ease-soft);
}

.cf-privacy-button:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.cf-privacy-button:focus-visible {
  outline: 2px solid rgba(247, 243, 235, 0.86);
  outline-offset: 3px;
}

.contact-form-success {
  display: grid;
  gap: 14px;
  max-width: 640px;
  animation: cf-rise 620ms var(--ease) both;
}

.contact-form-success h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 570;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.contact-form-success p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cf-reset {
  justify-self: start;
  margin-top: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
  font-weight: 600;
  transition: border-color 240ms var(--ease-soft), transform 320ms var(--ease);
}

.cf-reset:hover {
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateX(3px);
}

.cf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Privacy modal */
.cf-modal {
  width: min(520px, calc(100vw - 36px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: var(--glass-strong);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cf-modal::backdrop {
  background: rgba(3, 4, 6, 0.66);
  backdrop-filter: blur(6px);
}

.cf-modal[open] {
  animation: cf-modal-in 360ms var(--ease) both;
}

@keyframes cf-modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cf-modal-inner {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 34px);
}

.cf-modal-inner h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 580;
  letter-spacing: -0.015em;
}

.cf-modal-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.cf-modal-actions {
  margin-top: 8px;
}

.cf-modal-close {
  padding: 11px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 620;
  cursor: pointer;
  transition: background 240ms var(--ease-soft), border-color 240ms var(--ease-soft);
}

.cf-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.cf-modal-close:focus-visible {
  outline: 2px solid rgba(247, 243, 235, 0.9);
  outline-offset: 3px;
}

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

@media (prefers-reduced-motion: reduce) {
  .contact-form-section[data-reveal],
  .contact-form-success,
  .cf-modal[open] {
    animation: none !important;
  }
}
