/* ANGUS DYLAN HOME - static site. Red home + directory, white pages. Every class starts with "ady-" or is plain so ad blockers leave it alone (never name anything ad-*). */
@font-face { font-family: "Helvetica Neue"; src: local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), url(/assets/HelveticaNeueBold.otf) format("opentype"); font-weight: 700; font-style: normal; font-display: block; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; text-transform: uppercase; -webkit-font-smoothing: antialiased; }
body.red { background: #E4002B; color: #fff; }
body.white { background: #fff; color: #000; }
a { color: inherit; text-decoration: none; }

/* One page = exactly one visible screen (svh keeps the bottom word above phone toolbars). Even margins all round: 24px on phones, 40px on desktop. */
.screen { height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center; padding: 24px; overflow: hidden; }
@media (min-width: 1200px) { .screen { padding: 40px; } }

/* ONE CAPITAL HEIGHT FOR ALL FOUR TOP AND BOTTOM WORDS ON EVERY PAGE AND SCREEN (measured: text caps 0.71875 x font-size, wordmark caps 0.9557 x height, small logo caps 0.7628 x height).
   phone: wordmark 311 wide, small logo 192 wide, text 29.2px.  desktop (1200px and up): wordmark 440, small logo 271, text 41.2px. */
.top.wm { width: min(311px, calc(100vw - 48px)); }
.top.wm svg, .top.smalllogo svg, .biglogo svg { display: block; width: 100%; height: auto; }
.top.smalllogo { width: min(192px, calc(100vw - 48px)); margin-top: -5.6px; }
.top.txt, .bottom { font-size: 29.2px; letter-spacing: -0.02em; line-height: 1.05; white-space: nowrap; }
.top.txt { align-self: start; }
.top.wm, .top.smalllogo { align-self: start; }
.bottom { align-self: end; }
@media (min-width: 1200px) {
  .top.wm { width: 440px; }
  .top.smalllogo { width: 271px; margin-top: -7.9px; }
  .top.txt, .bottom { font-size: 41.2px; }
}

/* home: the big logo */
.biglogo { width: min(1120px, calc(100vw - 48px)); }

/* directory: the list */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; text-align: center; max-width: calc(100vw - 32px); }
.list a { display: block; font-size: min(84px, 13vw, 10.5vh); font-size: min(84px, 13vw, 10.5svh); letter-spacing: -0.035em; line-height: 1; }
.ady-ch { display: inline-block; }

/* white pages */
.mid { display: grid; place-items: center; width: 100%; }
.title { margin: 0; font-size: min(84px, 13vw, 10.5svh); letter-spacing: -0.035em; line-height: 1; font-weight: 700; }
.about-photo { display: block; width: min(88vw, 66svh); height: min(88vw, 66svh); object-fit: cover; background: #ddd; }
@media (min-width: 1200px) { .about-photo { width: min(70svh, 60vw); height: min(70svh, 60vw); } }

/* ---- first visit: the words start hidden, the script blinks them on. If the script never runs, everything shows after 4.5s so the page can never stay blank ---- */
@keyframes ady-failsafe { to { visibility: visible; } }
@keyframes ady-failsafe-op { to { opacity: 1; } }
html.play body[data-page="home"] .top, html.play body[data-page="home"] .bottom,
html.play body[data-page="directory"] .top, html.play body[data-page="directory"] .bottom,
html.play body[data-page="directory"] .list a { visibility: hidden; animation: ady-failsafe 0.01s 4.5s forwards; }
html.play body[data-page="home"] #logo path { opacity: 0; animation: ady-failsafe-op 0.01s 4.5s forwards; }

/* ---- coming back to a page: a soft fade, as if it had always been there. White pages always fade in. ---- */
@keyframes ady-fadein { from { opacity: 0; } to { opacity: 1; } }
html.seen body[data-page="home"], html.seen body[data-page="directory"],
body.white { animation: ady-fadein 0.5s ease-out both; }

/* RANDOM page: hide the placeholder word, show the decoder text instead (black, bold, centred, sized to fit sentences on any screen). */
html.ady-random [data-framer-name="Directory list"] > :not(.ady-rand) { display: none !important; }
.ady-rand { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; text-transform: uppercase; text-align: center; color: #000; letter-spacing: -0.03em; line-height: 1.1; font-size: min(60px, 8.5vw); width: calc(100vw - 48px); max-width: 1100px; cursor: pointer; user-select: none; min-height: 3em; display: block; }
.ady-rw { display: inline-block; white-space: nowrap; margin: 0 0.05em; }
.ady-rc { display: inline-block; line-height: 1; vertical-align: middle; }

/* COLLECTION page: a fixed white layer over Framer's placeholder page. Vertical scroll snaps to each collection. */
html.ady-collection .ady-wrap { visibility: hidden !important; }
.ady-col { position: fixed; inset: 0; z-index: 50; background: #fff; color: #000; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; text-transform: uppercase; }
.ady-col-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.ady-col-scroll::-webkit-scrollbar { display: none; }
.ady-col-sec { position: relative; height: 100vh; height: 100svh; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: center; gap: 44px; padding: 90px 0; }
.ady-col-head { padding: 0 40px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ady-col-season { font-size: 20px; letter-spacing: -0.02em; line-height: 1; }
.ady-col-name { font-size: min(110px, 9vw); letter-spacing: -0.045em; line-height: 0.86; white-space: nowrap; }
.ady-col-row { height: 50vh; height: 50svh; overflow: visible; position: relative; top: 16px; z-index: 3; }
.ady-col-track { display: flex; gap: 8px; height: 100%; width: max-content; will-change: transform; }
@keyframes ady-col-slide { to { transform: translateX(-50%); } }
.ady-col-it { height: 100%; aspect-ratio: 3 / 4; flex: none; background: #ececec; color: rgba(0,0,0,.4); display: grid; place-items: center; font-size: 13px; transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .25s ease; cursor: pointer; }
.ady-col-track.has-focus .ady-col-it { opacity: .45; }
.ady-col-track .ady-col-it.on { opacity: 1; transform: scale(1.18); z-index: 5; position: relative; }
.ady-col-top, .ady-col-back { position: fixed; left: 0; right: 0; text-align: center; z-index: 1; color: #000; text-decoration: none; font-size: 41.2px; letter-spacing: -0.02em; line-height: 1.05; background: transparent; width: max-content; margin: 0 auto; }
.ady-col-top { top: 40px; }
.ady-col-back { bottom: 40px; }
@media (max-width: 1199px) {
  .ady-col-top, .ady-col-back { font-size: 29.2px; }
  .ady-col-top { top: 24px; } .ady-col-back { bottom: 24px; }
  .ady-col-head { padding: 0 24px; }
  .ady-col-name { font-size: min(110px, 10.5vw); }
  .ady-col-season { font-size: 16px; }
  .ady-col-row { height: 54vh; height: 54svh; top: 12px; }
  .ady-col-sec { gap: 30px; }
  .ady-col-sec { padding: 100px 0; }
}


/* COLLECTION photos: several images each. Counter shows on the enlarged photo (desktop) and always on phones; sideways swipes belong to the photo, vertical scrolling still scrolls the page. */
.ady-col-it { position: relative; touch-action: pan-y; transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .25s ease, background-color .2s ease; }
.ady-col-lbl { transition: opacity .12s ease; }
.ady-col-ct { position: absolute; left: 10px; bottom: 8px; font-style: normal; font-size: 12px; letter-spacing: 0; color: rgba(0,0,0,.55); opacity: 0; transition: opacity .2s ease; }
.ady-col-it:hover .ady-col-ct { opacity: 1; }
.ady-col-track.hold { animation-play-state: paused; }
@media (hover: none) { .ady-col-ct { opacity: 1; } }

/* wheel navigation: the grown photo is the one with .on; swipes sideways belong to the row */
.ady-col-row { touch-action: pan-y; }

