/* corychasecom.com · Sunrise (dawn lines, horizon arcs, warm cream) */
:root {
  --bg: #faf4e8;
  --bg-soft: #f2e7d2;
  --card: #fffaf1;
  --ink: #3c3125;
  --ink-soft: #6c5d49;
  --brick: #b85a3a;
  --brick-deep: #99462b;
  --brick-dark: #7a3a24;
  --gold: #e0a84a;
  --gold-soft: #f4ddb0;
  --line: #e8dabf;
  --line-soft: #f1e7d3;
  --shell: 1180px;
  --font-display: 'Fascinate', Georgia, 'Times New Roman', serif;
  --font-body: 'Charm', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.72; }
img { max-width: 100%; height: auto; }
a { color: var(--brick-deep); text-decoration: none; }
a:hover { color: var(--brick-dark); text-decoration: underline; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 28px; }
.dawn-strip { height: 4px; background: linear-gradient(90deg, var(--gold), var(--brick) 48%, var(--gold)); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250, 244, 232, 0.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.wordmark { font-family: var(--font-display); font-size: 24px; color: var(--brick-deep); letter-spacing: 0.01em; }
.wordmark:hover { color: var(--brick-dark); text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.main-nav a { color: var(--ink); font-size: 16px; padding: 6px 1px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--brick-deep); border-bottom-color: var(--gold); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--brick-deep); border-bottom-color: var(--brick-deep); }

/* buttons: explicit colour pairs so the nav rules above cannot flatten them */
.btn { display: inline-block; background: var(--brick-deep); color: #fff8ec; border: 1px solid var(--brick-deep); border-radius: 999px; padding: 12px 26px; font-family: var(--font-body); font-size: 16.5px; line-height: 1.25; letter-spacing: 0.02em; }
.btn:hover { background: var(--brick-dark); border-color: var(--brick-dark); color: #fff8ec; text-decoration: none; }
.btn-sm { padding: 9px 18px; font-size: 15.5px; }
.main-nav a.btn { color: #fff8ec; background: var(--brick-deep); border-color: var(--brick-deep); border-bottom: 2px solid var(--brick-deep); }
.main-nav a.btn:hover { color: #fff8ec; background: var(--brick-dark); border-color: var(--brick-dark); border-bottom-color: var(--brick-dark); text-decoration: none; }

/* hero: text left, photo right under a sunrise arc */
.hero { padding: 44px 0 30px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 52px; align-items: center; }
.hero-text { max-width: 620px; }
.kicker { margin: 0 0 14px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brick-deep); }
.hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 60px); line-height: 1.06; margin: 0 0 14px; color: var(--brick-deep); }
.hero-tagline { font-family: var(--font-display); font-size: 20px; margin: 0 0 14px; color: var(--ink); }
.hero-intro { margin: 0 0 26px; color: var(--ink-soft); }
.hero-art { margin: 0; }
.hero-art .sun-arc { display: block; width: 78%; margin: 0 auto -26px; height: auto; }
.hero-art img { position: relative; display: block; width: 100%; height: auto; border-radius: 140px 140px 14px 14px; border: 1px solid var(--line); }
.sun-horizon { stroke: var(--line); stroke-width: 1.4; }
.sun-ring { fill: none; stroke: var(--brick); }
.sun-ring.r1 { stroke-width: 1.1; opacity: 0.25; }
.sun-ring.r2 { stroke-width: 1.2; opacity: 0.45; }
.sun-ring.r3 { stroke-width: 1.5; opacity: 0.68; }
.sun-disc { fill: var(--gold); opacity: 0.95; }

/* sections */
.section { padding: 54px 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.eyebrow { margin: 0 0 8px; font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brick-deep); }
.section h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3vw, 36px); margin: 0 0 10px; color: var(--brick-deep); }
.section-sub { margin: 0 0 26px; color: var(--ink-soft); max-width: 64ch; }

/* partner cards */
.partner-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.partner-card { display: flex; align-items: center; justify-content: center; height: 104px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.partner-card:hover { border-color: var(--brick); }
.partner-card img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

/* quick profile: three dawn-line cards */
.dawn-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dawn-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px 26px 20px; }
.dawn-card::before { content: ""; position: absolute; top: -1px; left: 24px; right: 24px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--gold), var(--brick)); }
.dawn-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 20px; margin: 0 0 12px; color: var(--brick-deep); }
.facts { margin: 0; }
.fact { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.fact:last-child { border-bottom: none; }
.fact dt { font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brick-deep); }
.fact dd { margin: 0; text-align: right; color: var(--ink); }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.about-grid p { margin: 0 0 16px; }
.sun-quote { margin: 28px 0 0; padding: 26px 30px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.sun-quote p { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 1.5; color: var(--brick-deep); }
.sun-quote .quote-src { margin: 10px 0 0; font-family: var(--font-body); font-size: 14.5px; color: var(--ink-soft); }

/* horizon-arc timeline */
.horizon { list-style: none; margin: 0; padding: 0; }
.horizon.cols { columns: 2; column-gap: 52px; }
.horizon.cols li { break-inside: avoid; }
.horizon li { position: relative; padding: 0 0 20px 46px; border-bottom: 1px solid var(--line-soft); margin-bottom: 16px; }
.horizon li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 2px; }
.horizon li::before { content: ""; position: absolute; left: 0; top: 4px; width: 30px; height: 15px; border: 1.6px solid var(--brick); border-bottom: none; border-radius: 15px 15px 0 0; background: linear-gradient(180deg, rgba(224, 168, 74, 0.4), rgba(224, 168, 74, 0)); }
.horizon .when { display: block; font-family: var(--font-display); font-size: 16px; letter-spacing: 0.04em; color: var(--brick-deep); margin-bottom: 3px; }
.horizon .what { color: var(--ink); }

/* gallery 2x2 + credit line */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery figure { position: relative; margin: 0; aspect-ratio: 29 / 20; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-soft); }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fig-a img { object-position: 50% 18%; }
.fig-b img { object-position: 50% 12%; }
.fig-c img { object-position: 50% 2%; }
.fig-d img { object-position: 50% 45%; }
.credit { margin: 18px 0 0; font-size: 15px; color: var(--ink-soft); max-width: 92ch; }

/* social */
.social-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
.social-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.social-row:hover { background: var(--gold-soft); color: var(--brick-dark); text-decoration: none; }
.social-row .platform { font-size: 15px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--brick-deep); }
.social-row .handle { color: var(--ink); }
.social-row:hover .platform { color: var(--brick-dark); }

/* subpages */
.page-top { padding: 48px 0 8px; }
.page-top h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4.4vw, 52px); margin: 0 0 12px; color: var(--brick-deep); }
.lead { font-size: 20px; color: var(--ink-soft); max-width: 62ch; margin: 0; }
.page-horizon { display: block; width: 100%; max-width: 640px; height: auto; margin: 26px 0 0; }
.reading { max-width: 840px; padding: 10px 0 56px; }
.story { padding: 26px 0 14px; border-top: 1px solid var(--line-soft); }
.story:first-child { border-top: none; }
.story h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(23px, 2.6vw, 30px); margin: 0 0 12px; color: var(--brick-deep); }
.story p { margin: 0 0 16px; }
.award-list { list-style: none; margin: 6px 0 0; padding: 0; }
.award-list li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px dashed var(--line); color: var(--ink); }
.award-list li:last-child { border-bottom: none; }
.award-list li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 14px; height: 7px; border: 1.5px solid var(--brick); border-bottom: none; border-radius: 7px 7px 0 0; }
.plain-list { list-style: none; margin: 6px 0 0; padding: 0; }
.plain-list li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px dashed var(--line); color: var(--ink); }
.plain-list li:last-child { border-bottom: none; }
.plain-list li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 6px; border: 1.4px solid var(--brick); border-bottom: none; border-radius: 6px 6px 0 0; }
.qa { padding: 22px 0; border-top: 1px solid var(--line-soft); }
.qa:first-child { border-top: none; }
.qa-q { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin: 0 0 8px; color: var(--brick-deep); }
.qa-a { margin: 0; color: var(--ink); }

/* footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 32px 0; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.4fr 0.9fr; gap: 22px; align-items: center; }
.footer-brand { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: var(--font-display); font-size: 20px; color: var(--brick-deep); }
.brand-line { font-size: 15px; color: var(--ink-soft); }
.language-nav { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; }
.language-nav a { font-size: 15.5px; color: var(--ink-soft); }
.language-nav a[aria-current="page"] { color: var(--brick-deep); text-decoration: underline; }
.footer-legal { margin: 0; text-align: right; font-size: 15px; color: var(--ink-soft); }

/* 404 */
.notfound { padding: 70px 0 80px; max-width: 640px; }
.notfound h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 56px); margin: 0 0 14px; color: var(--brick-deep); }
.notfound p { color: var(--ink-soft); margin: 0 0 26px; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-text { max-width: none; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dawn-cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .horizon.cols { columns: 1; }
  .social-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 14px; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .shell { padding: 0 18px; }
  .header-inner { min-height: auto; padding-top: 10px; padding-bottom: 10px; }
  .main-nav { gap: 2px 12px; }
  .gallery { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .hero-art img { border-radius: 110px 110px 12px 12px; }
}
@media (max-width: 560px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { height: 88px; }
  .hero-title { font-size: 38px; }
}
