* {
  box-sizing: border-box;
}
:root {
  --paper: #f4eee3;
  --paper-texture: url("/images/bonaxium-paper.webp");
  --surface: #fdf8ef;
  --ink: #272924;
  --muted-ink: #56534b;
  --navy: #192a38;
  --navy-hover: #304452;
  --line: #dbcebb;
  --scroll-thumb: #a99279;
  --vermilion: #a9392d;
  --heading-font: "Cormorant Garamond", Georgia, serif;
  --page-title-size: clamp(34px, 3vw, 48px);
  --section-title-size: clamp(24px, 2.2vw, 34px);
  --control-font-size: 0.9375rem;
  --editorial-accent: #b86f62;
  --account-content-width: 1260px;
  --page-gutter: 16px;
  --masthead-width: 1360px;
  --avatar-header-height: 65px;
  --avatar-main-padding-top: 16px;
  --editorial-blue: #283b72;
  --editorial-cobalt: #243e8f;
  --editorial-rose: #ce6677;
  --body-font: Inter, Arial, sans-serif;
  --paper-linen: #f2e5d5;
  --print-paper: #fffaf2;
  --accent-text: #85493f;
  --panel-radius: 14px;
  --print-radius: 4px;
  --touch-target: 44px;
  --paper-depth: 0 2px 4px #52423012, 0 8px 19px #52423012;
  --print-depth: 0 3px 6px #52331c12, 0 10px 20px #52331c19;
}
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(#f9f2e9a8, #f9f2e9a8), var(--paper-texture, none),
    radial-gradient(ellipse at 46% 5%, #fff9ed99, transparent 68%);
  color: var(--ink);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 721px) {
  :root {
    --page-gutter: clamp(25px, 4vw, 58px);
    --avatar-header-height: 78px;
    --avatar-main-padding-top: 30px;
  }
}

.site-masthead {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--masthead-width);
  min-height: var(--avatar-header-height);
  padding-inline: var(--page-gutter);
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: -0.026em;
  line-height: 1.04;
}
.page-content {
  max-width: var(--account-content-width);
  margin-inline: auto;
}
.page-title {
  margin: 0;
  font-size: var(--page-title-size);
}
.page-title[data-accent]::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 10px 0 13px;
  background: var(--editorial-accent);
}

.paper-sheet {
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background:
    linear-gradient(#fff9ef88, #fff9ef88), var(--paper-texture, var(--surface)),
    var(--surface);
  box-shadow: var(--paper-depth);
}

.paper-card:is(:focus-within, [data-selected="true"]) {
  border-color: var(--editorial-accent);
}

@media (hover: hover) {
  .paper-card:hover {
    border-color: var(--editorial-accent);
  }
}

.photo-print {
  border: 1px solid var(--line);
  border-radius: var(--print-radius);
  background: var(--print-paper);
  box-shadow: var(--print-depth);
}

[data-photo-tape="true"] {
  position: relative;
}

[data-photo-tape="true"]::after {
  position: absolute;
  z-index: 1;
  inset: var(--photo-tape-inset, -4px auto auto 10px);
  width: var(--photo-tape-width, clamp(44px, 15vw, 65px));
  height: var(--photo-tape-height, 16px);
  background:
    linear-gradient(95deg, #b66578db, #c07a89d9), var(--paper-texture);
  clip-path: polygon(
    1% 6%,
    99% 0,
    96% 24%,
    100% 50%,
    96% 74%,
    99% 96%,
    0 100%,
    4% 76%,
    0 51%,
    4% 28%
  );
  transform: rotate(var(--photo-tape-angle, -9deg));
  pointer-events: none;
  content: "";
}

.primary {
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #fffaf1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 21px;
  font-size: 14px;
  font-weight: 600;
  min-height: 48px;
}
.primary:hover:not(:disabled) {
  background: var(--navy-hover);
  border-color: var(--navy-hover);
}

:is(.fitting-style-swatch, .swatch)[data-idea] {
  background: url("/images/styling-ideas.webp") 0 0 / 300% 200%;
}

:is(.fitting-style-swatch, .swatch)[data-idea="trousers"] {
  background-position: 50% 0;
}
:is(.fitting-style-swatch, .swatch)[data-idea="tee"] {
  background-position: 100% 0;
}
:is(.fitting-style-swatch, .swatch)[data-idea="shirt"] {
  background-position: 0 100%;
}
:is(.fitting-style-swatch, .swatch)[data-idea="sneakers"] {
  background-position: 50% 100%;
}
:is(.fitting-style-swatch, .swatch)[data-idea="loafers"] {
  background-position: 100% 100%;
}

:is(.fitting-style-swatch, .swatch):is(
  [data-idea="pumps"],
  [data-idea="ankleBoots"],
  [data-idea="blouse"],
  [data-idea="knit"]
) {
  background: url("/images/styling-ideas-editorial.webp") 0 0 / 200% 200%;
}

:is(.fitting-style-swatch, .swatch)[data-idea="ankleBoots"] {
  background-position: 100% 0;
}
:is(.fitting-style-swatch, .swatch)[data-idea="blouse"] {
  background-position: 0 100%;
}
:is(.fitting-style-swatch, .swatch)[data-idea="knit"] {
  background-position: 100% 100%;
}

:is(.fitting-style-swatch, .swatch)[data-idea="flats"] {
  background: url("/images/styling-ideas-wardrobes.webp") 0% 0% / 300% 300%;
}
:is(.fitting-style-swatch, .swatch)[data-idea="sandals"] {
  background: url("/images/styling-ideas-wardrobes.webp") 50% 0% / 300% 300%;
}
:is(.fitting-style-swatch, .swatch)[data-idea="satinSkirt"] {
  background: url("/images/styling-ideas-wardrobes.webp") 100% 0% / 300% 300%;
}
:is(.fitting-style-swatch, .swatch)[data-idea="cardigan"] {
  background: url("/images/styling-ideas-wardrobes.webp") 0% 50% / 300% 300%;
}
:is(.fitting-style-swatch, .swatch)[data-idea="derbies"] {
  background: url("/images/styling-ideas-wardrobes.webp") 50% 50% / 300% 300%;
}
:is(.fitting-style-swatch, .swatch)[data-idea="retroSneakers"] {
  background: url("/images/styling-ideas-wardrobes.webp") 100% 50% / 300% 300%;
}
:is(.fitting-style-swatch, .swatch)[data-idea="chinos"] {
  background: url("/images/styling-ideas-wardrobes.webp") 0% 100% / 300% 300%;
}
:is(.fitting-style-swatch, .swatch)[data-idea="polo"] {
  background: url("/images/styling-ideas-wardrobes.webp") 50% 100% / 300% 300%;
}
:is(.fitting-style-swatch, .swatch)[data-idea="overshirt"] {
  background: url("/images/styling-ideas-wardrobes.webp") 100% 100% / 300% 300%;
}

:is(.fitting-style-swatch, .swatch)[data-idea="chelsea"] {
  background: url("/images/styling-ideas-boots.webp") 0% 0% / 200% 200%;
}
:is(.fitting-style-swatch, .swatch)[data-idea="ridingBoots"] {
  background: url("/images/styling-ideas-boots.webp") 100% 0% / 200% 200%;
}
:is(.fitting-style-swatch, .swatch)[data-idea="desertBoots"] {
  background: url("/images/styling-ideas-boots.webp") 0% 100% / 200% 200%;
}
:is(.fitting-style-swatch, .swatch)[data-idea="suedeBoots"] {
  background: url("/images/styling-ideas-boots.webp") 100% 100% / 200% 200%;
}
