@font-face {
  font-family: "Iwin Manrope";
  src: url("./assets/fonts/manrope.woff") format("woff");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #121212;
  --muted: #535353;
  --gray: #f4f4f4;
  --rule: #dedede;
  --red: #ff0000;
  --sans: "Instrument Sans", "Iwin Manrope", "Helvetica Neue", Arial, sans-serif;
  --margin: clamp(1.15rem, 5.6vw, 6rem);
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
}
* {box-sizing: border-box;}
body, h1, h2, h3, p {margin: 0;}
body {line-height: 1.52;}
a {color: inherit; text-underline-offset: .25em;}
img {display: block; max-width: 100%;}
a:focus-visible {outline: 3px solid var(--ink); outline-offset: 5px;}
.frame {width: min(calc(100% - 2 * var(--margin)), 73rem); margin-inline: auto;}
.skip {position: absolute; z-index: 5; top: .55rem; left: 1rem; transform: translateY(-170%); background: white; padding: .6rem 1rem;}
.skip:focus {transform: none;}
.masthead, .masthead nav, .footer {display: flex; align-items: center;}
.masthead, .footer {justify-content: space-between; gap: 1rem;}
.masthead {min-height: clamp(3.9rem, 5.7vw, 4.85rem); border-bottom: 1px solid var(--rule);}
.brand-name {color: var(--ink); font: 800 2.05rem/1 var(--sans); letter-spacing: -.09em; text-decoration: none;}
.brand-name span, .ink-dot {color: var(--red);}
.masthead nav {gap: clamp(1.2rem, 3vw, 2.65rem);}
nav a, .footer a, .destination {min-height: 2.75rem; display: inline-flex; align-items: center;}
nav a {text-decoration: none; font-weight: 650;}
nav a:hover, .footer a:hover {text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px;}
.welcome-inner {display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: clamp(2.5rem, 6.5vw, 6.5rem); padding-block: clamp(2.5rem, 4vw, 4.5rem);}
.welcome-copy h1 {font: 760 clamp(3.35rem, 6.5vw, 6.4rem)/.97 var(--sans); letter-spacing: -.082em;}
.hero-name {white-space: nowrap;}
.welcome-copy p {max-width: 32rem; margin: 1rem 0 1.2rem; color: var(--muted); font-size: clamp(1rem, 1.32vw, 1.18rem); line-height: 1.5;}
.browse {display: inline-flex; align-items: center; min-height: 2.85rem; padding: .65rem 1.35rem; border-radius: 3rem; font-weight: 700; text-decoration: none; color: white; background: var(--ink); box-shadow: 3px 3px 0 var(--red);}
.browse:hover {box-shadow: 5px 5px 0 var(--red);}
.brand-stage {position: relative; display: grid; place-items: center; isolation: isolate; padding: 1.8rem 1rem;}
.brand-stage::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 0 3%; pointer-events: none;
  background: radial-gradient(circle, #d4d4d4 1px, transparent 1.3px) 0 0 / 10px 10px;
  border-radius: 50%; transform: rotate(-6deg);
}
.keepsake {
  width: min(88%, 26rem); padding: clamp(1.4rem, 2.7vw, 2.2rem) clamp(1.15rem, 2.1vw, 2rem);
  background: white; transform: rotate(-3deg); border: 1.5px solid #212121; border-radius: .35rem;
  box-shadow: .32rem .34rem 0 var(--red), .4rem .42rem 0 #212121;
}
.identity {display: grid; grid-template-columns: 16% 1fr; gap: 1.2%; align-items: center;}
.figure, .word-and-motto img {width: 100%; height: auto;}
.word-and-motto {display: grid; justify-items: center;}
.motto {font: 670 clamp(1.25rem, 2vw, 1.88rem)/1.05 var(--sans); letter-spacing: -.055em; white-space: nowrap;}
.spark {position: absolute; right: 4.5%; top: 2.5%; width: .3rem; height: 1.5rem; background: var(--red); border-radius: 1rem; transform: rotate(32deg);}
.spark::before, .spark::after {content: ""; position: absolute; background: inherit; width: 100%; height: 76%; border-radius: inherit; transform-origin: 50% 100%;}
.spark::before {left: -.55rem; bottom: -.07rem; transform: rotate(-48deg);}
.spark::after {right: -.55rem; bottom: -.07rem; transform: rotate(48deg);}
h2, h3 {font-family: var(--sans); color: var(--ink);}
section[id] {scroll-margin-top: 1rem;}
.directory {padding: clamp(1.8rem, 2.6vw, 2.7rem) 0 clamp(3rem, 5.2vw, 5.2rem); border-top: 1px solid var(--rule);}
.directory h2 {font-size: clamp(2.25rem, 3.4vw, 3.55rem); line-height: 1.05; font-weight: 750; letter-spacing: -.075em; margin-bottom: clamp(1.3rem, 2vw, 1.85rem);}
.ventures {display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); gap: clamp(1rem, 1.9vw, 1.65rem); list-style: none; margin: 0; padding: 0;}
.venture {
  --inset: clamp(1.05rem, 1.65vw, 1.45rem);
  display: flex; flex-direction: column; align-items: flex-start; min-width: 0; position: relative; overflow-wrap: anywhere;
  padding: 0 var(--inset) .8rem; border: 1px solid var(--rule); border-radius: 1.15rem; background: white;
}
.brand-tile {
  display: grid; position: relative; isolation: isolate; overflow: hidden; place-items: center;
  width: calc(100% + 2 * var(--inset)); margin-inline: calc(-1 * var(--inset));
  height: clamp(7.4rem, 10.2vw, 9rem); border-radius: 1.1rem 1.1rem 0 0;
  background: #f3f3f3; margin-bottom: 1.1rem;
}
.brand-logo {width: auto; height: auto; max-width: 67%; max-height: 59%; object-fit: contain;}
.brand-tile img[src$="wynn-love.svg"], .brand-tile img[src$="outworthy.svg"] {width: 67%;}
.brand-tile::before, .brand-tile::after {content: ""; z-index: -1; position: absolute; pointer-events: none;}
.brand-tile:has(img[src$="iwin-wordmark.png"])::before {inset: -30% 61% -40% -16%; transform: rotate(24deg); background: repeating-linear-gradient(90deg, transparent 0 10px, #dcdcdc 10px 11px);}
.brand-tile:has(img[src$="wynn-love.svg"])::before, .brand-tile:has(img[src$="wynn-love.svg"])::after {width: 6.5rem; height: 6.5rem; border-radius: 50%; border: 1px solid #d0d0d0; right: -2.1rem; top: -3.1rem;}
.brand-tile:has(img[src$="wynn-love.svg"])::after {right: -.8rem; top: -4.1rem;}
.brand-tile:has(img[src$="outworthy.svg"])::before {inset: 36% 0 0 75%; background: radial-gradient(#d2d2d2 1px, transparent 1.3px) 0 0 / 7px 7px; transform: rotate(-12deg) scale(1.3);}
.venture:not(:has(.brand-tile)) {padding-top: 1.1rem;}
.category {color: #585858; font-size: .875rem; font-weight: 650; margin-bottom: .32rem;}
.venture h3 {font-size: clamp(1.55rem, 2.18vw, 2.15rem); line-height: 1.12; font-weight: 750; letter-spacing: -.055em;}
.summary {margin: .6rem 0 .7rem; color: var(--muted); line-height: 1.52;}
.destination {margin-top: auto; color: var(--ink); font-weight: 720; text-decoration-color: var(--red); text-decoration-thickness: 2px;}
.destination::after {content: ""; position: absolute; inset: 0; border-radius: 1.15rem;}
.venture:has(.destination:hover) {border-color: #383838; box-shadow: 0 3px 0 var(--red);}
.venture:has(.destination:focus-visible) {outline: 3px solid var(--ink); outline-offset: 3px;}
.story {background: var(--gray); padding-block: clamp(2.2rem, 3.8vw, 3.8rem);}
.story-inner {display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;}
.story-heading {display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.3rem);}
.story-figure {height: clamp(4.2rem, 6vw, 6rem); width: auto;}
.story h2 {font-size: clamp(1.9rem, 3vw, 2.9rem); font-weight: 740; letter-spacing: -.06em; line-height: 1.01;}
.founder-note p {max-width: 34rem; font-size: clamp(1rem, 1.24vw, 1.1rem); color: #363636;}
.founder-note .signature {display: flex; align-items: baseline; flex-wrap: wrap; gap: .7rem; margin-top: .8rem; color: var(--ink); font-weight: 750;}
.signature span {font-weight: 500; font-size: .875rem; color: var(--muted);}
.footer {padding-block: .8rem; font-size: .94rem;}
.footer span {font-weight: 770; font-size: 1.18rem; letter-spacing: -.04em;}
.error-page {padding-block: 4rem; border-top: 3px solid var(--red);}
.error-page h1 {font: 750 3rem/1 var(--sans); letter-spacing: -.05em;}
.error-page p {margin: 1rem 0;}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .keepsake {transition: transform .22s ease-out;}
  .brand-stage:hover .keepsake {transform: rotate(-1deg) translateY(-2px);}
  .venture, .browse {transition: transform .16s ease-out, box-shadow .16s ease-out;}
  .venture:has(.destination:hover), .browse:hover {transform: translateY(-2px);}
}
@media (min-width: 44.01rem) and (max-width: 54rem) {
  .ventures {grid-template-columns: repeat(3, minmax(0, 1fr));}
}
@media (max-width: 44rem) {
  .welcome-inner {grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.25rem; padding-block: 2.15rem 1.75rem;}
  .welcome-copy h1 {font-size: clamp(2.6rem, 8vw, 3.7rem);}
  .welcome-copy h1 br {display: none;}
  .welcome-copy p {max-width: 25rem; margin: .75rem auto .9rem;}
  .brand-stage {width: min(95%, 24rem); padding: 1.1rem .75rem;}
  .keepsake {width: 84%; padding: .9rem 1.1rem;}
  .motto {font-size: 1.35rem;}
  .spark {width: .2rem; height: 1rem;}
  .ventures {grid-template-columns: 1fr; gap: 1.15rem;}
  .brand-tile {height: clamp(7.5rem, 26vw, 10rem);}
  .brand-logo {max-width: min(64%, 16rem);}
  .brand-tile img[src$="wynn-love.svg"], .brand-tile img[src$="outworthy.svg"] {width: min(64%, 16rem);}
  .story-inner {grid-template-columns: 1fr; gap: 1.2rem;}
}
@media print {
  .masthead nav, .browse, .footer a, .spark {display: none;}
  .keepsake {transform: none; box-shadow: none;}
  .venture {break-inside: avoid;}
}
