/* carmel-moore.com · Moorland */
:root {
  --bg: #F8F8F5;
  --panel: #F1F2EC;
  --ink: #2A2E28;
  --moss: #5E6B55;
  --moss-deep: #4E5A46;
  --heather: #8A6C9C;
  --muted: #5F6659;
  --hair: #DCDED4;
  --shell: 1120px;
  --display: 'Rye', 'Gentium Book Plus', Georgia, serif;
  --body: 'Gentium Book Plus', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 26px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h2 { font-size: clamp(1.32rem, 2.5vw, 1.62rem); line-height: 1.24; margin: 0 0 .8rem; }
.eyebrow { font-family: var(--body); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
           color: var(--moss-deep); margin: 0 0 .6rem; }
.section-sub { color: var(--muted); max-width: 60ch; margin: 0 0 1.5rem; }
.note { color: var(--muted); font-size: .9rem; margin: 1rem 0 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg);
               border-bottom: 1px solid var(--hair); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1rem 1.4rem; padding: .78rem 26px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.12rem; text-decoration: none; color: var(--ink);
            white-space: nowrap; letter-spacing: .01em; }
.main-nav { display: flex; align-items: center; gap: .9rem 1.15rem; flex-wrap: wrap; }
.nav-links { display: flex; align-items: center; gap: .9rem 1.15rem; flex-wrap: wrap; }
.main-nav a { color: var(--moss-deep); text-decoration: none; font-size: .93rem; padding: .12rem 0;
              border-bottom: 1px solid transparent; }
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--moss); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--heather); }
.btn { display: inline-flex; align-items: center; background: var(--moss-deep); color: #F8F8F5;
       font-family: var(--body); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
       border: 1px solid var(--moss-deep); border-radius: 999px; padding: .66rem 1.28rem;
       text-decoration: none; transition: background .18s ease, border-color .18s ease; }
.btn:hover { background: #3E4937; border-color: #3E4937; color: #FFFFFF; }
.main-nav a.btn { color: #F8F8F5; border-bottom: 1px solid var(--moss-deep); }
.main-nav a.btn:hover { color: #FFFFFF; border-bottom-color: #3E4937; background: #3E4937; }
.btn-sm { padding: .42rem .98rem; font-size: .86rem; }

/* hero */
.hero { padding: 2.4rem 0 1.6rem; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 2.6rem; align-items: center; }
.hero-kicker { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
               color: var(--moss-deep); margin: 0 0 .9rem; }
.hero-title { font-family: var(--display); font-weight: 400; margin: 0;
              font-size: clamp(2.3rem, 5.4vw, 3.9rem); line-height: 1.0; letter-spacing: .01em; }
.hero-title span { display: block; }
.hill-line { display: block; color: var(--moss); margin: .9rem 0 .95rem; max-width: 100%; }
.hero-tagline { font-size: 1.16rem; line-height: 1.45; margin: 0 0 .8rem; max-width: 34ch; }
.hero-intro { color: var(--muted); max-width: 50ch; margin: 0 0 1.5rem; }
.hero-photo { margin: 0; border: 1px solid var(--hair); border-radius: 16px; background: #FFFFFF;
              padding: 12px 12px 10px; }
.hero-photo img { width: 100%; max-width: 600px; border-radius: 10px; }
.hero-dots { display: flex; justify-content: flex-end; gap: .4rem; margin: .55rem .3rem 0; }
.hero-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--heather); }

/* sections */
.section { padding: 2.7rem 0; }
.section-tight { padding-top: 1rem; }
.section-last { padding-bottom: 4rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 16px; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px; height: 150px;
                border: 1px solid var(--hair); border-radius: 12px; background: #FFFFFF;
                transition: border-color .2s ease, transform .2s ease; }
.partner-card:hover { border-color: var(--moss); transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem;
         margin: 0; padding: 0; }
.fact { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
        padding: .6rem 0; border-bottom: 1px solid var(--hair); }
.fact dt { font-size: .73rem; letter-spacing: .14em; text-transform: uppercase; color: var(--moss-deep); }
.fact dd { margin: 0; text-align: right; font-size: .97rem; }

/* about */
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 2.4rem; align-items: start; }
.about-photo { margin: 0; border: 1px solid var(--hair); border-radius: 16px; background: #FFFFFF; padding: 10px; }
.about-photo img { width: 100%; max-width: 800px; border-radius: 10px; }
.about-cols { columns: 2; column-gap: 2.1rem; }
.about-cols p { margin: 0 0 1rem; break-inside: avoid; }

/* career */
.career-split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 2.6rem; align-items: start; }
.career-text p { margin: 0 0 1rem; }

/* timeline: hill-arc nodes with a heather dot on the crest */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 12px;
                    border-left: 1px dotted var(--moss); opacity: .55; }
.timeline li { position: relative; padding: 0 0 1.35rem 2.3rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .42em; width: 17px; height: 9px;
                       border: 1.5px solid var(--moss); border-bottom: 0;
                       border-radius: 17px 17px 0 0 / 9px 9px 0 0; background: var(--bg); }
.timeline li::after { content: ""; position: absolute; left: 7px; top: calc(.42em - 3px);
                      width: 4px; height: 4px; border-radius: 50%; background: var(--heather); }
.timeline .when { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
                  color: var(--moss-deep); margin-bottom: .1rem; }
.timeline .what { display: block; font-size: .98rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.gallery figure { margin: 0; border: 1px solid var(--hair); border-radius: 14px; background: #FFFFFF; padding: 10px; }
.gallery img { width: 100%; border-radius: 8px; }
.g-a img { max-width: 448px; }
.g-b { margin-top: 3.2rem; }
.g-b img { max-width: 420px; }
.g-c { margin-top: 1.1rem; }
.g-c img { max-width: 350px; }

/* social */
.social-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.social-row { display: inline-flex; align-items: baseline; gap: .65rem; text-decoration: none;
              border: 1px solid var(--moss); border-radius: 999px; padding: .55rem 1.15rem;
              transition: background .2s ease, border-color .2s ease; }
.social-row:hover { background: var(--panel); border-color: var(--moss-deep); }
.social-row .platform { font-weight: 700; }
.social-row .handle { color: var(--muted); font-size: .93rem; }

/* subpages */
.page-top { padding: 2.6rem 0 1.3rem; border-bottom: 1px solid var(--hair); margin-bottom: 2.2rem; }
.page-top h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.1; margin: 0 0 .7rem; }
.page-top .lead { color: var(--muted); max-width: 64ch; margin: 0; }
.reading { max-width: 74ch; }
.story { margin: 0 0 2.4rem; }
.story h2 { font-size: clamp(1.2rem, 2.3vw, 1.42rem); margin: 0 0 .75rem; }
.story p { margin: 0 0 1rem; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { position: relative; padding: .55rem 0 .55rem 1.15rem; border-bottom: 1px dotted var(--hair); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px;
                       border-radius: 50%; background: var(--heather); }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.7rem; margin-top: 1rem; }
.credit-col h3 { font-family: var(--body); font-size: .73rem; letter-spacing: .14em; text-transform: uppercase;
                 color: var(--moss-deep); margin: 0 0 .5rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { font-size: .93rem; padding: .34rem 0; border-bottom: 1px dotted var(--hair); }
.stat-strip { display: flex; flex-wrap: wrap; gap: .9rem; }
.stat { border: 1px solid var(--hair); border-radius: 12px; background: var(--panel); padding: .85rem 1.2rem;
        min-width: 152px; }
.stat b { display: block; font-family: var(--display); font-size: 1.32rem; color: var(--moss-deep); }
.stat span { color: var(--muted); font-size: .85rem; }
.faq-list details { border-bottom: 1px solid var(--hair); padding: 1rem 0; }
.faq-list summary { font-family: var(--display); font-size: 1.06rem; line-height: 1.4; cursor: pointer;
                    list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--moss); font-family: var(--body);
                           transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--moss-deep); }
.faq-list .answer p { color: var(--ink); margin: .7rem 0 .2rem; max-width: 70ch; }

/* footer */
.site-footer { border-top: 1px solid var(--hair); background: var(--panel); padding: 1.9rem 0 2.1rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 1rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-size: 1rem; }
.brand-line { color: var(--muted); font-size: .84rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .9rem; justify-content: center; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .88rem; }
.language-nav a:hover { color: var(--ink); }
.language-nav a[aria-current="page"] { color: var(--moss-deep); text-decoration: underline; }
.footer-legal { color: var(--muted); font-size: .84rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4rem 0 5rem; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-photo img { max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-photo img { max-width: 460px; }
  .about-cols { columns: 1; }
  .career-split { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .main-nav { gap: .55rem .9rem; }
  .main-nav a { font-size: .87rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 122px; }
  .partner-card img { max-width: 132px; max-height: 52px; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .fact { flex-direction: column; gap: .12rem; }
  .fact dd { text-align: left; }
  .gallery { grid-template-columns: 1fr; gap: 1.1rem; }
  .g-b, .g-c { margin-top: 0; }
  .credit-grid { grid-template-columns: 1fr; }
  .section { padding: 2.1rem 0; }
  .hero { padding-top: 1.7rem; }
}
