/* LOOKSLIKEFILM member profile. Uses the same variables as directory.css so a theme can restyle both. */
.llf-profile {
	--llf-ink: #000;
	--llf-paper: #fff;
	--llf-gold: #b59e5e;
	--llf-mist: #f7f7f7;
	--llf-line: #d8d8d8;
	--llf-muted: #6f6f6f;
	--llf-gutter: clamp(16px, 4vw, 48px);
	--llf-max: 1320px;

	color: var(--llf-ink);
	font-family: var(--llf-sans, "Montserrat", -apple-system, Helvetica, Arial, sans-serif);
	font-size: 16px;
	line-height: 1.6;
}

.llf-profile *,
.llf-profile *::before,
.llf-profile *::after {
	box-sizing: border-box;
}

.llf-profile [hidden] {
	display: none !important;
}

.llf-profile .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.llf-profile > section,
.llf-profile__intro {
	width: 100%;
	max-width: calc(var(--llf-max) + 2 * var(--llf-gutter));
	margin: 0 auto;
	padding-right: var(--llf-gutter);
	padding-left: var(--llf-gutter);
}

/* Labels */
.llf-profile__label {
	margin: 0 0 18px !important;
	color: var(--llf-gold);
	font-family: var(--llf-mono, ui-monospace, monospace) !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: 0.12em !important;
	line-height: 1.4 !important;
	text-transform: uppercase;
}

/* Buttons */
.llf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	border: 1px solid var(--llf-ink);
	background: transparent;
	color: var(--llf-ink) !important;
	font-family: var(--llf-mono, ui-monospace, monospace);
	font-size: 12px;
	letter-spacing: 0.12em;
	line-height: 1;
	text-decoration: none !important;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.llf-btn:hover {
	background: var(--llf-ink);
	color: var(--llf-paper) !important;
}

.llf-btn--gold {
	border-color: var(--llf-gold);
	background: var(--llf-gold);
	color: var(--llf-paper) !important;
}

.llf-btn--gold:hover {
	border-color: var(--llf-ink);
	background: var(--llf-ink);
}

.llf-btn:focus-visible,
.llf-profile a:focus-visible,
.llf-profile button:focus-visible {
	outline: 2px solid var(--llf-gold);
	outline-offset: 2px;
}

/* Hero */
.llf-profile__hero {
	position: relative;
	height: clamp(260px, 56vh, 640px);
	overflow: hidden;
	background: var(--llf-ink);
}

.llf-profile__hero.has-no-cover {
	height: 140px;
}

.llf-profile__cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Intro */
.llf-profile__intro {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 28px;
	align-items: end;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--llf-line);
}

.llf-profile__avatar {
	position: relative;
	z-index: 1;
	align-self: start;
	margin-top: -76px;
}

.llf-profile__avatar img,
.llf-monogram {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 152px;
	height: 152px;
	border: 5px solid var(--llf-paper);
	border-radius: 50%;
	background: var(--llf-mist);
	object-fit: cover;
}

.llf-monogram {
	background: var(--llf-ink);
	color: var(--llf-gold);
	font-family: var(--llf-display, var(--llf-serif, Georgia, serif));
	font-size: 54px;
	line-height: 1;
}

.llf-profile__headline {
	padding-top: 22px;
}

.llf-badge--inline {
	position: static;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	padding: 0;
	background: none;
	color: #8f7a42;
	font-size: 11px;
	letter-spacing: 0.14em;
}

.llf-badge__icon {
	width: 16px;
	height: 16px;
	background: url(../img/pro-badge.svg) center / contain no-repeat;
}

.llf-profile__name {
	margin: 0 !important;
	font-family: var(--llf-display, var(--llf-serif, Georgia, serif)) !important;
	font-size: clamp(38px, 5vw, 68px) !important;
	font-weight: 400 !important;
	letter-spacing: -0.005em;
	line-height: 1.02 !important;
	text-transform: none !important;
}

.llf-profile__business {
	margin: 10px 0 0;
	color: var(--llf-muted);
	font-family: var(--llf-mono, ui-monospace, monospace);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.llf-profile__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 12px 0 0;
	font-size: 15px;
}

.llf-profile__type {
	color: var(--llf-muted);
}

.llf-profile__styles {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.llf-profile__styles li {
	margin: 0;
}

.llf-profile__styles a {
	display: inline-block;
	padding: 7px 10px;
	border: 1px solid var(--llf-line);
	color: var(--llf-ink);
	font-family: var(--llf-mono, ui-monospace, monospace);
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.llf-profile__styles a:hover {
	border-color: var(--llf-ink);
}

.llf-profile__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

/* About */
.llf-profile__about {
	padding-top: 56px;
	padding-bottom: 8px;
}

.llf-profile__bio {
	max-width: 760px;
	font-size: 17px;
}

/* Work: tabs, galleries, films */
.llf-profile__work {
	padding-top: 48px;
	padding-bottom: 24px;
}

.llf-profile__tabs {
	display: flex;
	gap: 26px;
	margin-bottom: 26px;
	overflow-x: auto;
	border-bottom: 1px solid var(--llf-line);
	scrollbar-width: none;
}

.llf-profile__tabs button {
	flex: 0 0 auto;
	margin: 0 0 -1px;
	padding: 0 0 12px;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	color: var(--llf-muted);
	font-family: var(--llf-mono, ui-monospace, monospace);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}

.llf-profile__tabs button[aria-selected="true"] {
	border-bottom-color: var(--llf-ink);
	color: var(--llf-ink);
}

.llf-gallery {
	columns: 3 280px;
	column-gap: 10px;
}

.llf-gallery__item {
	display: block;
	margin: 0 0 10px;
	overflow: hidden;
	break-inside: avoid;
	background: var(--llf-mist);
	cursor: zoom-in;
}

.llf-gallery__item img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: var(--ratio, 1.5);
	object-fit: cover;
	transition: opacity 0.3s, transform 0.6s ease;
}

.llf-gallery__item:hover img {
	transform: scale(1.02);
}

.llf-films {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 14px;
}

.llf-film {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--llf-ink);
}

.llf-film img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
	transition: opacity 0.2s;
}

.llf-film:hover img {
	opacity: 1;
}

.llf-film__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 64px;
	height: 64px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.35);
	transform: translate(-50%, -50%);
}

.llf-film__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	border-width: 10px 0 10px 16px;
	border-style: solid;
	border-color: transparent transparent transparent #fff;
	transform: translate(-50%, -50%);
}

/* Featured on LOOKSLIKEFILM */
.llf-profile__featured {
	padding-top: 56px;
}

.llf-profile__posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 28px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.llf-profile__posts li {
	margin: 0;
}

.llf-profile__posts a {
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: inherit;
	text-decoration: none;
}

.llf-profile__posts img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--llf-mist);
}

.llf-profile__posts span {
	font-family: var(--llf-serif, Georgia, serif);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
}

/* Contact */
.llf-profile__contact {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(28px, 5vw, 80px);
	max-width: none !important;
	margin-top: 64px !important;
	padding-top: 64px !important;
	padding-bottom: 64px !important;
	background: var(--llf-mist);
	scroll-margin-top: 96px;
}

.llf-profile__contact > * {
	max-width: calc(var(--llf-max) / 2);
}

.llf-profile__contact-intro {
	justify-self: end;
	width: 100%;
}

.llf-profile__contact-title {
	margin: 0 0 14px;
	font-family: var(--llf-display, var(--llf-serif, Georgia, serif));
	font-size: clamp(30px, 3.4vw, 46px);
	line-height: 1.08;
}

.llf-contact {
	display: grid;
	gap: 14px;
}

.llf-contact__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.llf-field {
	display: grid;
	gap: 6px;
	margin: 0;
}

.llf-field span {
	color: var(--llf-muted);
	font-family: var(--llf-mono, ui-monospace, monospace);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.llf-field input,
.llf-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--llf-ink);
	border-radius: 0;
	background: var(--llf-paper);
	color: var(--llf-ink);
	font: 15px/1.5 var(--llf-sans, Helvetica, Arial, sans-serif);
}

.llf-field input:focus,
.llf-field textarea:focus {
	outline: 2px solid var(--llf-gold);
	outline-offset: 1px;
}

.llf-contact__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.llf-contact__note {
	margin: 0;
	color: var(--llf-muted);
	font-size: 12.5px;
}

.llf-contact .llf-btn {
	justify-self: start;
}

.llf-contact__status {
	margin: 0;
	font-size: 15px;
}

.llf-contact__status.is-error {
	color: #a12c2c;
}

.llf-contact__status.is-ok {
	color: var(--llf-ink);
	font-weight: 600;
}

.llf-contact.is-sending {
	opacity: 0.6;
	pointer-events: none;
}

/* Upsell for free members viewing their own profile */
.llf-profile__upsell {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	margin-top: 48px !important;
	padding-top: 28px !important;
	padding-bottom: 28px !important;
	border: 1px solid var(--llf-gold);
}

.llf-profile__upsell p {
	max-width: 640px;
	margin: 0;
}

/* Nearby */
.llf-profile__nearby {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 32px;
	padding-top: 64px;
	padding-bottom: 72px;
}

.llf-profile__nearby-map {
	min-height: 380px;
	border: 1px solid var(--llf-line);
	background: #d1d1d1;
}

.llf-profile__nearby-map:not(.is-colour) .leaflet-tile-pane {
	filter: grayscale(1) contrast(0.92) brightness(1.06);
}

.llf-profile__nearby-list .llf-btn {
	margin-top: 22px;
}

.llf-dir__cards--compact {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 20px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.llf-dir__cards--compact .llf-card__name {
	font-size: 18px !important;
}

/* Lightbox */
.llf-lightbox {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.94);
	color: #fff;
}

.llf-lightbox img {
	max-width: 92vw;
	max-height: 86vh;
	object-fit: contain;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.llf-lightbox iframe {
	width: min(92vw, calc(86vh * 16 / 9));
	aspect-ratio: 16 / 9;
	border: 0;
}

.llf-lightbox button {
	position: absolute;
	padding: 12px 16px;
	border: 0;
	background: none;
	color: #fff;
	font-family: var(--llf-mono, ui-monospace, monospace);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}

.llf-lightbox button:hover {
	color: var(--llf-gold);
}

.llf-lightbox__close {
	top: 14px;
	right: 14px;
}

.llf-lightbox__prev,
.llf-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
	font-size: 28px !important;
}

.llf-lightbox__prev {
	left: 10px;
}

.llf-lightbox__next {
	right: 10px;
}

.llf-lightbox__count {
	position: absolute;
	bottom: 18px;
	left: 50%;
	font-family: var(--llf-mono, ui-monospace, monospace);
	font-size: 11px;
	letter-spacing: 0.12em;
	transform: translateX(-50%);
}

/* Small screens */
@media (max-width: 900px) {
	.llf-profile__intro {
		grid-template-columns: 1fr;
		gap: 10px;
		align-items: start;
	}

	.llf-profile__avatar {
		margin-top: -64px;
	}

	.llf-profile__avatar img,
	.llf-monogram {
		width: 120px;
		height: 120px;
		font-size: 42px;
	}

	.llf-profile__headline {
		padding-top: 0;
	}

	.llf-profile__actions {
		justify-content: flex-start;
		margin-top: 14px;
	}

	.llf-profile__contact,
	.llf-profile__nearby {
		grid-template-columns: 1fr;
	}

	.llf-profile__contact-intro {
		justify-self: start;
	}

	.llf-contact__row {
		grid-template-columns: 1fr;
	}

	.llf-gallery {
		columns: 2 150px;
		column-gap: 6px;
	}

	.llf-gallery__item {
		margin-bottom: 6px;
	}

	.llf-profile__nearby-map {
		min-height: 260px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.llf-gallery__item img,
	.llf-film img {
		transition: none;
	}
}

/* Photographer credit under featured stories */
.llf-credit {
	margin: 48px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--llf-line, #d8d8d8);
}

.llf-credit__label {
	color: var(--llf-gold, #b59e5e);
	font-family: var(--llf-mono, var(--wp--preset--font-family--mono, ui-monospace, monospace));
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.llf-credit__name {
	margin: 6px 0 10px;
	font-family: var(--llf-serif, var(--wp--preset--font-family--serif, Georgia, serif));
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
}

.llf-credit__name span {
	display: block;
	margin-top: 4px;
	color: var(--llf-muted, #6f6f6f);
	font-family: var(--llf-sans, var(--wp--preset--font-family--sans, Helvetica, Arial, sans-serif));
	font-size: 14px;
	font-weight: 400;
}

.llf-credit__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
}

.llf-credit__links a {
	font-family: var(--llf-mono, var(--wp--preset--font-family--mono, ui-monospace, monospace));
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Membership plans */
.llf-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	align-items: stretch;
}

.llf-plan {
	display: flex;
	flex-direction: column;
	padding: 36px 32px;
	border: 1px solid var(--llf-line, #d8d8d8);
	background: var(--llf-paper, #fff);
	color: var(--llf-ink, #000);
}

.llf-plan--pro {
	border-color: var(--llf-gold, #b59e5e);
	box-shadow: 0 0 0 1px var(--llf-gold, #b59e5e);
}

.llf-plan__name {
	margin: 0 !important;
	font-family: var(--llf-display, var(--wp--preset--font-family--display, Georgia, serif)) !important;
	font-size: 44px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
}

.llf-plan--pro .llf-plan__name {
	color: var(--llf-gold, #b59e5e);
}

.llf-plan__tagline {
	margin: 10px 0 22px;
	color: var(--llf-muted, #6f6f6f);
}

.llf-plan__price {
	margin: 0;
	font-family: var(--llf-serif, var(--wp--preset--font-family--serif, Georgia, serif));
	font-size: 34px;
	font-weight: 600;
	line-height: 1.1;
}

.llf-plan__price .llf-plan__period {
	color: var(--llf-muted, #6f6f6f);
	font-family: var(--llf-sans, var(--wp--preset--font-family--sans, sans-serif));
	font-size: 15px;
	font-weight: 400;
}

.llf-plan__alt {
	margin: 6px 0 24px;
	color: var(--llf-muted, #6f6f6f);
	font-size: 14px;
}

.llf-plan__features {
	flex: 1;
	margin: 0 0 28px;
	padding: 20px 0 0;
	border-top: 1px solid var(--llf-line, #d8d8d8);
	list-style: none;
}

.llf-plan__features li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 22px;
	font-size: 15px;
	line-height: 1.45;
}

.llf-plan__features li::before {
	content: "\2013";
	position: absolute;
	top: 0;
	left: 0;
	color: var(--llf-gold, #b59e5e);
}

.llf-plan .llf-btn {
	align-self: flex-start;
}

.llf-plans__note {
	margin: 18px 0 0;
	color: var(--llf-muted, #6f6f6f);
	font-size: 13px;
	text-align: center;
}

/* ---------- v2 look: film grain and a film-edge print along the top of the cover ---------- */
.llf-profile__hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
	opacity: 0.3;
	pointer-events: none;
}

.llf-profile__hero::before {
	content: "LOOKSLIKEFILM 400        \25B8  1        \25B8  1A        \25B8  2        \25B8  2A        \25B8  3";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1;
	overflow: hidden;
	padding: 12px clamp(16px, 5vw, 72px) 18px;
	background-color: rgba(0, 0, 0, 0.35);
	background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0 10px, transparent 10px 26px);
	background-position: 0 calc(100% - 6px);
	background-repeat: repeat-x;
	background-size: 100% 6px;
	color: rgba(181, 158, 94, 0.95);
	font-family: var(--llf-mono, monospace);
	font-size: 10px;
	letter-spacing: 0.22em;
	white-space: pre;
	pointer-events: none;
}

.llf-profile__hero.has-no-cover::before {
	content: none;
}
