/*
Theme Name: SBB Studio
Theme URI: https://snappedbybella.com.au
Author: SBB Studio
Author URI: https://snappedbybella.com.au
Description: Custom cinematic dark theme for SBB Studio — combat sports photography & videography based in Melbourne. Full-width layout, editorial journal, inquiry-based shop, and a native contact form.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sbb-studio
*/

/* ==========================================================================
   0. Variables
   ========================================================================== */
:root {
  --bg: #1B1B1B;
  --text: #EEEDE9;
  --accent: #37000A;
  --accent-light: #58020F;
  --grey: #8A8885;
  --border: #3A3937;

  --font-heading: 'Be Vietnam Pro', Arial, sans-serif;
  --font-body: 'IBM Plex Sans Condensed', Arial, sans-serif;
  --font-editorial: 'Playfair Display', Georgia, serif;

  --container-width: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ==========================================================================
   1. Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; }

/* ==========================================================================
   2. Base
   ========================================================================== */
html, body {
  background: var(--bg);
  color: var(--text);
}

body {
  position: relative;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* subtle grain texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: none;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

p { color: var(--text); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--grey);
}

.editorial-italic {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.full-bleed {
  width: 100%;
}

a.btn,
button.btn,
input[type="submit"].btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  background: var(--accent);
  color: var(--text);
  border: 1px solid var(--accent);
  border-radius: 0;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

a.btn:hover,
button.btn:hover,
input[type="submit"].btn:hover {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

a.btn.btn-outline {
  background: transparent;
  border-color: var(--text);
}

a.btn.btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* Light CTA button: white outline always visible, greying out on hover.
   Same behaviour as the buttons on the oxblood CTA band. */
a.btn.btn-light {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}

a.btn.btn-light:hover {
  background: transparent;
  border-color: var(--grey);
  color: var(--grey);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--text);
  padding: 1rem;
  z-index: 10000;
}
.skip-link:focus {
  left: 0;
}

/* image desaturate -> reveal colour on hover */
.media-hover {
  overflow: hidden;
  position: relative;
  background: #000;
}
.media-hover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(65%) saturate(85%) brightness(0.92);
  transform: scale(1.0);
  transition: filter 0.6s ease, transform 0.8s ease;
}
.media-hover:hover img {
  filter: grayscale(0%) saturate(100%) brightness(1);
  transform: scale(1.04);
}

/* ==========================================================================
   3. Header / Nav
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 1.5rem 0;
}

.site-header.is-static {
  position: relative;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo img {
  height: 48px;
  width: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  display: flex;
  gap: 2.4rem;
}

.main-navigation a {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
  border-color: var(--accent);
  color: var(--text);
}

.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem 0.8rem;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ==========================================================================
   4. Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg) center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,27,27,0.55) 0%, rgba(27,27,27,0.35) 45%, rgba(27,27,27,0.9) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 2rem;
}

.hero-logo img {
  max-width: 220px;
  width: 50vw;
}

.hero-tagline {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  color: var(--text);
}

.hero-subtagline {
  max-width: 560px;
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Sits below the sub-tagline; the extra margin keeps it clear of the logo
   block above (.hero-inner already applies a 1.75rem gap). */
.hero-btn {
  margin-top: 0.75rem;
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--grey);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-cue .line {
  width: 1px;
  height: 42px;
  background: var(--grey);
  animation: scrollcue 2s ease-in-out infinite;
}

@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.4; }
}

/* ==========================================================================
   5. Sections generic
   ========================================================================== */
.section {
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.section-head {
  margin-bottom: 3rem;
  max-width: 720px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* Who we are */
.who-we-are {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.who-we-are .text-col p {
  color: var(--grey);
  margin-top: 1.25rem;
  font-size: 1.05rem;
}

.who-we-are .image-col img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* Homepage statement line, directly below the hero */
.hero-statement {
  max-width: 1000px;
  font-size: clamp(1.75rem, 4vw, 3.2rem);
}

.hero-statement-sub {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  color: var(--grey);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

/* Trusted by strip */
.trusted-by {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.trusted-by .trusted-label {
  margin-bottom: 1.5rem;
}

/* Single-line marquee. The track holds two identical sets, so sliding it by
   exactly one set (half the track, plus half the gap between the two sets)
   lands on a seamless loop point. */
.trusted-by-marquee {
  overflow: hidden;
}

.trusted-by-track {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  width: max-content;
  animation: sbb-marquee 45s linear infinite;
}

.trusted-by-set {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.trusted-by-marquee:hover .trusted-by-track {
  animation-play-state: paused;
}

@keyframes sbb-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 1.5rem)); }
}

@media (prefers-reduced-motion: reduce) {
  .trusted-by-track { animation: none; }
  .trusted-by-marquee { overflow-x: auto; }
}

/* One client: name centred over its square thumbnail, kept on one line
   so each unit stays intact as the marquee scrolls. */
.trusted-client {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  flex: 0 0 auto;
}

.trusted-client span {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--grey);
  font-size: 1rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.trusted-client:hover span {
  color: var(--text);
}

.trusted-client .trusted-thumb {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--border);
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
}

.trusted-client:hover .trusted-thumb {
  filter: grayscale(0);
  opacity: 1;
  border-color: var(--accent-light);
}

/* Featured work grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}

.work-grid .work-item {
  position: relative;
}

.work-grid .work-item .media-hover {
  aspect-ratio: 1/1;
}

.work-grid .work-item .work-title {
  margin-top: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Services teaser (compact) */
.services-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card-compact {
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card-compact .price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
}

.services-teaser-footer {
  margin-top: 2.5rem;
  text-align: center;
}

/* Journal teaser + index */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.journal-card .media-hover {
  aspect-ratio: 3/2;
  margin-bottom: 1.25rem;
}

.journal-card .journal-title {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.journal-card .journal-meta {
  color: var(--grey);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.journal-card .journal-excerpt {
  color: var(--grey);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: var(--accent);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 2rem;
}

/* CTA band sits on oxblood, so the button needs a white outline at rest
   and greys out on hover (the reverse of the default .btn behaviour). */
.cta-band .btn {
  border-color: var(--text);
}

.cta-band .btn:hover {
  background: transparent;
  color: var(--grey);
  border-color: var(--grey);
}

/* ==========================================================================
   6. Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) 0 2.5rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-logo img {
  height: 34px;
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--grey);
  margin-bottom: 1rem;
}

.footer-col a {
  display: inline-block;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--grey);
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--grey);
  font-size: 0.8rem;
}

/* ==========================================================================
   7. Page headers (interior pages)
   ========================================================================== */
.page-hero {
  padding: clamp(7rem, 14vw, 10rem) 0 clamp(3rem, 6vw, 4rem);
  border-bottom: 1px solid var(--border);
}

.page-hero .eyebrow {
  margin-bottom: 1rem;
}

/* ==========================================================================
   8. About page
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}

.team-member .media-hover {
  aspect-ratio: 4/5;
  margin-bottom: 1.5rem;
}

.team-member h3 {
  margin-bottom: 0.25rem;
}

.team-member .role {
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.team-member p {
  color: var(--grey);
}

/* About: combined story block ("Journey over highlights" + "Behind the studio")
   sharing one Customizer background image under a 40% dark overlay. */
.about-story {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-story.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0.4;
  pointer-events: none;
}

.about-story > .container {
  position: relative;
  z-index: 1;
}

.about-story .story-lead {
  max-width: 760px;
}

.about-story .story-lead + .story-lead {
  margin-top: 1.25rem;
}

.about-story .behind-the-studio {
  margin-top: clamp(3rem, 6vw, 5rem);
}

/* Text sits over a photo here, so it runs at full strength rather than grey. */
.about-story .story-lead,
.about-story .text-col p {
  color: var(--text);
  margin-top: 1.25rem;
}

/* "What we are" — three statements, affirmative left, "not…" right */
.what-we-are {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.what-we-are .wwa-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 3rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-top: 1px solid var(--border);
}

.what-we-are .wwa-row:last-child {
  border-bottom: 1px solid var(--border);
}

.what-we-are p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.5;
}

.what-we-are .wwa-affirm {
  color: var(--text);
}

.what-we-are .wwa-not {
  text-align: right;
  color: var(--grey);
  font-style: italic;
}

.pull-quote {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.pull-quote blockquote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.35;
  color: var(--text);
}

.pull-quote cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--grey);
}

/* ==========================================================================
   9. Pricing / Work with us
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pricing-card.is-featured {
  border-color: var(--accent);
  background: rgba(55, 0, 10, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 2rem;
  background: var(--accent);
  color: var(--text);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.9rem;
}

.pricing-card .pricing-name {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
}

.pricing-card .pricing-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
}

.pricing-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.pricing-card ul li {
  color: var(--grey);
  font-size: 0.92rem;
  padding-left: 1.1rem;
  position: relative;
}

.pricing-card ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-light);
}

.custom-projects {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  max-width: 780px;
}

.custom-projects p {
  color: var(--grey);
  margin-top: 1rem;
}

/* ==========================================================================
   10. Contact form
   ========================================================================== */
/* Styled to read like the featured "Professional" pricing card: thin oxblood
   border over a low-opacity oxblood tint. */
.contact-form-wrap {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  border: 1px solid var(--accent);
  background: rgba(55, 0, 10, 0.15);
  padding: clamp(2rem, 4vw, 3rem);
}

.contact-form-wrap .form-intro {
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.form-notice {
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}

.form-notice.success {
  border-color: var(--accent);
  background: rgba(55, 0, 10, 0.18);
}

.form-notice.error {
  border-color: var(--grey);
}

.sbb-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.sbb-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sbb-form .field.full {
  grid-column: 1 / -1;
}

.sbb-form label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--grey);
}

.sbb-form input,
.sbb-form select,
.sbb-form textarea {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.sbb-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M0 0l6 8 6-8z' fill='%238A8885'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.sbb-form input:focus,
.sbb-form select:focus,
.sbb-form textarea:focus {
  outline: none;
  border-color: var(--accent-light);
}

.sbb-form textarea {
  resize: vertical;
  min-height: 140px;
}

.sbb-form .field.submit {
  align-self: start;
}

/* ==========================================================================
   11. Shop
   ========================================================================== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.shop-item {
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.shop-item .media-hover {
  aspect-ratio: 4/5;
}

.shop-item-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.shop-item-body h3 {
  font-size: 1.15rem;
}

.shop-item-body .shop-desc {
  color: var(--grey);
  font-size: 0.9rem;
  flex: 1;
}

.shop-item-body .shop-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.shop-enquire-btn {
  align-self: flex-start;
}

/* ==========================================================================
   12. Blog: Journal index / archive / single
   ========================================================================== */
.journal-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--border);
}

.journal-featured .media-hover {
  aspect-ratio: 4/3;
}

.journal-featured .journal-title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

.journal-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

.pagination-row {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.single-lead-image {
  aspect-ratio: 16/8;
  overflow: hidden;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.single-lead-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-header {
  max-width: 820px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.single-post-header .journal-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-bottom: 1rem;
}

.single-post-header .journal-meta {
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.single-post-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.single-post-content p,
.single-post-content ul,
.single-post-content ol,
.single-post-content blockquote {
  margin-bottom: 1.5rem;
}

.single-post-content h2,
.single-post-content h3 {
  margin: 2.5rem 0 1.25rem;
}

.single-post-content img {
  margin: 2rem 0;
}

.single-post-content blockquote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.4rem;
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  color: var(--grey);
}

.post-nav {
  max-width: 760px;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.post-nav .nav-next { text-align: right; }

.post-nav a .direction {
  display: block;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  margin-bottom: 0.4rem;
}

.post-nav a .title {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.1rem;
}

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .work-grid,
  .services-teaser,
  .journal-grid,
  .pricing-grid,
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-navigation {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 85vw);
    background: var(--bg);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 600;
  }

  .main-navigation.is-open {
    transform: translateX(0);
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    z-index: 700;
  }

  .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .who-we-are,
  .work-grid,
  .services-teaser,
  .journal-grid,
  .pricing-grid,
  .shop-grid,
  .team-grid,
  .what-we-are .wwa-row,
  .journal-featured,
  .journal-index-grid,
  .sbb-form,
  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav .nav-next { text-align: left; }

  .sbb-form .field.full { grid-column: auto; }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }
}
