/* Homepage refinement. Loaded only on the front page; interior layouts keep main.css. */

:root { --tn-home-copy: clamp(1.125rem, 1rem + .22vw, 1.1875rem); }
.tn-eyebrow { font-size: var(--tn-eyebrow-font-size, 0.9375rem); font-weight: var(--tn-eyebrow-weight, 600); line-height: var(--tn-eyebrow-line-height, 1.4); letter-spacing: var(--tn-eyebrow-tracking, 0.12em); }
.tn-eyebrow__rule { height: 4px; }
.tn-home-sections .tn-eyebrow__rule { width: 48px; }
.tn-textlink { font-size: .875rem; letter-spacing: .1em; }
.tn-home-sections .tn-button, .tn-hero__button { font-size: .9375rem; letter-spacing: .1em; }

.tn-hero { min-height: 560px; }
.tn-hero__shade {
	background: linear-gradient(90deg, rgba(2, 20, 11, .73), rgba(2, 20, 11, .37) 38%, transparent 76%),
		linear-gradient(0deg, rgba(2, 20, 11, .5), transparent 35%);
}
.tn-hero__text { max-width: 650px; padding-block: 56px 108px; }
/* Reserve space for the side arrow where the text column approaches the viewport edge. */
@media (min-width: 761px) and (max-width: 1399px) and (orientation: landscape),
       (min-width: 1081px) and (max-width: 1399px) {
	.tn-hero__text { margin-left: max(0px, calc(clamp(8px, 2vw, 28px) + 56px + 16px - var(--tn-gutter))); }
}
.tn-hero__title { font-size: clamp(3.5rem, 5.9vw, 5.6rem); line-height: 1.01; }
.tn-hero__lede { max-width: 29em; font-size: var(--tn-home-copy); line-height: 1.65; }
.tn-hero__button { min-width: 220px; }
.tn-hero__nav { gap: 8px; bottom: 24px; }
.tn-hero__dot { width: 44px; height: 44px; }
.tn-hero__dot::before { inset: 18px; }
.tn-hero__pause { width: 44px; height: 44px; }
.tn-hero__count { display: inline-flex; align-items: center; gap: 10px; padding-inline: 10px; font-size: .875rem; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.tn-hero__count-rule { width: 24px; height: 1px; background: rgba(255, 255, 255, .6); }
.tn-hero__explore {
	position: absolute; right: var(--tn-gutter); bottom: 24px; z-index: 4;
	display: inline-flex; align-items: center; gap: 14px; min-height: 44px;
	font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
}
.tn-hero__explore .tn-icon { font-size: 24px; color: var(--tn-brand-gold); }
.tn-hero__arrow { background: rgba(2, 20, 11, .15); }
#intro, #featured-projects, #home-services { scroll-margin-top: 24px; }

.tn-intro { padding-block: clamp(64px, 7vw, 104px) clamp(52px, 5vw, 76px); }
.tn-intro__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 5vw, 76px); }
.tn-intro .tn-heading { max-width: 11em; font-size: clamp(2.5rem, 3.5vw, 3.25rem); line-height: 1.07; }
.tn-intro__text { font-size: var(--tn-home-copy); line-height: 1.7; }
.tn-intro__location { margin-top: 20px; padding-left: 14px; border-left: 2px solid var(--tn-brand-gold); font-size: 1.0625rem; line-height: 1.6; color: var(--tn-green-800); }
.tn-features { padding: 32px 12px !important; background: var(--tn-white); border: 1px solid var(--tn-line); border-top: 2px solid var(--tn-brand-gold); }
.tn-feature__icon { font-size: var(--tn-content-icon-size); color: var(--tn-brand-green); }
/* Size the tightly cropped stones by their painted bounds, within the shared icon slot. */
.tn-feature__icon--brand { position: relative; width: 1em; height: 1em; }
.tn-feature__build-mark { position: absolute; inset: 12.5%; display: block; width: 75%; height: 75%; object-fit: contain; }
.tn-feature__title { margin-top: 22px; font-size: 1rem; font-weight: 600; letter-spacing: .17em; }
.tn-feature__text { font-size: 1.125rem; line-height: 1.6; }

/* Original vector foliage echoes the concept's vine without another photo download. */
.tn-home-sections { position: relative; isolation: isolate; overflow: clip; }
.tn-home-sections > section { position: relative; }
.tn-home-sections > section > .tn-container { position: relative; z-index: 2; }
.tn-home-sections::before {
	content: ""; position: absolute; z-index: 1; pointer-events: none;
	top: 0; bottom: 0; left: -68px; width: 180px;
	background: url("../images/botanical-vine.svg") left top / 180px auto repeat-y;
	opacity: .55;
}

.tn-projects { padding-block: 0 clamp(28px, 3vw, 44px); background: var(--tn-cream); border: 0; }
.tn-projects__panel { padding: clamp(28px, 3.5vw, 48px); background: var(--tn-cream); border: 1px solid var(--tn-line); border-top: 2px solid var(--tn-brand-green); }
.tn-projects__head { align-items: flex-end; margin-bottom: 32px; padding-left: 0; gap: 24px 40px; }
.tn-projects__heading { max-width: 700px; }
.tn-projects__heading .tn-eyebrow { margin-bottom: 18px; }
.tn-projects__heading .tn-heading { max-width: 15em; font-size: clamp(1.9rem, 2.5vw, 2.5rem); line-height: 1.08; }
.tn-projects__description { margin-top: 16px; max-width: 47ch; font-size: var(--tn-home-copy); line-height: 1.65; }
.tn-projects__head .tn-textlink { min-height: 44px; letter-spacing: .12em; font-weight: 600; border-bottom: 1px solid var(--tn-brand-gold); white-space: nowrap; }
.tn-projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.tn-card { display: flex; min-width: 0; }
.tn-card:first-child { grid-column: auto; }
.tn-card__link, .tn-card:first-child .tn-card__link { display: grid; grid-template-columns: minmax(0, 1fr) 48px; grid-template-rows: auto 1fr; width: 100%; aspect-ratio: auto; color: var(--tn-ink); background: transparent; box-shadow: none; border: 0; border-bottom: 1px solid var(--tn-line); }
.tn-card__picture { grid-column: 1 / -1; height: auto; aspect-ratio: 16 / 10; overflow: hidden; }
.tn-card__picture img { transition: transform .65s var(--tn-ease); }
.tn-card__body { position: static; padding: 22px 16px 26px 0; gap: 10px; }
.tn-card__title { font-size: clamp(1.8rem, 2.4vw, 2.25rem); font-weight: 600; line-height: 1.12; transition: color .25s; }
.tn-card__tags { font-size: .8125rem; line-height: 1.55; letter-spacing: .07em; gap: 4px 8px; color: var(--tn-text); }
.tn-card__go { position: static; align-self: start; margin-top: 22px; width: 48px; height: 38px; font-size: 28px; color: var(--tn-green-800); background: transparent; border: 0; border-radius: 0; transition: transform .4s var(--tn-ease); }
.tn-card__link::after { content: none; }
.tn-card__link::before { content: ""; position: absolute; bottom: 0; left: 0; right: 100%; height: 2px; background: var(--tn-brand-gold); transition: right .4s ease-out; }
.tn-card__link:hover::before, .tn-card__link:focus-visible::before { right: 0; }
.tn-card__link:hover .tn-card__title, .tn-card__link:focus-visible .tn-card__title { color: var(--tn-brand-green); }
.tn-card__link:hover .tn-card__picture img, .tn-card__link:focus-visible .tn-card__picture img { transform: scale(1.035); }
.tn-card__link:hover .tn-card__go, .tn-card__link:focus-visible .tn-card__go { transform: translateX(5px); background: transparent; color: var(--tn-brand-green); }

/* Horizontal section divider with brand gold fading lines and square gold-framed thick stones */
.tn-section-divider { position: relative; z-index: 2; display: flex; align-items: center; gap: 24px; height: 96px; }
.tn-section-divider::before, .tn-section-divider::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--tn-brand-gold)); }
.tn-section-divider::after { transform: scaleX(-1); }
.tn-section-divider__ornament { position: relative; display: grid; place-items: center; flex: none; width: 80px; height: 80px; }
.tn-section-divider__mark { display: block; width: 66px; height: 66px; object-fit: contain; }

.tn-welcome { padding-block: clamp(28px, 3vw, 44px) clamp(64px, 7vw, 104px); background: var(--tn-cream); border: 0; }
.tn-welcome__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: stretch; }
.tn-welcome__media { aspect-ratio: auto; min-height: 460px; box-shadow: none; }
.tn-welcome__text { padding-block: 12px; }
.tn-welcome__text .tn-eyebrow { margin: 0 0 18px; }
.tn-welcome__text .tn-heading { font-size: clamp(2.25rem, 3.3vw, 3rem); max-width: 14em; }
.tn-welcome__stories { margin-top: 28px; display: grid; gap: 28px; }
.tn-welcome__story h3 { font-size: 1.25rem; line-height: 1.4; font-weight: 600; color: var(--tn-green-800); }
.tn-welcome__story p { margin-top: 8px; font-size: var(--tn-home-copy); line-height: 1.7; max-width: 57ch; }
.tn-welcome__directory { margin-top: clamp(48px, 5vw, 72px); padding: clamp(28px, 3.5vw, 48px); background: var(--tn-cream); border: 1px solid var(--tn-line); border-top: 2px solid var(--tn-brand-green); }
.tn-welcome__directory > .tn-heading { font-size: clamp(1.9rem, 2.5vw, 2.5rem); }
.tn-welcome__services-intro { margin-top: 12px; max-width: 48ch; font-size: var(--tn-home-copy); line-height: 1.65; }
.tn-welcome__services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; border: 0; padding-top: 0 !important; margin-top: 24px !important; }
.tn-welcome__services li { padding: 0; border-bottom: 1px solid var(--tn-line); }
.tn-welcome__services li::before { display: none; }
.tn-welcome__services a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 17px; min-height: 72px; height: 100%; font-size: 1.125rem; font-weight: 500; line-height: 1.5; text-decoration: none; }
.tn-welcome__services a::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 100%; height: 2px; background: var(--tn-brand-gold); pointer-events: none; transition: right .4s ease-out; }
.tn-welcome__services a:hover::after, .tn-welcome__services a:focus-visible::after { right: 0; }
.tn-welcome__services a .tn-icon { font-size: 22px; color: var(--tn-green-800); transition: transform .3s var(--tn-ease); }
.tn-welcome__services a:hover { text-decoration: none; }
.tn-welcome__services a:hover .tn-icon, .tn-welcome__services a:focus-visible .tn-icon { transform: translateX(4px); }

.tn-cta { padding-block: clamp(64px, 7vw, 96px); }
.tn-cta__inner { grid-template-columns: 42% 1fr; min-height: 370px; }
.tn-cta__panel { border-bottom: 3px solid var(--tn-brand-gold); isolation: isolate; overflow: clip; }
.tn-cta__panel::after {
	content: ""; position: absolute; z-index: -1; pointer-events: none;
	top: -40px; bottom: 0; right: -64px; width: 160px;
	background: url("../images/botanical-vine.svg") left top / 160px auto no-repeat;
	transform: scaleX(-1); opacity: .16;
}
.tn-cta__title { max-width: 15em; font-size: clamp(2.25rem, 3.1vw, 3rem); line-height: 1.08; }
.tn-cta__text { font-size: var(--tn-home-copy); line-height: 1.7; }
.tn-cta__actions { gap: 20px 26px; }
.tn-cta__phone { font-size: 1.0625rem; }
.tn-cta__phone a { text-underline-offset: 4px; }
.tn-footer { font-size: 1.0625rem; }
.tn-footer__heading { font-size: .8125rem; }
.tn-footer__credentials { font-size: .9375rem; }
.tn-footer__base { font-size: .875rem; }

@media (max-width: 1079px) {
	.tn-hero__explore { display: none; }
	.tn-home-sections::before { left: -100px; opacity: .3; }
}
@media (max-width: 1000px) {
	.tn-intro__grid { grid-template-columns: 1fr; gap: 36px; }
	.tn-intro__lead { max-width: 640px; }
	.tn-intro .tn-heading { max-width: 14em; }
	.tn-features { padding: 28px 16px !important; }
}
@media (max-width: 960px) {
	.tn-welcome__grid { grid-template-columns: 1fr; gap: 36px; }
	.tn-welcome__media { aspect-ratio: 16 / 10; min-height: 0; }
	.tn-welcome__text { padding: 0; }
	.tn-welcome__text .tn-heading { max-width: 16em; }
	.tn-welcome__stories { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
	.tn-welcome__story:first-child { grid-column: 1 / -1; }
	.tn-welcome__services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.tn-cta__inner { grid-template-columns: 1fr; }
	.tn-cta__media { height: clamp(240px, 42vw, 360px); }
	.tn-cta__panel { padding-inline: var(--tn-gutter); }
}
@media (max-width: 760px), (orientation: portrait) and (max-width: 1080px) {
	.tn-hero { min-height: 540px; }
	.tn-hero__shade { background: linear-gradient(0deg, rgba(2, 20, 11, .94), rgba(2, 20, 11, .66) 35%, rgba(2, 20, 11, .08) 75%); }
	.tn-hero__text { padding-block: 40px 112px; max-width: 650px; }
	.tn-hero__title { font-size: clamp(2.8rem, 8.4vw, 4.5rem); max-width: 11em; }
	.tn-hero__lede { display: block; font-size: 1.125rem; max-width: 29em; }
	.tn-hero__arrow { display: inline-flex; width: 44px; height: 44px; font-size: 28px; top: auto; bottom: 24px; margin: 0; border: 1px solid rgba(255, 255, 255, .55); }
	.tn-hero__arrow--prev { left: var(--tn-gutter); }
	.tn-hero__arrow--next { right: var(--tn-gutter); }
	.tn-hero__dots { display: none; }
	.tn-hero__text .tn-eyebrow { font-size: var(--tn-eyebrow-font-size, 0.9375rem); font-weight: var(--tn-eyebrow-weight, 600); line-height: var(--tn-eyebrow-line-height, 1.4); letter-spacing: var(--tn-eyebrow-tracking, 0.12em); gap: 10px; }
	.tn-hero__text .tn-eyebrow__rule { width: 28px; }
	.tn-hero__pillars { font-size: .8125rem; letter-spacing: .18em; }
}
@media (max-width: 760px) {
	.tn-projects__grid { grid-template-columns: 1fr; }
	.tn-section-divider { gap: 16px; height: 88px; }
}
@media (max-width: 560px) {
	.tn-section-divider { gap: 12px; }
}
@media (max-width: 640px) {
	.tn-home-sections::before { left: -150px; opacity: .25; }
	.tn-intro .tn-heading { font-size: 2.65rem; }
	.tn-intro__lead .tn-button { margin-top: 24px; }
	.tn-feature { padding-block: 24px; }
	.tn-feature__title { margin-top: 2px; }
	.tn-features { padding: 8px 20px !important; }
	.tn-projects__panel { padding: 28px 20px; }
	.tn-projects__head { gap: 16px; margin-bottom: 24px; }
	.tn-projects__head .tn-eyebrow { font-size: var(--tn-eyebrow-font-size, 0.9375rem); font-weight: var(--tn-eyebrow-weight, 600); line-height: var(--tn-eyebrow-line-height, 1.4); letter-spacing: var(--tn-eyebrow-tracking, 0.12em); }
	.tn-projects__head .tn-textlink { font-size: .875rem; letter-spacing: .08em; }
	.tn-card__title { font-size: clamp(1.65rem, 6.2vw, 1.9rem); }
	.tn-card__body { padding-block: 18px 22px; gap: 8px; }
	.tn-card__go { margin-top: 18px; }
	.tn-welcome__media { aspect-ratio: 4 / 3; }
	.tn-welcome__stories, .tn-welcome__services { grid-template-columns: 1fr; }
	.tn-welcome__story:first-child { grid-column: auto; }
	.tn-welcome__directory { margin-top: 44px; padding: 28px 20px; }
	.tn-cta { padding-bottom: 0; }
	.tn-cta__panel { padding-top: 76px; padding-bottom: 48px; }
	.tn-cta__actions { align-items: stretch; flex-direction: column; }
	.tn-cta__phone { text-align: center; }
}
@media (max-width: 360px) {
	.tn-hero__title { font-size: 2.65rem; }
	.tn-hero__text .tn-eyebrow__rule { display: none; }
	.tn-intro .tn-heading { font-size: 2.35rem; }
	.tn-projects__head { display: block; }
}
@media (max-height: 600px) {
	.tn-hero { height: auto; min-height: calc(100svh - var(--tn-header-h)); }
	.tn-hero__text { padding-block: 48px 112px; }
}

/* The first photo remains usable even when JavaScript is disabled. */
.tn-hero:not(.is-ready) .tn-hero__arrow,
.tn-hero:not(.is-ready) .tn-hero__nav { display: none; }

@media (prefers-reduced-motion: reduce) {
	.tn-card__link::before, .tn-welcome__services a::after { transition-duration: .4s !important; }
	.tn-welcome__services a:hover .tn-icon, .tn-welcome__services a:focus-visible .tn-icon { transform: none; }
	.tn-card__picture img, .tn-card__link:hover .tn-card__picture img, .tn-card__link:focus-visible .tn-card__picture img { transform: none; }
}
