/* cindydollarweb.com : Riesling theme, hillside lines and contour marks */
:root {
  --bg: #f6faf5;
  --panel: #ffffff;
  --ink: #3a4a42;
  --soft: #44554b;
  --muted: #5b6a60;
  --moss: #567238;
  --riesling: #8aa85a;
  --contour: #b9cfae;
  --line: #d7e2d2;
  --line-soft: #e6eee2;
  --foot: #eef4ea;
  --display: 'Gafata', 'Georgia', serif;
  --body: 'Nova Flat', 'Helvetica Neue', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--soft);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.74;
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 400; line-height: 1.14; letter-spacing: .005em; }
p { margin: 0 0 1rem; }
.shell { width: min(1180px, 100% - 44px); margin: 0 auto; }

/* header, nav, buttons: contrast-critical rules kept explicit */
.site-header { position: sticky; top: 0; z-index: 30; background: #f6faf5; border-bottom: 1px solid #d7e2d2; }
.header-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
                gap: .45rem 1.7rem; padding: 14px 0 12px; }
.wordmark { font-family: var(--display); font-size: 1.34rem; color: #3a4a42; text-decoration: none; letter-spacing: .02em; }
.main-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem 1.15rem; }
.main-nav a { color: #3a4a42; text-decoration: none; font-size: .93rem; padding: .1rem 0; border-bottom: 1px solid transparent; }
.main-nav a:hover { color: #2c3a33; border-bottom-color: #8aa85a; }
.main-nav a[aria-current="page"] { color: #4a5a3a; border-bottom-color: #4a5a3a; }
.main-nav a.btn { color: #f6faf5; background-color: #3a4a42; border: 1px solid #3a4a42; border-radius: 3px;
                  padding: .45rem 1rem; font-size: .9rem; }
.main-nav a.btn:hover { color: #ffffff; background-color: #2c3a33; border-color: #2c3a33; }
.btn { display: inline-block; font-family: var(--body); font-size: 1rem; line-height: 1.3; color: #f6faf5;
       background-color: #3a4a42; border: 1px solid #3a4a42; border-radius: 3px; padding: .74rem 1.55rem;
       text-decoration: none; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.btn:hover { color: #ffffff; background-color: #2c3a33; border-color: #2c3a33; }
.ridge { color: var(--contour); line-height: 0; }
.ridge svg { width: 100%; height: 22px; display: block; }
.ridge-header { position: absolute; left: 0; right: 0; bottom: -1px; opacity: .75; pointer-events: none; }

/* hero: centred photo with hillside lines on both sides */
.hero { position: relative; overflow: hidden; padding: 2.4rem 0 2.1rem; }
.hero-hills { position: absolute; inset: 0; pointer-events: none; color: var(--riesling); }
.hill { position: absolute; opacity: .38; }
.hill-left { left: -18px; top: 34%; width: 300px; }
.hill-right { right: -18px; top: 12%; width: 320px; }
.hero-core { position: relative; z-index: 1; max-width: 760px; text-align: center; }
.eyebrow { font-size: .8rem; letter-spacing: .19em; text-transform: uppercase; color: var(--moss); margin: 0 0 .55rem; }
.hero h1 { font-size: clamp(2.9rem, 7.2vw, 4.7rem); margin: 0 0 .7rem; }
.hero-lead { font-size: 1.06rem; color: var(--soft); margin: 0 auto 1.5rem; max-width: 60ch; }
.hero-cta { margin: 0 0 1.9rem; }
.hero-photo { margin: 0 auto 1.4rem; width: min(400px, 100%); padding: 11px; background: var(--panel);
              border: 1px solid var(--line); }
.hero-photo img { width: 100%; }
.hero-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center;
             gap: .4rem 1.5rem; font-size: .89rem; color: var(--muted); }
.hero-meta li { position: relative; padding-left: 1rem; }
.hero-meta li::before { content: ""; position: absolute; left: 0; top: .62em; width: 11px; height: 6px;
                        border: 1px solid var(--riesling); border-radius: 50%; }

/* sections */
.section { padding: 2.7rem 0; border-top: 1px solid var(--line-soft); }
.section-head { margin: 0 0 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem; align-items: baseline; }
.section-no { font-family: var(--display); font-size: 1.12rem; color: var(--moss); grid-row: span 2; }
.section-head h2 { font-size: clamp(1.55rem, 3.1vw, 2.05rem); margin: 0; }
.section-lead { grid-column: 2; margin: .25rem 0 0; color: var(--muted); max-width: 64ch; font-size: .97rem; }

/* 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(--line); background: var(--panel);
                transition: border-color .2s ease, box-shadow .2s ease; }
.partner-card:hover { border-color: var(--riesling); box-shadow: 0 10px 24px rgba(58, 74, 66, .12); }
.partner-card img { max-width: 190px; max-height: 70px; width: auto; height: auto; object-fit: contain; }

/* quick profile: three cards with contour marks */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--riesling);
        padding: 1.05rem 1.2rem 1.25rem; }
.card-contour { width: 150px; height: 34px; color: var(--contour); display: block; margin: 0 0 .55rem; }
.card h3 { font-size: 1.16rem; margin: 0 0 .6rem; }
.card-rows { display: block; }
.card-row { display: flex; justify-content: space-between; gap: 1rem; padding: .48rem 0; border-bottom: 1px solid var(--line-soft); }
.card-row:last-child { border-bottom: 0; }
.card-row .k { color: var(--muted); font-size: .87rem; flex: 0 0 auto; }
.card-row .v { color: var(--ink); font-size: .9rem; text-align: right; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 2.6rem; align-items: start; }
.about-text p { color: var(--soft); }
.aside-plate { border: 1px solid var(--line); background: var(--panel); padding: 1rem 1.1rem 1.15rem; }
.aside-plate .contour-band { width: 100%; height: 92px; color: var(--contour); display: block; margin: 0 0 .85rem; }
.aside-note { color: var(--muted); font-size: .9rem; margin: 0 0 .5rem; }
.aside-note:last-child { margin-bottom: 0; }

/* career */
.career-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 2.6rem; align-items: start; }
.career-text p { color: var(--soft); }
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 1.7rem; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -1.7rem; top: .52em; width: 15px; height: 9px;
                       margin-left: -8px; border: 1px solid var(--riesling); border-radius: 50%;
                       background: var(--bg); transform: rotate(-10deg); }
.timeline .when { display: block; font-family: var(--display); font-size: .97rem; color: var(--moss); margin-bottom: .1rem; }
.timeline .what { display: block; color: var(--soft); font-size: .94rem; }

/* gallery: two columns, one wide tile, then the two small previews */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.tile { margin: 0; padding: 9px; background: var(--panel); border: 1px solid var(--line); }
.tile img { width: 100%; }
.t-1 { grid-column: 1; }
.t-2 { grid-column: 2; }
.t-3 { grid-column: 1 / -1; }
.t-1 img { aspect-ratio: 2 / 3; object-fit: cover; }
.t-2 img { aspect-ratio: 2 / 3; object-fit: cover; }
.t-3 img { aspect-ratio: 32 / 21; object-fit: cover; }
.tile-pair { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.tile-small { width: 296px; }
.t-5.tile-small { width: 280px; }

/* social */
.social-list { border-top: 1px 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 .18s ease, padding .18s ease; }
.social-row .platform { font-family: var(--display); font-size: 1.14rem; color: var(--ink); }
.social-row .handle { color: var(--muted); font-size: .92rem; }
.social-row:hover { background: #edf4e8; padding-left: .85rem; }
.social-row:hover .platform { color: var(--moss); }

/* subpages */
.page-top { position: relative; padding: 2.4rem 0 1.3rem; border-bottom: 1px solid var(--line); margin-bottom: 2.1rem; }
.page-top .shell { position: relative; }
.page-top h1 { font-size: clamp(2.1rem, 4.6vw, 3.05rem); margin: .1rem 0 .7rem; }
.page-top .lead { color: var(--muted); max-width: 66ch; margin: 0; }
.reading { position: relative; max-width: min(76ch, 730px); }
.reading-plate { position: absolute; top: 1.1rem; right: 0; width: 300px; pointer-events: none; }
.reading-plate .contour-band { width: 100%; height: 120px; color: var(--contour); opacity: .5; display: block; }
.story { margin: 0 0 2.3rem; }
.story h2 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); margin: 0 0 .8rem; }
.story p { color: var(--soft); }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { color: var(--soft); font-size: .95rem; padding: .5rem 0; border-bottom: 1px solid var(--line-soft); }
.credit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 3rem; }
.credit-col h2 { font-size: 1.18rem; margin: 0 0 .5rem; }
.notes-block { margin-top: 2.1rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { font-family: var(--display); font-size: 1.1rem; line-height: 1.4; color: var(--ink);
                    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); }
.faq-list details[open] summary::after { content: "x"; color: var(--ink); }
.faq-list .answer p { color: var(--soft); margin: .7rem 0 0; max-width: 72ch; }

/* footer */
.site-footer { position: relative; border-top: 1px solid var(--line); background: #eef4ea;
               padding: 1.6rem 0 2rem; margin-top: 1rem; }
.ridge-footer { position: absolute; left: 0; right: 0; top: -1px; opacity: .8; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 1.1rem 2rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-size: 1.1rem; color: var(--ink); }
.brand-line { color: var(--muted); font-size: .86rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .9rem; justify-content: center; }
.language-nav a { color: #3a4a42; text-decoration: none; font-size: .87rem; }
.language-nav a:hover { color: #2c3a33; }
.language-nav a[aria-current="page"] { color: #4a5a3a; font-weight: 600; }
.footer-legal { color: var(--muted); font-size: .86rem; margin: 0; text-align: right; }

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

@media (max-width: 1040px) {
  .hero-hills { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .about-grid, .career-grid { grid-template-columns: 1fr; gap: 2rem; }
  .reading-plate { display: none; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 860px) {
  .credit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell { width: min(1180px, 100% - 32px); }
  .hero { padding: 1.9rem 0 2rem; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.1rem); }
  .hero-photo { width: min(360px, 100%); }
  .main-nav { gap: .25rem .85rem; }
  .main-nav a { font-size: .86rem; }
  .cards { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 116px; }
  .partner-card img { max-width: 126px; max-height: 48px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .t-1, .t-2, .t-3, .tile-pair { grid-column: 1; }
  .t-1 img { aspect-ratio: 2 / 3; }
  .t-2 img { aspect-ratio: 2 / 3; }
  .t-3 img { aspect-ratio: 32 / 21; }
  .tile-small, .t-5.tile-small { width: auto; max-width: 100%; }
  .social-row { flex-direction: column; gap: .15rem; }
  .section { padding: 2.1rem 0; }
}
