:root {
  --paper: #f4efea;
  --cream: #fbf8f5;
  --ink: #241c1e;
  --muted: #5c4b4f;
  --wine: #7a2940;
  --wine-deep: #5a1c2e;
  --line: rgba(90, 28, 46, 0.16);
  --shadow: 0 24px 60px rgba(90, 28, 46, 0.12);
  --header: 4.75rem;
  --serif: "Oranienbaum", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --text-serif: "Cormorant Garamond", "Times New Roman", serif;
  --script: "Great Vibes", "Segoe Script", "Apple Chancery", cursive;
  --sans: Manrope, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  position: relative;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.55'/></svg>");
}

::selection {
  background: var(--wine-deep);
  color: var(--cream);
}

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

img {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.65rem 1rem;
  background: var(--wine-deep);
  color: var(--cream);
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow__line {
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  flex: none;
  transform-origin: left;
  animation: draw 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow--light {
  color: rgba(251, 248, 245, 0.76);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.9;
  text-wrap: balance;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.2rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: inherit;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn svg {
  flex: none;
}

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

.btn--wine {
  background: var(--wine-deep);
  color: var(--cream);
}

.btn--wine:hover {
  background: var(--wine);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--wine);
  color: var(--wine-deep);
}

.btn--cream {
  background: var(--cream);
  color: var(--wine-deep);
}

.btn--cream:hover {
  background: white;
}

.btn--line {
  background: transparent;
  border-color: rgba(251, 248, 245, 0.42);
  color: var(--cream);
}

.btn--line:hover {
  background: var(--cream);
  color: var(--wine-deep);
}

.btn--small {
  min-height: 2.55rem;
  padding: 0.65rem 1rem;
  font-size: 0.68rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
}

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

.header.is-scrolled {
  border-bottom: 1px solid var(--line);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, calc(100% - 8vw));
  min-height: var(--header);
  margin: 0 auto;
  padding: 0.7rem 0;
}

.logo,
.footer__logo {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.95rem;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
}

.nav {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.5rem;
  max-width: min(36rem, 52vw);
  transform: translate(-50%, -50%);
}

.nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

.header__right,
.socials,
.hero__actions,
.order__actions,
.footer__links {
  display: flex;
  align-items: center;
}

.header__right {
  position: relative;
  z-index: 2;
  flex: none;
  gap: 0.4rem 0.85rem;
}

.logo {
  position: relative;
  z-index: 2;
}

.socials {
  gap: 0.1rem;
}

.socials a,
.footer__links a {
  color: var(--ink);
  text-decoration: none;
}

.socials a {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50%;
}

.socials a:hover {
  color: var(--wine);
}

.hero,
.section,
.order,
.footer__inner {
  width: min(1320px, calc(100% - 8vw));
  margin-inline: auto;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100svh - var(--header));
  padding-top: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2.2rem, 5vw, 4rem);
}

.hero__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 3rem);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(5.4rem, 15.6vw, 12.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.76;
}

.hero__accent {
  color: var(--wine);
  animation: ink 1.4s ease 0.35s both;
}

.hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 38rem) auto;
  gap: 2rem 3rem;
  align-items: end;
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

.hero__lead {
  max-width: 38rem;
  color: #7A2940;
  font-family: var(--text-serif);
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1.28;
  text-wrap: pretty;
}

.hero__actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.seal {
  position: relative;
  width: min(32vw, 300px);
  aspect-ratio: 1;
  flex: none;
  margin-bottom: 0.2rem;
  color: var(--wine-deep);
}

.seal__art {
  position: relative;
  z-index: 1;
  display: block;
  width: 86%;
  height: auto;
  margin: 7% auto 0;
  pointer-events: none;
  user-select: none;
  animation: drift 7.5s ease-in-out 1.2s infinite;
}

.seal__ring {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: spin 48s linear infinite;
  pointer-events: none;
}

.seal text {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 0.95rem 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee p {
  margin: 0;
  padding-inline: 0;
  font-family: var(--text-serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-style: italic;
  font-weight: 500;
  color: var(--wine-deep);
  white-space: nowrap;
}

.section {
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.works__head,
.studio__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: 2rem 4rem;
  align-items: end;
}

.works__head {
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.works__note {
  max-width: 28rem;
  margin-bottom: 1.3rem;
  color: var(--muted);
  text-wrap: pretty;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filters button {
  padding: 0.58rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.filters button:hover {
  border-color: var(--wine);
  color: var(--wine-deep);
}

.filters button[aria-pressed="true"] {
  border-color: var(--wine-deep);
  background: var(--wine-deep);
  color: var(--cream);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.4rem, 2.4vw, 2.2rem) clamp(1rem, 1.6vw, 1.5rem);
  align-items: start;
}

.card[data-span="4"] { grid-column: span 4; }
.card[data-span="5"] { grid-column: span 5; }
.card[data-span="6"] { grid-column: span 6; }
.card[data-span="7"] { grid-column: span 7; }
.card[data-span="8"] { grid-column: span 8; }

.card[data-shift="down"] {
  margin-top: 4.5rem;
}

.card.is-hidden {
  display: none;
}

.gallery.is-filtered .card[data-span] {
  grid-column: span 6;
}

.gallery.is-filtered .card[data-shift="down"] {
  margin-top: 0;
}

.card__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(122, 41, 64, 0.14), transparent 52%),
    linear-gradient(165deg, #f7f2ee, #eadfdf);
  border: 1px solid var(--line);
}

.card[data-ratio="landscape"] .card__visual {
  aspect-ratio: 5 / 4;
}

.card[data-ratio="tall"] .card__visual {
  aspect-ratio: 3 / 4.15;
}

.card__zoom {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.card__more {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 1;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(36, 28, 30, 0.72);
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.9s ease;
}

.card[data-fit="contain"] .card__visual {
  background: #f4efea;
}

.card[data-fit="contain"] .card__visual img {
  object-fit: contain;
  object-position: center;
}

.card:hover .card__visual img,
.card:hover .ph {
  transform: scale(1.045);
}

.ph {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem 1.2rem 1.2rem;
  transition: transform 0.9s ease;
}

.ph--1 {
  background:
    radial-gradient(ellipse at 24% 18%, rgba(122, 41, 64, 0.22), transparent 46%),
    radial-gradient(ellipse at 82% 78%, rgba(122, 41, 64, 0.28), transparent 42%),
    linear-gradient(165deg, #f8f4f0, #eadcdc);
}

.ph--2 {
  background:
    radial-gradient(ellipse at 70% 16%, rgba(90, 28, 46, 0.16), transparent 40%),
    radial-gradient(ellipse at 18% 80%, rgba(122, 41, 64, 0.2), transparent 48%),
    linear-gradient(200deg, #f6f1ec, #e4d4d4);
}

.ph--3 {
  background:
    radial-gradient(circle at 50% 42%, rgba(122, 41, 64, 0.18), transparent 36%),
    linear-gradient(180deg, #fbf7f4 0%, #e7d5d6 100%);
}

.ph--4 {
  background:
    radial-gradient(ellipse at 12% 30%, rgba(122, 41, 64, 0.26), transparent 42%),
    radial-gradient(ellipse at 88% 70%, rgba(90, 28, 46, 0.12), transparent 40%),
    linear-gradient(145deg, #f3e8e6, #f8f4f1 55%, #e9d8d6);
}

.ph__num {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.8;
  color: rgba(90, 28, 46, 0.38);
}

.ph__label {
  color: var(--wine-deep);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card__caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
}

.card__caption h3 {
  font-family: var(--text-serif);
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-weight: 500;
}

.card__caption p {
  color: var(--wine-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.gallery__empty {
  margin-top: 1.5rem;
  color: var(--muted);
}

.studio__quote {
  font-family: var(--text-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.12;
  color: var(--wine-deep);
  text-wrap: balance;
}

.offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: clamp(2.2rem, 5vw, 3.5rem);
  list-style: none;
  border-radius: 10px;
}

.offers li {
  position: relative;
  min-height: 19rem;
  overflow: hidden;
  padding: 1.6rem 1.6rem 1.7rem;
  border: 1px solid var(--line);
  background: rgba(251, 248, 245, 0.66);
}

.offers li::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--wine);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s ease;
}

.offers li:hover::before {
  transform: scaleY(1);
}

.offers__num {
  display: block;
  margin-bottom: 2.4rem;
  color: rgba(122, 41, 64, 0.2);
  font-family: var(--serif);
  font-size: clamp(4rem, 6vw, 5.4rem);
  line-height: 0.8;
}

.offers h3 {
  margin-bottom: 0.7rem;
  font-family: var(--text-serif);
  font-size: clamp(1.9rem, 2.5vw, 2.35rem);
  font-weight: 500;
}

.offers p {
  max-width: 36rem;
  color: var(--muted);
  text-wrap: pretty;
}

.order {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(255, 248, 245, 0.08), transparent 42%),
    var(--wine-deep);
  color: var(--cream);
}

.order__watermark {
  position: absolute;
  right: -0.06em;
  bottom: -0.18em;
  color: rgba(251, 248, 245, 0.06);
  font-family: var(--serif);
  font-size: clamp(8rem, 24vw, 20rem);
  letter-spacing: -0.05em;
  line-height: 0.7;
  pointer-events: none;
  user-select: none;
}

.order__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 6rem);

  align-items: center;
  width: min(1320px, calc(100% - 8vw));
  margin-inline: auto;
}

.order h2,
.order__lead {
  color: var(--cream);
}

.order__lead {
  max-width: 34rem;
  margin-top: 1.3rem;
  color: rgba(251, 248, 245, 0.8);
  font-size: 1.05rem;
  text-wrap: pretty;
}

.order__actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.order__handle {
  margin-top: 1rem;
  color: rgba(251, 248, 245, 0.62);
  font-family: var(--text-serif);
  font-size: 1.35rem;
  font-style: italic;
}

.order__promise {
  position: relative;
  margin: 0;
  padding: 0.35rem 0 1.4rem 1.35rem;
  border-left: 1px solid rgba(251, 248, 245, 0.28);
}

.order__promise p {
  margin: 0;
  color: rgba(251, 248, 245, 0.92);
  font-family: var(--text-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: pretty;
}

.order__promise-line {
  display: block;
  width: 3.2rem;
  height: 1px;
  margin-top: 1.35rem;
  background: rgba(251, 248, 245, 0.45);
}

.footer {
  padding: 0 0 1.4rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem 2rem;
  align-items: center;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line);
}

.footer p {
  color: var(--muted);
}

.footer__links {
  gap: 1.2rem;
}

.footer__links a {
  color: var(--wine-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__links a:hover {
  color: var(--wine);
}

.footer__copy {
  font-size: 0.85rem;
}

.lightbox {
  width: min(920px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.lightbox::backdrop {
  background: rgba(24, 14, 16, 0.78);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
}

.lightbox__close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  z-index: 2;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: rgba(36, 28, 30, 0.72);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  background: #f4efea;
}

.lightbox__meta {
  display: grid;
  gap: 0.45rem;
  padding: 1.05rem 1.25rem 1.2rem;
  background: #fffdfb;
  border-top: 1px solid rgba(90, 28, 46, 0.1);
  color: var(--ink);
}

.lightbox__meta-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.lightbox__caption {
  margin: 0;
  font-family: var(--text-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  line-height: 1.15;
}

.lightbox__price,
.lightbox__note {
  margin: 0;
}

.lightbox__price {
  color: var(--wine-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.lightbox__note {
  color: rgba(90, 28, 46, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(36, 28, 30, 0.72);
  color: var(--cream);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox__nav[hidden] {
  display: none;
}

.lightbox__prev { left: 0.6rem; }
.lightbox__next { right: 0.6rem; }

.lightbox img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 12.5rem);
  object-fit: contain;
  background: #f4efea;
}

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

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes ink {
  from { opacity: 0.15; }
  to { opacity: 1; }
}

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.motion .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.motion .reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero__intro,
.hero__bottom {
  animation: rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__bottom {
  animation-delay: 0.12s;
}

.seal {
  animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

@media (max-width: 980px) {
  .nav {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    max-width: none;
    justify-content: center;
    gap: 0.7rem 1.1rem;
    padding-top: 0.15rem;
  }

  .header__inner {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }

  .logo {
    order: 1;
  }

  .header__right {
    order: 2;
    margin-left: auto;
  }

  .hero__title {
    font-size: clamp(4.8rem, 22vw, 8rem);
  }

  .seal {
    width: 176px;
  }

  .seal text {
    font-size: 9px;
  }

  .works__head,
  .studio__top,
  .order__grid,
  .hero__bottom {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .gallery.is-filtered .card[data-span] {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .card[data-span],
  .gallery.is-filtered .card[data-span] {
    grid-column: span 6;
  }

  .card[data-shift="down"] {
    margin-top: 0;
  }

  .card[data-ratio="landscape"] .card__visual,
  .card[data-ratio="tall"] .card__visual,
  .card__visual {
    aspect-ratio: 4 / 5;
  }

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

  .offers li {
    min-height: 0;
  }

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

  .footer__copy {
    justify-self: end;
  }
}

@media (max-width: 560px) {
  .logo,
  .footer__logo {
    font-size: 1.55rem;
  }

  .nav a {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .header__right {
    gap: 0.25rem 0.45rem;
  }

  .socials a {
    width: 2.05rem;
    height: 2.05rem;
  }

  .socials a svg {
    width: 16px;
    height: 16px;
  }

  .btn--small {
    padding: 0.55rem 0.85rem;
    font-size: 0.66rem;
  }

  .hero {
    padding-bottom: 2.4rem;
  }

  .hero__top {
    align-items: flex-end;
    gap: 0.6rem;
  }

  .hero__intro {
    min-width: 0;
  }

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

  .seal {
    width: 124px;
    margin-top: 0;
    margin-bottom: 0.2rem;
  }

  .seal text {
    font-size: 8px;
    letter-spacing: 0;
  }

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

  .card[data-span],
  .gallery.is-filtered .card[data-span] {
    grid-column: auto;
  }

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

  .footer__copy {
    justify-self: start;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .hero__title {
    font-size: clamp(5rem, 12vw, 8.4rem);
  }

  .seal {
    width: 220px;
  }
}

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

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

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