/* Fluid desktop gutters; the homepage keeps its existing section structure. */
@media (min-width: 1200px) {
  :root { --page-gutter: clamp(40px, 3.3vw, 112px); --container: calc(100vw - var(--page-gutter) * 2); }
  .container { width: calc(100% - var(--page-gutter) * 2); max-width: none; }
  .home-page .hero-editorial .hero-content { width: calc(100vw - var(--page-gutter) * 2); max-width: none; }
  .site-header { padding-inline: calc(var(--page-gutter) - var(--header-gap)); }
}

/* Typography: fill the available measure and avoid single-word last lines. */
h1, h2, h3, h4, p, li, blockquote, figcaption { text-wrap: pretty; }

/* Inner pages: shorter reading lines and more deliberate visual hierarchy. */
.interior-page { --space: clamp(48px, 4vw, 80px); }
.interior-page .inner-hero,
.interior-page .contact-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 80px); padding-block: clamp(28px, 3vw, 56px); }
.interior-page .inner-hero > *, .interior-page .contact-hero > * { min-width: 0; }
/* Headlines use the full column; each clause starts its own line instead of a character cap. */
.interior-page .inner-hero h1,
.interior-page .contact-hero h1 { font-size: clamp(38px, 3.4vw, 64px); line-height: 1.08; text-wrap: pretty; max-width: none; }
.interior-page .inner-hero h1 em,
.interior-page .contact-hero h1 em { display: block; }
@media (min-width: 1600px) {
  /* Wide screens: give the gallery more room so the hero has no dead middle band. */
  .interior-page .inner-hero, .interior-page .contact-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .interior-page .inner-hero h1, .interior-page .contact-hero h1 { font-size: clamp(38px, 3vw, 58px); }
  .interior-page .inner-hero .hero-intro, .interior-page .inner-hero > div > p:not(.eyebrow) { max-width: 64ch; }
  .interior-page .hero-stats-bar { max-width: 700px; }
}
@media (max-width: 1199px) {
  /* Narrow columns must wrap a clause; keep its two lines even. */
  .interior-page .inner-hero h1, .interior-page .contact-hero h1 { text-wrap: balance; }
}
.interior-page .inner-hero p:not(.eyebrow),
.interior-page .contact-hero-intro { max-width: 58ch; }
.interior-page .inner-hero-image,
.interior-page .contact-hero-visual { height: clamp(340px, 29vw, 560px); }
.interior-page .inner-hero-gallery { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.interior-page .hero-gallery-primary { height: clamp(340px, 29vw, 560px); }
.interior-page .hero-gallery-secondary { height: clamp(280px, 24vw, 460px); }
.interior-page .hero-action-row { margin-bottom: 24px; }
.interior-page .hero-stats-bar { width: 100%; max-width: 620px; }
.interior-page .section-heading h2,
.interior-page .team-heading h2 { font-size: clamp(32px, 3vw, 52px); text-wrap: pretty; }
.page-section-heading { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 8px; }
.page-section-heading .eyebrow { margin-bottom: 10px; }
.page-section-heading h2 { font-size: clamp(32px, 3vw, 48px); margin: 0; }
.page-section-heading > p { max-width: 44ch; color: var(--muted); margin: 0; }

/* Image-led service cards replace long, full-width text rows. */
.interior-page .editorial-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-block: 48px 64px; }
.interior-page .editorial-row { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 0; padding: 0; align-items: stretch; background: #fffdf8; border-radius: 14px; overflow: hidden; scroll-margin-top: 130px; }
.interior-page .editorial-card-visual { grid-row: 1; height: clamp(220px, 18vw, 560px); border-radius: 0; box-shadow: none; }
.interior-page .editorial-card-visual img { object-position: center 25%; }
.interior-page .editorial-header { grid-row: 2; flex-direction: row; align-items: center; gap: 16px; padding: 22px 28px 0; }
.interior-page .editorial-badge-wrap { margin: 0; gap: 10px; }
.interior-page .editorial-index { font-size: 26px; }
.interior-page .editorial-icon-badge { width: 34px; height: 34px; border-radius: 50%; background: var(--paper); border: 0; }
.interior-page .editorial-header .eyebrow { font-size: 11px; letter-spacing: .09em; line-height: 1.5; }
.interior-page .editorial-header .eyebrow::before,
.interior-page .editorial-accent { display: none; }
.interior-page .editorial-body { grid-row: 3; padding: 18px 28px 28px; }
.interior-page .editorial-body h2 { font-size: clamp(27px, 2.1vw, 38px); max-width: none; line-height: 1.15; text-wrap: pretty; margin-bottom: 14px; }
.interior-page .editorial-desc { max-width: 62ch; font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.interior-page .editorial-body .text-link { margin-top: auto; }
.interior-page .editorial-pills { margin-bottom: 20px; gap: 6px; }
.interior-page .editorial-pill { font-size: 11px; padding: 5px 9px; }
.interior-page .professional-note { grid-column: 1 / -1; max-width: 100%; padding: 22px 26px; margin: 0; background: var(--paper); border-left: 2px solid var(--red); font-size: 13px; line-height: 1.7; }

/* About: turn the introductory essay into three clear client priorities. */
.about-priorities .intro-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; }
.about-priorities h2 { font-size: clamp(32px, 3vw, 52px); }
.about-priorities .intro-grid > div > p { max-width: 62ch; color: var(--muted); }
.audience-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.audience-card { padding: 26px; background: var(--paper); border-top: 2px solid var(--red); border-radius: 0 0 12px 12px; }
.audience-card > span { font-size: 12px; color: var(--red); }
.audience-card h3 { margin: 16px 0 10px; font-size: 28px; }
.audience-card p { color: var(--muted); font-size: 15px; margin: 0; max-width: 42ch; }
.interior-page .stats { margin-top: 36px; padding-top: 28px; }
.interior-page .why-tashi { gap: clamp(28px, 4vw, 72px); }
.interior-page .why-tashi h2 { font-size: clamp(32px, 3vw, 52px); }
.interior-page .why-tashi-story > p:not(.eyebrow) { max-width: 58ch; }
.interior-page .team-grid .team-bio { max-width: 62ch; }

/* Existing market content becomes a compact directory of topics. */
.interior-page .market-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); }
.interior-page .market-layout h2 { font-size: clamp(34px, 3vw, 52px); }
.interior-page .market-layout > div > p:not(.eyebrow) { max-width: 48ch; }
.interior-page .market-list { padding: 8px 28px; border: 1px solid var(--line); border-radius: 14px; background: #fffdf8; }
.interior-page .market-list details:first-child { border-top: 0; }
.interior-page .market-list details:last-child { border-bottom: 0; }
.interior-page .market-list summary { padding-block: 22px; }
.interior-page .notes-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: topic; }
.interior-page .notes-links > a { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fffdf8; min-width: 0; }
.interior-page .notes-links > a::before { counter-increment: topic; content: '0' counter(topic); display: block; font-size: 12px; color: var(--red); margin-bottom: 24px; }
.interior-page .notes-links h3 { font-size: clamp(25px, 2vw, 32px); margin-bottom: 12px; }
.interior-page .notes-links p { font-size: 15px; line-height: 1.7; }
.interior-page .notes-links > a > svg { position: static; margin-top: auto; width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--paper); }
.interior-page .notes-links > a:has(> .card-art)::before { content: none; }

/* Icon badge + index shared by topic and audience cards. */
.card-art { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin-bottom: 24px; }
.card-symbol { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border: 1px solid #a3262024; border-radius: 50%; background: #a326200a; color: var(--red); transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.card-symbol svg, .notes-links .card-symbol svg { position: static; width: 21px; height: 21px; padding: 0; background: none; }
.card-art-number { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--red); }
.notes-links > a:hover .card-symbol { background: var(--red); border-color: var(--red); color: var(--ivory); }
.audience-card .card-art { margin-bottom: 18px; }
.audience-card .card-art-number { display: none; }
.interior-page .publication-note { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) auto; gap: 24px; align-items: center; padding: 28px; margin-top: 28px; }
.interior-page .publication-note h3, .interior-page .publication-note p { margin: 0; }
.interior-page .publication-note h3 { font-size: 28px; }
.interior-page .publication-note .text-link { white-space: nowrap; }
.interior-page #tashi-filter { padding-block: var(--space); }
.interior-page #tashi-filter .filter-heading { margin-bottom: 36px; }
.interior-page #tashi-filter h2 { font-size: clamp(32px, 3.4vw, 54px); }
/* The shared image has an inline auto height; fit it to the inner-page frame. */
.interior-page #tashi-filter .filter-visual img { height: 100% !important; }
.interior-page .contact-layout { gap: clamp(32px, 5vw, 88px); }
.interior-page .contact-layout aside > h2 { font-size: clamp(32px, 3vw, 48px); }
.interior-page .privacy-content { max-width: none; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); }
.privacy-heading h1 { font-size: clamp(40px, 4vw, 64px); }
.privacy-nav { display: grid; max-width: 420px; margin-top: 28px; }
.privacy-nav a { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-block: 15px; border-bottom: 1px solid var(--line); font-size: 14px; }
.privacy-nav a:hover { color: var(--red); }
.privacy-nav svg { width: 18px; }
.privacy-sections > section { padding: 26px; margin-bottom: 18px; background: #fffdf8; border: 1px solid var(--line); border-radius: 12px; scroll-margin-top: 130px; }
.privacy-sections h2 { font-size: 28px; margin-bottom: 14px; }
.privacy-sections p { max-width: 68ch; margin-bottom: 0; font-size: 15px; color: var(--muted); }

@media (min-width: 1600px) {
  .interior-page .team-section .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .interior-page .notes-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .interior-page .publication-note { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .interior-page .publication-note .text-link { justify-self: start; white-space: normal; }
}
@media (max-width: 800px) {
  .interior-page .inner-hero, .interior-page .contact-hero,
  .about-priorities .intro-grid, .interior-page .market-layout,
  .interior-page .privacy-content { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .interior-page .inner-hero-image, .interior-page .contact-hero-visual { height: clamp(260px, 55vw, 400px); }
  .interior-page .inner-hero-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .interior-page .hero-gallery-primary, .interior-page .hero-gallery-secondary { height: 300px; transform: none; }
  .interior-page .editorial-sections { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 36px 48px; }
  .interior-page .editorial-card-visual { height: clamp(220px, 50vw, 340px); }
  .page-section-heading { flex-direction: column; align-items: start; gap: 12px; }
  .audience-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .audience-card { padding: 22px; }
  .audience-card h3 { margin-top: 10px; }
  .interior-page .market-list { padding-inline: 20px; }
}
@media (max-width: 540px) {
  .interior-page .inner-hero-gallery, .interior-page .notes-links { grid-template-columns: minmax(0, 1fr); }
  .interior-page .hero-gallery-primary { height: 280px; }
  .interior-page .hero-gallery-secondary { display: none; }
  .interior-page .editorial-header { padding: 18px 20px 0; gap: 12px; }
  .interior-page .editorial-body { padding: 16px 20px 24px; }
  .interior-page .notes-links > a { padding: 22px; }
}

/* Fees & Commission: compact editorial hero, a plain in-flow category nav, one ledger format throughout. */
.fees-hero { padding-block: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 28px); }
.fees-hero h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.1; max-width: 22ch; margin-bottom: 12px; }
.fees-hero-lede { max-width: 56ch; font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0; }

/* Category overview: scrolls with the page — the header is already fixed, this doesn't need to be too. */
.fees-overview { background: var(--ivory); border-block: 1px solid var(--line); }
.fees-overview-row { display: flex; flex-wrap: wrap; gap: 4px 36px; padding-block: 14px; }
.fees-overview a { position: relative; display: inline-flex; align-items: baseline; gap: 9px; padding-block: 6px; font-family: var(--sans); font-size: 13px; font-weight: 650; color: var(--muted); transition: color var(--duration); }
.fees-overview a span { font-family: var(--serif); font-size: 13px; font-weight: 400; font-variant-numeric: tabular-nums; }
.fees-overview a:hover { color: var(--red); }

.fees-body { display: flex; flex-direction: column; }
.fees-body .fee-section:first-child { border-top: 0; }

/* Every category uses the same shell and the same table — one system, not five. */
.fee-section { padding-block: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); scroll-margin-top: 130px; }
.fee-section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.fee-step { flex-shrink: 0; font-family: var(--sans); font-size: 13px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fee-section-head h2 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; margin: 0; }

/* A clearly bordered, zebra-striped table — readable structure over minimal hairlines. */
.fee-table-wrap { min-width: 0; overflow-x: auto; border: 1px solid var(--line); }
.fee-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.fee-col-label { width: 44%; }
.fee-table th, .fee-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); transition: background-color var(--duration); overflow-wrap: break-word; }
.fee-table th:last-child, .fee-table td:last-child { border-right: 0; }
.fee-table thead th { font-family: var(--sans); font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--paper); border-bottom: 2px solid var(--ink); }
.fee-table tbody th { font-weight: 500; color: var(--ink); background: transparent; }
.fee-table tbody tr:nth-child(even) th, .fee-table tbody tr:nth-child(even) td { background: var(--paper); }
.fee-table tbody tr:last-child th, .fee-table tbody tr:last-child td { border-bottom: 0; }
/* Sans, not serif: Cormorant's old-style figures don't align, which slows down scanning a rate column. */
.fee-table .fee-table-value { text-align: right; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.fee-table tbody .fee-table-value { font-size: 15px; font-weight: 700; color: var(--ink); }
.fee-table thead .fee-table-value { font-size: 12px; font-weight: 650; letter-spacing: .08em; }
@media (hover: hover) {
  .fee-table tbody tr:hover th, .fee-table tbody tr:hover td { background-color: #a326200a; }
}

/* Closing: disclaimer + CTA on the site's established dark card, not a plain hairline footer. */
.fees-closing { padding-block: clamp(40px, 5vw, 64px) clamp(64px, 7vw, 96px); }
.fees-closing-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(32px, 4vw, 52px); border-radius: var(--radius-panel); background: var(--forest); color: var(--ivory); }
.fees-closing-card .eyebrow { color: #d8c6ad; margin-bottom: 12px; }
.fees-closing-text p:not(.eyebrow) { max-width: 54ch; margin: 0; font-size: 15px; line-height: 1.7; }
.fees-closing-card .button { flex-shrink: 0; }

@media (max-width: 760px) {
  .fees-overview-row { gap: 6px 22px; padding-block: 12px; }
  .fee-section { padding-block: 24px; scroll-margin-top: 110px; }
  .fee-table th, .fee-table td { padding: 10px 8px; }
  .fee-table thead th, .fee-table thead .fee-table-value { font-size: 10px; letter-spacing: .02em; line-height: 1.4; }
  .fee-table tbody .fee-table-value { font-size: 14px; }
  .fees-closing-card { padding: 26px 22px; }
  .fees-closing-card .button { width: 100%; justify-content: center; }
}
