@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");
:root {
  font-family: "DM Sans", Arial, sans-serif;
  color: #222421;
  background: #fcfcfa;
  font-synthesis: none;
  --blue: #3159ed;
  --muted: #85877e;
  --line: #e6e7e0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button,
input {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.g-skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 30;
  background: white;
  padding: 15px;
}
.g-skip:focus {
  top: 12px;
}
.g-header {
  height: 88px;
  padding: 0 max(32px, calc((100vw - 1272px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: #fcfcfa;
  border-bottom: 1px solid var(--line);
}
.g-brand {
  display: inline-flex;
  align-items: center;
  font-size: 23px;
  letter-spacing: -0.8px;
  font-weight: 700;
  white-space: nowrap;
}
.g-brand-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #222421;
  color: white;
  font-size: 18px;
  margin-right: 10px;
}
.g-light {
  font-weight: 400;
  color: #73776e;
}
.g-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
}
.g-header [aria-current] {
  color: var(--blue);
}
.g-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 14px 21px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  min-height: 45px;
  border: 0;
  transition: background 0.15s;
}
.g-primary {
  background: var(--blue);
  color: white;
}
.g-primary:hover {
  background: #2348d6;
}
.g-intro {
  text-align: center;
  max-width: 850px;
  margin: auto;
  padding: 74px 24px 58px;
}
.g-eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 600;
  margin: 0;
  color: var(--muted);
}
.g-intro .g-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.g-intro .g-eyebrow > span {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
h1 {
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -3.5px;
  margin: 27px 0 23px;
}
h1 em,
.g-bottom em {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  color: var(--blue);
}
.g-intro-copy {
  font-size: 14px;
  line-height: 1.75;
  color: #85877f;
  margin: 0;
}
.g-instruction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #767970;
  font-size: 11px;
  margin: 27px 0 0;
}
.g-instruction > span {
  font-size: 14px;
  letter-spacing: 3px;
  color: #272a23;
}
.g-instruction b {
  font-weight: 400;
  color: var(--blue);
}
.g-collection {
  max-width: 1184px;
  margin: auto;
  padding: 0 36px;
  scroll-margin-top: 24px;
}
.g-filterbar {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 0 22px;
  background: #fcfcfaf5;
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  margin-bottom: 28px;
}
.g-filters {
  display: flex;
  align-items: center;
  gap: 7px;
}
.g-filters button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  padding: 10px 17px;
  border-radius: 24px;
  background: none;
  color: #797c72;
  font-size: 12px;
  min-height: 41px;
  white-space: nowrap;
}
.g-filters button[aria-pressed="true"] {
  background: #222421;
  color: white;
}
.g-filters button:hover:not([aria-pressed="true"]) {
  background: #f0f1eb;
}
.g-filter-number {
  font-size: 9px;
  opacity: 0.65;
}
#gallery-count {
  font-size: 10px;
  letter-spacing: 1px;
  color: #91948a;
  white-space: nowrap;
  margin: 0;
}
.g-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.g-column {
  display: flex;
  flex-direction: column;
  gap: 34px;
  min-width: 0;
}
.g-card {
  min-width: 0;
  margin: 0;
}
.g-compare {
  position: relative;
  isolation: isolate;
  aspect-ratio: var(--ratio);
  overflow: hidden;
  border-radius: 13px;
  background-color: #fff;
  background-image: conic-gradient(
    #eeefeb 25%,
    transparent 0 50%,
    #eeefeb 0 75%,
    transparent 0
  );
  background-size: 20px 20px;
  border: 1px solid #e4e5df;
  --split: 50%;
}
.g-compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.g-before-image {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.g-image-label {
  position: absolute;
  top: 15px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 4px;
  background: #1e241d8c;
  backdrop-filter: blur(5px);
  color: #fff;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1.1px;
  pointer-events: none;
}
.g-label-before {
  left: 15px;
}
.g-label-after {
  right: 15px;
  background: #ffffffe8;
  color: #64675e;
  border: 1px solid #dfe1d8;
}
.g-divider {
  position: absolute;
  left: var(--split);
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 5px #0003;
  z-index: 2;
  pointer-events: none;
}
.g-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 45px;
  width: 45px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 24px;
  line-height: 1;
  background: #fff;
  color: #343b30;
  box-shadow: 0 2px 12px #0002;
}
.g-handle span {
  position: relative;
  top: -1px;
}
.g-compare input {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.g-compare:focus-within {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.g-error {
  position: absolute;
  inset: 0;
  z-index: 4;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 25px;
  text-align: center;
  background: #f1f2ed;
  color: #687060;
  font-size: 13px;
}
.g-card-caption {
  padding: 15px 2px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.g-card-caption .g-eyebrow {
  font-size: 8px;
  letter-spacing: 1.3px;
  margin-bottom: 7px;
}
.g-card-caption h2 {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.2px;
  font-weight: 500;
  margin: 0;
}
.g-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.g-expand,
.g-edit {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #5f6559;
}
.g-expand:hover,
.g-edit:hover {
  color: var(--blue);
  background: white;
  border-color: #b8c4f0;
}
.g-expand svg {
  width: 13px;
  height: 13px;
}
.g-method-note {
  font-size: 10px;
  color: #96998e;
  text-align: center;
  margin: 52px 0 0;
  line-height: 1.7;
}
.g-bottom {
  max-width: 1112px;
  text-align: center;
  margin: 66px auto 0;
  padding: 58px 24px 60px;
  background: #f0f1eb;
  border: 1px solid #e9ebe1;
  border-radius: 16px;
}
.g-bottom .g-eyebrow {
  color: #8a8e81;
  font-size: 9px;
}
.g-bottom h2 {
  font-size: 49px;
  line-height: 1.03;
  letter-spacing: -1.5px;
  font-weight: 500;
  margin: 22px 0 18px;
}
.g-bottom p:not(.g-eyebrow) {
  font-size: 12px;
  color: #818677;
  margin: 0 0 25px;
}
.g-bottom > .g-button {
  background: #222721;
  color: white;
}
.g-bottom > .g-button:hover {
  background: #384334;
}
.g-footer {
  max-width: 1184px;
  margin: 0 auto;
  padding: 45px 36px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.g-footer .g-brand {
  font-size: 18px;
}
.g-footer p,
.g-footer > a:last-child {
  font-size: 10px;
  color: #8a8e82;
}
dialog {
  width: min(1040px, calc(100% - 40px));
  max-height: 94dvh;
  padding: 0;
  border: 1px solid #e5e7df;
  border-radius: 17px;
  background: #fcfcfa;
  color: #222421;
  overflow: auto;
}
dialog::backdrop {
  background: #172016a6;
  backdrop-filter: blur(8px);
}
.g-modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
}
.g-modal-heading h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin: 8px 0 0;
}
.g-modal-heading .g-eyebrow {
  font-size: 8px;
}
.g-close {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  font-size: 27px;
  color: #7c8273;
}
.g-close:hover {
  background: #eceee7;
}
#preview-art {
  background: #eeefe9;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}
#preview-art .g-compare {
  width: 100%;
  max-width: calc(62dvh * var(--ratio));
  max-height: 62dvh;
  border-radius: 8px;
}
.g-modal-footer {
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.g-modal-footer p {
  font-size: 11px;
  color: #848979;
  margin: 0;
}
.g-modal-footer .g-button {
  font-size: 11px;
}
@media (min-width: 1500px) {
  .g-collection {
    max-width: 1284px;
  }
  .g-bottom {
    max-width: 1212px;
  }
  .g-footer {
    max-width: 1284px;
  }
}
@media (max-width: 760px) {
  .g-header {
    height: 74px;
    padding: 0 22px;
  }
  .g-brand {
    font-size: 19px;
  }
  .g-brand-icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
    margin-right: 7px;
  }
  .g-header nav {
    gap: 20px;
    font-size: 12px;
  }
  .g-header nav > a:first-child {
    display: none;
  }
  .g-header nav .g-button {
    font-size: 11px;
    padding: 10px 13px;
    min-height: 39px;
    gap: 13px;
  }
  .g-intro {
    padding: 48px 20px 38px;
  }
  h1 {
    font-size: 59px;
    letter-spacing: -2.5px;
    margin-top: 24px;
  }
  .g-intro-copy {
    font-size: 13px;
  }
  .g-intro .g-eyebrow {
    font-size: 9px;
  }
  .g-collection {
    padding: 0 22px;
  }
  .g-filterbar {
    display: block;
    padding: 15px 0;
    margin-bottom: 21px;
  }
  .g-filters {
    gap: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px;
  }
  .g-filters::-webkit-scrollbar {
    display: none;
  }
  .g-filters button {
    padding: 9px 14px;
    font-size: 11px;
    min-height: 40px;
  }
  #gallery-count {
    display: none;
  }
  .g-grid {
    gap: 18px;
  }
  .g-column {
    gap: 24px;
  }
  .g-card-caption {
    align-items: start;
  }
  .g-card-caption h2 {
    font-size: 12px;
  }
  .g-card-actions {
    gap: 4px;
  }
  .g-expand,
  .g-edit {
    width: 29px;
    height: 29px;
  }
  .g-card-caption .g-eyebrow {
    font-size: 7px;
  }
  .g-image-label {
    top: 10px;
    padding: 5px 7px;
    font-size: 7px;
  }
  .g-label-before {
    left: 10px;
  }
  .g-label-after {
    right: 10px;
  }
  .g-handle {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .g-bottom {
    margin: 44px 22px 0;
    padding: 42px 20px;
  }
  .g-bottom h2 {
    font-size: 43px;
  }
  .g-footer {
    padding: 34px 22px;
    flex-wrap: wrap;
  }
  .g-footer p {
    order: 3;
    width: 100%;
    margin: 0;
  }
  .g-modal-heading {
    padding: 20px;
  }
  .g-modal-heading h2 {
    font-size: 17px;
  }
  #preview-art {
    padding: 0 14px;
  }
  .g-modal-footer {
    padding: 18px 20px;
    flex-wrap: wrap;
  }
  .g-modal-footer .g-button {
    width: 100%;
  }
}
@media (max-width: 540px) {
  .g-header nav .g-button {
    display: none;
  }
  h1 {
    font-size: 55px;
  }
  .g-grid {
    display: block;
  }
  .g-column {
    display: contents;
  }
  .g-card {
    margin-bottom: 27px;
  }
  .g-card-caption h2 {
    font-size: 14px;
  }
  .g-card-caption .g-eyebrow {
    font-size: 8px;
  }
  .g-expand,
  .g-edit {
    width: 35px;
    height: 35px;
  }
  .g-image-label {
    top: 14px;
    font-size: 8px;
  }
  .g-label-before {
    left: 14px;
  }
  .g-label-after {
    right: 14px;
  }
  .g-compare {
    border-radius: 11px;
  }
  .g-method-note {
    margin-top: 25px;
  }
  dialog {
    width: calc(100% - 20px);
    max-height: 96dvh;
  }
  .g-modal-footer p {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

body.g-preview-open {
  overflow: hidden;
}
