/* Shared editorial structure. Brand artwork, specimens and product photography
   keep their own typography, palettes and proportions. */
:root {
  --fm-page-gutter: clamp(20px, 4vw, 56px);
  --fm-page-max: 1440px;
  --fm-section-space: clamp(48px, 6vw, 88px);
  --fm-column-gap: 6%;
  --fm-label-size: 16px;
  --fm-copy-size: 18px;
  --fm-caption-size: 14px;
  --fm-section-title: clamp(36px, 4.4vw, 64px);
}

/* Home: the four introductions now use the same right column. */
.portfolio-home .hp-wrap,
body[data-portfolio-case] :is(.af-wrap,.r-wrap,.cv-wrap,.w-wrap,.mc-wrap,.vk-wrap,.sb-wrap,.wrap) {
  width: calc(100% - var(--fm-page-gutter) * 2);
  max-width: var(--fm-page-max);
  margin-inline: auto;
}
.portfolio-home .hp-section { padding-block: var(--fm-section-space); }
.portfolio-home :is(.hp-section-heading,.hp-digital-heading) {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 24px var(--fm-column-gap);
  align-items: end;
  margin-bottom: 40px;
}
.portfolio-home :is(.hp-section-heading,.hp-digital-heading)>p {
  width: 100%; max-width: none; margin: 0; padding: 0;
  font-size: var(--fm-copy-size); line-height: 1.6;
  letter-spacing: normal; word-spacing: normal; color: var(--hp-muted);
}
.portfolio-home :is(.hp-section-heading,.hp-digital-heading) h2 {
  font-size: clamp(38px, 4.8vw, 70px); line-height: 1.1;
  letter-spacing: -.02em; margin-top: 0;
}
.portfolio-home .hp-kicker,
.portfolio-home .hp-about-details h3 {
  font-size: var(--fm-label-size); line-height: 1.5;
  letter-spacing: .015em; font-weight: 500;
}
.portfolio-home :is(.hp-section-heading,.hp-digital-heading) .hp-kicker { margin-bottom: 20px; }
.portfolio-home .hp-project-copy .hp-kicker { font-size: 14px; }
.portfolio-home .hp-project-status { font-size: 14px; line-height: 1.3; }
.portfolio-home .hp-education :is(h4,p),
.portfolio-home .hp-skill p { font-size: 16px; line-height: 1.6; }
.portfolio-home .hp-experience>p { font-size: 22px; letter-spacing: normal; }
.portfolio-home .hp-compact-category { font-size: 16px; }
.portfolio-home .hp-compact-category small { font-size: 14px; line-height: 1.5; }
.portfolio-home .hp-menu { gap: 8px 32px; padding-block: 16px; }
.portfolio-home .hp-menu a { font-size: 18px; }
.portfolio-home :is(#selected,#more-work,#playground) { border-top: 1px solid var(--hp-line); }
.portfolio-home .hp-digital { margin: 0; padding: 0; }
.portfolio-home .hp-digital>.hp-wrap {
  border-top: 1px solid var(--hp-line);
  padding-block: var(--fm-section-space);
}
.portfolio-home .dg-scroll-tools { margin-top: 24px; }
.portfolio-home :is(.dg-scroll-tools>span,.dg-item figcaption,.dg-meta) { font-size: 14px; }
.portfolio-home .hp-contacts { border-top: 0; position: relative; padding-top: var(--fm-section-space); }
.portfolio-home .hp-contacts::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: calc(100% - var(--fm-page-gutter) * 2); max-width: var(--fm-page-max);
  border-top: 1px solid var(--hp-line); pointer-events: none;
}
.portfolio-home .hp-contact-links { gap: 20px 48px; }
.portfolio-home .hp-contact-links :is(.hp-email,.hp-phone) {
  font-family: 'Fine Matter Display', Georgia, serif;
  font-size: clamp(23px, 2.6vw, 38px); line-height: 1.4;
  letter-spacing: normal; word-spacing: normal; margin-top: 0;
}
.portfolio-home .hp-footer { font-size: 14px; margin-top: 56px; }

/* One launch-button family for both 3D scenes and all motion works. */
.portfolio-home :is(.iz-launch,.vs-launch,.mv-launch) {
  box-sizing: border-box; min-height: 48px; padding: 12px 22px;
  border: 1px solid #ffffffb3; border-radius: 28px;
  background: #25292ff0; color: #fff;
  font: 500 16px/1.3 'Ysabeau', Arial, sans-serif;
  letter-spacing: normal; word-spacing: normal;
  box-shadow: 0 3px 16px #0002;
  transition: background-color .18s, color .18s, border-color .18s;
}
.portfolio-home :is(.iz-launch,.vs-launch,.mv-launch):hover:not(:disabled),
.portfolio-home :is(.iz-launch,.vs-launch,.mv-launch):focus-visible {
  background: #fff; color: #202429; border-color: #fff;
}
.portfolio-home :is(.iz-launch,.vs-launch,.mv-launch):focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.portfolio-home :is(.iz-launch,.vs-launch,.mv-launch):active:not(:disabled) { background: #dce0e4; color: #202429; }
.portfolio-home .mv-launch { font-size: 16px !important; }
.portfolio-home :is(.iz-hint,.hp-3d-description,.hp-motion-card>p) { font-size: 16px; line-height: 1.6; }

/* Case navigation is a single non-sticky component on all eight pages. */
body[data-portfolio-case] { --fm-nav-accent: currentColor; }
body[data-portfolio-case='aeroflot'] { --fm-nav-accent: #003580; }
body[data-portfolio-case='ramo2'] { --fm-nav-accent: #bd4d29; }
body[data-portfolio-case='city-voyage'] { --fm-nav-accent: #806438; }
body[data-portfolio-case='winter'] { --fm-nav-accent: #a70943; }
body[data-portfolio-case='merch-collection'] { --fm-nav-accent: #151b18; }
body[data-portfolio-case='vk-kids'] { --fm-nav-accent: #123dee; }
body[data-portfolio-case='siberian-bank'] { --fm-nav-accent: #465b96; }
body[data-portfolio-case] nav[data-case-menu] {
  position: relative; inset: auto; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start;
  gap: 4px 28px; padding: 16px 0; margin-block: 0 32px;
  border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-bottom: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  background: transparent; font-size: 16px; line-height: 1.4;
  letter-spacing: normal; word-spacing: normal;
}
body[data-portfolio-case] nav[data-case-menu]>a,
body[data-portfolio-case] nav[data-case-menu]>a:last-child {
  display: inline-flex; position: relative; align-items: center;
  width: auto; min-height: 44px; max-width: 100%; padding: 8px 0;
  margin: 0; border: 0; border-bottom: 2px solid transparent;
  font: inherit; font-weight: 500; color: inherit;
  text-decoration: none; white-space: normal;
  transition: color .15s, border-color .15s;
}
body[data-portfolio-case] nav[data-case-menu]>a::after { content: none; }
body[data-portfolio-case] nav[data-case-menu]>a:is(:hover,:focus-visible,[aria-current='location']) {
  color: var(--fm-nav-accent); border-bottom-color: currentColor; text-decoration: none;
}
body[data-portfolio-case] nav[data-case-menu]>a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Editorial headings only: original English brand specimens are not selected. */
body[data-portfolio-case] :is(.af-section-head,.cv-chapter,.mc-section-head,.sb-section-head,.vk-switch-head,.section-head) h2 {
  font-size: var(--fm-section-title); line-height: 1.1; letter-spacing: -.025em;
}
body[data-portfolio-case] :is(.af-section-head,.mc-section-head,.sb-section-head,.w-section-heading,.w-world-heading) {
  grid-template-columns: minmax(0,1.45fr) minmax(0,1fr);
  gap: 24px var(--fm-column-gap); align-items: start;
}
body[data-portfolio-case] :is(.af-section-head>p,.mc-section-head>p,.sb-section-head>.sb-copy,.w-section-heading>p,.w-world-heading>p:last-child) {
  max-width: none; width: 100%; padding: 0; margin-top: 0;
  font-size: var(--fm-copy-size); line-height: 1.65;
  letter-spacing: normal; word-spacing: normal;
}
body[data-portfolio-case] :is(.af-eyebrow,.r-label,.cv-eyebrow,.cv-chapter>span,.w-eyebrow,.mc-kicker,.mc-label,.vk-label,.sb-label,.label) {
  font-size: 14px; line-height: 1.5; letter-spacing: .045em;
}
body[data-portfolio-case] :is(.r-copy,.sb-copy,.vk-copy) { font-size: var(--fm-copy-size); line-height: 1.65; }
body[data-portfolio-case] main :is(p,li,dd):not([lang='en']):not(.r-label):not(.cv-eyebrow):not(.w-eyebrow):not(.mc-kicker):not(.vk-label):not(.sb-label) {
  word-spacing: normal;
}
body[data-portfolio-case] main :is(h1,h2,h3):not([lang='en']):not(.r-brand) { letter-spacing: -.025em; }
body[data-portfolio-case] :is(.af-section,.cv-section,.w-section,.mc-section,.sb-space,.vk-space,.space) { padding-block: var(--fm-section-space); }
body[data-portfolio-case] figcaption { font-size: var(--fm-caption-size); line-height: 1.5; letter-spacing: normal; word-spacing: normal; }
body[data-portfolio-case] :is(.mc-tabs,.mc-variant-tabs) button { white-space: normal; overflow-wrap: anywhere; }
body[data-portfolio-case='ramo2'] .r-chapter { gap: 20px 32px; align-items: baseline; }
body[data-portfolio-case='ramo2'] .r-chapter h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.15; }
body[data-portfolio-case='ramo2'] .r-atmosphere .r-atmosphere-copy { min-width: 0; }
body[data-portfolio-case='aeroflot-toys'] .crew-choice span { font-size: 14px; }
body[data-portfolio-case='vk-kids'] .vk-role p { font-size: 20px; line-height: 1.6; letter-spacing: normal; }
/* The winter opening is a cover, not a second set of navigation cards. */
body[data-portfolio-case='winter'] .w-editorial-cover { margin: 40px 0 0; }
body[data-portfolio-case='winter'] .w-editorial-cover>div { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; }
body[data-portfolio-case='winter'] .w-editorial-cover img { width: 100%; height: 100%; aspect-ratio: 1.45; object-fit: cover; display: block; }
body[data-portfolio-case='winter'] .w-editorial-cover figcaption { padding-top: 14px; color: var(--w-muted); }
body[data-portfolio-case='winter'] .w-tabs--route .w-tab-panel { min-height: 0; }
body[data-portfolio-case='winter'] .w-tabs--views .w-tab-panel--orthographic figure { min-height: 0; }
body[data-portfolio-case='winter'] .w-kuper-world .w-tabs--route .w-tab-list { align-items: stretch; }
body[data-portfolio-case='winter'] .w-kuper-world .w-tabs--route .w-tab-list button {
  display: flex; align-items: flex-start; justify-content: space-between; text-align: left;
}
body[data-portfolio-case='merch-collection'] .mc-tab-list button { min-width: 0; white-space: normal; overflow-wrap: anywhere; letter-spacing: normal; }
body[data-portfolio-case='aeroflot'] .af-story-applications>figure:nth-child(-n+2)>img {
  width: 100%; height: clamp(320px,36vw,520px); object-fit: contain;
}
body[data-portfolio-case='winter'] .w-kuper-merch .w-product>span {
  min-height: 3em; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
body[data-portfolio-case='merch-collection'] .mc-wave-graphic .mc-zoom {
  height: auto; min-height: 0;
}
body[data-portfolio-case='merch-collection'] .mc-wave-graphic .mc-zoom img {
  width: 100%; max-width: none; height: auto; max-height: none;
}
body[data-portfolio-case='merch-collection'] .mc-zoom:has(img[src*='wave-bottle']) { overflow: hidden; }
body[data-portfolio-case='merch-collection'] .mc-zoom img[src*='wave-bottle'] {
  height: 110%; width: auto; max-width: none; max-height: none;
  flex-shrink: 0; transform: none; object-fit: contain;
}
body[data-portfolio-case='merch-collection'] .mc-wave-system { display: block; margin-top: 28px; }
body[data-portfolio-case='merch-collection'] .mc-wave-system>div { max-width: none; width: 100%; }
body[data-portfolio-case='merch-collection'] .mc-wave-system p { max-width: none; }
/* Trim only the rendered one-pixel rim; preserve all original source files. */
body[data-portfolio-case='merch-collection'] .mc-gastreet .mc-zoom--edge { background: transparent; }
body[data-portfolio-case='merch-collection'] .mc-gastreet .mc-zoom--edge>img { clip-path: inset(.8px); }

/* VK: the caption sits on its section, without a separate blue plaque. */
body[data-portfolio-case='vk-kids'] .vk-visual { background: transparent; }
body[data-portfolio-case='vk-kids'] .vk-visual figcaption { background: transparent; padding: 14px 0 0; }
body[data-portfolio-case='vk-kids'] .vk-hero-scenes { grid-template-columns: 1fr 1fr; align-items: start; gap: 28px; }
body[data-portfolio-case='vk-kids'] .vk-hero-scenes figure { width: 100%; margin: 0; padding: 0; }
body[data-portfolio-case='vk-kids'] .vk-hero-scenes img { width: 100%; height: clamp(280px,32vw,470px); max-height: none; object-fit: contain; }
body[data-portfolio-case='vk-kids'] .vk-show-overview>.vk-wrap>.vk-visual { max-width: 780px; margin-inline: auto; }
body[data-portfolio-case='vk-kids'] .vk-show-overview>.vk-wrap>.vk-visual>img { height: auto; max-height: none; }
body[data-portfolio-case='vk-kids'] .vk-creative-layout { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
body[data-portfolio-case='vk-kids'] .vk-creative-layout .vk-visual { width: 100%; margin: 0; }
body[data-portfolio-case='vk-kids'] .vk-creative-layout .vk-visual img { width: 100%; aspect-ratio: 1.4; height: auto; object-fit: cover; }
body[data-portfolio-case='vk-kids'] .vk-system-visuals { display: grid; gap: 28px; }
body[data-portfolio-case='vk-kids'] .vk-system-visuals .vk-visual { transform: none; }
.vk-gallery { min-width: 0; }
.vk-gallery-track {
  display: flex; position: relative; align-items: flex-start; gap: 24px;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.vk-gallery-track::-webkit-scrollbar { display: none; }
.vk-gallery-track>.vk-visual { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
body[data-portfolio-case='vk-kids'] .vk-gallery-track>.vk-visual>img { width: auto; height: auto; max-width: 100%; max-height: 540px; margin-inline: auto; }
body[data-portfolio-case='vk-kids'] .vk-configuration .vk-gallery-track>.vk-visual>img { width: min(100%,460px); max-height: none; }
.vk-gallery-controls { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.vk-gallery-controls>span { margin-right: auto; font-size: 14px; font-variant-numeric: tabular-nums; }
.vk-gallery-controls>button { width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; font-size: 22px; }
.vk-gallery-controls>button:hover:not(:disabled) { background: var(--vk-blue); color: white; }
.vk-gallery-controls>button:disabled { opacity: .3; }
.dg-lightbox { border: 0; background: #fff; color: #252825; padding: 64px 24px 24px; max-width: 94vw; max-height: 94svh; width: 1200px; }
.dg-lightbox::backdrop { background: #101722d9; }
.dg-lightbox>img { display: block; width: 100%; max-height: 77svh; object-fit: contain; }
.dg-lightbox>button { position: absolute; top: 12px; right: 16px; min-height: 44px; padding: 8px 16px; border: 1px solid #9a9d9a; border-radius: 24px; background: #fff; font: inherit; }
.dg-lightbox>p { font-size: 16px; margin: 16px 0 0; }

@media(max-width:1100px) {
  /* Reserve the actual SVG height instead of negative offsets at tablet widths. */
  .portfolio-home .hp-about-flock {
    position: relative; display: block; top: auto; right: auto;
    width: min(100%,350px); height: auto; margin: 0 0 18px auto;
  }
}

@media(max-width:760px) {
  :root { --fm-copy-size: 17px; --fm-label-size: 15px; --fm-section-title: clamp(32px, 7vw, 44px); }
  .portfolio-home :is(.hp-section-heading,.hp-digital-heading) {
    grid-template-columns: minmax(0,1fr); gap: 18px; margin-bottom: 30px;
  }
  .portfolio-home :is(.hp-section-heading,.hp-digital-heading)>p { margin: 0; }
  .portfolio-home :is(.hp-section-heading,.hp-digital-heading)>p br { display: none; }
  .portfolio-home :is(.hp-section-heading,.hp-digital-heading) h2 { font-size: clamp(34px, 8vw, 48px); }
  .portfolio-home .hp-contact-links { display: flex; flex-direction: column; align-items: flex-start; }
  .portfolio-home .hp-contact-links :is(.hp-email,.hp-phone) { font-size: clamp(20px, 5.2vw, 29px); }
  .portfolio-home .hp-footer { display: flex; flex-wrap: wrap; font-size: 13px; }
  /* Keep the whole animated flock inside this section's normal flow. */
  .portfolio-home .hp-about-flock {
    position: relative; display: block; top: auto; right: auto;
    width: min(100%,300px); height: auto; margin: 0 0 16px auto;
  }
  .portfolio-home :is(.iz-launch,.vs-launch,.mv-launch) { padding-inline: 18px; }
  body[data-portfolio-case] nav[data-case-menu] { gap: 4px 22px; padding-block: 12px; margin-bottom: 24px; font-size: 16px; }
  body[data-portfolio-case] :is(.af-section-head,.mc-section-head,.sb-section-head,.w-section-heading,.w-world-heading) { grid-template-columns: minmax(0,1fr); gap: 22px; }
  body[data-portfolio-case] :is(.af-section-head>p,.mc-section-head>p,.sb-section-head>.sb-copy,.w-section-heading>p,.w-world-heading>p:last-child) { margin: 0; }
  body[data-portfolio-case='ramo2'] .r-chapter { flex-wrap: wrap; }
  body[data-portfolio-case='aeroflot-toys'] .crew-choices { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  body[data-portfolio-case='ramo2'] .r-atmosphere-caption h3 { font-size: clamp(23px,6vw,29px); line-height: 1.2; overflow-wrap: anywhere; }
  body[data-portfolio-case='vk-kids'] .vk-hero-scenes { grid-template-columns: 1fr; gap: 24px; }
  body[data-portfolio-case='vk-kids'] .vk-hero-scenes img { height: auto; max-height: 380px; object-fit: contain; }
  body[data-portfolio-case='vk-kids'] .vk-creative-layout { grid-template-columns: 1fr; }
  body[data-portfolio-case='vk-kids'] .vk-gallery-track>.vk-visual>img { max-height: 430px; }
  body[data-portfolio-case='aeroflot-toys'] .intro,
  body[data-portfolio-case='vk-kids'] .vk-role-grid,
  body[data-portfolio-case='siberian-bank'] .sb-result-grid { grid-template-columns: minmax(0,1fr); }
  body[data-portfolio-case='aeroflot-toys'] .intro>*,
  body[data-portfolio-case='vk-kids'] .vk-role-grid>*,
  body[data-portfolio-case='siberian-bank'] .sb-result-grid>* { min-width: 0; }
  body[data-portfolio-case='aeroflot-toys'] .hero-title h1 { font-size: clamp(44px,14vw,68px); max-width: 100%; }
  body[data-portfolio-case='aeroflot-toys'] .intro h2 { font-size: clamp(30px,8.5vw,38px); }
  body[data-portfolio-case='merch-collection'] .mc-gastreet .mc-heading { font-size: clamp(36px,10vw,55px); }
  body[data-portfolio-case='city-voyage'] h3[lang='en'] { font-size: clamp(26px,9vw,43px); }
  body[data-portfolio-case='ramo2'] .r-final h2 { font-size: clamp(38px,12vw,55px); }
  body[data-portfolio-case='siberian-bank'] .sb-shop-link { max-width: 100%; white-space: normal; gap: 12px; }
  body[data-portfolio-case='vk-kids'] .vk-role h2 { font-size: clamp(28px,9vw,38px); }
  /* Expand touch input only; the fitted map outline remains on its original spot. */
  body[data-portfolio-case='city-voyage'] .cv-map-spot::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: max(100%,44px); height: max(100%,44px); transform: translate(-50%,-50%);
  }
  body[data-portfolio-case='city-voyage'] .cv-map-preview-close { width: 44px; height: 44px; }
}
@media(prefers-reduced-motion:reduce) {
  .portfolio-home :is(.iz-launch,.vs-launch,.mv-launch),
  body[data-portfolio-case] nav[data-case-menu]>a { transition: none; }
}
@media(max-width:359px) {
  body[data-portfolio-case='siberian-bank'] .sb-result h2 { font-size: 32px; }
}

/* Mobile cover: three small, stacked fragments of the approved desktop artwork. */
@media(max-width:760px) {
  .mc-merch .mc-hero-mobile {
    display: grid; grid-auto-flow: row; grid-template-columns: minmax(0,1fr);
    grid-auto-columns: auto; gap: 16px; padding: 0; margin: 0 20px 28px;
    width: auto; overflow: visible; scroll-snap-type: none;
  }
  .mc-merch .mc-hero-mobile figure.mc-hero-card {
    display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr);
    align-items: center; gap: 16px; margin: 0; padding: 0; background: transparent;
  }
  .mc-merch .mc-hero-fragment {
    width: 100%; aspect-ratio: 1.15; max-width: 260px; overflow: hidden;
  }
  .mc-merch .mc-hero-fragment img {
    display: block; width: 100%; height: 100%; max-height: none;
    object-fit: cover; object-position: left center; margin: 0;
  }
  .mc-merch .mc-hero-card--gastreet img { object-position: 59% center; }
  .mc-merch .mc-hero-card--wave img { object-position: right center; }
  .mc-merch .mc-hero-mobile figcaption {
    margin: 0; padding: 0; background: transparent; color: #111619;
    font-size: 16px; line-height: 1.35; font-weight: 600;
  }
}

/* No blanket reserve based on a hidden sibling's composition. */
body[data-portfolio-case='merch-collection'] .mc-tab-panels,
body[data-portfolio-case='winter'] .w-tab-panels { min-height: 0; }

/* Text panels grow with their copy instead of holding a taller state's reserve. */
body[data-portfolio-case='aeroflot'] :is(.af-palette-purpose,.af-colour-detail,.af-colour-source-note,.af-lab-readout,.af-flag-detail-card .af-story-diag-note) { min-height: 0; }
body[data-portfolio-case='city-voyage'] :is(.cv-item-description,.cv-media-status) { min-height: 0; }
body[data-portfolio-case='ramo2'] :is(.r-signature,.r-grid-stage) { min-height: 0; }
body[data-portfolio-case='ramo2'] .r-final { height: auto; min-height: 0; max-height: none; }
body[data-portfolio-case='ramo2'] .r-final-content { height: auto; padding-block: var(--fm-section-space); }
@media(max-width:760px) {
  body[data-portfolio-case='ramo2'] .r-type { min-height: 0; justify-content: flex-start; }
}

/* User rule: lines may wrap at spaces; words must stay whole on narrow screens. */
@media(max-width:760px) {
  .portfolio-home :is(h1,h2,h3,h4,p,a,button,figcaption,li,dt,dd,span,strong,small),
  body[data-portfolio-case] :is(h1,h2,h3,h4,p,a,button,figcaption,li,dt,dd,span,strong,small) {
    overflow-wrap: normal !important; word-break: normal !important; hyphens: none !important;
  }
  body[data-portfolio-case='ramo2'] .r-atmosphere-caption { container-type: inline-size; }
  body[data-portfolio-case='ramo2'] .r-atmosphere-caption h3 { font-size: min(23px,13cqw); }
}
@media(max-width:359px) {
  .portfolio-home .hp-compact-link h3 { font-size: 20px; }
}

@media (max-width: 760px) { body[data-portfolio-case='winter'] .w-editorial-cover > div { grid-template-columns: 1fr; } body[data-portfolio-case='winter'] .w-editorial-cover img { height: auto; aspect-ratio: 16 / 9; } }
