/*
Theme Name: Capture Me
Theme URI: https://tharukanugegodage.com/
Author: Tharuka Priyadarshana
Author URI: https://tharukanugegodage.com/
Description: Premium cinematic photography WordPress theme with modern animations and a luxury portfolio system. Built for Tharuka Nugegodage Photography. Features custom post types for Portfolio, Services, Testimonials and Albums, a full theme customizer, AJAX portfolio filtering, password-protected client galleries, and an editorial black & white aesthetic.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: capture-me
Tags: photography, portfolio, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, translation-ready, threaded-comments
*/

/* ==========================================================================
   Capture Me — Design Tokens
   The heavy lifting lives in assets/css/main.css (enqueued separately).
   This file holds the required theme header + CSS custom properties so the
   palette can be overridden by the Customizer via inline styles.
   ========================================================================== */

:root {
    /* Core editorial monochrome palette */
    --cm-black: #0a0a0a;
    --cm-ink: #141414;
    --cm-graphite: #1d1d1d;
    --cm-smoke: #2a2a2a;
    --cm-mist: #8a8a8a;
    --cm-paper: #f5f3ef;
    --cm-white: #ffffff;

    /* Single restrained accent — champagne bronze */
    --cm-accent: #c9a55c;
    --cm-accent-soft: rgba(201, 165, 92, 0.14);

    /* Typography */
    --cm-font-display: "Playfair Display", Georgia, serif;
    --cm-font-body: "Inter", system-ui, -apple-system, sans-serif;
    --cm-font-label: "Montserrat", "Inter", sans-serif;

    /* Rhythm */
    --cm-maxw: 1440px;
    --cm-gutter: clamp(1.25rem, 4vw, 5rem);
    --cm-radius: 2px;

    /* Motion */
    --cm-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --cm-ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --cm-dur: 0.7s;
}

/* WordPress required core classes (alignment, captions, screen-reader) */
.alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1100px; }
.alignfull { max-width: 100%; }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-family: var(--cm-font-label); font-size: 0.8rem; color: var(--cm-mist); padding-top: 0.5rem; }
.sticky { display: block; }
.gallery-caption { display: block; }
.bypostauthor { display: block; }

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #111;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
