.trial-public { margin: 0; background: #f5f5f2; }
.trial-landing {
  --trial-color: #2b655b;
  --ink: #182329;
  --muted: #4d585d;
  --tint: color-mix(in srgb,var(--trial-color) 12%,white);
  --line: color-mix(in srgb,var(--trial-color) 18%,#e8e9e5);
  --display: system-ui,sans-serif;
  width: 100%; margin: 0 auto; color: var(--ink); background: #fff;
  font-family: system-ui,sans-serif; overflow-wrap: anywhere; container-type: inline-size;
}
.trial-landing *, .trial-landing *::before, .trial-landing *::after { box-sizing: border-box; }
.trial-nav {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px 28px; padding: 14px clamp(20px,7cqw,105px);
  background: #fff; color: #182329; border-bottom: 1px solid var(--line);
}
.trial-nav nav { display: flex; flex-wrap: wrap; gap: 8px clamp(12px,3cqw,32px); font-size: .84rem; font-weight: 650; }
.trial-nav a { color: inherit; text-decoration: none; }
.trial-nav a:hover, .trial-secondary:hover { text-decoration: underline; text-underline-offset: .2em; }
.trial-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 800; letter-spacing: -.025em; }
.trial-landing .trial-logo { display: block; width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #fff; }
.trial-landing section { padding: clamp(36px,6.8cqw,98px) clamp(20px,7cqw,105px); }
.trial-landing :is(h1,.trial-preview-title,h2,h3) { font-family: var(--display); color: var(--ink); font-weight: 750; line-height: 1.07; margin: 0 0 18px; }
.trial-landing :is(h1,.trial-preview-title) { max-width: 15ch; font-size: clamp(34px,6.9cqw,100px); letter-spacing: -.06em; text-wrap: balance; }
.trial-landing :is(h2,h3) { font-size: clamp(26px,4.2cqw,54px); letter-spacing: -.045em; }
.trial-landing p { color: var(--muted); line-height: 1.65; white-space: pre-line; margin: 0 0 14px; }
.trial-landing .trial-cover { display: grid; align-items: center; gap: clamp(24px,5cqw,64px); background: var(--tint); min-height: clamp(270px,43cqw,650px); }
.trial-hero-copy { position: relative; z-index: 1; min-width: 0; }
.trial-hero-copy > p:not(.trial-preview-title) { max-width: 50ch; font-size: clamp(15px,1.7cqw,19px); }
.trial-hero-art { min-width: 0; position: relative; margin: 0; }
.trial-hero-art img { display: block; width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.trial-landing .trial-button { display: inline-block; margin: 8px 12px 0 0; border: 1px solid transparent; border-radius: 8px; padding: 13px 19px; background: #17282d; color: #fff; font-weight: 750; font-size: .9rem; text-decoration: none; }
.trial-landing .trial-button:hover { box-shadow: 0 0 0 3px color-mix(in srgb,var(--trial-color) 45%,transparent); }
.trial-secondary { display: inline-block; color: inherit; margin-top: 8px; font-size: .88rem; font-weight: 750; text-decoration: none; }
.trial-services { list-style: none; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,185px),1fr)); gap: 16px; padding: 0; margin: 0; }
.trial-services li { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; min-width: 0; }
.trial-services li::before { content: ''; display: block; width: 26px; height: 4px; background: var(--trial-color); border-radius: 6px; margin-bottom: 17px; }
.trial-services strong { display: block; line-height: 1.35; font-size: clamp(16px,2cqw,22px); }
.trial-services p { margin: 6px 0 0; font-size: .93rem; }
.trial-about { background: var(--tint); }
.trial-about p { max-width: 63ch; margin: 0; }
.trial-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); gap: clamp(10px,2cqw,24px); }
.trial-gallery img { display: block; width: 100%; max-height: 420px; aspect-ratio: 4/3; object-fit: cover; background: var(--tint); }
.trial-gallery img:only-child { max-width: 650px; }
.trial-contact { background: #18292d; }
.trial-landing .trial-contact :is(h2,h3) { color: #fff; }
.trial-landing .trial-contact .trial-button { color: #18292d; background: #fff; }
.trial-landing footer { background: #f4f5f3; padding: 18px clamp(20px,7cqw,105px); color: #4d585d; font-size: .82rem; }
.trial-landing footer a { color: inherit; text-decoration: underline; }
.trial-landing[data-theme=editorial] .trial-cover { background: color-mix(in srgb,var(--trial-color) 27%,#f8fbf8); }
.trial-landing[data-theme=editorial] .trial-hero-art img { border-radius: 5px; box-shadow: 10px 10px 0 color-mix(in srgb,var(--trial-color) 42%,#edf5f0); }
.trial-landing[data-theme=editorial] .trial-showcase { background: #f5f7f4; }
.trial-landing[data-theme=studio] { --display: Georgia,serif; }
.trial-landing[data-theme=studio] .trial-cover { position: relative; min-height: clamp(320px,54cqw,730px); background: color-mix(in srgb,var(--trial-color) 55%,#101c19); }
.trial-landing[data-theme=studio] .trial-hero-art { position: absolute; inset: 0; }
.trial-landing[data-theme=studio] .trial-hero-art img { height: 100%; aspect-ratio: auto; }
.trial-landing[data-theme=studio] .trial-has-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#111912e8,#1018108f 55%,#10181050); }
.trial-landing[data-theme=studio] .trial-hero-copy { color: #fff; }
.trial-landing[data-theme=studio] .trial-hero-copy > p,
.trial-landing[data-theme=studio] .trial-hero-copy > h1 { color: #fff; }
.trial-landing[data-theme=studio] .trial-hero-copy .trial-button { color: #18292d; background: #fff; }
.trial-landing[data-theme=studio] .trial-gallery img { aspect-ratio: 4/5; }
.trial-landing[data-theme=studio] .trial-about { background: #f1efeb; }
.trial-landing[data-theme=studio] .trial-services li { border: 0; border-radius: 0; border-top: 1px solid var(--line); }
.trial-landing[data-theme=minimal] { --tint: color-mix(in srgb,var(--trial-color) 9%,#fff9f1); }
.trial-landing[data-theme=minimal] .trial-cover { background: radial-gradient(ellipse at 80% 30%,var(--tint),#fffaf3 74%); }
.trial-landing[data-theme=minimal] :is(.trial-button,.trial-gallery img) { border-radius: 999px; }
.trial-landing[data-theme=minimal] .trial-hero-art img { aspect-ratio: 1; border-radius: 40% 20% 38% 20%; border: clamp(5px,1cqw,12px) solid #fffcf7; box-shadow: 0 15px 35px #28171024; }
.trial-landing[data-theme=minimal] .trial-offerings { background: #fff; text-align: center; }
.trial-landing[data-theme=minimal] .trial-services li { border-radius: 22px; box-shadow: 0 10px 24px #3023140e; }
.trial-landing[data-theme=minimal] .trial-services li::before { width: 12px; height: 12px; margin-inline: auto; border-radius: 50%; }
.trial-landing[data-theme=minimal] .trial-gallery img { border-radius: 22px; }
.trial-landing[data-theme=minimal] .trial-contact { text-align: center; background: color-mix(in srgb,var(--trial-color) 60%,#28190f); }
@container (min-width: 610px) {
  .trial-landing:is([data-theme=editorial],[data-theme=minimal]) .trial-has-cover { grid-template-columns: 1fr 1fr; }
  .trial-landing[data-theme=studio] .trial-about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; }
  .trial-landing[data-theme=studio] .trial-about h2 { margin: 0; }
}
@container (max-width: 609px) {
  .trial-landing[data-theme=studio] .trial-has-cover::after { background: linear-gradient(0deg,#111912e8,#10181068); }
  .trial-landing[data-theme=studio] .trial-has-cover { align-items: end; }
  .trial-nav nav { font-size: .76rem; }
}
/* The public page and the preview use this same layout. */
.trial-public .trial-landing { min-height: 100vh; }
.trial-landing .trial-nav { padding-block: 17px; }
.trial-landing .trial-nav nav a:last-child { color: #28362f; background: var(--tint); padding: 5px 9px; border-radius: 6px; }
.trial-landing .trial-nav nav { align-items: center; }
.trial-landing .trial-hero-copy > p { margin-block-end: 22px; }
.trial-landing .trial-about-with-photo { display: grid; gap: clamp(18px,4cqw,54px); align-items: center; }
.trial-about-with-photo img { display: block; width: 100%; aspect-ratio: 4/3; max-height: 420px; object-fit: cover; }
.trial-landing[data-theme=studio] .trial-about-with-photo img { grid-row: 1; }
.trial-landing[data-theme=minimal] .trial-about-with-photo img { border-radius: 30px 9px 30px 9px; }
.trial-landing[data-theme=minimal] .trial-cover { background: radial-gradient(ellipse at 78% 40%,#f9e4cc,#fffaf2 67%); }
.trial-landing[data-theme=minimal] .trial-hero-copy :is(h1,.trial-preview-title) { color: #2c211d; font-family: Georgia,serif; font-weight: 700; letter-spacing: -.065em; }
.trial-landing[data-theme=minimal] .trial-hero-copy .trial-button { background: color-mix(in srgb,var(--trial-color) 28%,#8b351d); }
.trial-landing[data-theme=minimal] .trial-showcase { background: #fbf1e5; }
.trial-landing[data-theme=minimal] .trial-about { background: #fffaf2; }
.trial-landing[data-theme=editorial] .trial-services li { padding: 24px; border-radius: 5px; }
.trial-landing[data-theme=studio] .trial-showcase { background: #f8f5ef; }
@container (min-width: 610px) {
  .trial-landing .trial-about-with-photo { grid-template-columns: 1fr 1fr; }
  .trial-landing[data-theme=studio] .trial-about-with-photo img { grid-column: 1; }
  .trial-landing[data-theme=minimal] .trial-has-cover { grid-template-columns: 1fr 1.1fr; }
}
.trial-contact-email { display: inline-block; margin-block: 12px; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.trial-landing .trial-footer { background: #f7f6f1; padding-block: 32px 16px; }
.trial-footer-main { display: grid; gap: 16px; align-items: start; }
.trial-footer-main .trial-brand { color: #182329; text-decoration: none; }
.trial-footer-main p { max-width: 50ch; margin: 12px 0 0; }
.trial-footer-contact { display: grid; gap: 8px; }
.trial-footer-credit { margin-top: 22px; padding-top: 13px; border-top: 1px solid #d9e0da; }
@container (min-width: 610px) {
  .trial-footer-main { grid-template-columns: 1.5fr 1fr; }
  .trial-footer-contact { justify-items: end; }
}
