*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: Satoshi, ui-sans-serif, system-ui, sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

html {
  scroll-behavior: smooth;
  background: var(--sanur-paper);
}

body {
  background: transparent;
  color: var(--sanur-ink);
  font-family: 'Satoshi', ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Animated liquid-gradient canvas injected by gradient.js.
     Fixed behind content, never intercepts clicks. The CSS background matches the
     active variant's base colour so there's no gray flash before WebGL's first frame. */

#sanur-gradient {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  display: block;
  background: var(--sanur-canvas-bg, var(--sanur-paper));
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3rem, 9vw, 8rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
  line-height: 1.55;
}

a {
  color: inherit;
}

.shell {
  max-width: 84rem;
  margin-inline: auto;
  padding-inline: var(--sanur-shell-px);
}

.section {
  padding-block: var(--sanur-section-py);
}

.kicker {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sanur-muted);
}

.meta {
  font-size: 0.8rem;
  color: var(--sanur-subtle);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--sanur-ink);
  border-radius: 9999px;
  color: var(--sanur-ink);
  font-weight: 500;
  transition: background 200ms ease, color 200ms ease, transform 120ms ease;
}

.btn-primary:hover,
  .btn-primary:focus-visible {
  background: var(--sanur-ink);
  color: var(--sanur-paper);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--sanur-accent);
  border-radius: 9999px;
  color: var(--sanur-accent-ink);
  font-weight: 500;
  transition: filter 200ms ease, transform 120ms ease;
}

.btn-accent:hover,
  .btn-accent:focus-visible {
  filter: brightness(0.92);
}

.btn-accent:active {
  transform: scale(0.97);
  filter: brightness(0.85);
}

.section-index {
  /* left-rail pinned numbering. Hidden below 1280px since shell eats the gutter at narrow widths. */
  display: none;
  position: absolute;
  inset-block-start: var(--sanur-section-py);
  inset-inline-start: var(--sanur-shell-px);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--sanur-subtle);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 1600px) {
  .section-index {
    display: block;
  }
}

.rule {
  border-top: 1px solid var(--sanur-rule);
}

.case-card {
  display: block;
  position: relative;
  cursor: pointer;
}

.case-card__media {
  overflow: hidden;
  transition: transform 400ms ease;
}

.case-card__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
  filter: saturate(0.92);
}

.case-card:hover .case-card__media img,
  .case-card:focus-visible .case-card__media img {
  transform: scale(1.03);
  filter: saturate(1);
}

.tier {
  position: relative;
  padding: 2.5rem 2rem;
  border: 1px solid var(--sanur-rule);
  background: transparent;
  display: flex;
  flex-direction: column;
}

.tier--popular {
  border-color: var(--sanur-accent);
}

.tier--popular::before {
  content: 'Popular';
  position: absolute;
  top: 0;
  right: 1.5rem;
  transform: translateY(-50%);
  padding: 0.25rem 0.75rem;
  background: var(--sanur-accent);
  color: var(--sanur-accent-ink);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tooltip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-inline-start: 0.375rem;
  border: 1px solid var(--sanur-rule);
  border-radius: 9999px;
  color: var(--sanur-subtle);
  font-size: 0.65rem;
  cursor: help;
}

.tooltip-trigger:hover,
  .tooltip-trigger:focus-visible {
  color: var(--sanur-accent);
  border-color: var(--sanur-accent);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field__label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sanur-muted);
}

.field__input,
  .field__select,
  .field__textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--sanur-rule);
  padding: 0.75rem 0;
  color: var(--sanur-ink);
  font: inherit;
  min-width: 0;
  /* flex children need this to actually shrink — fixes footer overflow at 768px */
  transition: border-color 200ms ease;
}

.field__input::-moz-placeholder, .field__textarea::-moz-placeholder {
  color: var(--sanur-subtle);
  opacity: 1;
  /* Firefox defaults placeholders to low opacity — force readable */
}

.field__input::placeholder,
  .field__textarea::placeholder {
  color: var(--sanur-subtle);
  opacity: 1;
  /* Firefox defaults placeholders to low opacity — force readable */
}

.field__textarea {
  resize: vertical;
  min-height: 8rem;
}

.field__input:focus,
  .field__select:focus,
  .field__textarea:focus {
  outline: none;
  border-color: var(--sanur-ink);
}

/* Floating pill nav — always fixed, spans the shell. data-nav-position="bottom" on <html> docks it at the bottom.
     No transform here on purpose: a transform on a containing element creates a new containing block for any
     position:fixed descendants (e.g. .nav__panel), which trapped the mobile menu inside the pill's width. */

#nav-root.nav-pill {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: calc(100% - var(--sanur-shell-px) * 2);
  max-width: 84rem;
  z-index: 40;
}

[data-nav-position="bottom"] #nav-root.nav-pill {
  top: auto;
  bottom: 1.25rem;
}

.nav-pill__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0.45rem 0.45rem 1.5rem;
  background: color-mix(in srgb, var(--sanur-paper) 35%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--sanur-rule);
  border-radius: 9999px;
}

.nav-pill__brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-pill__links {
  display: none;
}

@media (min-width: 768px) {
  .nav-pill__links {
    display: flex;
    flex: 1;
    justify-content: center;
  }

  .nav-pill__links ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
  }

  .nav-pill__links a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

.nav-pill__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-left: auto;
  /* on mobile (no links shown), pushes actions to the right edge */
}

.nav-pill__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--sanur-rule);
  border-radius: 9999px;
  color: var(--sanur-ink);
  background: transparent;
  flex-shrink: 0;
  transition: border-color 200ms ease, background 200ms ease;
}

.nav-pill__icon-btn:hover {
  border-color: var(--sanur-ink);
}

.nav-pill__cta {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav__panel {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 100vh;
  height: 100dvh;
  /* dynamic viewport height — avoids iOS Safari address-bar cutoff */
  background: var(--sanur-paper);
  z-index: 60;
  /* above #nav-root (z-40) and the nav--solid bar */
  transform: translateY(-100%);
  transition: transform 320ms ease;
  overflow-y: auto;
}

#nav-root.nav--open .nav__panel {
  transform: translateY(0);
}

[data-nav-link].nav__link--active {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.section-index.is-active-section {
  color: var(--sanur-ink);
}

.tooltip-bubble {
  position: absolute;
  z-index: 60;
  max-width: 18rem;
  padding: 0.5rem 0.75rem;
  background: var(--sanur-ink);
  color: var(--sanur-paper);
  font-size: 0.75rem;
  line-height: 1.45;
  border-radius: 0.25rem;
  box-shadow: 0 4px 24px rgb(0 0 0 / 0.08);
  opacity: 0;
  transition: opacity 160ms ease;
  pointer-events: none;
}

.tooltip-bubble[data-visible="true"] {
  opacity: 1;
}

.field__error {
  font-size: 0.7rem;
  color: #c0392b;
  min-height: 1.15em;
}

.field--error .field__input,
  .field--error .field__select,
  .field--error .field__textarea {
  border-bottom-color: #c0392b;
}

[data-hero-reveal] [data-word] {
  display: inline-block;
  clip-path: inset(-20% 0 110% 0);
  /* starts fully clipped; -20% top lets ascenders breathe */
  transform: translateY(0.2em);
  transition: clip-path 700ms ease, transform 700ms ease;
}

[data-hero-reveal].reveal-in [data-word] {
  clip-path: inset(-20% 0 -30% 0);
  /* final: extends the clip box beyond the line-box so descenders like "g" aren't cut */
  transform: translateY(0);
}

[data-hero-reveal] [data-reveal-fade],
  [data-hero-reveal] [data-reveal-ctas] {
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-hero-reveal].reveal-in [data-reveal-fade] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 500ms;
}

[data-hero-reveal].reveal-in [data-reveal-ctas] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 800ms;
}

@media (prefers-reduced-motion: reduce) {
  [data-hero-reveal] [data-word],
    [data-hero-reveal] [data-reveal-fade],
    [data-hero-reveal] [data-reveal-ctas] {
    clip-path: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.case-card__media {
  will-change: transform;
}

.panel {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--sanur-ink);
  /* override UA <dialog> default of color:black, otherwise modal text goes dark-on-dark in dark mode */
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
  margin: 0;
}

.panel::backdrop {
  background: rgb(0 0 0 / 0.3);
}

.panel__scrim {
  position: absolute;
  inset: 0;
}

.panel__body {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 100%;
  max-width: 56rem;
  background: var(--sanur-paper);
  padding: 3rem 2rem 5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: -20px 0 80px rgb(0 0 0 / 0.12);
}

.panel[open] .panel__body {
  transform: translateX(0);
}

.panel__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sanur-rule);
  border-radius: 9999px;
  background: var(--sanur-paper);
  color: var(--sanur-ink);
  z-index: 2;
}

.panel__close:hover {
  border-color: var(--sanur-ink);
}

/* ---- Modal panel content (templates inject into .panel__content) ---- */

.panel__header {
  padding-inline: 0.5rem;
  padding-block-end: 2rem;
}

.panel__header .kicker {
  margin-bottom: 0.75rem;
}

.panel__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-top: 0;
}

.panel__cover {
  margin: 0 0 2.5rem;
  padding: clamp(1rem, 4vw, 2.5rem);
  border-radius: 1.5rem;
  background: rgb(255 255 255 / 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--sanur-rule);
}

.panel__cover img {
  width: 100%;
  display: block;
}

.panel__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem 0.5rem;
  border-top: 1px solid var(--sanur-rule);
  border-bottom: 1px solid var(--sanur-rule);
  margin: 0 0 2.5rem;
}

.panel__meta > div .kicker {
  margin: 0 0 0.4rem;
}

.panel__meta > div p:not(.kicker) {
  font-size: 0.95rem;
}

.panel__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0 0 2.5rem;
  padding-inline: 0.5rem;
}

@media (min-width: 768px) {
  .panel__split {
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
  }
}

.panel__quote {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 1.75rem;
  margin: 0;
}

.panel__quote::before {
  content: '\201C';
  /* opening curly double quote */
  position: absolute;
  left: -0.4rem;
  top: -1.5rem;
  font-size: 5rem;
  line-height: 1;
  opacity: 0.45;
  font-weight: 900;
}

.panel__prose {
  max-width: 36rem;
}

.panel__prose p {
  margin-block: 1rem;
  font-size: 1rem;
  line-height: 1.65;
}

.panel__prose p:first-child {
  margin-top: 0;
}

.panel__prose p:last-child {
  margin-bottom: 0;
}

.panel__carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--sanur-rule);
  border: 0;
  padding: 0;
  transition: background 180ms ease, transform 180ms ease;
}

.panel__carousel-dot[data-active="true"] {
  background: var(--sanur-ink);
  transform: scale(1.15);
}

/* Demo variant picker — small toggle in bottom-right, panel pops up on click. */

.picker {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
}

.picker__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--sanur-rule);
  background: color-mix(in srgb, var(--sanur-paper) 35%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: var(--sanur-ink);
  cursor: pointer;
  transition: border-color 200ms ease, transform 200ms ease;
}

.picker__toggle:hover {
  border-color: var(--sanur-ink);
}

.picker[data-open="true"] .picker__toggle {
  transform: rotate(15deg);
  border-color: var(--sanur-ink);
}

.picker__panel {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: color-mix(in srgb, var(--sanur-paper) 35%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--sanur-rule);
  border-radius: 9999px;
  transform-origin: bottom right;
  transform: scale(0.92) translateY(0.5rem);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.picker[data-open="true"] .picker__panel {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.picker__chip {
  width: 1.4rem;
  height: 1.4rem;
  padding: 0;
  border-radius: 9999px;
  background: var(--picker-chip-color);
  border: 2px solid var(--picker-chip-base);
  box-shadow: 0 0 0 1px var(--sanur-rule);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.picker__chip:hover {
  transform: scale(1.18);
  box-shadow: 0 0 0 1px var(--sanur-ink);
}

.picker__chip[data-active="true"] {
  box-shadow: 0 0 0 2px var(--sanur-ink);
}

.picker__chip:focus-visible {
  outline: 2px solid var(--sanur-ink);
  outline-offset: 3px;
}

.picker__divider {
  width: 1px;
  align-self: stretch;
  background: var(--sanur-rule);
  margin-inline: 0.25rem;
}

.picker__nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--sanur-ink);
  cursor: pointer;
  transition: border-color 150ms ease;
}

.picker__nav-toggle:hover {
  border-color: var(--sanur-ink);
}

.picker__nav-icon {
  display: inline-flex;
}

.picker__nav-icon--bottom {
  display: none;
}

[data-nav-position="bottom"] .picker__nav-icon--top {
  display: none;
}

[data-nav-position="bottom"] .picker__nav-icon--bottom {
  display: inline-flex;
}

/* Nav at bottom? Move the picker to top-right and flip the panel direction
     so the two pills don't crash into each other. */

[data-nav-position="bottom"] .picker {
  top: 1.25rem;
  bottom: auto;
}

[data-nav-position="bottom"] .picker__panel {
  bottom: auto;
  top: calc(100% + 0.5rem);
  transform-origin: top right;
  transform: scale(0.92) translateY(-0.5rem);
}

[data-nav-position="bottom"] .picker[data-open="true"] .picker__panel {
  transform: scale(1) translateY(0);
}

/* ── Intro / welcome page (index.html: variant grid, no canvas) ── */

.intro-body {
  background: var(--sanur-paper);
}

.intro {
  min-height: 100vh;
  padding-block: clamp(3rem, 8vw, 6rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.intro__header {
  max-width: 42rem;
}

.intro__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-top: 0.75rem;
}

.intro__subhead {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: var(--sanur-muted);
  max-width: 34rem;
}

.intro__group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.intro__group-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sanur-subtle);
}

/* Mobile-first: single-column stack. From md up: equal 2-column grid (50/50). */

.intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .intro__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.intro__tile {
  display: block;
  text-decoration: none;
  transition: transform 220ms ease;
}

.intro__tile:hover,
  .intro__tile:focus-visible {
  transform: translateY(-3px);
}

.intro__tile figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--sanur-rule);
  /* shows while screenshot is loading or missing */
  border: 1px solid var(--sanur-rule);
}

.intro__tile figure img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

.intro__tile .kicker {
  margin-top: 0.85rem;
}

.intro__footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--sanur-rule);
}

.panel__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 1rem;
  border-top: 1px solid var(--sanur-rule);
  margin-top: 2rem;
}

.panel__nav-btn {
  color: var(--sanur-muted);
  padding: 0.5rem 0;
  font-weight: 500;
}

.panel__nav-btn:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.panel__nav-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .panel__body {
    transition: none;
  }
}

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

.visible {
  visibility: visible;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.right-5 {
  right: 1.25rem;
}

.top-5 {
  top: 1.25rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-24 {
  margin-top: 6rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.h-10 {
  height: 2.5rem;
}

.w-10 {
  width: 2.5rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-\[14ch\] {
  max-width: 14ch;
}

.max-w-sm {
  max-width: 24rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-xs {
  max-width: 20rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.border-collapse {
  border-collapse: collapse;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.resize {
  resize: both;
}

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

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

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-0 {
  gap: 0px;
}

.gap-12 {
  gap: 3rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-x-12 {
  -moz-column-gap: 3rem;
       column-gap: 3rem;
}

.gap-x-8 {
  -moz-column-gap: 2rem;
       column-gap: 2rem;
}

.gap-y-16 {
  row-gap: 4rem;
}

.gap-y-20 {
  row-gap: 5rem;
}

.gap-y-6 {
  row-gap: 1.5rem;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.self-start {
  align-self: flex-start;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.border {
  border-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-rule {
  border-color: var(--sanur-rule);
}

.bg-ink {
  background-color: var(--sanur-ink);
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-opacity-15 {
  --tw-bg-opacity: 0.15;
}

.p-1 {
  padding: 0.25rem;
}

.p-16 {
  padding: 4rem;
}

.p-8 {
  padding: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.pl-4 {
  padding-left: 1rem;
}

.pt-40 {
  padding-top: 10rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.text-accent {
  color: var(--sanur-accent);
}

.text-muted {
  color: var(--sanur-muted);
}

.text-paper {
  color: var(--sanur-paper);
}

.underline {
  text-decoration-line: underline;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.invert {
  --tw-invert: invert(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-blur-xl {
  --tw-backdrop-blur: blur(24px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* ---------- Fonts ---------- */

@font-face {
  font-family: 'Satoshi';

  font-style: normal;

  font-weight: 400;

  font-display: swap;

  src: url('../fonts/Satoshi-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Satoshi';

  font-style: normal;

  font-weight: 500;

  font-display: swap;

  src: url('../fonts/Satoshi-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Satoshi';

  font-style: normal;

  font-weight: 700;

  font-display: swap;

  src: url('../fonts/Satoshi-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Satoshi';

  font-style: normal;

  font-weight: 900;

  font-display: swap;

  src: url('../fonts/Satoshi-Black.woff2') format('woff2');
}

/* ---------- Design tokens ---------- */

:root {
  --sanur-paper: #f6f3ec;
  /* warm off-white page fallback / canvas base */
  --sanur-ink: #141311;
  /* near-black — single colour for all text and icons on the gradient */
  --sanur-muted: #141311;
  /* collapsed to ink; hierarchy from size/weight, not colour */
  --sanur-subtle: rgb(20 19 17 / 0.55);
  /* dark grey for de-emphasised meta (still readable on gradient) */
  --sanur-rule: rgb(20 19 17 / 0.25);
  /* hairline borders at 25% ink */
  --sanur-accent: #141311;
  /* collapsed to ink — the gradient carries all the colour */
  --sanur-accent-ink: #f6f3ec;
  /* paper on ink buttons / ribbon */
  --sanur-shell-px: clamp(1.25rem, 4vw, 3rem);
  --sanur-section-py: clamp(5rem, 10vw, 9rem);
}

/* Dark mode: invert paper/ink. The gradient palette is swapped separately in gradient.js
   to a darker variant so paper-coloured text remains readable on top. */

[data-theme="dark"] {
  --sanur-paper: #141311;
  /* page now dark */
  --sanur-ink: #f6f3ec;
  /* text now paper */
  --sanur-muted: #f6f3ec;
  --sanur-subtle: rgb(246 243 236 / 0.55);
  --sanur-rule: rgb(246 243 236 / 0.22);
  --sanur-accent: #f6f3ec;
  --sanur-accent-ink: #141311;
}

/* ---------- Base typography and reset ---------- */

/* ---------- Component classes ---------- */

.hover\:border-ink:hover {
  border-color: var(--sanur-ink);
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

@media (min-width: 640px) {
  .sm\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .sm\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:col-span-5 {
    grid-column: span 5 / span 5;
  }

  .md\:col-span-6 {
    grid-column: span 6 / span 6;
  }

  .md\:col-span-7 {
    grid-column: span 7 / span 7;
  }

  .md\:mb-16 {
    margin-bottom: 4rem;
  }

  .md\:mb-24 {
    margin-bottom: 6rem;
  }

  .md\:mt-24 {
    margin-top: 6rem;
  }

  .md\:inline-flex {
    display: inline-flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:gap-6 {
    gap: 1.5rem;
  }

  .md\:border-0 {
    border-width: 0px;
  }

  .md\:pt-48 {
    padding-top: 12rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
