/*
Theme Name: Angela D'Amico Personal 1.4
Theme URI: https://angeladamico.com/
Author: Angela D'Amico + ChatGPT
Author URI: https://angeladamico.com/
Description: A lightweight, text-forward personal website theme for Angela D'Amico, focused on values, projects, writing, and professional work. No page-builder dependency.
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: angela-damico-personal
Tags: portfolio, one-column, custom-logo, custom-menu, featured-images, block-styles
*/

:root {
  --adp-plum-950: #2b0f2e;
  --adp-plum-900: #3b1f3f;
  --adp-plum-700: #6b4a6e;
  --adp-plum-500: #8a6a91;
  --adp-lavender-200: #e8dff0;
  --adp-lavender-100: #f3edf7;
  --adp-offwhite: #faf7f5;
  --adp-cream: #fffdf9;
  --adp-charcoal: #24212a;
  --adp-muted: #635b6b;
  --adp-border: rgba(59, 31, 63, 0.14);
  --adp-shadow: 0 18px 45px rgba(43, 15, 46, 0.10);
  --adp-radius-xl: 32px;
  --adp-radius-lg: 22px;
  --adp-radius-md: 14px;
  --adp-container: 1180px;
  --adp-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --adp-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--adp-charcoal);
  background: var(--adp-offwhite);
  font-family: var(--adp-body);
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(rgba(107, 74, 110, 0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.34;
}
img { max-width: 100%; height: auto; }
a { color: var(--adp-plum-900); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover, a:focus { color: var(--adp-plum-700); }
p { margin: 0 0 1.1rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--adp-heading);
  color: var(--adp-plum-950);
  line-height: 1.04;
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 4.5vw, 4.35rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -0.04em; }

.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: var(--adp-cream);
  border-radius: 6px;
  box-shadow: 0 0 2px 2px rgba(43, 15, 46, 0.25);
  clip: auto !important;
  clip-path: none;
  color: var(--adp-plum-950);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 1rem;
  line-height: normal;
  padding: 0.75rem 1rem;
  text-decoration: none;
  top: 1rem;
  width: auto;
  z-index: 100000;
}

.adp-container,
.wp-block-group.alignwide,
.wp-block-group.adp-container {
  width: min(var(--adp-container), calc(100% - 44px));
  margin-inline: auto;
}
.adp-narrow { width: min(820px, calc(100% - 44px)); margin-inline: auto; }

/* Header */
.adp-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 245, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(59, 31, 63, 0.08);
}
.adp-header-inner {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.adp-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--adp-charcoal);
  text-decoration: none;
  white-space: nowrap;
}
.adp-monogram {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--adp-plum-950);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, rgba(232, 223, 240, 0.92), rgba(255, 253, 249, 0.72));
  border: 1px solid rgba(59, 31, 63, 0.16);
}
.adp-brand-text { display: flex; flex-direction: column; gap: 1px; }
.adp-site-title { font-weight: 800; line-height: 1.15; letter-spacing: -0.035em; }
.adp-site-description { color: var(--adp-muted); font-size: 0.78rem; line-height: 1.2; }
.adp-primary-nav { display: flex; align-items: center; gap: 30px; }
.adp-menu { display: flex; gap: 28px; align-items: center; margin: 0; padding: 0; list-style: none; }
.adp-menu a { text-decoration: none; color: var(--adp-charcoal); font-weight: 650; font-size: 0.96rem; }
.adp-menu a:hover, .adp-menu a:focus { color: var(--adp-plum-700); }
.adp-menu-button {
  display: none;
  border: 1px solid var(--adp-border);
  background: var(--adp-cream);
  color: var(--adp-plum-950);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  font: inherit;
  font-weight: 700;
}

.adp-button,
.wp-block-button__link,
button:not(.adp-menu-button),
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--adp-plum-900);
  padding: 0.78rem 1.35rem;
  background: var(--adp-plum-900);
  color: #fff;
  font-family: var(--adp-body);
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(43, 15, 46, 0.13);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.adp-button:hover,
.wp-block-button__link:hover,
button:not(.adp-menu-button):hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  color: #fff;
  background: var(--adp-plum-700);
  border-color: var(--adp-plum-700);
}
.adp-button.is-outline,
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--adp-plum-950); box-shadow: none; }
.adp-button.is-outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--adp-lavender-100); color: var(--adp-plum-950); border-color: var(--adp-plum-700); }

/* Page layout */
.adp-main { min-height: 68vh; }
.adp-page-shell { padding: 64px 0 84px; }
.adp-page-header { margin-bottom: 32px; }
.adp-page-kicker, .adp-kicker {
  display: inline-flex;
  gap: 0.5rem;
  color: var(--adp-plum-700);
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}
.adp-page-intro { color: var(--adp-muted); font-size: clamp(1.02rem, 1.7vw, 1.22rem); max-width: 760px; }
.adp-about-side h1 { font-size: clamp(2.35rem, 4.5vw, 4.35rem); line-height: 1.06; letter-spacing: -0.055em; max-width: 560px; }

/* Hero */
.adp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 92px);
  margin: 30px auto 0;
  border-radius: var(--adp-radius-xl);
  background:
    radial-gradient(circle at 82% 18%, rgba(232, 223, 240, 0.92) 0, rgba(232, 223, 240, 0.48) 28%, transparent 43%),
    linear-gradient(135deg, rgba(255, 253, 249, 0.95), rgba(243, 237, 247, 0.92));
  border: 1px solid rgba(59, 31, 63, 0.1);
  box-shadow: var(--adp-shadow);
}
.adp-hero::before {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -135px;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: var(--adp-plum-900);
  opacity: 0.95;
}
.adp-hero::after {
  content: '';
  position: absolute;
  right: 80px;
  top: 72px;
  width: 220px;
  height: 220px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(205, 186, 218, 0.45), rgba(205, 186, 218, 0.14));
  border: 1px solid rgba(107, 74, 110, 0.18);
}
.adp-hero-content { position: relative; z-index: 1; width: min(720px, 100%); }
.adp-hero h1 { margin-top: 1rem; font-size: clamp(2.4rem, 4.6vw, 4.15rem); max-width: 760px; }
.adp-hero p { color: #3c3544; max-width: 675px; }
.adp-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.adp-quote-card {
  position: absolute;
  z-index: 2;
  right: clamp(42px, 8vw, 130px);
  bottom: clamp(42px, 6vw, 76px);
  width: min(290px, 34vw);
  padding: 32px;
  border-radius: var(--adp-radius-lg);
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(59, 31, 63, 0.12);
  box-shadow: var(--adp-shadow);
}
.adp-quote-card p { font-size: 1.32rem; line-height: 1.28; color: var(--adp-plum-950); font-weight: 800; letter-spacing: -0.045em; margin: 0; }
.adp-quote-mark { color: var(--adp-plum-700); font-size: 2.2rem; line-height: 1; font-weight: 800; }

/* Sections */
.adp-section { padding: clamp(56px, 7vw, 86px) 0; }
.adp-section.is-soft { background: linear-gradient(180deg, rgba(232, 223, 240, 0.34), rgba(255, 253, 249, 0.52)); }
.adp-section-header { text-align: center; max-width: 800px; margin: 0 auto 34px; }
.adp-section-header p { color: var(--adp-muted); font-size: 1.08rem; }
.adp-card-grid { display: grid; gap: 22px; }
.adp-card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.adp-card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.adp-projects-two { max-width: 900px; }

.adp-card {
  padding: 28px;
  border-radius: var(--adp-radius-lg);
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid var(--adp-border);
  box-shadow: 0 14px 36px rgba(43, 15, 46, 0.07);
}
.adp-card h3 { margin-bottom: 0.6rem; }
.adp-card p { color: var(--adp-muted); margin-bottom: 0; }
.adp-belief-card { display: flex; align-items: center; gap: 16px; min-height: 100px; padding: 20px 24px; }
.adp-icon-bubble {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--adp-lavender-200);
  color: var(--adp-plum-900);
  font-weight: 800;
}
.adp-icon-bubble svg,
.adp-project-icon-svg svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.adp-belief-card strong { font-size: 1.08rem; line-height: 1.22; color: var(--adp-plum-950); letter-spacing: -0.035em; }
.adp-project-card { display: grid; grid-template-columns: 76px 1fr; gap: 20px; align-items: start; }
.adp-project-icon,
.adp-project-logo {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.adp-project-icon {
  background: var(--adp-plum-900);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}
.adp-project-logo {
  background: rgba(255,253,249,0.96);
  border: 1px solid rgba(59, 31, 63, 0.13);
  box-shadow: 0 10px 22px rgba(43, 15, 46, 0.08);
  overflow: hidden;
}
.adp-project-logo img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  display: block;
}
.adp-card-link { display: inline-flex; gap: 8px; margin-top: 1rem; color: var(--adp-plum-900); font-weight: 800; text-decoration: none; align-items: center; white-space: nowrap; }
.adp-card-link::after { content: '→'; transition: transform 160ms ease; }
.adp-card-link:hover::after { transform: translateX(3px); }
.adp-split { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 42px; align-items: start; }
.adp-split .adp-sticky { position: sticky; top: 112px; }
.adp-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.adp-list li { padding: 18px 20px; border: 1px solid var(--adp-border); border-radius: var(--adp-radius-md); background: rgba(255,253,249,0.72); }
.adp-entry-list { display: grid; gap: 14px; }
.adp-entry-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--adp-border);
  border-radius: var(--adp-radius-lg);
  background: rgba(255, 253, 249, 0.82);
  color: var(--adp-charcoal);
}
.adp-entry-card h3 { font-size: clamp(1.08rem, 1.6vw, 1.28rem); margin-bottom: 0.35rem; line-height: 1.22; letter-spacing: -0.04em; }
.adp-entry-card p { color: var(--adp-muted); margin: 0; }
.adp-entry-card .adp-card-link { margin-top: 0; justify-self: end; }
.adp-entry-card small { color: var(--adp-plum-700); letter-spacing: 0.14em; font-weight: 800; text-transform: uppercase; }
.adp-entry-card:hover { background: var(--adp-cream); }
.adp-writing-sections { display: grid; gap: 34px; }
.adp-writing-group h2 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); margin-bottom: 16px; letter-spacing: -0.045em; }


/* FAQ */
.adp-faq-section .adp-split { align-items: start; }
.adp-faq-list { display: grid; gap: 12px; }
.adp-faq-item {
  border: 1px solid var(--adp-border);
  border-radius: var(--adp-radius-lg);
  background: rgba(255, 253, 249, 0.86);
  box-shadow: 0 10px 26px rgba(43, 15, 46, 0.06);
  overflow: hidden;
}
.adp-faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--adp-plum-950);
  font-weight: 800;
  letter-spacing: -0.035em;
  list-style-position: inside;
}
.adp-faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--adp-muted);
}

/* Content */
.adp-content > *:first-child { margin-top: 0; }
.adp-content > *:last-child { margin-bottom: 0; }
.adp-content ul, .adp-content ol { padding-left: 1.4rem; }
.adp-content blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--adp-plum-700);
  background: rgba(232, 223, 240, 0.35);
  border-radius: 0 var(--adp-radius-md) var(--adp-radius-md) 0;
  font-size: 1.22rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--adp-plum-950);
}
.adp-contact-card { max-width: 620px; }

/* Forms */
input, textarea, select {
  width: 100%;
  border: 1px solid var(--adp-border);
  border-radius: var(--adp-radius-md);
  padding: 0.9rem 1rem;
  background: var(--adp-cream);
  color: var(--adp-charcoal);
  font: inherit;
}
label { display: block; margin-bottom: 0.45rem; font-weight: 700; }

/* Footer */
.adp-site-footer { padding: 0 0 32px; }
.adp-footer-inner {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 36px;
  border-radius: var(--adp-radius-xl);
  background: linear-gradient(135deg, var(--adp-plum-950), var(--adp-plum-900));
  color: rgba(255, 255, 255, 0.86);
}
.adp-footer-inner a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.adp-footer-inner a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.adp-footer-brand { display: flex; align-items: center; gap: 20px; }
.adp-footer-brand .adp-monogram { background: transparent; border-color: rgba(255,255,255,0.22); color: #fff; }
.adp-footer-tagline { margin: 0; color: rgba(255,255,255,0.78); font-weight: 650; }
.adp-footer-links { justify-self: end; }
.adp-footer-menu,
.adp-footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}
.adp-footer-menu li,
.adp-footer-nav li { margin: 0; padding: 0; }
.adp-footer-menu a,
.adp-footer-nav a { font-weight: 700; }

/* Blog/archive */
.adp-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adp-post-card { overflow: hidden; }
.adp-post-card .post-thumbnail { margin: -28px -28px 20px; }
.adp-post-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.adp-meta { color: var(--adp-muted); font-size: 0.92rem; }

/* Utilities */
.has-text-align-center { text-align: center; }
.adp-visually-balanced { text-wrap: balance; }

@media (max-width: 980px) {
  .adp-card-grid.cols-3,
  .adp-card-grid.cols-2,
  .adp-post-grid,
  .adp-split { grid-template-columns: 1fr; }
  .adp-split .adp-sticky { position: static; }
  .adp-quote-card { position: relative; right: auto; bottom: auto; width: min(100%, 420px); margin-top: 32px; }
  .adp-hero::before { width: 300px; height: 300px; right: -150px; bottom: -150px; opacity: 0.32; }
  .adp-hero::after { opacity: 0.35; right: -30px; }
  .adp-footer-inner { grid-template-columns: 1fr; text-align: left; }
  .adp-footer-links { justify-self: start; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2.2rem, 9vw, 3.35rem); }
  .adp-hero h1 { font-size: clamp(2.25rem, 10vw, 3.45rem); }
  .adp-about-side h1 { font-size: clamp(2.2rem, 9vw, 3.35rem); }
  .adp-header-inner { min-height: 72px; }
  .adp-menu-button { display: inline-flex; }
  .adp-primary-nav { position: relative; }
  .adp-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: min(280px, calc(100vw - 44px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--adp-border);
    border-radius: var(--adp-radius-lg);
    background: var(--adp-cream);
    box-shadow: var(--adp-shadow);
  }
  .adp-primary-nav.is-open .adp-menu { display: flex; }
  .adp-menu li a { display: block; padding: 12px 14px; border-radius: 10px; }
  .adp-menu li a:hover { background: var(--adp-lavender-100); }
  .adp-hero { padding: 38px 24px; margin-top: 18px; border-radius: 24px; }
  .adp-hero-actions { flex-direction: column; align-items: stretch; }
  .adp-button { width: 100%; }
  .adp-belief-card { align-items: flex-start; }
  .adp-project-card { grid-template-columns: 1fr; }
  .adp-entry-card { grid-template-columns: 1fr; }
  .adp-entry-card .adp-card-link { justify-self: start; margin-top: 0.5rem; }
  .adp-brand-text { display: none; }
}
