/* Minimal, apparel-style theme: white, black, thin rules, square edges. */
:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #767676;
  --line: #e5e5e5;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 var(--sans); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--muted); }

h1, h2, h3 { font-family: var(--sans); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 600; letter-spacing: -0.035em; margin-bottom: .5em; }
h2 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; margin: 2.6em 0 .8em; }
h3 { font-size: 1rem; font-weight: 600; }

/* small caps-style labels used across the site */
.label, .eyebrow, .section-title, nav a, .btn, .post-meta, .site-footer {
  font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow { color: var(--muted); margin: 0 0 1.4em; }
.section-title { color: var(--muted); margin: 4.5em 0 1.2em; }

/* header / footer */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.brand { font-weight: 600; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
nav { display: flex; gap: 28px; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover, nav a.active { color: var(--text); }
nav a.active { text-decoration: underline; text-underline-offset: 6px; }
main.wrap { padding-top: 80px; padding-bottom: 120px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; padding-bottom: 36px; }
.site-footer a { color: var(--muted); text-decoration: none; margin-left: 24px; }
.site-footer a:first-child { margin-left: 0; }
.site-footer a:hover { color: var(--text); }

/* text */
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--text); margin: 0 0 1.2em; max-width: 34em; }
p { margin: 0 0 1.1em; }
.muted { color: var(--muted); }

/* buttons: square, black */
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.btn { display: inline-block; padding: 14px 26px; border: 1px solid var(--text); background: var(--text); color: var(--bg); text-decoration: none; }
.btn:hover { background: var(--bg); color: var(--text); }
.btn.ghost { background: transparent; color: var(--text); }
.btn.ghost:hover { background: var(--text); color: var(--bg); }

/* "spec sheet" rows: label left, value right */
.specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.specs li { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs .label { color: var(--muted); padding-top: 3px; }

/* lists of posts */
.post-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.post-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-list a:hover .post-title { text-decoration: underline; text-underline-offset: 4px; }
.post-meta { color: var(--muted); }

/* projects */
.card { padding: 36px 0; border-top: 1px solid var(--line); }
.card:last-of-type { border-bottom: 1px solid var(--line); }
.card h2 { margin: 0 0 .6em; }

/* resume */
.cv-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cv-item:first-of-type { border-top: 1px solid var(--line); }
.cv-head { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.cv-head span { color: var(--muted); margin-left: auto; font-size: .9rem; }
.cv-item ul { margin: 8px 0 0; padding-left: 18px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); padding: 6px 12px; font-size: .88rem; }

/* posts */
.post p, .post li { font-size: 1.06rem; }
.post .eyebrow .tag { color: var(--text); margin-right: 1em; }
.post .back { margin-top: 64px; }
.post.fa, [dir="rtl"] body { font-family: "Vazirmatn", var(--sans); }
[dir="rtl"] .cv-head span { margin-left: 0; margin-right: auto; }

img { max-width: 100%; height: auto; display: block; }
blockquote { margin: 2em 0; padding-left: 20px; border-left: 1px solid var(--text); font-size: 1.15rem; }

@media (max-width: 560px) {
  main.wrap { padding-top: 48px; padding-bottom: 80px; }
  nav { gap: 18px; }
  .specs li { grid-template-columns: 1fr; gap: 2px; }
}

/* text links (homepage) */
.text-links { display: flex; gap: 14px 24px; flex-wrap: wrap; margin-top: 36px; }
.text-links a { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-underline-offset: 6px; }

.site-header .wrap, .site-footer .wrap { max-width: none; padding-left: clamp(24px, 6vw, 88px); padding-right: clamp(24px, 6vw, 88px); }
@media (max-width: 560px) { .text-links { gap: 18px; } .text-links a { letter-spacing: .08em; } }

/* homepage: split screen, photo left / text right */
main.full { padding: 0; }
.split-screen { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 71px); }
.split-photo { margin: 0; position: relative; }
.split-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.split-text { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; padding: 88px clamp(24px, 6vw, 88px) 56px; }
.split-text .lede { max-width: 26em; }
.split-latest .section-title { margin: 0 0 14px; }
@media (max-width: 820px) {
  .split-screen { grid-template-columns: 1fr; min-height: 0; }
  .split-photo img { position: static; aspect-ratio: 4 / 5; height: auto; }
  .split-text { padding: 40px 24px 64px; gap: 56px; }
}

/* wider pages (jewelry gallery) */
main.wrap.wide { max-width: 1120px; }
main.wide .page { max-width: 712px; }
.jewelry-intro { max-width: 36em; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery .wide-fig { grid-column: 1 / -1; }
.gallery .wide-fig img { aspect-ratio: 16 / 9; }
.gallery figcaption { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .gallery img, .gallery .wide-fig img { aspect-ratio: auto; } }

/* portfolio */
h3 { margin: 2em 0 .8em; font-size: 1.05rem; }
.specs strong { font-weight: 600; }
.small { font-size: .85rem; line-height: 1.6; margin-top: 16px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.specs li { grid-template-columns: 10em 1fr; }
p.text-links { margin: 32px 0 0; }

/* Projects dropdown in the header */
.nav-drop { position: relative; }
.drop-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 14px; display: none; z-index: 20; }
.drop-inner { background: var(--bg); border: 1px solid var(--line); padding: 18px 22px; min-width: 230px; display: flex; flex-direction: column; gap: 8px; }
.drop-inner .drop-group { margin: 6px 0 0; color: var(--muted); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.drop-inner .drop-group:first-child { margin-top: 0; }
.drop-inner a { text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--text); padding-left: 0; }
.drop-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }
.drop-inner .drop-group + a { margin-bottom: 6px; }

/* projects index */
.project-row { display: grid; grid-template-columns: 14em 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.project-name { font-weight: 600; font-size: 1.1rem; }
.project-desc { color: var(--muted); }
.project-row:hover .project-name { text-decoration: underline; text-underline-offset: 4px; }
.crumb a, .eyebrow a { color: var(--muted); }

/* project stats */
.stats { list-style: none; padding: 0; margin: 40px 0 8px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--text); }
.stats li { padding: 18px 16px 0 0; }
.stats .stat { display: block; font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 8px; }
.stats .label { color: var(--muted); font-size: .66rem; line-height: 1.5; display: block; }

/* resume shown as a sheet of paper */
p.text-links.resume-links { margin: 0 0 40px; }
.resume-sheet { display: block; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.08); }
.resume-sheet img { width: 100%; height: auto; }

@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .project-row { grid-template-columns: 1fr; gap: 4px; }
  .drop-menu { left: 0; transform: none; }
}
nav { align-items: center; } .nav-drop { display: flex; } nav a { line-height: 1.7; }

/* simpler dropdown: two items, and room under the header so it never covers the name */
.drop-inner { min-width: 190px; padding: 16px 20px; gap: 10px; }
.drop-inner a { margin: 0 !important; }
.split-text { padding-top: 150px; }
@media (max-width: 820px) { .split-text { padding-top: 40px; } }
/* dropdown style S: grey capitals, no box, lined up under "Projects" */
.drop-menu { left: 0; transform: none; padding-top: 29px; }
.drop-inner { background: var(--bg); border: 0; padding: 14px 20px 12px 0; min-width: 0; gap: 12px; }
.drop-inner a { white-space: nowrap; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.drop-inner a:hover { color: var(--text); text-decoration: none; }

/* journal */
.post-meta { text-transform: none; letter-spacing: .02em; font-size: .8rem; }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 48px; }
.post-tags a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.post-tags a:hover { color: var(--text); }
.post-list li[hidden] { display: none; }
.post p.eyebrow { font-size: .72rem; }
.journal-label { margin: 0 0 16px; } .journal-label a { color: var(--muted); }

/* projects page: two columns by category */
.projects { max-width: 960px; margin: 0 auto; }
.proj-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 8px; }
.proj-col { border-top: 1px solid var(--text); padding-top: 16px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.proj-col h2.label { margin: 0; font-size: .72rem; font-weight: 500; color: var(--muted); }
.proj-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.proj-card img, .proj-tile { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.proj-tile { background: var(--text); color: var(--bg); display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; }
.proj-stat { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.proj-stat-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .65; margin-top: 10px; }
.proj-name { font-size: 1.1rem; font-weight: 600; }
.proj-card:hover .proj-name { text-decoration: underline; text-underline-offset: 4px; }
.proj-card:hover img, .proj-card:hover .proj-tile { opacity: .92; }
@media (max-width: 640px) { .proj-cols { grid-template-columns: 1fr; gap: 40px; } }
/* header: name and menu sit on the same baseline */
.header-inner { align-items: baseline; }
nav { align-items: baseline; }
.brand, nav a { line-height: 1; }
.header-inner { padding-top: 27px; padding-bottom: 27px; }
.home-brief { max-width: 31em; font-size: 1rem; line-height: 1.7; margin: 0 0 1em; }

/* justify running text on every page (hyphens keep the spacing even on phones) */
main p, main li, .specs li > span:last-child { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
main .eyebrow, main .section-title, main .label, main .text-links, main .post-tags { text-align: left; }

/* homepage photo option B: framed photo with white space around it */
.split-screen { grid-template-columns: 1fr 1.25fr; align-items: center; gap: 24px; min-height: 0; max-width: 1400px; margin: 0 auto; padding: 64px 0 64px clamp(24px, 6vw, 88px); }
.split-photo img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 5; }
.split-text { padding-top: 0; padding-bottom: 0; }
@media (max-width: 820px) {
  .split-screen { grid-template-columns: 1fr; gap: 0; padding: 24px 24px 0; }
  .split-text { padding: 40px 0 64px; }
}
.split-photo img { width: auto; max-width: 100%; max-height: calc(100vh - 200px); }

/* mobile header: more room under the name, and a roomier dropdown */
@media (max-width: 820px) {
  .header-inner { row-gap: 26px; }
  .drop-menu { padding-top: 34px; }
  .drop-inner { padding: 18px 24px 22px 0; gap: 16px; }
}
@media (max-width: 820px) {
  .site-header { position: relative; }
  .nav-drop { position: static; }
  .drop-menu { left: 0; right: 0; top: calc(100% + 1px); padding-top: 0; }
  .drop-inner { padding: 22px clamp(24px, 6vw, 88px) 24px; gap: 18px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .drop-inner { padding-left: var(--drop-indent, 96px); padding-right: 24px; }
}
@media (max-width: 820px) { .header-inner { row-gap: 40px; } }

.home-contact { margin-top: 28px; }

/* homepage on laptops/desktops: everything (header, photo, text, footer) fits in one screen */
@media (min-width: 821px) {
  body.home { display: flex; flex-direction: column; min-height: 100vh; }
  body.home main.full { flex: 1; display: flex; align-items: center; }
  body.home .split-screen { width: 100%; padding-top: 32px; padding-bottom: 32px; }
  body.home .split-photo img { max-height: calc(100vh - 72px - 82px - 64px); }
}
@media (min-width: 821px) {
  body.home { min-height: 100vh; }
  body.home main.full { min-height: 0; }
  body.home .site-footer .footer-inner { padding-top: 18px; padding-bottom: 18px; }
  body.home .split-photo img { max-height: calc(100vh - 72px - 60px - 56px); }
  body.home .split-screen { padding-top: 28px; padding-bottom: 28px; }
}
/* shorter laptop screens: tighten the text a little so it still fits */
@media (min-width: 821px) and (max-height: 760px) {
  body.home .split-text h1 { font-size: 2.6rem; margin-bottom: .35em; }
  body.home .home-brief { font-size: .93rem; line-height: 1.6; margin-bottom: .8em; }
  body.home .home-contact { margin-top: 16px; }
}
@media (min-width: 821px) and (max-height: 660px) {
  body.home .home-brief { font-size: .88rem; line-height: 1.55; }
}

/* visual merchandising gallery: the full wall large on the left, four mannequins beside it */
.vm-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; margin-top: 48px; }
.vm-gallery figure { margin: 0; }
.vm-gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.vm-gallery .vm-wall { grid-row: span 2; }
.vm-gallery .vm-wall img { aspect-ratio: auto; }
.proj-col { gap: 28px; }
.proj-col .proj-card + .proj-card { margin-top: 8px; }
@media (max-width: 640px) {
  .vm-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vm-gallery .vm-wall { grid-column: 1 / -1; grid-row: auto; }
  .vm-gallery .vm-wall img { aspect-ratio: 3 / 4; }
}

/* second-level list under "Retail projects" */
.sub-drop { display: flex; flex-direction: column; }
.sub-menu { display: none; flex-direction: column; gap: 12px; padding: 12px 0 2px 14px; margin-left: 1px; border-left: 1px solid var(--line); }
.sub-toggle .chev { display: inline-block; margin-left: 4px; transition: transform .15s ease; }
.drop-inner .sub-menu a { white-space: nowrap; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.drop-inner .sub-menu a:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .sub-toggle .chev { transition: none; } }

/* menu open states are set by the script (hover with a mouse, tap on touch); keyboard focus also opens them */
.nav-drop.open .drop-menu, .nav-drop:has(:focus-visible) .drop-menu { display: block; }
.sub-drop.open .sub-menu, .sub-drop:has(:focus-visible) .sub-menu { display: flex; }
.sub-drop.open .chev, .sub-drop:has(:focus-visible) .chev { transform: rotate(90deg); }


/* visual merchandising: rows where every photo has the same height and the row fills the page width */
.vm-justify { display: flex; gap: 20px; margin-top: 20px; }
.vm-justify figure { margin: 0; flex: var(--r) 1 0; min-width: 0; }
.vm-justify img { width: 100%; height: auto; aspect-ratio: var(--r); object-fit: cover; display: block; }
@media (max-width: 640px) {
  .vm-justify { flex-wrap: wrap; gap: 12px; margin-top: 12px; }
  .vm-justify figure { flex: var(--r) 1 calc(var(--r) * 150px); }
}

/* visual merchandising: one even grid, every photo the same square size */
.vm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.vm-grid figure { margin: 0; }
.vm-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
@media (max-width: 640px) { .vm-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; } }

/* more breathing room between dropdown options */
.drop-inner { gap: 20px; }
.sub-menu { gap: 18px; padding-top: 18px; padding-bottom: 4px; }
@media (max-width: 820px) { .drop-inner { gap: 24px; } .sub-menu { gap: 22px; padding-top: 22px; } }
.sub-menu { margin-left: 7px; padding-left: 15px; }
/* sub-list guide line: starts lower and runs only beside the two items */
.sub-menu { position: relative; border-left: 0; --line-top: 18px; }
.sub-menu::before { content: ""; position: absolute; left: 0; top: calc(var(--line-top) + 2px); bottom: 6px; width: 1px; background: var(--line); }
@media (max-width: 820px) { .sub-menu { --line-top: 22px; } }

/* Asoo Design: even 3-column grid of equal squares (same style as Visual Merchandising) */
.gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } .gallery img { aspect-ratio: 1 / 1; } }
/* homepage brief is three short paragraphs: keep it on one screen on shorter laptops */
@media (min-width: 821px) and (max-height: 840px) {
  body.home .split-text h1 { font-size: 2.5rem; margin-bottom: .3em; }
  body.home .home-brief { font-size: .92rem; line-height: 1.58; margin-bottom: .7em; }
}
@media (min-width: 821px) and (max-height: 700px) {
  body.home .split-text h1 { font-size: 2.1rem; }
  body.home .home-brief { font-size: .84rem; line-height: 1.5; margin-bottom: .55em; }
  body.home .split-screen { padding-top: 18px; padding-bottom: 18px; }
}
@media (min-width: 821px) and (max-width: 1100px) { body.home .split-screen { grid-template-columns: 1fr 1.5fr; } }

/* Weekly Insights Report page */
.insights h2 { margin-top: 2.4em; }
.insights .specs { margin-top: 28px; }
.insights .specs strong { display: block; margin-bottom: 4px; }
.learned { padding-left: 18px; }
.learned li { margin-bottom: .6em; }
.caption { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; text-align: left; }
.report-anatomy { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.sheet { border: 1px solid var(--line); background: #f7f7f5; padding: 16px; display: flex; flex-direction: column; gap: 14px; aspect-ratio: 3 / 4; }
.sheet-title { margin: 0; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: left; }
.sheet-kpis { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 26%; }
.kpi { background: #e4e3df; }
.kpi.big { grid-row: span 2; background: #d2d1cc; }
.sheet-body { flex: 1; display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.mini-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini, .stacks { display: flex; align-items: flex-end; gap: 4px; border-bottom: 1px solid #c9c8c3; }
.mini i { flex: 1; background: #9fb3c4; }
.notes { background: #fff; border: 1px solid var(--line); padding: 10px 8px; display: flex; flex-direction: column; gap: 7px; }
.notes span { height: 5px; background: #e4e3df; }
.notes span:first-child { background: #c98a8a; width: 70%; }
.pairs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; flex: 1.2; }
.pair { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.pair b { height: 9px; background: #e8c27a; display: block; }
.pair b.now { background: #9fb3c4; margin-bottom: 4px; }
.stacks { flex: 1; }
.stacks i { flex: 1; background: linear-gradient(to top, #e8c27a 0 55%, #b85b5b 55%); }
.tile-bars { display: flex; align-items: flex-end; gap: 8px; height: 46%; width: 55%; margin-bottom: 18px; }
.tile-bars i { flex: 1; background: var(--bg); opacity: .85; }
@media (max-width: 640px) { .report-anatomy { grid-template-columns: 1fr; } }
.pair { justify-content: space-evenly; gap: 0; } .pair b { height: 14px; } .pair b.now { margin-bottom: 0; }

/* Limu phone screenshots */
.phone-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.phone-shots figure { margin: 0; }
.phone-shots img { width: 100%; border: 1px solid var(--line); border-radius: 14px; display: block; }
.phone-shots figcaption { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
@media (max-width: 640px) { .phone-shots { grid-template-columns: 1fr 1fr; } }

/* sample report image */
.sample-report { display: block; max-width: 560px; margin-top: 24px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.08); }
.sample-report img { width: 100%; height: auto; display: block; }

/* case-study layout: label column + content */
.case { max-width: 1040px; margin: 0 auto; }
.case .lede { max-width: 40em; }
.case-row { display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
.case-row:first-of-type { border-top: 1px solid var(--text); margin-top: 40px; }
.case-label { margin: 0; font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case-body > :first-child { margin-top: 0; }
.case-body p:last-child { margin-bottom: 0; }
.case-two { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.case .sample-report { margin-top: 0; max-width: none; }
.case .specs { margin-top: 0; }
.case .specs li { grid-template-columns: 7.5em 1fr; }
.case .learned { margin-top: 0; }
.phone-shots.two { grid-template-columns: 1fr 1fr; margin-top: 0; }
@media (max-width: 760px) {
  .case-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .case-two { grid-template-columns: 1fr; gap: 24px; }
}
main.wide .page.case { max-width: 1040px; }
.case-two .specs li { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
.case-two .specs li > span:last-child { text-align: left; }
.case-two .learned li { text-align: left; }

/* visual merchandising stories */
.vm-story figure, .vm-pair figure { margin: 0; }
.vm-story img, .vm-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.vm-story { align-items: center; }
.vm-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-text { margin-top: 24px; max-width: 40em; }
.vm-pair figcaption { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
/* smaller photos on the Visual Merchandising page */
.vm-pair { max-width: 560px; gap: 16px; }
.vm-story { grid-template-columns: 270px 1fr; }
@media (max-width: 760px) { .vm-story { grid-template-columns: 1fr; } .vm-story figure { max-width: 300px; } }
.vm-pair.vm-wide { max-width: 760px; }
.vm-pair.vm-wide img { aspect-ratio: 4 / 3; }
.vm-pair.vm-trio { grid-template-columns: repeat(3, 1fr); max-width: 760px; }
@media (max-width: 640px) { .vm-pair.vm-trio { grid-template-columns: 1fr 1fr; } }
/* sections without side titles */
.no-label .case-row { grid-template-columns: 1fr; }
.no-label .vm-story { grid-template-columns: 270px minmax(0, 32em); }
@media (max-width: 760px) { .no-label .vm-story { grid-template-columns: 1fr; } }
.vm-group { margin: 48px 0 -24px; }
.weekly-img { max-width: 620px; }
.specs.why li { grid-template-columns: 8.5em 1fr; }

/* report with margin notes aligned to each section */
.annot { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; margin-top: 16px; }
.annot .sample-report { max-width: none; margin: 0; }
.anotes { position: relative; }
.anote { position: absolute; left: 0; right: 0; font-size: .8rem; line-height: 1.45; color: var(--muted); border-left: 2px solid var(--line); padding-left: 10px; text-align: left; }
.anote b { display: block; color: var(--text); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
@media (max-width: 760px) {
  .annot { grid-template-columns: 1fr; }
  .anotes { display: flex; flex-direction: column; gap: 12px; }
  .anote { position: static; }
}
.pinwrap { position: relative; }
.pin { position: absolute; left: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: .72rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.alist { list-style: none; counter-reset: a; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.alist li { counter-increment: a; position: relative; padding-left: 32px; font-size: .84rem; line-height: 1.45; color: var(--muted); text-align: left; }
.alist li::before { content: counter(a); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: .72rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.alist b { display: block; color: var(--text); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
.annot { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.mlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mlist li { font-size: .82rem; line-height: 1.4; color: var(--muted); text-align: left; }
.mlist b { display: block; color: var(--text); font-weight: 600; font-size: .82rem; }
.annot.solo { display: block; max-width: 640px; }
.post-fig { margin: 28px 0; max-width: 300px; }
.post-fig img { width: 100%; }
.post-fig figcaption { font-size: .78rem; color: var(--muted); margin-top: 8px; }

/* Asoo Design collections */
.collection { display: grid; grid-template-columns: 260px 1fr; gap: 40px; margin: 56px 0; padding-top: 32px; border-top: 1px solid var(--text); align-items: start; }
.collection-text h2 { margin: 0 0 .6em; font-size: 1.6rem; }
.collection-text .eyebrow { margin-bottom: .6em; }
.collection-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.collection-photos figure { margin: 0; }
.collection-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
@media (max-width: 760px) { .collection { grid-template-columns: 1fr; gap: 20px; } .collection-photos { grid-template-columns: 1fr 1fr; } }
.collection-photos { grid-template-columns: 1.15fr 1fr 1fr; }
.collection-photos .lead { grid-row: span 2; }
.collection-photos .lead img { height: 100%; aspect-ratio: auto; }
@media (max-width: 760px) { .collection-photos { grid-template-columns: 1fr 1fr; } .collection-photos .lead { grid-column: 1 / -1; grid-row: auto; } .collection-photos .lead img { aspect-ratio: 3 / 4; height: auto; } }
.collection-photos .lead img { object-position: 82% 40%; }
.collection-photos img[src*="half-moon-stem"] { object-position: 45% 40%; }
.more-pieces { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.gallery.four { grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
@media (max-width: 640px) { .gallery.four { grid-template-columns: 1fr 1fr; } }

/* Asoo Design: compact layout, each collection is one row of small photos */
.collection { grid-template-columns: 240px 1fr; gap: 32px; margin: 36px 0; padding-top: 22px; }
.collection-text p { font-size: .9rem; line-height: 1.55; }
.collection-photos { grid-template-columns: repeat(5, 1fr); gap: 8px; }
.collection-photos .lead { grid-row: auto; }
.collection-photos img, .collection-photos .lead img { aspect-ratio: 3 / 4; height: auto; }
.more-pieces { margin-top: 32px; padding-top: 22px; }
.gallery.four { grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 70%; }
@media (max-width: 760px) {
  .collection { grid-template-columns: 1fr; gap: 14px; }
  .collection-photos { grid-template-columns: repeat(3, 1fr); }
  .collection-photos .lead { grid-column: auto; }
  .gallery.four { grid-template-columns: repeat(4, 1fr); max-width: none; }
}
.collection { grid-template-columns: 1fr; gap: 14px; }
.collection-text { max-width: 46em; }
.collection-text h2 { margin-bottom: .4em; }
main.wide .page:has(.intro-cols) { max-width: none; }
.intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.intro-cols .jewelry-intro { max-width: none; font-size: .92rem; }
.collection-photos img, .collection-photos .lead img { aspect-ratio: 1 / 1; }
.collection { margin: 28px 0; }
@media (max-width: 760px) { .intro-cols { grid-template-columns: 1fr; gap: 0; } }
.cs-h { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 22px 0 8px; }
.cs-tile { justify-content: center; gap: 2px; }
.cs-word { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.cs-vs { font-size: .8rem; opacity: .6; margin: 4px 0; }
.cs-tile .proj-stat-label { margin-top: 18px; }
/* projects page: one row per category, three cards across */
.proj-cols { grid-template-columns: 1fr; gap: 40px; }
.proj-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.proj-col h2.label { grid-column: 1 / -1; }
.proj-col .proj-card + .proj-card { margin-top: 0; }
.proj-tile { padding: 22px; }
.tile-bars { height: 40%; }
@media (max-width: 640px) { .proj-col { grid-template-columns: 1fr 1fr; gap: 12px; } .cs-word { font-size: 1.4rem; } }

/* dropdown: bigger click targets */
.drop-inner { gap: 6px; }
.drop-inner > a, .sub-toggle, .sub-menu a { display: block; padding: 8px 0; }
.sub-menu { gap: 2px; padding-top: 4px; }
@media (max-width: 820px) { .drop-inner > a, .sub-toggle, .sub-menu a { padding: 10px 0; } }

/* homepage: buttons and a tighter gap between photo and text */
.home-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.home-buttons .btn { background: var(--text); color: var(--bg); border: 1px solid var(--text); }
.home-buttons .btn:hover { background: var(--bg); color: var(--text); }
.split-screen { gap: 0; }
.split-photo { justify-self: end; }
.split-text { padding-left: 56px; }
@media (max-width: 820px) { .split-photo { justify-self: stretch; } .split-text { padding-left: 0; } }
.split-text { justify-content: center; gap: 0; }
/* desktop: retail list opens to the side, so "Jewelry making" never moves */
@media (min-width: 821px) {
  .sub-drop { position: relative; }
  .sub-menu { position: absolute; left: 100%; top: 0; padding: 0 20px 10px 18px; margin-left: 0; background: var(--bg); min-width: 230px; }
  .sub-menu::before { top: 8px; bottom: 16px; left: 0; }
  .sub-toggle .chev { transform: none; }
  .sub-drop.open .chev, .sub-drop:has(:focus-visible) .chev { transform: none; }
  .drop-inner { padding-right: 24px; }
}
@media (min-width: 821px) {
  .sub-menu { left: auto; right: 100%; padding: 0 18px 10px 20px; text-align: right; box-shadow: -8px 8px 18px rgba(0,0,0,.04); }
  .sub-menu::before { left: auto; right: 0; }
  .sub-menu a { text-align: right; }
  .sub-toggle .chev { display: none; }
  .sub-toggle::before { content: "‹ "; }
}
@media (min-width: 821px) { .sub-toggle { position: relative; } .sub-toggle::before { position: absolute; left: -12px; } }

/* Visual Merchandising: compact page */
.vm-page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.vm-page .lede { font-size: 1.02rem; }
.vm-page .case-row { padding: 22px 0; }
.vm-page .vm-group { margin: 28px 0 -10px; }
.vm-page .vm-pair { max-width: 400px; gap: 10px; }
.vm-page .vm-pair.vm-trio { max-width: 560px; }
.vm-page .vm-story { grid-template-columns: 195px minmax(0, 32em); gap: 28px; }
.vm-page .vm-text, .vm-page .vm-story p { font-size: .92rem; margin-top: 12px; }
@media (min-width: 761px) {
  .vm-page .case-body:not(.vm-story) { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 28px; align-items: center; }
  .vm-page .case-body:has(.vm-trio) { grid-template-columns: 560px minmax(0, 1fr); }
  .vm-page .case-body:not(.vm-story) .vm-text { margin-top: 0; }
}
/* VM: two stories per row */
@media (min-width: 761px) {
  .vm-page { display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; align-items: start; }
  .vm-page > p, .vm-page > h1 { grid-column: 1 / -1; }
  .vm-page .vm-group { margin: 22px 0 0; }
  .vm-page .case-row, .vm-page .case-row:first-of-type { margin-top: 0; border-top: 1px solid var(--line); padding: 18px 0 22px; display: block; }
  .vm-page .case-body:not(.vm-story), .vm-page .case-body:has(.vm-trio), .vm-page .vm-story { display: block; }
  .vm-page .vm-pair { max-width: 300px; }
  .vm-page .vm-pair.vm-trio { max-width: 450px; }
  .vm-page .vm-story figure { max-width: 145px; }
  .vm-page .vm-text, .vm-page .vm-story p { margin-top: 12px; font-size: .88rem; }
  .vm-page .vm-story > div p:first-child { margin-top: 12px; }
}

/* Asoo Design: one column, text and photos share the same edges */
.asoo { max-width: 860px; margin: 0 auto; }
.asoo .page, main.wide .asoo .page { max-width: none; }
.asoo .intro-one .jewelry-intro { max-width: none; font-size: .98rem; line-height: 1.65; }
.asoo .collection { grid-template-columns: 1fr; gap: 12px; margin: 34px 0; padding-top: 20px; }
.asoo .collection-text { max-width: none; }
.asoo .collection-text p { font-size: .95rem; }
.asoo .collection-photos { grid-template-columns: repeat(5, 1fr); gap: 8px; }
.asoo .gallery.four { grid-template-columns: repeat(4, 1fr); max-width: none; gap: 8px; }
@media (max-width: 760px) { .asoo .collection-photos { grid-template-columns: repeat(3, 1fr); } .asoo .gallery.four { grid-template-columns: repeat(2, 1fr); } }

/* Competitor Study: styled like the PDF (sage cards, black accents) */
.csx { max-width: 1000px; margin: 0 auto; --sage: #dfe3d9; }
.csx .page { max-width: 760px; }
.cs-sec { margin-top: 44px; }
.cs-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.cs-label .sq { width: 8px; height: 8px; background: var(--text); display: inline-block; }
.cs-sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.cs-banner { background: #111; color: #fff; padding: 18px 22px; display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center; }
.cs-banner p { margin: 0; color: #fff; font-size: .9rem; text-align: left; }
.cs-brand { font-weight: 800; letter-spacing: .04em; font-size: 1.05rem; margin: 10px 0 0; text-align: left !important; }
.cs-banner .cs-brand { font-size: 1.4rem; margin: 0; }
.cs-grid { display: grid; gap: 14px; }
.cs-grid.three { grid-template-columns: repeat(3, 1fr); }
.cs-grid.four { grid-template-columns: repeat(4, 1fr); }
.cs-card { background: var(--sage); border: 1px solid var(--text); padding: 16px; }
.cs-card p { margin: 0; font-size: .84rem; line-height: 1.5; text-align: left; }
.cs-num { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: #111; color: #fff; font-size: .75rem; font-weight: 600; align-items: center; justify-content: center; }
.cs-tag { font-weight: 600; margin: 2px 0 8px !important; color: #44483f; }
.cs-intro { font-size: .92rem; margin: 0 0 6px; }
.cs-radial-wrap { background: var(--sage); border: 1px solid var(--text); padding: 10px 0; }
.alo-radial { display: block; width: 100%; max-width: 640px; margin: 0 auto; font-family: "Hanken Grotesk", sans-serif; }
.cs-method { font-size: .8rem; color: var(--muted); margin: 40px 0 0; max-width: 760px; }
@media (max-width: 820px) {
  .cs-grid.three, .cs-grid.four { grid-template-columns: 1fr 1fr; }
  .cs-banner { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 520px) { .cs-grid.three, .cs-grid.four { grid-template-columns: 1fr; } }
.alo-radial { max-width: 760px; }
.cs-details { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; align-items: start; }
.cs-detail { background: var(--sage); border: 1px solid var(--text); padding: 16px 18px; }
.cs-detail:first-child { grid-row: span 2; }
.cs-dt { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; text-align: left; }
.cs-detail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cs-detail li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.cs-detail li b { font-size: .84rem; display: block; margin-bottom: 2px; }
.cs-detail li p { margin: 0; font-size: .82rem; line-height: 1.45; text-align: left; }
.cs-src { font-size: .72rem; color: var(--muted); margin: 12px 0 0; text-align: left; }
@media (max-width: 820px) { .cs-details { grid-template-columns: 1fr; } .cs-detail:first-child { grid-row: auto; } }
/* Alo detail: one big rectangle, three equal columns */
.cs-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--sage); border: 1px solid var(--text); border-top: 0; margin-top: 0; align-items: stretch; }
.cs-col { padding: 18px 20px; display: flex; flex-direction: column; gap: 22px; }
.cs-col + .cs-col { border-left: 1px solid rgba(0,0,0,.18); }
.cs-detail, .cs-detail:first-child { background: none; border: 0; padding: 0; grid-row: auto; }
.cs-radial-wrap { border-bottom: 1px solid rgba(0,0,0,.18); }
@media (max-width: 820px) { .cs-details { grid-template-columns: 1fr; } .cs-col + .cs-col { border-left: 0; border-top: 1px solid rgba(0,0,0,.18); } }
.cs-detail li, .cs-detail li b { text-align: left; }

/* ================================================================
   ONE TYPE SCALE FOR THE WHOLE SITE (overrides everything above)
   Title 44px · Lede 20px · Body 16px · Small 14px · Label 11.5px
   ================================================================ */
:root { --t-title: 2.75rem; --t-h2: 1.5rem; --t-lede: 1.25rem; --t-body: 1rem; --t-small: .875rem; --t-label: .72rem; }
main h1, main h1.statement, .vm-page h1, body.home .split-text h1 { font-size: var(--t-title); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
main .lede, .vm-page .lede { font-size: var(--t-lede); line-height: 1.5; }
main p, main li, .home-brief, body.home .home-brief, .vm-page .vm-text, .vm-page .vm-story p,
.asoo .intro-one .jewelry-intro, .asoo .collection-text p, .cs-intro, .post p, .post li,
.specs li > span:last-child { font-size: var(--t-body); line-height: 1.65; }
.collection-text h2, .asoo .collection-text h2, .case h2:not(.case-label), .card h2 { font-size: var(--t-h2); font-weight: 600; letter-spacing: -.02em; }
.cs-card p, .cs-detail li p, .cs-detail li b, .cs-banner p, .proj-name, .mlist li { font-size: var(--t-small); line-height: 1.5; }
.cs-brand { font-size: var(--t-small); }
.cs-banner .cs-brand { font-size: 1.25rem; }
main .eyebrow, .asoo .eyebrow, .collection-text .eyebrow, .more-pieces .eyebrow, main .label, .case-label, .section-title, .cs-label, .cs-sub, .cs-dt,
.caption, .cs-src, .post-meta, .text-links a, nav a, .btn, .proj-stat-label { font-size: var(--t-label); }
.cs-method, main .caption { font-size: var(--t-label); line-height: 1.6; }
@media (max-width: 640px) { :root { --t-title: 2.1rem; --t-lede: 1.1rem; } }
.asoo p.eyebrow, .asoo .collection-text p.eyebrow, main p.eyebrow { font-size: var(--t-label); line-height: 1.4; }

/* Daydreams */
.dd-grid { max-width: 1000px; margin: 32px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dd-grid figure { margin: 0; }
.dd-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.dd-grid .dd-wide { grid-column: span 2; }
.dd-grid .dd-wide img { aspect-ratio: 4 / 3; }
.dd-grid figcaption { font-size: var(--t-label); color: var(--muted); margin-top: 8px; line-height: 1.5; }
.dd-link { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; border-top: 1px solid var(--text); border-bottom: 1px solid var(--line); margin-bottom: 32px; text-decoration: none; }
.dd-link span:last-child { font-size: var(--t-small); }
.dd-link:hover span:last-child { text-decoration: underline; }
@media (max-width: 760px) { .dd-grid { grid-template-columns: 1fr 1fr; } }
.dd-grid { max-width: none; margin: 32px 0 0; } .daydreams .lede { max-width: 34em; }
.dd-grid { grid-template-columns: repeat(3, 1fr); } @media (max-width: 760px) { .dd-grid { grid-template-columns: 1fr 1fr; } }

/* Daydreams: grouped by inspiration */
.daydreams .lede { max-width: none; }
.dd-sec { margin: 34px 0; padding-top: 20px; border-top: 1px solid var(--text); }
.dd-text h2 { font-size: var(--t-h2); margin: 0 0 .4em; }
.dd-text p { margin: 0 0 14px; }
.dd-row { display: grid; gap: 10px; }
.dd-row.four { grid-template-columns: repeat(4, 1fr); }
.dd-row.three { grid-template-columns: repeat(3, 1fr); }
.dd-row.two { grid-template-columns: repeat(2, 1fr); max-width: 50%; }
.dd-row.one { grid-template-columns: 1fr; max-width: 25%; }
.dd-row figure { margin: 0; }
.dd-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: #f4f4f4; }
@media (max-width: 760px) { .dd-row.four, .dd-row.three { grid-template-columns: 1fr 1fr; } .dd-row.two, .dd-row.one { max-width: none; } .dd-row.one { grid-template-columns: 1fr 1fr; } }
.fw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 28px 0 10px; }
.fw-grid figure { margin: 0; }
.fw-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; display: block; border: 1px solid var(--line); }
.fw-dl a { font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 640px) { .fw-grid { grid-template-columns: 1fr 1fr; } }
.cs-src a { color: var(--muted); }
.cs-refs { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.cs-refs li, .cs-refs a { font-size: var(--t-small); color: var(--muted); }
.cs-method p { font-size: var(--t-small); }
/* VM on phones: photo above text, labels clear of the line */
@media (max-width: 760px) {
  .vm-page .vm-story, .no-label .vm-story { grid-template-columns: 1fr; gap: 14px; }
  .vm-page .vm-story figure { max-width: 70%; }
  .vm-page .vm-group { margin: 30px 0 0; }
  .vm-page .vm-text, .vm-page .vm-story p { text-align: left; hyphens: manual; }
}

/* Journal list: one consistent card per entry */
.jlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--text); }
.jlist li { border-bottom: 1px solid var(--line); }
.jlist a { display: flex; flex-direction: column; gap: 6px; padding: 24px 0; text-decoration: none; }
.jdate, .jtags { font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.jtags { letter-spacing: .04em; text-transform: none; }
.jtitle { font-size: var(--t-h2); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.jexcerpt { font-size: var(--t-body); line-height: 1.6; color: #444; text-align: left; }
.jlist a:hover .jtitle { text-decoration: underline; text-underline-offset: 4px; }
.jlist li[hidden] { display: none; }
.post p, .post li { text-align: left; hyphens: manual; }

/* Asoo Design: bigger photos with a soft glow */
.asoo { max-width: 1000px; }
.asoo .collection-photos { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.asoo .collection-photos .lead { grid-column: span 2; grid-row: span 2; }
.asoo .collection-photos img, .asoo .collection-photos .lead img { aspect-ratio: 1 / 1; height: 100%; }
.asoo .collection-photos figure:not(.lead):nth-child(n+6) { display: none; }
.asoo .collection-photos img, .asoo .gallery img {
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,.06), 0 14px 34px rgba(0,0,0,.12);
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
  filter: saturate(1.05);
}
.asoo .collection-photos img:hover, .asoo .gallery img:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 4px 10px rgba(0,0,0,.08), 0 22px 46px rgba(0,0,0,.16); filter: saturate(1.15) brightness(1.03); }
.asoo .gallery.four { gap: 14px; }
.asoo .collection-text p { max-width: 46em; }
@media (prefers-reduced-motion: reduce) { .asoo img { transition: none; } }
@media (max-width: 760px) { .asoo .collection-photos { grid-template-columns: 1fr 1fr; } .asoo .collection-photos .lead { grid-column: span 2; grid-row: auto; } }

/* ================= PROJECTS MENU (single panel, replaces the old nested dropdown) ================= */
.nav-drop { position: relative; display: flex; }
.nav-drop > a { padding: 6px 0; }
.drop-menu, .nav-drop .drop-menu, .nav-drop.open .drop-menu {
  display: block !important; position: absolute; top: 100%; left: 50%; right: auto; transform: translate(-50%, -6px);
  padding: 22px 0 0; min-width: 0; z-index: 50;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.nav-drop.open .drop-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition: opacity .18s ease, transform .18s ease, visibility 0s; }
.drop-panel { background: var(--bg); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.08); padding: 22px 26px 18px; display: grid; grid-template-columns: auto auto; gap: 4px 44px; width: max-content; }
.drop-col { display: flex; flex-direction: column; }
.drop-head { margin: 0 0 6px; font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.drop-panel a { display: block; padding: 8px 0; font-size: var(--t-small) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--text) !important; text-decoration: none; white-space: nowrap; }
.drop-panel a:hover, .drop-panel a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.drop-panel .drop-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: var(--t-label) !important; letter-spacing: .12em !important; text-transform: uppercase !important; }
@media (prefers-reduced-motion: reduce) { .drop-menu, .nav-drop.open .drop-menu { transition: none; } }

/* phones and small tablets: panel spans the full width under the header */
@media (max-width: 820px) {
  .site-header { position: relative; }
  .nav-drop { position: static; }
  .drop-menu, .nav-drop .drop-menu, .nav-drop.open .drop-menu { left: 0; right: 0; top: 100%; padding: 0; transform: translateY(-6px); }
  .nav-drop.open .drop-menu { transform: none; }
  .drop-panel { width: auto; border-left: 0; border-right: 0; grid-template-columns: 1fr 1fr; gap: 4px 20px; padding: 20px 24px 16px; }
  .drop-panel a { padding: 11px 0; white-space: normal; }
  .nav-drop > a { padding: 10px 0; }
}

/* every button and link easy to hit */
nav a { padding: 6px 0; }
.btn { min-height: 44px; display: inline-flex; align-items: center; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (hover: none), (max-width: 820px) { .drop-panel a { padding: 13px 0 !important; } }
@media (hover: none), (max-width: 820px) { .drop-panel a { padding: 14px 0 !important; } .drop-panel .drop-all { padding-top: 15px !important; } }
.page-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1000px; margin: 64px auto 0; padding-top: 20px; border-top: 1px solid var(--line); }
.page-foot a { font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; text-decoration: none; padding: 10px 0; }
.page-foot a:hover { text-decoration: underline; text-underline-offset: 5px; }
/* desktop: panel starts exactly under "Projects", one column, never reaches under "About" */
@media (min-width: 821px) {
  .drop-menu, .nav-drop .drop-menu { left: -26px; transform: translateY(-6px); }
  .nav-drop.open .drop-menu { left: -26px; transform: none; }
  .drop-panel { grid-template-columns: 1fr; gap: 0; min-width: 220px; }
  .drop-col + .drop-col { margin-top: 14px; }
}
@media (min-width: 821px) {
  .drop-menu, .nav-drop .drop-menu, .nav-drop.open .drop-menu { left: -14px; }
  .drop-panel { padding-left: 14px; padding-right: 22px; }
}

/* project card descriptions + measured result */
.proj-desc{display:block;font-size:var(--t-small);color:#555;line-height:1.45;margin-top:4px}
.case-result{margin-top:18px;padding:14px 16px;border-left:3px solid #111;background:#f6f6f4}
/* fabric workbook: square swatch thumbnails */
.fw-grid img { aspect-ratio: 1 / 1; object-position: center; border: 0; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.fw-cover { display: block; max-width: 340px; margin: 28px 0 12px; }
.fw-cover img { width: 100%; display: block; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
/* project tiles: always square, no text below */
.proj-tile { overflow: hidden; }
.proj-card { gap: 0; }
@media (max-width: 640px) {
  .proj-tile { padding: 16px; justify-content: center; }
  .proj-tile .cs-word { font-size: 1.45rem; line-height: 1.1; }
  .proj-tile .proj-stat-label { font-size: .6rem; letter-spacing: .1em; margin-top: 10px; }
}
/* competitor study: clear breaks between sections */
.csx .cs-sec + .cs-sec { border-top: 1px solid var(--text); margin-top: 64px; padding-top: 32px; }
.csx h2.cs-h { font-size: var(--t-h2); font-weight: 600; letter-spacing: -.01em; margin: 0 0 8px; text-transform: none; color: var(--text); line-height: 1.25; }
.csx .cs-h + .cs-intro { margin-bottom: 20px; }
/* type: Bodoni Moda for titles, Hanken Grotesk for text */
:root { --serif: "Bodoni Moda", Didot, "Times New Roman", serif; }
h1, .brand, .split-text h1, .csx h2.cs-h, .post h1 { font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
.brand { letter-spacing: .12em; }
h1, .split-text h1, .home h1, main h1, .brand { font-family: var(--serif) !important; font-weight: 400 !important; }

/* Competitor Study: deep-dive link cards */
.cs-grid.two { grid-template-columns: 1fr 1fr; }
.cs-link { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; transition: background .15s; }
.cs-link:hover { background: #d3d9cb; }
.cs-link .cs-go { margin-top: auto; padding-top: 8px; font-weight: 600; }
@media (max-width: 700px) { .cs-grid.two { grid-template-columns: 1fr; } }
