/* cassidybankscom.com · Sunflower design
   cream ground, olive headings, honey and gold used only as accents */

:root {
  --cream: #fbf8ef;
  --panel: #fffdf6;
  --band: #f7f0dc;
  --foot: #f6efdb;
  --olive: #33452e;
  --olive-deep: #26331f;
  --honey: #7a5a1e;
  --gold: #e0a52c;
  --brown: #7d5f3d;
  --ink: #4b4534;
  --line: #ece0c3;
  --dash: #e2d3ab;
  --display: 'Bona Nova', Georgia, 'Times New Roman', serif;
  --body: 'Gabarito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--olive); font-weight: 700; line-height: 1.16; }
.shell { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }

/* seed-head dot: the sunflower motif */
.seed {
  display: inline-block;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--honey) 0 30%, var(--gold) 32% 100%);
  flex: none;
}
.seed-mark { margin-right: 1px; }
.seed-title { vertical-align: 0.75rem; margin-left: 14px; }
.seed-orn {
  position: absolute; top: -14px; right: -14px;
  width: 28px; height: 28px;
  box-shadow: 0 0 0 8px var(--cream);
}

/* ------------------------------------------------------------- header ---- */
.site-header { padding: 18px 0; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wordmark {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 1.28rem;
  color: var(--olive); text-decoration: none; letter-spacing: .01em;
}
.main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; row-gap: 2px; }
.main-nav a {
  color: var(--olive);
  text-decoration: none;
  font-size: .95rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .16s ease, background .16s ease;
}
.main-nav a:hover { color: var(--honey); background: var(--foot); }
.main-nav a[aria-current="page"] { color: var(--olive); font-weight: 600; border-radius: 4px; }
.main-nav a.btn { margin-left: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: #2a2410;
  font-family: var(--body); font-weight: 600; font-size: .95rem;
  border: 1px solid rgba(122, 90, 30, .34);
  border-radius: 999px;
  padding: .68rem 1.25rem;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.btn-sm { padding: .45rem 1rem; font-size: .86rem; }
.main-nav a.btn { color: #2a2410; }
.main-nav a.btn:hover { color: var(--cream); background: var(--olive); }

/* --------------------------------------------------------------- hero ---- */
.hero { padding: 52px 0 30px; position: relative; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(620px 460px at 84% 14%, #f8eed4 0%, rgba(248, 238, 212, 0) 72%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 48px; align-items: center; }
.kicker {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brown); font-weight: 600; margin: 0 0 14px;
}
.hero-title { font-size: clamp(2.5rem, 6.4vw, 4.4rem); margin: 0 0 14px; letter-spacing: -.015em; }
.hero-tagline {
  font-family: var(--display); font-size: 1.22rem; line-height: 1.42;
  color: var(--olive); margin: 0 0 12px; max-width: 34ch;
}
.hero-intro { margin: 0 0 26px; max-width: 52ch; }
.hero-photo { margin: 0; position: relative; }
.photo-frame {
  display: block; border-radius: 20px; overflow: hidden;
  background: #f3ecd8; box-shadow: 0 20px 44px rgba(51, 69, 46, .13);
}
.photo-frame img { display: block; width: 100%; height: auto; }
.hero-photo .photo-frame img { max-height: 680px; object-fit: cover; object-position: 50% 0%; }

/* ----------------------------------------------------------- sections ---- */
.section { padding: 56px 0; }
.section-first { padding-top: 26px; }
.sec-head { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; }
.sec-num { font-family: var(--display); font-size: 1.02rem; color: var(--honey); letter-spacing: .08em; }
.sec-head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.sec-rule {
  flex: 1 1 auto; min-width: 36px; height: 1px;
  background: linear-gradient(90deg, #e3d5ad, rgba(227, 213, 173, 0));
}
.lead { margin: 0 0 26px; max-width: 64ch; font-size: 1.08rem; }
.lead-wide { max-width: 80ch; }

/* ---------------------------------------------------------- partners ---- */
.partner-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.partner-card {
  display: flex; align-items: center; justify-content: center;
  width: 250px; height: 150px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--panel);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.partner-card:hover { border-color: #d9c48c; box-shadow: 0 14px 30px rgba(51, 69, 46, .12); transform: translateY(-2px); }
.partner-card img { max-width: 190px; max-height: 68px; width: auto; height: auto; object-fit: contain; }

/* ----------------------------------------------------------- profile ---- */
.stat-band {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--band); border: 1px solid #efe3c4; border-radius: 20px;
  overflow: hidden; margin: 0 0 30px;
}
.stat { padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; border-right: 1px dashed var(--dash); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.55rem); color: var(--olive); line-height: 1.05; }
.stat-label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); font-weight: 600; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 28px; margin: 0; }
.fact dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brown); font-weight: 600; margin: 0 0 4px; }
.fact dd { margin: 0; font-size: 1.02rem; }

/* ------------------------------------------------------------- about ---- */
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: center; }
.about-photo { margin: 0; }
.about-text .sec-head { margin-bottom: 18px; }
.about-text p { margin: 0 0 1rem; }

/* ---------------------------------------------------------- milestones ---- */
.milestones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.milestones li { display: flex; gap: 18px; align-items: baseline; padding: 15px 0; border-bottom: 1px dashed var(--dash); }
.m-when { font-family: var(--display); color: var(--honey); min-width: 8.6rem; }
.m-what { color: var(--ink); }

/* ------------------------------------------------------------ gallery ---- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.g-wide, .g-tall { margin: 0; }
.g-wide { grid-column: 1 / -1; }
.g-tall .photo-frame img { max-height: 760px; object-fit: cover; object-position: 50% 0%; }

/* ------------------------------------------------------------- social ---- */
.social-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.social-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 14px 18px; background: var(--panel);
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 12px; text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.social-row:hover { background: #f8f2e0; border-left-color: #b4861f; }
.s-platform { font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brown); font-weight: 600; }
.s-handle { font-family: var(--display); font-size: 1.04rem; color: var(--olive); }

/* ------------------------------------------------------------- footer ---- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--foot); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr .95fr; gap: 22px; align-items: center; padding: 30px 0; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.brand-name { font-family: var(--display); font-weight: 700; color: var(--olive); font-size: 1.16rem; }
.brand-line { font-size: .9rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; }
.language-nav a {
  color: var(--olive); text-decoration: none; font-size: .92rem;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.language-nav a:hover { color: var(--olive-deep); border-bottom-color: var(--gold); }
.language-nav a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--gold); }
.footer-legal { margin: 0; text-align: right; font-size: .88rem; }

/* ----------------------------------------------------------- subpages ---- */
.page-head { padding: 40px 0 0; }
.page-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.page-title { font-size: clamp(2rem, 4.6vw, 3.05rem); margin: 0; max-width: 26ch; }
.petal-orn {
  flex: none; width: 128px; height: 128px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 0 16%, rgba(224, 165, 44, 0) 17%),
    radial-gradient(circle at 50% 50%, #b4861f 0 7%, rgba(180, 134, 31, 0) 8%),
    repeating-conic-gradient(from 0deg, #f2dca6 0 4deg, rgba(242, 220, 166, 0) 4deg 30deg);
  opacity: .85;
}
.prose-block { margin: 0 0 34px; max-width: 82ch; }
.prose-block h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0 0 12px; }
.prose-block p { margin: 0 0 1rem; }

/* subpage two-column structures */
.bio-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 46px; align-items: start; }
.bio-main .prose-block { max-width: none; }
.facts-panel { position: sticky; top: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 22px 24px; }
.facts-panel h2 { margin: 0 0 16px; font-size: 1.16rem; }
.film-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 46px; align-items: start; }
.film-grid .prose-block { max-width: none; }
.span-2 { grid-column: 1 / -1; }

.timeline { list-style: none; margin: 0 0 42px; padding: 0 0 0 26px; border-left: 2px solid #efe3c4; }
.timeline li { position: relative; padding: 0 0 20px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute; left: -33px; top: .55em;
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--honey) 0 30%, var(--gold) 32% 100%);
}
.t-when { display: block; font-family: var(--display); color: var(--honey); }
.t-what { display: block; }

.award-grid { display: grid; grid-template-columns: .92fr 1.58fr; gap: 22px; margin: 0 0 42px; align-items: start; }
.award-card { border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; background: var(--panel); }
.award-card h2 { margin: 0 0 12px; font-size: 1.2rem; }
.award-card ul { margin: 0; padding: 0; list-style: none; }
.award-card li { position: relative; padding: 7px 0 7px 18px; border-bottom: 1px dashed #f0e7cf; font-size: .98rem; }
.award-card li:last-child { border-bottom: 0; }
.award-card li::before {
  content: "";
  position: absolute; left: 0; top: 1.1em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.award-win { border-color: #e6cf94; border-left: 4px solid var(--gold); background: #fdf6e2; }
.note { margin: 12px 0 0; font-size: .9rem; color: var(--brown); }

.pull-quote {
  margin: 0 0 42px; padding: 26px 30px; max-width: 92ch;
  border-left: 3px solid var(--gold); background: #f9f3e2;
  border-radius: 0 18px 18px 0;
}
.pull-quote p { font-family: var(--display); font-style: italic; font-size: 1.16rem; line-height: 1.5; color: var(--olive); margin: 0 0 10px; }
.pull-quote footer { font-size: .9rem; color: var(--brown); }

.studio-list, .film-list { list-style: none; margin: 0; padding: 0; }
.studio-list { display: flex; flex-wrap: wrap; gap: 9px; }
.studio-list li { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 7px 15px; font-size: .92rem; }
.film-list li { position: relative; padding: 11px 0 11px 20px; border-bottom: 1px dashed var(--dash); }
.film-list li:last-child { border-bottom: 0; }
.film-list li::before {
  content: "";
  position: absolute; left: 0; top: 1.2em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}

.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; align-items: start; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 2px 20px; }
.faq-item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 15px 34px 15px 0;
  font-family: var(--display); font-size: 1.08rem; color: var(--olive);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 2px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold); font-size: 1.5rem; line-height: 1;
  font-family: var(--body); font-weight: 600;
  transition: transform .18s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer p { margin: 0 0 16px; }

.home-link { margin: 26px 0 0; }
.link-plain { color: var(--olive); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold); }
.link-plain:hover { color: var(--honey); }

/* ---------------------------------------------------------- responsive ---- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .bio-grid, .film-grid, .faq-list { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .award-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 560px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .milestones { grid-template-columns: 1fr; }
  .social-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
  .stat-band { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px dashed var(--dash); }
  .stat:last-child { border-bottom: 0; }
}
@media (max-width: 700px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .main-nav { width: 100%; }
  .main-nav a.btn { margin-left: 0; }
  .petal-orn { width: 84px; height: 84px; }
  .section { padding: 42px 0; }
  .hero { padding: 34px 0 24px; }
  .m-when { min-width: 7.4rem; }
}
@media (max-width: 560px) {
  .main-nav a { padding: 9px 11px; }
  .gallery { grid-template-columns: 1fr; }
  .g-wide { grid-column: auto; }
  .partner-card { width: 100%; height: 132px; }
  .partner-card img { max-width: 150px; max-height: 56px; }
  .facts { grid-template-columns: 1fr; }
  .faq-item { padding: 2px 16px; }
}
