:root {
  --bg: #f7efe7;
  --surface: rgba(255, 249, 243, 0.8);
  --surface-strong: rgba(255, 252, 248, 0.96);
  --surface-dark: #2f221d;
  --text: #2d211d;
  --muted: #78675f;
  --line: rgba(76, 49, 35, 0.12);
  --accent: #df815e;
  --accent-dark: #a85b42;
  --accent-soft: rgba(223, 129, 94, 0.14);
  --accent-gold: #d5ab72;
  --sage: #9aae90;
  --shadow: 0 30px 90px rgba(94, 59, 38, 0.14);
  --shadow-soft: 0 18px 44px rgba(94, 59, 38, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242, 199, 173, 0.95), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(247, 225, 196, 0.92), transparent 18%),
    linear-gradient(180deg, #fff9f4 0%, #f7efe7 48%, #f3e7dc 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 85%);
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 -180px auto;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 129, 94, 0.16), transparent 68%);
  pointer-events: none;
  filter: blur(10px);
}

.ambient {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.9;
  filter: blur(8px);
}

.ambient-one {
  top: 96px;
  right: 4%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(223, 129, 94, 0.34), rgba(223, 129, 94, 0));
}

.ambient-two {
  left: -40px;
  top: 42%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(154, 174, 144, 0.18), rgba(154, 174, 144, 0));
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 48px;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  position: sticky;
  top: 16px;
  z-index: 10;
  border: 1px solid rgba(76, 49, 35, 0.08);
  border-radius: 999px;
  background: rgba(255, 249, 243, 0.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-right: 10px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
  padding: 52px 0 28px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.9rem, 5.8vw, 5.8rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-wrap: balance;
}

h3 {
  font-size: 1.35rem;
}

.hero-text,
.card p,
.project-card p,
.about-text,
.process-item p,
.metric-grid span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
  text-wrap: pretty;
}

.hero-text {
  max-width: 62ch;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button:active,
.portfolio-link:active {
  transform: translateY(-1px) scale(0.99);
}

.button:focus-visible,
.nav a:focus-visible,
.portfolio-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(191, 79, 69, 0.28);
  outline-offset: 4px;
}

.button-primary {
  color: #fffaf5;
  background: linear-gradient(135deg, var(--accent) 0%, #ea956d 52%, var(--accent-gold) 100%);
  box-shadow: 0 20px 44px rgba(223, 129, 94, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.hero-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span,
.project-footer span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  color: #9f5a43;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(223, 129, 94, 0.2);
}

.hero-card,
.card,
.project-card,
.cta-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 26px;
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 26px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.88), rgba(250, 240, 232, 0.78));
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -20%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 187, 150, 0.68), transparent 68%);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), transparent 36%),
    linear-gradient(180deg, transparent, rgba(223, 129, 94, 0.08));
  pointer-events: none;
}

.status-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(76, 49, 35, 0.08);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 0 0 6px rgba(154, 174, 144, 0.18);
}

.metric-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.metric-grid article {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(76, 49, 35, 0.08);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-top: 26px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(223, 129, 94, 0.14), rgba(213, 171, 114, 0.12));
  color: var(--text);
  position: relative;
  z-index: 1;
  box-shadow: 0 18px 40px rgba(94, 59, 38, 0.12);
}

.panel-label {
  margin: 0 0 8px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(168, 91, 66, 0.84);
}

.hero-panel strong {
  display: block;
  max-width: 16ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  line-height: 1.05;
}

.hero-panel span {
  display: block;
  margin-top: 10px;
  color: rgba(86, 61, 51, 0.78);
  line-height: 1.6;
}

.signal-stack {
  display: grid;
  gap: 10px;
}

.signal-stack span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 40px;
  margin-top: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(76, 49, 35, 0.08);
  color: var(--text);
  font-weight: 800;
}

.headline-lock {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  white-space: nowrap;
}

.headline-tail {
  display: inline-block;
}

.text-cycle {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 0;
  margin: 0 0 0 0.12em;
  color: #bf4f45;
  text-shadow: 0 10px 24px rgba(191, 79, 69, 0.2);
  position: relative;
}

.text-cycle-word {
  display: inline-block;
  white-space: nowrap;
  will-change: transform, opacity, filter;
}

.text-cycle-word.is-entering {
  animation: textCycleIn 420ms ease forwards;
}

.text-cycle-word.is-leaving {
  animation: textCycleOut 260ms ease forwards;
}

.metric-grid strong,
.process-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.section {
  padding: 72px 0 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.service-grid,
.project-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.project-card {
  padding: 26px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.card::before,
.project-card::before,
.about-card::before,
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.58), transparent 40%);
  pointer-events: none;
}

.project-accent {
  background:
    linear-gradient(180deg, rgba(35, 24, 20, 0.96), rgba(22, 18, 18, 0.86));
}

.service-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:nth-child(1) {
  grid-column: span 7;
  min-height: 280px;
}

.service-card:nth-child(2) {
  grid-column: span 5;
}

.service-card:nth-child(3) {
  grid-column: span 12;
  min-height: 210px;
}

.service-card--primary {
  background:
    linear-gradient(160deg, rgba(255, 252, 248, 0.98), rgba(247, 233, 222, 0.94)),
    var(--surface);
}

.service-card:hover,
.project-card:hover,
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(94, 59, 38, 0.14);
  border-color: rgba(223, 129, 94, 0.2);
}

.card-index {
  margin: 0 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: rgba(168, 91, 66, 0.16);
}

.service-card h3 {
  max-width: 18ch;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.service-card p:last-child {
  max-width: 42ch;
}

.project-tag {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.project-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.portfolio-section {
  --portfolio-panel: rgba(255, 249, 243, 0.86);
  --portfolio-panel-strong: rgba(255, 252, 248, 0.96);
  --portfolio-border: rgba(76, 49, 35, 0.1);
  --portfolio-border-strong: rgba(223, 129, 94, 0.3);
  --portfolio-text: #2d211d;
  --portfolio-muted: #7d6a62;
  --portfolio-accent: #df815e;
  --portfolio-accent-2: #d5ab72;
  --portfolio-shadow: 0 24px 70px rgba(94, 59, 38, 0.16);
  padding: 96px 0 0;
  background:
    radial-gradient(circle at top left, rgba(223, 129, 94, 0.16), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(213, 171, 114, 0.15), transparent 24%),
    linear-gradient(180deg, rgba(255, 247, 239, 0.92) 0%, rgba(247, 239, 231, 0.34) 100%);
  color: var(--portfolio-text);
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.36) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.36) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 92%);
  pointer-events: none;
}

.portfolio-shell {
  position: relative;
  z-index: 1;
}

.portfolio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 290px);
  gap: 30px;
  align-items: end;
  margin-bottom: 44px;
}

.portfolio-head {
  max-width: 760px;
}

.portfolio-summary {
  display: grid;
  gap: 10px;
  align-self: end;
  padding: 18px 0 6px 22px;
  border-left: 1px solid rgba(168, 91, 66, 0.24);
}

.portfolio-summary span {
  color: rgba(168, 91, 66, 0.82);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-summary strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.portfolio-summary p {
  margin: 0;
  color: var(--portfolio-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.portfolio-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border: 1px solid var(--portfolio-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #a85b42;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--portfolio-accent), var(--portfolio-accent-2));
  box-shadow: 0 0 16px rgba(223, 129, 94, 0.48);
}

.portfolio-title {
  margin: 0 0 14px;
  max-width: 13ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.portfolio-subtitle {
  margin: 0;
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--portfolio-muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-card {
  position: relative;
  grid-column: span 4;
  min-height: 320px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(248, 237, 229, 0.92));
  border: 1px solid var(--portfolio-border);
  box-shadow: var(--portfolio-shadow);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(223, 129, 94, 0.14), transparent 28%);
  pointer-events: none;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(223, 129, 94, 0.28);
  box-shadow: 0 28px 80px rgba(94, 59, 38, 0.2);
}

.portfolio-card--featured {
  grid-column: span 12;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(255, 252, 248, 0.98), rgba(247, 235, 226, 0.98)),
    linear-gradient(180deg, rgba(223, 129, 94, 0.1), transparent);
  border-color: var(--portfolio-border-strong);
}

.portfolio-card--bot {
  grid-column: span 12;
  min-height: 0;
  background:
    linear-gradient(135deg, rgba(248, 251, 245, 0.98), rgba(239, 246, 235, 0.98)),
    linear-gradient(180deg, rgba(154, 174, 144, 0.12), transparent);
  border-color: rgba(154, 174, 144, 0.32);
}

.portfolio-featured-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  gap: 22px;
  align-items: stretch;
}

.portfolio-featured-copy {
  display: flex;
  flex-direction: column;
}

.portfolio-card__glow {
  position: absolute;
  right: -90px;
  top: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 129, 94, 0.22), transparent 68%);
  pointer-events: none;
}

.portfolio-card__glow--bot {
  background: radial-gradient(circle, rgba(154, 174, 144, 0.2), transparent 68%);
}

.portfolio-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.portfolio-type,
.portfolio-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-type {
  color: #8a5947;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(76, 49, 35, 0.08);
}

.portfolio-badge {
  color: #493128;
  background: linear-gradient(135deg, #f6dfd2, #efc39f);
}

.portfolio-card__title {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.portfolio-card__text,
.portfolio-card__result {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: var(--portfolio-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.portfolio-card__result strong {
  color: var(--portfolio-text);
  font-weight: 600;
}

.portfolio-card__note {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: rgba(120, 103, 95, 0.82);
  font-size: 0.88rem;
  line-height: 1.6;
}

.portfolio-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.portfolio-tags span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(223, 129, 94, 0.08);
  border: 1px solid rgba(223, 129, 94, 0.14);
  color: #9d5a42;
  font-size: 0.82rem;
  font-weight: 700;
}

.portfolio-preview {
  position: relative;
  min-height: 430px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(76, 49, 35, 0.1);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 22px 50px rgba(94, 59, 38, 0.16);
  --preview-scale: 0.52;
}

.portfolio-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%);
  z-index: 2;
}

.portfolio-preview__bar {
  height: 42px;
  border-bottom: 1px solid rgba(76, 49, 35, 0.08);
  background: rgba(92, 63, 51, 0.08);
}

.portfolio-preview__frame {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 1280px;
  height: 900px;
  border: 0;
  background: #fff;
  transform: translate(-50%, -50%) scale(var(--preview-scale));
  transform-origin: center;
  pointer-events: auto;
}

.portfolio-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a85b42;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.portfolio-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.portfolio-link:hover {
  color: #844532;
}

.portfolio-link:hover::after {
  transform: translateX(4px);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: start;
}

.about-card {
  position: relative;
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.94), rgba(248, 237, 229, 0.86));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.process-list {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 12px 0 10px 30px;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 10px;
  left: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(223, 129, 94, 0.52), rgba(223, 129, 94, 0.08));
}

.process-item {
  position: relative;
  display: grid;
  gap: 8px;
}

.process-item::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -27px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.98);
  border: 2px solid rgba(223, 129, 94, 0.56);
  box-shadow: 0 0 0 6px rgba(223, 129, 94, 0.08);
}

.process-item span {
  color: rgba(168, 91, 66, 0.82);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.process-item strong {
  margin-bottom: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.process-item p {
  margin: 0;
  max-width: 34ch;
}

.about-note {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(76, 49, 35, 0.08);
}

.about-note strong {
  color: var(--text);
}

.about-note span {
  color: var(--muted);
  line-height: 1.6;
}

.cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 247, 239, 0.98), rgba(247, 235, 226, 0.9));
}

.cta-card h2 {
  max-width: 15ch;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

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

@keyframes textCycleIn {
  from {
    transform: translateY(-18px);
    opacity: 0;
    filter: blur(8px);
  }

  to {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes textCycleOut {
  from {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
  }

  to {
    transform: translateY(16px);
    opacity: 0;
    filter: blur(8px);
  }
}

@media (max-width: 980px) {
  .hero,
  .about-layout,
  .service-grid,
  .project-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .portfolio-card,
  .portfolio-card--featured,
  .portfolio-card--bot {
    grid-column: span 6;
  }

  .portfolio-card--featured,
  .portfolio-card--bot {
    grid-column: span 12;
  }

  .portfolio-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-summary {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(168, 91, 66, 0.18);
    padding-top: 18px;
  }

  .portfolio-featured-layout {
    grid-template-columns: 1fr;
  }

  .portfolio-preview {
    --preview-scale: 0.48;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3) {
    grid-column: auto;
    min-height: 0;
  }

  .cta-card {
    align-items: flex-start;
  }

  h1 {
    max-width: 100%;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .signal-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1160px);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .nav {
    gap: 12px 16px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-card,
  .card,
  .project-card,
  .cta-card,
  .about-card {
    border-radius: 24px;
  }

  .service-card {
    min-height: 0;
  }

  .button {
    width: 100%;
  }

  .signal-stack {
    grid-template-columns: 1fr;
  }

  .portfolio-section {
    padding-top: 84px;
  }

  .portfolio-intro {
    margin-bottom: 30px;
  }

  .portfolio-title {
    max-width: 100%;
    font-size: 34px;
  }

  .portfolio-subtitle {
    font-size: 15px;
    line-height: 1.7;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio-card,
  .portfolio-card--featured {
    grid-column: auto;
    min-height: auto;
    padding: 22px;
    border-radius: 22px;
  }

  .portfolio-card__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-card__title {
    font-size: 22px;
  }

  .portfolio-card__text,
  .portfolio-card__result {
    font-size: 14px;
  }

  .portfolio-preview {
    min-height: 300px;
    --preview-scale: 0.3;
  }

  .portfolio-preview__frame {
    width: 1080px;
    height: 860px;
  }

}
