/*
Theme Name: Paléocharente
Description: A private editorial block-theme study for Association Paléocharente. Native editable sections, paleontology imagery and locally hosted fonts.
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 7.4
Author: Paléocharente Studio
Text Domain: paleocharente
License: GPL-2.0-or-later
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, wide-blocks
*/

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
:where(a, button, summary, input):focus-visible { outline: 3px solid #A57959; outline-offset: 5px; }
:where(main, section, [id]) { scroll-margin-top: 2rem; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > *, .pc-home > *, .pc-home { margin-block-start: 0; }
.pc-container { width: min(1280px, calc(100% - 80px)); margin-inline: auto !important; }
.pc-section { padding-block: 54px; }
.pc-association-layout > *, .pc-missions > *, .pc-progress-layout > *, .pc-stories > *, .pc-photo-tiles > *, .pc-editorial-details > *, .pc-journal-layout > *, .pc-support-options > * { margin-block: 0; }
.pc-eyebrow { font-family: Inter, Arial, sans-serif; font-size: 10px; font-weight: 500; letter-spacing: .13em; line-height: 1.6; text-transform: uppercase; }
.pc-caption, .pc-draft-note { color: #676A60; font-family: Inter, Arial, sans-serif; font-size: 12px; line-height: 1.6; }
.pc-text-link { font-family: Inter, Arial, sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.7; }
.pc-text-link a { text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 3px; }
.pc-text-link a:hover { border-color: currentColor; }
.pc-text-link span { margin-inline-start: 10px; }
.wp-block-button__link span { margin-inline-start: 12px; }
.wp-block-button__link { transition: background-color .18s ease, color .18s ease; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #334D3E; color: #FFFCF6; }
.is-style-outline > .wp-block-button__link { border-width: 1px; }

/* The original supplied logo file is displayed without modifying its pixels. */
.pc-site-header { background: #FFFCF6; border-bottom: 1px solid #E3DFD5; }
.pc-header-inner { gap: 38px; padding-block: 12px; min-height: 120px; }
.pc-logo { width: 180px; flex: 0 0 180px; }
.pc-logo img { display: block; width: 100% !important; height: auto; mix-blend-mode: multiply; }
.pc-navigation { font-family: Inter, Arial, sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .045em; text-transform: uppercase; }
.pc-navigation .wp-block-navigation__container { gap: clamp(15px, 2.3vw, 34px); }
.pc-navigation .wp-block-navigation-item__content { text-decoration: none; }
.pc-navigation .wp-block-navigation-item__content:hover { text-decoration: underline; text-underline-offset: 5px; }
.pc-nav-donate .wp-block-navigation-item__content { padding: 13px 18px; background: #1D3028; color: #FFFCF6; border-radius: 3px; text-align: center; }
.pc-nav-donate .wp-block-navigation-item__content:hover { background: #334D3E; text-decoration: none; color: #FFFCF6; }

/* Full-width photographic opening, with live editable text. */
.pc-hero { padding: 42px 0; color: #1D3028; }
.pc-hero > .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(255,252,246,.95) 0%, rgba(255,252,246,.83) 25%, rgba(255,252,246,.07) 60%, transparent 100%) !important; }
.pc-hero > .wp-block-cover__inner-container { width: 100%; }
.pc-hero .pc-hero-copy { width: min(420px, 45%); }
.pc-hero .pc-hero-title { font-family: 'Cormorant Garamond', Georgia, serif; color: #1D3028; font-weight: 500; font-size: clamp(64px, 6.3vw, 92px); line-height: .92; letter-spacing: -.025em; margin-block: 18px 26px; }
.pc-hero-intro { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; line-height: 1.28; max-width: 330px; margin-bottom: 26px; }
.pc-hero-eyebrow { color: #1D3028; }

/* Association statement and four restrained mission columns. */
.pc-association { padding-block: 40px; }
.pc-association-layout { display: grid; grid-template-columns: 1fr 1.7fr; gap: 56px; align-items: center; }
.pc-association-copy > :first-child { margin-top: 0; }
.pc-association-copy p:not(.pc-eyebrow):not(.pc-text-link) { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; line-height: 1.3; }
.pc-association-name { font-size: 38px; margin-top: 4px; margin-bottom: 18px; }
.pc-missions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pc-mission { text-align: center; padding: 8px 18px; border-left: 1px solid #CECABE; }
.pc-mission h3 { font-size: 27px; margin-block: 12px 8px; }
.pc-mission p { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 17px; line-height: 1.3; margin-top: 0; }
.pc-mission-icon img { width: 43px; height: 43px; }

/* Fossil feature retains the dark editorial treatment of the approved mockup. */
.pc-fossil-feature { padding: 54px 0; color: #FFFCF6; }
.pc-fossil-feature > .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(14,22,17,.88) 0%, rgba(14,22,17,.65) 32%, rgba(14,22,17,.05) 75%) !important; }
.pc-fossil-feature h2, .pc-fossil-feature a { color: #FFFCF6; }
.pc-feature-copy { width: min(450px, 48%); }
.pc-feature-title { font-size: clamp(42px, 4.5vw, 62px); margin-block: 14px 24px; }
.pc-feature-copy p:not(.pc-eyebrow) { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 21px; line-height: 1.35; max-width: 390px; }
.pc-fossil-feature .wp-block-button__link { color: #FFFCF6; }

/* Annual archive structure and real thematic links, without invented findings. */
.pc-progress-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
.pc-section-top { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.pc-section-title { font-size: 29px; margin: 0; }
.pc-section-top .pc-text-link { margin: 0; font-size: 10px; flex-shrink: 0; }
.pc-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.pc-card-photo img { width: 100%; aspect-ratio: 1.65; object-fit: cover; display: block; }
.pc-story-card:nth-child(1) .pc-card-photo img { object-position: 73% 55%; }
.pc-story-card:nth-child(2) .pc-card-photo img { object-position: 78% 50%; }
.pc-story-card .pc-eyebrow { margin-block: 13px 6px; font-size: 9px; }
.pc-card-title { font-size: 25px; line-height: 1.12; margin-block: 0 12px; }
.pc-card-title a { text-decoration: none; }
.pc-card-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pc-story-card .pc-text-link { margin-top: 0; font-size: 10px; }
.pc-donation-panel { border-left: 1px solid #CECABE; padding: 28px; background: #ECE8DE; margin: 0 !important; }
.pc-donation-panel > :first-child { margin-top: 0; }
.pc-donation-panel h2 { font-size: 40px; margin-block: 14px 24px; }
.pc-donation-panel p:not(.pc-eyebrow):not(.pc-support-signoff) { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; line-height: 1.35; }
.pc-donation-panel .pc-support-list { font-size: 17px !important; }
.pc-support-signoff { border-top: 1px solid #C8C6B9; padding-top: 24px; font-size: 12px; line-height: 1.5; margin-top: 32px; }
.pc-campaigns { margin-top: 30px; border-top: 1px solid #CECABE; padding-top: 15px; }
.pc-campaigns > .pc-eyebrow { margin-bottom: 8px; }
.pc-year { padding-block: 11px; border-bottom: 1px solid #D6D1C6; font-size: 14px; }
.pc-year summary { cursor: pointer; font-family: Inter, Arial, sans-serif; font-size: 13px; font-weight: 500; }
.pc-year p { font-size: 14px; max-width: 650px; }
.pc-campaigns .pc-draft-note { font-size: 11px; margin-bottom: 0; }

/* Three immersive entry points, with accessible native disclosure sections. */
.pc-photo-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.pc-photo-tile { padding: 30px; align-items: flex-end; color: #FFFCF6; }
.pc-photo-tile > .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(180deg, transparent, rgba(13,22,17,.84)) !important; }
.pc-photo-tile h2, .pc-photo-tile a { color: #FFFCF6; }
.pc-photo-tile .pc-eyebrow { margin-bottom: 8px; font-size: 10px; }
.pc-photo-tile h2 { font-size: clamp(26px, 2.4vw, 36px); margin-block: 0 18px; line-height: 1.1; }
.pc-photo-tile .pc-text-link { font-size: 10px; margin-bottom: 0; }
.pc-photo-tile .pc-text-link a { border-color: rgba(255,252,246,.55); }
.pc-knowledge { padding-block: 20px; }
.pc-editorial-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pc-editorial-detail summary { font-size: 13px; cursor: pointer; padding-block: 10px; }
.pc-editorial-detail p { font-size: 14px; line-height: 1.65; }

/* Journal and reserved shop area. */
.pc-journal { padding-block: 48px; }
.pc-journal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.pc-journal-layout h2 { font-size: 36px; margin-block: 8px 20px; }
.pc-journal-layout p:not(.pc-eyebrow):not(.pc-text-link):not(.pc-caption) { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; line-height: 1.35; max-width: 430px; }
.pc-shop { border-left: 1px solid #CECABE; padding-left: 50px; }
.pc-mazan > :first-child, .pc-shop > :first-child { margin-top: 0; }

/* Contribution concepts only: there is deliberately no checkout or form. */
.pc-support { background: #E9E6DA; border-top: 1px solid #D4D0C4; padding-block: 50px; }
.pc-support-heading { max-width: 640px; }
.pc-support-heading h2 { font-size: clamp(38px, 4vw, 54px); margin-block: 12px 24px; }
.pc-support-heading p:not(.pc-eyebrow) { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 23px; }
.pc-support-options { display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px; margin-block: 30px 22px; }
.pc-support-option { border-bottom: 1px solid #C2C3B4; padding-block: 18px; margin-top: 0 !important; }
.pc-support-option summary { cursor: pointer; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; font-weight: 500; }
.pc-support-option p { max-width: 520px; font-size: 14px; }
.pc-support .pc-draft-note { max-width: 700px; }

.pc-site-footer { padding-block: 35px; background: #1D3028; color: #FFFCF6; margin-top: 0; }
.pc-footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.pc-footer-name { color: #FFFCF6; font-size: 33px; margin: 0; }
.pc-footer-tagline { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; margin-block: 6px 16px; }
.pc-footer-note { color: #D0D5CA; font-size: 10px; line-height: 1.7; max-width: 650px; }
.pc-footer-links { font-size: 11px; text-align: right; }
.pc-site-footer a { color: #FFFCF6; text-underline-offset: 4px; }
.pc-footer-links .pc-text-link { margin-top: 0; }
.pc-article { padding-block: 65px; min-height: 65vh; }
.pc-article h1 { font-size: clamp(42px, 5vw, 72px); }
.pc-article .wp-block-post-content { margin-top: 35px; }
.pc-post-navigation { display: flex; justify-content: space-between; padding-top: 40px; border-top: 1px solid #CECABE; margin-top: 40px; }
.pc-post-grid .wp-block-post-title { font-size: 32px; }

@media (max-width: 1100px) {
  .pc-container { width: calc(100% - 48px); }
  .pc-header-inner { gap: 20px; }
  .pc-logo { width: 155px; flex-basis: 155px; }
  .pc-navigation { font-size: 10px; }
  .pc-navigation .wp-block-navigation__container { gap: 17px; }
  .pc-association-layout { gap: 30px; grid-template-columns: 1fr 1.5fr; }
  .pc-mission { padding-inline: 11px; }
  .pc-progress-layout { grid-template-columns: minmax(0, 1fr) 245px; gap: 25px; }
  .pc-donation-panel { padding: 22px; }
  .pc-section-top { display: block; }
  .pc-section-top .pc-text-link { margin-top: 10px; }
}
@media (max-width: 900px) {
  .pc-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .pc-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; padding: 15px; }
  .pc-navigation .wp-block-navigation__responsive-container.is-menu-open { display: flex !important; background: #FFFCF6; padding: 28px; }
  .pc-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 25px; align-items: flex-start; font-size: 15px; }
  .pc-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 60px; align-items: flex-start; }
  .pc-navigation .wp-block-navigation__responsive-container-close { padding: 12px; }
  .pc-association-layout { grid-template-columns: 1fr; gap: 30px; }
  .pc-association-copy { max-width: 650px; }
  .pc-mission:first-child { border-left: 0; }
  .pc-progress-layout { grid-template-columns: 1fr; }
  .pc-donation-panel { border-left: 0; padding: 28px; }
  .pc-donation-panel h2 br { display: none; }
  .pc-photo-tile { padding: 22px; }
  .pc-photo-tile h2 { font-size: 27px; }
  .pc-editorial-details { gap: 20px; }
}
@media (max-width: 600px) {
  .pc-container { width: calc(100% - 40px); }
  .pc-section { padding-block: 36px; }
  .pc-header-inner { min-height: 95px; padding-block: 7px; }
  .pc-logo { width: 132px; flex-basis: 132px; }
  .pc-hero { min-height: 660px !important; align-items: flex-start; padding-top: 28px; }
  .pc-hero > .wp-block-cover__image-background { object-position: 65% 50%; }
  .pc-hero > .wp-block-cover__background { background: linear-gradient(180deg, rgba(255,252,246,.98) 0%, rgba(255,252,246,.91) 40%, rgba(255,252,246,.15) 78%, transparent 100%) !important; }
  .pc-hero .pc-hero-copy { width: 100%; max-width: 360px; }
  .pc-hero .pc-hero-title { font-size: clamp(50px, 14vw, 64px); line-height: .95; margin-top: 16px; margin-bottom: 22px; }
  .pc-hero-eyebrow { font-size: 9px; }
  .pc-hero-intro { font-size: 21px; max-width: 290px; margin-bottom: 23px; }
  .pc-missions { grid-template-columns: 1fr 1fr; row-gap: 25px; }
  .pc-mission:nth-child(3) { border-left: 0; }
  .pc-association-name { font-size: 36px; }
  .pc-fossil-feature { min-height: 470px !important; padding-block: 40px; }
  .pc-fossil-feature > .wp-block-cover__background { background: linear-gradient(90deg, rgba(14,22,17,.90), rgba(14,22,17,.64)) !important; }
  .pc-feature-copy { width: 100%; max-width: 370px; }
  .pc-feature-title { font-size: 45px; }
  .pc-feature-copy p:not(.pc-eyebrow) { font-size: 21px; }
  .pc-stories { grid-template-columns: 1fr; gap: 27px; }
  .pc-card-photo img { aspect-ratio: 1.8; }
  .pc-card-title { font-size: 28px; max-width: 360px; }
  .pc-section-title { font-size: 33px; }
  .pc-photo-tiles { grid-template-columns: 1fr; gap: 3px; }
  .pc-photo-tile { min-height: 315px !important; padding: 28px 22px; }
  .pc-photo-tile h2 { font-size: 34px; }
  .pc-editorial-details { grid-template-columns: 1fr; gap: 0; }
  .pc-editorial-detail { border-bottom: 1px solid #D6D1C6; padding-block: 5px; }
  .pc-journal-layout { grid-template-columns: 1fr; gap: 26px; }
  .pc-shop { border-left: 0; border-top: 1px solid #CECABE; padding: 27px 0 0; }
  .pc-support-options { grid-template-columns: 1fr; gap: 0; }
  .pc-support-heading h2 { font-size: 43px; }
  .pc-support-heading h2 br { display: none; }
  .pc-footer-inner { flex-direction: column; gap: 25px; }
  .pc-footer-links { text-align: left; }
  .pc-article { padding-block: 35px; }
  .pc-post-grid { grid-template-columns: 1fr !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
