/* Profile 1.0.1 · made with SinePress */

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-paper: #FFF8F3;
  --color-surface: #FBEBE1;
  --color-ink: #2B1D18;
  --color-muted: #6F5C53;
  --color-line: #F0DDD2;
  --color-accent: #B8481F;
  --color-on-accent: #FFFFFF;
  --font-heading: "DM Sans";
  --font-body: "DM Sans";
}

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

:root {
  --radius: 14px;
  --container: 1120px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body), system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 550;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.button--primary {
  background: var(--color-accent);
  color: var(--color-on-accent);
}

.button--primary:hover {
  background: color-mix(in srgb, var(--color-accent) 88%, black);
}

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

.button--secondary:hover {
  border-color: var(--color-muted);
}

.button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Sections: shared rhythm, backgrounds and headings used across the library */
.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.section--tinted {
  background: var(--color-surface);
}

/* Dark band: flips text and lines; buttons keep the accent. */
.section--dark {
  background: var(--color-ink);
  color: var(--color-paper);
  --color-muted: color-mix(in srgb, var(--color-paper) 72%, var(--color-ink));
  --color-line: color-mix(in srgb, var(--color-paper) 18%, var(--color-ink));
  --color-surface: color-mix(in srgb, var(--color-paper) 7%, var(--color-ink));
}

.section--dark .button--secondary {
  color: var(--color-paper);
}

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section--dark .eyebrow {
  color: color-mix(in srgb, var(--color-accent) 55%, var(--color-paper));
}

.section-title {
  margin: 0;
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-intro {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: clamp(1.0313rem, 1.4vw, 1.125rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}

.grid--1 { --cols: 1; }
.grid--2 { --cols: 2; }
.grid--3 { --cols: 3; }
.grid--4 { --cols: 4; }

@media (max-width: 900px) {
  .grid--3,
  .grid--4 { --cols: 2; }
}

@media (max-width: 600px) {
  .grid { --cols: 1 !important; }
}

.button--small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.icon {
  display: block;
  width: 1.25em;
  height: 1.25em;
}

/* Rich text (richtext fields) */
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich p,
.rich ul,
.rich ol { margin: 0 0 1em; }
.rich ul,
.rich ol { padding-left: 1.25em; }
.rich li { margin-bottom: 0.35em; }
.rich a { color: var(--color-accent); text-underline-offset: 2px; }
.section--dark .rich a { color: inherit; }

/* Editor-only empty states (never rendered on the published site) */
.sp-placeholder {
  display: grid;
  place-items: center;
  min-height: 160px;
  border: 1.5px dashed var(--color-line);
  border-radius: var(--radius);
  color: var(--color-muted);
  font-size: 0.875rem;
}

/* Shown only when the site has no footer section */
.credit-bar {
  margin: 0;
  padding: 20px;
  border-top: 1px solid var(--color-line);
  font-size: 0.8125rem;
  text-align: center;
}

.credit-bar a {
  color: var(--color-muted);
}

/* Profile: the link page fills the first screen on its own */
.links {
  min-height: min(100svh, 920px);
  display: grid;
  align-content: center;
}

.site-footer {
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-block: 44px 32px;
}

.site-footer__about {
  max-width: 26rem;
}

.site-footer__name {
  margin: 0 0 6px;
  color: var(--color-ink);
  font-family: var(--font-heading), system-ui, sans-serif;
  font-weight: 650;
}

.site-footer__text {
  margin: 0;
  line-height: 1.6;
}

.site-footer__links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--color-line);
  font-size: 0.875rem;
}

.links__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
  text-align: center;
}

.links__avatar {
  width: 112px;
  margin-bottom: 20px;
}

.links__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.links__inner > .sp-placeholder {
  width: 112px;
  min-height: 112px;
  margin-bottom: 20px;
  border-radius: 50%;
}

.links__name {
  margin: 0;
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.links__bio {
  max-width: 30rem;
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.links__list {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.links__link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-paper);
  color: inherit;
  text-align: left;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.links__link:hover {
  border-color: var(--color-muted);
  transform: translateY(-1px);
}

.section--tinted .links__link {
  border-color: transparent;
}

.section--dark .links__link {
  background: var(--color-surface);
}

/* Beats the personalities' card look: the featured link keeps the button colour. */
.links__link--featured,
html body .links .links__link.links__link--featured {
  border-color: transparent;
  background: var(--color-accent);
  color: var(--color-on-accent);
}

.links__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-small, 10px);
  background: color-mix(in srgb, currentColor 9%, transparent);
}

.links__text {
  display: grid;
  flex: 1;
  gap: 2px;
}

.links__label {
  font-weight: 600;
  font-size: 1rem;
}

.links__note {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.links__link--featured .links__note {
  color: inherit;
  opacity: 0.85;
}

.links__arrow {
  flex: none;
  opacity: 0.5;
}

.gallery__item {
  margin: 0;
}

.gallery__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
}

.gallery__item figcaption {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.gallery__grid .sp-placeholder {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

/* Full-screen viewer: the browser's own popover, so it opens and closes without any script. */
.gallery__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  cursor: zoom-in;
}

.gallery__open:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.lightbox {
  max-width: min(92vw, 1600px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgb(8 9 12 / 0.96);
}

.lightbox__figure {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin: 0;
}

.lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1600px);
  max-height: calc(92vh - 48px);
  border-radius: 8px;
  object-fit: contain;
}

.lightbox__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: center;
  color: rgb(255 255 255 / 0.85);
  font-size: 0.9375rem;
  text-align: center;
}

.lightbox__count {
  color: rgb(255 255 255 / 0.6);
  font-variant-numeric: tabular-nums;
}

.lightbox__button {
  position: fixed;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  cursor: pointer;
}

.lightbox__button:hover {
  background: rgb(255 255 255 / 0.24);
}

.lightbox__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.lightbox__button[hidden] {
  display: none;
}

.lightbox__button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox__close {
  top: 16px;
  right: 16px;
}

.lightbox__nav {
  top: 50%;
  translate: 0 -50%;
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

@media (max-width: 640px) {
  .lightbox__nav {
    top: auto;
    bottom: 16px;
    translate: none;
  }
}

.text-section__inner {
  max-width: 720px;
}

.text-section--center .text-section__inner {
  text-align: center;
}

.text-section .section-head {
  margin-bottom: 20px;
}

.text-section__body {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.text-section--center .rich ul,
.text-section--center .rich ol {
  display: inline-block;
  text-align: left;
}

.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-paper);
}

.section--tinted .quote {
  border-color: transparent;
}

.section--dark .quote {
  background: var(--color-surface);
}

.quote__text {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.quote__person {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
}

.quote__person strong {
  display: block;
  font-weight: 620;
}

.quote__role {
  display: block;
  color: var(--color-muted);
}

.quote__photo {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

/* Site look */
:root { --radius: 24px; --radius-small: 14px; --shadow: 0 22px 44px -28px color-mix(in srgb, var(--color-ink) 45%, transparent); }
html body :is(.card, .features--cards .feature, .product, .contact__card, .step, .quote, .plan, .form-card) { border-color: transparent; border-radius: var(--radius); background: var(--color-surface); box-shadow: var(--shadow); }
html body :is(.section--tinted, .section--dark) :is(.card, .features--cards .feature, .product, .contact__card, .step, .quote, .plan, .form-card) { background: var(--color-paper); color: var(--color-ink); }
html body :is(h1, h2, .section-title) { font-weight: 650; letter-spacing: -0.02em; }
html body .eyebrow { display: inline-block; padding: 5px 14px; border-radius: 999px; background: color-mix(in srgb, var(--color-accent) 13%, transparent); font-weight: 600; font-size: 0.875rem; letter-spacing: 0; text-transform: none; }
body .button { border-radius: 999px; }
body .button.button--secondary { background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; border-color: transparent; box-shadow: none; }
body .button.button--secondary:hover { background: color-mix(in srgb, currentColor 16%, transparent); }
html body main > :is(section + section:is(.section--tinted, .section--dark, [data-style]), section:is(.section--tinted, .section--dark, [data-style]) + section) { --sp-edge: clamp(18px, 3vw, 40px); position: relative; margin-top: calc(-1 * var(--sp-edge)); padding-top: calc(var(--sp-edge) + clamp(56px, 8vw, 96px)); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%201440%2048'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%2048V24C240%200%20480%200%20720%2024S1200%2048%201440%2024V48Z'%2F%3E%3C%2Fsvg%3E") top left / 100% var(--sp-edge) no-repeat, linear-gradient(#000 0 0) 0 var(--sp-edge) / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%201440%2048'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%2048V24C240%200%20480%200%20720%2024S1200%2048%201440%2024V48Z'%2F%3E%3C%2Fsvg%3E") top left / 100% var(--sp-edge) no-repeat, linear-gradient(#000 0 0) 0 var(--sp-edge) / 100% 100% no-repeat; }
html body img.sp-frame { border-radius: var(--radius, 14px); }
html body :has(> img.sp-frame) { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
html body .sp-accent { font-style: normal; text-decoration: underline wavy var(--color-accent); text-decoration-thickness: 0.07em; text-underline-offset: 0.2em; text-decoration-skip-ink: none; }
@media screen and (prefers-reduced-motion: no-preference) {
  .sp-pending { opacity: 0; transform: translateY(34px) rotate(-2deg) scale(0.95); }
  .sp-moving { transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.34, 1.45, 0.5, 1), clip-path 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
}
