/* ===== Amy Slawson — faithful recreation of the Squarespace site ===== */

:root {
  --cream: hsl(51, 48%, 91%);
  --cream-soft: hsl(51, 44%, 94%);
  --ink: hsl(0, 0%, 11.4%);
  --orange: hsl(12.5, 83%, 53.7%);
  --orange-dark: hsl(12.5, 80%, 47%);
  --yellow: hsl(46, 91%, 62%);
  --blue: hsl(208, 58%, 45%);
  --white: #fdfcf6;
  --line: hsla(0, 0%, 11%, 0.15);
  --maxw: 1500px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    "Inter Tight",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Bricolage Grotesque", "Inter Tight", sans-serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

/* ============ NAV ============ */
.site-header {
  top: 0;
  z-index: 200;
  background: var(--cream);
}
.site-header.on-blue {
  background: var(--blue);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 30px 18px;
}
.nav a,
.nav .navlink {
  color: var(--orange);
}
.on-blue .nav a,
.on-blue .nav .navlink {
  color: var(--white);
}
.nav-home {
  font-weight: 600;
  font-size: 1.5rem;
  font-family: "Bricolage Grotesque", sans-serif;
}
.nav-center {
  display: flex;
  gap: 40px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.nav-center a {
  font-weight: 600;
  font-size: 1.4rem;
}
.nav-center a:hover {
  color: var(--orange-dark);
}
.on-blue .nav-center a:hover {
  opacity: 0.8;
}
.nav-cta {
  border: 2px solid var(--orange);
  color: var(--orange);
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1.3rem;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-cta:hover {
  background: var(--orange);
  color: var(--white);
}
.on-blue .nav-cta {
  border-color: var(--white);
  color: var(--white);
}
.on-blue .nav-cta:hover {
  background: var(--white);
  color: var(--blue);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  width: 46px;
  height: 46px;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 26px;
  background: var(--orange);
  margin: 5px auto;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.on-blue .nav-toggle span {
  background: var(--white);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 13px 30px;
  /* <button> inherits neither font nor line-height from body, so set both
     explicitly — these match the body values the <a> buttons already use. */
  font-family: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.45;
  cursor: pointer;
  transition:
    transform 0.12s,
    background 0.2s,
    color 0.2s;
  border: 2px solid transparent;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-orange-outline {
  border-color: var(--orange);
  color: var(--orange);
  background: transparent;
}
.btn-orange-outline:hover {
  background: var(--orange);
  color: var(--white);
}
.btn-yellow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}
.btn-yellow:hover {
  filter: brightness(1.05);
}
.btn-white-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.btn-white-outline:hover {
  background: var(--white);
  color: var(--orange);
}
.btn-ink-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-ink-outline:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-lg {
  font-size: 1.45rem;
  padding: 18px 44px;
  border-width: 2.5px;
}
/* row of buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}
.scatter-text .btn-row {
  justify-content: center;
}

/* ============ FULL-BLEED SECTION BANDS ============ */
.band {
  width: 100%;
  padding: 100px 0;
}
.band--dark {
  background: var(--ink);
  color: var(--white);
}
.band--blue {
  background: var(--blue);
  color: var(--white);
}
.band--orange {
  background: var(--orange);
  color: var(--white);
}
.band--yellow {
  background: var(--yellow);
  color: var(--ink);
}
.band--tight {
  padding: 40px 0;
}

/* ============ PAGE HEAD (giant title + lead to the right) ============ */
.page-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 120px;
  align-items: end;
  padding: 30px 0 46px;
}
.page-title {
  font-size: clamp(3rem, 9.5vw, 8rem);
  color: var(--orange);
}
.band--blue .page-title,
.band--dark .page-title {
  color: var(--white);
}
.page-lead {
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  color: var(--orange);
  max-width: 620px;
  padding-bottom: 1.4rem;
}
.band--blue .page-lead {
  color: var(--white);
}
.page-lead a {
  text-decoration: underline;
}

/* ============ HOME ============ */
.hero-name {
  font-size: clamp(2.6rem, 13.2vw, 200px);
  font-weight: 800;
  white-space: nowrap;
  color: var(--orange);
  line-height: 0.88;
  padding: 6px 0 2px;
}
.hero-sub {
  color: var(--orange);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.3vw, 2.6rem);
  line-height: 1.12;
  max-width: none;
  margin-bottom: 40px;
  padding-right: 2rem;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
  padding-bottom: 48px;
}
.about-title {
  font-size: clamp(3rem, 7.2vw, 6.5rem);
  margin-bottom: 20px;
}
.about-body .wave {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.about-body p {
  font-size: clamp(2.7rem, 2.3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 30px;
  max-width: none;
}

/* Home photo: rounded rectangle, shown uncropped */
.about-photo {
  width: 100%;
  height: auto;
  border-radius: 26px;
}

/* Arched image (semicircle top) — used on projects & portfolio */
.arch {
  width: 100%;
  border-radius: 260px 260px 14px 14px;
  object-fit: cover;
}

/* ============ WORK ============ */
.work-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 40px;
}
.work-col .group {
  margin-bottom: 30px;
}
.work-col .group > .lbl {
  display: inline-block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  margin-bottom: 14px;
}
.work-col p {
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
  font-size: 1.12rem;
}
.work-col a {
  color: var(--orange);
  text-decoration: underline;
}
.full-img {
  width: 100%;
  border-radius: 12px;
  margin-top: 20px;
}

/* ============ PROJECTS ============ */
/* subtext black and vertically centered with the title */
body.projects .page-head {
  align-items: end;
}
body.projects .page-lead {
  color: var(--ink);
  padding-bottom: 0;
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
}

.proj {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
}
.proj > * {
  min-width: 0;
} /* prevent grid items from overflowing */
.proj.solo {
  display: block;
}
.proj.solo p {
  max-width: 70ch;
}
.proj-title {
  font-size: clamp(3rem, 5vw, 4rem);
  margin-bottom: 50px;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 5px;
  text-underline-offset: 10px;
}
/* heading + underline colors per band */
.band--dark .proj-title,
.band--blue .proj-title {
  color: var(--white);
}

.band--orange .proj-title {
  text-decoration-color: var(--yellow);
  color: var(--white);
}
.band--yellow .proj-title {
  text-decoration-color: var(--orange);
}

.proj p {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 22px;
}

.proj .links a {
  color: var(--orange);
  text-decoration: underline;
  font-weight: 600;
}
.band--dark .proj .links a,
.band--blue .proj .links a {
  color: var(--yellow);
}
.band--orange .proj .links a {
  color: var(--ink);
}
.band--yellow .proj .links a {
  color: var(--orange);
}

/* general photo collage: masonry, uncropped, rounded */
.proj-media {
  column-count: 2;
  column-gap: 18px;
}
.proj-media.single {
  column-count: 1;
}
.proj-media img {
  width: 100%;
  margin: 0 0 18px;
  border-radius: 18px;
  break-inside: avoid;
}
.proj-media img.flat {
  border-radius: 18px;
}

/* PercFusion: centered horizontal-oval photo between the copy and button */
.oval {
  display: block;
  width: min(440px, 100%);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 50%;
  margin: 22px auto 26px;
}

/* Easy Build: smaller photo on the left, rounded corners */
.easy-build {
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  align-items: center;
}
.easy-photo img {
  margin: 0;
  border-radius: 18px;
}

/* Slawstinbury: overlapping mixed-shape collage (rect + circle + arch) */
.slaw-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.12;
}
.slaw-collage img {
  position: absolute;
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, 0.6);
}
.slaw-collage .c-rect {
  width: 55%;
  top: 0;
  left: 0;
  border-radius: 16px;
  z-index: 1;
}
.slaw-collage .c-circle {
  width: 47%;
  top: 5%;
  right: 0;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
}
.slaw-collage .c-arch {
  width: 52%;
  bottom: 0;
  left: 20%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 200px 200px 14px 14px;
  z-index: 3;
}

.guide-title {
  text-align: center;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 32px;
}
.carousel-hint {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

/* Event Guide — full-bleed horizontal carousel with arrows */
.carousel-wrap {
  position: relative;
  width: 100%;
  padding: 80px 0;
}
.guide-carousel {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 80px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.guide-carousel::-webkit-scrollbar {
  display: none;
} /* WebKit */
.guide-carousel figure {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: center;
}
.guide-carousel img {
  width: clamp(240px, 24vw, 330px);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 38px -14px rgba(0, 0, 0, 0.7);
}
.guide-carousel figcaption {
  text-align: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 12px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: hsla(12.5, 83%, 53.7%, 0.72);
  color: #fff;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px -6px rgba(0, 0, 0, 0.45);
  z-index: 5;
  transition:
    transform 0.15s,
    background 0.2s;
}
.carousel-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}
.carousel-btn:hover {
  background: hsla(12.5, 83%, 50%, 0.92);
  transform: translateY(-50%) scale(1.06);
}
.carousel-btn.prev {
  left: 24px;
}
.carousel-btn.next {
  right: 24px;
}

.mini-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.mini-projects h3 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}
/* responsive 16:9 YouTube embeds */
.video {
  aspect-ratio: 16 / 9;
  margin: 0 0 18px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.5);
}
.video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* alternating video / copy rows (College, Just for Fun, IoT) */
.vid-projects {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.vid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.vid-row > * {
  min-width: 0;
}
.vid-row .video {
  margin: 0;
}
.vid-row.reverse .video {
  order: 2;
}
.vid-row.reverse .vid-copy {
  order: 1;
}
.vid-copy h3 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}
.vid-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.vid-title .icon {
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  color: var(--yellow);
}
.vid-copy p {
  font-size: clamp(1.4rem, 1.8vw, 1.9rem);
  font-weight: 600;
  margin: 0 0 18px;
}
.vid-copy .btn {
  margin-top: 6px;
}
.mini-projects p {
  font-size: clamp(1.4rem, 1.7vw, 1.7rem);
  font-weight: 600;
  margin: 0 0 14px;
}
.mini-projects a {
  color: var(--orange);
  text-decoration: underline;
  font-weight: 600;
}
.band--blue .mini-projects a,
.band--dark .mini-projects a {
  color: var(--yellow);
}
.band--orange .mini-projects a {
  color: var(--ink);
}

/* wavy divider */
.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}

/* ===== Centered section with sporadic circular photos (Angels.VC, SoGal) ===== */
.scatter {
  position: relative;
  overflow: hidden;
}
.scatter-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.scatter-text .proj-title {
  margin-bottom: 24px;
}
.scatter-text p {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.32;
  margin: 0 0 22px;
}
.scatter-text p a:not(.btn) {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  font-weight: 700;
}
.band--blue .scatter-text p a:not(.btn) {
  color: var(--yellow);
}
.scatter-dot {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.35);
}
.scatter-dot.d1 {
  width: 104px;
  height: 104px;
  top: 12%;
  left: 8%;
}
.scatter-dot.d2 {
  width: 74px;
  height: 74px;
  top: 62%;
  left: 15%;
}
.scatter-dot.d3 {
  width: 116px;
  height: 116px;
  top: 24%;
  right: 9%;
}
.scatter-dot.d4 {
  width: 86px;
  height: 86px;
  top: 64%;
  right: 14%;
}

/* padded (smaller) single image */
.proj-media.padded {
  padding: 50px;
}

/* Teller: phone screenshots in a horizontal row */
.photo-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
  margin-top: 44px;
  flex-wrap: nowrap;
}
.photo-row img {
  flex: 1 1 0;
  min-width: 0;
  max-width: 300px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.4);
}

/* Mustache: inverted-diamond photo arrangement (3 over 2) */
.diamond {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.diamond-row {
  display: flex;
  justify-content: center;
  gap: 26px;
}
.diamond img {
  width: 300px;
  aspect-ratio: 3 / 2;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.5);
}

/* ============ PORTFOLIO ============ */
.port-hero {
  position: relative;
}
.port-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.port-hero .page-title {
  margin-bottom: 20px;
}
.port-hero-media {
  position: relative;
}
.blob {
  position: absolute;
  z-index: 0;
  width: 62%;
  top: -8%;
  left: -6%;
  fill: var(--yellow);
}
.port-hero-media .arch {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin-left: auto;
}
.group-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 20px 0 70px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 40px;
  margin-bottom: 30px;
}
.card-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 28px;
}
.card h4 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.card h4 a {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.card h4 a:hover {
  color: var(--orange);
}
.card p {
  font-size: 1.5rem;
  line-height: 1.35;
  margin: 0;
}
/* Other section on the orange band: light underline for card links */
.band--orange .card h4 a {
  text-decoration-color: var(--yellow);
}
.band--orange .card h4 a:hover {
  color: var(--yellow);
}

/* zigzag divider (Climate → Other) */
.zigzag-divider {
  display: block;
  width: 100%;
  line-height: 0;
}
.zigzag-divider svg {
  display: block;
  width: 100%;
  height: 44px;
}

/* ============ CONTACT FORM ============ */
.form-card {
  background: var(--orange);
  color: var(--white);
  border-radius: 44px;
  padding: 60px clamp(24px, 5vw, 80px);
}
.form-card label.field-label {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: 1.9rem;
  margin: 26px 0 14px;
}
.form-card .req {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
  font-family: "Inter Tight", sans-serif;
}
.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.name-row .sub {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.form-card input,
.form-card textarea {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 18px 24px;
  font-size: 1.05rem;
  font-family: inherit;
}
.form-card textarea {
  border-radius: 28px;
  min-height: 150px;
  resize: vertical;
}
.form-card .submit {
  margin-top: 26px;
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 60px 0 54px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: 2.4rem;
}
.footer-social {
  display: flex;
  gap: 24px;
}
.footer-social a {
  text-decoration: underline;
  font-weight: 600;
  font-size: 1.4rem;
}
.footer-social a:hover {
  color: var(--orange);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  body {
    font-size: 18px;
  }
  .container {
    padding: 0 22px;
  }

  .nav-toggle {
    display: block;
  }
  .nav-center,
  .nav > .nav-cta {
    display: none;
  }
  .nav-home {
    margin-right: auto;
  }
  .mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--cream);
    border-top: 1px solid var(--line);
    padding: 8px 22px 20px;
  }
  .on-blue .mobile-menu {
    background: var(--blue);
  }
  .mobile-menu.open {
    display: flex;
  }
  .mobile-menu a {
    color: var(--orange);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .on-blue .mobile-menu a {
    color: var(--white);
  }

  .page-head {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    padding-bottom: 32px;
  }
  .page-lead {
    padding-bottom: 0;
  }

  .hero-name {
    white-space: normal;
    font-size: clamp(1.9rem, 10vw, 3.2rem);
  }
  .about {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-media {
    order: -1;
  }
  .about-body p {
    max-width: none;
  }

  .carousel-btn {
    display: none;
  }
  .guide-carousel {
    padding: 6px 22px 22px;
  }
  .work-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .proj {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .proj-media {
    order: 1;
  }
  /* keep the Slawstinbury collage overlapping (just scaled down) on small screens */
  .slaw-collage {
    max-width: 440px;
    margin: 0 auto;
  }
  /* keep circles scattered on small screens; extra padding gives them room */
  .scatter {
    padding-top: 96px;
    padding-bottom: 96px;
  }
  .scatter-dot {
    width: 58px !important;
    height: 58px !important;
    top: auto;
    bottom: auto;
  }
  .scatter-dot.d1 {
    top: 22px;
    left: 10px;
  }
  .scatter-dot.d2 {
    bottom: 22px;
    left: 16px;
  }
  .scatter-dot.d3 {
    top: 22px;
    right: 10px;
  }
  .scatter-dot.d4 {
    bottom: 22px;
    right: 16px;
  }
  .proj-media.padded {
    padding: 16px;
  }
  .diamond,
  .diamond-row {
    gap: 12px;
  }
  .diamond img {
    width: 29vw;
    height: auto;
    aspect-ratio: 3 / 2;
    max-width: 220px;
  }
  .mini-projects {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  /* red section stacks: video above copy, no left/right alternation */
  .vid-projects {
    gap: 44px;
  }
  .vid-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .vid-row.reverse .video,
  .vid-row.reverse .vid-copy {
    order: 0;
  }

  .port-hero-grid {
    grid-template-columns: 1fr;
  }
  .port-hero-media .arch {
    margin: 0 auto;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }

  .name-row {
    grid-template-columns: 1fr;
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .proj-media {
    column-count: 1;
  }
}

/* desktop: hide mobile menu container */
@media (min-width: 861px) {
  .mobile-menu {
    display: none !important;
  }
}
