:root {
  --bg-dark: #111111;
  --bg-light: #f2f2f2;
  --accent: #d9a5a5;
  --accent-soft: #ead0d0;
  --beige: #d9c2ae;
  --beige-soft: #eee2d6;
  --text-light: #ffffff;
  --text-dark: #111111;
  --muted-dark: rgba(17, 17, 17, 0.66);
  --muted-light: rgba(255, 255, 255, 0.72);
  --line-dark: rgba(255, 255, 255, 0.08);
  --line-light: rgba(17, 17, 17, 0.08);
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 30px 70px rgba(0, 0, 0, 0.24);
  --container: min(1180px, calc(100% - 2rem));
  --header-height: 90px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  overflow: clip;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section--light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--dark {
  color: #8f5f5f;
}

.section-title,
.mega-title,
.footer-title,
.hero__title {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.96;
}

.section-title--dark {
  color: var(--text-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 15px 30px rgba(217, 165, 165, 0.28);
}

.button--primary:hover {
  background: #e1b4b4;
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(17, 17, 17, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1.5rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Anton", sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__logo-image {
  display: block;
  max-height: 2rem;
  width: auto;
}

.brand__flower {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
}

.brand__flower::before,
.brand__flower::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
}

.brand__flower::before {
  transform: scaleX(0.55);
}

.brand__flower::after {
  transform: scaleY(0.55);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--muted-light);
}

.site-nav .menu,
.footer-nav .menu {
  display: flex;
  align-items: center;
  gap: inherit;
}

.site-nav a,
.socials a,
.footer-nav a {
  position: relative;
  transition: color 0.3s ease;
}

.site-nav a::after,
.socials a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav a:hover,
.socials a:hover,
.footer-nav a:hover {
  color: var(--accent);
}

.site-nav a:hover::after,
.socials a:hover::after,
.footer-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--text-light);
}

.nav-toggle span {
  width: 1rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle.is-active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  min-height: calc(100svh - 1rem);
  padding: 1rem 0 5rem;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 85%);
  opacity: 0.32;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 4rem;
  min-height: calc(100svh - var(--header-height) - 1rem);
}

.hero__title {
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.84;
}

.hero__title span {
  display: block;
}

.glitch {
  position: relative;
  color: var(--accent-soft);
  text-shadow: 2px 0 0 rgba(217, 165, 165, 0.28);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
}

.glitch::before {
  transform: translate(2px, -1px);
  color: #ffffff;
  clip-path: inset(12% 0 55% 0);
  animation: glitchShift 4.2s infinite linear alternate-reverse;
}

.glitch::after {
  transform: translate(-3px, 2px);
  color: #d9a5a5;
  clip-path: inset(62% 0 10% 0);
  animation: glitchShift 3.6s infinite linear alternate;
}

.hero__tagline {
  max-width: 28rem;
  margin: 1.5rem 0 0;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted-light);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__visual {
  position: relative;
  min-height: 40rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__portrait-frame {
  width: min(100%, 29rem);
  aspect-ratio: 0.82;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem 2rem 12rem 2rem;
  box-shadow: var(--shadow-strong);
}

.hero__portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.4rem 1.4rem 10rem 1.4rem;
  filter: saturate(0.92) contrast(1.05);
}

.hero__stamp {
  position: absolute;
  left: -1rem;
  top: 3rem;
  width: 7.5rem;
  height: 7.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--muted-light);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  backdrop-filter: blur(8px);
}

.hero__stamp span {
  position: absolute;
}

.hero__stamp span:nth-child(1) {
  top: 16px;
}

.hero__stamp span:nth-child(2) {
  right: 12px;
  transform: rotate(90deg);
}

.hero__stamp span:nth-child(3) {
  bottom: 16px;
}

.hero__stamp span:nth-child(4) {
  left: 6px;
  transform: rotate(-90deg);
}

.hero__microcopy {
  position: absolute;
  right: -1rem;
  bottom: 4rem;
  max-width: 11rem;
  margin: 0;
  color: var(--muted-light);
  line-height: 1.7;
  font-size: 0.92rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 2rem;
  padding-top: 6rem;
  align-items: start;
}

.section-heading__text {
  max-width: 42rem;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted-dark);
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  padding: 2.5rem 0 6rem;
  align-items: start;
}

.mega-title {
  font-size: clamp(3.5rem, 7.8vw, 7.2rem);
  line-height: 0.92;
}

.about__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.about-card {
  min-height: 16rem;
  padding: 0.8rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--beige-soft), #f7efe7);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.12);
}

.about-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 0.55rem);
}

.about-card--tall {
  grid-row: span 2;
  min-height: 100%;
}

.about-card--wide {
  grid-column: span 2;
}

.skills {
  padding: 6rem 0;
}

.skills__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.skills__line {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}

.skills__track {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.skills__flower {
  width: 1rem;
  height: 1rem;
  position: relative;
}

.skills__flower::before,
.skills__flower::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
}

.skills__flower::before {
  transform: scaleX(0.45);
}

.skills__flower::after {
  transform: scaleY(0.45);
}

.skills__stat-card {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  background: radial-gradient(circle at top left, rgba(217, 165, 165, 0.13), transparent 35%), #171717;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.skills__stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 165, 165, 0.28);
}

.skills__number {
  font-family: "Anton", sans-serif;
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 0.9;
  color: var(--accent);
}

.skills__copy h3 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.skills__copy p {
  margin: 0.7rem 0 0;
  color: var(--accent-soft);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.skills__copy span {
  display: block;
  margin-top: 1rem;
  max-width: 32rem;
  color: var(--muted-light);
  line-height: 1.8;
}

.portfolio {
  padding: 6rem 0;
}

.portfolio__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.portfolio__controls {
  display: flex;
  gap: 0.75rem;
}

.carousel-button {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.carousel-button:hover {
  transform: translateY(-3px);
}

.carousel-button--accent {
  background: #f1cd68;
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(18rem, 30rem);
  gap: 1.25rem;
  margin-top: 2rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel__item {
  scroll-snap-align: start;
  padding: 0.9rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, #f0dfd4, #f8f1ec);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s ease;
}

.carousel__item:nth-child(odd) {
  transform: rotate(-2.3deg);
}

.carousel__item:nth-child(even) {
  transform: rotate(2deg);
}

.carousel__item:hover {
  transform: rotate(0deg) translateY(-6px);
}

.carousel__item img {
  width: 100%;
  aspect-ratio: 0.83;
  object-fit: cover;
  border-radius: 1.45rem;
}

.quote {
  padding: 7rem 0;
}

.quote__wrap {
  display: grid;
  place-items: center;
}

.quote__ring {
  position: relative;
  width: min(100%, 34rem);
  aspect-ratio: 1;
}

.quote__svg {
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}

.quote__svg text {
  fill: rgba(255, 255, 255, 0.72);
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.quote__portrait {
  position: absolute;
  inset: 18%;
  padding: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(217, 165, 165, 0.25), rgba(255, 255, 255, 0.06));
}

.quote__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonials {
  padding: 6rem 0;
}

.testimonials__header {
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  position: relative;
  min-height: 18rem;
  padding: 2.2rem 2rem;
  border-radius: 44% 56% 47% 53% / 41% 39% 61% 59%;
  background: #f0d7d7;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px) rotate(-1deg);
}

.testimonial-card--accent {
  background: #eadfcb;
}

.testimonial-card--soft {
  background: #e7dede;
}

.stars {
  color: #d08d2d;
  letter-spacing: 0.15em;
  font-size: 1rem;
}

.testimonial-card p {
  margin: 1rem 0 1.5rem;
  line-height: 1.8;
  color: rgba(17, 17, 17, 0.78);
}

.testimonial-card h3 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-footer {
  padding: 5rem 0 2rem;
}

.footer-title {
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.92;
  max-width: 12ch;
}

.footer__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  margin: 3rem 0 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  color: var(--muted-light);
}

.footer-wordmark {
  font-family: "Anton", sans-serif;
  font-size: clamp(5rem, 16vw, 12rem);
  line-height: 0.85;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.08);
  transform: scaleY(1.05);
  letter-spacing: 0.1em;
}

.copyright {
  margin: 1rem 0 0;
  color: var(--muted-light);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-main {
  min-height: 50vh;
}

.site-main--elementor {
  min-height: 50vh;
}

.site-main--elementor > .elementor {
  width: 100%;
}

.content-shell {
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.content-shell--single {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: 2rem;
}

.content-shell--archive {
  display: grid;
  gap: 1.75rem;
}

.archive-header {
  margin-bottom: 1rem;
}

.archive-description,
.entry-meta,
.entry-excerpt,
.entry-content,
.widget-area,
.widget {
  color: var(--muted-dark);
}

.entry-meta {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card,
.entry-page,
.entry-single,
.widget-area {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.post-card {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.post-card__media img,
.entry-single__media img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-xl) - 0.45rem);
}

.entry-title {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.entry-content {
  line-height: 1.9;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.pagination-wrap {
  margin-top: 1rem;
}

.pagination-wrap .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.pagination-wrap .current {
  background: var(--accent);
  color: var(--text-dark);
}

.widget-title {
  margin-top: 0;
  font-family: "Anton", sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes glitchShift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(1px, -2px);
  }
  40% {
    transform: translate(-3px, 1px);
  }
  60% {
    transform: translate(2px, 0);
  }
  80% {
    transform: translate(-1px, 2px);
  }
}

@media (max-width: 1080px) {
  .container {
    width: min(1180px, calc(100% - 3rem));
  }

  .hero__content,
  .about__layout,
  .testimonial-grid,
  .footer__top,
  .skills__stat-card {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .footer__top {
    align-items: start;
  }

  .hero {
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero__content {
    min-height: auto;
    padding-top: 2rem;
    gap: 2.75rem;
  }

  .hero__visual {
    min-height: 34rem;
  }

  .section-heading {
    padding-top: 5rem;
  }

  .about__layout,
  .skills,
  .portfolio,
  .testimonials,
  .quote,
  .site-footer {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .hero__portrait-frame {
    width: min(100%, 26rem);
  }

  .portfolio__controls {
    align-self: flex-start;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 78px;
  }

  .nav-toggle {
    display: inline-flex;
    z-index: 61;
  }

  .nav-cta {
    display: inline-flex;
    min-height: 2.9rem;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 61;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(24rem, 86vw);
    display: grid;
    align-content: start;
    gap: 1.2rem;
    padding: calc(var(--header-height) + 1.5rem) 1.5rem 2rem;
    background: rgba(17, 17, 17, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.35s ease;
    z-index: 60;
  }

  .site-nav .menu {
    display: grid;
    gap: 1.2rem;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .site-nav a {
    font-family: "Anton", sans-serif;
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-light);
  }

  .site-nav::before {
    content: "";
    position: fixed;
    inset: 0;
    right: min(24rem, 86vw);
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .site-nav.is-open::before {
    opacity: 1;
  }

  .hero__visual {
    min-height: 28rem;
    width: 100%;
  }

  .hero__stamp {
    left: 0;
    top: 0;
    width: 6.25rem;
    height: 6.25rem;
  }

  .hero__microcopy {
    position: static;
    max-width: 100%;
    margin-top: 1rem;
  }

  .hero__title {
    font-size: clamp(4rem, 14vw, 6.6rem);
  }

  .hero__tagline,
  .section-heading__text,
  .skills__copy span,
  .testimonial-card p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .section-heading__text {
    max-width: 100%;
  }

  .about__gallery {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio__heading {
    align-items: start;
    flex-direction: column;
  }

  .carousel {
    grid-auto-columns: 84%;
    scroll-padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pinch-zoom;
  }

  .footer-wordmark {
    margin-top: 2rem;
  }

  .quote__ring {
    width: min(100%, 28rem);
  }
}

@media (max-width: 580px) {
  .container {
    width: min(1180px, calc(100% - 1.5rem));
  }

  .nav-wrap {
    gap: 0.6rem;
  }

  .brand {
    font-size: 1.3rem;
    gap: 0.5rem;
  }

  .brand__flower {
    width: 0.95rem;
    height: 0.95rem;
  }

  .nav-cta {
    min-height: 2.65rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.8rem;
  }

  .nav-toggle {
    width: 2.55rem;
    height: 2.55rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    padding-bottom: 3.5rem;
  }

  .hero__content {
    gap: 2rem;
    padding-top: 1rem;
  }

  .hero__title {
    font-size: clamp(3.35rem, 16vw, 4.9rem);
  }

  .hero__visual {
    min-height: 22rem;
  }

  .hero__portrait-frame {
    width: min(100%, 20rem);
    padding: 0.7rem;
    border-radius: 1.6rem 1.6rem 7rem 1.6rem;
  }

  .hero__portrait-frame img {
    border-radius: 1.15rem 1.15rem 6rem 1.15rem;
  }

  .hero__stamp {
    width: 5.35rem;
    height: 5.35rem;
    font-size: 0.58rem;
  }

  .section-heading,
  .about__layout {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .mega-title,
  .section-title,
  .footer-title {
    line-height: 0.95;
  }

  .about__gallery,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .about-card--wide,
  .about-card--tall {
    grid-column: auto;
    grid-row: auto;
  }

  .skills__header,
  .footer-nav,
  .socials {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav .menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-shell,
  .content-shell--single {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .content-shell--single,
  .post-card {
    grid-template-columns: 1fr;
  }

  .carousel {
    grid-auto-columns: 92%;
  }

  .carousel__item {
    padding: 0.7rem;
  }

  .skills__stat-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  .skills__number {
    font-size: clamp(4.3rem, 22vw, 5.8rem);
  }

  .skills__copy h3 {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }

  .quote {
    padding-inline: 0.5rem;
  }

  .quote__ring {
    width: min(100%, 22rem);
  }

  .quote__svg text {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
  }

  .testimonial-card {
    border-radius: 2rem;
  }

  .footer__top {
    margin: 2.25rem 0 3rem;
    gap: 1.5rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(1180px, calc(100% - 1.1rem));
  }

  .nav-cta {
    padding-inline: 0.7rem;
    font-size: 0.76rem;
  }

  .site-nav {
    width: 100%;
    padding-inline: 1.1rem;
  }

  .site-nav::before {
    right: 100%;
  }

  .hero__title {
    font-size: clamp(2.9rem, 17vw, 4.25rem);
  }

  .hero__tagline {
    font-size: 0.95rem;
  }

  .carousel {
    grid-auto-columns: 96%;
  }
}
