/* Websites page (/websites/), "Editorial": the wordmark across the page, then each live website like a
   page of a magazine (number, picture, name, one line, a way in), one call to action on black.
   Phone first; it is opened from Instagram's own browser more than anywhere else. */

.od-page-websites { background: #fff; color: #0a0a0a; }
.od-ws { --od-ws-g: clamp(16px, 4vw, 56px); --od-ws-soft: #555; --od-ws-mute: #666; --od-ws-line: #e6e6e6; overflow-x: clip; text-wrap: pretty; }
.od-ws a { color: inherit; text-decoration: none; }
.od-ws-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: var(--od-ws-g); box-sizing: border-box; }

/* The small mono labels, each opened by a prompt sign. */
.od-ws-p { margin: 0; overflow-wrap: anywhere; font: 500 12px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.04em; text-transform: uppercase; color: var(--od-ws-mute); }
.od-ws-p::before { content: ">"; color: var(--od-brand-deep, #cc3700); font-weight: 700; margin-right: 0.6em; }
.od-ws-p a:hover, .od-ws-p a:focus-visible { color: #0a0a0a; }
.od-ws-p--caret::after { content: ""; display: inline-block; width: 0.55em; height: 1em; margin-left: 0.4em; vertical-align: -0.15em; background: var(--od-brand, #ff4500); animation: od-ws-blink 1.1s steps(1) infinite; }
@keyframes od-ws-blink { 50% { opacity: 0; } }

/* ---- Top and opening ---- */
.od-ws-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: calc(20px + env(safe-area-inset-top, 0px)); padding-bottom: 20px; }
.od-ws-logo { display: block; color: #0a0a0a; }
.od-ws-wm { display: block; width: 96px; height: auto; }
.od-ws-hero { padding-top: clamp(40px, 10vw, 120px); padding-bottom: clamp(32px, 6vw, 72px); }
.od-ws-big { display: block; width: 100%; height: auto; color: #0a0a0a; }
.od-ws-title { margin: clamp(28px, 4vw, 48px) 0 0; font-size: clamp(34px, 7.4vw, 104px); font-weight: 700; line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.od-ws-lead { margin: 18px 0 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.4; color: var(--od-ws-soft); }

/* ---- The list ---- */
.od-ws-body { padding-bottom: clamp(56px, 8vw, 120px); }
.od-ws-meta, .od-ws-next { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid var(--od-ws-line); }
.od-ws-list { list-style: none; margin: 0; padding: 0; }
.od-ws-site { padding-top: clamp(56px, 8vw, 96px); }
.od-ws-shot { position: relative; display: block; margin-top: 18px; overflow: hidden; background: var(--od-ws-c, #0a0a0a); -webkit-tap-highlight-color: transparent; }
.od-ws-shot picture, .od-ws-shot__img { display: block; width: 100%; }
.od-ws-shot__img { height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.od-ws-shot:hover .od-ws-shot__img { transform: scale(1.02); }
.od-ws-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 40px; margin-top: 22px; }
.od-ws-name { margin: 0; font-size: clamp(30px, 4.6vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.od-ws-desc { margin: 0; max-width: 34em; font-size: 17px; line-height: 1.5; color: var(--od-ws-soft); }
.od-ws-go { margin: 0; }
.od-ws-visit { display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px; font: 600 15px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.06em; white-space: nowrap; }
.od-ws-b { color: var(--od-brand-deep, #cc3700); transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.od-ws-visit:hover .od-ws-b:first-child, .od-ws-visit:focus-visible .od-ws-b:first-child { transform: translateX(-4px); }
.od-ws-visit:hover .od-ws-b:last-child, .od-ws-visit:focus-visible .od-ws-b:last-child { transform: translateX(4px); }
.od-ws-visit:focus-visible, .od-ws-p a:focus-visible, .od-ws-logo:focus-visible { outline: 3px solid var(--od-brand, #ff4500); outline-offset: 4px; }
.od-ws-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.od-ws-next { margin-top: clamp(48px, 7vw, 96px); padding-top: 16px; }

/* ---- Proposals: built for a pitch, not commissioned ---- */
.od-ws-props { padding-bottom: clamp(56px, 8vw, 120px); }
.od-ws-props__head { padding-top: clamp(8px, 2vw, 24px); padding-bottom: clamp(28px, 4vw, 48px); }
.od-ws-props__title { margin: 20px 0 0; font-size: clamp(30px, 5.6vw, 80px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.od-ws-props__lead { margin: 16px 0 0; max-width: 30em; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.45; color: var(--od-ws-soft); }
.od-ws-site--proposal .od-ws-name { font-size: clamp(28px, 4vw, 54px); }
.od-ws-site--proposal:first-child { padding-top: clamp(32px, 5vw, 64px); }

/* Slipped corner marks (the cut of the wordmark), white over pictures. */
.od-ws-l { position: absolute; z-index: 1; width: 26px; height: 26px; pointer-events: none; }
.od-ws-l i { position: absolute; background: #fff; }
.od-ws-l i:nth-child(1) { top: 0; left: 0; width: 22px; height: 2px; }
.od-ws-l i:nth-child(2) { top: 0; left: 0; width: 2px; height: 10px; }
.od-ws-l i:nth-child(3) { top: 10px; left: 3px; width: 2px; height: 6px; }
.od-ws-l i:nth-child(4) { top: 16px; left: 0; width: 2px; height: 10px; }
.od-ws-l--tl { top: 14px; left: 14px; }
.od-ws-l--br { bottom: 14px; right: 14px; transform: rotate(180deg); }

/* ---- Call to action and foot, on black ---- */
.od-ws-cta { position: relative; background: #0a0a0a; color: #fff; padding-block: clamp(64px, 10vw, 140px); }
.od-ws-cta .od-ws-wrap { position: relative; }
.od-ws-cta .od-ws-p { color: #a0a0a0; }
.od-ws-cta .od-ws-p::before { color: var(--od-brand, #ff4500); }
.od-ws-cta__title { margin: 22px 0 36px; font-size: clamp(34px, 7vw, 96px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; text-wrap: balance; color: #fff; }
.od-ws-btn { display: inline-flex; align-items: center; gap: 0.6em; min-height: 58px; padding: 0 28px; background: var(--od-brand, #ff4500); color: #000 !important; font-size: 17px; font-weight: 600; transition: background-color 0.2s, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.od-ws-btn span { transition: transform 0.25s; }
.od-ws-btn:hover, .od-ws-btn:focus-visible { background: #fff; }
.od-ws-btn:hover span, .od-ws-btn:focus-visible span { transform: translateX(4px); }
.od-ws-btn:active { transform: scale(0.97); }
.od-ws-btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.od-ws-mail { margin: 32px 0 0; font-size: 18px; line-height: 1.8; }
.od-ws-mail a:hover, .od-ws-mail a:focus-visible { color: var(--od-brand, #ff4500); }
.od-ws-l--cta { bottom: -32px; right: var(--od-ws-g); }
.od-ws-foot { background: #0a0a0a; color: #808080; font-size: 13px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.od-ws-foot .od-ws-wrap > p { margin: 0; padding-top: 18px; border-top: 1px solid #222; }
.od-ws-foot a:hover, .od-ws-foot a:focus-visible { color: #fff; }

@media (min-width: 900px) {
	.od-ws-wm { width: 112px; }
	.od-ws-row { grid-template-columns: 1.2fr 1fr auto; align-items: end; }
	.od-ws-l--tl { top: 24px; left: 24px; }
	.od-ws-l--br { bottom: 24px; right: 24px; }
	.od-ws-l--cta { bottom: -40px; }
}

@media (prefers-reduced-motion: reduce) {
	.od-ws-p--caret::after { animation: none; }
	.od-ws-shot__img, .od-ws-b, .od-ws-btn, .od-ws-btn span { transition: none; }
	.od-ws-shot:hover .od-ws-shot__img { transform: none; }
}

@media print {
	.od-ws-cta, .od-ws-p--caret::after { background: none; color: #000; }
}
