/* ==================================================
   Modern theme — loaded after the template's style.css
   ================================================== */

:root {
  --bg: #0b0d14;
  --bg-raised: #12151f;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e7e9f0;
  --text-muted: #9aa0b4;
  --accent-1: #22d3ee;
  --accent-2: #a855f7;
  --accent-3: #f472b6;
  --gradient: linear-gradient(120deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3));
  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- Base reset ---------- */

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

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

body {
  margin: 0;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

p, ul, ol {
  margin: 0 0 1rem;
}

a {
  color: var(--accent-1);
  text-decoration: none;
}

img, svg {
  vertical-align: middle;
}

button, input, textarea {
  margin: 0;
  font: inherit;
}

/* ---------- Theme ---------- */

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body h1, body h2, body h3, body p {
  font-family: var(--font-sans);
}

::selection {
  background: var(--accent-2);
  color: #fff;
}

.mono {
  font-family: var(--font-mono);
}

.gradient-text {
  background: var(--gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 6s ease-in-out infinite alternate;
}

@keyframes gradient-shift {
  to { background-position: 100% center; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* Faint grid that fades out toward the edges */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}

/* Fade the glow into the page so the hero has no hard bottom edge */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  z-index: 1;
  background: linear-gradient(transparent, var(--bg));
}

.blob {
  position: absolute;
  width: 42vmax;
  height: 42vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: drift 18s ease-in-out infinite alternate;
}

.blob-1 { background: var(--accent-1); top: -15%; left: -10%; }
.blob-2 { background: var(--accent-2); bottom: -20%; right: -10%; animation-delay: -6s; }
.blob-3 { background: var(--accent-3); top: 30%; left: 45%; width: 26vmax; height: 26vmax; opacity: 0.2; animation-delay: -12s; }

@keyframes drift {
  50% { transform: translate(6vw, 4vh) scale(1.1); }
  100% { transform: translate(-4vw, -6vh) scale(0.95); }
}

.hero-inner {
  max-width: 900px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-1);
  font-size: 14px;
  line-height: 1.4;
  backdrop-filter: blur(6px);
}

.hero h1 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.typed-line {
  display: inline-block;
  min-height: 1.05em;
  color: var(--text-muted);
}

.typed {
  color: #fff;
}

.caret {
  display: inline-block;
  width: 0.08em;
  height: 0.85em;
  margin-left: 0.06em;
  vertical-align: -0.05em;
  background: var(--accent-1);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero .lede {
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.cta-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 30px -8px var(--accent-2);
}

.cta-primary:hover {
  color: #fff;
  box-shadow: 0 12px 40px -6px var(--accent-2);
}

.cta-ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.cta-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
}

.scroll-hint::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--accent-1);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Floating contact button ---------- */

.float-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.float-cta.is-shown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Soft pulsing glow so it reads as "still here" without being noisy */
.float-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  animation: float-pulse 2.6s ease-out infinite;
}

@keyframes float-pulse {
  0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.55); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(168, 85, 247, 0); }
}

/* ---------- Simple pages (privacy, 404) ---------- */

.site-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px;
}

.site-bar .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
}

.site-bar .brand:hover {
  color: var(--accent-1);
}

.site-bar .brand-mark {
  color: var(--accent-1);
  font-family: var(--font-mono);
}

/* Glow fixed behind the whole page, including the top bar */
.page-bg {
  position: fixed;
  overflow: hidden;
}

.page-main {
  min-height: calc(100vh - 200px);
  min-height: calc(100svh - 200px);
  padding: 48px 24px 96px;
}

.page-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(18, 21, 31, 0.7);
  backdrop-filter: blur(10px);
}

.page-card h1 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-card p:not(.section-label):not(.eyebrow) {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.page-card .hero-cta {
  justify-content: flex-start;
  margin-top: 32px;
}

/* 404 */
.not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.not-found .page-card {
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.not-found .code {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(6rem, 22vw, 11rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.not-found .hero-cta {
  justify-content: center;
}

/* ---------- Sections ---------- */

/* #about.section outranks the template's #about padding */
.section,
#about.section {
  padding: 120px 24px;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  margin-bottom: 14px;
  color: var(--accent-1);
  font-size: 14px;
  letter-spacing: 0.05em;
}

.section h2 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.about-copy p:not(.section-label) {
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-copy a {
  color: var(--accent-1);
}

.about-copy a:hover {
  color: #fff;
}

.photo-frame {
  position: relative;
  padding: 3px;
  border-radius: 24px;
  background: var(--gradient);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--gradient);
  filter: blur(40px);
  opacity: 0.45;
}

.photo-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 21px;
}

/* ---------- Experience ---------- */

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.card h3 {
  margin: 0 0 4px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
}

.timeline {
  position: relative;
  margin: 16px 0 0;
  padding: 0 0 0 36px;
  list-style: none;
}

/* Gradient rail with a glowing dot for each role */
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  width: 2px;
  border-radius: 1px;
  background: linear-gradient(var(--accent-1), var(--accent-2), transparent);
}

.timeline-item {
  position: relative;
}

.timeline-item + .timeline-item {
  margin-top: 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -36px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 0 2px var(--accent-1), 0 0 18px var(--accent-1);
}

/* Earlier roles get a quieter purple dot */
.timeline-item + .timeline-item::before {
  background: var(--accent-2);
  box-shadow: 0 0 0 2px var(--accent-2), 0 0 14px var(--accent-2);
}

.timeline-date {
  margin: 0 0 10px;
  color: var(--accent-1);
  font-size: 14px;
}

/* Text on the left, screenshot on the right */
.card-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.card-split .timeline-points {
  margin-bottom: 0;
}

.timeline-points-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
}

.timeline-points.timeline-points-cols li + li {
  margin-top: 0;
}

.timeline-org a,
.timeline-points a {
  color: var(--accent-1);
}

.timeline-org a:hover,
.timeline-points a:hover {
  color: #fff;
}

.timeline-shot {
  display: block;
  color: inherit;
}

.timeline-shot:hover {
  color: inherit;
  text-decoration: none;
}

.timeline-shot .browser {
  margin: 0 0 16px;
  border-bottom: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.timeline-shot:hover .browser {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 24px 50px -24px var(--accent-2);
}

.timeline-shot:hover .work-link span {
  transform: translateX(4px);
}

.timeline-org {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 16px;
}

.timeline-points,
.timeline-projects,
.leadership {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.timeline-points li,
.timeline-projects li,
.leadership li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.timeline-points li + li {
  margin-top: 6px;
}

.timeline-points li::before,
.timeline-projects li::before,
.leadership li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent-2);
}

.timeline-projects li + li,
.leadership li + li {
  margin-top: 6px;
}

.timeline-subhead {
  margin: 0 0 12px;
  color: var(--accent-3);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 5px 12px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  color: var(--accent-1);
  font-family: var(--font-mono);
  font-size: 13px;
}

/* Education and Leadership sit in a row under the timeline, aligned with the cards */
.experience-extra {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  margin-top: 32px;
  padding-left: 36px;
}

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.edu h3 {
  font-size: 18px;
}

.edu p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.leadership {
  margin-bottom: 0;
}

/* ---------- Selected work ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 16px;
}

.work-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

a.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 30px 60px -30px var(--accent-2);
  color: inherit;
  text-decoration: none;
}

.browser {
  margin: 20px 20px 0;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: var(--bg);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a3f52;
}

.browser-bar span:nth-child(1) { background: #f87171; }
.browser-bar span:nth-child(2) { background: #fbbf24; }
.browser-bar span:nth-child(3) { background: #4ade80; }

.browser-url {
  flex: 1;
  margin: 0 0 0 12px;
  padding: 3px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.browser-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}

a.work-card:hover .browser-shot img {
  transform: scale(1.04);
}

.work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 28px 28px;
  border-top: 1px solid var(--border);
}

.work-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.work-title h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
}

.badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.badge-live {
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
}

.badge-soon {
  border: 1px solid rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

.work-body > p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.work-link {
  margin-top: auto;
  color: var(--accent-1);
  font-weight: 600;
}

.work-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

a.work-card:hover .work-link span {
  transform: translateX(4px);
}

/* ---------- Side projects ---------- */

.side-heading {
  margin: 80px 0 24px;
}

.side-heading h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 600;
}

.side-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

.side-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.side-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

/* Simple phone mockup: dark bezel, rounded screen, notch */
.phone {
  position: relative;
  padding: 22px 8px 14px;
  border-radius: 28px;
  background: #1c1f2b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 50px -20px var(--accent-2);
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}

.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 40px;
  height: 6px;
  margin-left: -20px;
  border-radius: 3px;
  background: #0b0d14;
}

.side-card:hover .phone {
  transform: rotate(0deg) translateY(-4px);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.side-body h3 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
}

.side-body p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-links a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.store-links a:hover {
  border-color: var(--accent-1);
  background: rgba(34, 211, 238, 0.08);
  color: var(--accent-1);
  text-decoration: none;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-copy p:not(.section-label) {
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 30px 80px -40px var(--accent-2);
}

.contact-form label {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #5d6378;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.contact-form .cta {
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.contact-form .cta:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.5em;
  margin: 16px 0 0;
  font-size: 15px;
  text-align: center;
}

.form-status.is-success { color: #4ade80; }
.form-status.is-error { color: #f87171; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
}

/* ---------- Scroll reveal (only hides things when JS is running) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .about-grid,
  .contact-grid,
  .work-grid,
  .side-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .card-split,
  .timeline-points-cols,
  .experience-extra,
  .edu-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .timeline-points-cols {
    gap: 6px;
  }

  .experience-extra {
    padding-left: 28px;
  }

  .contact-form,
  .card {
    padding: 24px;
  }

  .timeline {
    padding-left: 28px;
  }

  .side-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .side-card .phone {
    width: 200px;
    margin: 0 auto;
  }

  .timeline-item::before {
    left: -28px;
  }

  .photo-frame {
    max-width: 420px;
    margin: 0 auto;
  }

  .float-cta {
    right: 16px;
    bottom: 16px;
    padding: 12px 20px;
  }

  .page-card {
    padding: 28px 24px;
  }

  .site-bar {
    padding: 20px;
  }

  .section,
  #about.section {
    padding: 88px 20px;
  }
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
