/**
 * Melbourne landing page — /services/ecommerce-marketing-agency-melbourne/
 *
 * The supplied design is a deliberate departure from the service-page system:
 * flat and square rather than rounded cards, headings left-aligned and much
 * larger, and a red highlight block struck through part of each heading
 * instead of red italic words. Reproducing it inside service-generic.css
 * would have meant overriding most of that file, so it lives here and is
 * enqueued only for this page.
 *
 * Values are measured from the design, not guessed: 1240px container, 52px
 * headings at weight 800 with -0.02em tracking, 4px top rules on cards, zero
 * border radius throughout, and the #FAFAFA / #FFF / #101010 band rhythm.
 *
 * The case-study carousel, reviews block and contact form are still the
 * shared components, as briefed — this file does not touch them.
 *
 * @package liondigital-2026
 */

.mel {
	--mel-ink: #101010;
	--mel-ink-2: #202020;
	--mel-muted: #555;
	--mel-band: #fafafa;
	--mel-rule: #e4e4e4;
}

/* ── SHELL ──────────────────────────────────────────── */
.mel-sec { padding: 72px 48px; background: var(--white); }
.mel-sec--band { background: var(--mel-band); }
.mel-sec--ink { background: var(--mel-ink); color: var(--white); }
.mel-wrap { max-width: 1240px; margin: 0 auto; }

/* ── TYPE ───────────────────────────────────────────── */
.mel-h2 {
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--mel-ink);
	margin: 0 0 20px;
	max-width: 15ch;
}
/* Any heading on a dark ground has to state its colour: the base rule above
   sets near-black, and the final CTA is not a .mel-sec--ink. */
.mel-sec--ink .mel-h2,
.mel-cta .mel-h2 { color: var(--white); }
.mel-h2--wide { max-width: none; }
.mel-h2--sm { font-size: clamp(1.6rem, 2.8vw, 2.75rem); }
/* The bio band's label-sized heading. */
.mel-h2--xs { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.2; }

/* The design's signature: a red block struck through part of the heading.
   The inline padding is set in em so it tracks the heading size, and
   box-decoration-break keeps the block whole when the phrase wraps. */
.mel-mark {
	background: var(--red);
	color: var(--white);
	padding: 0 0.12em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.mel-lede { font-size: 17px; line-height: 1.7; color: var(--mel-muted); margin: 0 0 28px; max-width: 62ch; }
.mel-sec--ink .mel-lede { color: rgba(255, 255, 255, 0.78); }

/* A small grey label above a value or a group — the design uses it in the
   bio band, over the logo strip and beside the meeting details. */
.mel-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mel-muted);
	margin: 0 0 10px;
}

/* ── BUTTONS ────────────────────────────────────────── */
/* Square and sentence-case, unlike the tracked uppercase pill the rest of
   the service pages use. */
.mel-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 28px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 0;
	border: 2px solid transparent;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mel-btn svg { width: 16px; height: 16px; }
.mel-btn--primary { background: var(--red); color: var(--white); }
.mel-btn--primary:hover { background: var(--white); color: var(--mel-ink); }
.mel-btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.mel-btn--ghost:hover { background: var(--white); color: var(--mel-ink); }
.mel-btn--dark { background: var(--mel-ink); color: var(--white); }
.mel-btn--dark:hover { background: var(--red); color: var(--white); }
.mel-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── HERO ───────────────────────────────────────────── */
.mel-hero {
	position: relative;
	overflow: hidden;
	padding: 76px 48px 88px;
	color: var(--white);
	background:
		radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--red) 22%, transparent) 0%, transparent 45%),
		radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--red) 8%, transparent) 0%, transparent 50%),
		var(--mel-ink);
}
.mel-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 64px 64px;
	pointer-events: none;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 80%);
	-webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 80%);
}
.mel-hero-watermark {
	position: absolute;
	bottom: -36px;
	right: -24px;
	font-size: clamp(6rem, 16vw, 14rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1;
	color: rgba(255, 255, 255, 0.04);
	white-space: nowrap;
	pointer-events: none;
}
.mel-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 56px;
	align-items: start;
}

.mel-kicker {
	display: block;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--red);
	margin: 0 0 18px;
}
.mel-h1 {
	font-size: clamp(2.25rem, 4.6vw, 4rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.015em;
	text-transform: uppercase;
	color: var(--white);
	margin: 0 0 24px;
}
.mel-hero-sub { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); margin: 0 0 32px; max-width: 54ch; }

/* The portrait column: a circular photo with the name plate squared off
   beneath it, which is what makes the hero read as "meet this person". */
.mel-hero-aside { display: flex; flex-direction: column; align-items: center; }
.mel-portrait {
	width: 292px;
	height: 292px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top center;
	background: var(--red);
	display: block;
}
.mel-plate {
	width: 100%;
	margin-top: 22px;
	padding: 18px 20px;
	background: var(--mel-ink-2);
	text-align: center;
}
.mel-plate-name { display: block; font-size: 15px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); }
.mel-plate-role { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }

/* ── IN SHORT ───────────────────────────────────────── */
.mel-short { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.mel-short .mel-h2 { margin: 0; }
.mel-short p { font-size: 17px; line-height: 1.75; color: var(--mel-ink); margin: 0; }

/* ── CLIENT BRANDS ──────────────────────────────────── */
/* One supplied composite, not ten files, so it is sized by its own ratio
   and never upscaled past its 1200px native width. */
.mel-brands { margin-top: 44px; }
.mel-brands img { display: block; width: 100%; max-width: 1200px; height: auto; }

/* ── THE PLATEAU ────────────────────────────────────── */
.mel-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }

.mel-symptoms { list-style: none; margin: 0; padding: 0; }
.mel-symptom { padding: 22px 0; border-top: 1px solid var(--mel-rule); }
.mel-symptom:first-child { border-top: 0; padding-top: 0; }
.mel-symptom h3 { font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--mel-ink); margin: 0 0 8px; }
.mel-symptom p { font-size: 15.5px; line-height: 1.65; color: var(--mel-muted); margin: 0; }

/* Nick's line, set as a black slab rather than the house review card — it is
   an assertion, not a testimonial. */
.mel-quote { margin: 32px 0 0; padding: 28px 30px; background: var(--mel-ink); }
.mel-quote blockquote { margin: 0 0 16px; }
.mel-quote blockquote p {
	margin: 0;
	font-size: clamp(1.15rem, 1.8vw, 1.5rem);
	font-weight: 800;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--white);
}
.mel-quote figcaption { font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.mel-quote figcaption strong { display: block; color: var(--white); font-weight: 700; margin-bottom: 2px; }
.mel-quote figcaption a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.mel-quote figcaption a:hover { color: var(--white); }

/* ── DEPARTMENTS ────────────────────────────────────── */
.mel-depts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
/* The whole tile is the anchor, so the hit area is the card rather than the
   two or three words of its heading. */
.mel-dept {
	display: block;
	padding: 22px;
	background: var(--mel-ink-2);
	border-top: 4px solid var(--c, var(--red));
	text-decoration: none;
	transition: background 0.2s;
}
.mel-dept:hover,
.mel-dept:focus-visible { background: #2a2a2a; }
.mel-dept:focus-visible { outline: 2px solid var(--c, var(--red)); outline-offset: 2px; }
.mel-dept h3 { font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; line-height: 1.3; color: var(--white); transition: color 0.2s; }
.mel-dept:hover h3 { color: var(--c, var(--red)); }
.mel-dept p { font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.72); margin: 0; }

.mel-stats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 48px 0 0; padding: 36px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.mel-stat-num { display: block; font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--red); margin-bottom: 10px; }
.mel-stat-label { display: block; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.75); }

/* ── CONSULT STEPS / LINK CARDS ─────────────────────── */
/* Same card: a 4px top rule, no border elsewhere, no radius. The rule is
   black except on the card the design accents in red. */
.mel-cards { display: grid; gap: 16px; margin-top: 8px; }
.mel-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mel-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mel-card { padding: 28px; background: var(--white); border-top: 4px solid var(--mel-ink); }
.mel-card--accent { border-top-color: var(--red); }
.mel-sec--band .mel-card { background: var(--white); }
.mel-card-num { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--mel-ink); margin-bottom: 14px; }
.mel-card--accent .mel-card-num { color: var(--red); }
.mel-card-kicker { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mel-muted); margin-bottom: 12px; }
.mel-card h3 { font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--mel-ink); margin: 0 0 10px; }
.mel-card h3 a { color: inherit; text-decoration: none; }
.mel-card h3 a:hover { color: var(--red); }
.mel-card p { font-size: 14.5px; line-height: 1.6; color: var(--mel-muted); margin: 0; }

/* ── MEET NICK ──────────────────────────────────────── */
.mel-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 820px; margin: 0 0 32px; }
.mel-meta p { font-size: 16px; line-height: 1.6; color: var(--mel-ink); margin: 0; }
.mel-meta a { color: var(--red); text-decoration: none; font-weight: 700; }
.mel-meta a:hover { text-decoration: underline; }
.mel-areas { max-width: 820px; margin: 36px 0 0; font-size: 15px; line-height: 1.9; color: var(--mel-muted); }

/* ── FAQ ────────────────────────────────────────────── */
/* Rules, not boxes. <details> keeps it keyboard-operable and lets the first
   answer sit open the way the design shows it. */
.mel-faq { max-width: 920px; }
.mel-faq-item { border-bottom: 1px solid var(--mel-rule); }
.mel-faq-item:first-child { border-top: 1px solid var(--mel-rule); }
.mel-faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--mel-ink);
	cursor: pointer;
	list-style: none;
}
.mel-faq-q::-webkit-details-marker { display: none; }
.mel-faq-q:hover { color: var(--red); }
.mel-faq-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--red); transition: transform 0.2s; }
.mel-faq-item[open] .mel-faq-icon { transform: rotate(180deg); }
.mel-faq-a { padding: 0 0 24px; }
.mel-faq-a p { font-size: 15.5px; line-height: 1.75; color: var(--mel-muted); margin: 0; max-width: 78ch; }

/* ── FINAL CTA ──────────────────────────────────────── */
.mel-cta { padding: 88px 48px; background: var(--mel-ink); text-align: center; }
.mel-cta-inner { max-width: 900px; margin: 0 auto; }
.mel-cta .mel-h2 { max-width: none; margin: 0 auto 20px; font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
.mel-cta .mel-lede { margin: 0 auto 32px; color: rgba(255, 255, 255, 0.78); }
.mel-cta .mel-actions { justify-content: center; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1100px) {
	.mel-depts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mel-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.mel-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.mel-hero-aside { align-items: flex-start; max-width: 320px; }
	.mel-short { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.mel-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.mel-cards--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
	.mel-sec, .mel-cta { padding-left: 24px; padding-right: 24px; }
	.mel-hero { padding: 56px 24px 64px; }
	.mel-depts, .mel-cards--4, .mel-stats, .mel-meta { grid-template-columns: minmax(0, 1fr); }
	.mel-hero-watermark { display: none; }
	.mel-actions .mel-btn { width: 100%; justify-content: center; }
	.mel-hero-aside { align-items: center; max-width: none; }
	.mel-portrait { width: 220px; height: 220px; }
}
