@import url("../themes/index.css");
@import url("../components/index.css");
@import url("../patterns/index.css");

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  --preview-backdrop-soft: color-mix(in srgb, var(--color-text-primary) 14%, transparent);
  --preview-frame-contrast: color-mix(in srgb, var(--color-surface) 68%, transparent);
  --preview-rule-soft: color-mix(in srgb, var(--color-text-primary) 5%, transparent);
  --preview-rule-strong: color-mix(in srgb, var(--color-text-primary) 8%, transparent);
  --preview-surface-base: var(--color-surface);
  --preview-surface-muted: var(--color-surface-elevated);
  --preview-surface-glint: color-mix(in srgb, var(--color-surface) 48%, transparent);
  min-height: 100vh;
  background: var(--preview-surface-base);
  color: var(--color-text-primary);
  font-family: var(--foundation-font-family-text);
  overflow-x: clip;
}

img {
  max-width: 100%;
}

img[src*="../reference_images/"] {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 130%;
  display: block;
  max-width: none;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.hero__figure img[src*="../reference_images/"],
.campaign-band__figure img[src*="../reference_images/"],
.story-figure img[src*="../reference_images/"],
.website-hero__media img[src*="../reference_images/"],
.website-editorial__media img[src*="../reference_images/"],
.ds-card__media img[src*="../reference_images/"],
.motif-glyph img[src*="../reference_images/"] {
  width: 130%;
  height: 130%;
}

a {
  color: inherit;
}

.preview-page {
  width: min(96rem, calc(100vw - 2rem));
  margin: 0 auto;
  padding: var(--foundation-space-5) 0 var(--foundation-space-11);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--foundation-space-4);
  padding: var(--foundation-space-4) 0;
  margin-bottom: var(--foundation-space-7);
  border-bottom: 1px solid var(--color-border-subtle);
  background: var(--preview-surface-base);
  box-shadow: none;
  transition: transform 240ms ease, opacity 220ms ease;
  transform: translateY(0);
  opacity: 1;
}

.site-header__edge {
  display: flex;
  align-items: center;
  gap: var(--foundation-space-5);
}

.site-header__edge--right {
  justify-content: flex-end;
}

.site-header__edge--right a {
  font-size: 0.8125rem;
  letter-spacing: var(--foundation-letter-spacing-wide);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text-muted);
}

.site-header__edge--right a:hover {
  color: var(--color-text-primary);
}

.site-header__center {
  display: grid;
  justify-items: center;
}

.brand-lockup--centered {
  text-decoration: none;
}

.header-menu-button {
  display: inline-flex;
  align-items: center;
  gap: var(--foundation-space-3);
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-primary);
  font: inherit;
  font-size: 0.8125rem;
  letter-spacing: var(--foundation-letter-spacing-wide);
  text-transform: uppercase;
  cursor: pointer;
}

.header-menu-button__lines {
  display: grid;
  gap: 0.28rem;
}

.header-menu-button__lines span {
  display: block;
  width: 1rem;
  height: 1px;
  background: currentColor;
}

.HeaderDrawer {
  width: min(24rem, calc(100vw - 1rem));
  margin: 0 auto 0 0;
  height: 100vh;
  max-height: none;
  padding: 0;
  border: none;
  background: transparent;
  opacity: 0;
  transition: opacity 180ms ease;
}

.HeaderDrawer[open] {
  opacity: 1;
}

.HeaderDrawer::backdrop {
  background: var(--preview-backdrop-soft);
  transition: background-color 200ms ease;
}

.HeaderDrawer__panel {
  display: grid;
  align-content: start;
  gap: var(--foundation-space-7);
  min-height: 100vh;
  padding: var(--foundation-space-7);
  background: var(--preview-surface-base);
  border-right: 1px solid var(--color-border-subtle);
  box-shadow: none;
  opacity: 0;
  transform: translateX(-1.25rem);
  transition: transform 220ms ease, opacity 220ms ease;
}

.HeaderDrawer[open] .HeaderDrawer__panel {
  opacity: 1;
  transform: translateX(0);
}

.HeaderDrawer__header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: var(--foundation-space-4);
}

.HeaderDrawer__header > div:first-child {
  grid-column: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.HeaderDrawer__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--foundation-space-4);
}

.HeaderDrawer__close {
  display: inline-grid;
  place-items: center;
  grid-column: 3;
  justify-self: end;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
}

.HeaderDrawer__closeIcon {
  position: relative;
  width: 1rem;
  height: 1rem;
}

.HeaderDrawer__closeIcon span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.HeaderDrawer__closeIcon span:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.HeaderDrawer__closeIcon span:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

.HeaderDrawer__nav {
  display: grid;
  gap: var(--foundation-space-4);
}

.HeaderDrawer__nav a {
  width: fit-content;
  font-family: var(--foundation-font-family-display);
  font-size: clamp(1.65rem, 3.4vw, 1.9rem);
  letter-spacing: var(--foundation-letter-spacing-tight);
  text-decoration: none;
}

.HeaderDrawer__nav a:hover,
.HeaderDrawer__close:hover,
.header-menu-button:hover {
  color: var(--color-text-primary);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: var(--foundation-space-4);
}

.brand-seal {
  width: 2.8rem;
  aspect-ratio: 1;
  border: 1px solid var(--color-border-subtle);
  border-radius: 0;
  display: grid;
  place-items: center;
  font-family: var(--foundation-font-family-display);
  font-size: var(--foundation-font-size-20);
  color: var(--color-text-primary);
}

.site-header__edge--right a,
.website-header .site-header__edge--right a,
.website-footer a {
  transition: color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.header-note {
  font-size: 0.8125rem;
  letter-spacing: var(--foundation-letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.header-utilities,
.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--foundation-space-3);
}

.language-toggle {
  padding-right: var(--foundation-space-3);
  border-right: 1px solid var(--color-border-subtle);
}

.language-toggle button {
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font: inherit;
  font-size: 0.8125rem;
  letter-spacing: var(--foundation-letter-spacing-wide);
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
}

.language-toggle button[data-active="true"] {
  color: var(--color-text-primary);
}

.language-toggle button:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 3px;
}

.section-frame {
  position: relative;
}

.section-frame::before,
.section-frame::after {
  content: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(28rem, 0.95fr);
  gap: var(--foundation-space-9);
  padding: clamp(var(--foundation-space-8), 7vw, var(--foundation-space-13)) 0;
  border: 1px solid var(--color-border-subtle);
  border-left: none;
  border-right: none;
  border-radius: 0;
  background: var(--preview-surface-base);
  box-shadow: none;
}

.hero__content,
.hero__visual,
.campaign-band,
.token-grid,
.theme-grid,
.component-grid,
.motif-grid,
.story-grid,
.footer-ledger {
  display: grid;
  gap: var(--foundation-space-5);
}

.hero__content {
  align-content: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--foundation-font-family-display);
  font-size: clamp(3.85rem, 9.6vw, 7rem);
  letter-spacing: var(--foundation-letter-spacing-tight);
  text-transform: uppercase;
  font-weight: 500;
}

.hero__lede {
  margin: 0;
  max-width: 34rem;
  font-size: var(--foundation-font-size-18);
  line-height: var(--foundation-line-height-160);
  color: var(--color-text-muted);
}

.hero__actions,
.token-card__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--foundation-space-4);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--foundation-space-4);
  padding-top: var(--foundation-space-6);
  border-top: 1px solid var(--color-border-subtle);
}

.hero__meta strong {
  display: block;
  margin-bottom: var(--foundation-space-2);
  font-family: var(--foundation-font-family-display);
  font-size: var(--foundation-font-size-24);
}

.hero__visual {
  align-content: center;
}

.hero__figure {
  position: relative;
  min-height: 38rem;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  background: var(--preview-surface-muted);
  box-shadow: var(--foundation-shadow-200);
}

.hero__figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.96;
}

.hero__figure::after,
.campaign-band__figure::after,
.story-figure::after,
.website-hero__media::after,
.website-editorial__media::after,
.ds-card__media::after,
.motif-glyph::after {
  content: "";
  position: absolute;
  inset: clamp(0.7rem, 1vw, 1rem);
  border: 1px solid var(--preview-frame-contrast);
  background: none;
  pointer-events: none;
}

.hero__frame {
  display: none;
}

.manifesto-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: var(--foundation-space-9) 0 var(--foundation-space-6);
  background: linear-gradient(90deg, var(--preview-rule-soft), var(--preview-rule-strong), var(--preview-rule-soft));
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: none;
}

.manifesto-strip article {
  padding: var(--foundation-space-5);
  background: var(--preview-surface-base);
}

.preview-section {
  display: grid;
  gap: var(--foundation-space-6);
  margin-top: var(--foundation-space-11);
}

.preview-section--brand {
  margin-top: var(--foundation-space-9);
}

.campaign-band {
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr);
  align-items: end;
  gap: var(--foundation-space-7);
  padding-bottom: var(--foundation-space-3);
  border-bottom: 1px solid var(--color-border-subtle);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--foundation-space-6);
}

.brand-panel {
  display: grid;
  gap: var(--foundation-space-3);
  padding: var(--foundation-space-5);
  border: 1px solid var(--color-border-subtle);
  background: var(--preview-surface-base);
  box-shadow: var(--foundation-shadow-100);
}

.campaign-band__copy {
  display: grid;
  gap: var(--foundation-space-4);
  align-content: end;
}

.campaign-band__figure {
  position: relative;
  min-height: 36rem;
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
  background: var(--preview-surface-muted);
  box-shadow: var(--foundation-shadow-200);
}

.campaign-band__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.token-grid,
.component-grid,
.motif-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--foundation-space-6);
}

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

.PatternGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--foundation-space-6);
}

.token-card,
.theme-swatch,
.motif-card,
.component-tray {
  display: grid;
  gap: var(--foundation-space-3);
  padding: var(--foundation-space-5);
  border: 1px solid var(--color-border-subtle);
  border-radius: 0;
  background: var(--preview-surface-base);
  box-shadow: var(--foundation-shadow-100);
}

.token-card__sample {
  min-height: 4.5rem;
  border-radius: 0;
  border: 1px solid var(--color-border-subtle);
  background: var(--token-sample);
  box-shadow: inset 0 1px 0 var(--preview-surface-glint);
}

.token-card__copy {
  align-self: start;
  width: fit-content;
  border: 1px solid var(--color-border-subtle);
  border-radius: 0;
  background: var(--preview-surface-base);
  color: var(--color-text-primary);
  padding: 0.45rem 0.8rem;
  font: inherit;
  cursor: pointer;
}

.theme-swatch[data-theme-sample="brand"] {
  --sample-primary: var(--theme-brand-primary);
  --sample-surface: var(--theme-brand-surface-elevated);
  --sample-text: var(--theme-brand-text-primary);
  --sample-muted: var(--theme-brand-text-muted);
  --sample-border: var(--theme-brand-border-subtle);
}

.theme-swatch {
  background: var(--sample-surface);
  color: var(--sample-text);
  border-top-color: var(--sample-border);
  border-bottom-color: var(--sample-border);
  box-shadow: var(--foundation-shadow-100);
}

.theme-swatch__button {
  width: fit-content;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 0;
  background: var(--sample-primary);
  color: var(--color-text-on-primary);
  font: inherit;
  letter-spacing: var(--foundation-letter-spacing-wide);
  text-transform: uppercase;
}

.theme-swatch__field {
  padding: 0.85rem 1rem;
  border: 1px solid var(--sample-border);
  border-radius: 0;
  color: var(--sample-text);
}

.theme-swatch__muted {
  color: var(--sample-muted);
}

.component-tray {
  align-content: start;
}

.component-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--foundation-space-4);
}

.story-grid {
  grid-template-columns: 1.35fr 0.65fr;
  align-items: stretch;
}

.story-card {
  display: grid;
  gap: var(--foundation-space-5);
  padding: clamp(var(--foundation-space-6), 4vw, var(--foundation-space-8));
  border: 1px solid var(--color-border-subtle);
  border-radius: 0;
  background: var(--preview-surface-base);
  color: var(--color-text-primary);
  box-shadow: var(--foundation-shadow-200);
}

.story-card .section-copy,
.story-card .eyebrow,
.story-card .ds-card__title {
  color: inherit;
}

.story-card .section-copy,
.story-card .eyebrow {
  opacity: 1;
}

.story-figure {
  position: relative;
  min-height: 42rem;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--foundation-shadow-200);
}

.story-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-notes {
  display: grid;
  gap: var(--foundation-space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.motif-card {
  min-height: 16rem;
  align-content: start;
  text-align: left;
}

.motif-glyph {
  position: relative;
  width: 100%;
  min-height: 16rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: 0;
  overflow: hidden;
  background: var(--preview-surface-muted);
}

.motif-glyph--product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-ledger {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: var(--foundation-space-8) 0 0;
  border-top: 1px solid var(--color-border-subtle);
}

.footer-ledger strong {
  display: block;
  margin-bottom: var(--foundation-space-2);
  font-family: var(--foundation-font-family-display);
  font-size: var(--foundation-font-size-24);
}

.website-page {
  width: min(96rem, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 0 0 var(--foundation-space-12);
}

.website-header,
.website-section,
.website-hero,
.website-editorial,
.website-service-strip,
.website-footer,
.website-footer__lead,
.website-footer__group,
.website-footer__bar {
  display: grid;
  gap: var(--foundation-space-5);
}

.website-header {
  position: sticky;
  top: 0;
  z-index: 10;
  isolation: isolate;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--foundation-space-4);
  margin: 0 0 clamp(var(--foundation-space-7), 7vw, var(--foundation-space-10));
  padding: var(--foundation-space-4) 0;
  padding-inline: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  transition: transform 240ms ease, opacity 220ms ease;
  transform: translateY(0);
  opacity: 1;
}

.site-header.is-hidden,
.website-header.is-hidden {
  transform: translateY(calc(-100% - var(--foundation-space-3)));
  opacity: 0;
  pointer-events: none;
}

.site-header.is-drawer-suppressed,
.website-header.is-drawer-suppressed {
  transform: translateY(-0.75rem);
  opacity: 0;
  pointer-events: none;
}

.website-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: -1px;
  left: calc((100vw - 100%) / -2);
  right: calc((100vw - 100%) / -2);
  border-bottom: 1px solid var(--color-border-subtle);
  background: var(--preview-surface-base);
}

.website-header .site-header__edge--left {
  justify-content: flex-start;
}

.website-header .site-header__center {
  justify-self: center;
}

.website-header__logo-link,
.website-header__logoFrame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  overflow: hidden;
}

.website-header__logo-link {
  text-decoration: none;
}

.website-header__logoFrame {
  width: min(10rem, 22vw);
  height: clamp(2.6rem, 4.6vw, 4rem);
}

.website-header__logo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  background: transparent;
}

.website-header__logoFrame--drawer {
  width: min(7rem, 36vw);
  height: 2.9rem;
}

.website-header .site-header__edge--right {
  justify-content: flex-end;
  gap: var(--foundation-space-4);
}

.website-header__note-block {
  display: grid;
  gap: var(--foundation-space-2);
  text-align: right;
}

.website-header__location {
  font-size: 0.8125rem;
  letter-spacing: var(--foundation-letter-spacing-base);
  color: var(--color-text-muted);
}

.website-header .site-header__edge--right a,
.website-footer a {
  font-size: 0.8125rem;
  letter-spacing: var(--foundation-letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
}

.website-header .site-header__edge--right a:hover,
.website-footer a:hover {
  color: var(--color-text-primary);
}

.website-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  align-items: stretch;
  gap: var(--foundation-space-7);
  padding: 0 0 clamp(var(--foundation-space-8), 8vw, var(--foundation-space-10));
  border-bottom: 1px solid var(--color-border-subtle);
  background: var(--preview-surface-base);
  box-shadow: none;
}

.website-hero__media,
.website-editorial__media {
  position: relative;
  min-height: 42rem;
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
  background: var(--preview-surface-muted);
  box-shadow: var(--foundation-shadow-200);
}

.website-hero__media img,
.website-editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.website-hero__content {
  display: grid;
  align-content: end;
  gap: var(--foundation-space-6);
  min-width: 0;
}

.website-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--foundation-space-2);
  font-size: 0.8125rem;
  letter-spacing: var(--foundation-letter-spacing-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
  max-width: 100%;
  min-width: 0;
}

.website-title {
  margin: 0;
  max-width: min(13ch, 100%);
  font-family: var(--foundation-font-family-display);
  font-size: clamp(3rem, 6.6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: var(--foundation-letter-spacing-tight);
  text-transform: uppercase;
  min-width: 0;
}

.website-copy,
.website-meta,
.website-product__price,
.website-service__copy,
.website-footer__meta {
  margin: 0;
  color: var(--color-text-muted);
  line-height: var(--foundation-line-height-160);
}

.website-actions,
.website-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--foundation-space-4);
}

.website-meta-grid,
.website-service-strip,
.website-product-grid,
.website-collection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.website-meta-grid,
.website-meta-block,
.website-copy,
.website-meta {
  min-width: 0;
  max-width: 100%;
}

.website-meta-block,
.website-service,
.website-collection-card,
.website-product {
  display: grid;
  gap: var(--foundation-space-3);
  padding-top: var(--foundation-space-4);
  border-top: 1px solid var(--color-border-subtle);
}

.website-product,
.website-collection-card,
.website-service,
.website-meta-block {
  padding: var(--foundation-space-5);
  border: 1px solid var(--color-border-subtle);
  background: var(--preview-surface-base);
  box-shadow: none;
}

.website-meta-block strong {
  font-family: var(--foundation-font-family-display);
  font-size: 1.375rem;
}

.website-section {
  margin-top: clamp(var(--foundation-space-9), 9vw, var(--foundation-space-11));
}

.website-product-grid {
  display: grid;
  gap: var(--foundation-space-6);
}

.website-product .ds-card__media {
  min-height: 24rem;
}

.website-product__price {
  font-size: 0.9375rem;
}

.website-editorial {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(var(--foundation-space-7), 6vw, var(--foundation-space-9));
  align-items: center;
  margin-top: clamp(var(--foundation-space-9), 8vw, var(--foundation-space-11));
  padding-top: clamp(var(--foundation-space-7), 6vw, var(--foundation-space-9));
  border-top: 1px solid var(--color-border-subtle);
}

.website-editorial__content {
  display: grid;
  gap: var(--foundation-space-4);
}

.website-collection-grid {
  display: grid;
  gap: var(--foundation-space-6);
}

.website-collection-card {
  min-height: 16rem;
}

.website-footer {
  position: relative;
  isolation: isolate;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--foundation-space-7);
  margin-top: clamp(var(--foundation-space-10), 10vw, var(--foundation-space-12));
  padding-top: clamp(var(--foundation-space-8), 7vw, var(--foundation-space-10));
  padding-inline: 0;
  border-top: 1px solid transparent;
}

.website-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -1px;
  bottom: 0;
  left: calc((100vw - 100%) / -2);
  right: calc((100vw - 100%) / -2);
  border-top: 1px solid var(--color-border-subtle);
  background: var(--preview-surface-base);
}

.website-footer__meta {
  max-width: 24rem;
}

.website-footer__lead {
  grid-column: 1 / -1;
  width: min(100%, 34rem);
  justify-self: center;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.website-footer__brand {
  display: grid;
  gap: var(--foundation-space-3);
  align-content: start;
  justify-items: center;
  text-align: center;
}

.website-footer__logoFrame {
  width: min(10.5rem, 100%);
  height: 3.25rem;
  justify-self: center;
}

.website-footer__logo {
  width: 100%;
  height: 100%;
  margin: 0;
}

.website-footer__stamp,
.website-footer__bar {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.website-footer__group {
  align-content: start;
  gap: var(--foundation-space-3);
}

.website-footer__group a {
  width: fit-content;
}

.website-footer__bar {
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  justify-content: center;
  justify-items: center;
  align-items: center;
  gap: var(--foundation-space-2);
  padding-top: var(--foundation-space-6);
  border-top: 1px solid var(--color-border-subtle);
  text-align: center;
}

.website-footer__bar span {
  max-width: 24rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html[data-language="ko"] body {
  line-height: 1.58;
}

html[data-language="ko"] .hero__lede,
html[data-language="ko"] .section-copy,
html[data-language="ko"] .website-copy,
html[data-language="ko"] .website-meta,
html[data-language="ko"] .website-product__price,
html[data-language="ko"] .website-service__copy,
html[data-language="ko"] .website-footer__meta,
html[data-language="ko"] .ds-card__supporting,
html[data-language="ko"] .ds-field__hint,
html[data-language="ko"] .ds-field__message,
html[data-language="ko"] .ds-checkbox-field__hint,
html[data-language="ko"] .ds-checkbox-field__message,
html[data-language="ko"] .header-note,
html[data-language="ko"] .website-header__location {
  line-height: 1.78;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

html[data-language="ko"] .section-title,
html[data-language="ko"] .website-title,
html[data-language="ko"] .ds-card__title,
html[data-language="ko"] .HeaderDrawer__nav a,
html[data-language="ko"] .hero h1 {
  line-height: 1.14;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

html[data-language="ko"] .eyebrow,
html[data-language="ko"] .site-header__edge--right a,
html[data-language="ko"] .website-footer a,
html[data-language="ko"] .HeaderDrawer__close {
  line-height: 1.45;
}

html[data-language="ko"] .website-kicker,
html[data-language="ko"] .website-title,
html[data-language="ko"] .website-copy,
html[data-language="ko"] .website-meta {
  overflow-wrap: anywhere;
}

@media (min-width: 981px) and (max-width: 1280px) {
  .preview-page {
    width: min(100%, calc(100vw - 3rem));
  }

  .site-header {
    grid-template-columns: 1fr auto 1fr;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr);
    gap: var(--foundation-space-7);
  }

  .hero__figure,
  .campaign-band__figure,
  .story-figure {
    min-height: 30rem;
  }

  .brand-grid,
  .story-notes,
  .footer-ledger,
  .PatternGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid,
  .campaign-band {
    grid-template-columns: 1fr;
  }

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

  .website-header {
    grid-template-columns: auto 1fr auto;
  }

  .website-header__logoFrame {
    width: min(8.5rem, 20vw);
  }

  .website-hero,
  .website-editorial {
    grid-template-columns: 1fr;
  }

  .website-hero__media,
  .website-editorial__media {
    min-height: 30rem;
  }

  .website-product-grid,
  .website-collection-grid,
  .website-service-strip,
  .website-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .preview-page {
    width: min(100%, calc(100vw - 1.5rem));
    padding: var(--foundation-space-3) 0 var(--foundation-space-8);
  }

  .hero,
  .brand-grid,
  .campaign-band,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--foundation-space-3);
    padding: var(--foundation-space-3) 0;
  }

  .site-header__edge--right {
    gap: var(--foundation-space-3);
  }

  .site-header__edge--right a:nth-child(2) {
    display: none;
  }

  .hero {
    gap: var(--foundation-space-6);
    padding: var(--foundation-space-7) 0;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.8rem);
  }

  .hero__figure,
  .campaign-band__figure,
  .story-figure {
    min-height: 22rem;
  }

  .hero__meta,
  .manifesto-strip,
  .story-notes,
  .footer-ledger,
  .PatternGrid,
  .component-grid,
  .token-grid,
  .theme-grid,
  .motif-grid {
    grid-template-columns: 1fr;
  }

  .component-row,
  .hero__actions,
  .token-card__row {
    gap: var(--foundation-space-3);
  }

  .ds-button {
    width: 100%;
    min-width: 0;
  }

  .website-page {
    width: min(100%, calc(100vw - 1.5rem));
    padding: 0 0 var(--foundation-space-8);
  }

  .website-header {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--foundation-space-3);
    padding: var(--foundation-space-3) 0;
    padding-inline: 0;
  }

  .site-header__edge--right a:not(:last-child),
  .website-header .site-header__edge--right a:not(:last-child) {
    display: none;
  }

  .HeaderDrawer__panel {
    width: 100vw;
    min-height: 100dvh;
    padding: var(--foundation-space-6);
  }

  .HeaderDrawer__header,
  .HeaderDrawer__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .HeaderDrawer {
    width: 100vw;
    max-width: none;
    margin: 0;
  }

  .website-header__note-block {
    text-align: left;
  }

  .website-header__logoFrame {
    width: min(7rem, 28vw);
    height: 2.8rem;
  }

  .website-hero,
  .website-editorial,
  .website-product-grid,
  .website-collection-grid,
  .website-service-strip,
  .website-footer,
  .website-meta-grid,
  .website-footer__bar {
    grid-template-columns: 1fr;
  }

  .website-hero__media,
  .website-editorial__media {
    min-height: 22rem;
  }

  .website-title {
    font-size: clamp(2.45rem, 12.5vw, 4.1rem);
  }

  .website-actions,
  .website-footer__links {
    gap: var(--foundation-space-3);
  }
}

@media (max-width: 640px) {
  .preview-page {
    width: min(100%, calc(100vw - 1rem));
  }

  .site-header nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--foundation-space-2) var(--foundation-space-3);
  }

  .header-utilities {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--foundation-space-2);
  }

  .language-toggle {
    padding-right: 0;
    padding-bottom: var(--foundation-space-2);
    border-right: none;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .hero__meta {
    gap: var(--foundation-space-3);
  }

  .manifesto-strip article,
  .brand-panel,
  .story-card {
    padding-top: var(--foundation-space-4);
    padding-bottom: var(--foundation-space-4);
  }

  .campaign-band,
  .preview-section {
    margin-top: var(--foundation-space-8);
  }

  .website-page {
    width: min(100%, calc(100vw - 1rem));
  }

  .website-header {
    padding-inline: 0;
  }

  .website-header__logoFrame {
    width: min(5.75rem, 30vw);
    height: 2.4rem;
  }

  .HeaderDrawer__panel {
    padding: var(--foundation-space-5);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}