/* Wixoria — one page, hand built.
   Palette: warm paper, near-black ink, terracotta + forest. */

:root {
  --paper: #f6f1e7;
  --paper-2: #efe7d9;
  --ink: #17130f;
  --ink-soft: #3b332b;
  --muted: #6f665c;
  --line: rgba(23, 19, 15, 0.13);
  --accent: #e2542b;
  --forest: #1f4030;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* The Wixoria asterisk, for the small repeats of the logo mark (masked).
     Keep in step with #wixoria-mark in the page. */
  --mark-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.3v15.4M4.3 12h15.4M6.55 6.55l10.9 10.9M17.45 6.55l-10.9 10.9' fill='none' stroke='%2317130f' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Paper grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

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

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

em {
  font-style: italic;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* Type helpers ---------------------------------------------------------- */
.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}

.kicker-light {
  color: #f0b8a4;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.04;
}

.section-note {
  max-width: 40ch;
  color: var(--muted);
  margin-top: 16px;
  font-size: 0.98rem;
}

/* Scroll progress ------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 80;
}

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  will-change: transform;
}

.btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px -14px rgba(226, 84, 43, 0.85);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-small {
  padding: 11px 20px;
  font-size: 0.86rem;
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--accent);
  color: #fff;
}

.link-soft {
  font-size: 0.94rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition:
    border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.link-soft:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Header ---------------------------------------------------------------- */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-block: 20px;
  transition: padding 0.4s var(--ease);
}

/* The frosted background lives on a pseudo-element: backdrop-filter on the
   header itself would make it the containing block for the fixed mobile
   menu, trapping the open menu inside the header strip. */
.site-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(246, 241, 231, 0);
  box-shadow: 0 1px 0 rgba(23, 19, 15, 0);
  transition:
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.site-head.is-stuck {
  padding-block: 10px;
}

.site-head.is-stuck::before {
  background: rgba(246, 241, 231, 0.75);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 1.42rem;
  letter-spacing: -0.01em;
}

/* Logo mark ------------------------------------------------------------- */
.mark-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.brand-mark {
  width: 22px;
  height: 22px;
  color: var(--accent);
  transition: transform 0.9s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(90deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.nav-links a {
  position: relative;
  padding-block: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.4s var(--ease);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 15px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.35s var(--ease);
}

.nav-toggle.is-open span:first-child {
  transform: translateY(3.2px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-3.2px) rotate(-45deg);
}

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(70px, 10vh, 120px);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 30%),
    rgba(226, 84, 43, 0.12),
    transparent 72%
  );
  transition: background 0.2s linear;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  filter: blur(10px);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}

.blob-a {
  width: 46vw;
  height: 46vw;
  max-width: 560px;
  max-height: 560px;
  top: -14%;
  right: -6%;
  background: radial-gradient(circle at 30% 30%, #ffd3a8, rgba(255, 211, 168, 0));
}

.blob-b {
  width: 38vw;
  height: 38vw;
  max-width: 460px;
  max-height: 460px;
  bottom: -20%;
  left: -10%;
  background: radial-gradient(circle at 60% 40%, #c9dcc8, rgba(201, 220, 200, 0));
  animation-duration: 28s;
  animation-delay: -6s;
}

.blob-c {
  width: 24vw;
  height: 24vw;
  max-width: 300px;
  max-height: 300px;
  top: 34%;
  right: 26%;
  background: radial-gradient(circle at 50% 50%, rgba(226, 84, 43, 0.35), rgba(226, 84, 43, 0));
  animation-duration: 18s;
  animation-delay: -3s;
}

@keyframes drift {
  from {
    transform: translate3d(-3%, -2%, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 3%, 0) scale(1.12);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px 7px 11px;
  margin-bottom: 26px;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 0 rgba(31, 64, 48, 0.5);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 64, 48, 0.45);
  }
  70%,
  100% {
    box-shadow: 0 0 0 8px rgba(31, 64, 48, 0);
  }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.85rem, 6.4vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.018em;
  max-width: 15ch;
}

.hero h1 em {
  color: var(--accent);
}

.swap {
  display: inline-block;
  color: var(--forest);
  font-style: italic;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease);
  border-bottom: 3px solid rgba(31, 64, 48, 0.25);
  min-width: 4ch;
}

.swap.is-swapping {
  opacity: 0;
  transform: translateY(-0.35em);
}

.lede {
  max-width: 46ch;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* Hero mock browser stack ----------------------------------------------- */
.hero-visual {
  position: relative;
  perspective: 1200px;
  padding-block: 20px;
}

.mock {
  border-radius: 16px;
  background: #fffdf8;
  border: 1px solid rgba(23, 19, 15, 0.09);
  box-shadow:
    0 30px 60px -30px rgba(40, 29, 20, 0.35),
    0 2px 6px rgba(40, 29, 20, 0.05);
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}

.mock-back {
  position: absolute;
  top: 0;
  right: 0;
  width: 74%;
  transform: rotate(5deg) translate(12px, -6px);
  opacity: 0.95;
}

.mock-front {
  position: relative;
  width: 100%;
  transform: rotate(-2.2deg);
}

.hero-visual:hover .mock-front {
  transform: rotate(-1deg) translateY(-6px);
}

.hero-visual:hover .mock-back {
  transform: rotate(7deg) translate(18px, -14px);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(23, 19, 15, 0.07);
  background: #f7f2e9;
}

.mock-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(23, 19, 15, 0.18);
}

.mock-url {
  margin-left: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.mock-body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 10px;
}

.mock-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-size: 0.84rem;
}

.mock-nav-links {
  width: 46px;
  height: 5px;
  border-radius: 3px;
  background: rgba(23, 19, 15, 0.12);
}

.mock-hero {
  display: grid;
  gap: 9px;
  padding: 26px 18px;
  border-radius: 12px;
  background: linear-gradient(140deg, #f6d5b4, #e2542b 62%, #a33719);
  min-height: 148px;
  align-content: center;
}

.ln {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: rgba(23, 19, 15, 0.14);
}

.mock-hero .ln {
  background: rgba(255, 255, 255, 0.62);
  height: 9px;
}

.w20 {
  width: 20%;
}
.w30 {
  width: 30%;
}
.w40 {
  width: 40%;
}
.w55 {
  width: 55%;
}
.w60 {
  width: 60%;
}
.w80 {
  width: 80%;
}

.mock-pill {
  justify-self: start;
  margin-top: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  color: #a33719;
}

.mock-footer-lines {
  display: flex;
  gap: 12px;
}

.mock-body-b {
  padding: 18px;
}

.mock-tiles {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.mock-tiles i {
  flex: 1;
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(150deg, #dfe8dd, #b9cbb6);
}

.mock-tiles i:nth-child(2) {
  background: linear-gradient(150deg, #f4dcc6, #e3b493);
}

.mock-tiles i:nth-child(3) {
  background: linear-gradient(150deg, #e5dfd4, #c9bda8);
}

/* Rotating sticker badge */
.sticker {
  position: absolute;
  right: -14px;
  bottom: -22px;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  box-shadow: 0 18px 30px -18px rgba(23, 19, 15, 0.8);
}

.sticker-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 26s linear infinite;
  fill: currentColor;
  font-family: var(--sans);
  font-size: 9.4px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.sticker-core {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Marquee band ---------------------------------------------------------- */
.band {
  background: var(--ink);
  color: var(--paper);
  padding-block: 18px;
  overflow: hidden;
  border-block: 1px solid rgba(23, 19, 15, 0.4);
}

.band-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: slide 42s linear infinite;
}

.band-track span {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.band-track b {
  flex: none;
  width: 13px;
  height: 13px;
  background-color: var(--accent);
  -webkit-mask: var(--mark-shape) center / contain no-repeat;
  mask: var(--mark-shape) center / contain no-repeat;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Sections -------------------------------------------------------------- */
.section {
  padding-block: clamp(72px, 11vh, 130px);
  /* keeps the fixed header from covering a heading after an in-page jump */
  scroll-margin-top: 76px;
}

.section-tint {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 0;
  max-width: 62ch;
  margin-bottom: clamp(38px, 6vh, 62px);
}

/* Services -------------------------------------------------------------- */
.service-list {
  border-top: 1px solid var(--line);
}

.service-list > li {
  border-bottom: 1px solid var(--line);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(150px, 0.85fr) 1.5fr 22px;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  padding: 24px 20px;
  border: 0;
  border-radius: 12px;
  background: none;
  font: inherit;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    color 0.45s var(--ease),
    padding 0.45s var(--ease);
}

.service-row > * {
  position: relative;
  z-index: 1;
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.5s var(--ease);
}

.service-row:hover::before,
.service-row[aria-expanded="true"]::before {
  transform: scaleY(1);
}

.service-row:hover,
.service-row[aria-expanded="true"] {
  color: var(--paper);
  padding-inline: 26px;
}

.service-row:hover .s-desc,
.service-row:hover .s-index,
.service-row[aria-expanded="true"] .s-desc,
.service-row[aria-expanded="true"] .s-index {
  color: rgba(246, 241, 231, 0.72);
}

.service-row:hover .s-arrow,
.service-row[aria-expanded="true"] .s-arrow {
  color: #f0b8a4;
}

.service-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.s-index {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.4s var(--ease);
}

.s-title {
  font-family: var(--serif);
  font-size: 1.5rem;
}

.s-desc {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.4s var(--ease);
}

.s-arrow {
  justify-self: center;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--accent);
  transition:
    transform 0.45s var(--ease),
    color 0.4s var(--ease);
}

.service-row[aria-expanded="true"] .s-arrow {
  transform: rotate(45deg);
}

/* Service detail panel */
.service-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 48px);
  padding: 4px 20px 38px;
  animation: panel-in 0.45s var(--ease);
}

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

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

.panel-copy h3 {
  margin: 0 0 8px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.panel-copy p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 46ch;
}

.panel-list {
  display: grid;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.panel-list li {
  position: relative;
  padding-left: 19px;
}

.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background-color: var(--accent);
  -webkit-mask: var(--mark-shape) center / contain no-repeat;
  mask: var(--mark-shape) center / contain no-repeat;
}

.panel-sample {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mock-sample {
  width: 100%;
  max-width: 340px;
  border-radius: 12px;
  box-shadow: 0 16px 34px -24px rgba(40, 29, 20, 0.65);
}

.mock-page-tabs {
  display: flex;
  gap: 5px;
}

.mock-page-tabs i {
  width: 14px;
  height: 4px;
  border-radius: 2px;
  background: rgba(23, 19, 15, 0.16);
}

.mock-page-grid {
  display: grid;
  gap: 8px;
}

.mock-pages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mock-pages i {
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(150deg, #e9e1d3, #d3c7b3);
}

.mock-pages i:first-child {
  background: linear-gradient(150deg, #f6d3ae, #e2542b);
}

.sample-caption {
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.sample-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 340px;
}

.sample-before,
.sample-after {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 148px;
  padding: 14px 12px;
  border-radius: 12px;
}

.sample-before {
  background: #e4dfd4;
  border: 1px dashed rgba(23, 19, 15, 0.22);
}

.sample-before .ln {
  background: rgba(23, 19, 15, 0.2);
}

.sample-after {
  background: linear-gradient(150deg, #f6d3ae, #e2542b 60%, #8f3016);
}

.sample-after .ln {
  background: rgba(255, 255, 255, 0.6);
}

.sample-label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.sample-after .sample-label {
  color: rgba(255, 255, 255, 0.88);
}

.sample-log {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 340px;
  padding: 18px;
  border-radius: 12px;
  background: #fffdf8;
  border: 1px solid rgba(23, 19, 15, 0.09);
  box-shadow: 0 16px 34px -24px rgba(40, 29, 20, 0.65);
}

.log-head {
  font-family: var(--serif);
  font-size: 1rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.log-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.log-row i {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
}

.service-foot {
  margin-top: 34px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Process --------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  counter-reset: step;
}

.steps li {
  padding-top: 26px;
  border-top: 1px solid var(--line);
  position: relative;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: var(--accent);
  transition:
    background 0.4s var(--ease),
    color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.steps li:hover .step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.steps h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.steps p {
  font-size: 0.94rem;
  color: var(--muted);
  max-width: 34ch;
}

/* Contact --------------------------------------------------------------- */
.contact {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(80px, 13vh, 150px);
  overflow: hidden;
  isolation: isolate;
}

.contact-glow {
  position: absolute;
  z-index: -1;
  width: 760px;
  height: 760px;
  right: -12%;
  top: -30%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(226, 84, 43, 0.42), rgba(226, 84, 43, 0) 62%);
  filter: blur(30px);
  animation: breathe 14s ease-in-out infinite alternate;
}

@keyframes breathe {
  from {
    transform: scale(0.9) translate3d(0, 0, 0);
    opacity: 0.75;
  }
  to {
    transform: scale(1.1) translate3d(-3%, 4%, 0);
    opacity: 1;
  }
}

.contact-inner h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
  max-width: 18ch;
}

.contact-inner h2 em {
  color: #f3a58a;
}

.contact-lede {
  max-width: 42ch;
  margin-top: 22px;
  color: rgba(246, 241, 231, 0.7);
  font-size: 1rem;
}

.contact .btn {
  margin-top: 34px;
}

.mail-alt {
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(246, 241, 231, 0.55);
}

.mail-alt a {
  color: #f3a58a;
  border-bottom: 1px solid rgba(243, 165, 138, 0.45);
  transition: border-color 0.3s var(--ease);
}

.mail-alt a:hover {
  border-color: currentColor;
}

.contact-facts {
  display: flex;
  gap: clamp(22px, 4vw, 54px);
  flex-wrap: wrap;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(246, 241, 231, 0.16);
  font-size: 0.9rem;
}

.contact-facts li {
  display: grid;
  gap: 3px;
}

.contact-facts span {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.45);
}

/* Footer ---------------------------------------------------------------- */
.site-foot {
  background: var(--ink);
  color: rgba(246, 241, 231, 0.7);
  border-top: 1px solid rgba(246, 241, 231, 0.14);
  padding-block: 26px;
  font-size: 0.83rem;
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.brand-sm {
  color: var(--paper);
  font-size: 1.1rem;
}

.brand-sm .brand-mark {
  width: 15px;
  height: 15px;
}

.site-foot .link-soft {
  color: rgba(246, 241, 231, 0.7);
  border-color: rgba(246, 241, 231, 0.25);
}

.site-foot .link-soft:hover {
  color: #f3a58a;
  border-color: #f3a58a;
}

/* Reveal animation ------------------------------------------------------ */
/* Scoped to .js (set by an inline script) so the content is never left
   invisible when scripting is unavailable or a script fails to load. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.service-list > li:nth-child(2) {
  transition-delay: 0.06s;
}

.service-list > li:nth-child(3) {
  transition-delay: 0.12s;
}

.service-list > li:nth-child(4) {
  transition-delay: 0.18s;
}

.steps > li:nth-child(2) {
  transition-delay: 0.1s;
}

.steps > li:nth-child(3) {
  transition-delay: 0.2s;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero h1 {
    max-width: 20ch;
  }

  .hero-visual {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: rgba(246, 241, 231, 0.97);
    backdrop-filter: blur(16px);
    font-family: var(--serif);
    font-size: 1.9rem;
    opacity: 0;
    pointer-events: none;
    /* visibility keeps the closed panel out of the tab order and accessibility
       tree; it flips instantly, so only the opening runs as a transition. */
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.35s var(--ease),
      transform 0.35s var(--ease);
    z-index: 40;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 60;
  }

  body.nav-open {
    overflow: hidden;
  }

  .head-actions .btn {
    display: none;
  }

  .service-row {
    grid-template-columns: 36px 1fr auto;
    grid-template-areas:
      "idx title arrow"
      ". desc desc";
    row-gap: 6px;
    padding: 22px 14px;
  }

  .s-index {
    grid-area: idx;
  }

  .s-title {
    grid-area: title;
    font-size: 1.35rem;
  }

  .s-desc {
    grid-area: desc;
  }

  .s-arrow {
    grid-area: arrow;
  }

  .service-panel {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .sticker {
    width: 84px;
    height: 84px;
    right: -6px;
    bottom: -16px;
  }

  .sticker-ring {
    font-size: 7.8px;
  }

  .foot-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Screen-reader only ---------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Keyboard focus -------------------------------------------------------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
