:root {
  --bg: #f7f6f2;
  --panel: #eeece6;
  --ink: #20201f;
  --muted: #767674;
  --line: #ebe8e2;
  --dark-panel: rgba(35, 31, 28, 0.78);
  --gutter: 12px;
  --inner: 108px;
  --radius: 7px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", "Outfit Placeholder", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
select,
input {
  font: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  padding: var(--gutter) var(--gutter) 0;
}

.announcement {
  height: 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 16px;
  border-radius: 5px;
  background: var(--panel);
  color: var(--ink);
  text-transform: uppercase;
  font-size: 12px;
}

.announcement p {
  margin: 0;
}

.delivery {
  justify-self: center;
  grid-column: 2;
}

.rating {
  justify-self: end;
  grid-column: 3;
}

.rating span {
  font-size: 10px;
  letter-spacing: 1px;
  margin-right: 8px;
}

.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 3px solid var(--line);
}

.brand-small img {
  width: clamp(304px, 25.3vw, 386px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--ink);
}

.nav-links a,
.nav-text-button {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  text-transform: uppercase;
  cursor: pointer;
}

.nav-links a::after,
.nav-text-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-links a:hover::after,
.nav-text-button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.icon-button,
.menu-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-button {
  width: 17px;
  height: 17px;
  padding: 0;
}

.icon-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-button {
  display: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 6px;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.menu-button span {
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button:hover {
  background: rgba(235, 232, 226, 0.72);
  box-shadow: inset 0 0 0 1px rgba(32, 32, 31, 0.08);
}

.menu-button:active {
  transform: scale(0.96);
}

.hero {
  position: relative;
  height: calc(100svh - 92px);
  min-height: 628px;
  border-bottom: 3px solid var(--line);
  overflow: hidden;
}

main > section {
  border-bottom: 3px solid var(--line);
}

.hero-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(64vw, 1050px);
  min-width: 720px;
  height: min(530px, calc(100% - 98px));
  min-height: 430px;
  transform: translateY(-50%);
  border-radius: var(--radius);
  overflow: visible;
  touch-action: pan-y;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hero-card > img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  transition: opacity 260ms ease;
  min-height: 0;
}

.hero-blur {
  position: absolute;
  z-index: 1;
  top: -23px;
  width: 48%;
  height: 46px;
  border-radius: 24px;
  background: inherit;
  background-image: var(--hero-blur-image, url("assets/hero-divanhana-studio.png"));
  background-size: 210% auto;
  filter: blur(13px);
  opacity: 0.62;
  pointer-events: none;
}

.hero-blur-left {
  left: 9%;
  background-position: 36% 0;
}

.hero-blur-right {
  right: 9%;
  background-position: 64% 0;
}

.hero-cta {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  background: rgba(34, 31, 28, 0.42);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  transition: background-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.hero-refresh-icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 18px;
  line-height: 1;
  transition: transform 260ms ease;
}

.hero-cta:hover {
  background: rgba(34, 31, 28, 0.58);
  transform: translateY(-1px);
}

.hero-cta:hover .hero-refresh-icon {
  transform: rotate(36deg);
}

.product-arrow {
  position: absolute;
  z-index: 6;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  box-shadow: none;
  transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.product-arrow:hover {
  background: rgba(235, 232, 226, 0.5);
  transform: translateY(-1px);
}

.hero-copy {
  position: absolute;
  left: auto;
  right: calc(50% + 340px);
  top: 50%;
  width: 385px;
  transform: translateY(-50%);
}

.hero-copy p {
  margin: 0 0 62px;
  font-size: 18px;
  line-height: 1.42;
}

.signature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.signature img {
  width: 70px;
  height: 70px;
  border-radius: 7px;
  object-fit: cover;
}

.signature span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.2;
}

.signature strong {
  display: block;
  color: #1f1f1f;
  font-family: "Caveat", cursive;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.explore {
  position: absolute;
  left: 50%;
  bottom: 31px;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--muted);
  text-transform: uppercase;
  transform: translateX(-50%);
  font-size: 14px;
}

.explore span {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--muted);
}

.portfolio {
  display: grid;
  grid-template-columns: 38.2% 61.8%;
  min-height: 100vh;
  padding: 74px var(--inner);
}

.portfolio-side {
  position: relative;
  padding-right: 52px;
}

.portfolio-side::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 0;
  bottom: 28px;
  width: 3px;
  background: var(--line);
}

.portfolio-side h2 {
  position: sticky;
  top: 34px;
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;
  line-height: 0.98;
}

.portfolio-works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-left: 52px;
}

.portfolio-work {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--line);
  background: transparent;
}

.portfolio-work:first-child,
.portfolio-more {
  grid-column: 1 / -1;
}

.portfolio-media {
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  background: #ddd8ce;
  aspect-ratio: 16 / 9;
  touch-action: pan-y;
  user-select: none;
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
  -webkit-user-drag: none;
}

.portfolio-work:hover .portfolio-media img {
  transform: scale(1.025);
}

.portfolio-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(clamp(54px, 9vw, 96px), 0.65fr) clamp(38px, 5vw, 62px) clamp(48px, 6vw, 86px);
  align-items: start;
  gap: clamp(6px, 1.2vw, 16px);
  padding: 14px 0 8px;
  color: var(--ink);
}

.portfolio-work:first-child .portfolio-info {
  grid-template-columns: minmax(0, 1fr) minmax(clamp(68px, 11vw, 120px), 1fr) clamp(44px, 6vw, 92px) clamp(60px, 8vw, 128px);
  gap: clamp(8px, 1.4vw, 22px);
}

.portfolio-info > div:not(.portfolio-controls) {
  order: 1;
}

.portfolio-info > span:first-of-type {
  order: 2;
}

.portfolio-info > span:last-of-type {
  order: 3;
}

.portfolio-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(3px, 0.7vw, 8px);
  padding-top: 1px;
  order: 4;
}

.portfolio-controls button,
.portfolio-toggle {
  width: clamp(20px, 2.7vw, 34px);
  height: clamp(20px, 2.7vw, 34px);
  border: 0;
  border-radius: 4px;
  background: rgba(235, 232, 226, 0.78);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(32, 32, 31, 0.04);
  transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.portfolio-controls button::before {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 0.5;
  font-weight: 400;
}

.portfolio-controls [data-portfolio-prev]::before {
  content: "\2039";
}

.portfolio-controls [data-portfolio-next]::before {
  content: "\203A";
}

.portfolio-controls button:hover,
.portfolio-toggle:hover {
  background: #e2ded5;
  opacity: 1;
}

.portfolio-controls button:active,
.portfolio-toggle:active {
  transform: scale(0.96);
}

.portfolio-info h3 {
  margin: 0;
  font-size: clamp(12px, 1.35vw, 18px);
  font-weight: 500;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-work:first-child .portfolio-info h3 {
  font-size: clamp(13px, 1.6vw, 22px);
}

.portfolio-info p {
  margin: 3px 0 12px;
  color: var(--muted);
  font-size: clamp(10px, 1.15vw, 15px);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-work:first-child .portfolio-info p {
  font-size: clamp(11px, 1.35vw, 18px);
}

.portfolio-info > span {
  font-size: clamp(10px, 1.2vw, 16px);
  line-height: 1.1;
  white-space: nowrap;
}

.portfolio-toggle {
  width: clamp(20px, 2.4vw, 30px);
  height: clamp(20px, 2.4vw, 30px);
  position: relative;
}

.portfolio-toggle::before,
.portfolio-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(12px, 1.45vw, 18px);
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.portfolio-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.portfolio-work.is-open .portfolio-toggle::after {
  opacity: 0;
}

.portfolio-work.is-open .portfolio-toggle {
  background: #e2ded5;
  color: var(--ink);
}

.portfolio-description {
  display: none;
  max-width: 690px;
  margin: 14px 0 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.portfolio-work.is-open .portfolio-description {
  display: block;
}

.portfolio-more {
  justify-self: center;
  margin-top: 34px;
  border: 0;
  border-bottom: 3px solid var(--line);
  padding: 0 0 9px;
  background: transparent;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}

.portfolio-more:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.collection-heading {
  min-height: 649px;
  padding: 143px var(--inner) 90px;
  border-bottom: 3px solid var(--line);
}

.eyebrow {
  margin: 0 0 45px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.2;
}

.collection-heading h1 {
  max-width: 1050px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(45px, 6.32vw, 80px);
  font-weight: 500;
  line-height: 1.1;
}

.collection-heading a {
  transition: color 180ms ease;
}

.collection-heading a:hover {
  color: var(--ink);
}

.products {
  position: relative;
  padding: 68px var(--inner) 122px;
  border-bottom: 3px solid var(--line);
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 31px;
}

.product-tabs button {
  height: 42px;
  border: 0;
  border-bottom: 3px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease;
}

.product-tabs button.is-active {
  color: var(--ink);
  border-color: currentColor;
}

.product-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.product-viewport a,
.product-image img {
  -webkit-user-drag: none;
}

.product-viewport::-webkit-scrollbar {
  display: none;
}

.product-viewport.is-dragging {
  cursor: grabbing;
}

.product-track {
  display: flex;
  gap: 24px;
  width: 100%;
}

.product-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}

.product-image {
  position: relative;
  height: 441px;
  border-radius: 4px;
  overflow: hidden;
  background: #ddd8ce;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.035);
}

.view-more,
.sale-badge {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 88px;
  height: 32px;
  padding: 0 12px;
  border-radius: 5px;
  background: var(--dark-panel);
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.view-more {
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 6px));
}

.sale-badge {
  left: 12px;
  top: 12px;
  opacity: 1;
  transform: none;
}

.product-card:hover .view-more {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 10px 0;
  text-transform: uppercase;
  font-size: 14px;
}

.price {
  white-space: nowrap;
}

.price del {
  margin-right: 8px;
  color: var(--muted);
  text-decoration-thickness: 1px;
}

.product-arrow {
  top: 362px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.product-arrow:hover {
  background: transparent;
  transform: translateY(calc(-50% - 1px));
}

.product-arrow:disabled {
  opacity: 0.22;
  cursor: default;
  pointer-events: none;
}

.product-prev {
  left: 50px;
}

.product-next {
  right: 50px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  min-height: 551px;
  padding: 196px var(--inner) 112px;
  border-bottom: 3px solid var(--line);
}

.principles article {
  min-height: 150px;
  padding-right: 76px;
}

.principles article + article {
  border-left: 3px solid var(--line);
  padding-left: 76px;
}

.principle-media {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 70px;
  margin-bottom: 38px;
}

.principle-media img {
  width: 70px;
  height: 70px;
  border-radius: 3px;
  object-fit: cover;
}

.principle-media span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.2;
}

.principle-media strong {
  font-family: "Caveat", cursive;
  font-size: 32px;
  font-weight: 500;
  white-space: nowrap;
}

.principle-media h3 {
  margin: 5px 0 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
  white-space: nowrap;
}

.principles p {
  max-width: 480px;
  margin: 0;
  font-size: 15px;
  line-height: 1.42;
}

.story-panels {
  padding: 0 var(--gutter);
}

.story-panels article {
  position: relative;
  height: 720px;
  margin: 0 0 4px;
  overflow: hidden;
  border-radius: 4px;
  background: #6f6250;
}

.story-panels img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.76);
}

.story-panels article:nth-child(1) img {
  object-position: 50% 49%;
}

.story-panels article:nth-child(2) img {
  object-position: 50% 55%;
}

.story-panels article:nth-child(3) img {
  object-position: 50% 48%;
}

.story-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 44px;
  color: #fff;
  text-align: center;
}

.story-content h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 600;
  line-height: 0.98;
}

.story-content p {
  max-width: 390px;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.collections-grid {
  padding: 126px var(--inner) 120px;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-title h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
}

.section-title a {
  text-transform: uppercase;
  text-decoration: underline;
  font-size: 12px;
  font-weight: 500;
}

.collection-cards {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}

.collection-card {
  position: relative;
  height: 414px;
  overflow: hidden;
  border-radius: 6px;
  background: #ddd8ce;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.collection-card:hover img {
  transform: scale(1.035);
}

.collection-card span {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 220px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 0 16px;
  border-radius: 5px;
  background: var(--dark-panel);
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.collection-card.wide span {
  min-width: 245px;
}

.collection-card b {
  font-size: 16px;
}

.team {
  padding: 126px var(--inner) 120px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  min-width: 0;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  border-radius: 5px;
  object-fit: cover;
  background: #ddd8ce;
}

.team-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 4px 0;
  border-top: 3px solid var(--line);
  margin-top: 12px;
}

.team-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  text-align: right;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.2;
}

.testimonials {
  padding: 126px var(--inner) 120px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 3px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
}

.testimonial-card p {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}

.testimonial-card div {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 3px solid var(--line);
}

.testimonial-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.testimonial-card span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.1;
}

.quote {
  min-height: 654px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 26px;
  padding: 70px 20px 84px;
}

.quote-mark {
  font-size: 60px;
  font-weight: 600;
  line-height: 0.6;
}

.quote h2 {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.04;
}

.quote h2 strong {
  color: var(--ink);
  font-weight: 600;
}

.quote-signature img {
  width: 80px;
  height: 80px;
}

.instagram {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-top: 1px solid transparent;
  cursor: grab;
  scrollbar-width: none;
  touch-action: pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.instagram::-webkit-scrollbar {
  display: none;
}

.instagram.is-dragging {
  cursor: grabbing;
}

.instagram-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: instagram-marquee 38s linear infinite;
  will-change: transform;
}

.instagram:hover .instagram-track,
.instagram.is-dragging .instagram-track,
.instagram.is-paused .instagram-track {
  animation-play-state: paused;
}

.instagram img {
  flex: 0 0 clamp(260px, 23.75vw, 450px);
  height: clamp(260px, 23.75vw, 450px);
  border-radius: 4px;
  object-fit: cover;
  pointer-events: none;
}

@keyframes instagram-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10vw;
  padding: 105px var(--inner) 96px;
  border-top: 3px solid var(--line);
}

.footer-brand img {
  width: 400px;
  max-width: min(100%, 400px);
  margin-bottom: 40px;
}

.social {
  text-transform: uppercase;
  line-height: 1.8;
  font-size: 14px;
}

.social span {
  display: inline-block;
  padding: 0 8px;
  color: var(--muted);
}

.payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 110px;
}

.payments span {
  display: inline-grid;
  place-items: center;
  min-width: 45px;
  height: 22px;
  padding: 0 8px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.footer-brand p {
  max-width: 260px;
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.footer-brand small {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 12px;
}

.footer-brand small img {
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 50%;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 90px;
}

.footer-links h4 {
  margin: 0 0 18px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
}

.footer-links h4:not(:first-child) {
  margin-top: 44px;
}

.footer-links a {
  display: block;
  margin: 0 0 13px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.1;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--ink);
}

@media (max-width: 1100px) {
  :root {
    --inner: 48px;
  }

  .hero-copy {
    right: auto;
    left: 6.2%;
    width: 300px;
  }

  .principles {
    padding-top: 130px;
  }

  .principles article,
  .principles article + article {
    padding-left: 42px;
    padding-right: 42px;
  }

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

@media (max-width: 860px) {
  :root {
    --inner: 24px;
  }

  .announcement {
    grid-template-columns: 1fr;
    height: 30px;
    gap: 12px;
    padding: 0 14px;
    text-align: left;
  }

  .delivery {
    display: none;
  }

  .rating {
    justify-self: end;
    grid-column: 1;
    white-space: nowrap;
  }

  .nav {
    align-items: center;
    height: 82px;
    min-height: 0;
    padding: 0 12px;
  }

  .nav-links {
    position: static;
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 13px;
  }

  .nav-links > :nth-child(-n+8),
  .nav-text-button,
  .nav-text-button + span,
  .icon-button {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 38px;
    height: 38px;
    margin-left: 8px;
    border-radius: 6px;
    background: rgba(235, 232, 226, 0.74);
    box-shadow: inset 0 0 0 1px rgba(32, 32, 31, 0.06);
    gap: 0;
  }

  .menu-button span:first-child {
    transform: translateY(1px);
  }

  .menu-button span:last-child {
    transform: translateY(-1px);
  }

  .brand-small img {
    width: 271px;
  }

  .icon-button {
    width: 17px;
    height: 17px;
  }

  .hero {
    height: auto;
    min-height: 0;
    display: grid;
    gap: 20px;
    justify-items: center;
    padding: 52px 24px 34px;
  }

  .hero-card,
  .hero-copy,
  .explore {
    position: static;
    transform: none;
  }

  .hero-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(276px, 100%);
    min-width: 0;
    min-height: 0;
    height: 348px;
    order: 1;
    display: block;
  }

  .hero-stack-image {
    display: none;
  }

  .hero-blur {
    top: -18px;
    height: 42px;
    filter: blur(12px);
    opacity: 0.68;
  }

  .hero-card > img {
    object-position: 46% 50%;
  }

  .hero-copy {
    width: min(276px, 100%);
    order: 2;
    text-align: center;
  }

  .hero-copy p {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero .signature {
    justify-content: center;
  }

  .explore {
    order: 3;
  }

  .portfolio {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 54px 13px 62px;
  }

  .portfolio-side {
    padding: 0 0 28px;
  }

  .portfolio-side::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
  }

  .portfolio-side h2 {
    position: static;
    text-align: center;
    font-size: 36px;
    line-height: 1;
  }

  .portfolio-works {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0 0;
  }

  .portfolio-work {
    border-radius: 6px;
  }

  .portfolio-info {
    grid-template-columns: minmax(0, 1fr) clamp(44px, 18vw, 70px) clamp(30px, 11vw, 42px) clamp(34px, 12vw, 50px);
    align-items: start;
    gap: clamp(4px, 2vw, 8px);
    padding-top: 12px;
  }

  .portfolio-work:first-child .portfolio-info {
    grid-template-columns: minmax(0, 1fr) clamp(44px, 18vw, 70px) clamp(30px, 11vw, 42px) clamp(34px, 12vw, 50px);
    gap: clamp(4px, 2vw, 8px);
  }

  .portfolio-info > span {
    font-size: clamp(8px, 2.7vw, 11px);
    line-height: 1.15;
  }

  .portfolio-info h3 {
    font-size: clamp(9px, 3vw, 13px);
  }

  .portfolio-work:first-child .portfolio-info h3 {
    font-size: clamp(9px, 3vw, 13px);
  }

  .portfolio-info p {
    margin-bottom: 8px;
    font-size: clamp(8px, 2.6vw, 11px);
  }

  .portfolio-work:first-child .portfolio-info p {
    font-size: clamp(8px, 2.6vw, 11px);
  }

  .portfolio-controls {
    gap: 4px;
  }

  .portfolio-controls button,
  .portfolio-toggle {
    width: clamp(18px, 6vw, 23px);
    height: clamp(18px, 6vw, 23px);
    border-radius: 3px;
    font-size: 0;
  }

  .portfolio-controls button::before {
    font-size: clamp(20px, 7vw, 28px);
  }

  .portfolio-toggle {
    width: clamp(18px, 6vw, 24px);
    height: clamp(18px, 6vw, 24px);
  }

  .portfolio-description {
    margin: 12px 0 28px;
    font-size: 14px;
  }

  .portfolio-more {
    margin-top: 24px;
  }

  .collection-heading {
    min-height: 0;
    padding: 53px 13px 58px;
  }

  .collection-heading .eyebrow {
    margin-bottom: 29px;
  }

  .collection-heading h1 {
    font-size: 24px;
    line-height: 1.43;
  }

  .products {
    padding: 31px 13px 58px;
  }

  .product-tabs {
    gap: 7px;
    margin-bottom: 16px;
  }

  .product-tabs button {
    height: 32px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }

  .product-viewport {
    touch-action: pan-x pan-y;
  }

  .product-viewport a {
    touch-action: pan-x pan-y;
  }

  .product-track {
    gap: 10px;
  }

  .product-card {
    flex-basis: 61%;
  }

  .product-image {
    height: 254px;
  }

  .product-arrow {
    top: 206px;
    width: 24px;
    height: 42px;
    font-size: 28px;
  }

  .product-prev {
    display: grid;
    left: 1px;
  }

  .product-next {
    right: 1px;
  }

  .principles {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 54px 13px 58px;
    gap: 36px;
  }

  .principles article,
  .principles article + article {
    padding: 0;
    border-left: 0;
  }

  .principles article:not(:last-child) {
    border-bottom: 3px solid var(--line);
    padding-bottom: 36px;
  }

  .principle-media {
    min-height: 56px;
    margin-bottom: 28px;
  }

  .principle-media img {
    width: 56px;
    height: 56px;
  }

  .principles p {
    font-size: 15px;
    line-height: 1.5;
  }

  .story-panels article {
    height: 286px;
    min-height: 0;
    margin: 0 10px 8px;
  }

  .story-panels img {
    filter: brightness(0.72);
  }

  .story-content {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 34px;
    color: #fff;
    text-align: center;
  }

  .story-content h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.04;
  }

  .story-content p {
    max-width: 220px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
  }

  .collection-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: visible;
    scroll-snap-type: none;
    cursor: default;
    touch-action: auto;
    user-select: auto;
  }

  .collection-card {
    width: 100%;
    height: 214px;
    scroll-snap-align: none;
  }

  .collections-grid {
    padding: 54px 13px 62px;
  }

  .team {
    padding: 54px 13px 62px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .team-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 16px;
    align-items: center;
    padding-bottom: 26px;
    border-bottom: 3px solid var(--line);
  }

  .team-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .team-card img {
    aspect-ratio: 1;
    border-radius: 6px;
  }

  .team-card div {
    display: block;
    margin: 0;
    padding: 0;
    border-top: 0;
  }

  .team-card h3 {
    margin-bottom: 8px;
    font-size: 25px;
  }

  .team-card p {
    text-align: left;
    font-size: 12px;
  }

  .testimonials {
    padding: 54px 13px 62px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .testimonial-card {
    min-height: 0;
    padding: 22px;
  }

  .testimonial-card p {
    font-size: 20px;
    line-height: 1.3;
  }

  .testimonial-card div {
    margin-top: 30px;
  }

  .section-title {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 27px;
    text-align: center;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .collection-card span,
  .collection-card.wide span {
    min-width: 182px;
    height: 42px;
    gap: 28px;
  }

  .quote {
    min-height: 430px;
    padding: 58px 13px 62px;
    gap: 22px;
  }

  .quote h2 {
    font-size: 32px;
    line-height: 1.13;
  }

  .instagram {
    padding-bottom: 10px;
    touch-action: none;
    overscroll-behavior-x: contain;
  }

  .instagram img {
    flex: 0 0 112px;
    height: 112px;
    -webkit-user-drag: none;
  }

  .footer {
    display: flex;
    flex-direction: column;
    gap: 70px;
    padding: 58px 36px 70px;
    text-align: center;
  }

  .footer-links {
    order: 1;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-links h4:not(:first-child),
  .footer-links h4 {
    margin: 0 0 21px;
  }

  .footer-links h4:not(:first-child) {
    margin-top: 48px;
  }

  .footer-links a {
    margin-bottom: 17px;
    font-size: 13px;
  }

  .footer-brand {
    order: 2;
    border-top: 3px solid var(--line);
    padding-top: 38px;
  }

  .footer-brand img {
    width: 302px;
    margin: 0 auto 32px;
  }

  .social {
    line-height: 1.9;
  }

  .payments {
    justify-content: center;
    margin: 22px 0 42px;
  }

  .footer-brand p {
    max-width: 260px;
    margin: 0 auto 34px;
    font-size: 14px;
  }

  .footer-brand small {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 13px;
  }

  .site-header {
    padding: 8px 8px 0;
  }

  .announcement {
    font-size: 10px;
  }

  .nav {
    height: 76px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .brand-small img {
    width: 239px;
  }

  .hero {
    padding: 52px 16px 34px;
  }

  .hero-card {
    height: 348px;
  }

  .hero-cta {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .collection-heading h1 {
    font-size: 24px;
    line-height: 1.43;
  }

  .products {
    padding-left: 13px;
    padding-right: 13px;
  }

  .product-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .product-tabs button {
    font-size: 11px;
  }

  .product-card {
    flex-basis: 61%;
  }

  .product-image {
    height: 254px;
  }

  .product-prev {
    left: 1px;
  }

  .product-next {
    right: 1px;
  }

  .principle-media h3 {
    font-size: 24px;
    white-space: nowrap;
  }

  .collections-grid {
    padding: 54px 13px 62px;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .quote {
    min-height: 430px;
  }

  .quote h2 {
    font-size: 32px;
  }

  .footer {
    padding: 58px 36px 70px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .payments {
    margin-bottom: 42px;
  }

}
