    :root {
      --bg:       oklch(6% 0.008 80);
      --surface:  oklch(11% 0.01 80);
      --surface-2: oklch(14% 0.012 80);
      --fg:       oklch(93% 0.006 90);
      --fg-2:     oklch(80% 0.005 90);
      --muted:    oklch(62% 0.016 90);
      --border:   oklch(20% 0.01 80);
      --accent:   oklch(68% 0.12 95);
      --accent-soft: oklch(from var(--accent) l c h / 0.15);
      --emerald:      oklch(28% 0.05 160);
      --emerald-soft: oklch(from var(--emerald) l c h / 0.2);

      --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
      --font-body:    Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
      --font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

      --fs-h1: clamp(40px, 6vw, 72px);
      --fs-h2: clamp(28px, 3.6vw, 44px);
      --fs-h3: clamp(20px, 1.6vw, 24px);
      --fs-lead: 18px;
      --fs-body: 16px;
      --fs-meta: 13px;

      --space-2: 8px;
      --space-3: 12px;
      --space-4: 16px;
      --space-5: 20px;
      --space-6: 24px;
      --space-8: 32px;
      --space-12: 48px;
      --space-16: 64px;
      --space-20: 80px;
      --container: 1200px;
      --gutter: 24px;

      --radius: 6px;
      --radius-lg: 12px;
    }

    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    body {
      background: var(--bg);
      color: var(--fg);
      font-family: var(--font-body);
      font-size: var(--fs-body);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    img, svg { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; border: none; background: none; }
    p { text-wrap: pretty; }
    h1, h2, h3, h4 { text-wrap: balance; }

    .container {
      max-width: var(--container);
      margin-inline: auto;
      padding-inline: var(--gutter);
    }
    .section {
      padding-block: clamp(48px, 8vw, 100px);
    }

    h1, .h1 { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
    h2, .h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
    h3, .h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
    .lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 60ch; }
    .gold { color: var(--accent); }
    .section-label {
      display: inline-block;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: var(--space-3);
    }
    .section-sub {
      color: var(--muted);
      max-width: 600px;
      font-size: 15px;
    }

    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    nav {
      position: fixed; top: 0; left: 0; right: 0;
      z-index: 100;
      background: color-mix(in oklch, var(--bg) 88%, transparent);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
      padding: 16px 0;
      transition: background 0.3s;
    }
    nav .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo {
      display: flex;
      align-items: center;
    }
    .logo img {
      height: 48px;
      width: auto;
      display: block;
      margin-right: 12px;
    }
    .logo-text {
      display: flex;
      flex-direction: column;
      line-height: 1.15;
    }
    .logo-name {
      font-family: var(--font-display);
      font-size: 1.05rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      color: var(--fg);
    }
    .logo-sub {
      font-family: var(--font-body);
      font-size: 0.72rem;
      color: var(--muted);
      letter-spacing: 0.06em;
    }
    .nav-links {
      display: flex;
      gap: var(--space-8);
      align-items: center;
    }
    .nav-links a {
      color: var(--muted);
      font-size: 13px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      transition: color 0.3s;
      position: relative;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px; left: 0;
      width: 0; height: 1px;
      background: var(--accent);
      transition: width 0.3s;
    }
    .nav-links a:hover { color: var(--accent); }
    .nav-links a:hover::after { width: 100%; }
    .nav-cta {
      padding: 10px 24px;
      border: 1px solid var(--accent);
      color: var(--accent);
      font-size: 12px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      transition: all 0.3s;
      border-radius: var(--radius);
    }
    .nav-cta:hover {
      background: var(--accent);
      color: var(--bg);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      padding: 4px;
      z-index: 110;
    }
    .hamburger span {
      display: block;
      width: 24px; height: 2px;
      background: var(--fg);
      transition: all 0.3s;
      border-radius: 1px;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(160deg, color-mix(in oklch, var(--bg) 88%, transparent) 0%, color-mix(in oklch, var(--bg) 50%, transparent) 60%, color-mix(in oklch, var(--bg) 30%, transparent) 100%);
    }
    .hero-bg {
      position: absolute; inset: 0;
      z-index: -2;
    }
    .hero-bg img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
    }
    .hero-bg::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(to top, color-mix(in oklch, var(--bg) 70%, transparent) 0%, color-mix(in oklch, var(--bg) 20%, transparent) 50%, transparent 80%);
      z-index: 1;
    }
    .hero-grid {
      position: absolute; inset: 0;
      background:
        repeating-linear-gradient(0deg, transparent, transparent 48px, color-mix(in oklch, var(--accent) 2%, transparent) 48px, color-mix(in oklch, var(--accent) 2%, transparent) 49px),
        repeating-linear-gradient(90deg, transparent, transparent 48px, color-mix(in oklch, var(--accent) 2%, transparent) 48px, color-mix(in oklch, var(--accent) 2%, transparent) 49px);
      pointer-events: none;
      z-index: -1;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 720px;
    }
    .hero-tag {
      display: inline-block;
      padding: 6px 18px;
      border: 1px solid var(--accent);
      color: var(--accent);
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      font-family: var(--font-mono);
      margin-bottom: var(--space-6);
      border-radius: var(--radius);
    }
    .hero h1 { margin-bottom: var(--space-5); }
    .hero p {
      color: var(--muted);
      font-size: 1.1rem;
      margin-bottom: var(--space-8);
      max-width: 520px;
    }
    .hero-actions {
      display: flex;
      gap: var(--space-4);
      flex-wrap: wrap;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      padding: 14px 36px;
      font-size: 13px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      transition: all 0.3s;
      border-radius: var(--radius);
    }
    .btn-primary {
      background: var(--accent);
      color: var(--bg);
      border: 1px solid var(--accent);
    }
    .btn-primary:hover {
      background: color-mix(in oklch, var(--accent) 88%, white);
    }
    .btn-outline {
      background: transparent;
      color: var(--fg);
      border: 1px solid var(--border);
    }
    .btn-outline:hover {
      border-color: var(--accent);
      color: var(--accent);
    }
    .btn-gold {
      background: var(--accent);
      color: var(--bg);
      border: 1px solid var(--accent);
    }
    .btn-gold:hover {
      background: color-mix(in oklch, var(--accent) 88%, white);
    }
    .hero-scroll {
      position: absolute;
      bottom: 36px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      color: var(--muted);
      font-size: 10px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      font-family: var(--font-mono);
      opacity: 0.5;
    }
    .hero-scroll-line {
      width: 1px;
      height: 32px;
      background: var(--muted);
      animation: scroll-pulse 2.5s ease-in-out infinite;
    }
    @keyframes scroll-pulse {
      0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
      50% { opacity: 1; transform: scaleY(1); }
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: var(--space-5);
      margin-top: var(--space-12);
    }
    .service-card {
      background: var(--surface);
      border: 1px solid var(--border);
      padding: var(--space-8) var(--space-6);
      transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
      border-radius: var(--radius-lg);
    }
    .service-card:hover {
      border-color: var(--accent);
      transform: translateY(-3px);
      box-shadow: 0 20px 40px color-mix(in oklch, var(--bg) 30%, transparent);
    }
    .service-icon {
      width: 40px; height: 40px;
      margin-bottom: var(--space-5);
      color: var(--accent);
    }
    .service-icon svg { width: 100%; height: 100%; }
    .service-card h3 {
      margin-bottom: var(--space-3);
      font-size: 1.1rem;
    }
    .service-card p {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.55;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-4);
      margin-top: var(--space-12);
    }
    @media (max-width: 700px) {
      .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 480px) {
      .gallery-grid { grid-template-columns: 1fr; }
    }
    .gallery-item {
      aspect-ratio: 4 / 3;
      background: var(--surface-2);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-family: var(--font-mono);
      cursor: pointer;
      transition: border-color 0.3s, transform 0.3s;
      border-radius: var(--radius-lg);
      overflow: hidden;
      position: relative;
    }
    .gallery-item::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(to top, color-mix(in oklch, var(--bg) 40%, transparent), transparent);
      opacity: 0;
      transition: opacity 0.3s;
    }
    .gallery-item:hover {
      border-color: var(--accent);
      transform: scale(1.02);
    }
    .gallery-item:hover::before { opacity: 1; }
    .gallery-item-label {
      position: relative;
      z-index: 1;
    }
    .gallery-expand {
      position: absolute;
      bottom: 12px; right: 12px;
      width: 28px; height: 28px;
      background: var(--accent);
      color: var(--bg);
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-size: 14px;
      opacity: 0;
      transform: translateY(4px);
      transition: opacity 0.3s, transform 0.3s;
    }
    .gallery-item:hover .gallery-expand {
      opacity: 1;
      transform: translateY(0);
    }

    .lightbox {
      position: fixed; inset: 0;
      z-index: 200;
      background: color-mix(in oklch, var(--bg) 92%, transparent);
      backdrop-filter: blur(8px);
      display: grid;
      place-items: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }
    .lightbox.open {
      opacity: 1;
      pointer-events: all;
    }
    .lightbox-inner {
      width: 90vw;
      max-width: 800px;
      aspect-ratio: 4 / 3;
      background: var(--surface-2);
      border: 1px solid var(--accent);
      border-radius: var(--radius-lg);
      display: grid;
      place-items: center;
      color: var(--muted);
      font-family: var(--font-mono);
      font-size: 14px;
    }
    .lightbox-close {
      position: absolute;
      top: 24px; right: 24px;
      width: 44px; height: 44px;
      color: var(--fg);
      font-size: 28px;
      display: grid;
      place-items: center;
      border: 1px solid var(--border);
      border-radius: 50%;
      transition: border-color 0.3s, color 0.3s;
    }
    .lightbox-close:hover { border-color: var(--accent); color: var(--accent); }

    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: var(--space-5);
      margin-top: var(--space-12);
    }
    .testimonial {
      background: var(--surface);
      border: 1px solid var(--border);
      padding: var(--space-8) var(--space-6);
      border-radius: var(--radius-lg);
      position: relative;
    }
    .testimonial-mark {
      font-family: var(--font-display);
      font-size: 64px;
      line-height: 0.6;
      color: var(--accent);
      opacity: 0.15;
      margin-bottom: var(--space-4);
    }
    .testimonial-text {
      font-size: 15px;
      font-style: italic;
      color: var(--fg-2);
      margin-bottom: var(--space-5);
      line-height: 1.6;
    }
    .testimonial-author {
      font-size: 13px;
      color: var(--accent);
      letter-spacing: 0.04em;
    }
    .testimonial-author span {
      color: var(--muted);
      font-weight: 400;
    }

    .contact-wrap {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: var(--space-16);
      margin-top: var(--space-12);
      align-items: start;
    }
    @media (max-width: 700px) {
      .contact-wrap { grid-template-columns: 1fr; gap: var(--space-8); }
    }
    .contact-info-item {
      margin-bottom: var(--space-6);
    }
    .contact-info-item:last-child { margin-bottom: 0; }
    .contact-info-item .label {
      color: var(--accent);
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      font-family: var(--font-mono);
      margin-bottom: var(--space-2);
    }
    .contact-info-item p {
      color: var(--fg-2);
      font-size: 15px;
    }
    .contact-info-item a {
      color: var(--accent);
      transition: opacity 0.3s;
    }
    .contact-info-item a:hover { opacity: 0.7; }
    .contact-form {
      display: flex;
      flex-direction: column;
      gap: var(--space-4);
    }
    .form-field {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .form-field input,
    .form-field textarea {
      width: 100%;
      padding: 14px 16px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      color: var(--fg);
      font-family: var(--font-body);
      font-size: 15px;
      transition: border-color 0.3s, box-shadow 0.3s;
    }
    .form-field input:focus,
    .form-field textarea:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-soft);
    }
    .form-field input.error,
    .form-field textarea.error {
      border-color: oklch(55% 0.15 30);
    }
    .form-field .error-msg {
      font-size: 12px;
      color: oklch(55% 0.15 30);
      display: none;
    }
    .form-field .error-msg.show { display: block; }
    .form-field textarea {
      min-height: 120px;
      resize: vertical;
    }
    .contact-form .btn {
      width: 100%;
      justify-content: center;
      padding-block: 16px;
    }
    .form-success {
      display: none;
      padding: var(--space-6);
      background: var(--emerald);
      border: 1px solid var(--accent);
      border-radius: var(--radius-lg);
      color: var(--fg);
      text-align: center;
    }
    .form-success.show { display: block; }

    footer {
      padding: var(--space-12) 0;
      border-top: 1px solid var(--border);
    }
    footer .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: var(--space-4);
    }
    footer p {
      color: var(--muted);
      font-size: 13px;
    }
    footer a { color: var(--accent); }
    footer a:hover { opacity: 0.7; }

    .modal-overlay {
      position: fixed; inset: 0;
      z-index: 300;
      background: color-mix(in oklch, var(--bg) 92%, transparent);
      backdrop-filter: blur(6px);
      display: grid;
      place-items: center;
      padding: var(--space-4);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s ease;
    }
    .modal-overlay.open {
      opacity: 1;
      pointer-events: all;
    }
    .modal {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      max-width: 560px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      padding: var(--space-8) var(--space-6);
      position: relative;
      transform: translateY(16px) scale(0.97);
      transition: transform 0.35s var(--ease-standard, ease);
    }
    .modal-overlay.open .modal {
      transform: translateY(0) scale(1);
    }
    .modal-close {
      position: absolute;
      top: var(--space-4); right: var(--space-4);
      width: 36px; height: 36px;
      display: grid;
      place-items: center;
      color: var(--muted);
      border: 1px solid var(--border);
      border-radius: 50%;
      font-size: 18px;
      transition: border-color 0.3s, color 0.3s;
    }
    .modal-close:hover { border-color: var(--accent); color: var(--accent); }
    .modal h2 {
      font-size: 1.6rem;
      margin-bottom: var(--space-3);
    }
    .modal .section-sub {
      margin-bottom: var(--space-6);
    }
    .modal .contact-form { display: flex; flex-direction: column; gap: var(--space-4); }
    .modal .form-field {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .modal .form-field input,
    .modal .form-field textarea,
    .modal .form-field select {
      width: 100%;
      padding: 14px 16px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      color: var(--fg);
      font-family: var(--font-body);
      font-size: 15px;
      transition: border-color 0.3s, box-shadow 0.3s;
    }
    .modal .form-field select {
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23796f91' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      cursor: pointer;
    }
    .modal .form-field input:focus,
    .modal .form-field textarea:focus,
    .modal .form-field select:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-soft);
    }
    .modal .form-field input.error,
    .modal .form-field textarea.error,
    .modal .form-field select.error {
      border-color: oklch(55% 0.15 30);
    }
    .modal .form-field .error-msg {
      font-size: 12px;
      color: oklch(55% 0.15 30);
      display: none;
    }
    .modal .form-field .error-msg.show { display: block; }
    .modal .form-field textarea { min-height: 110px; resize: vertical; }
    .modal .btn-gold { width: 100%; justify-content: center; padding-block: 16px; }
    .modal .form-success {
      display: none;
      padding: var(--space-8) var(--space-4);
      background: color-mix(in oklch, var(--accent) 8%, transparent);
      border: 1px solid var(--accent);
      border-radius: var(--radius-lg);
      text-align: center;
    }
    .modal .form-success.show { display: block; }
    .modal .form-success p { font-size: 15px; color: var(--fg-2); line-height: 1.6; }
    .modal .form-success strong { color: var(--accent); }

    .back-top {
      position: fixed;
      bottom: 32px; right: 32px;
      z-index: 50;
      width: 44px; height: 44px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: var(--muted);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s, border-color 0.3s, transform 0.3s;
      transform: translateY(8px);
    }
    .back-top.visible {
      opacity: 1;
      pointer-events: all;
      transform: translateY(0);
    }
    .back-top:hover {
      border-color: var(--accent);
      color: var(--accent);
    }
    .back-top svg { width: 18px; height: 18px; }

    @media (max-width: 920px) {
      :root { --gutter: 20px; }
      .services-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 700px) {
      .hamburger { display: flex; }
      .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--surface);
        border-left: 1px solid var(--border);
        flex-direction: column;
        padding: 80px var(--space-8) var(--space-8);
        gap: var(--space-2);
        transition: right 0.35s ease;
        z-index: 105;
      }
      .nav-links.open { right: 0; }
      .nav-links a {
        font-size: 14px;
        padding: var(--space-3) 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
      }
      .nav-cta {
        margin-top: var(--space-4);
        width: 100%;
        text-align: center;
      }
      .hero { min-height: 80vh; align-items: flex-end; padding-bottom: 40px; }
      .hero h1 { font-size: clamp(32px, 8vw, 44px); }
      .hero p { font-size: 1rem; }
      .hero-actions { flex-direction: column; }
      .hero-actions .btn { width: 100%; justify-content: center; }
      .hero-scroll { display: none; }
      .services-grid { grid-template-columns: 1fr; }
      .service-card { padding: var(--space-6) var(--space-5); }
      .testimonials-grid { grid-template-columns: 1fr; }
      .gallery-grid { grid-template-columns: repeat(2, 1fr); }
      .back-top { bottom: 16px; right: 16px; }
    }
    @media (max-width: 480px) {
      .gallery-grid { grid-template-columns: 1fr; }
      .container { padding-inline: 16px; }
      footer .container { flex-direction: column; text-align: center; }
    }

/* ═══════════════════════════════════════════
   WordPress-specific additions
═══════════════════════════════════════════ */

/* Custom logo */
.logo .custom-logo-link {
  display: flex;
  align-items: center;
}
.logo .custom-logo {
  height: 48px;
  width: auto;
  display: block;
  margin-right: 12px;
}

/* Interior page title bar */
.page-title-bar {
  padding: 120px 0 60px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.page-title-bar .page-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.page-title-bar h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
}

/* Interior content area */
.interior-content {
  padding: clamp(48px, 8vw, 100px) 0;
}
.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-8);
  max-width: 800px;
  margin: 0 auto;
}
.content-card h1,
.content-card h2,
.content-card h3,
.content-card h4 {
  font-family: var(--font-display);
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
  line-height: 1.2;
}
.content-card h1:first-child,
.content-card h2:first-child { margin-top: 0; }
.content-card p {
  color: var(--fg-2);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}
.content-card a { color: var(--accent); transition: opacity 0.3s; }
.content-card a:hover { opacity: 0.8; }
.content-card ul,
.content-card ol {
  padding-left: 20px;
  margin-bottom: var(--space-4);
  color: var(--fg-2);
}
.content-card li { margin-bottom: var(--space-2); line-height: 1.6; }
.content-card img { border-radius: var(--radius); margin-block: var(--space-6); }
.content-card blockquote {
  border-left: 3px solid var(--accent);
  padding-left: var(--space-5);
  color: var(--muted);
  font-style: italic;
  margin-block: var(--space-6);
}

/* Post navigation (single.php) */
.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-8);
  gap: var(--space-4);
  flex-wrap: wrap;
}
.post-navigation a {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: border-color 0.3s, color 0.3s;
}
.post-navigation a:hover { border-color: var(--accent); }

/* Archive grid (archive.php) */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-12);
}
.archive-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color 0.3s, transform 0.3s;
}
.archive-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.archive-card .post-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.archive-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: var(--space-3);
}
.archive-card h3 a { color: var(--fg); transition: color 0.3s; }
.archive-card h3 a:hover { color: var(--accent); }
.archive-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: var(--space-4);
}
.archive-card .read-more {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.3s;
}
.archive-card .read-more:hover { opacity: 0.7; }

/* 404 page */
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-404-inner { max-width: 500px; }
.error-404 .error-num {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-4);
}
.error-404 h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: var(--space-4);
}
.error-404 p {
  color: var(--muted);
  margin-bottom: var(--space-8);
}

/* Contact Form 7 styling inside modal */
.wpcf7-form p { margin: 0; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; margin-bottom: var(--space-4); }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.wpcf7-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23796f91' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.wpcf7-form textarea { min-height: 110px; resize: vertical; }
.wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 16px 36px;
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  font-family: var(--font-body);
}
.wpcf7-form input[type="submit"]:hover {
  background: color-mix(in oklch, var(--accent) 88%, white);
}
.wpcf7-response-output {
  margin-top: var(--space-4) !important;
  padding: var(--space-4) !important;
  border-radius: var(--radius) !important;
  font-size: 14px;
  text-align: center;
}
.wpcf7-mail-sent-ok {
  background: var(--emerald) !important;
  border: 1px solid var(--accent) !important;
  color: var(--fg) !important;
}
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  background: color-mix(in oklch, oklch(55% 0.15 30) 15%, transparent) !important;
  border: 1px solid oklch(55% 0.15 30) !important;
  color: var(--fg) !important;
}
.wpcf7-not-valid-tip {
  color: oklch(55% 0.15 30);
  font-size: 12px;
  margin-top: 4px;
}
