/* Layout and component styles. Brand primitives live in travelisse-system.css. */

/* ==========================================================
   BASE / GLOBAL
========================================================== */
html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 4rem;
}

.section {
  border-bottom: 1px solid var(--color-border);
}

.section > .content-wrapper > .eyebrow + h2,
.contact .eyebrow + h2 {
  margin-top: 0.75rem;
}

.intro,
.contact > .content-wrapper > p:not(.eyebrow) {
  max-width: var(--container-2xl);
  margin-top: 0.75rem;
}

.media {
  background-color: var(--muted);
  min-height: 420px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-image);
}

.missing {
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
  padding: 1.5rem;
  text-align: center;
}

video:focus-visible,
.textlink:focus-visible,
.social:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

main,
.content-wrapper > * {
  min-width: 0;
}

main {
  overflow-wrap: anywhere;
}

/* ==========================================================
   HEADER / NAVIGATION
========================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.nav-inner {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.theme-toggle {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  font-size: 1.25rem;
}

.theme-toggle:hover {
  background: var(--muted);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* ==========================================================
   HERO
========================================================== */

.hero {
  padding-block: 2.5rem;
}

.hero > .content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero > .content-wrapper > div:first-child > * + * {
  margin-top: 1.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-media {
  min-height: 480px;
}

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

.hero .actions > * {
  width: 100%;
  justify-content: center;
}

.hero .button,
.hero .button-outline {
  white-space: normal;
  height: auto;
  min-height: 3rem;
  padding-block: .75rem;
  text-align: center;
}

/* ==========================================================
   HERO PORTFOLIO SHORTCUTS
========================================================== */

.hero-portfolio-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.375rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-relaxed);
  text-transform: uppercase;
}

.hero-explore-label,
.hero-portfolio-separator {
  color: var(--muted-foreground);
  font-weight: 400;
}

.hero-portfolio-link-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
}

.hero-portfolio-link {
  min-width: 0;
  color: var(--primary);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
}

.hero-portfolio-link:hover,
.hero-portfolio-link:focus-visible {
  text-decoration-color: currentColor;
}

/* ==========================================================
   TESTIMONIALS
========================================================== */

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

.testimonial-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--card);
  cursor: pointer;
  transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
  transform-origin: center;
  backface-visibility: hidden;
}

.testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.testimonial-card:focus-visible,
.testimonial-dialog-close:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.testimonial-card--turning {
  transform: perspective(900px) rotateY(8deg) scale(0.985);
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
}

.testimonial-attribution {
  margin-top: auto;
  padding-top: 2.5rem;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-role {
  margin-top: 0.25rem;
  color: var(--muted-foreground);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.testimonial-read-more {
  display: block;
  margin-top: 1.5rem;
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 500;
}

.testimonial-dialog {
  position: fixed;
  inset: 0;
  width: min(700px, calc(100% - 3rem));
  max-width: none;
  max-height: none;
  height: min(780px, calc(100dvh - 3rem));
  margin: auto;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--card);
  color: var(--card-foreground);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}

.testimonial-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: testimonial-appear 230ms ease-out both;
}

.testimonial-dialog::backdrop {
  background: color-mix(in srgb, var(--foreground) 40%, transparent);
}

.testimonial-dialog-header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.testimonial-dialog-header h2 {
  font-size: var(--text-2xl);
  line-height: 1.2;
}

.testimonial-dialog-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: var(--text-2xl);
  line-height: 1;
  cursor: pointer;
}

.testimonial-dialog-close:hover {
  background: var(--muted);
}

.testimonial-dialog-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2rem;
}

#testimonials .testimonial-full-quote {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-relaxed);
  color: var(--card-foreground);
  white-space: pre-line;
  text-wrap: wrap;
  overflow-wrap: anywhere;
}

.testimonial-dialog .testimonial-attribution {
  padding-top: 2rem;
}

@keyframes testimonial-appear {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  .testimonial-dialog {
    width: calc(100% - 2rem);
    height: calc(100dvh - 2rem);
  }

  .testimonial-dialog-body {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card {
    transition: none;
  }

  .testimonial-card--turning {
    transform: none;
  }

  .testimonial-dialog[open] {
    animation: none;
  }
}

/* ==========================================================
   VIDEO WORK
========================================================== */

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

.video-grid .card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.video-grid .card video,
.video-grid .card .placeholder {
  display: block;
  flex: none;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: var(--muted);
}

.video-grid .card video {
  aspect-ratio: 9 / 16;
}

.video-grid .card .placeholder {
  aspect-ratio: 9 / 16;
}

.card-copy {
  text-align: left;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-copy > *:last-child {
  margin-top: auto;
}

.video-grid .card .placeholder {
  position: relative;
  overflow: hidden;
}

.video-grid .placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-label {
  position: absolute;
  inset: auto 1rem 1rem;
  padding: .5rem;
  background: var(--card);
  color: var(--card-foreground);
  text-align: center;
  font-size: var(--text-sm);
  border-radius: var(--radius);
}

/* ==========================================================
   PRODUCT PHOTOGRAPHY
========================================================== */

.photography-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
}

.photography-grid--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.photography-frame {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-image);
}

/* Fill the fixed-ratio frame independently of the source image dimensions.
   object-position stays on the img as an inline value from content/content.js. */
.photography-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A wider opening image gives the seven- and five-photo collections
   a complete first row, without fixed mosaic coordinates. */
.photography-grid--feature > .photography-frame:first-child {
  grid-column: span 2;
  aspect-ratio: 8 / 5;
}

/* ==========================================================
   ABOUT
========================================================== */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  align-items: center;
  gap: 4rem;
}

.about-image {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
}

.about-copy {
  min-width: 0;
  max-width: var(--container-2xl);
}

.about-copy h2 {
  margin-top: 1rem;
}

.about-paragraphs {
  margin-top: 1.5rem;
}

.about-paragraphs p {
  color: var(--muted-foreground);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.about-paragraphs p + p {
  margin-top: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--border);
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-stat-value {
  order: -1;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1.15;
  color: var(--primary);
}

.about-languages {
  margin-top: 1.5rem;
}

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

.about-language {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-sm);
}

/* ==========================================================
   UPCOMING TRAVELS
========================================================== */

/* The source .about-metadata divider: same auto width within .about-copy,
   border color, spacing and all-screen behavior. */
.about-travels {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.about-travel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.about-trip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.about-trip-dates {
  font-size: var(--text-sm);
  color: var(--primary);
}

.about-inspiration {
  margin-top: 2rem;
}

.about-inspiration .meta {
  margin-top: 0.5rem;
}

.about-inspiration-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.about-inspiration-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ==========================================================
   PROCESS / HOW I WORK
========================================================== */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.process-step {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--card);
}

.process-step > * + * {
  margin-top: 0.75rem;
}

/* Keep the number and icon on one shared header row. */
.process-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.process-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  color: var(--color-brand);
}

/* Two lines at the existing 1.2 heading line-height, at every font size.
   Titles remain top-aligned; descriptions start at the same height. */
.process-title {
  min-height: 2.4em;
}

.process-number {
  display: block;
  color: var(--color-brand);
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--font-weight-medium);
  line-height: 1;
}

/* ==========================================================
   CONTACT
========================================================== */

.contact {
  padding-block: 5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 5rem;
  align-items: center;
}

.contact-copy h2 {
  margin-top: 0.75rem;
  max-width: 760px;
}

.contact-description {
  max-width: 680px;
  margin-top: 1.25rem;
  color: var(--muted-foreground);
}

.contact-details {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.contact-qr {
  width: 150px;
  aspect-ratio: 1;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.contact-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-brand);
  text-decoration: underline;
}

.contact-link svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link:hover span {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.contact-visual {
  position: relative;
  padding-bottom: 2rem;
}

.contact-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--muted);
  border-radius: var(--radius-image);
  overflow: hidden;
}

.contact-image-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-signature {
  position: absolute;
  right: 1rem;
  bottom: 0;
  font-family: "Allura", cursive;
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 0.8;
  white-space: nowrap;
  transform: rotate(-4deg);
}

/* ==========================================================
   RESPONSIVE CONTACT / SMALL SCREENS
========================================================== */

@media (max-width: 48rem) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-details {
    align-items: flex-start;
  }

  .contact-visual {
    max-width: 480px;
  }
}

/* ==========================================================
   SECTION BACKGROUNDS / DARK MODE
========================================================== */

.visual-section--cream {
  background-color: var(--background);
}

.visual-section--white {
  background-color: var(--surface);
}

.dark {
  --background: oklch(0.21 0.012 80);
  --foreground: oklch(0.93 0.012 90);

  --surface: oklch(0.255 0.013 80);
  --surface-foreground: oklch(0.93 0.012 90);

  --card: oklch(0.295 0.014 78);
  --card-foreground: oklch(0.93 0.012 90);

  --popover: oklch(0.32 0.015 78);
  --popover-foreground: oklch(0.93 0.012 90);

  --primary: oklch(0.68 0.072 122);
  --primary-foreground: oklch(0.21 0.025 122);
  --primary-soft: oklch(0.34 0.032 122);

  --secondary: oklch(0.68 0.112 42);
  --secondary-foreground: oklch(0.2 0.03 42);
  --secondary-soft: oklch(0.35 0.045 42);

  --accent: oklch(0.7 0.058 231);
  --accent-foreground: oklch(0.2 0.02 231);
  --accent-soft: oklch(0.34 0.028 231);

  --muted: oklch(0.315 0.012 80);
  --muted-foreground: oklch(0.72 0.014 85);

  --destructive: oklch(0.66 0.15 27);
  --destructive-foreground: oklch(0.19 0.025 27);

  --border: oklch(0.4 0.018 78);
  --input: oklch(0.4 0.018 78);
  --ring: oklch(0.68 0.072 122);
}

/* ==========================================================
   FOOTER
========================================================== */

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

/* Order is intentional: later rules override earlier breakpoints. */

@media (min-width: 48rem) {
  .hero {
    padding-block: 4rem;
  }

  .hero-media {
    min-height: 620px;
    background-position: 20% 20%;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .hero {
    padding-block: 5rem;
  }

  .hero > .content-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }


  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}


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

@media (max-width: 1100px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  @media (max-width: 760px) {
    .video-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  }

  main,
  .content-wrapper > *,
  .contact-details > * {
    min-width: 0;
  }

  main {
    overflow-wrap: anywhere;
  }

  .nav-inner,
  .nav nav {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .theme-toggle {
    flex: none;
  }

  section[id] {
    scroll-margin-top: 8rem;
  }

  .hero > .content-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .hero > .content-wrapper > div:first-child {
    grid-row: 2;
    width: 100%;
    max-width: none;
  }

  .hero .lede {
    width: 100%;
    max-width: none;
  }

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

  .hero-media {
    grid-row: 1;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .hero .actions {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
    width: 100%;
  }

  .hero .button {
    height: auto;
    min-height: 3rem;
    padding-block: 0.75rem;
    white-space: normal;
    text-align: center;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-card:last-child {
    grid-column: 1 / -1;
  }




  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
    gap: 2.5rem;
    align-items: center;
  }

  .contact-image-placeholder {
    aspect-ratio: 3 / 4;
  }

  .contact-details {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .contact-links,
  .contact-link {
    min-width: 0;
    max-width: 100%;
  }

  .contact-link span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .contact-visual {
    width: 100%;
    max-width: 30rem;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  section[id] {
    scroll-margin-top: 10rem;
  }

  .nav-inner {
    padding-block: 0.5rem;
  }

  .nav nav {
    width: 100%;
    column-gap: 0.5rem;
    row-gap: 0;
  }

  .nav nav a,
  .nav nav a:nth-child(3) {
    display: block;
    padding-block: 0.75rem;
  }

  .hero-media {
    aspect-ratio: 4 / 5;
  }

  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .video-grid {
    gap: 1.5rem;
  }




  .contact {
    padding-block: 3rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-copy,
  .contact-visual {
    width: 100%;
    max-width: none;
  }

  .contact-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .contact-signature {
    right: 1rem;
    bottom: 0;
  }

  .contact-details {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.5rem;
  }

  .contact-links {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 540px) {








  .content-wrapper {
    padding-inline: 1rem;
  }

  .section h2,
  .contact h2 {
    font-size: clamp(1.5rem, 7vw, 1.875rem);
  }






  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-copy,
  .contact-visual {
    width: 100%;
    max-width: none;
  }

  .contact-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .contact-signature {
    right: 1rem;
    bottom: 0;
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .contact-details {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.5rem;
  }

  .contact-qr {
    width: 120px;
  }

  .contact-links {
    flex: 1;
    min-width: 0;
  }
}

/* ==========================================================
   RESPONSIVE / FINAL LAYOUT OVERRIDES
========================================================== */

@media (min-width: 1101px) {
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* Keep these About overrides after the narrow-phone rules, as before. */

/* ==========================================================
   ABOUT / UPCOMING TRAVELS — RESPONSIVE
========================================================== */

@media (max-width: 1100px) {
  .about-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    align-items: start;
    gap: 2rem;
  }

  .about-stats {
    gap: 0.75rem;
  }

}

@media (max-width: 760px) {
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-image {
    max-width: 30rem;
    justify-self: center;
  }

  .about-copy {
    max-width: none;
  }

}

@media (max-width: 540px) {
  .about-language-list {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Photography collections reflow without changing other section layouts. */
@media (max-width: 1100px) {
  .photography-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 540px) {
  .photography-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .photography-grid--feature > .photography-frame:first-child {
    grid-column: auto;
    aspect-ratio: 4 / 5;
  }
}

/* PRODUCT REELS — 2 VIDEO LAYOUT */

#work > .content-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  column-gap: 4rem;
  align-items: start;
}

#work > .content-wrapper > .eyebrow,
#work > .content-wrapper > h2,
#work > .content-wrapper > .intro {
  grid-column: 1;
}

#work > .content-wrapper > .eyebrow {
  grid-row: 1;
}

#work > .content-wrapper > h2 {
  grid-row: 2;
}

#work > .content-wrapper > .intro {
  grid-row: 3;
}

#videoWork {
  grid-column: 2;
  grid-row: 1 / 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0;
  align-items: start;
}

@media (max-width: 900px) {
  #work > .content-wrapper {
    display: block;
  }

  #videoWork {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
  }
}

@media (max-width: 540px) {
  #videoWork {
    grid-template-columns: 1fr;
  }
}