/*
Theme Name: Roxanne Grant Studios
Theme URI: https://roxannegrantstudios.com
Author: John Roberts
Author URI: https://www.conectglobal.com/contact-us
Description: A minimalist, gallery-quality WordPress + WooCommerce theme for Roxanne Grant Studios. Clean typography, generous white space, and artwork-first design. Works out of the box with PHP templates; Elementor (free) is fully supported, and Elementor Pro is an optional add-on that unlocks Theme Builder for custom header/footer.
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: rgs-theme
Tags: e-commerce, woocommerce, elementor, minimalist, gallery, art, portfolio, custom-header, custom-logo, featured-images, full-width-template, theme-options

Roxanne Grant Studios — Fine Art. Print. Design.
A multidisciplinary Art & Design Studio theme.
*/

/* ==========================================================================
   CSS Custom Properties — RGS Brand Tokens
   ========================================================================== */

:root {
  --rgs-white: #ffffff;
  --rgs-off-white: #fafaf8;
  --rgs-footer: #3b2f2f;
  --rgs-footer-text: #ede6df;
  --rgs-accent: #b5a09a;
  --rgs-accent-dark: #7a5c52;
  --rgs-black: #1a1414;
  --rgs-muted: #7d6d66;
  --rgs-border: #e8e2de;

  --font-display: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;

  --content-width: 1280px;
  --header-height: 80px;
  --header-height-mobile: 60px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
  appearance: none;
  -webkit-appearance: none;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rgs-black);
  background-color: var(--rgs-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rgs-black);
  text-decoration: none;
  transition: color 0.35s ease;
}

a:hover {
  color: var(--rgs-accent-dark);
}

a[class*="btn"]:hover,
a[class*="button"]:hover,
a.elementor-button:hover {
  color: var(--rgs-white);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--rgs-black);
  text-wrap: balance;
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--rgs-black);
  text-wrap: balance;
}

h3, .h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.3;
  color: var(--rgs-black);
}

h4, .h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: var(--rgs-black);
}

h5, .h5 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rgs-muted);
}

h6, .h6 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--rgs-muted);
}

p {
  margin-bottom: 1.5em;
}

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.rgs-container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.rgs-section {
  padding: 100px 0;
  background-color: var(--rgs-white);
}

.rgs-section--no-pad {
  padding: 0;
}

.rgs-section--narrow {
  max-width: 680px;
  margin: 0 auto;
}

.rgs-rule {
  width: 40px;
  height: 1px;
  background: var(--rgs-border);
  border: none;
  margin: 24px auto;
}

.rgs-rule--wide {
  width: 60px;
}

.rgs-rule--left {
  margin-left: 0;
  margin-right: auto;
}

.rgs-text-center {
  text-align: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.rgs-btn,
input[type="submit"] {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 36px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  line-height: 1.5;
  position: relative;
}

.rgs-btn--primary,
input[type="submit"] {
  background-color: var(--rgs-black);
  color: var(--rgs-white);
}

.rgs-btn--primary:hover,
input[type="submit"]:hover {
  background-color: var(--rgs-accent-dark);
  color: var(--rgs-white);
  transform: translateY(-1px);
}

.rgs-btn--ghost {
  background: transparent;
  border: 1.5px solid var(--rgs-black);
  color: var(--rgs-black);
  padding: 14px 36px;
}

.rgs-btn--ghost:hover {
  background-color: var(--rgs-black);
  color: var(--rgs-white);
  transform: translateY(-1px);
}

.rgs-btn--white {
  background: transparent;
  border: 1.5px solid var(--rgs-white);
  color: var(--rgs-white);
}

.rgs-btn--white:hover {
  background-color: var(--rgs-white);
  color: var(--rgs-black);
  transform: translateY(-1px);
}

/* ==========================================================================
   Forms
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea,
select {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--rgs-black);
  background: var(--rgs-white);
  border: 1px solid var(--rgs-border);
  border-radius: 0;
  padding: 14px 18px;
  width: 100%;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  -webkit-appearance: none;
  appearance: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--rgs-black);
  outline: none;
  box-shadow: 0 1px 0 0 var(--rgs-black);
}

::placeholder {
  color: #c4bab5;
}

label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rgs-muted);
  display: block;
  margin-bottom: 8px;
}

/* ==========================================================================
   Links
   ========================================================================== */

.rgs-link {
  color: var(--rgs-black);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.35s ease;
  padding-bottom: 2px;
}

.rgs-link:hover {
  color: var(--rgs-accent-dark);
  border-bottom-color: var(--rgs-accent-dark);
}

.rgs-link--muted {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rgs-muted);
}

.rgs-link--muted:hover {
  color: var(--rgs-black);
}

.rgs-link--view-all {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rgs-black);
  border-bottom: 1px solid var(--rgs-black);
  padding-bottom: 4px;
  transition: all 0.35s ease;
}

.rgs-link--view-all:hover {
  color: var(--rgs-accent-dark);
  border-bottom-color: var(--rgs-accent-dark);
  letter-spacing: 0.14em;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

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

:focus-visible {
  outline: 2px solid var(--rgs-accent);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: var(--rgs-accent);
  color: var(--rgs-white);
}

::-moz-selection {
  background: var(--rgs-accent);
  color: var(--rgs-white);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .rgs-section {
    padding: 80px 0;
  }
}

@media (max-width: 767px) {
  .rgs-section {
    padding: 60px 0;
  }

  .rgs-container {
    padding: 0 20px;
  }
}
