/* TMBG static site — palette and type taken from the 2026-10-16 live-site snapshot */
:root {
  --bg: #212633;
  --bg-glow: #324C57;
  --overlay: #223340;
  --mint: #A2DECC;
  --ice: #CEEBED;
  --aqua: #A0E7EB;
  --cream: #FFF6DE;
  --sand: #F5E8C6;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .78);
  --line: rgba(206, 235, 237, .18);
  --card: rgba(34, 51, 64, .62);
  --serif: 'Ibarra Real Nova', Georgia, 'Times New Roman', serif;
  --sans: Tahoma, 'Segoe UI', Verdana, sans-serif;
  --btn-font: 'Inter', Tahoma, 'Segoe UI', sans-serif;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 0;
  background-color: var(--bg);
  background-image: radial-gradient(94% 70% at 50% 0%, var(--bg-glow) 0%, var(--bg) 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; }

.wrap { width: 100%; max-width: 78rem; margin-inline: auto; padding-inline: var(--gutter); }
section.wrap { margin-block: clamp(2rem, 5vw, 3.5rem); }

.skip { position: absolute; left: -999px; top: 0; background: var(--sand); color: var(--bg-glow); padding: .5rem 1rem; z-index: 20; }
.skip:focus { left: 0; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(33, 38, 51, .82); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.bar { padding-block: .85rem; }
.site-header nav { display: flex; justify-content: space-evenly; gap: 1rem; font-size: .95rem; }
.site-header nav a { color: var(--muted); text-decoration: none; padding: .2rem .25rem; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--cream); }

/* button */
.btn {
  display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.1rem; padding: 0 2rem; border-radius: 2.5rem;
  font-family: var(--btn-font); font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none;
  color: var(--bg-glow); background-color: var(--sand);
  background-image: linear-gradient(45deg, var(--aqua) 0%, rgba(245, 232, 198, .012) 100%);
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover, .btn:focus-visible { background-color: var(--cream); transform: scale(1.025); }
.chev { width: .55em; height: .55em; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-right: .15rem; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(1rem, 3vw, 2rem) 0; }
.hero { row-gap: clamp(1.25rem, 3vw, 2.25rem); }
section.hero { margin-top: 0; }
.company::after { content: ""; display: block; width: min(45%, 34rem); height: 1px; margin: clamp(1rem, 2vw, 1.5rem) auto 0; background: rgba(255, 246, 222, .45); }
.company { grid-column: 1 / -1; margin: 0; text-align: center; font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; font-size: clamp(2.2rem, 5.6vw, 4.9rem); color: var(--cream); text-wrap: balance; }
h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; line-height: 1.1;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem); margin: 0; padding-bottom: .18em; text-align: center; grid-column: 1 / -1;
  color: var(--ice);
  background-image: linear-gradient(45deg, var(--mint) 0%, var(--ice) 50%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lead-title { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 700; color: var(--cream); margin-bottom: .4rem; max-width: 34rem; }
.lead { font-size: 1.15rem; max-width: 34rem; margin-bottom: 1.75rem; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; border-radius: 1.25rem; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .35); }

/* cards and headings */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 1.25rem; padding: clamp(1.4rem, 3vw, 2.25rem); }
.card > :last-child { margin-bottom: 0; }
.card p { max-width: 46rem; }
.card h2, .card h3 { color: var(--cream); font-weight: 700; margin-bottom: .75rem; }
.card h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.card h3 { font-size: 1.2rem; }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--ice); margin-bottom: .5rem; }
.section-sub { color: var(--muted); max-width: 44rem; margin-bottom: 1.5rem; }
.muted { color: var(--muted); }
.kicker { font-family: var(--serif); font-size: 1.3rem; color: var(--sand); line-height: 1.4; }
.pull { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.65rem); color: var(--ice); line-height: 1.4; }
strong { color: var(--cream); }

/* acquisitions — most prominent block */
.card-feature { background: linear-gradient(135deg, rgba(50, 76, 87, .75), rgba(34, 51, 64, .7)); border-color: rgba(162, 222, 204, .35); padding: clamp(1.6rem, 4vw, 3rem); }
#what-we-do .card-feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.acq-head { grid-column: 1 / -1; text-align: center; }
.acq-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.acq-head p { margin-bottom: 0; margin-inline: auto; }
#different .section-title, #different .section-sub, #values .section-title { text-align: center; }
#different .section-sub { margin-inline: auto; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
.tiles li { padding: 1.1rem 1.2rem; border-radius: .9rem; background: rgba(33, 38, 51, .55); border: 1px solid var(--line); color: var(--cream); line-height: 1.35; font-weight: 700; }


/* deal triage — secondary to acquisitions */
.triage .card { text-align: center; max-width: 52rem; margin-inline: auto; background: rgba(34, 51, 64, .45); }
.triage .card h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.triage-lead { margin-inline: auto; color: var(--muted); }
.triage-label { margin: 1.25rem 0 .75rem; font-family: var(--btn-font); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.prices li { padding: .9rem .75rem; border-radius: .9rem; border: 1px solid var(--line); background: rgba(33, 38, 51, .55); }
.prices span { display: block; font-size: .95rem; color: var(--muted); }
.prices strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.3; color: var(--sand); }
.triage-note { margin: 1rem auto 0; font-size: .9rem; color: var(--muted); }

/* story / duo / values */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; padding-block: clamp(1.5rem, 3vw, 2.25rem); border-block: 1px solid var(--line); }
.story-col > :last-child { margin-bottom: 0; }
.story-col h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 700; color: var(--cream); margin-bottom: .75rem; }
.story-col p { max-width: 36rem; }
.story-col + .story-col { padding-left: clamp(1.5rem, 5vw, 4.5rem); border-left: 1px solid var(--line); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.dash li { position: relative; padding-left: 1.2rem; margin-bottom: .45rem; }
.dash li::before { content: "–"; position: absolute; left: 0; color: var(--mint); }
.together { margin: 1.75rem 0 0; font-family: var(--serif); font-size: 1.35rem; color: var(--sand); text-align: center; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.25rem; }
.values li { padding: 1.1rem 1.25rem; border-radius: .9rem; border: 1px solid var(--line); background: rgba(34, 51, 64, .45); }

.ahead-card { text-align: center; }
.ahead-card p { max-width: 40rem; margin-inline: auto; margin-bottom: 1rem; }
.ahead-card .btn { margin-top: .5rem; }

.site-footer { border-top: 1px solid var(--line); padding-block: 2rem; text-align: center; color: var(--muted); font-size: .95rem; }
.site-footer p { margin: 0; }

/* tablet */
@media (max-width: 62rem) {
  .hero { grid-template-columns: 1fr; row-gap: clamp(2rem, 5vw, 4.5rem); }
  .company { order: -2; margin-bottom: calc(-1 * clamp(.5rem, 1.5vw, 1.5rem)); }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 16 / 9; }
  .hero-copy { max-width: 40rem; }
  #what-we-do .card-feature { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story-col + .story-col { padding-left: 0; border-left: 0; }
  .values { grid-template-columns: repeat(2, 1fr); }
}

/* phone */
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .site-header nav { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem 1rem; text-align: center; }
  .duo, .values, .prices { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .company::after { width: 40%; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .ahead-card .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
