/* ---------------------------------------------------------------------------
 * Law Offices of Suzanne Tufts — 2026 home-page design.
 *
 * Kept apart from tuftslaw.css on purpose. That file is the current live site;
 * this one is the in-flight redesign, so it can be iterated with the designer,
 * reviewed on its own, and dropped wholesale if the direction changes.
 *
 * Loaded after tuftslaw.css, so it wins on source order at equal specificity.
 * Colours are sampled from Tufts-home-page.pdf, not eyeballed.
 * ------------------------------------------------------------------------ */

:root {
	/* Already in tuftslaw.css, repeated so this file stands alone if the
	   other is ever unloaded. */
	--tl-navy: #24356d;
	--tl-orange: #df6d27;

	/* New in the 2026 design. */
	--tl-pale: #dde5f0;        /* "How We Help", "Who We Help", the 01/02/03 band */
	--tl-navy-footer: #031f51; /* Footer — deeper than the band navy */

	--tl-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--tl-sans: Montserrat, "Helvetica Neue", Arial, sans-serif;
}

/* ---------------------------------------------------------------------------
 * Header.
 * ------------------------------------------------------------------------ */

/* The no-tagline lockup is two text lines instead of three, so it carries more
   height per unit of width. 40px keeps the header bar the same height it was
   while making the wordmark read larger than before. */
.scheme_default body .sc_layouts_logo img {
	height: 40px;
	width: auto;
}

/* Robert: "make the nav text larger so it's easier to read". It was 0.78em of
   Photolia's 14px root — 10.9px, well below what this audience should be asked
   to read. Note the root here is 14px, not the usual 16px, so 1rem is 14px:
   1.04rem lands at 14.6px. Measured at 1440px the eight items then span 785px
   in a 1325px row beside a 239px logo, so there is still ~300px spare. */
.scheme_default body .top_panel .sc_layouts_menu_nav > li > a,
.scheme_default body .top_panel_default .sc_layouts_menu_nav > li > a {
	font-family: var(--tl-sans);
	font-size: 1.04rem;
	font-weight: 500;
	letter-spacing: 0.045em;
}

/* Below 1200px the wider type would crowd the logo before Photolia switches to
   the burger, so step it back rather than let the row wrap. */
@media ( max-width: 1199px ) {
	.scheme_default body .top_panel .sc_layouts_menu_nav > li > a,
	.scheme_default body .top_panel_default .sc_layouts_menu_nav > li > a {
		font-size: 0.93rem;
		letter-spacing: 0.03em;
	}
}

/* Robert: the dropdown chevron is hard to read and "looks too high in relation
   to its text". Both are literal: the glyph was 0.72em (7.9px) and Photolia
   lifts it with `transform: translateY(-3.9px)`. Dropping the transform puts it
   back on the text's own centre line; `vertical-align: middle` with a unit
   line-height is what actually does the centring once the nudge is gone. */
.scheme_default body .top_panel .sc_layouts_menu_nav > li.menu-item-has-children > a:after,
.scheme_default body .top_panel_default .sc_layouts_menu_nav > li.menu-item-has-children > a:after {
	font-size: 0.66em;
	line-height: 1;
	transform: none;
	vertical-align: middle;
	margin-left: 0.4em;
	opacity: 1;
}

/* ---------------------------------------------------------------------------
 * Typography.
 *
 * The design sets H1/H2 in Cormorant Garamond Semibold and body in Montserrat
 * Medium. Cormorant runs small and light for its point size, so it is set a
 * notch heavier and larger than the metric would suggest.
 * ------------------------------------------------------------------------ */

.post_content .tl26-h1,
.post_content .tl26-h2,
.post_content .tl26-h3 {
	font-family: var(--tl-serif);
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	margin: 0;
	color: var(--tl-navy);
}

.post_content .tl26-h1 {
	font-size: clamp( 30px, 4.1vw, 52.5px );  /* 52.5px is the design's size and its ceiling */
	line-height: 1.14;
	letter-spacing: -0.012em;
}
.post_content .tl26-h2 { font-size: clamp( 25px, 3.125vw, 41px ); line-height: 1.2; }  /* 40px at 1280 */
.post_content .tl26-h3 { font-size: clamp( 19px, 2.34vw, 30.8px ); line-height: 1.22; }  /* 30px at 1280 */

.post_content .tl26-h2--light,
.post_content .tl26-h1--light { color: #fff; }
.post_content .tl26-h2--center { text-align: center; }

/* Body copy. Montserrat Medium at the design's 15px/1.75 rather than
   Photolia's 14px/1.6 — the paragraphs here are long and the audience skews
   older, so the extra leading earns its space. */
.post_content [class^="tl26-"] p,
.post_content [class*=" tl26-"] p {
	font-family: var(--tl-sans);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.75;
	color: var(--tl-body, #3a4048);
	margin: 0 0 1.1em;
}

/* The design's 13px body is right on a desktop and too small on a phone, so it
   only tightens once there is room for it. */
@media ( min-width: 782px ) {
	.post_content [class^="tl26-"] p,
	.post_content [class*=" tl26-"] p { font-size: 13.2px; }
}

/* The short rule under most headings. */
.post_content .tl26-rule {
	display: block;
	width: 54px;
	height: 2px;
	margin: 0.95rem 0 1.35rem;
	background: var(--tl-orange);
}
.post_content .tl26-rule--center { margin-left: auto; margin-right: auto; }
.post_content .tl26-rule--light  { background: rgba( 255, 255, 255, 0.75 ); }

.scheme_default .post_content .tl26-eyebrow {
	font-family: var(--tl-sans);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.13em;
	color: var(--tl-orange);
	margin: 0 0 1.1rem;
}

.scheme_default .post_content .tl26-more a {
	font-family: var(--tl-sans);
	font-weight: 600;
	font-size: 14px;
	color: var(--tl-orange);
	text-decoration: none;
}
.scheme_default .post_content .tl26-more a:hover { text-decoration: underline; }


/* The short rule under the section headings. Drawn as a pseudo-element rather
   than a separate block: it is design furniture, and a Separator block sitting
   under every heading would be four more things for the client to nudge out of
   place. */
.post_content .tl26-h2:after {
	content: "";
	display: block;
	width: 54px;
	height: 2px;
	margin: 0.95rem 0 0;
	background: var(--tl-orange);
}
.post_content .tl26-h2--center:after { margin-left: auto; margin-right: auto; }
.post_content .tl26-h2--onorange:after { background: rgba( 255, 255, 255, 0.8 ); }

/* ---------------------------------------------------------------------------
 * Buttons.
 *
 * The classes live on core/button's wrapper, so the paint goes on the inner
 * `.wp-block-button__link`. Icons are pseudo-elements rather than markup inside
 * the label, so the button text stays plain editable text.
 * ------------------------------------------------------------------------ */

.scheme_default .post_content .wp-block-button.tl26-btn--solid > .wp-block-button__link,
.scheme_default .post_content .wp-block-button.tl26-btn--outline > .wp-block-button__link,
.scheme_default .post_content .wp-block-button.tl26-btn--white > .wp-block-button__link,
.scheme_default .post_content .wp-block-button.tl26-btn--ghost > .wp-block-button__link {
	font-family: var(--tl-sans);
	font-weight: 600;
	font-size: 12.5px;
	letter-spacing: 0.06em;
	padding: 0.92em 1.7em;
	border-radius: 999px;
	/* Photolia's style.css carries `.wp-block-button__link { border-width: 0
	   !important }`, so the outline and ghost pills cannot get an edge without
	   matching it. This is the one place in the file that needs !important. */
	border-style: solid;
	border-width: 1px !important;
	border-color: transparent;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.scheme_default .post_content .wp-block-button.tl26-btn--solid > .wp-block-button__link   { background-color: var(--tl-orange); color: #fff; }
.scheme_default .post_content .wp-block-button.tl26-btn--solid > .wp-block-button__link:hover { background-color: #c25b1c; color: #fff; }
.scheme_default .post_content .wp-block-button.tl26-btn--outline > .wp-block-button__link { background-color: transparent; color: var(--tl-navy); border-color: var(--tl-navy); }
.scheme_default .post_content .wp-block-button.tl26-btn--outline > .wp-block-button__link:hover { background-color: var(--tl-navy); color: #fff; }
.scheme_default .post_content .wp-block-button.tl26-btn--white > .wp-block-button__link   { background-color: #fff; color: var(--tl-orange); }
.scheme_default .post_content .wp-block-button.tl26-btn--white > .wp-block-button__link:hover { background-color: var(--tl-navy); color: #fff; }
.scheme_default .post_content .wp-block-button.tl26-btn--ghost > .wp-block-button__link   { background-color: transparent; color: #fff; border-color: rgba( 255,255,255,0.85 ); }
.scheme_default .post_content .wp-block-button.tl26-btn--ghost > .wp-block-button__link:hover { background-color: #fff; color: var(--tl-orange); }

.scheme_default .post_content .wp-block-button.tl26-btn--phone > .wp-block-button__link:before,
.scheme_default .post_content .wp-block-button.tl26-btn--calendar > .wp-block-button__link:before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 0.95em;
	line-height: 1;
}
.scheme_default .post_content .wp-block-button.tl26-btn--phone > .wp-block-button__link:before    { content: "\f095"; }
.scheme_default .post_content .wp-block-button.tl26-btn--calendar > .wp-block-button__link:before { content: "\f073"; }

/* ---------------------------------------------------------------------------
 * Sections.
 *
 * Each band is an alignfull core/group carrying the tl-angle-* classes, so the
 * "Angled edges" panel still drives the slope. tuftslaw.css caps the children
 * of a full-bleed group at 62rem via
 * `.post_content .wp-block-group.alignfull > :not(.alignfull):not(.alignwide)`
 * — each `:not()` counts, so that scores (0,5,0). `[class*="tl26-"]` plus two
 * `:not()`s scores (0,6,0) and takes every inner row back to the 1170px measure
 * in one rule.
 * ------------------------------------------------------------------------ */

.post_content .wp-block-group.alignfull > [class*="tl26-"]:not(.tl26-split):not(.tl26-nomax) {
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	box-sizing: border-box;
}

/* The split rows run an image to the edge of the screen and place their own
   gutter, so they take the whole band. */
.post_content .wp-block-group.alignfull > .tl26-split:not(.tl26-nomax) {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

/* tuftslaw.css carries:
 *
 *   body .post_content > :is(.wp-block-group,.wp-block-cover).alignfull.tl-angle     { z-index: 2 }
 *   body .post_content > :is(.wp-block-group,.wp-block-cover).alignfull.tl-angle + * { z-index: 1 }
 *
 * — "a section following an angled one must not sit on top of it". That is
 * right when the follower is square: it would otherwise cover the slope. This
 * page is a run of angled bands, though, and there each band's own clip is
 * what reveals the band above it, so it *has* to paint on top.
 *
 * The effect was that only the first boundary broke: "Why Planning Matters" is
 * the one angled band not preceded by another, so it kept z-index 2 while the
 * pale band below took 1 — and the navy painted straight over the pale band's
 * clipped corner, giving a flat edge. Every later boundary looked right because
 * both sides scored 1 and DOM order decided.
 *
 * Levelling consecutive angled bands puts stacking back in DOM order. Two
 * compound selectors is (0,5,1), which outranks the (0,4,1) rule outright
 * rather than relying on load order. */
body .post_content > .alignfull.tl-angle + .alignfull.tl-angle {
	z-index: 2;
}

/* Photolia pulls the footer up by a flat -100px, and tuftslaw.css drops the
   wrapper's closing padding when a page ends on an angled band. On the older
   pages that is invisible because the closing band is the same navy as the
   footer — the angled-edges panel says as much in its own help text. This page
   closes on orange, so the band carries `calc(4rem + 100px)` of bottom padding
   as a block attribute, to give those 100px away and still clear the buttons. */

/* Hero.
 *
 * The supplied plate is one image — a light room on the left, the three-photo
 * collage on the right — and using it as a single `cover` background does not
 * hold. `cover` scales by whichever axis needs more: once the band grows taller
 * than the image's 2.23 aspect (which it does as soon as the copy wraps to a
 * third line), it scales by HEIGHT, blows the image up, and drags the collage
 * left underneath the text. Measured at 1440px: the collage landed at x=530
 * while the copy ran to x=625.
 *
 * So the plate is split. The room half is the band's own background — still a
 * normal Background control on the Group block, so it can be swapped in the
 * editor — and the collage is placed here, anchored right, with a width that
 * does not depend on the band's height. The copy can no longer meet it at any
 * width. To change the collage, replace tl26-hero-collage.jpg in uploads.
 * ------------------------------------------------------------------------ */
.post_content .tl26-hero {
	background-color: #f4f6f9;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	isolation: isolate;
}

.post_content .tl26-hero:after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: clamp( 420px, 50%, 1000px );
	background-image: url( "/wp-content/uploads/2026/08/tl26-hero-collage.jpg" );
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

.post_content .wp-block-group.alignfull > .tl26-hero__copy { width: 100%; }
.post_content .tl26-hero__copy { position: relative; z-index: 1; }
.post_content .tl26-hero__copy > * { max-width: 38rem; margin-left: 0; margin-right: 0; }
.scheme_default .post_content .tl26-hero .tl26-lead { font-size: 15px; }
.post_content .tl26-hero .tl26-hero__actions { margin-top: 1.9rem; gap: 0.85rem; max-width: none; }

/* Below 1024px the panel and the copy cannot both have the room they need — at
   834px the copy ran 154px into the collage. Rather than drop the photographs,
   the panel stops being an overlay and becomes the last item in the band's
   flex column: a full-width strip under the copy. */
@media ( max-width: 1023px ) {
	.post_content .tl26-hero:after {
		position: static;
		inset: auto;
		width: auto;
		align-self: stretch;
		height: clamp( 150px, 26vw, 240px );
		margin-top: 2rem;
	}
}

/* Why Planning Matters. */
.post_content .tl26-why__grid { gap: 3.2rem; align-items: flex-start; }
.post_content .tl26-why__questions { gap: 0; }
.post_content .tl26-why__q { padding: 0 1.4rem; text-align: center; border-left: 1px solid rgba( 255,255,255,0.28 ); }
.post_content .tl26-why__q:first-child { border-left: 0; }
.post_content .tl26-why__q .wp-block-image { margin: 0 0 1rem; }
.post_content .tl26-why__q .wp-block-image img { width: 66px; height: auto; margin: 0 auto; display: block; }
.scheme_default .post_content .tl26-why__q p { font-size: 15px; line-height: 1.5; margin: 0; }
.scheme_default .post_content .tl26-pull {
	font-family: var(--tl-serif);
	font-style: italic;
	font-weight: 300;
	font-size: clamp( 18px, 2.34vw, 30.8px );  /* 30px at 1280 */
	line-height: 1.35;
	color: #b9c6e4;
	margin-top: 3rem;
	margin-bottom: 0;
}

/* How We Help. */
.post_content .tl26-help__grid { gap: 2.6rem; margin-top: 2.8rem; }
.post_content .tl26-help__head {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.3rem;
}
.post_content .tl26-help__head .wp-block-image { margin: 0; flex: 0 0 auto; }
.post_content .tl26-help__head .wp-block-image img { width: 72px; height: auto; display: block; }
.post_content .tl26-help__head .tl26-h3 { margin: 0; }

/* Split rows — image against one edge, copy in the content column. */
.post_content .tl26-split { gap: 0; align-items: center; }

/* The photo runs up behind the angled edge above it, so the slope cuts across
   the image rather than the image starting below the slope. The band's own
   top padding is `calc(4.5rem + var(--tl-angle))` — written inline by the
   angle filter — so the column is pulled back by exactly that. The section's
   clip-path does the cutting; nothing here needs overflow.

   Who We Help is a single row, so its photo bleeds top and bottom. Thoughtful
   Guidance has the 01/02/03 row underneath, so only its top bleeds. */
.post_content .tl26-split .tl26-split__art {
	align-self: stretch;
	margin-top: calc( -4.5rem - var(--tl-angle, 0px) );
}
.post_content .tl26-who .tl26-split__art { margin-bottom: calc( -4.5rem - var(--tl-angle, 0px) ); }
.post_content .tl26-split .tl26-split__art .wp-block-image,
.post_content .tl26-split .tl26-split__art figure { margin: 0; height: 100%; }
.post_content .tl26-split .tl26-split__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post_content .tl26-split--image-left .tl26-split__copy  { padding: 3.5rem max( 1.5rem, calc( ( 100vw - 1170px ) / 2 ) ) 3.5rem 3.5rem; }
.post_content .tl26-split--image-right .tl26-split__copy { padding: 3.5rem 3.5rem 3.5rem max( 1.5rem, calc( ( 100vw - 1170px ) / 2 ) ); }

/* About Suzanne — the monogram pattern behind, portrait cut out on the right. */
.post_content .tl26-about {
	background-image: url( "/wp-content/uploads/2026/08/tl26-navy-pattern.png" );
	background-size: cover;
	background-position: center;
}
.post_content .tl26-about__grid { gap: 2rem; align-items: flex-end; }
.post_content .tl26-about__art { align-self: flex-end; }
.post_content .tl26-about__art .wp-block-image { margin: 0; }
.post_content .tl26-about__art img { display: block; width: 100%; max-width: 360px; margin-left: auto; }
.post_content .tl26-about__art { margin-bottom: calc( -1.5rem - var(--tl-angle, 0px) ); }

/* 01 / 02 / 03 */
.post_content .tl26-points { gap: 2.4rem; margin-top: 3.4rem; }
.post_content .tl26-point { position: relative; padding-left: 7.6rem; }
.scheme_default .post_content .tl26-point .tl26-num {
	position: absolute;
	left: 0;
	top: -0.35rem;
	font-family: var(--tl-serif);
	font-weight: 300;
	font-size: clamp( 42px, 6.64vw, 88px );  /* ~85px at 1280, giving the design's 56px figure height */
	line-height: 1;
	color: #97a5c9;
	margin: 0;
}
.post_content .tl26-point .tl26-h3 { margin-bottom: 0.35rem; }
.scheme_default .post_content .tl26-point p { font-size: 14px; margin-bottom: 0; }

/* Closing call to action. */
.post_content .tl26-cta__grid { gap: 2.4rem; align-items: center; }
.post_content .tl26-cta__mark .wp-block-image { margin: 0; }
.post_content .tl26-cta__mark img { width: 118px; height: auto; display: block; }
.scheme_default .post_content .tl26-cta p { margin-bottom: 0; }
.post_content .tl26-cta__actions { flex-direction: column; gap: 0.7rem; }
.post_content .tl26-cta__actions .wp-block-button { width: 100%; }
.post_content .tl26-cta__actions .wp-block-button__link { width: 100%; justify-content: center; box-sizing: border-box; }

/* ---------------------------------------------------------------------------
 * Narrow screens.
 *
 * Photolia's responsive.css boxes the page to fixed pixel widths — 600px, then
 * 440px, then 270px — with !important, so on a 390px phone the content sat in
 * a 270px column. tuftslaw.css already tries to release that for full-bleed
 * pages (`width: 100%`), it just loses to the !important. Matching it is the
 * only way, and it restores the intent of the existing rule rather than adding
 * a new one.
 *
 * This applies to every page carrying `tl-fullbleed`, which is what that rule
 * was always meant to do.
 * ------------------------------------------------------------------------ */

@media ( max-width: 767px ) {
	body.tl-fullbleed .page_content_wrap .content_wrap,
	body.tl-fullbleed .page_content_wrap .content_container {
		width: 100% !important;
		max-width: none !important;
	}
}

@media ( max-width: 1023px ) {
	.post_content .tl26-split--image-left .tl26-split__copy,
	.post_content .tl26-split--image-right .tl26-split__copy { padding: 2.5rem 1.5rem; }
	.post_content .tl26-about__art img { margin: 1.5rem auto 0; }
}

/* Core stacks columns below 782px. Once stacked, the pieces that were pulled
   about to sit under a slope have nothing to sit under, so the negative margins
   have to go or the images ride up over the copy. The angle itself is already
   switched off here by tuftslaw.css. */
@media ( max-width: 781px ) {
	.post_content .tl26-split .tl26-split__art,
	.post_content .tl26-who .tl26-split__art,
	.post_content .tl26-about__art {
		margin-top: 0;
		margin-bottom: 0;
	}
	.post_content .tl26-split__art img { height: auto; }
	.post_content .tl26-about__art img { max-width: 260px; margin: 1.25rem auto 0; }

	/* Icon above its heading rather than beside it — at phone width the two
	   side by side leave the heading three words to a line. */
	.post_content .tl26-help__head { display: block; }
	.post_content .tl26-help__head .wp-block-image { margin: 0 0 0.75rem; }
	.post_content .tl26-help__grid { gap: 2.25rem; }

	/* The question columns lose their dividers and gain rules between them. */
	.post_content .tl26-why__q { border-left: 0; border-top: 1px solid rgba(255,255,255,0.28); padding: 1.4rem 0 0; }
	.post_content .tl26-why__q:first-child { border-top: 0; padding-top: 0; }

	.post_content .tl26-point { padding-left: 3.6rem; }
	.post_content .tl26-num { font-size: 42px; }

	.post_content .tl26-cta__grid { text-align: center; }
	.post_content .tl26-cta__mark img { margin: 0 auto; }
	.post_content .tl26-cta__actions { min-width: 0; }
	.post_content .tl26-h2--onorange:after,
	.post_content .tl26-cta .tl26-h2:after { margin-left: auto; margin-right: auto; }

	.post_content .tl26-hero__copy > * { max-width: none; }
	.post_content .tl26-hero { background-position: 60% 50%; }
}
