/**
 * Swipe Up — front-end styles.
 *
 * Values are taken from the approved Figma frame (1512px artboard, node 1:3).
 * Fixed pixel values from the design are expressed as tokens so the layout can
 * scale below the artboard width without drifting from the intended rhythm.
 */

:root {
	--su-black: #000;
	--su-white: #fff;
	--su-text: #eee;
	--su-text-soft: #fafafa;
	--su-placeholder: #d9d9d9;

	/* Accent glows, taken from the design's ellipse fills. */
	--su-gold: #f9e388;
	--su-purple: #9651ee;

	--su-glass-bg: rgba(0, 0, 0, 0.15);
	--su-glass-blur: 60px;
	--su-glass-border: rgba(250, 250, 250, 0.12);

	--su-radius-lg: 20px;
	--su-radius-md: 16px;
	--su-radius-hero: 40px;
	--su-radius-pill: 120px;

	--su-container: 1352px;
	--su-gutter: clamp(20px, 5.3vw, 80px);
	--su-section-gap: clamp(72px, 11.9vw, 180px);

	--su-font: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

	--su-fs-hero: clamp(26px, 2.4vw, 32px);
	--su-fs-h2: clamp(30px, 3.4vw, 44px);
	--su-fs-display: clamp(38px, 5vw, 64px);
	--su-fs-body-lg: clamp(17px, 1.45vw, 22px);
	--su-fs-body: clamp(16px, 1.35vw, 20px);
	--su-fs-body-sm: clamp(15px, 1.2vw, 18px);
	--su-fs-nav: 14px;
}

/* ---------------------------------------------------------------- base */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

/* The eased-scroll loop drives position itself; native smoothing fights it. */
html.su-smooth {
	scroll-behavior: auto;
}

/**
 * Sections come up into focus rather than fading — a rise with the blur
 * lifting, like something moving into a stage light.
 */
.su-reveal-on [data-su-reveal-item] {
	opacity: 0;
	transform: translateY(28px);
	filter: blur(10px);
	transition:
		opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
		transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
		filter 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: opacity, transform, filter;
}

.su-reveal-on [data-su-reveal].is-revealed [data-su-reveal-item] {
	opacity: 1;
	transform: none;
	filter: blur(0);
	will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body.su-theme {
	margin: 0;
	background: var(--su-black);
	color: var(--su-white);
	font-family: var(--su-font);
	font-weight: 400;
	line-height: 1.45;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3 {
	margin: 0;
	font-weight: 400;
	line-height: 1.15;
}

p {
	margin: 0;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.su-skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 999;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 20px;
	background: var(--su-white);
	color: var(--su-black);
	border-radius: 8px;
}

:focus-visible {
	outline: 2px solid var(--su-white);
	outline-offset: 3px;
}

/* ------------------------------------------------------------ layout */

.su-container {
	width: 100%;
	max-width: calc(var(--su-container) + var(--su-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--su-gutter);
}

/**
 * No z-index here on purpose. Giving <main> one creates a stacking context that
 * traps the pattern behind the hero photograph, whereas the design draws the
 * line work over it. The layers are instead ordered explicitly:
 * glow/canvas 0 → hero media 1 → pattern 2 → content 3 → header 50.
 */
.su-main {
	position: relative;
}

.su-home {
	position: relative;
}

.su-home > section {
	position: relative;
	z-index: 3;
	margin-top: var(--su-section-gap);
}

/**
 * The hero opts out of the content layer so the pattern can sit between its
 * photograph and its text. Matched on `section.su-hero` deliberately: the rule
 * above is (0,1,1), so a bare `.su-hero` at (0,1,0) loses and the hero keeps
 * z-index 3 — which builds a stacking context and paints the photograph over
 * the pattern.
 */
.su-home > section.su-hero {
	z-index: auto;
}

.su-home > section:first-of-type {
	margin-top: 0;
}

.su-glass {
	background: var(--su-glass-bg);
	backdrop-filter: blur(var(--su-glass-blur));
	-webkit-backdrop-filter: blur(var(--su-glass-blur));
	border-radius: var(--su-radius-lg);
}

/**
 * Decorative glows.
 *
 * Colours, sizes and blur are taken verbatim from the design's ellipse layers:
 * gold #F9E388 at full opacity and purple #9651EE at 0.6, each with a Gaussian
 * blur of stdDeviation 200. A solid circle under blur(200px) is the same
 * construction the SVG uses, so this matches rather than approximates.
 *
 * This layer is the fallback. When WebGL is available the animated canvas takes
 * over and this is hidden — see .su-fx.
 */
.su-glow {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.su-glow__blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(200px);
}

.su-glow__blob--a {
	width: min(852px, 74vw);
	aspect-ratio: 1;
	top: 10%;
	left: -14%;
	background: var(--su-gold);
}

.su-glow__blob--b {
	width: min(852px, 74vw);
	aspect-ratio: 1;
	top: 22%;
	right: -16%;
	background: var(--su-purple);
}

.su-glow__blob--c {
	width: min(404px, 40vw);
	aspect-ratio: 1;
	top: 44%;
	left: -10%;
	background: var(--su-purple);
	opacity: 0.6;
}

.su-glow__blob--d {
	width: min(352px, 36vw);
	aspect-ratio: 1;
	top: 63%;
	right: -10%;
	background: var(--su-purple);
	opacity: 0.6;
}

.su-glow__blob--e {
	width: min(306px, 32vw);
	aspect-ratio: 1;
	top: 84%;
	left: -8%;
	background: var(--su-gold);
}

/**
 * Anchored to the top of the page rather than the viewport, so it scrolls away
 * with the hero instead of tracking the screen. Sits above the hero photograph
 * — content is z-index 3 and the header 50, so only the hero image passes
 * underneath it.
 */
.su-pattern {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100vh;
	overflow: hidden;
	pointer-events: none;
	z-index: 2;
}

/**
 * The three paths ship as one SVG in a shared coordinate space, so their
 * relative placement is the design's own — nothing is reassembled here.
 *
 * The layer is fixed, and the artwork is 608x1086 against a 1512px artboard:
 * at the artboard's own width it stands well over a screen tall. Height is
 * therefore matched to the viewport with the aspect ratio preserved, which
 * keeps all three shapes on screen together at the cost of reading a little
 * narrower than the 40% of page width it occupies on the artboard.
 */
.su-pattern__art {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	height: 100vh;
	aspect-ratio: 608 / 1086;
	background: url("../img/pattern.svg") no-repeat left top / 100% 100%;
	opacity: 0.3;
}

/* Animated WebGL background. Sits behind all content, above the page ground. */
.su-fx {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.su-fx.is-ready {
	opacity: 1;
}

.su-fx canvas {
	display: block;
	width: 100%;
	height: 100%;
}

/* Once the canvas is live the static fallback is redundant. */
body.su-fx-active .su-glow {
	display: none;
}

/* ------------------------------------------------------------ header */

/**
 * Sticky, but it keeps the design's floating pill — it rides the viewport at
 * the same offset rather than expanding into a full-width bar.
 */
.su-header {
	position: fixed;
	top: 20px;
	left: 0;
	right: 0;
	z-index: 50;
	padding-inline: var(--su-gutter);
}

/**
 * Once the page has moved the pill deepens its glass rather than turning
 * solid: more blur, a little more saturation so colour still comes through
 * from behind, and a lift to separate it from the content passing underneath.
 */
.su-header.is-stuck .su-nav {
	background: rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(28px) saturate(150%);
	-webkit-backdrop-filter: blur(28px) saturate(150%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
}

.su-nav {
	border: 1px solid transparent;
	transition:
		background-color 0.35s ease,
		border-color 0.35s ease,
		box-shadow 0.35s ease;
}

.su-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1367px;
	margin-inline: auto;
	padding: 12px 28px;
	border-radius: var(--su-radius-pill);
	background: var(--su-glass-bg);
	backdrop-filter: blur(var(--su-glass-blur));
	-webkit-backdrop-filter: blur(var(--su-glass-blur));
}

/**
 * The logo asset is a 1920x1080 frame with the lockup occupying a small region
 * of it. The design crops to that region rather than scaling the whole frame
 * down — these percentages are the crop transform from the design, so the mark
 * lands at its intended size instead of shrinking into the corner.
 */
.su-nav__logo {
	position: relative;
	flex: 0 0 auto;
	width: 49px;
	height: 59px;
	overflow: hidden;
}

.su-nav__logo img {
	position: absolute;
	width: 415.48%;
	height: 192.59%;
	left: -157.74%;
	top: -46.3%;
	max-width: none;
	object-fit: fill;
}

.su-nav__list {
	display: flex;
	align-items: center;
	gap: 40px;
	font-size: var(--su-fs-nav);
}

.su-nav__list a {
	color: var(--su-white);
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.su-nav__list a:hover,
.su-nav__list .is-current > a,
.su-nav__list .current-menu-item > a {
	opacity: 1;
	font-weight: 600;
}

.su-nav__toggle {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--su-white);
	cursor: pointer;
}

.su-mobile-nav {
	max-width: 1367px;
	margin: 12px auto 0;
	padding: 20px 28px;
	border-radius: var(--su-radius-lg);
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(var(--su-glass-blur));
	-webkit-backdrop-filter: blur(var(--su-glass-blur));
}

.su-mobile-nav .su-nav__list {
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	font-size: 16px;
}

/* -------------------------------------------------------------- hero */

.su-hero {
	position: relative;
	/* One screen, never taller — dvh so mobile browser chrome cannot push it over. */
	height: 100vh;
	height: 100dvh;
	border-bottom-left-radius: var(--su-radius-hero);
	border-bottom-right-radius: var(--su-radius-hero);
	overflow: hidden;
}

.su-hero__media,
.su-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.su-hero__media img {
	object-fit: cover;
}

.su-hero__scrim {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
}

.su-hero__body {
	position: absolute;
	inset: auto 0 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding-bottom: clamp(40px, 6.2vw, 66px);
	text-align: center;
}

.su-hero__title {
	max-width: 22ch;
	font-size: var(--su-fs-hero);
	line-height: 1.125;
	color: var(--su-white);
}

.su-hero__subtitle {
	max-width: 46ch;
	padding-inline: 20px;
	font-weight: 300;
	font-size: var(--su-fs-body-sm);
	color: var(--su-text);
}

.su-hero__scroll {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-top: 8px;
	color: var(--su-white);
	transition: transform 0.25s ease;
}

.su-hero__scroll:hover {
	transform: translateY(4px);
}

/* ------------------------------------------------------------- about */

.su-about__inner {
	display: flex;
	align-items: center;
	gap: clamp(32px, 11.3vw, 171px);
}

.su-about__text {
	flex: 0 1 737px;
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}

.su-about__title {
	font-size: var(--su-fs-hero);
	line-height: 1.125;
}

.su-about__body {
	font-weight: 300;
	font-size: var(--su-fs-body);
	color: var(--su-text);
}

.su-about__body p + p {
	margin-top: 1em;
}

.su-about__media {
	flex: 1 1 0;
	min-width: 0;
}

.su-about__media img {
	width: 100%;
	height: clamp(240px, 24vw, 364px);
	object-fit: cover;
	border-radius: var(--su-radius-lg);
}

/* ----------------------------------------------------------- pillars */

.su-pillars__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 5.3vw, 80px);
}

.su-pillar {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 28px;
	padding: clamp(32px, 5.3vw, 80px);
	text-align: center;
}

.su-pillar__icon {
	width: clamp(120px, 13.4vw, 202px);
	height: clamp(120px, 13.4vw, 202px);
}

.su-pillar__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.su-pillar__title {
	font-size: var(--su-fs-h2);
}

.su-pillar__body {
	font-size: var(--su-fs-body-sm);
	color: var(--su-white);
}

/* ---------------------------------------------------------- services */

.su-services__inner {
	display: flex;
	align-items: center;
	gap: clamp(32px, 8.7vw, 131px);
}

.su-services__title {
	font-size: var(--su-fs-h2);
}

/* ----------------------------------------------------------- gallery */

.su-gallery__title {
	font-size: var(--su-fs-display);
	margin-bottom: 32px;
}

/**
 * Pinned horizontal scroll.
 *
 * Until the pin is active this is an ordinary swipeable rail, which is also the
 * fallback for touch, reduced motion, and any width where the track already
 * fits. When active, JS gives .su-gallery__pin a height equal to the horizontal
 * distance plus one viewport, the stage sticks, and scroll progress drives the
 * track sideways.
 */
/**
 * Heading and rail travel together. Centring the pair in the viewport keeps the
 * design's tight gap between them instead of stranding the cards halfway down
 * the screen.
 */
.su-gallery__stage {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 32px;
}

.su-gallery__pin.is-pinned .su-gallery__stage {
	position: sticky;
	top: 0;
	height: 100vh;
	overflow: hidden;
}

.su-gallery__rail {
	overflow-x: auto;
	overflow-y: hidden;
	width: 100%;
	/**
	 * Start where .su-container's content starts so the first card lines up
	 * with the heading above it, rather than running to the viewport edge. The
	 * container is max-width (1352 + 2*gutter) centred with gutter padding,
	 * which reduces to this.
	 */
	padding-inline-start: max(var(--su-gutter), calc((100% - var(--su-container)) / 2));
	padding-inline-end: var(--su-gutter);
	padding-bottom: 12px;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
	scroll-snap-type: x mandatory;
}

/**
 * Pinned: the track is positioned by transform.
 *
 * The leading inset moves into that transform rather than staying as padding —
 * the rail is focusable, and the browser scrolls a focused scroll container to
 * bring its content flush, which silently eats exactly the padding width and
 * cannot be reliably prevented.
 */
/**
 * `clip`, not `hidden`. `hidden` still leaves a scroll container, so focusing
 * the rail or a card inside it makes the browser scroll it sideways — which
 * cancels the transform and has to be corrected every frame, fighting the
 * browser and producing horizontal judder on hover. `clip` cannot be scrolled
 * at all, so there is nothing to correct.
 */
.su-gallery__pin.is-pinned .su-gallery__rail {
	overflow: clip;
	scroll-snap-type: none;
	padding-inline: 0;
	padding-bottom: 0;
}

/**
 * Scroll anchoring compensates for content that changes size above the
 * viewport. When the stage becomes sticky the browser reads that as a shift and
 * corrects the scroll position, which lands as a jump on entering the section.
 */
.su-gallery__pin {
	overflow-anchor: none;
}

.su-gallery__pin.is-pinned .su-gallery__track {
	will-change: transform;
}

.su-gallery__rail::-webkit-scrollbar {
	height: 6px;
}

.su-gallery__rail::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.25);
	border-radius: 3px;
}

.su-gallery__track {
	display: flex;
	gap: 24px;
	width: max-content;
}

.su-gallery__item {
	scroll-snap-align: start;
}

.su-gallery__card {
	position: relative;
	display: block;
	width: clamp(240px, 24.1vw, 365px);
	height: clamp(300px, 29.7vw, 449px);
	border-radius: var(--su-radius-lg);
	background: var(--su-placeholder);
	overflow: hidden;
}

.su-gallery__card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.su-gallery__card:hover img {
	transform: scale(1.04);
}

.su-gallery__caption {
	position: absolute;
	inset: auto 0 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 24px 20px 20px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.su-gallery__name {
	font-size: 18px;
	font-weight: 500;
}

.su-gallery__location {
	font-size: 14px;
	font-weight: 300;
	color: var(--su-text);
}

/* ------------------------------------------------------------- stats */

.su-stats__title {
	font-size: var(--su-fs-h2);
	margin-bottom: 40px;
	text-align: center;
}

.su-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.su-stat {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 40px 32px;
	text-align: center;
}

.su-stat__value {
	font-size: clamp(36px, 4vw, 56px);
	font-weight: 600;
	line-height: 1;
}

.su-stat__label {
	font-size: var(--su-fs-body-sm);
	font-weight: 300;
	color: var(--su-text);
}

/* ---------------------------------------------------------- features */

.su-features__panel {
	display: flex;
	align-items: center;
	gap: clamp(24px, 5.3vw, 80px);
	padding: clamp(20px, 2.6vw, 40px);
}

.su-features__media {
	flex: 0 0 578px;
	max-width: 48%;
}

.su-features__media img {
	width: 100%;
	height: clamp(240px, 28.3vw, 428px);
	object-fit: cover;
	border-radius: var(--su-radius-lg);
}

.su-features__text {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.su-features__title {
	font-size: var(--su-fs-h2);
}

.su-features__body {
	font-size: var(--su-fs-body-lg);
}

.su-features__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
	margin-top: 24px;
}

.su-feature {
	padding: 32px 28px;
}

.su-feature__title {
	font-size: var(--su-fs-body-lg);
	font-weight: 500;
	margin-bottom: 10px;
}

.su-feature__body {
	font-size: var(--su-fs-body-sm);
	font-weight: 300;
	color: var(--su-text);
}

/* ----------------------------------------------------------- clients */

.su-clients__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.su-clients__title {
	font-size: var(--su-fs-h2);
	text-align: center;
}

.su-clients__intro {
	max-width: 68ch;
	font-weight: 300;
	font-size: var(--su-fs-body-sm);
	color: var(--su-text);
	text-align: center;
}

/**
 * The design frames the client tiles with tick marks at every intersection of a
 * 3x3 cell grid — an L at each outer corner, a T along each edge, a cross in
 * the middle. Each mark is drawn as a full 16px cross centred on its
 * intersection; the wrapper clips the arms that fall outside, which produces
 * the L and T forms without needing separate shapes.
 */
.su-clients__frame {
	position: relative;
	width: 100%;
	max-width: 1090px;
	margin-top: 40px;
	overflow: hidden;
}

.su-clients__marks {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

/* Only the set matching the current column count is shown. */
.su-clients__marks--4col,
.su-clients__marks--3col {
	display: none;
}

.su-clients__mark {
	position: absolute;
	width: 0;
	height: 0;
}

.su-clients__mark::before,
.su-clients__mark::after {
	content: "";
	position: absolute;
	background: rgba(255, 255, 255, 0.65);
}

/* Horizontal arm — full span in the interior, half at a side edge. */
.su-clients__mark::before {
	left: -8px;
	top: -0.5px;
	width: 16px;
	height: 1px;
}

.su-clients__mark.is-left::before {
	left: 0;
	width: 8px;
}

.su-clients__mark.is-right::before {
	left: -8px;
	width: 8px;
}

/* Vertical arm — full span in the interior, half at a top or bottom edge. */
.su-clients__mark::after {
	top: -8px;
	left: -0.5px;
	width: 1px;
	height: 16px;
}

.su-clients__mark.is-top::after {
	top: 0;
	height: 8px;
}

.su-clients__mark.is-bottom::after {
	top: -8px;
	height: 8px;
}

/**
 * Six across, matching the density of the profile's logo wall. Three big tiles
 * suited the grey placeholders in the design; real badges at that size are
 * overbearing, so the tile is capped and centred in its cell.
 */
.su-clients__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 40px 32px;
	width: 100%;
	padding: 36px 48px;
}

.su-client {
	display: flex;
	justify-content: center;
}

/**
 * Logos arrive as circular badges cropped from the profile, so the tile is
 * square and lets the badge fill it. The grey block is only the fallback for a
 * client with no logo yet.
 */
.su-client__tile {
	display: grid;
	place-items: center;
	width: 100%;
	max-width: 128px;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	transition: transform 0.25s ease, filter 0.25s ease;
}

.su-client__tile:not(:has(img)) {
	aspect-ratio: 214 / 160;
	padding: 20px;
	background: var(--su-placeholder);
	border-radius: 8px;
}

a.su-client__tile:hover {
	transform: translateY(-4px) scale(1.03);
	filter: brightness(1.06);
}

.su-client__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

/**
 * Placeholder shown until a logo is uploaded. Names vary a lot in length, so
 * this has to stay inside the tile at every size.
 */
.su-client__name {
	padding: 6px;
	color: #333;
	font-size: clamp(11px, 1vw, 14px);
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	overflow-wrap: anywhere;
	hyphens: auto;
}

/* ----------------------------------------------------------- contact */

.su-contact__panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: clamp(32px, 5.3vw, 80px);
	text-align: center;
}

.su-contact__title {
	font-size: var(--su-fs-h2);
}

.su-contact__intro {
	max-width: 52ch;
	font-weight: 300;
	font-size: var(--su-fs-body);
	color: var(--su-text);
}

.su-contact__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
	width: 100%;
	max-width: 900px;
	margin-top: 20px;
}

.su-contact__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.su-contact__label {
	font-size: 14px;
	font-weight: 300;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.su-contact__value {
	font-size: var(--su-fs-body-sm);
	word-break: break-word;
}

a.su-contact__value:hover {
	text-decoration: underline;
}

.su-contact__outro {
	max-width: 60ch;
	margin-top: 8px;
	font-weight: 300;
	font-size: var(--su-fs-body-sm);
	color: var(--su-text);
}

/* ------------------------------------------------------------ footer */

/**
 * Footer.
 *
 * Matches the live site: one horizontal bar split into cells by hairline rules,
 * on solid black rather than the page's glow.
 */
.su-footer {
	position: relative;
	/* Content layer, so the pattern cannot draw across it. */
	z-index: 3;
	margin-top: var(--su-section-gap);
	background: var(--su-black);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.su-footer__bar {
	display: grid;
	grid-template-columns: auto 1fr 1fr auto;
	align-items: center;
}

.su-footer__cell {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 22px 32px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 14px;
}

.su-footer__cell:first-child {
	border-left: 0;
}

.su-footer__cell--social,
.su-footer__cell--credit {
	justify-content: center;
}

.su-footer__social {
	display: flex;
	align-items: center;
	gap: 22px;
}

.su-footer__social a {
	display: grid;
	place-items: center;
	color: var(--su-text-soft);
	opacity: 0.9;
	transition: color 0.2s ease, transform 0.2s ease;
}

.su-footer__social a:hover {
	color: var(--su-gold);
	transform: translateY(-2px);
}

.su-footer__primary {
	color: var(--su-text-soft);
}

a.su-footer__primary:hover {
	color: var(--su-gold);
}

.su-footer__meta {
	color: rgba(250, 250, 250, 0.6);
	font-size: 13px;
}

.su-footer__address {
	color: var(--su-gold);
	font-size: 13px;
}

a.su-footer__address:hover {
	text-decoration: underline;
}

.su-footer__cell--credit a,
.su-footer__cell--credit span {
	color: rgba(250, 250, 250, 0.6);
	font-size: 13px;
	white-space: nowrap;
}

.su-footer__cell--credit a:hover {
	color: var(--su-gold);
}

/* ----------------------------------------------------------- buttons */

.su-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	border: 1px solid transparent;
	border-radius: 9999px;
	font-family: inherit;
	font-size: var(--su-fs-body);
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease;
}

.su-btn--block {
	display: flex;
	width: 100%;
}

.su-btn--gold {
	background: var(--su-gold);
	color: var(--su-black);
}

.su-btn--purple {
	padding: 16px;
	background: var(--su-purple);
	color: var(--su-text-soft);
}

.su-btn--ghost {
	padding: 16px 28px;
	border-color: #a2a2a2;
	border-radius: var(--su-radius-pill);
	background: var(--su-glass-bg);
	backdrop-filter: blur(var(--su-glass-blur));
	-webkit-backdrop-filter: blur(var(--su-glass-blur));
	color: var(--su-text-soft);
}

.su-btn:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
}

.su-btn--ghost:hover {
	border-color: var(--su-text-soft);
	filter: none;
}

.su-btn svg {
	flex: 0 0 auto;
}

/* Hairline divider used down the single-event column. */
.su-rule {
	width: 100%;
	height: 0;
	margin: 0;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.su-block-title {
	font-size: clamp(24px, 2.1vw, 32px);
}

/* Shell for the non-home templates, clearing the floating nav. */
/**
 * Sits in the content layer alongside .su-home > section. The pattern is at 2,
 * so anything holding page content has to clear it — the hero is the only thing
 * the line work draws over.
 */
.su-page-shell {
	position: relative;
	z-index: 3;
	padding-top: clamp(130px, 12vw, 183px);
	padding-bottom: var(--su-section-gap);
}

/* ------------------------------------------------------------ events */

.su-events__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 80px 33px;
}

.su-event {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.su-event__media {
	display: block;
	aspect-ratio: 1;
	border-radius: var(--su-radius-lg);
	background: var(--su-placeholder);
	overflow: hidden;
}

.su-event__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.su-event:hover .su-event__media img {
	transform: scale(1.05);
}

.su-event__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: -4px;
}

.su-event__title {
	font-size: var(--su-fs-body);
	font-weight: 500;
	line-height: 1.2;
}

.su-event__when {
	font-size: 14px;
	color: var(--su-white);
	opacity: 0.85;
}

.su-event__cta {
	margin-top: auto;
}

/* ----------------------------------------------- single event */

.su-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 32px;
	padding: 17px 24px 17px 17px;
	border-radius: var(--su-radius-pill);
	background: var(--su-glass-bg);
	backdrop-filter: blur(var(--su-glass-blur));
	-webkit-backdrop-filter: blur(var(--su-glass-blur));
	font-size: var(--su-fs-body);
	color: var(--su-white);
	transition: transform 0.2s ease;
}

.su-back:hover {
	transform: translateX(-4px);
}

.su-event-single__top {
	display: flex;
	align-items: flex-start;
	gap: clamp(32px, 3.2vw, 48px);
}

.su-event-single__media {
	flex: 0 0 522px;
	max-width: 40%;
}

.su-event-single__media img,
.su-event-single__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 522 / 493;
	object-fit: cover;
	border-radius: var(--su-radius-lg);
	background: var(--su-placeholder);
}

.su-event-single__detail {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}

.su-event-single__head {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.su-event-single__title {
	font-size: clamp(30px, 3.7vw, 48px);
	font-weight: 500;
	line-height: 1.15;
}

.su-event-single__when {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	font-size: var(--su-fs-body-sm);
}

.su-event-single__venue {
	color: #a0a0a0;
}

.su-event-single__intro {
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: flex-start;
}

.su-event-single__copy {
	font-size: var(--su-fs-body-sm);
	color: #a0a0a0;
}

.su-event-single__copy p + p {
	margin-top: 1em;
}

/* Collapsed to roughly three lines until expanded, as in the design. */
[data-su-clamp]:not(.is-open) .su-event-single__copy {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.su-readmore {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--su-white);
	font-family: inherit;
	font-size: var(--su-fs-body-sm);
	cursor: pointer;
}

.su-readmore svg {
	transition: transform 0.25s ease;
}

[data-su-clamp].is-open .su-readmore svg {
	transform: rotate(180deg);
}

.su-lineup__list {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 24px;
}

.su-lineup__item,
.su-lineup__item img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--su-placeholder);
}

.su-egallery__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 24px;
}

.su-egallery__item img,
.su-egallery__item {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--su-radius-lg);
	background: var(--su-placeholder);
}

/* ------------------------------------------- services (v2 layout) */

.su-services__inner {
	display: flex;
	flex-direction: column;
	gap: 64px;
	align-items: center;
}

.su-services__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(24px, 4.2vw, 64px);
	width: 100%;
}

.su-services__text {
	flex: 0 1 325px;
	display: flex;
	flex-direction: column;
	gap: clamp(24px, 3.2vw, 48px);
	min-width: 0;
}

.su-services__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.su-service {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 16px;
	border: 1px solid transparent;
	border-radius: var(--su-radius-md);
	color: var(--su-text-soft);
	font-family: inherit;
	font-size: var(--su-fs-body);
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.su-service:hover {
	transform: translateX(4px);
}

.su-service.is-active {
	border-color: var(--su-text-soft);
}

.su-services__panels {
	flex: 0 1 411px;
	min-width: 0;
}

.su-services__panel {
	display: none;
	font-size: var(--su-fs-body-sm);
	color: var(--su-white);
}

.su-services__panel.is-active {
	display: block;
}

/* Without JS every panel stays visible rather than collapsing to one. */
.no-js .su-services__panel {
	display: block;
	margin-bottom: 1em;
}

/**
 * Service imagery.
 *
 * Every service's photograph is stacked in the same frame; switching service
 * sweeps the new one in behind a diagonal edge — echoing the angular pattern
 * used across the site — while the outgoing frame drifts back. Both images stay
 * loaded, so the change is a transition rather than a reload.
 */
.su-services__media {
	position: relative;
	flex: 0 0 488px;
	max-width: 36%;
	height: clamp(320px, 36.6vw, 554px);
	border-radius: var(--su-radius-lg);
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
}

/**
 * The panel is a skewed slab that slides across the frame, and the inner
 * element counter-skews so the photograph itself stays upright. Transforms are
 * used rather than an animated clip-path polygon: polygons only interpolate
 * when every vertex is unit-compatible, and these shapes fall back to a
 * discrete swap, which reads as a snap rather than a sweep.
 *
 * The slab is wider than the frame so its diagonal edges finish outside the
 * visible area.
 */
/**
 * Water drop.
 *
 * The photograph is one undivided element — nothing is sliced, so there are no
 * seams and no stretching. It opens from a point as a spreading circle while
 * rings ripple out ahead of it.
 *
 * circle() is used rather than a polygon: basic shapes with matching units
 * interpolate reliably, whereas the polygon form silently degrades to a
 * discrete swap.
 */
/**
 * The change is carried by the liquid distortion alone — no expanding circle,
 * no rings. Underneath it the frames simply cross-fade, so the only thing the
 * eye reads is the water settling.
 */
.su-services__shot {
	position: absolute;
	inset: 0;
	margin: 0;
	z-index: 0;
	opacity: 0;
	transition: opacity 0.9s ease;
	will-change: opacity;
}

.su-services__shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.09);
	transition: transform 1.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Liquid distortion, applied only for the length of the transition. */
.su-services__shot.is-dropping img {
	filter: url("#su-drop");
}

.su-fx-defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.su-services__shot.is-active {
	z-index: 2;
	opacity: 1;
}

.su-services__shot.is-active img {
	transform: scale(1);
}

/* Stays fully open underneath while the new drop spreads over it. */
/* Held underneath at full opacity so the fade has something to resolve onto. */
.su-services__shot.is-leaving {
	z-index: 1;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.su-services__shot {
		clip-path: none;
		opacity: 0;
		transition: opacity 0.25s ease;
	}

	.su-services__shot.is-active,
	.su-services__shot.is-leaving {
		clip-path: none;
		opacity: 1;
	}

	.su-services__shot img,
	.su-services__shot.is-active img {
		transform: none;
		transition: none;
	}

}

/* ------------------------------------------------- contact page */

.su-contact-page__head {
	max-width: 62ch;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.su-contact-page__title {
	font-size: var(--su-fs-h2);
	margin-bottom: 16px;
}

.su-contact-page__lede {
	font-weight: 300;
	font-size: var(--su-fs-body);
	color: var(--su-text);
}

.su-contact-page__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: start;
}

.su-contact-form {
	padding: clamp(24px, 3.2vw, 48px);
}

.su-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.su-form__row {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.su-form__label {
	font-size: 14px;
	font-weight: 300;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.su-form__input {
	width: 100%;
	padding: 14px 18px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--su-radius-md);
	background: rgba(255, 255, 255, 0.04);
	color: var(--su-white);
	font-family: inherit;
	font-size: var(--su-fs-body-sm);
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.su-form__input::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.su-form__input:focus {
	outline: none;
	border-color: var(--su-gold);
	background: rgba(255, 255, 255, 0.07);
}

.su-form__input--area {
	resize: vertical;
	min-height: 140px;
	line-height: 1.55;
}

/* Honeypot — off-screen rather than display:none, which bots skip. */
.su-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.su-notice {
	margin-bottom: 24px;
	padding: 14px 18px;
	border-radius: var(--su-radius-md);
	font-size: var(--su-fs-body-sm);
}

.su-notice--success {
	border: 1px solid rgba(249, 227, 136, 0.5);
	background: rgba(249, 227, 136, 0.1);
	color: var(--su-gold);
}

.su-notice--error {
	border: 1px solid rgba(255, 138, 138, 0.5);
	background: rgba(255, 138, 138, 0.1);
	color: #ff9b9b;
}

.su-contact-page__copy {
	margin-bottom: 28px;
	font-weight: 300;
	color: var(--su-text);
}

.su-contact-page__details {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.su-contact-page__details li {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

@media (max-width: 900px) {
	.su-contact-page__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* -------------------------------------------------- generic pages */

/* Fallback template wrapper — also needs to clear the pattern layer. */
.su-page {
	position: relative;
	z-index: 3;
	padding-top: clamp(140px, 16vw, 220px);
}

.su-page__title {
	font-size: var(--su-fs-h2);
	margin-bottom: 40px;
}

.su-page__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 32px;
}

.su-card__media img {
	width: 100%;
	border-radius: var(--su-radius-lg);
	margin-bottom: 16px;
}

.su-card__title {
	font-size: var(--su-fs-body-lg);
	margin-bottom: 8px;
}

.su-card__excerpt {
	font-weight: 300;
	color: var(--su-text);
}

.su-pagination {
	margin-top: 48px;
}

.su-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 8px;
	background: var(--su-glass-bg);
}

/* -------------------------------------------------------- responsive */

@media (max-width: 1100px) {
	.su-clients__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 32px 24px;
		padding: 32px 36px;
	}

	.su-clients__marks--6col {
		display: none;
	}

	.su-clients__marks--4col {
		display: block;
	}

	.su-stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.su-nav__menu {
		display: none;
	}

	.su-about__inner,
	.su-services__row,
	.su-features__panel,
	.su-event-single__top {
		flex-direction: column;
		align-items: stretch;
	}

	.su-about__text,
	.su-services__text,
	.su-services__panels,
	.su-services__media,
	.su-features__media,
	.su-event-single__media {
		flex: 1 1 auto;
		max-width: none;
	}

	.su-events__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 48px 24px;
	}

	.su-pillars__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.su-glow__blob {
		filter: blur(90px);
		opacity: 0.4;
	}
}

@media (max-width: 640px) {
	.su-clients__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px 16px;
		padding: 20px 22px;
	}

	.su-clients__marks--6col,
	.su-clients__marks--4col {
		display: none;
	}

	.su-clients__marks--3col {
		display: block;
	}

	.su-client__tile {
		max-width: 92px;
	}

	.su-stats__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.su-contact__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.su-footer__bar {
		grid-template-columns: minmax(0, 1fr);
	}

	.su-footer__cell {
		padding: 18px 20px;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.su-footer__cell:first-child {
		border-top: 0;
	}

	.su-events__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.su-egallery__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.su-lineup__item,
	.su-lineup__item img {
		width: 64px;
		height: 64px;
	}

	.su-pattern {
		opacity: 0.7;
	}
}
