/* ============================================================
   SHARED STYLES FOR THE FOUR SUB-PAGES
   (about-me / renovate / past-experience / beyond-the-screen)

   These mirror the palette tokens from index.html. If you retheme
   the landing page, copy the four palette values across.
   Each page may override --page-accent for its own colour.
   ============================================================ */
:root {
  /* ---- Palette (kept in sync with index.html) ---- */
  --bg-rgb: 192, 188, 152; /* page background            */
  --ink-rgb: 24, 24, 27; /* dark surfaces / text on light */
  --text-rgb: 24, 24, 27; /* body text on this bg        */

  /* ---- Per-page accent (override in the page's <style>) ---- */
  --page-accent: #2b2b30;

  --bg: rgb(var(--bg-rgb));
  --text: rgb(var(--text-rgb));
  --text-muted: rgba(var(--text-rgb), 0.62);

  /* ---- Grey card palette — same dark-grey card look as the homepage's
     info-cards, used for .contact-card (Get in Touch) and anywhere else
     a solid grey card fits. Edit these hex codes directly. ---- */
  --grey-card-bg: #2b2b30;
  --grey-card-bg-hover: #313136;
  --grey-card-border: #3c3c42;
  --grey-card-border-hover: rgba(255, 255, 255, 0.35);
  --grey-card-text: #f3f3f5;
  --grey-card-text-muted: rgba(255, 255, 255, 0.62);

  --pad-x: clamp(1.25rem, 5vw, 4.5rem);
  --pad-y: clamp(1.5rem, 5vh, 4rem);
}

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

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

body {
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.subpage {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x) calc(var(--pad-y) * 1.5);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ---- Back link ---- */
.subpage__back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(var(--ink-rgb), 0.06);
  border: 1px solid rgba(var(--ink-rgb), 0.18);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}
.subpage__back:hover,
.subpage__back:focus-visible {
  background: rgba(var(--ink-rgb), 0.1);
  border-color: var(--page-accent);
  transform: translateX(-2px);
  outline: none;
}
.subpage__back:focus-visible {
  outline: 2px solid rgba(var(--ink-rgb), 0.5);
  outline-offset: 3px;
}
.subpage__back span[aria-hidden] {
  font-size: 1.1em;
  line-height: 1;
}

/* ---- Header ---- */
.subpage__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--page-accent);
}
.subpage__title {
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.subpage__lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 60ch;
}

/* ---- Accent rule under the header ---- */
.subpage__rule {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--page-accent);
}

/* ---- Placeholder body — replace .subpage__content with real content ---- */
.subpage__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: 18px;
  background: rgba(var(--ink-rgb), 0.04);
  border: 1px dashed rgba(var(--ink-rgb), 0.25);
  color: var(--text-muted);
}
.subpage__content h2 {
  font-size: 1.05rem;
  color: var(--text);
}
.subpage__content p {
  max-width: 62ch;
}

/* ============================================================
   CONTENT SECTIONS  (used by the filled-in pages)
   ============================================================ */
.section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.section__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--page-accent);
}
.section__heading {
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Readable paragraph column */
.prose {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 64ch;
  font-size: 1.02rem;
  color: rgba(var(--text-rgb), 0.86);
}
.prose strong {
  font-weight: 600;
  color: var(--text);
}

/* Grid of small theme cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.9rem;
}
.mini-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  background: rgba(var(--ink-rgb), 0.045);
  border: 1px solid rgba(var(--ink-rgb), 0.14);
  transition: transform 0.2s ease, border-color 0.2s ease,
    background-color 0.2s ease;
}
.mini-card:hover {
  transform: translateY(-3px);
  border-color: var(--page-accent);
  background: rgba(var(--ink-rgb), 0.07);
}
.mini-card__title {
  font-weight: 700;
  font-size: 0.98rem;
}
.mini-card__text {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Connected step sequence: Problem -> Understanding -> ... */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.flow__step {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(var(--ink-rgb), 0.05);
  border: 1px solid rgba(var(--ink-rgb), 0.16);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}
.flow__arrow {
  color: var(--page-accent);
  opacity: 0.7;
}

/* Inline "see also" link */
.arrow-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--page-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, gap 0.2s ease;
}
.arrow-link:hover,
.arrow-link:focus-visible {
  border-color: currentColor;
  gap: 0.6rem;
  outline: none;
}

/* ============================================================
   REVEAL ON SCROLL — progressive enhancement (see subpage.js).
   Without JS, the .js class is never added, so [data-reveal]
   elements stay fully visible.
   ============================================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   TIMELINE / JOURNEY  (vertical, connected stages)
   ============================================================ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 1.5rem;
}
.timeline__item {
  position: relative;
  padding: 0 0 1.4rem 1.5rem;
  border-left: 2px solid rgba(var(--ink-rgb), 0.2);
}
.timeline__item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--page-accent);
}
.timeline__stage {
  font-weight: 700;
  font-size: 1rem;
}
.timeline__note {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 58ch;
}

/* ============================================================
   DISCLOSURE  (expandable card — native <details>/<summary>)
   ============================================================ */
.disclosure {
  border-radius: 16px;
  background: rgba(var(--ink-rgb), 0.045);
  border: 1px solid rgba(var(--ink-rgb), 0.14);
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.disclosure[open],
.disclosure:hover {
  border-color: var(--page-accent);
}
.disclosure + .disclosure {
  margin-top: 0.75rem;
}
.disclosure__head {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
}
.disclosure__head::-webkit-details-marker {
  display: none;
}
.disclosure__head:focus-visible {
  outline: 2px solid rgba(var(--ink-rgb), 0.5);
  outline-offset: -2px;
}
.disclosure__meta {
  margin-left: auto;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.disclosure__chev {
  flex-shrink: 0;
  width: 0.7em;
  height: 0.7em;
  margin-left: auto; /* pushes to the right edge even with no .disclosure__meta */
  border-right: 2px solid var(--page-accent);
  border-bottom: 2px solid var(--page-accent);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  align-self: center;
}
.disclosure[open] .disclosure__chev {
  transform: rotate(-135deg);
}
.disclosure__body {
  padding: 0 1.25rem 1.35rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem 1.5rem;
}
.disclosure__body p {
  margin: 0;
}

/* labelled field inside a disclosure body or a role column */
.field__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--page-accent);
  margin-bottom: 0.3rem;
}
.field__value {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(var(--text-rgb), 0.86);
}
.field--full {
  grid-column: 1 / -1;
}
.field__value--muted {
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================================
   ROLE COLUMNS  (Engineering / Product / Leadership)
   ============================================================ */
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}
.role-col {
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: rgba(var(--ink-rgb), 0.045);
  border: 1px solid rgba(var(--ink-rgb), 0.14);
}
.role-col h3 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.role-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.role-col li::before {
  content: "\2013";
  color: var(--page-accent);
  margin-right: 0.5rem;
}

/* ============================================================
   ARCHITECTURE DIAGRAM  (conceptual, stacked layers)
   ============================================================ */
.arch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.arch__layer {
  width: min(100%, 420px);
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(var(--ink-rgb), 0.05);
  border: 1px solid rgba(var(--ink-rgb), 0.16);
  font-weight: 600;
  font-size: 0.92rem;
}
.arch__link {
  width: 2px;
  height: 26px;
  background: linear-gradient(
    to bottom,
    var(--page-accent),
    rgba(var(--ink-rgb), 0.15)
  );
  position: relative;
  overflow: hidden;
}
.js [data-reveal].is-visible .arch__link::after {
  content: "";
  position: absolute;
  left: -1px;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--page-accent);
  animation: arch-pulse 2.4s ease-in-out infinite;
}
@keyframes arch-pulse {
  0% { top: -8px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 26px; opacity: 0; }
}

/* ============================================================
   "CURRENTLY" BLOCK  (editable key / value rows)
   ============================================================ */
.currently {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.6rem 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: 16px;
  background: rgba(var(--ink-rgb), 0.045);
  border: 1px solid rgba(var(--ink-rgb), 0.14);
}
.currently dt {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--page-accent);
}
.currently dd {
  font-size: 0.92rem;
  color: rgba(var(--text-rgb), 0.86);
}

/* ============================================================
   POOL TABLE  (top-down, with an animated shot on reveal)
   ============================================================ */
.pool {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pool__table {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.28));
}
.pool__felt {
  fill: #2f5d43;
}
.pool__rail {
  fill: none;
  stroke: #7a4a24;
  stroke-width: 14;
}
.pool__pocket {
  fill: #111;
}
.pool__ball {
  fill: #e9e4d6;
}
.pool__ball--solid {
  fill: #1f3a8a;
}
.pool__ball--spot {
  fill: #b23b2e;
}
.pool__path {
  fill: none;
  stroke: rgba(233, 228, 214, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
}
.pool__caption {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   CONTACT CARDS  (used on Get in Touch)
   Solid dark-grey cards — same card language as the homepage's
   info-cards, just without the wires.
   ============================================================ */
/* A straight, evenly spaced stack rather than a grid — three cards don't
   fill a 4-up grid evenly, and this reads as a deliberate pile instead of
   a layout with a missing corner. No rotation, no overlap: every card
   sits square, centred on the page, with the same gap between each.
   Hovering (or focusing) still lifts that card forward. */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* equal space between every card, no overlap */
  width: 100%;
  max-width: 360px;
  margin: 0 auto; /* centred on the page */
}
.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-height: 92px;
  padding: 1.3rem 1.4rem;
  border-radius: 16px;
  background: var(--grey-card-bg);
  border: 1px solid var(--grey-card-border);
  color: var(--grey-card-text);
  text-decoration: none;
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, border-color 0.25s ease,
    background-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-8px) scale(1.03);
  background: var(--grey-card-bg-hover);
  border-color: var(--grey-card-border-hover);
  box-shadow: 0 26px 44px -18px rgba(0, 0, 0, 0.55);
  z-index: 10;
  outline: none;
}
.contact-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}
.contact-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--grey-card-text);
}
.contact-card__label span[aria-hidden] {
  font-weight: 500;
  color: var(--grey-card-text-muted);
}
.contact-card__value {
  font-size: 0.88rem;
  color: var(--grey-card-text-muted);
  word-break: break-word;
}

/* ============================================================
   PROJECTS  (used on the Projects page) — same grey-card
   language as the contact cards, stacked as a simple list with
   room for a description line above the GitHub link.
   ============================================================ */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.project-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem 1.6rem;
  border-radius: 16px;
  background: var(--grey-card-bg);
  border: 1px solid var(--grey-card-border);
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, border-color 0.25s ease,
    background-color 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  background: var(--grey-card-bg-hover);
  border-color: var(--grey-card-border-hover);
  box-shadow: 0 26px 44px -18px rgba(0, 0, 0, 0.55);
}
.project-card__title {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--grey-card-text);
}
.project-card__desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--grey-card-text-muted);
}
.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.1rem;
}
.project-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--grey-card-border);
  color: var(--grey-card-text-muted);
}
.project-card__link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--grey-card-text);
  text-decoration: none;
  border-bottom: 1px solid var(--grey-card-border-hover);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.project-card__link:hover,
.project-card__link:focus-visible {
  color: #fff;
  border-color: #fff;
  outline: none;
}

/* ============================================================
   PHOTOS  (used on Beyond the Screen)
   ============================================================ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
}
.photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb), 0.16);
  background: rgba(var(--ink-rgb), 0.04);
  aspect-ratio: 4 / 5;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.photo:hover img {
  transform: scale(1.04);
}
.photo--wide {
  aspect-ratio: 16 / 10;
  grid-column: span 2;
}
@media (max-width: 460px) {
  .photo--wide {
    grid-column: auto;
    aspect-ratio: 4 / 5;
  }
}

/* Competition card: photo + label */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
}
.comp-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb), 0.14);
  background: rgba(var(--ink-rgb), 0.045);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.comp-card:hover {
  border-color: var(--page-accent);
  transform: translateY(-3px);
}
.comp-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.comp-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.comp-card__body {
  padding: 0.95rem 1.15rem 1.1rem;
}
.comp-card__body h3 {
  font-size: 0.98rem;
  font-weight: 700;
}
.comp-card__body p {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   BOOK  (used on Beyond the Screen)
   ============================================================ */
.book {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: flex-start;
}
.book__cover {
  flex: 0 0 auto;
  width: clamp(160px, 42vw, 220px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.38);
  transform: rotate(-2deg);
  transition:
    transform 0.4s cubic-bezier(0.22, 0.8, 0.24, 1),
    box-shadow 0.4s ease;
}
.book__cover:hover,
.book__cover:focus-visible {
  /* levitate: straighten, lift, and let the shadow drop further away */
  transform: rotate(0deg) translateY(-12px) scale(1.02);
  box-shadow: 0 34px 64px -16px rgba(0, 0, 0, 0.48);
  outline: none;
}
.book__cover:focus-visible {
  outline: 2px solid var(--page-accent);
  outline-offset: 4px;
}
.book__cover img {
  display: block;
  width: 100%;
  height: auto;
}
.book__body {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.book__body p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(var(--text-rgb), 0.86);
  max-width: 46ch;
}
.book__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Solid external-link button (accent-coloured) */
.cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--page-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.12);
  outline: none;
}
.cta:focus-visible {
  outline: 2px solid rgba(var(--ink-rgb), 0.5);
  outline-offset: 3px;
}

/* ============================================================
   IMAGE / SCREENSHOT PLACEHOLDERS
   ============================================================ */
.shot-frame {
  border-radius: 16px;
  border: 1px dashed rgba(var(--ink-rgb), 0.28);
  background: rgba(var(--ink-rgb), 0.04);
  display: grid;
  place-items: center;
  min-height: 220px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}
.shot-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

/* Variant of .shot-frame that holds a real image instead of placeholder
   text. Fixed height + object-fit: contain keeps mismatched screenshot
   aspect ratios (e.g. a tall phone mockup next to a squarer one) sitting
   as a tidy, evenly sized row instead of cropping into either image. */
.shot-frame--img {
  height: 340px;
  padding: 1rem;
  overflow: hidden;
  /* White instead of the dashed-placeholder tint, so the letterboxed
     padding blends with these screenshots' own white backgrounds. */
  background: #ffffff;
  border-style: solid;
  border-color: rgba(var(--ink-rgb), 0.12);
}
.shot-frame--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .subpage__back,
  .mini-card,
  .arrow-link,
  .disclosure,
  .disclosure__chev,
  .photo img,
  .comp-card,
  .book__cover,
  .cta,
  .contact-card {
    transition: none;
  }
  .subpage__back:hover,
  .subpage__back:focus-visible,
  .mini-card:hover,
  .photo:hover img,
  .comp-card:hover,
  .cta:hover,
  .cta:focus-visible,
  .contact-card:hover,
  .contact-card:focus-visible {
    transform: none;
  }
  .book__cover:hover,
  .book__cover:focus-visible {
    transform: rotate(-2deg);
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js [data-reveal].is-visible .arch__link::after {
    animation: none;
  }
}
