/* crystal-greenvelle.com · Lace */
:root {
  --bg: #faf6f0;
  --panel: #f6efe7;
  --panel-2: #f1e8dd;
  --card: #fffcf7;
  --ink: #3b2b31;
  --soft: #5c4a50;
  --muted: #7d5c65;
  --rose: #8a6a72;
  --deep: #6e4f58;
  --deep-hover: #5c414a;
  --gold: #c8a86a;
  --line: #e4d6c7;
  --btn-text: #fdf8f2;
  --radius: 16px;
  --shell: 1140px;
  --display: 'Great Vibes', 'Segoe Script', cursive;
  --body: 'Crimson Text', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { background: #faf6f0; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
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(2rem, 4.4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: .01em;
  margin: 0 0 .6rem;
  color: var(--ink);
}
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--deep);
  margin: 0 0 .55rem;
}
.section-sub { color: var(--muted); max-width: 64ch; margin: 0 0 1.6rem; }
.note { color: var(--muted); font-size: .92rem; margin: 1rem 0 0; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; padding: .72rem 24px; flex-wrap: wrap; }
.wordmark {
  font-family: var(--display); font-size: 1.62rem; line-height: 1;
  text-decoration: none; color: var(--ink); white-space: nowrap; padding-bottom: .1rem;
}
.main-nav { display: flex; align-items: center; gap: 1.05rem; flex-wrap: wrap; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: .95rem; padding: .12rem 0; border-bottom: 1px solid transparent; }
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--deep); border-bottom-color: var(--deep); }

/* buttons: base first, then explicit .main-nav overrides (cascade: 0-2-0 beats 0-1-0) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--deep); color: var(--btn-text);
  font-family: var(--body); font-weight: 600; font-size: 1rem; letter-spacing: .02em;
  border: 1px solid var(--deep); border-radius: 999px; padding: .72rem 1.45rem;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn:hover { background: var(--deep-hover); border-color: var(--deep-hover); color: var(--btn-text); box-shadow: 0 10px 26px rgba(110, 79, 88, .22); transform: translateY(-1px); }
.btn-sm { padding: .42rem 1.05rem; font-size: .9rem; }
.main-nav a.btn { color: var(--btn-text); background: var(--deep); border: 1px solid var(--deep); font-weight: 600; }
.main-nav a.btn:hover { color: var(--btn-text); background: var(--deep-hover); border-color: var(--deep-hover); }

/* hero */
.hero { padding: 3.2rem 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero-kicker { font-weight: 600; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--deep); margin: 0 0 .9rem; }
.hero-title { font-family: var(--display); font-weight: 400; margin: 0 0 .85rem; font-size: clamp(3.1rem, 7.2vw, 5.1rem); line-height: 1; color: var(--ink); }
.hero-tagline { font-size: 1.24rem; font-style: italic; color: var(--soft); margin: 0 0 .85rem; max-width: 34ch; }
.hero-intro { color: var(--muted); max-width: 50ch; margin: 0 0 1.6rem; }
.hero-photo { margin: 0; justify-self: center; width: min(430px, 100%); padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 240px 240px 16px 16px; box-shadow: 0 22px 50px rgba(110, 79, 88, .16); }
.hero-photo img { display: block; width: 100%; height: auto; border-radius: 230px 230px 10px 10px; object-fit: cover; aspect-ratio: 2 / 3; object-position: center 18%; }
.hero-arc-wrap { display: flex; justify-content: center; margin-top: -2.2rem; }
.hero-arc { width: min(716px, 92%); height: auto; color: var(--gold); opacity: .8; }

/* sections */
.section { padding: 2.9rem 0; }
.section-tight { padding-top: 1.2rem; }
.section-last { padding-bottom: 4.2rem; }
.lace-divider { height: 14px; max-width: var(--shell); margin: 0 auto; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2752%27%20height%3D%2714%27%20viewBox%3D%270%200%2052%2014%27%3E%3Cpath%20d%3D%27M0%2013%20A13%2013%200%200%201%2026%2013%20A13%2013%200%200%201%2052%2013%27%20fill%3D%27none%27%20stroke%3D%27%23c8a86a%27%20stroke-width%3D%271%27%2F%3E%3C%2Fsvg%3E"); background-repeat: repeat-x; background-position: center; opacity: .75; }

/* 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); border-radius: 14px; background: var(--card); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.partner-card:hover { border-color: var(--gold); box-shadow: 0 14px 30px rgba(110, 79, 88, .14); transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.chip { display: flex; align-items: baseline; gap: .55rem; border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: .5rem 1.05rem; }
.chip .k { font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); }
.chip .v { font-size: .98rem; color: var(--ink); }
.chip-solo .v { font-weight: 600; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 2.8rem; align-items: start; }
.about-cols p { margin: 0 0 1rem; color: var(--soft); }
.inset-carte { justify-self: center; }
.inset-carte figure { margin: 0; width: min(300px, 100%); padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 150px 150px 14px 14px; box-shadow: 0 16px 36px rgba(110, 79, 88, .14); position: relative; }
.inset-carte figure::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 10px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2720%27%20height%3D%2710%27%20viewBox%3D%270%200%2020%2010%27%3E%3Ccircle%20cx%3D%2710%27%20cy%3D%275%27%20r%3D%272.2%27%20fill%3D%27none%27%20stroke%3D%27%23c8a86a%27%20stroke-width%3D%271%27%2F%3E%3C%2Fsvg%3E"); background-repeat: repeat-x; background-position: center; }
.inset-carte img { display: block; width: 100%; height: auto; border-radius: 140px 140px 8px 8px; aspect-ratio: 2 / 3; object-fit: cover; object-position: center 20%; }

/* lace cards */
.lace-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 1.6rem 0 .4rem; }
.lace-card { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 1.2rem 1.2rem 1.35rem; position: relative; }
.lace-card::before { content: ""; position: absolute; top: 7px; left: 8px; right: 8px; height: 10px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2720%27%20height%3D%2710%27%20viewBox%3D%270%200%2020%2010%27%3E%3Ccircle%20cx%3D%2710%27%20cy%3D%275%27%20r%3D%272.2%27%20fill%3D%27none%27%20stroke%3D%27%23c8a86a%27%20stroke-width%3D%271%27%2F%3E%3C%2Fsvg%3E"); background-repeat: repeat-x; opacity: .8; }
.lace-eye { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: .35rem 0 .7rem; border: 1.5px solid var(--gold); border-radius: 50%; font-weight: 600; font-size: .78rem; letter-spacing: .06em; color: var(--deep); background: var(--card); }
.lace-card h3 { font-family: var(--body); font-weight: 600; font-size: 1.12rem; margin: 0 0 .35rem; color: var(--ink); }
.lace-card p { margin: 0; color: var(--muted); font-size: .97rem; }
.career-tail { margin-top: 2rem; max-width: 74ch; }

/* timeline: lace teeth line */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 14px; top: .55em; bottom: .8em; width: 3px; background-image: radial-gradient(circle, var(--gold) 1.5px, transparent 1.9px); background-size: 3px 9px; background-repeat: repeat-y; opacity: .85; }
.timeline li { position: relative; padding: 0 0 1.4rem 2.35rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 9.5px; top: .34em; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--rose); }
.timeline li:last-child::before { background: var(--gold); border-color: var(--gold); }
.timeline .when { display: block; font-weight: 600; font-size: .95rem; color: var(--deep); }
.timeline .what { display: block; color: var(--soft); }

/* gallery: 2 x 2 mounted frames */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.gallery figure { margin: 0; padding: 9px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 32px rgba(110, 79, 88, .12); }
.gallery img { display: block; width: 100%; height: auto; border-radius: 6px; aspect-ratio: 2 / 3; object-fit: cover; object-position: center 16%; }
.gallery .gb { transform: translateY(30px); }
.gallery { padding-bottom: 34px; }

/* subpages */
.page-top { padding: 2.5rem 0 1.3rem; border-bottom: 1px solid var(--line); margin-bottom: 2.3rem; }
.page-top h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5.4vw, 3.6rem); line-height: 1.02; margin: .1rem 0 .7rem; }
.page-top .lead { color: var(--muted); max-width: 62ch; margin: 0; }
.reading { max-width: 76ch; }
.story { margin: 0 0 2.4rem; }
.story h2 { font-size: clamp(1.6rem, 3.2vw, 2rem); margin: 0 0 .7rem; }
.story p { color: var(--soft); margin: 0 0 1rem; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { color: var(--soft); padding: .5rem 0 .5rem 1.15rem; position: relative; border-bottom: 1px solid var(--panel-2); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.12em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.7rem; margin-top: 1.1rem; }
.credit-col h3 { font-weight: 600; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--deep); margin: 0 0 .5rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--soft); font-size: .95rem; padding: .32rem 0; border-bottom: 1px solid var(--panel-2); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; }
.stat { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: .85rem 1.2rem; min-width: 150px; }
.stat b { display: block; font-family: var(--body); font-weight: 700; font-size: 1.5rem; color: var(--deep); }
.stat span { color: var(--muted); font-size: .88rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { font-weight: 600; font-size: 1.08rem; line-height: 1.35; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--deep); font-weight: 600; }
.faq-list details[open] summary::after { content: "·"; color: var(--gold); }
.faq-list .answer p { color: var(--soft); margin: .7rem 0 0; max-width: 72ch; }

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

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

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { width: min(360px, 100%); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .inset-carte { justify-self: start; }
  .lace-cards { grid-template-columns: 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; }
  .main-nav { gap: .55rem .85rem; }
  .main-nav a { font-size: .9rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 126px; }
  .partner-card img { max-width: 132px; max-height: 52px; }
  .gallery { grid-template-columns: 1fr; gap: 20px; padding-bottom: 0; }
  .gallery .gb { transform: none; }
  .credit-grid { grid-template-columns: 1fr; }
  .section { padding: 2.2rem 0; }
  .hero-arc-wrap { margin-top: -1.4rem; }
}
