/*
Theme Name: Nocturnal Media
Theme URI: https://www.nocturnalmedia.co.uk/
Author: Nocturnal Media
Description: Clean single-page theme for Nocturnal Media.
Version: 1.0
Text Domain: nocturnal
*/

:root {
  --bg: #ffffff;
  --soft: #faf7f2;
  --text: #1f1b16;
  --muted: #6b645b;
  --line: #e9e4dc;
  --accent: #7a5320;
  --accent-dark: #5c3d14;
  --radius: 14px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -.005em; }
.brand:hover { color: var(--text); }
.brand span, .nav .btn { white-space: nowrap; }
.brand img { height: 40px; width: 40px; }
.hero-logo { width: 150px; height: auto; margin: 0 auto 28px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; border: 1px solid var(--accent); cursor: pointer;
  padding: 12px 24px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .98rem;
  background: var(--accent); color: #fff !important; text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn { min-height: 44px; line-height: 1.3; text-align: center; }
.btn.ghost { background: transparent; color: var(--text) !important; border-color: var(--line); }
.btn.ghost:hover { border-color: var(--text); background: transparent; }
.nav .btn { padding: 9px 20px; }

/* Hero */
.hero { padding: 120px 0 104px; text-align: center; }
.hero .wrap { max-width: 800px; }
.eyebrow { font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; color: var(--accent); font-weight: 700; margin: 0 0 20px; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.08; margin: 0 0 24px; letter-spacing: -.025em; font-weight: 700; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 auto 36px; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Sections */
section { padding: 96px 0; }
.soft { background: var(--soft); }
.section-head { max-width: 40em; margin: 0 0 56px; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.015em; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-head .eyebrow { margin: 0 0 16px; color: var(--accent); font-size: .82rem; }
.night .section-head .eyebrow { color: #e0b070; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { padding: 40px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.service .icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 22px; }
.service h3 { margin: 0 0 10px; font-size: 1.2rem; }
.service p { margin: 0; color: var(--muted); }
.service.last { background: var(--soft); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.service.last p { color: var(--text); font-size: 1.1rem; font-weight: 600; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font-size: .9rem; font-weight: 700; color: var(--accent); letter-spacing: .1em; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.steps h3 { margin: 0 0 8px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ticks li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.ticks li:first-child { border-top: 1px solid var(--line); }
.ticks strong { display: block; margin-bottom: 2px; }
.ticks span { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips span { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.contact-copy p { color: var(--muted); font-size: 1.08rem; }
.contact-copy .mail { font-weight: 600; white-space: nowrap; }
form { display: grid; gap: 22px; }
label, legend { font-weight: 600; font-size: .95rem; }
input[type=text], input[type=email], textarea {
  width: 100%; margin-top: 8px; padding: 13px 15px; border-radius: 10px;
  background: var(--bg); color: var(--text); border: 1px solid var(--line); font: inherit;
}
input:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(122, 83, 32, .15); }
textarea { min-height: 140px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.checks label { font-weight: 500; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--bg); }
.checks input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.hp { position: absolute; left: -9999px; }
.note { font-size: .88rem; color: var(--muted); margin: 0; }
.notice { padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.notice.ok { background: #f1f7ee; border: 1px solid #b8d4ab; }
.notice.err { background: #fdf1ef; border: 1px solid #e4b3ab; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Responsive */
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .brand { font-size: 1rem; }
  .nav { display: none; }
  .menu { margin-left: auto; }
  section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .services, .steps { grid-template-columns: 1fr; }
  .service { padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Night section */
.night { background: #1c150e; color: #f4ede3; position: relative; overflow: hidden; }
.night h2 { color: #fff; }
.night .eyebrow { color: #e0b070; }
.night .section-head { margin-bottom: 48px; }
.night .section-head p { color: #cdbfad; }
.night .wrap { position: relative; }
.eyes { position: absolute; right: 0; top: -8px; width: 170px; opacity: .95; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.points div { border-top: 1px solid #4a3a28; padding-top: 22px; }
.points h3 { margin: 0 0 8px; font-size: 1.15rem; color: #fff; }
.points p { margin: 0; color: #cdbfad; font-size: .98rem; }
@media (max-width: 900px) { .points { grid-template-columns: 1fr; gap: 28px; } .eyes { width: 110px; top: -24px; } }

/* Mobile menu */
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--text); background: var(--bg); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--text); }
.menu-panel { position: absolute; left: 0; right: 0; top: 72px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(31, 27, 22, .08); padding: 8px 20px 16px; }
.menu-panel a { display: block; padding: 14px 4px; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); min-height: 44px; }
.menu-panel a:last-child { border-bottom: 0; }
@media (max-width: 900px) {
  .menu { display: block; }
  .site-header .wrap { gap: 10px; }
  .nav { margin-left: auto; }
  .service.last .btn { width: 100%; }
  .hero .cta .btn { flex: 1 1 200px; }
}
@media (max-width: 360px) {
  h1 { font-size: 2.1rem; }
  .btn { padding: 12px 18px; }
}

/* Second services group (added 30 Sep 2026) */
.services-subhead{margin:72px 0 36px}
.services-subtitle{font-size:clamp(1.4rem,2.6vw,1.9rem);line-height:1.2;margin:0;letter-spacing:-.01em}
.services-more .services-cta{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between}
@media (max-width:560px){.services-more .services-cta{grid-column:1/-1}}

.hero .lead a{color:var(--accent-dark);text-underline-offset:3px}
