@charset "UTF-8";

:root {
  --paper: #f7f2e7;
  --paper-deep: #eee4d3;
  --paper-soft: #fbf8f0;
  --ink: #29221c;
  --ink-deep: #171512;
  --muted: #75695d;
  --red: #b64c35;
  --red-deep: #913a29;
  --gold: #b48a4b;
  --sage: #667970;
  --line: #d8cab5;
  --line-dark: rgba(41, 34, 28, 0.18);
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(54, 39, 25, 0.12);
  --shadow-soft: 0 12px 36px rgba(54, 39, 25, 0.08);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --latin: "DIN Alternate", "Avenir Next", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 16%, rgba(180, 138, 75, 0.09), transparent 28rem),
    linear-gradient(rgba(41, 34, 28, 0.018) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 100% 7px, auto;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

body.is-locked {
  overflow: hidden;
}

::selection {
  color: var(--white);
  background: var(--red);
}

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

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

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.shell {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

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

.section {
  position: relative;
  padding-block: clamp(88px, 9vw, 140px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-family: var(--latin);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.eyebrow span {
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0.16em;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.9;
}

.display-title,
.section-heading h2,
.page-hero h1,
.page-title,
.contact-cta h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(42px, 5vw, 74px);
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin-top: 16px;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.section-heading > p {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.8;
  text-align: right;
}

.button,
.nav-cta {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  transition: color 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.button span,
.nav-cta span {
  font-family: var(--latin);
  font-size: 1.05rem;
}

.button--primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 30px rgba(182, 76, 53, 0.2);
}

.button--primary:hover {
  background: var(--red-deep);
  box-shadow: 0 18px 38px rgba(182, 76, 53, 0.28);
}

.button--outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.button--outline:hover {
  color: var(--paper);
  background: var(--ink);
}

.button--light {
  color: var(--ink-deep);
  background: var(--paper-soft);
}

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

.text-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 18px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10002;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* Page transition */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  pointer-events: none;
  visibility: visible;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: 50% 0%;
}

.js .page-transition {
  transform: scaleY(1);
}

.page-transition__layer {
  position: absolute;
  inset: 0;
  transform: none;
}

.page-transition__layer--ink {
  background: var(--ink-deep);
}

.page-transition__layer--red {
  inset: 9px;
  border-radius: 0 0 42px 42px;
  background: var(--red);
}

.page-transition__label {
  position: relative;
  z-index: 1;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.2em;
  opacity: 1;
}

/* Header */
.site-header {
  position: fixed;
  top: 20px;
  right: 0;
  left: 0;
  z-index: 1000;
  pointer-events: none;
}

.site-header__inner {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(250, 247, 238, 0.78);
  box-shadow: 0 8px 30px rgba(40, 28, 17, 0.07);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  pointer-events: auto;
  transition: min-height 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
}

.site-header.is-scrolled .site-header__inner {
  min-height: 62px;
  background: rgba(250, 247, 238, 0.93);
  box-shadow: 0 14px 40px rgba(40, 28, 17, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__seal {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  overflow: hidden;
}

.brand__seal img {
  width: 27px;
  height: 27px;
  filter: invert(1) sepia(0.08);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__text strong {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.brand__text small {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--latin);
  font-size: 0.48rem;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
}

.primary-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 11px;
  color: #50473f;
  font-size: 0.84rem;
  font-weight: 560;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 50%;
  bottom: 5px;
  left: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  content: "";
  transition: right 0.35s var(--ease), left 0.35s var(--ease);
}

.primary-nav > a:hover,
.primary-nav > a.is-active {
  color: var(--red);
}

.primary-nav > a:hover::after,
.primary-nav > a.is-active::after {
  right: 0;
  left: 0;
}

.nav-cta {
  min-height: 46px;
  color: var(--paper);
  background: var(--ink-deep);
}

.nav-cta:hover {
  background: var(--red);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  cursor: pointer;
  border-radius: 50%;
  background: var(--ink-deep);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--paper);
  transition: transform 0.35s var(--ease);
}

.nav-toggle .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
}

.nav-toggle[aria-expanded="true"] span:nth-last-child(2) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* Home hero */
.home-hero {
  position: relative;
  display: flex;
  min-height: max(780px, 100svh);
  align-items: center;
  padding: 142px 0 94px;
  overflow: hidden;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(115deg, rgba(247, 242, 231, 0.98) 0%, rgba(247, 242, 231, 0.93) 44%, rgba(231, 219, 199, 0.62) 100%),
    radial-gradient(circle at 85% 22%, rgba(182, 76, 53, 0.11), transparent 30%);
}

.home-hero::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  z-index: -1;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, var(--line), transparent);
  opacity: 0.55;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 3vw, 48px);
}

.home-hero__copy {
  position: relative;
  z-index: 4;
  padding-top: 24px;
}

.hero-kicker {
  margin-bottom: clamp(26px, 3vw, 42px);
}

.hero-title {
  font-size: clamp(3.4rem, 5.55vw, 5.8rem);
  max-width: 100%;
}

.hero-title .line {
  display: block;
  padding: 0.04em 0 0.08em;
  overflow: hidden;
}

.hero-title .line > span {
  display: block;
  white-space: nowrap;
}

.title-accent {
  position: relative;
  display: inline-block !important;
  color: var(--red);
}

.title-accent::after {
  position: absolute;
  right: -0.1em;
  bottom: 0;
  left: 0;
  height: 0.14em;
  border-radius: 50%;
  content: "";
  background: var(--gold);
  opacity: 0.28;
  transform: rotate(-1.5deg);
}

.hero-lead {
  max-width: 510px;
  margin-top: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 530px;
  margin-top: clamp(48px, 6vh, 76px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-proof > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.hero-proof > div + div {
  padding-left: 22px;
}

.hero-proof > div:last-child {
  border-right: 0;
}

.hero-proof strong {
  color: var(--ink-deep);
  font-family: var(--latin);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.1;
}

.hero-proof span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.home-hero__visual {
  position: relative;
  z-index: 2;
  width: calc(100% + 4vw);
}

.studio-scene {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: clamp(24px, 3.2vw, 48px);
  background: var(--paper-deep);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
}

.studio-scene::before {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 1px solid rgba(41, 34, 28, 0.1);
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.studio-scene__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-scene figcaption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  color: var(--paper);
  background: rgba(33, 28, 23, 0.62);
  backdrop-filter: blur(12px);
}

.studio-scene figcaption span {
  color: #e7c890;
  font-family: var(--latin);
  font-size: 0.72rem;
}

.studio-scene figcaption p {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit--one {
  top: -22vw;
  right: -15vw;
  width: 62vw;
  height: 62vw;
}

.hero-orbit--two {
  bottom: -26vw;
  left: -22vw;
  width: 52vw;
  height: 52vw;
  border-color: rgba(182, 76, 53, 0.16);
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-family: var(--latin);
  font-size: 0.55rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 28px;
  background: var(--line);
  overflow: hidden;
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--red);
  animation: scrollLine 2s var(--ease) infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-110%); }
  55%, 100% { transform: translateY(110%); }
}

/* Features */
.paper-panel {
  z-index: 2;
  border-radius: 56px 56px 0 0;
  background: var(--paper-soft);
  box-shadow: 0 -18px 50px rgba(54, 39, 25, 0.05);
}

.feature-index {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 46px;
}

.feature-index a {
  position: relative;
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(247, 242, 231, 0.62);
  overflow: hidden;
  transition: color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}

.feature-index a::before {
  position: absolute;
  inset: auto 0 0;
  height: 0;
  background: var(--red);
  content: "";
  transition: height 0.4s var(--ease);
}

.feature-index a:hover {
  color: var(--paper);
  transform: translateY(-5px);
}

.feature-index a:hover::before {
  height: 100%;
}

.feature-index span,
.feature-index strong,
.feature-index small {
  position: relative;
  z-index: 1;
}

.feature-index span {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50% 50% 45% 55%;
  color: var(--red);
  transition: color 0.35s ease;
}

.feature-index__icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}

.feature-index a:hover span {
  color: var(--paper);
}

.feature-index strong {
  font-size: 0.78rem;
  font-weight: 600;
}

.feature-index small {
  position: absolute;
  top: 12px;
  right: 13px;
  color: var(--muted);
  font-family: var(--latin);
  font-size: 0.55rem;
}

.feature-index a:hover small {
  color: rgba(255, 253, 248, 0.6);
}

.feature-bento {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 300px;
  grid-column: span 4;
  justify-content: space-between;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card::after {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.09;
}

.feature-card:hover {
  border-color: rgba(182, 76, 53, 0.45);
  box-shadow: var(--shadow);
}

.feature-card--wide {
  grid-column: span 8;
}

.feature-card--red {
  color: var(--paper-soft);
  background: var(--red);
  border-color: var(--red);
}

.feature-card--gold {
  background: #e8d6b5;
  border-color: #d7bd8d;
}

.feature-card--sage {
  color: var(--paper-soft);
  background: var(--sage);
  border-color: var(--sage);
}

.feature-card--ink {
  color: var(--paper-soft);
  background: var(--ink-deep);
  border-color: var(--ink-deep);
}

.feature-card__index {
  position: absolute;
  top: 23px;
  right: 26px;
  color: currentColor;
  font-family: var(--latin);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  opacity: 0.55;
}

.feature-card__icon {
  display: grid;
  width: 57px;
  height: 57px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 18px 18px 18px 5px;
  color: var(--red);
}

.feature-card__icon svg,
.feature-card__mark svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.7;
}

.feature-card--red .feature-card__icon,
.feature-card--sage .feature-card__icon,
.feature-card--ink .feature-card__icon {
  color: inherit;
}

.feature-card h3 {
  margin-top: auto;
  margin-bottom: 13px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 650;
}

.feature-card p {
  max-width: 590px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.feature-card--red p,
.feature-card--sage p,
.feature-card--ink p {
  color: rgba(255, 253, 248, 0.72);
}

.feature-card > i {
  position: absolute;
  right: 28px;
  bottom: 29px;
  font-family: var(--latin);
  font-style: normal;
  font-size: 1.15rem;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.features-editorial {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.features-editorial .feature-card {
  min-height: 320px;
  grid-column: span 4;
}

.features-editorial .feature-card--lead,
.features-editorial .feature-card--wide {
  grid-column: span 8;
}

.feature-card__number {
  position: absolute;
  top: 25px;
  right: 28px;
  color: currentColor;
  font-family: var(--latin);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  opacity: 0.52;
}

.feature-card__mark {
  display: grid;
  width: 57px;
  height: 57px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 18px 18px 18px 5px;
  color: var(--red);
}

.feature-card:hover > i {
  opacity: 1;
  transform: translate(0);
}

.feature-card--wide > div:not(.mini-screens) {
  max-width: 70%;
}

.feature-card--screens {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) 1fr;
  align-items: center;
  gap: 34px;
  min-height: 410px;
  color: var(--paper-soft);
  background: #41362d;
  border-color: #41362d;
}

.feature-card--screens > div:not(.mini-screens) {
  max-width: none;
}

.feature-card--screens p {
  color: rgba(255, 253, 248, 0.68);
}

.feature-card--screens ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.feature-card--screens li {
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.8);
  font-size: 0.7rem;
}

.mini-screens {
  position: relative;
  display: flex;
  height: 330px;
  align-items: flex-end;
  justify-content: center;
}

.mini-screens span {
  position: absolute;
  bottom: -75px;
  width: 42%;
  aspect-ratio: 0.48;
  border: 5px solid #1d1a17;
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.mini-screens span:first-child {
  left: 2%;
  transform: rotate(-8deg) translateY(22px);
}

.mini-screens span:nth-child(2) {
  z-index: 2;
  transform: translateY(-8px);
}

.mini-screens span:last-child {
  right: 2%;
  transform: rotate(8deg) translateY(22px);
}

.mini-screens img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Pricing */
.pricing-section {
  background: var(--paper-deep);
}

.pricing-grid {
  display: grid;
  max-width: 1090px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  margin-inline: auto;
}

.pricing-cards {
  display: grid;
  max-width: 1090px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  margin-inline: auto;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 690px;
  flex-direction: column;
  padding: clamp(34px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--paper-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transform-style: preserve-3d;
}

.price-card--featured {
  color: var(--paper-soft);
  background: var(--red-deep);
  border-color: var(--red-deep);
  box-shadow: 0 28px 70px rgba(113, 45, 32, 0.23);
}

.price-card::after {
  position: absolute;
  top: -130px;
  right: -110px;
  width: 300px;
  height: 300px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.08;
}

.price-card header > span {
  color: var(--red);
  font-family: var(--latin);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.price-card--featured header > span {
  color: #e6bd79;
}

.price-card h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 650;
}

.price-card header p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.price-card--featured header p {
  color: rgba(255, 253, 248, 0.63);
}

.price {
  display: flex;
  align-items: baseline;
  margin-block: 38px 30px;
  padding-block: 25px 28px;
  border-block: 1px solid var(--line);
}

.price-card--featured .price {
  border-color: rgba(255, 255, 255, 0.17);
}

.price small {
  align-self: flex-start;
  margin-top: 11px;
  margin-right: 7px;
  font-size: 1.1rem;
}

.price strong {
  font-family: var(--latin);
  font-size: clamp(3.2rem, 5vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.price span {
  margin-left: 12px;
  color: var(--muted);
  font-size: 0.75rem;
}

.price-card--featured .price span {
  color: rgba(255, 253, 248, 0.6);
}

.price-card ul {
  display: grid;
  gap: 13px;
  margin-bottom: 34px;
}

.price-card li {
  position: relative;
  padding-left: 23px;
  color: #5c5147;
  font-size: 0.87rem;
}

.price-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 5px;
  border-bottom: 1px solid var(--red);
  border-left: 1px solid var(--red);
  content: "";
  transform: translateY(-50%) rotate(-45deg);
}

.price-card--featured li {
  color: rgba(255, 253, 248, 0.78);
}

.price-card--featured li::before {
  border-color: #e6bd79;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.price-card__ribbon {
  position: absolute;
  top: 31px;
  right: -44px;
  width: 180px;
  padding: 7px;
  color: var(--ink-deep);
  background: #e6bd79;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  transform: rotate(40deg);
}

.price-card__header {
  position: relative;
}

.price-card__index {
  color: var(--red);
  font-family: var(--latin);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.price-card--featured .price-card__index {
  color: #e6bd79;
}

.price-card__price {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 34px;
  padding-block: 25px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--latin);
  font-size: clamp(3.2rem, 5vw, 5.1rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.price-card--featured .price-card__price {
  border-color: rgba(255, 255, 255, 0.17);
}

.price-card__price span {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 1.1rem;
  letter-spacing: 0;
}

.price-card__period {
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

.price-card--featured .price-card__period {
  border-color: rgba(255, 255, 255, 0.17);
  color: rgba(255, 253, 248, 0.58);
}

.price-features {
  display: grid;
  gap: 13px;
  margin-block: 32px;
}

.price-features li {
  position: relative;
  padding-left: 23px;
  color: #5c5147;
  font-size: 0.87rem;
}

.price-features li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 5px;
  border-bottom: 1px solid var(--red);
  border-left: 1px solid var(--red);
  content: "";
  transform: translateY(-50%) rotate(-45deg);
}

.price-card--featured .price-features li {
  color: rgba(255, 253, 248, 0.78);
}

.price-card--featured .price-features li::before {
  border-color: #e6bd79;
}

.price-card__badge {
  position: absolute;
  top: 31px;
  right: -44px;
  z-index: 2;
  width: 180px;
  padding: 7px;
  color: var(--ink-deep);
  background: #e6bd79;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  transform: rotate(40deg);
}

/* Advantages */
.ink-band {
  color: var(--paper-soft);
  background:
    radial-gradient(circle at 15% 0%, rgba(182, 76, 53, 0.22), transparent 35%),
    var(--ink-deep);
}

.advantages-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
  gap: clamp(70px, 9vw, 150px);
}

.advantages-sticky {
  position: sticky;
  top: 145px;
}

.advantages-sticky .eyebrow {
  color: #d7b578;
}

.advantages-sticky h2 {
  margin-block: 22px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 600;
  line-height: 1.15;
}

.advantages-sticky > p:last-child {
  max-width: 430px;
  color: rgba(255, 253, 248, 0.55);
  line-height: 1.9;
}

.advantage-list {
  counter-reset: advantage;
}

.advantage-list li {
  display: grid;
  min-height: 128px;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: padding 0.45s var(--ease), color 0.35s ease;
}

.advantage-list li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.advantage-list li:hover {
  padding-inline: 18px;
  color: #e6bd79;
}

.advantage-list span {
  color: var(--red);
  font-family: var(--latin);
  font-size: 0.72rem;
}

.advantage-list p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 2rem);
}

.advantage-list i {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.45);
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.16em;
}

/* Contact CTA */
.contact-cta {
  padding-block: clamp(76px, 8vw, 120px);
  background: var(--paper-deep);
}

.contact-cta__panel {
  display: grid;
  min-height: 520px;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 42px;
  background: var(--paper-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-cta__copy {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(42px, 5vw, 76px);
  background:
    radial-gradient(circle at 90% 10%, rgba(180, 138, 75, 0.16), transparent 36%),
    var(--paper-soft);
}

.contact-cta__copy::after {
  position: absolute;
  right: 30px;
  bottom: 20px;
  width: 110px;
  height: 110px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "知";
  color: rgba(182, 76, 53, 0.18);
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 110px;
  text-align: center;
  transform: rotate(-10deg);
}

.contact-cta h2 {
  margin-block: 25px 22px;
  font-size: clamp(3rem, 5.2vw, 5.3rem);
}

.contact-cta h2 em {
  color: var(--red);
  font-style: normal;
}

.contact-cta__copy > p:last-of-type {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.9;
}

.contact-cta__actions {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
}

.contact-choice {
  position: relative;
  display: grid;
  grid-template-columns: 0.7fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 34px 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--paper-soft);
  background: var(--ink-deep);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}

.contact-choice::before {
  position: absolute;
  top: -60%;
  left: -20%;
  width: 80%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  transition: transform 0.6s var(--ease);
}

.contact-choice:hover::before {
  transform: translate(18%, 18%) scale(1.1);
}

.contact-choice--red {
  border-bottom: 0;
  background: var(--red-deep);
}

.contact-choice span,
.contact-choice strong,
.contact-choice i {
  position: relative;
  z-index: 1;
}

.contact-choice span {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
}

.contact-choice strong {
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.contact-choice i {
  color: #e6bd79;
  font-family: var(--latin);
  font-size: 0.72rem;
  font-style: normal;
}

/* Generic subpage hero */
.page-hero {
  position: relative;
  display: flex;
  min-height: 620px;
  align-items: flex-end;
  padding: 170px 0 86px;
  overflow: hidden;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 82% 18%, rgba(182, 76, 53, 0.14), transparent 32%),
    linear-gradient(125deg, var(--paper-soft), var(--paper-deep));
}

.page-hero::after {
  position: absolute;
  top: 7%;
  right: -10vw;
  z-index: -1;
  width: min(56vw, 780px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.page-hero__grid,
.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 130px);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(44px, 6vw, 96px);
}

.product-hero__copy {
  position: relative;
  z-index: 3;
}

.product-hero .hero-title .line {
  margin-inline: -0.08em;
  padding-inline: 0.08em;
}

@media (min-width: 861px) {
  .product-hero h1.hero-title {
    font-size: clamp(3.6rem, 7vw, 7.3rem);
  }

  .product-hero h1.hero-title--product {
    font-size: clamp(2.9rem, 4.3vw, 4.3rem);
  }
}

.product-hero__visual {
  min-width: 0;
}

.page-hero__content {
  max-width: 710px;
}

.page-hero h1,
.page-title {
  margin-block: 24px 22px;
  font-size: clamp(4rem, 8vw, 8.4rem);
}

.page-title--long span {
  display: block;
}

.page-hero .lead {
  max-width: 570px;
}

.page-hero__number {
  color: transparent;
  font-family: var(--latin);
  font-size: clamp(9rem, 19vw, 19rem);
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 0.75;
  -webkit-text-stroke: 1px rgba(41, 34, 28, 0.16);
  text-align: right;
}

.page-hero__visual,
.hero-media {
  position: relative;
  min-height: 350px;
}

.screen-stack {
  position: relative;
  height: 460px;
}

.screen-stack__item {
  position: absolute;
  bottom: -74px;
  left: 50%;
  width: min(250px, 40%);
  aspect-ratio: 0.47;
  border: 7px solid var(--ink-deep);
  border-radius: 34px;
  background: white;
  box-shadow: 0 24px 60px rgba(42, 31, 22, 0.2);
  overflow: hidden;
  translate: -50% 0;
  transform-origin: center bottom;
}

.screen-stack__item--back {
  left: 4%;
  z-index: 1;
  translate: 0 42px;
  rotate: -8deg;
}

.screen-stack__item--middle {
  left: 40%;
  z-index: 2;
}

.screen-stack__item--front {
  left: auto;
  right: 4%;
  z-index: 3;
  translate: 0 25px;
  rotate: 7deg;
}

.screen-stack__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.screen-stack__item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 3px;
  padding: 48px 16px 15px;
  color: var(--paper-soft);
  background: linear-gradient(transparent, rgba(23, 21, 18, 0.9));
}

.screen-stack__item figcaption span {
  color: #e6bd79;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
}

.screen-stack__item figcaption strong {
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 500;
}

/* Generic cards and editorial layouts for subpages */
.card,
.editorial-card,
.info-card,
.support-card,
.contact-card,
.team-card,
.case-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper-soft);
  box-shadow: var(--shadow-soft);
}

.card-grid,
.editorial-grid,
.feature-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.split-layout,
.about-grid,
.content-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.prose h2,
.split-layout h2,
.about-copy h2,
.content-copy h2 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4.4rem);
  font-weight: 600;
  line-height: 1.2;
}

.prose p + p,
.about-copy p + p,
.content-copy p + p {
  margin-top: 18px;
}

.prose p,
.about-copy p,
.content-copy p {
  color: var(--muted);
  line-height: 2;
}

.image-window,
.about-image,
.editorial-image {
  position: relative;
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-window::after,
.about-image::after,
.editorial-image::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(182, 76, 53, 0.1), transparent 45%, rgba(41, 34, 28, 0.1));
  mix-blend-mode: multiply;
}

.image-window img,
.about-image img,
.editorial-image img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  filter: sepia(0.1) saturate(0.82) contrast(0.96);
}

/* Feature cards on product */
.product-features .feature-grid > article,
.product-features .features-grid > article,
.feature-editorial-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
}

.feature-editorial-card .card-number,
.product-features [class*="number"] {
  color: var(--red);
  font-family: var(--latin);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.feature-editorial-card h3,
.product-features article h3 {
  margin-top: auto;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
}

.feature-editorial-card p,
.product-features article p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Cases */
.cases-section,
.case-section {
  overflow: hidden;
}

.case-grid {
  display: grid;
  width: min(1280px, calc(100% - 64px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  margin-inline: auto;
}

.case-card {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 14px;
  overflow: hidden;
  transform-origin: center top;
  transform-style: preserve-3d;
}

.case-card__media,
.case-media,
.case-card__screen {
  position: relative;
  border-radius: 20px;
  background: #ded5c7;
}

.case-card__screen:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: -1px;
}

.case-card__screen::-webkit-scrollbar {
  width: 6px;
}

.case-card__screen::-webkit-scrollbar-track {
  background: transparent;
}

.case-card__screen::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(182, 76, 53, 0.55);
}

.case-card__media img,
.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s var(--ease);
}

.case-card:hover .case-card__media img,
.case-card:hover .case-media img {
  transform: scale(1.04);
}

.case-card__content,
.case-content {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding: 25px 12px 12px;
}

.case-card__screen {
  position: relative;
  aspect-ratio: 71.5 / 149.6;
  border-radius: 20px;
  background: #ded5c7;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(182, 76, 53, 0.55) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.case-card__screen img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
}

.case-grid__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.78rem;
}

.case-grid__footer > a {
  margin-left: auto;
}

.case-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
}

.case-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.75;
}

.case-tag,
.tag {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 18px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--red);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
}

/* Stats */
.stats-section,
.stats-band {
  padding-block: 0;
  color: var(--paper-soft);
  background: var(--ink-deep);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-item {
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.stat {
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  color: var(--paper-soft);
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.stat:last-child {
  border-right: 0;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-number,
.stat-value,
.stat__number {
  color: #e6bd79;
  font-family: var(--latin);
  font-size: clamp(3.2rem, 5vw, 5.4rem);
  line-height: 1;
}

.stat-label {
  margin-top: 16px;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
}

.stat > p {
  margin-top: 16px;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.team-card {
  position: relative;
  min-height: 560px;
  padding: 13px;
  overflow: hidden;
}

.team-card figure,
.team-card__image,
.team-card__media {
  height: 430px;
  border-radius: 20px;
  background: var(--paper-deep);
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.16) saturate(0.76) contrast(0.96);
  transition: filter 0.45s ease, transform 0.7s var(--ease);
}

.team-card:hover img {
  filter: none;
  transform: scale(1.035);
}

.team-card__info,
.team-info,
.team-card__body {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 24px 12px 12px;
}

.team-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
}

.team-card p {
  color: var(--muted);
  font-size: 0.76rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 970px;
  margin-inline: auto;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 126px;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  min-height: 180px;
  grid-template-columns: 126px 1fr;
  gap: 54px;
  padding-bottom: 34px;
}

.timeline__item {
  position: relative;
  display: grid;
  min-height: 180px;
  grid-template-columns: 126px 1fr;
  align-items: start;
  gap: 54px;
  padding: 24px 28px 34px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.timeline__item::before {
  position: absolute;
  top: 33px;
  left: 121px;
  z-index: 1;
  width: 11px;
  height: 11px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 1px var(--red);
  content: "";
}

.timeline__item time {
  color: var(--red);
  font-family: var(--latin);
  font-size: 1.45rem;
  font-weight: 600;
}

.timeline__item p {
  padding: 3px 0 42px 54px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.9;
}

.timeline-item::before {
  position: absolute;
  top: 13px;
  left: 121px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 1px var(--red);
  content: "";
}

.timeline-year {
  color: var(--red);
  font-family: var(--latin);
  font-size: 1.45rem;
  font-weight: 600;
}

.timeline-content {
  padding: 4px 0 38px;
  border-bottom: 1px solid var(--line);
}

.timeline-content h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
}

.timeline-content p,
.timeline-item > p {
  color: var(--muted);
  line-height: 1.9;
}

/* Accordion / support */
.accordion {
  display: grid;
  gap: 18px;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.accordion-trigger {
  display: grid;
  width: 100%;
  min-height: 150px;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px 38px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.accordion-trigger > span:first-child,
.accordion-number {
  color: var(--red);
  font-family: var(--latin);
  font-size: 2.2rem;
}

.accordion-trigger h2,
.accordion-trigger h3 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  font-weight: 600;
}

.accordion-trigger p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.83rem;
}

.accordion-icon {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.accordion-icon::before,
.accordion-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease);
}

.accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease);
}

.accordion-panel[aria-hidden="false"],
.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel > div,
.accordion-panel__inner {
  min-height: 0;
  overflow: hidden;
}

.accordion-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 38px 35px 156px;
  border-top: 1px solid var(--line);
}

.accordion-list a,
.accordion-list li {
  display: flex;
  min-height: 105px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  padding: 20px 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.79rem;
  transition: color 0.3s ease, background 0.3s ease;
}

.accordion-list > *:last-child {
  border-right: 0;
}

.accordion-list a::after,
.accordion-list li::after {
  color: var(--red);
  content: "↗";
  font-family: var(--latin);
}

.accordion-list a:hover {
  color: var(--ink);
  background: var(--paper-deep);
}

.support-layout {
  display: grid;
  gap: 18px;
}

.support-accordion {
  display: grid;
  gap: 18px;
}

details.accordion {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

details.accordion > summary {
  list-style: none;
}

details.accordion > summary::-webkit-details-marker {
  display: none;
}

.accordion__symbol {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 20px 20px 20px 5px;
  color: var(--red);
}

.accordion__symbol svg {
  width: 29px;
  height: 29px;
  stroke-width: 1.65;
}

.accordion__heading {
  display: flex;
  flex-direction: column;
}

.accordion__heading strong {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  font-weight: 600;
}

.accordion__heading small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.8rem;
}

.accordion__toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.4s var(--ease), color 0.3s ease, background 0.3s ease;
}

.accordion__toggle svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.accordion-trigger[aria-expanded="true"] .accordion__toggle,
details.accordion[open] .accordion__toggle {
  color: var(--paper);
  background: var(--red);
  transform: rotate(45deg);
}

.support-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 38px 35px 156px;
  border-top: 1px solid var(--line);
}

.support-list li {
  border-right: 1px solid var(--line);
}

.support-list li:last-child {
  border-right: 0;
}

.support-list a {
  display: flex;
  min-height: 112px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  padding: 20px 18px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
  transition: color 0.3s ease, background 0.3s ease;
}

.support-list a span {
  color: var(--red);
  font-family: var(--latin);
  font-size: 0.63rem;
}

.support-list a:hover {
  color: var(--ink);
  background: var(--paper-deep);
}

.support-list__item {
  display: flex;
  min-height: 112px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  padding: 20px 18px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.support-list__item time {
  color: var(--red);
  font-family: var(--latin);
  font-size: 0.63rem;
  letter-spacing: 0.06em;
}

/* Knowledge base / SEO support content */
.knowledge-section {
  background: var(--paper-deep);
}

.knowledge-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.knowledge-toc {
  position: sticky;
  top: 112px;
  display: grid;
  grid-row: span 5;
  gap: 6px;
  padding: 28px;
}

.knowledge-toc h2 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.55rem;
}

.knowledge-toc a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  transition: color 0.3s ease, padding-left 0.3s var(--ease);
}

.knowledge-toc a:last-child {
  border-bottom: 0;
}

.knowledge-toc a:hover {
  padding-left: 6px;
  color: var(--red);
}

.knowledge-card {
  scroll-margin-top: 110px;
  padding: clamp(30px, 4vw, 58px);
}

.knowledge-card h2 {
  margin: 12px 0 22px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  line-height: 1.18;
}

.knowledge-card > p:not(.eyebrow):not(.knowledge-note) {
  color: var(--muted);
  line-height: 1.95;
}

.knowledge-points,
.knowledge-steps {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.knowledge-points li,
.knowledge-steps li {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.knowledge-points strong,
.knowledge-steps strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.knowledge-points span,
.knowledge-steps span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.85;
}

.knowledge-note {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 3px solid var(--red);
  color: var(--muted);
  background: var(--paper-deep);
  font-size: 0.82rem;
  line-height: 1.8;
}

.knowledge-card .button {
  margin-top: 30px;
}

.knowledge-layout > .section-heading,
.knowledge-layout > .faq-list,
.knowledge-layout > .knowledge-contact {
  grid-column: 1 / -1;
}

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

.faq-item {
  scroll-margin-top: 110px;
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 28px 72px 28px 30px;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 30px;
  content: "+";
  color: var(--red);
  font-family: var(--latin);
  font-size: 1.65rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 30px;
  padding: 0 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.95;
}

.faq-item[open] p {
  padding-top: 24px;
}

.knowledge-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(30px, 4vw, 52px);
}

.knowledge-contact h2 {
  margin: 10px 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.knowledge-contact p:last-child {
  color: var(--muted);
  line-height: 1.75;
}

/* Contact page */
.contact-panels,
.contact-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 22px;
}

.contact-panel,
.contact-card {
  position: relative;
  min-height: 440px;
  padding: clamp(30px, 4vw, 50px);
  overflow: hidden;
}

.contact-panel--wide,
.contact-card--wide {
  grid-column: span 2;
}

.contact-panel--dark,
.contact-card--dark {
  color: var(--paper-soft);
  background: var(--ink-deep);
  border-color: var(--ink-deep);
}

.contact-panel--red,
.contact-card--red {
  color: var(--paper-soft);
  background: var(--red-deep);
  border-color: var(--red-deep);
}

.contact-panel h2,
.contact-panel h3,
.contact-card h2,
.contact-card h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 600;
  line-height: 1.2;
}

.contact-panel > p,
.contact-card > p,
.contact-desc {
  max-width: 540px;
  color: var(--muted);
  line-height: 1.9;
}

.contact-panel--dark > p,
.contact-card--dark > p,
.contact-panel--red > p,
.contact-card--red > p {
  color: rgba(255, 253, 248, 0.62);
}

.contact-details {
  display: grid;
  gap: 0;
  margin-block: 32px;
  border-top: 1px solid var(--line);
}

.contact-details > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
}

.contact-details > dt,
.contact-details > dd {
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
}

.contact-details > dt {
  width: 110px;
  padding-left: 2px;
}

.contact-details > dd {
  min-height: 51px;
  margin-top: -51px;
  padding-left: 128px;
}

.contact-details dt {
  color: var(--muted);
  font-size: 0.73rem;
}

.contact-details dd {
  font-family: var(--latin);
  font-size: 0.88rem;
}

.contact-panel--dark .contact-details,
.contact-panel--dark .contact-details > div,
.contact-panel--red .contact-details,
.contact-panel--red .contact-details > div {
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-panel--dark .contact-details dt,
.contact-panel--red .contact-details dt {
  color: rgba(255, 253, 248, 0.5);
}

.contact-card__symbol {
  position: absolute;
  top: 25px;
  right: 30px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 5px;
  color: var(--red);
}

.contact-card__symbol svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.7;
}

.contact-card .eyebrow {
  margin-bottom: 20px;
}

.contact-card .button {
  margin-top: 10px;
  color: var(--paper);
  background: var(--red);
}

.contact-data {
  display: grid;
  margin-block: 30px;
  border-top: 1px solid var(--line);
  font-style: normal;
}

.contact-data p {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}

.contact-data span {
  color: var(--muted);
  font-size: 0.7rem;
}

.contact-data a,
.contact-data strong {
  font-family: var(--latin);
  font-size: 0.83rem;
  font-style: normal;
  font-weight: 500;
}

.job-list {
  display: grid;
  gap: 0;
  margin-block: 28px;
  border-top: 1px solid var(--line);
}

.job-list li {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.job-list strong {
  font-family: var(--serif);
  font-size: 1.06rem;
}

.job-list span {
  color: var(--muted);
  font-size: 0.72rem;
}

/* Footer */
.site-footer {
  position: relative;
  padding: 90px 0 24px;
  color: var(--paper-soft);
  background: #151310;
  overflow: hidden;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 80px;
  padding-bottom: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand--footer .brand__text strong {
  color: var(--paper-soft);
}

.brand--footer .brand__text small {
  color: rgba(255, 253, 248, 0.45);
}

.footer-brand > p {
  max-width: 290px;
  margin-top: 24px;
  color: rgba(255, 253, 248, 0.47);
  font-size: 0.84rem;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
}

.footer-links h3 {
  margin-bottom: 21px;
  color: #d8b97c;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.15em;
}

.footer-links a {
  align-self: flex-start;
  margin-block: 5px;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.76rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--paper-soft);
  transform: translateX(4px);
}

.site-footer__wordmark {
  height: 0.9em;
  margin-block: 25px 38px;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(6rem, 19vw, 18rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.9;
  opacity: 0.14;
  white-space: nowrap;
  -webkit-text-stroke: 1px var(--paper-soft);
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 253, 248, 0.38);
  font-size: 0.7rem;
}

.site-footer__bottom > p {
  grid-column: 1;
  justify-self: start;
}

.site-footer__bottom > a {
  grid-column: 2;
  justify-self: center;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.58);
  letter-spacing: 0.04em;
  text-align: center;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.site-footer__bottom::after,
.footer-legal::after {
  grid-column: 3;
  content: "";
}

.site-footer__bottom a:hover {
  color: rgba(255, 253, 248, 0.75);
  border-color: rgba(230, 189, 121, 0.62);
  background: rgba(230, 189, 121, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px;
  padding-bottom: 70px;
}

.footer-column h2 {
  margin-bottom: 20px;
  color: #d8b97c;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.15em;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
}

.footer-column a {
  display: inline-block;
  margin-block: 5px;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.76rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column a:hover {
  color: var(--paper-soft);
  transform: translateX(4px);
}

.footer-legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 253, 248, 0.38);
  font-size: 0.7rem;
}

.footer-legal > p:first-child {
  grid-column: 1;
  justify-self: start;
}

.footer-legal > p:last-child {
  grid-column: 2;
  justify-self: center;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.58);
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
}

.footer-legal a {
  color: inherit;
  transition: color 0.3s ease;
}

.footer-legal > p:last-child:hover {
  border-color: rgba(230, 189, 121, 0.62);
  background: rgba(230, 189, 121, 0.08);
  color: rgba(255, 253, 248, 0.82);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: rgba(18, 15, 12, 0.7);
  backdrop-filter: blur(10px);
}

.modal__paper {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: clamp(32px, 5vw, 55px);
  border-radius: 34px;
  background: var(--paper-soft);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: clamp(32px, 5vw, 55px);
  border-radius: 34px;
  background: var(--paper-soft);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}

.modal__dialog::after {
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 25px;
  pointer-events: none;
  content: "";
}

.modal__dialog h2 {
  margin-block: 18px 12px;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
}

.modal__dialog > p {
  color: var(--muted);
  line-height: 1.8;
}

.modal__primary {
  display: block;
  margin-block: 14px;
  color: var(--red);
  font-family: var(--latin);
  font-size: clamp(2rem, 6vw, 3.3rem);
  letter-spacing: -0.04em;
}

.modal__qr {
  width: min(270px, 80%);
  aspect-ratio: 1;
  margin: 22px auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  overflow: hidden;
}

.modal__qr img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: contain;
}

/* Secondary-page composition */
.about-intro__media {
  position: relative;
  min-height: 500px;
  border-radius: 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-intro__media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(182, 76, 53, 0.1), transparent 45%, rgba(41, 34, 28, 0.12));
  mix-blend-mode: multiply;
}

.about-intro__media img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  filter: sepia(0.12) saturate(0.8) contrast(0.96);
}

.about-intro__copy .section-heading {
  display: block;
  margin-bottom: 26px;
  padding-bottom: 20px;
}

.about-intro__copy .section-heading h2 {
  margin-top: 0;
  font-size: clamp(2.5rem, 4vw, 4.4rem);
}

.about-intro__copy > p {
  color: var(--muted);
  line-height: 2;
}

.about-intro__copy > p + p {
  margin-top: 18px;
}

.page-hero--about::before {
  background:
    linear-gradient(90deg, rgba(247, 242, 231, 0.98) 0%, rgba(247, 242, 231, 0.88) 56%, rgba(247, 242, 231, 0.24)),
    url("../../images/6476260.webp") 82% 43% / cover no-repeat;
}

.page-hero--support::before {
  background:
    radial-gradient(circle at 80% 20%, rgba(182, 76, 53, 0.16), transparent 28%),
    linear-gradient(130deg, var(--paper-soft), #e8dac3);
}

.page-hero--contact::before {
  background:
    radial-gradient(circle at 78% 20%, rgba(102, 121, 112, 0.18), transparent 30%),
    linear-gradient(130deg, var(--paper-soft), #e8ddca);
}

.modal__paper::after {
  position: absolute;
  inset: 12px;
  border: 1px solid var(--line);
  border-radius: 25px;
  pointer-events: none;
  content: "";
}

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

.modal__paper h2 {
  margin-block: 18px 12px;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  font-family: var(--latin);
  font-size: 1.5rem;
  line-height: 1;
}

.modal__paper--qr {
  width: min(450px, 100%);
  text-align: center;
}

.modal__paper--qr .eyebrow {
  justify-content: center;
}

.qr-frame {
  position: relative;
  width: min(260px, 78%);
  aspect-ratio: 1;
  margin: 25px auto 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  overflow: hidden;
}

.qr-frame::after {
  position: absolute;
  right: 12px;
  left: 12px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  box-shadow: 0 0 12px var(--red);
  content: "";
  animation: qrScan 3s ease-in-out infinite;
}

@keyframes qrScan {
  0%, 100% { top: 12px; opacity: 0; }
  15%, 85% { opacity: 0.8; }
  50% { top: calc(100% - 14px); }
}

.qr-frame img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: contain;
}

.modal__paper--qr > p:last-child {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Cursor */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
}

.cursor-ring {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(41, 34, 28, 0.45);
  color: transparent;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.cursor-ring span {
  font-family: var(--latin);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.cursor-ring.is-view {
  width: 72px;
  height: 72px;
  border-color: var(--red);
  color: var(--paper);
  background: var(--red);
}

body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring {
  opacity: 1;
}

body.has-custom-cursor .cursor-dot {
  margin: -3px 0 0 -3px;
}

body.has-custom-cursor .cursor-ring {
  margin: -19px 0 0 -19px;
}

.cursor-ring.is-hovering {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px !important;
  border-color: var(--red);
  background: rgba(182, 76, 53, 0.08);
}

.cursor-ring.is-pressed {
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px !important;
}

/* Motion initial states: only hidden after JS marks itself ready */
.motion-ready .reveal,
.motion-ready .stagger > * {
  opacity: 0;
  transform: translateY(34px);
}

.motion-ready .reveal.is-visible,
.motion-ready .stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal,
.stagger > * {
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.stagger.is-visible > *:nth-child(2) { transition-delay: 0.07s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.21s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.35s; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 0.42s; }
.stagger.is-visible > *:nth-child(8) { transition-delay: 0.49s; }
.stagger.is-visible > *:nth-child(9) { transition-delay: 0.56s; }
.stagger.is-visible > *:nth-child(10) { transition-delay: 0.63s; }

.mobile-tabs {
  display: none;
}

/* Tablet */
@media (max-width: 1120px) {
  .shell {
    width: min(100% - 44px, 1060px);
  }

  .primary-nav {
    gap: 17px;
  }

  .primary-nav > a:not(.nav-cta) {
    font-size: 0.78rem;
  }

  .home-hero__grid {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    gap: 30px;
  }

  .hero-title {
    font-size: clamp(3.25rem, 6.8vw, 4.9rem);
  }

  .feature-index {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-card {
    grid-column: span 6;
  }

  .feature-card--wide {
    grid-column: span 12;
  }

  .features-editorial .feature-card,
  .features-editorial .feature-card--lead,
  .features-editorial .feature-card--wide {
    grid-column: span 6;
  }

  .footer-links {
    gap: 20px;
  }

  .accordion-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .support-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile and compact tablet */
@media (max-width: 860px) {
  :root {
    --header-h: 62px;
  }

  html {
    scroll-padding-top: 82px;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .shell {
    width: min(100% - 32px, 720px);
  }

  .section {
    padding-block: 80px;
  }

  .site-header {
    top: 12px;
  }

  .site-header__inner {
    padding: 7px 8px 7px 13px;
  }

  .brand__seal {
    width: 43px;
    height: 43px;
  }

  .brand__text small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: -1;
    display: flex;
    height: 100svh;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    padding: 110px 9vw 100px;
    border-radius: 0 0 36px 36px;
    background:
      radial-gradient(circle at 90% 12%, rgba(182, 76, 53, 0.14), transparent 32%),
      var(--paper-soft);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-105%);
    transition: opacity 0.45s ease, transform 0.65s var(--ease);
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav > a:not(.nav-cta) {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .primary-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .primary-nav .nav-cta {
    margin-top: 28px;
  }

  .mobile-tabs {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 900;
    display: grid;
    min-height: 66px;
    grid-template-columns: repeat(5, 1fr);
    padding: 6px 5px calc(6px + env(safe-area-inset-bottom));
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    background: rgba(251, 248, 240, 0.91);
    box-shadow: 0 12px 40px rgba(41, 30, 20, 0.16);
    backdrop-filter: blur(18px);
  }

  .mobile-tabs a {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    border-radius: 16px;
    color: var(--muted);
  }

  .mobile-tabs a > span:first-child {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
  }

  .mobile-tabs__icon svg {
    width: 15px;
    height: 15px;
    stroke-width: 1.8;
  }

  .mobile-tabs a > span:last-child:not(:first-child) {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    font-family: var(--sans);
    font-size: 0.56rem;
  }

  .mobile-tabs small {
    font-size: 0.56rem;
  }

  .mobile-tabs a.is-active {
    color: var(--red);
    background: rgba(182, 76, 53, 0.07);
  }

  .home-hero {
    min-height: auto;
    align-items: flex-start;
    padding: 112px 0 74px;
  }

  .home-hero::after {
    display: none;
  }

  .home-hero__grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .home-hero__copy {
    width: 100%;
  }

  .hero-title {
    font-size: clamp(3rem, 10.7vw, 5rem);
  }

  .hero-lead {
    max-width: 620px;
  }

  .home-hero__visual {
    width: 100%;
  }

  .studio-scene {
    border-radius: 26px;
  }

  .studio-scene figcaption {
    bottom: 12px;
    left: 12px;
    padding: 8px 10px;
  }

  .studio-scene figcaption p {
    display: none;
  }

  .hero-proof {
    max-width: none;
  }

  .hero-proof > div {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .scroll-cue {
    display: none;
  }

  .paper-panel {
    border-radius: 34px 34px 0 0;
  }

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

  .section-heading > p {
    text-align: left;
  }

  .feature-index {
    display: flex;
    width: calc(100vw - 16px);
    margin-right: -16px;
    padding-right: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .feature-index::-webkit-scrollbar {
    display: none;
  }

  .feature-index a {
    width: 150px;
    min-width: 150px;
    scroll-snap-align: start;
  }

  .feature-card,
  .feature-card--wide {
    min-height: 280px;
    grid-column: span 12;
  }

  .feature-card--screens {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .pricing-grid,
  .pricing-cards,
  .advantages-layout,
  .contact-cta__panel,
  .product-hero__grid,
  .page-hero__grid,
  .page-hero__inner,
  .split-layout,
  .about-grid,
  .content-split,
  .site-footer__top,
  .contact-panels,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 660px;
  }

  .advantages-sticky {
    position: static;
  }

  .contact-cta__panel {
    min-height: auto;
  }

  .contact-cta__copy {
    min-height: 430px;
  }

  .contact-choice {
    min-height: 190px;
  }

  .page-hero {
    min-height: 560px;
    padding: 135px 0 70px;
  }

  .page-hero__number {
    position: absolute;
    right: 16px;
    bottom: -20px;
    z-index: -1;
    opacity: 0.7;
  }

  .page-hero__visual,
  .hero-media {
    min-height: 300px;
  }

  .screen-stack {
    height: 360px;
  }

  .screen-stack__item {
    bottom: -28px;
  }

  .card-grid,
  .editorial-grid,
  .feature-grid,
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-editorial .feature-card,
  .features-editorial .feature-card--lead,
  .features-editorial .feature-card--wide {
    grid-column: span 6;
  }

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

  .stat-item {
    min-height: 190px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat {
    min-height: 190px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .team-grid {
    display: flex;
    width: calc(100vw - 16px);
    padding-right: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .team-card {
    width: min(76vw, 390px);
    min-width: min(76vw, 390px);
    scroll-snap-align: start;
  }

  .accordion-list {
    grid-template-columns: 1fr 1fr;
    margin-left: 38px;
  }

  .support-list {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 38px;
  }

  .case-grid {
    width: min(100% - 32px, 720px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .contact-panel--wide,
  .contact-card--wide {
    grid-column: auto;
  }

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

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

  .site-footer__wordmark {
    margin-bottom: 28px;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@media (max-width: 560px) {
  .shell {
    width: calc(100% - 28px);
  }

  .section {
    padding-block: 68px;
  }

  .eyebrow {
    font-size: 0.63rem;
    letter-spacing: 0.14em;
  }

  .eyebrow span {
    letter-spacing: 0.1em;
  }

  .section-heading {
    margin-bottom: 36px;
    padding-bottom: 20px;
  }

  .section-heading h2 {
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

  .case-grid__footer {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

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

  .case-grid__footer > a {
    width: 100%;
    margin-left: 0;
  }

  .brand__text strong {
    font-size: 0.92rem;
  }

  .home-hero {
    padding-top: 104px;
  }

  .hero-kicker {
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(2.75rem, 13vw, 4.1rem);
    line-height: 1.06;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 0.93rem;
    line-height: 1.8;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    margin-top: 38px;
  }

  .hero-proof > div,
  .hero-proof > div + div {
    padding-inline: 10px;
  }

  .hero-proof > div:first-child {
    padding-left: 0;
  }

  .hero-proof span {
    font-size: 0.58rem;
  }

  .studio-scene {
    aspect-ratio: 0.88;
  }

  .studio-scene__image {
    object-position: 64% center;
  }

  .feature-bento {
    gap: 12px;
  }

  .feature-card {
    min-height: 260px;
    padding: 24px;
    border-radius: 23px;
  }

  .feature-card--wide > div:not(.mini-screens) {
    max-width: 100%;
  }

  .feature-card--screens {
    display: flex;
    min-height: 560px;
    flex-direction: column;
    align-items: stretch;
  }

  .feature-card--screens > div:not(.mini-screens) {
    order: -1;
  }

  .mini-screens {
    height: 290px;
  }

  .price-card {
    min-height: 0;
    padding: 30px 24px;
    border-radius: 27px;
  }

  .price strong {
    font-size: clamp(3.3rem, 16vw, 4.6rem);
  }

  .advantage-list li {
    min-height: 108px;
    grid-template-columns: 38px 1fr;
    gap: 15px;
  }

  .advantage-list i {
    display: none;
  }

  .contact-cta__panel {
    width: calc(100% - 20px);
    border-radius: 30px;
  }

  .contact-cta__copy {
    min-height: 400px;
    padding: 36px 27px;
  }

  .contact-cta h2 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .contact-choice {
    min-height: 185px;
    grid-template-columns: 1fr auto;
    padding: 28px 25px;
  }

  .contact-choice strong {
    grid-row: 2;
  }

  .contact-choice i {
    grid-row: 1 / 3;
    grid-column: 2;
    writing-mode: vertical-rl;
  }

  .page-hero {
    min-height: 500px;
  }

  .page-hero h1,
  .page-title {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
  }

  .page-hero h1.page-title--long {
    max-width: 100%;
    font-size: clamp(2.6rem, 11.8vw, 4rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .page-hero__grid,
  .page-hero__inner,
  .product-hero__grid {
    gap: 24px;
  }

  .screen-stack {
    height: 330px;
  }

  .screen-stack__item {
    bottom: -12px;
    width: 39%;
    border-width: 4px;
    border-radius: 22px;
  }

  .screen-stack__item--back {
    left: 6%;
    translate: 0 22px;
    rotate: -7deg;
  }

  .screen-stack__item--middle {
    left: 55%;
  }

  .screen-stack__item--front {
    right: 6%;
    translate: 0 18px;
    rotate: 6deg;
  }

  .screen-stack__item figcaption {
    display: none;
  }

  .card-grid,
  .editorial-grid,
  .feature-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-editorial {
    grid-template-columns: 1fr;
  }

  .features-editorial .feature-card,
  .features-editorial .feature-card--lead,
  .features-editorial .feature-card--wide {
    min-height: 270px;
    grid-column: 1;
  }

  .case-card {
    border-radius: 24px;
  }

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

  .stat-item {
    min-height: 155px;
  }

  .stat-number,
  .stat-value,
  .stat__number {
    font-size: 2.8rem;
  }

  .stat {
    min-height: 155px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-left: 50px;
  }

  .timeline-item::before {
    left: 15px;
  }

  .timeline__item {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 0 28px 50px;
  }

  .timeline__item::before {
    top: 20px;
    left: 15px;
  }

  .timeline__item p {
    padding: 0 0 28px;
  }

  .accordion-trigger {
    min-height: 130px;
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
    padding: 22px 18px;
  }

  .accordion-trigger > span:first-child,
  .accordion-number {
    font-size: 1.4rem;
  }

  .accordion-trigger h2,
  .accordion-trigger h3 {
    font-size: 1.45rem;
  }

  .accordion-icon {
    width: 36px;
    height: 36px;
  }

  .accordion-list {
    grid-template-columns: 1fr;
    margin: 0 18px 22px 18px;
  }

  .accordion-list a,
  .accordion-list li {
    min-height: 72px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .support-list {
    grid-template-columns: 1fr;
    margin: 0 18px 22px;
  }

  .support-list li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .support-list a {
    min-height: 76px;
  }

  .support-list__item {
    min-height: 76px;
  }

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

  .knowledge-toc {
    position: static;
    grid-row: auto;
  }

  .knowledge-points li,
  .knowledge-steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .knowledge-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .team-card {
    width: 82vw;
    min-width: 82vw;
  }

  .team-card figure,
  .team-card__image,
  .team-card__media {
    height: 370px;
  }

  .contact-panel,
  .contact-card {
    min-height: auto;
    padding: 28px 23px;
  }

  .job-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding-block: 14px;
  }

  .site-footer {
    padding-top: 70px;
  }

  .site-footer__top {
    gap: 52px;
  }

  .footer-links {
    gap: 32px 16px;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    text-align: center;
  }

  .footer-legal {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    text-align: center;
  }

  .site-footer__bottom > p,
  .site-footer__bottom > a,
  .footer-legal > p:first-child,
  .footer-legal > p:last-child {
    grid-column: 1;
    justify-self: center;
  }

  .site-footer__bottom::after,
  .footer-legal::after {
    display: none;
  }

  .modal {
    padding: 12px;
  }

  .modal__paper {
    padding: 38px 25px 28px;
    border-radius: 28px;
  }

  .modal__dialog {
    padding: 38px 25px 28px;
    border-radius: 28px;
  }

  .about-intro__media,
  .about-intro__media img {
    min-height: 380px;
  }
}

@media (hover: none), (pointer: coarse) {
  .feature-card > i {
    opacity: 1;
    transform: none;
  }

  .magnetic,
  [data-tilt] {
    transform: none !important;
  }
}

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

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

  .motion-ready .reveal,
  .motion-ready .stagger > * {
    opacity: 1;
    transform: none;
  }
}
