/* Rhythm Solanki — editorial portfolio */

:root {
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --bg: #f7f6f3;
  --bg-elevated: #ffffff;
  --text: #141414;
  --text-muted: #5c5c5c;
  --border: rgba(20, 20, 20, 0.1);
  --accent: #2d2d2d;
  --accent-hover: #000000;
  --btn-secondary-bg: transparent;
  --btn-secondary-border: rgba(20, 20, 20, 0.2);
  --shadow: none;
  --radius: 2px;
  --max: 1120px;
  --narrow: 640px;
  --header-h: 4.5rem;
  --transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] {
  --bg: #0e0e0e;
  --bg-elevated: #161616;
  --text: #ededed;
  --text-muted: #9a9a9a;
  --border: rgba(237, 237, 237, 0.12);
  --accent: #f0f0f0;
  --accent-hover: #ffffff;
  --btn-secondary-border: rgba(237, 237, 237, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.65;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.visually-hidden {
  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: 1rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, var(--narrow));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section + .section {
  border-top: 1px solid var(--border);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  line-height: 1.2;
}

.brand:hover {
  opacity: 1;
}

.brand-name {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand-role {
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav-desktop ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.nav-desktop a:hover {
  color: var(--text);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition), opacity 0.2s ease;
}

.theme-toggle:hover {
  opacity: 0.75;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  width: 1.25rem;
  background: var(--text);
  margin-inline: auto;
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-mobile {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 1.25rem 1.25rem 1.5rem;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-mobile a {
  text-decoration: none;
  font-size: 1rem;
}

.nav-mobile .btn {
  margin-top: 0.5rem;
  width: fit-content;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

[data-theme="dark"] .btn-primary {
  color: #0e0e0e;
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  border-color: var(--btn-secondary-border);
  color: var(--text);
}

.btn-header {
  white-space: nowrap;
}

/* Hero */
.hero {
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3.5rem, 7vw, 5.5rem);
  border-top: none;
}

.hero-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: center;
  padding-block: clamp(1rem, 4vw, 2.5rem);
}

@media (min-width: 900px) {
  .hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    min-height: min(72vh, 640px);
    align-items: stretch;
  }

  .hero-intro {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.hero-intro {
  max-width: 36rem;
}

.hero-greeting {
  font-size: clamp(0.9375rem, 1vw + 0.75rem, 1.0625rem);
  color: var(--text);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.hero-name {
  font-size: clamp(2.75rem, 7vw + 0.5rem, 5.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.hero-tagline {
  font-size: clamp(1.0625rem, 1.2vw + 0.85rem, 1.375rem);
  line-height: 1.45;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  max-width: 26ch;
  margin-bottom: 1.25rem;
}

.hero-tagline strong {
  font-weight: 500;
  color: var(--text);
}

.hero-credits {
  font-family: var(--font-mono);
  font-size: clamp(0.6875rem, 0.6vw + 0.55rem, 0.8125rem);
  line-height: 1.6;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  max-width: 34ch;
}

.hero-interactive {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(240px, 38vw, 480px);
}

@media (min-width: 900px) {
  .hero-interactive {
    min-height: 100%;
    align-self: stretch;
  }
}

.hero-interactive-slot {
  width: 100%;
  height: 100%;
  min-height: inherit;
  flex: 1;
}

.github-profile-card {
  width: min(100%, 31rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 20px 48px -28px rgba(0, 0, 0, 0.3);
  transition: var(--transition), transform 0.25s ease, border-color 0.25s ease;
}

.github-profile-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--text) 22%, var(--border));
}

@media (min-width: 900px) {
  .github-profile-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.github-profile-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.github-avatar {
  flex: 0 0 auto;
  width: clamp(3.75rem, 7vw, 5rem);
  height: clamp(3.75rem, 7vw, 5rem);
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
}

.github-eyebrow,
.github-handle,
.github-meta {
  font-family: var(--font-mono);
}

.github-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.github-eyebrow svg {
  width: 0.9rem;
  height: 0.9rem;
}

.github-name {
  margin-top: 0.3rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.github-handle {
  margin-top: 0.2rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.github-bio {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  font-size: clamp(1rem, 1vw + 0.75rem, 1.125rem);
  letter-spacing: -0.02em;
}

.github-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.github-meta span::before {
  content: "·";
  margin-right: 0.45rem;
}

.github-meta span:first-child::before {
  display: none;
}

.github-link:hover {
  opacity: 1;
}

.github-contributions {
  margin-top: 1.5rem;
}

.github-contributions-head,
.github-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.github-contributions-head p {
  color: var(--text);
}

.github-contribution-graph {
  display: grid;
  grid-template-columns: repeat(53, minmax(0, 1fr));
  grid-template-rows: repeat(7, 1fr);
  grid-auto-flow: column;
  gap: 2px;
  height: clamp(3.75rem, 8vw, 4.5rem);
  margin-top: 0.75rem;
}

.github-contribution-day,
.github-legend i {
  display: block;
  border-radius: 1px;
  background: color-mix(in srgb, var(--text) 6%, var(--bg));
}

.github-contribution-day[data-level="1"],
.github-legend i[data-level="1"] {
  background: color-mix(in srgb, var(--text) 22%, var(--bg));
}

.github-contribution-day[data-level="2"],
.github-legend i[data-level="2"] {
  background: color-mix(in srgb, var(--text) 42%, var(--bg));
}

.github-contribution-day[data-level="3"],
.github-legend i[data-level="3"] {
  background: color-mix(in srgb, var(--text) 64%, var(--bg));
}

.github-contribution-day[data-level="4"],
.github-legend i[data-level="4"] {
  background: var(--text);
}

.github-legend {
  justify-content: flex-end;
  margin-top: 0.65rem;
}

.github-legend i {
  width: 0.65rem;
  height: 0.65rem;
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
}

.github-link span {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.github-link:hover span {
  transform: translate(2px, -2px);
}

.github-link:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .github-profile-card {
    padding: 1.25rem;
  }

}

.hero-details {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--border);
  max-width: 42rem;
}

.hero-headline {
  font-size: clamp(1.375rem, 2vw + 0.75rem, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-stats li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.hero-stats li:not(:last-child)::after {
  content: "·";
  margin-inline: 0.65rem;
  color: var(--text-muted);
  opacity: 0.65;
}

.hero-stat-value {
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  color: var(--text);
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 42ch;
  margin-bottom: 1.25rem;
}

.lead--center {
  text-align: center;
  margin-inline: auto;
}

.body-text {
  color: var(--text-muted);
  max-width: 58ch;
}

.body-text + .body-text {
  margin-top: 1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Section headers */
.section-title {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title--sm {
  font-size: clamp(1.25rem, 2vw + 0.25rem, 1.5rem);
}

.section-sub {
  color: var(--text-muted);
  max-width: 52ch;
  margin-top: 0.75rem;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

/* Work — ObsidianUI hover-img (vanilla port) */
.section-work {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.work-image {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.work-image--1 { background: linear-gradient(145deg, color-mix(in srgb, var(--text) 8%, var(--bg-elevated)), var(--bg-elevated)); }
.work-image--2 { background: linear-gradient(160deg, color-mix(in srgb, var(--text) 12%, var(--bg)), var(--bg-elevated)); }
.work-image--3 { background: linear-gradient(135deg, var(--bg-elevated), color-mix(in srgb, var(--text) 6%, var(--bg))); }
.work-image--4 { background: linear-gradient(180deg, color-mix(in srgb, var(--text) 10%, var(--bg-elevated)), var(--bg)); }
.work-image--5 { background: linear-gradient(120deg, var(--bg), color-mix(in srgb, var(--text) 14%, var(--bg-elevated))); }
.work-image--6 { background: linear-gradient(200deg, #1a1a1a, color-mix(in srgb, var(--text) 20%, var(--bg))); }

[data-theme="dark"] .work-image--6 {
  background: linear-gradient(200deg, #2a2a2a, #111);
}

.hover-img-work {
  --hi-bg: transparent;
  --hi-text: var(--text);
  --hi-text-muted: var(--text-muted);
  --hi-border: var(--border);

  position: relative;
  width: 100%;
  min-height: auto;
  overflow: hidden;
  font-family: var(--font);
  color: var(--hi-text);
}

.hover-img-work .hover-img-projects {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hover-img-work .work-block {
  border-top: 1px solid var(--hi-border);
}

.hover-img-work .work-block:last-child {
  border-bottom: 1px solid var(--hi-border);
}

.hover-img-work .hover-img-project {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.hover-img-work .hover-img-project-title {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  transition: transform 0.5s ease;
}

.hover-img-work .hover-img-project-label {
  font-size: clamp(0.8125rem, 1vw + 0.5rem, 1rem);
  font-weight: 400;
  color: var(--hi-text-muted);
  text-align: right;
  margin: 0;
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

.hover-img-work .hover-img-project:hover {
  opacity: 0.55;
}

.hover-img-work .hover-img-project:hover .hover-img-project-title {
  transform: translateX(-12px);
}

.hover-img-work .hover-img-project:hover .hover-img-project-label {
  transform: translateX(12px);
}

.hover-img-work .work-block-detail {
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.hover-img-work .work-block-detail .work-desc {
  margin-bottom: 1rem;
  max-width: 62ch;
  font-size: 0.9375rem;
}

.hover-img-work .hover-img-thumbnail-wrapper {
  position: fixed;
  width: min(400px, 42vw);
  height: min(250px, 26vw);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: none;
  top: 0;
  left: 0;
  transform-origin: center center;
  z-index: 90;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.35);
}

.hover-img-work.is-contained .hover-img-thumbnail-wrapper {
  position: absolute;
}

.hover-img-work .hover-img-thumbnail {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.hover-img-work .hover-img-thumbnail .work-image {
  border-radius: 0;
}

@media (max-width: 768px) {
  .hover-img-work .hover-img-project {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .hover-img-work .hover-img-project-label {
    text-align: left;
  }

  .hover-img-work .hover-img-project:hover .hover-img-project-title,
  .hover-img-work .hover-img-project:hover .hover-img-project-label {
    transform: none;
  }

  .hover-img-work .hover-img-thumbnail-wrapper {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hover-img-work .hover-img-project,
  .hover-img-work .hover-img-project-title,
  .hover-img-work .hover-img-project-label {
    transition: none;
  }

  .hover-img-work .hover-img-thumbnail-wrapper {
    display: none;
  }
}

.work-desc {
  color: var(--text-muted);
  max-width: 55ch;
  margin-bottom: 1.25rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list li {
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
}

.tag-list--muted li {
  border-color: transparent;
  padding-inline: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.75rem;
}

.tag-list--muted li:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }

  .about-grid .section-header {
    margin-bottom: 0;
  }
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-value {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Philosophy */
.pull-quote {
  margin: 0 0 2.5rem;
  padding: 0;
  border: none;
}

.pull-quote p {
  font-size: clamp(1.375rem, 2.5vw + 0.25rem, 2rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.principles-list {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .principles-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }
}

.principles-list li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* Skills */
.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 36rem;
}

.skill-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.5rem 1rem;
  align-items: center;
}

.skill-name {
  font-size: 0.9375rem;
}

.skill-pct {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.skill-bar {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--border);
  position: relative;
}

.skill-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--level);
  background: var(--text);
  transition: width 0.4s ease;
}

/* Process */
.process-list {
  display: grid;
  gap: 0;
}

@media (min-width: 900px) {
  .process-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.process-item {
  padding-block: 2rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .process-item {
    border-top: none;
    padding-block: 0;
    padding-right: 1.5rem;
    border-right: 1px solid var(--border);
  }

  .process-item:last-child {
    border-right: none;
    padding-right: 0;
  }
}

.process-num {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.process-title {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.process-item .body-text {
  margin-bottom: 1rem;
}

/* Benefits */
.benefits-list {
  display: grid;
  gap: 0;
}

@media (min-width: 768px) {
  .benefits-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.benefits-list > li {
  padding-block: 2rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .benefits-list > li {
    border-top: none;
    padding-block: 0;
  }
}

.benefit-title {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

/* Testimonial */
.testimonial {
  margin: 0;
  max-width: 38rem;
}

.testimonial blockquote p {
  font-size: clamp(1.25rem, 2vw + 0.25rem, 1.625rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.testimonial figcaption {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Services */
.services-grid {
  display: grid;
  gap: 0;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .service-card {
    padding: 2rem 2rem 2rem 0;
  }

  .service-card:nth-child(even) {
    padding-left: 2rem;
    padding-right: 0;
    border-left: 1px solid var(--border);
  }
}

.service-title {
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.service-card .body-text {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

/* Pricing */
.section-pricing {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.pricing-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      var(--border) 47px,
      var(--border) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      var(--border) 47px,
      var(--border) 48px
    );
  mask-image: radial-gradient(ellipse 85% 70% at 50% 15%, #000 20%, transparent 72%);
}

.pricing-container {
  position: relative;
  z-index: 1;
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-header--center .section-title {
  margin-bottom: 0.75rem;
}

.section-header--center .pricing-note {
  margin-inline: auto;
}

.pricing-note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 36ch;
  line-height: 1.55;
}

.pricing-list {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .pricing-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .pricing-list {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 1.5rem;
  }
}

.pricing-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 1.75rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: var(--transition), border-color 0.2s ease;
}

.pricing-card:hover {
  border-color: color-mix(in srgb, var(--text) 18%, var(--border));
}

.pricing-card--featured {
  border-color: color-mix(in srgb, var(--text) 22%, var(--border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 8%, transparent);
}

.pricing-badge {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.pricing-name {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.pricing-amount {
  margin: 0;
  line-height: 1;
}

.pricing-amount .price {
  font-size: clamp(2rem, 3.5vw, 2.625rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.04em;
}

.pricing-term {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.pricing-best {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 1.25rem 0 0;
  max-width: 28ch;
}

.pricing-cta {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
}

@media (min-width: 480px) {
  .pricing-cta {
    width: auto;
    min-width: 10.5rem;
  }
}

.pricing-features {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.45;
}

.pricing-features li::before {
  content: "";
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background-color: color-mix(in srgb, var(--text) 5%, var(--bg-elevated));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='%23141414' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.65rem;
}

[data-theme="dark"] .pricing-features li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='%23ededed' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* FAQ */
.faq-list {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.faq-item .body-text {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
}

/* Newsletter */
.newsletter-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.newsletter-form input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  transition: var(--transition);
}

.newsletter-form input:focus {
  outline: 2px solid var(--text);
  outline-offset: 1px;
}

.form-message {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* CTA */
.section-cta {
  text-align: center;
}

.cta-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-action {
  margin-top: 2rem;
}

/* Contact */
.contact-intro {
  margin-bottom: 2rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-label {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-list a {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* Footer */
.site-footer {
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-name {
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive nav */
@media (max-width: 960px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .btn-header {
    display: none;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-tagline {
    max-width: none;
  }

  .hero-stats li {
    flex: 1 1 100%;
  }

  .hero-stats li::after {
    display: none;
  }

  .hero-stats li {
    padding-block: 0.15rem;
  }

  .pull-quote p {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}



/* My css for floating div imgs */


/* Base styles for the thumbnail wrapper and containers */
.hover-img-thumbnail {
  width: 300px;         /* Adjust to your desired thumbnail width */
  height: 200px;        /* Adjust to your desired thumbnail height */
  overflow: hidden;
}

.work-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

/* Set specific images for each modifier class */
.work-image--1 {
  background-image: url('./assets/restro.png');
}

.work-image--2 {
  background-image: url('./assets/growth.png');
}

.work-image--3 {
  background-image: url('./assets/apex.png');
}

.work-image--4 {
  background-image: url('./assets/estate.png');
}

.work-image--5 {
  background-image: url('./assets/gym.png');
}

.work-image--6 {
  background-image: url('./assets/circle.png');
}
