/* SheyShey. One typeface, two colours, photo-led. No framework, no external requests. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth.woff2") format("woff2-variations"), url("../fonts/archivo-latin-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141414;
  --paper: #f4f1ec;
  --muted: #5c5853;
  --rule: #d8d2c9;
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(20px, 5vw, 64px);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

svg {
  fill: currentColor;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- layout ---------- */
.portrait {
  margin: 0;
  aspect-ratio: 4 / 5;
  max-height: 72vh;
  width: 100%;
  overflow: hidden;
  background: var(--rule);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.content {
  max-width: 560px;
  padding: 28px var(--pad) 32px;
}

/* ---------- intro ---------- */
.name {
  margin: 0;
  font-size: clamp(3.5rem, 17vw, 6.5rem);
  font-weight: 800;
  font-stretch: 68%;
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.styles {
  margin: 12px 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  font-stretch: 110%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.styles span {
  color: var(--muted);
  padding: 0 0.3em;
}

/* ---------- links ---------- */
.links {
  margin-top: 32px;
}

.links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.links li {
  border-bottom: 1px solid var(--rule);
}

.links a {
  display: grid;
  grid-template-columns: 22px 1fr auto 18px;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  text-decoration: none;
}

.links__icon {
  width: 22px;
  height: 22px;
}

.links__name {
  font-size: 1.125rem;
  font-weight: 600;
}

.links__handle {
  color: var(--muted);
  font-size: 0.9375rem;
}

.links__arrow {
  width: 18px;
  height: 18px;
  transition: transform 160ms ease-out;
}

.links a:hover .links__name {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.links a:hover .links__arrow {
  transform: translate(2px, -2px);
}

/* ---------- booking ---------- */
.booking {
  margin-top: 40px;
}

.label {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-stretch: 110%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  background: var(--ink);
  color: var(--paper);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease-out;
}

.button:hover {
  background: #333;
}

.note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.note a {
  color: var(--ink);
  text-underline-offset: 3px;
}

/* ---------- TikTok card (her latest videos) ---------- */
.instagram,
.tiktok {
  margin-top: 48px;
  container-type: inline-size;
}

/* Instagram's profile embed: fixed header + a 3x2 grid of square tiles + footer
   (measured 2026-11-28: 196px + 2/3 width, header grows by 27px from ~481px). */
.instagram__box {
  position: relative;
  background: var(--rule);
}

.instagram__frame {
  position: relative;
  display: block;
  width: 100%;
  height: calc(196px + 66.667cqi);
  border: 0;
  background: transparent;
}

@container (min-width: 481px) {
  .instagram__frame {
    height: calc(223px + 66.667cqi);
  }
}

/* TikTok's card has fixed heights per width band (measured 2026-11-27). */
.tiktok__box {
  position: relative;
  background: var(--rule);
}

/* Shown while TikTok loads, and stays if a tracker blocker stops it. */
.instagram__placeholder,
.tiktok__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 600;
}

.instagram__placeholder svg,
.tiktok__placeholder svg {
  width: 40px;
  height: 40px;
}

.instagram__placeholder,
.tiktok__placeholder {
  padding: 24px;
  text-align: center;
  text-decoration: none;
  pointer-events: none;
}

.tiktok__blocked {
  display: none;
}

/* site.js adds .is-blocked when the browser refuses to load TikTok. */
.tiktok__box.is-blocked .tiktok__frame {
  display: none;
}

.tiktok__box.is-blocked .tiktok__placeholder {
  position: static;
  min-height: 367px;
  color: var(--ink);
  pointer-events: auto;
  cursor: pointer;
}

.tiktok__box.is-blocked .tiktok__blocked {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 8px;
}

.tiktok__cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  background: var(--ink);
  color: var(--paper);
  transition: background-color 160ms ease-out;
}

.tiktok__placeholder:hover .tiktok__cta {
  background: #333;
}


.tiktok__box.is-blocked + .tiktok__note {
  display: none;
}

.tiktok__frame {
  position: relative;
  display: block;
  width: 100%;
  height: 457px;
  border: 0;
  background: transparent;
}

@container (max-width: 374.98px) {
  .tiktok__frame {
    height: 367px;
  }
}

@container (min-width: 375px) and (max-width: 419.98px) {
  .tiktok__frame {
    height: 433px;
  }
}

/* ---------- YouTube (uploads playlist: newest first) ---------- */
.youtube {
  margin-top: 48px;
}

.youtube__frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--rule);
}

/* ---------- footer ---------- */
.footer {
  margin-top: 48px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.footer p {
  margin: 0;
}

/* ---------- 404 ---------- */
.notfound {
  display: grid;
  place-content: center;
  gap: 16px;
  min-height: 100vh;
  padding: var(--pad);
}

.notfound p {
  margin: 0;
}

/* ---------- desktop: photo left, fixed; content right ---------- */
@media (min-width: 960px) {
  .page {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .portrait {
    position: sticky;
    top: 0;
    height: 100vh;
    max-height: none;
    aspect-ratio: auto;
  }

  .content {
    align-self: center;
    padding: 64px var(--pad);
  }

  .name {
    font-size: 7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
