/* ============================================================
   GLOBAL — Reset, root tokens, base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:root {
  --color-bg: #1A1A18;
  --color-bg-secondary: #111110;
  --color-bg-tertiary: #0E0E0C;
  --color-text: #F0EDE8;
  --color-text-secondary: rgba(240,237,232,0.55);
  --color-text-tertiary: rgba(240,237,232,0.35);
  --color-accent: #A89880;
  --color-border: rgba(240,237,232,0.08);
  --color-border-mid: rgba(240,237,232,0.12);
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1280px;
  --padding-h: clamp(1.5rem, 5vw, 4rem);
  --section-padding: clamp(3rem, 6vw, 5rem) var(--padding-h);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   HEADER — sticky nav
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--color-border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--padding-h);
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--color-text); }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--color-text);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-outer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-h);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  max-height: 70vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem) clamp(2.5rem, 5vw, 5rem) 0;
  background: var(--color-bg);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  max-width: 360px;
}

.hero-image {
  background: var(--color-bg-tertiary);
  position: relative;
  overflow: hidden;
}

.hero-caption {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.cta-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn-primary {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  background: var(--color-text);
  color: var(--color-bg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--color-text);
  border: 0.5px solid rgba(240, 237, 232, 0.25);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s;
}

.btn-secondary:hover { border-color: rgba(240, 237, 232, 0.6); }

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
}

.section-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2rem;
  display: block;
}

.section-divider {
  height: 0.5px;
  background: var(--color-border);
  max-width: var(--max-width);
  margin: 0 auto var(--padding-h);
}

.view-all-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 0.5px solid var(--color-accent);
  padding-bottom: 2px;
  transition: opacity 0.2s;
  display: inline-block;
}

.view-all-link:hover { opacity: 0.7; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--color-bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-image {
  aspect-ratio: 4/5;
  background: var(--color-bg-tertiary);
  position: relative;
  overflow: hidden;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.about-text p {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-text-secondary);
  margin-bottom: 1.75rem;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { background: var(--color-bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: var(--color-border);
  aspect-ratio: 16/7;
  margin-bottom: 2.5rem;
}

.gallery-item {
  background: var(--color-bg-tertiary);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item:first-child { grid-row: 1 / 3; }

.gallery-item-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-item-inner { transform: scale(1.03); }

.g1 { background: linear-gradient(160deg, #2C2D3A 0%, #1A1B28 50%, #0E0E14 100%); }
.g2 { background: linear-gradient(200deg, #3D3E52 0%, #2A2B3C 100%); }
.g3 { background: linear-gradient(160deg, #1A3028 0%, #0F2018 100%); }
.g4 { background: linear-gradient(180deg, #2C2D3A 0%, #1E1F2C 100%); }

/* ============================================================
   NEWS
   ============================================================ */
.news-section { background: var(--color-bg-secondary); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--color-border);
  margin-bottom: 2.5rem;
}

.news-card {
  background: var(--color-bg-secondary);
  padding: 2rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.2s;
}

.news-card:hover { background: #161614; }

.news-date {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.news-title {
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.news-excerpt {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================================
   SIGNUP
   ============================================================ */
.signup-section {
  background: var(--color-bg-tertiary);
  border-top: 0.5px solid var(--color-border);
  border-bottom: 0.5px solid var(--color-border);
}

.signup-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.signup-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.signup-text p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.signup-form { display: flex; gap: 0; }

.signup-input {
  flex: 1;
  padding: 0.875rem 1.125rem;
  background: transparent;
  border: 0.5px solid rgba(240, 237, 232, 0.2);
  border-right: none;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
}

.signup-input:focus { border-color: rgba(240, 237, 232, 0.4); }
.signup-input::placeholder { color: var(--color-text-tertiary); }

.signup-btn {
  padding: 0.875rem 1.75rem;
  background: var(--color-text);
  color: var(--color-bg);
  border: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.signup-btn:hover { opacity: 0.85; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg);
  border-top: 0.5px solid var(--color-border);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem var(--padding-h);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.875rem;
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem var(--padding-h);
  border-top: 0.5px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  color: var(--color-text-tertiary);
  letter-spacing: 0.06em;
}

/* ============================================================
   ENTRY CONTENT — typography for the_content() pages/posts
   ============================================================ */
.entry-content h2,
.entry-content h3 {
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.entry-content h2 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 2.5rem; }
.entry-content h3 { font-size: clamp(18px, 1.8vw, 22px); margin-top: 2rem; }

.entry-content p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.entry-content li {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.entry-content a {
  color: var(--color-accent);
  border-bottom: 0.5px solid var(--color-accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.entry-content a:hover { opacity: 0.7; }

/* ============================================================
   PAGE — wrapper, breadcrumb, page header
   ============================================================ */
.page-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-h);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 0 0;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--color-text-tertiary);
}

.breadcrumb a {
  color: var(--color-text-tertiary);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--color-text-secondary); }
.breadcrumb .sep { color: rgba(240, 237, 232, 0.2); }

.page-header {
  padding: 2rem 0 3rem;
  border-bottom: 0.5px solid var(--color-border);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-header p {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 520px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  padding: var(--section-padding);
  border-top: 0.5px solid var(--color-border);
}

.faq-item {
  padding: 1.5rem 0;
  border-bottom: 0.5px solid var(--color-border);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.faq-answer {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-text-secondary);
}

/* ============================================================
   GALLERY PAGE (template-gallery.php)
   Scoped under .gallery-main so we don't collide with the
   homepage's featured-gallery section (.gallery-section).
   ============================================================ */
.gallery-main { display: block; }

.gallery-main .page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
}

.enquire-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 0.5px solid var(--color-accent);
  padding-bottom: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.enquire-link:hover { opacity: 0.7; }

.gallery-main .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  aspect-ratio: auto;
  gap: 1px;
  background: var(--color-border);
  margin: 3rem 0 0;
}

.gallery-main .gallery-item {
  background: var(--color-bg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.gallery-main .gallery-item:first-child {
  grid-row: auto;
  grid-column: auto;
  aspect-ratio: auto;
}

.gallery-item-image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gallery-main .gallery-item-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.gallery-main .gallery-item:hover .gallery-item-inner { transform: scale(1.04); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 12, 0.55);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
  pointer-events: none;
}

.gallery-main .gallery-item:hover .gallery-item-overlay { opacity: 1; }

.overlay-meta { padding: 1.25rem; width: 100%; }

.overlay-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}

.overlay-detail {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(240, 237, 232, 0.65);
}

.gallery-item-meta {
  padding: 0.875rem 0.875rem 1rem;
  border-top: 0.5px solid var(--color-border);
}

.gallery-item-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.gallery-item-detail {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(240, 237, 232, 0.4);
}

.gallery-footer {
  padding: 3rem 0 4rem;
  border-top: 0.5px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.gallery-footer p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 520px;
}

.gallery-footer a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 0.5px solid var(--color-accent);
  padding-bottom: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.gallery-footer a:hover { opacity: 0.7; }

.no-works {
  padding: 4rem 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-secondary);
}

/* ============================================================
   ABOUT PAGE (templates/template-about.php)
   Scoped under .about-main so we don't collide with the
   homepage's .about-section (which has only background).
   ============================================================ */
.about-main { display: block; }

.about-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  background-color: var(--color-bg-secondary);
  background-size: cover;
  background-position: center;
  margin-top: 1.5rem;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14, 14, 12, 0.9) 45%, rgba(14, 14, 12, 0.15) 100%);
  display: flex;
  align-items: flex-end;
}

.about-hero-content {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--padding-h) 2.5rem;
}

.about-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.about-hero-content p {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(240, 237, 232, 0.7);
}

.about-main .about-bio {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 5vw, 5rem);
  padding: clamp(3rem, 5vw, 4rem) 0;
  border-bottom: 0.5px solid var(--color-border);
  align-items: start;
}

.about-bio-image {
  aspect-ratio: 4/5;
  background: var(--color-bg-secondary);
  overflow: hidden;
  margin-top: 1rem;
}

.about-bio-text p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(240, 237, 232, 0.75);
  margin-bottom: 1.5rem;
}

.about-bio-text p:last-child { margin-bottom: 0; }

.about-main .about-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 5vw, 5rem);
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
  border-bottom: 0.5px solid var(--color-border);
  background: transparent;
  align-items: start;
}

.about-section-text p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.about-section-text p:last-child { margin-bottom: 0; }

.ex-list { list-style: none; }

.ex-list li {
  display: flex;
  gap: 1.5rem;
  padding: 0.875rem 0;
  border-bottom: 0.5px solid rgba(240, 237, 232, 0.06);
  align-items: baseline;
}

.ex-year {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  min-width: 40px;
  flex-shrink: 0;
}

.ex-detail {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.ex-title { color: var(--color-text); font-weight: 400; }

.about-cta {
  padding: 3.5rem 0 4rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ============================================================
   NEWS ARCHIVE (template-news.php / home.php)
   Scoped under .news-main so we don't collide with the
   homepage's "From the Studio" section.
   ============================================================ */
.news-main { display: block; }

.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border);
  margin: 3rem 0 4rem;
}

.news-main .news-card {
  background: var(--color-bg);
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
  transition: background 0.2s;
}

.news-main .news-card:hover { background: #1E1E1C; }

.news-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-tertiary);
}

.news-card-image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.news-main .news-card:hover .news-card-image-inner { transform: scale(1.03); }

.news-card-body {
  padding: 1.5rem;
  border-top: 0.5px solid rgba(240, 237, 232, 0.06);
}

.news-card-date {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.news-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.news-card-excerpt {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.5rem 0 3rem;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
}

.news-pagination .page-numbers {
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: 0.5rem 0.875rem;
  border: 0.5px solid var(--color-border);
  transition: color 0.2s, border-color 0.2s;
}

.news-pagination .page-numbers.current {
  color: var(--color-text);
  border-color: rgba(240, 237, 232, 0.3);
}

.news-pagination a.page-numbers:hover { color: var(--color-text); }

.no-posts {
  padding: 4rem 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-secondary);
}

/* ============================================================
   SINGLE POST (single.php)
   ============================================================ */
.single-main { display: block; }

.single-post-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 5vw, 5rem);
  padding: clamp(3rem, 5vw, 4rem) 0;
}

.single-post-meta {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  line-height: 2;
  color: var(--color-text-tertiary);
}

.single-post-meta .news-card-date { margin-bottom: 0.5rem; }

.single-post-back {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 0.5px solid var(--color-accent);
  padding-bottom: 1px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  transition: opacity 0.2s;
}

.single-post-back:hover { opacity: 0.7; }

.single-post-body h1 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.single-post-body .post-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin: 2rem 0;
  background: var(--color-bg-tertiary);
}

.single-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 0 4rem;
  border-top: 0.5px solid var(--color-border);
}

.single-post-nav a {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  font-family: var(--font-body);
}

.single-post-nav-next {
  text-align: right;
  align-items: flex-end;
}

.single-post-nav-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.single-post-nav-title {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text);
  transition: opacity 0.2s;
}

.single-post-nav a:hover .single-post-nav-title { opacity: 0.7; }

/* ============================================================
   CONTACT PAGE (templates/template-contact.php)
   ============================================================ */
.contact-main { display: block; }

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 5vw, 6rem);
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.contact-left h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.contact-left p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
}

.contact-details { list-style: none; }

.contact-details li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 0.5px solid var(--color-border);
  align-items: baseline;
}

.contact-details li:last-child {
  border-bottom: 0.5px solid var(--color-border);
}

.contact-detail-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  min-width: 80px;
  flex-shrink: 0;
}

.contact-detail-value {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text-secondary);
}

.contact-detail-value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0.5px solid rgba(240, 237, 232, 0.25);
  padding-bottom: 1px;
  transition: color 0.2s;
}

.contact-detail-value a:hover { color: var(--color-text); }

.contact-form-wrap {
  background: var(--color-bg-secondary);
  padding: 2.5rem;
}

.contact-form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-field { margin-bottom: 1.5rem; }

.contact-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.4);
}

.contact-input,
.contact-textarea,
.contact-select {
  width: 100%;
  background: transparent;
  border: 0.5px solid rgba(240, 237, 232, 0.15);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: rgba(240, 237, 232, 0.35);
}

.contact-input:focus,
.contact-textarea:focus,
.contact-select:focus {
  border-color: rgba(240, 237, 232, 0.4);
}

.contact-textarea {
  height: 140px;
  resize: vertical;
}

.contact-select {
  background: var(--color-bg-secondary);
  color: rgba(240, 237, 232, 0.6);
  appearance: none;
  -webkit-appearance: none;
}

.contact-submit {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.875rem 2.5rem;
  background: var(--color-text);
  color: var(--color-bg);
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: opacity 0.2s;
}

.contact-submit:hover { opacity: 0.85; }

/* ============================================================
   MOBILE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: auto; max-height: none; }
  .hero-content { padding: 2rem 0 2.5rem; }
  .hero-image { aspect-ratio: 4/3; order: -1; }
  .hero-caption { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image { aspect-ratio: 3/2; order: -1; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    aspect-ratio: auto;
  }
  .gallery-item:first-child {
    grid-row: auto;
    grid-column: 1 / 3;
    aspect-ratio: 3/2;
  }

  .news-grid { grid-template-columns: 1fr; }

  .signup-inner { grid-template-columns: 1fr; gap: 2rem; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .gallery-main .page-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .gallery-main .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-main .gallery-item:first-child { grid-column: auto; aspect-ratio: auto; }
  .gallery-footer { flex-direction: column; align-items: flex-start; gap: 1.5rem; }

  .about-main .about-bio { grid-template-columns: 1fr; }
  .about-main .about-section { grid-template-columns: 1fr; }
  .about-bio-image { aspect-ratio: 3/2; }

  .news-archive-grid { grid-template-columns: 1fr; }

  .single-post-grid { grid-template-columns: 1fr; }
  .single-post-nav { grid-template-columns: 1fr; gap: 1.5rem; }
  .single-post-nav-next { text-align: left; align-items: flex-start; }

  .contact-main-grid { grid-template-columns: 1fr; }
  .contact-form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .cta-group { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }

  .gallery-main .gallery-grid { grid-template-columns: 1fr; }
}
