:root {
  --bg: #dfeaff;
  --bg-alt: #eef4ff;
  --ink: #24344d;
  --muted: #61728d;
  --accent: #2A70DA;
  --accent-2: #f0d26f;
  --accent-3: #b6bcc8;
  --accent-4: #d8e3f7;
  --line: rgba(36, 52, 77, 0.1);
  --card: rgba(241, 246, 255, 0.84);
  --shadow: 0 24px 80px rgba(36, 52, 77, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(161, 192, 245, 0.42), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(197, 205, 220, 0.44), transparent 28%),
    radial-gradient(circle at 75% 72%, rgba(240, 210, 111, 0.18), transparent 22%),
    linear-gradient(180deg, #f5f8ff 0%, #d9e5f8 100%);
  color: var(--ink);
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: drift 16s ease-in-out infinite;
}

.ambient-a {
  top: -10rem;
  left: -6rem;
  background: rgba(136, 176, 245, 0.26);
}

.ambient-b {
  right: -8rem;
  bottom: 10rem;
  background: rgba(238, 208, 110, 0.18);
  animation-delay: -7s;
}

.site-header,
main {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 1.25rem auto 0;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(246, 249, 255, 0.74);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(246, 249, 255, 0.82);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(2) {
  transform: translateY(0);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

main {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 4rem 0 3rem;
}

.hero-copy,
.hero-stage,
.profile-copy,
.profile-photo-card {
  min-width: 0;
}

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

.hero h1,
.section-heading h2,
.principle-intro h2,
.contact h2 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.8rem, 8vw, 7.4rem);
}

.hero h1 span {
  display: inline-block;
  color: var(--accent);
  transform: rotate(-2deg);
}

.hero-text {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-profile {
  display: inline-grid;
  gap: 0.75rem;
  margin: 1.6rem 0 0;
}

.hero-stage .hero-profile {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  justify-items: center;
}

.hero-stage .hero-profile-caption {
  text-align: center;
}

.hero-profile-photo {
  width: 12.5rem;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(30, 24, 48, 0.14);
}

.hero-profile-caption {
  display: grid;
  gap: 0.18rem;
}

.hero-profile-caption strong {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  line-height: 1;
}

.hero-profile-caption span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 0 0 3rem;
}

.profile-copy h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.profile-copy p:not(.eyebrow) {
  max-width: 31rem;
  color: var(--muted);
  line-height: 1.7;
}

.profile-note {
  margin-top: 1rem;
}

.profile-gallery {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 44rem);
}

.profile-photo-card {
  position: relative;
  width: 100%;
  justify-self: start;
  margin-top: 0;
}

.profile-image-carousel {
  width: 100%;
}

.profile-image-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 28px;
}

.profile-image-track::-webkit-scrollbar {
  display: none;
}

.profile-photo-plain {
  aspect-ratio: 1.22 / 1;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(30, 24, 48, 0.12);
  scroll-snap-align: start;
}

.certificate-photo {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  object-position: center top;
  background: rgba(240, 245, 255, 0.76);
}

.profile-photo-focus-a {
  object-position: center 38%;
}

.profile-photo-focus-b {
  object-position: center 28%;
}

.profile-photo-focus-c {
  object-position: center 56%;
}

.profile-photo-focus-d {
  object-position: center 50%;
}

.profile-image-button {
  position: absolute;
  top: 50%;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(241, 246, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(36, 52, 77, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease;
}

.profile-image-button:hover {
  transform: translateY(-50%) scale(1.03);
}

.profile-image-button-prev {
  left: 0.7rem;
}

.profile-image-button-next {
  right: 0.7rem;
}

.profile-image-dots {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  display: flex;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.profile-image-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(214, 224, 242, 0.78);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.profile-image-dot.is-active {
  background: #fff3c7;
  transform: scale(1.2);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.proof-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(242, 247, 255, 0.82);
  box-shadow: 0 12px 32px rgba(36, 52, 77, 0.08);
}

.proof-card strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.55rem;
  line-height: 1;
}

.proof-card span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

  .hero-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    grid-column: 1;
    justify-self: start;
    align-self: start;
  }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: #304b78;
  color: #f8fbff;
  box-shadow: 0 14px 40px rgba(36, 52, 77, 0.18);
}

.button-secondary {
  background: rgba(241, 246, 255, 0.78);
  border-color: var(--line);
}

.hero-stage {
  position: relative;
  min-height: auto;
  width: 100%;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 1.4rem;
}

.hero-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid rgba(30, 24, 48, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card-main {
  inset: auto;
  padding: 1.45rem;
  padding-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: flex-start;
  overflow: visible;
}

.hero-card-main h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  max-width: 12ch;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 0.94;
  overflow-wrap: anywhere;
}

.hero-card-main p,
.about-panel p,
.project-copy p,
.principle-card p,
.contact-text {
  color: var(--muted);
  line-height: 1.65;
}

.hero-card-main p {
  margin: 0;
  max-width: 28rem;
}

.card-chip {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  max-width: max-content;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(196, 211, 236, 0.7);
  font-size: 0.8rem;
  font-weight: 700;
}

.food-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.food-tags span {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(240, 210, 111, 0.2);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ingredient {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 24, 48, 0.08);
  background: rgba(242, 247, 255, 0.9);
  box-shadow: var(--shadow);
  animation: bob 7s ease-in-out infinite;
}

.ingredient span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
}

.ingredient-b {
  right: 0.75rem;
  top: -1.15rem;
  background: #e9f3ff;
  animation-delay: -2s;
}

.ingredient-c {
  right: 4.6rem;
  top: -1.15rem;
  left: auto;
  background: #f9e3da;
  animation-delay: -4s;
}

.marquee {
  padding: 0.5rem 0 2.4rem;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(241, 246, 255, 0.74);
  font-size: 0.92rem;
  font-weight: 700;
}

.section-grid,
.projects,
.principles,
.contact {
  padding: 4rem 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.section-heading h2,
.principle-intro h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.about-panel {
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(241, 246, 255, 0.76);
}

.detail-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.detail-list li {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(214, 224, 242, 0.55);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.project-card,
.principle-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(241, 246, 255, 0.76);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-visual {
  position: relative;
  min-height: 17rem;
  display: grid;
  align-items: stretch;
  overflow: hidden;
}

.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
}

.project-visual::before {
  width: 0;
  height: 0;
  background: transparent;
}

.project-visual::after {
  width: 5rem;
  height: 5rem;
  border: 1px dashed rgba(30, 24, 48, 0.18);
  top: 1.2rem;
  right: 1.2rem;
}

.project-visual p {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  z-index: 1;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  background: rgba(241, 246, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
}

.project-image-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.project-image-track::-webkit-scrollbar {
  display: none;
}

.project-image-slide {
  scroll-snap-align: start;
  height: 100%;
}

.project-image-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-image-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 248, 255, 0.32), transparent 22%),
    radial-gradient(circle at 78% 75%, rgba(244, 248, 255, 0.18), transparent 18%),
    linear-gradient(160deg, rgba(244, 248, 255, 0.28), rgba(244, 248, 255, 0.08));
  backdrop-filter: blur(10px);
}

.project-visual-b .project-image-placeholder {
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 248, 255, 0.16), transparent 22%),
    radial-gradient(circle at 78% 75%, rgba(244, 248, 255, 0.12), transparent 18%),
    linear-gradient(160deg, rgba(244, 248, 255, 0.14), rgba(244, 248, 255, 0.04));
}

.project-media .profile-image-dots {
  bottom: 1rem;
}

.project-visual-a {
  background:
    radial-gradient(circle at 75% 25%, rgba(244, 248, 255, 0.5), transparent 20%),
    linear-gradient(135deg, #7da7e8 0%, #f0d26f 100%);
}

.project-visual-b {
  background:
    radial-gradient(circle at 75% 25%, rgba(244, 248, 255, 0.18), transparent 20%),
    linear-gradient(135deg, #4b6f9f 0%, #8899b6 100%);
  /* color: #fffaf3; */
}

.project-visual-c {
  background:
    radial-gradient(circle at 75% 25%, rgba(244, 248, 255, 0.42), transparent 20%),
    linear-gradient(135deg, #86ace8 0%, #f0d26f 100%);
}

.project-copy {
  padding: 1.5rem;
}

.project-type {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.project-copy h3,
.principle-card h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.08;
}

.project-result {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.principle-card {
  padding: 1.6rem;
}

.principle-card span {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(240, 210, 111, 0.62);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact {
  margin: 2rem 0 4rem;
  padding: 3rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 6px);
  background:
    radial-gradient(circle at top right, rgba(240, 210, 111, 0.3), transparent 26%),
    rgba(241, 246, 255, 0.8);
  text-align: center;
}

.contact-text {
  max-width: 38rem;
  margin: 1rem auto 2rem;
}

.contact-links {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2rem, -1rem, 0) scale(1.08);
  }
}

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

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .hero,
  .section-grid,
  .project-grid,
  .principle-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 1.75rem;
    padding-top: 2.5rem;
  }

  .hero-stage {
    min-height: 24rem;
    max-width: 42rem;
  }

  .hero-card-main {
    inset: 1rem 0 0 0;
  }

  .hero-card-main h2 {
    max-width: 14ch;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    align-items: start;
    padding: 2.25rem 0 2.5rem;
  }

  .hero-copy,
  .hero-stage,
  .profile-copy,
  .profile-photo-card {
    order: initial;
    min-width: 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 6.2vw, 4.35rem);
    line-height: 0.94;
  }

  .hero-text {
    margin-top: 1rem;
    font-size: 0.98rem;
  }

  .hero-actions {
    margin-top: 1.4rem;
  }

  .hero-stage {
    min-height: auto;
    max-width: 100%;
    display: grid;
    gap: 1.25rem;
    padding-top: 0.85rem;
  }

  .hero-stage .hero-profile {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    margin: 0 auto;
    justify-items: center;
  }

  .hero-card-main {
    position: relative;
    inset: auto;
    padding: 1.25rem;
    width: 100%;
  }

  .hero-card-main h2 {
    max-width: 11ch;
    font-size: 1.9rem;
  }

  .hero-card-main p {
    font-size: 0.94rem;
    line-height: 1.55;
    max-width: 30rem;
  }

  .food-tags {
    gap: 0.45rem;
    margin-top: 0.55rem;
    max-width: 100%;
  }

  .food-tags span {
    font-size: 0.68rem;
    padding: 0.46rem 0.64rem;
  }

  .ingredient {
    width: 3rem;
    height: 3rem;
    z-index: 2;
  }

  .ingredient span {
    font-size: 1.1rem;
  }

  .ingredient-b {
    right: 0.75rem;
    top: -1rem;
  }

  .ingredient-c {
    left: auto;
    right: 4.1rem;
    top: -1rem;
  }

  .card-chip {
    margin-bottom: 0.75rem;
  }

  .marquee {
    padding: 0.5rem 0 2rem;
    overflow: hidden;
  }

  .marquee-track span {
    padding: 0.8rem 1rem;
    font-size: 0.88rem;
  }

  .profile-spotlight {
    gap: 1.25rem;
    align-items: start;
  }

  .profile-gallery {
    width: min(100%, 34rem);
  }

  .profile-photo-card {
    width: 100%;
    justify-self: start;
    margin-top: 0;
  }

  .profile-image-button {
    width: 2.2rem;
    height: 2.2rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(calc(100% - 1rem), var(--max-width));
    padding: 0.9rem 1rem;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    border-radius: 28px;
  }

  .brand {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding-top: 0.35rem;
    font-size: 0.9rem;
  }

  .site-header.is-nav-open .site-nav {
    display: flex;
  }

  .site-header.is-nav-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  .site-header.is-nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-nav-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  main {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .hero {
    gap: 1.25rem;
    padding: 1.75rem 0 2rem;
  }

  .eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .hero-copy {
    order: 1;
    display: block;
  }

  .site-header {
    margin-top: 0.75rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
    line-height: 0.92;
  }

  .hero h1 span {
    display: block;
    transform: none;
    margin-top: 0.2rem;
  }

  .hero-text {
    margin-top: 1rem;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 1.5rem;
    gap: 0.75rem;
    flex-direction: row;
  }

  .hero-actions .button {
    flex: 1 1 0;
    min-height: 3.1rem;
    padding: 0 1rem;
  }

  .hero-stage {
    order: 2;
    min-height: auto;
    display: grid;
    gap: 1.5rem;
    padding-top: 0.75rem;
  }

  .hero-actions {
    order: 3;
    grid-column: auto;
    justify-self: stretch;
    align-self: stretch;
    margin-top: 0;
  }

  .hero-stage .hero-profile {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    margin: 0 auto;
    justify-items: center;
    text-align: center;
    z-index: 1;
  }

  .hero-card,
  .hero-card-main {
    position: relative;
    inset: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    transform: none;
  }

  .hero-card-main {
    padding: 1.25rem;
    min-height: 0;
    padding-top: 2rem;
  }

  .hero-card-main h2 {
    max-width: 100%;
    font-size: 2.2rem;
    line-height: 0.94;
  }

  .hero-card-main p {
    font-size: 0.96rem;
  }

  .card-chip {
    position: static;
    margin-bottom: 0.9rem;
    z-index: 2;
  }

  .food-tags {
    gap: 0.5rem;
    margin-top: 0.9rem;
  }

  .food-tags span {
    font-size: 0.7rem;
    padding: 0.5rem 0.7rem;
  }

  .ingredient {
    width: 3rem;
    height: 3rem;
    z-index: 2;
  }

  .ingredient span {
    font-size: 1.15rem;
  }

  .ingredient-b {
    right: 0.85rem;
    top: -1rem;
  }

  .ingredient-c {
    left: auto;
    right: 4.25rem;
    top: -1rem;
    transform: none;
  }

  .marquee {
    padding: 0.5rem 0 2rem;
  }

  .marquee-track span {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .section-grid,
  .projects,
  .principles,
  .contact,
  .profile-spotlight {
    padding: 3rem 0;
  }

  .projects {
    padding-top: 2.2rem;
  }

  .projects .section-heading {
    max-width: 100%;
  }

  .projects .section-heading h2 {
    font-size: clamp(2.8rem, 11vw, 3.9rem);
    line-height: 0.9;
    max-width: none;
    letter-spacing: -0.05em;
  }

  .contact {
    padding: 2rem 1.2rem;
  }

  .profile-gallery {
    width: min(100%, 100%);
    justify-self: center;
  }

  .profile-photo-card {
    width: 100%;
    justify-self: center;
  }

  .hero-profile-photo {
    width: 11.5rem;
  }

  .profile-photo-plain {
    aspect-ratio: auto;
  }

  .profile-image-button {
    width: 2rem;
    height: 2rem;
  }

  .profile-image-button-prev {
    left: 0.55rem;
  }

  .profile-image-button-next {
    right: 0.55rem;
  }

  .profile-copy h2 {
    max-width: none;
    font-size: clamp(2.7rem, 10.6vw, 3.5rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
  }

  .profile-copy p:not(.eyebrow) {
    max-width: 34rem;
  }

  .project-media {
    width: 100%;
    height: 100%;
  }

  .project-visual {
    min-height: 12.5rem;
  }

  .project-image-photo {
    object-fit: cover;
    background: transparent;
  }

  .project-image-placeholder {
    background:
      radial-gradient(circle at 20% 20%, rgba(255, 250, 244, 0.16), transparent 20%),
      radial-gradient(circle at 78% 75%, rgba(255, 250, 244, 0.1), transparent 16%),
      linear-gradient(160deg, rgba(255, 250, 244, 0.12), rgba(255, 250, 244, 0.04));
  }

  .project-media .profile-image-dots {
    bottom: 0.7rem;
  }

  .project-grid {
    gap: 1rem;
    margin-top: 1.35rem;
  }

  .project-card {
    border-radius: 26px;
  }

}

@media (max-width: 480px) {
  .ambient {
    opacity: 0.28;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 15vw, 3.2rem);
  }

  .hero-text {
    font-size: 0.94rem;
  }

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

  .hero-actions .button {
    width: 100%;
    min-height: 3rem;
    border-radius: 24px;
  }

  .hero-stage {
    padding-top: 0.8rem;
  }

  .hero-card-main {
    padding: 1.15rem;
    padding-top: 1.9rem;
    border-radius: 26px;
  }

  .hero-card-main h2 {
    max-width: 100%;
    font-size: 2rem;
    line-height: 0.94;
  }

  .hero-card-main p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .profile-gallery {
    width: min(100%, 100%);
  }

  .profile-photo-card {
    width: 100%;
  }

  .hero-profile-photo {
    width: 12rem;
  }

  .hero-profile-caption strong {
    font-size: 1rem;
  }

  .hero-profile-caption span {
    font-size: 0.78rem;
  }

  .profile-image-button {
    width: 1.85rem;
    height: 1.85rem;
  }

  .profile-image-dots {
    bottom: 0.65rem;
  }

  .profile-image-dot {
    width: 0.48rem;
    height: 0.48rem;
  }

  .projects {
    padding-top: 1.8rem;
  }

  .projects .section-heading h2 {
    font-size: clamp(2.6rem, 11.5vw, 3rem);
    line-height: 0.9;
    max-width: none;
    letter-spacing: -0.05em;
  }

  .project-media {
    width: 100%;
    height: 100%;
  }

  .project-visual {
    min-height: 11.4rem;
  }

  .profile-copy h2 {
    max-width: none;
    font-size: clamp(2.45rem, 10.8vw, 2.9rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
  }

  .project-copy {
    padding: 1.2rem;
  }

  .project-copy h3 {
    font-size: 1.3rem;
  }

  .project-copy p,
  .project-result {
    font-size: 0.95rem;
  }

  .profile-copy h2 {
    max-width: none;
  }

  .profile-copy p:not(.eyebrow) {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .food-tags span {
    font-size: 0.66rem;
    letter-spacing: 0.05em;
  }

  .ingredient {
    width: 2.7rem;
    height: 2.7rem;
  }

  .ingredient span {
    font-size: 1rem;
  }

  .ingredient-b {
    right: 0.7rem;
    top: -0.9rem;
  }

  .ingredient-c {
    right: 3.8rem;
    top: -0.9rem;
  }
}

@media (min-width: 981px) and (max-width: 1280px) {
  .hero {
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(3.9rem, 6.8vw, 6rem);
  }

  .hero-stage {
    min-height: auto;
    padding-top: 0;
  }
}

@media (min-width: 981px) {
  .hero-copy {
    display: grid;
    align-content: start;
  }

  .profile-spotlight {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.6rem;
  }

  .hero-stage {
    min-height: auto;
    display: grid;
    gap: 1.6rem;
    padding-top: 0;
  }

  .hero-stage .hero-profile {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    margin: 0 auto;
    justify-items: center;
    text-align: center;
    z-index: 1;
  }

  .hero-profile-photo {
    width: 15.5rem;
  }

  .hero-card-main {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .ingredient-b {
    top: -1.15rem;
    right: 0.75rem;
  }

  .ingredient-c {
    top: -1.15rem;
    right: 4.6rem;
  }

  .profile-photo-card {
    width: min(100%, 42rem);
    justify-self: end;
    margin-top: -1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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