/* danniriversweb.com · Riverside Mill */
:root {
  --stone: #e8e4da;
  --stone-2: #ded8ca;
  --paper: #f3f0e8;
  --teal: #6a8a96;
  --teal-deep: #47626d;
  --wood: #7a5a38;
  --wood-deep: #5c4230;
  --ink: #2e2a24;
  --soft: #433d33;
  --muted: #5d5648;
  --line: #cdc7b8;
  --line-soft: #d9d3c5;
  --shell: 1160px;
  --display: 'Loved by the King', 'Segoe Script', cursive;
  --body: 'Suranna', 'Iowan Old Style', Georgia, serif;
}
* { box-sizing: border-box; }
html { background: var(--stone); }
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1 0 auto; }
img { max-width: 100%; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 3.6vw, 2.5rem);
     line-height: 1.1; margin: 0 0 .6rem; letter-spacing: .01em; }
h3 { font-family: var(--body); font-weight: 400; }
.eyebrow { font-family: var(--body); font-size: .8rem; letter-spacing: .17em; text-transform: uppercase;
           color: var(--wood); margin: 0 0 .5rem; }
.eyebrow::before { content: ""; display: inline-block; width: 14px; height: 3px;
                   background: var(--wood); margin-right: .5rem; vertical-align: .22rem; }
.section-sub { color: var(--muted); max-width: 60ch; margin: 0 0 1.6rem; }
.note { color: var(--muted); font-size: .95rem; margin: 1.1rem 0 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(232, 228, 218, .94);
               border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1.2rem; padding: .55rem 24px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.72rem; line-height: 1.1;
            text-decoration: none; color: var(--ink); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; }
.main-nav a { color: #3d372c; text-decoration: none; font-size: 1rem; padding: .15rem 0;
              border-bottom: 2px solid transparent; }
.main-nav a:hover { color: #17140f; border-bottom-color: var(--teal); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--wood); }
.btn { display: inline-flex; align-items: center; background: var(--wood); color: #f8f5ee;
       font-family: var(--body); font-size: 1.02rem; letter-spacing: .02em;
       border-radius: 3px; padding: .6rem 1.25rem; text-decoration: none;
       border: 1px solid var(--wood-deep);
       transition: background .18s ease, transform .18s ease, border-color .18s ease; }
.btn:hover { background: var(--wood-deep); color: #fffdf8; transform: translateY(-1px); }
.btn-sm { padding: .38rem .9rem; font-size: .96rem; }
.main-nav a.btn { color: #f8f5ee; background: #7a5a38; border-bottom: 2px solid #5c4230; }
.main-nav a.btn:hover { color: #fffdf8; background: #5c4230; border-bottom-color: #5c4230; }

/* hero */
.hero { padding: 2.3rem 0 1.9rem; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 100%;
                background: repeating-linear-gradient(180deg, rgba(106, 138, 150, .05) 0 1px, transparent 1px 8px);
                pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 2.5rem; align-items: center;
             position: relative; }
.hero-kicker { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
               color: var(--teal-deep); margin: 0 0 .9rem; }
.hero-title { font-family: var(--display); font-weight: 400; margin: 0 0 .8rem;
              font-size: clamp(3rem, 7vw, 4.9rem); line-height: .98; letter-spacing: .01em; }
.hero-title .accent { color: var(--teal); }
.hero-tagline { font-size: 1.24rem; line-height: 1.4; margin: 0 0 .8rem; max-width: 32ch; color: var(--soft); }
.hero-intro { color: var(--muted); max-width: 48ch; margin: 0 0 1.5rem; }
.hero-photo { margin: 0; position: relative; max-width: 496px; margin-left: auto; }
.hero-photo img { display: block; width: 100%; height: auto; border: 1px solid var(--line);
                  box-shadow: 22px 22px 0 rgba(122, 90, 56, .15); }
.hero-photo .wheel { position: absolute; left: -46px; bottom: -34px; width: 218px; height: 122px; }
.hero-photo .ripple { position: absolute; right: 8px; bottom: -22px; width: 250px; height: 20px; }
.hero .btn { margin-top: .2rem; }

/* sections */
.section { padding: 3rem 0; }
.section-tight { padding: 1.5rem 0 2.6rem; }
.section-last { padding-bottom: 4.2rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, 250px); gap: 16px;
                justify-content: space-between; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px; height: 150px;
                border: 1px solid var(--line); background: var(--paper);
                box-shadow: 6px 6px 0 rgba(122, 90, 56, .1);
                transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.partner-card:hover { border-color: var(--teal); box-shadow: 8px 8px 0 rgba(106, 138, 150, .22);
                      transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile cards */
.fact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fact-card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--wood);
             padding: 1.15rem 1.2rem 1.25rem; box-shadow: 8px 8px 0 rgba(122, 90, 56, .09); }
.fact-card h3 { font-family: var(--display); font-size: 1.55rem; margin: 0 0 .8rem; color: var(--wood); }
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li { display: flex; gap: .6rem; align-items: baseline; padding: .42rem 0;
                border-bottom: 1px dashed var(--line-soft); }
.fact-list li:last-child { border-bottom: 0; }
.fact-list .k { flex: 0 0 42%; color: var(--muted); font-size: .92rem; letter-spacing: .03em;
                text-transform: uppercase; }
.fact-list .v { color: var(--ink); font-size: 1rem; }

/* about */
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 2.6rem; align-items: start; }
.about-photo { margin: 0; position: relative; }
.about-photo img { display: block; width: 100%; height: auto; border: 1px solid var(--line);
                   box-shadow: 16px 16px 0 rgba(106, 138, 150, .16); }
.about-text p { color: var(--soft); margin: 0 0 1.05rem; }
.about-text p:first-child::first-letter { font-family: var(--display); font-size: 3rem;
                                          float: left; line-height: .8; padding: .12em .12em 0 0; color: var(--wood); }

/* timeline: millstone ticks */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.4rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.5rem - 3px); top: .55em;
                       width: 2px; height: 13px; background: var(--wood); transform: rotate(34deg); }
.timeline li::after { content: ""; position: absolute; left: calc(-1.5rem - 5px); top: .82em;
                      width: 8px; height: 8px; border-radius: 50%; background: var(--stone);
                      border: 2px solid var(--teal); }
.timeline .when { display: block; font-size: .93rem; letter-spacing: .06em; text-transform: uppercase;
                  color: var(--teal-deep); margin-bottom: .1rem; }
.timeline .what { display: block; color: var(--soft); }
.career-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items: start; }
.career-text p { color: var(--soft); margin: 0 0 1rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.gallery figure { margin: 0; background: var(--paper); border: 1px solid var(--line); padding: 8px; }
.gallery img { display: block; width: 100%; height: auto; }
.g-wide { grid-column: 1 / -1; }

/* social */
.social-list { border-top: 2px solid var(--line); }
.social-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
              padding: .95rem .4rem; border-bottom: 1px solid var(--line); text-decoration: none;
              transition: background .2s ease, padding .2s ease; }
.social-row .platform { font-family: var(--display); font-size: 1.6rem; color: var(--ink); }
.social-row .handle { color: var(--muted); font-size: .98rem; }
.social-row:hover { background: var(--paper); padding-left: .9rem; }
.social-row:hover .platform { color: var(--teal-deep); }

/* subpages */
.page-top { padding: 2.4rem 0 1.3rem; border-bottom: 1px solid var(--line); margin-bottom: 2.2rem; }
.page-top h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5.4vw, 3.4rem);
               line-height: 1.02; margin: .1rem 0 .6rem; }
.page-top .lead { color: var(--muted); max-width: 62ch; margin: 0; }
.reading { max-width: 74ch; }
.story { margin: 0 0 2.3rem; }
.story h2 { font-size: 1.85rem; margin: 0 0 .7rem; }
.story p { color: var(--soft); margin: 0 0 .95rem; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { color: var(--soft); padding: .5rem 0 .5rem 1.1rem; position: relative;
               border-bottom: 1px dashed var(--line-soft); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 7px; height: 7px;
                       background: var(--teal); transform: rotate(45deg); }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.7rem; margin-top: 1.1rem; }
.credit-col h3 { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wood);
                 margin: 0 0 .45rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--soft); font-size: 1rem; padding: .3rem 0; border-bottom: 1px dashed var(--line-soft); }
.stat-strip { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .3rem; }
.stat { border: 1px solid var(--line); border-top: 3px solid var(--teal); background: var(--paper);
        padding: .8rem 1.1rem; min-width: 150px; }
.stat b { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--wood); }
.stat span { color: var(--muted); font-size: .92rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { font-size: 1.14rem; line-height: 1.35; 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(--wood); }
.faq-list details[open] summary::after { content: "/"; color: var(--teal); }
.faq-list .answer p { color: var(--soft); margin: .6rem 0 0; max-width: 70ch; }

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

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

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { margin: 0 auto 0 0; max-width: 460px; }
  .partner-grid { grid-template-columns: repeat(2, 250px); justify-content: flex-start; }
  .fact-cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-photo { max-width: 400px; }
  .career-split { grid-template-columns: 1fr; gap: 1.8rem; }
  .credit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .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: 17px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .45rem 1rem; }
  .main-nav { gap: .6rem .9rem; }
  .main-nav a { font-size: .95rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 124px; }
  .partner-card img { max-width: 134px; max-height: 54px; }
  .gallery { grid-template-columns: 1fr; }
  .g-wide { grid-column: auto; }
  .hero-photo { max-width: 100%; }
  .hero-photo .wheel { left: -6px; bottom: -26px; width: 158px; height: 90px; }
  .hero-photo .ripple { width: 180px; }
  .credit-grid { grid-template-columns: 1fr; }
  .social-row { flex-direction: column; gap: .15rem; }
  .section { padding: 2.3rem 0; }
  .about-text p:first-child::first-letter { font-size: 2.4rem; }
}
