/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
Version: 2.0.1
Text Domain: twentytwentyfive-child
*/

:root {
  --tc-ink: #171512;
  --tc-coal: #201d19;
  --tc-paper: #fbfaf6;
  --tc-sand: #eee8dc;
  --tc-gold: #d8a528;
  --tc-gold-deep: #a97508;
  --tc-muted: #6d665d;
  --tc-line: rgba(23, 21, 18, .16);
  --tc-radius: 18px;
  --tc-shadow: 0 22px 70px rgba(18, 14, 9, .15);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; background: var(--tc-paper); color: var(--tc-ink); }
.wp-site-blocks { padding: 0 !important; }
main.wp-block-group { margin: 0 !important; overflow: clip; }
.wp-block-post-content { margin-block-start: 0; }
a { text-underline-offset: .18em; }
.tc-shell { width: min(calc(100% - clamp(32px, 6vw, 112px)), 1480px); margin-inline: auto; }

/* Shared chrome */
.tc-site-header { position: relative; z-index: 50; background: rgba(23, 21, 18, .98); color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.tc-header-inner { min-height: 104px; gap: 28px; }
.tc-site-header .wp-block-site-logo img { width: min(270px, 30vw); height: auto; }
.tc-site-header .wp-block-navigation { font-size: .86rem; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }
.tc-site-header .wp-block-navigation-item__content { color: #fff; text-decoration: none; }
.tc-site-header .wp-block-navigation-item__content:hover,
.tc-site-header .wp-block-navigation-item__content:focus { color: var(--tc-gold); }
.tc-site-header .wp-block-navigation__responsive-container-open,
.tc-site-header .wc-block-customer-account__account-icon,
.tc-site-header .wc-block-mini-cart__button { color: #fff; }
.tc-header-tools { gap: clamp(12px, 2vw, 26px); }
.tc-site-footer { background: var(--tc-coal); color: #fff; padding-block: clamp(64px, 8vw, 110px) 34px; }
.tc-footer-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .7fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
.tc-footer-brand .wp-block-site-logo img { width: min(320px, 70vw); height: auto; margin-bottom: 22px; }
.tc-footer-brand > p { max-width: 670px; color: #d8d3ca; }
.tc-footer-contact { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }
.tc-footer-contact a { color: #fff; font-weight: 700; }
.tc-site-footer .wp-block-navigation { font-size: .95rem; }
.tc-site-footer .wp-block-navigation-item__content { color: #fff; }
.tc-site-footer .wp-block-navigation-item__content:hover { color: var(--tc-gold); }
.tc-footer-meta { border-top: 1px solid rgba(255,255,255,.15); margin-top: 58px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: #bdb7ae; font-size: .78rem; }
.tc-footer-meta a { color: #d9d4cb; }

/* Typography and buttons */
.tc-eyebrow { margin: 0 0 15px; color: var(--tc-gold); font-size: .76rem; font-weight: 800; letter-spacing: .14em; line-height: 1.25; text-transform: uppercase; }
.tc-eyebrow--dark { color: #815c05; }
.tc-display { margin: 0; font-size: clamp(2.65rem, 6.4vw, 6.6rem); font-weight: 790; letter-spacing: -.055em; line-height: .94; text-wrap: balance; }
.tc-section-title { margin: 0; font-size: clamp(2.25rem, 4.8vw, 5rem); font-weight: 760; letter-spacing: -.05em; line-height: .98; text-wrap: balance; }
.tc-lede { font-size: clamp(1.16rem, 1.65vw, 1.55rem); line-height: 1.58; }
.tc-actions { gap: 12px; margin-top: 30px; }
.tc-actions--center { justify-content: center; }
.tc-button .wp-block-button__link { border: 2px solid var(--tc-gold); border-radius: 999px; background: var(--tc-gold); color: var(--tc-ink); padding: .9rem 1.35rem; font-size: .82rem; font-weight: 800; letter-spacing: .045em; line-height: 1.1; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.tc-button .wp-block-button__link:hover,
.tc-button .wp-block-button__link:focus-visible { transform: translateY(-2px); background: #efbd42; border-color: #efbd42; color: #120f0a; }
.tc-button--outline .wp-block-button__link { background: rgba(20,18,15,.28); border-color: rgba(255,255,255,.74); color: #fff; }
.tc-button--outline .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--tc-ink); }
.tc-button--dark .wp-block-button__link { background: var(--tc-ink); border-color: var(--tc-ink); color: #fff; }
.tc-button--dark .wp-block-button__link:hover { background: #000; border-color: #000; color: #fff; }
.tc-button--dark-outline .wp-block-button__link { background: transparent; border-color: var(--tc-ink); color: var(--tc-ink); }

/* Landing hero */
.tc-hero { --tc-parallax-y: 0px; min-height: min(88vh, 900px) !important; isolation: isolate; }
.tc-hero .wp-block-cover__image-background { height: 114%; top: -7%; object-position: 50% 43%; transform: translate3d(0,var(--tc-parallax-y),0) scale(1.04); transform-origin: center; will-change: transform; }
.tc-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,10,8,.86) 0, rgba(11,10,8,.56) 38%, rgba(11,10,8,.08) 68%, rgba(11,10,8,.12) 100%); pointer-events: none; }
.tc-hero .wp-block-cover__inner-container { position: relative; z-index: 2 !important; width: 100%; }
.tc-hero__layout { display: flex; align-items: flex-end; min-height: min(88vh, 900px); padding-block: clamp(90px, 12vh, 155px); }
.tc-hero__panel { width: min(650px, 52vw); margin: 0; padding: clamp(25px, 3.5vw, 50px); background: rgba(20,18,15,.66); border: 1px solid rgba(255,255,255,.22); border-radius: var(--tc-radius); box-shadow: 0 24px 80px rgba(0,0,0,.28); color: #fff; backdrop-filter: blur(12px); }
.tc-hero__panel,
.tc-hero__panel h1,
.tc-hero__panel p { color: #fff; }
.tc-hero__panel .tc-eyebrow { color: var(--tc-gold); }
.tc-hero__panel .tc-button--outline .wp-block-button__link { color: #fff; }
.tc-hero__panel > * { max-width: none !important; }
.tc-hero__panel .tc-display { font-size: clamp(2.55rem, 5.1vw, 5.6rem); }
.tc-hero__copy { margin: 25px 0 0; color: #f1eee8; font-size: clamp(1.06rem, 1.4vw, 1.3rem); line-height: 1.58; }
.tc-proof { background: var(--tc-gold); color: var(--tc-ink); }
.tc-proof__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.tc-proof__grid > div { min-height: 130px; padding: 30px clamp(18px, 2.5vw, 40px); border-right: 1px solid rgba(23,21,18,.24); display: flex; flex-direction: column; justify-content: center; }
.tc-proof__grid > div:last-child { border-right: 0; }
.tc-proof strong { display: block; font-size: clamp(1.3rem, 2vw, 2rem); line-height: 1.05; }
.tc-proof span { display: block; margin-top: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.tc-proof a { color: inherit; }

/* Sections */
.tc-section { padding-block: clamp(80px, 11vw, 150px); }
.tc-section--light { background: var(--tc-paper); }
.tc-section--sand { background: var(--tc-sand); }
.tc-section--dark { background: var(--tc-coal); color: #fff; }
.tc-section--gold { background: var(--tc-gold); color: var(--tc-ink); }
.tc-intro { max-width: 1160px; margin-left: auto; margin-right: auto; text-align: center; }
.tc-intro .tc-lede { max-width: 980px; margin: 30px auto 0; color: #4f4942; }
.tc-heading-row { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, .7fr); gap: clamp(32px, 6vw, 90px); align-items: end; margin-bottom: 55px; }
.tc-heading-row > p { margin: 0; color: #5c554d; line-height: 1.6; }
.tc-service-grid { gap: clamp(18px, 2.4vw, 36px); }
.tc-service-card { overflow: hidden; background: var(--tc-paper); border: 1px solid rgba(23,21,18,.1); border-radius: var(--tc-radius); box-shadow: 0 12px 35px rgba(23,21,18,.07); }
.tc-service-card figure { aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: #cfc7ba; }
.tc-service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.tc-service-card:hover img { transform: scale(1.045); }
.tc-service-card h3 { margin: 28px 28px 0; font-size: clamp(1.4rem, 2vw, 2rem); letter-spacing: -.03em; }
.tc-service-card p { margin: 15px 28px 32px; color: #5a544c; font-size: 1rem; line-height: 1.58; }
.tc-split { gap: clamp(44px, 8vw, 130px); align-items: center !important; }
.tc-section--dark .tc-lede,
.tc-section--dark p { color: #d9d4ca; }
.tc-section--dark a { color: #fff0bd; }
.tc-checklist { border-top: 1px solid rgba(255,255,255,.22); }
.tc-checklist > div { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.tc-checklist span { color: var(--tc-gold); font-size: .78rem; font-weight: 800; }
.tc-checklist p { margin: 0; }
.tc-checklist strong { color: #fff; }
.tc-cta { padding-block: clamp(55px, 7vw, 90px); }
.tc-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 45px; }
.tc-cta h2 { margin: 0; font-size: clamp(2.2rem, 4.5vw, 4.7rem); letter-spacing: -.05em; line-height: .98; }
.tc-cta p:last-child { margin-bottom: 0; }

/* About */
.tc-page-hero { position: relative; min-height: 670px; display: flex; align-items: flex-end; overflow: hidden; background: #332e26; color: #fff; isolation: isolate; }
.tc-page-hero__photo { position: absolute; inset: -7% 0; z-index: -2; background: url('/wp-content/uploads/2026/10/framedBarn.jpg') 50% 38% / cover no-repeat; transform: translate3d(0,var(--tc-parallax-y,0px),0) scale(1.03); }
.tc-page-hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(16,14,11,.86), rgba(16,14,11,.08) 72%); }
.tc-page-hero__content { padding-block: 120px 70px; }
.tc-page-hero__content .tc-display { max-width: 1120px; }
.tc-page-hero__content > p:last-child { max-width: 820px; margin-top: 25px; color: #eee9e1; font-size: clamp(1.1rem, 1.5vw, 1.38rem); }
.tc-split--about { align-items: start !important; }
.tc-fact-panel { padding: clamp(28px, 4vw, 52px); background: var(--tc-coal); border-radius: var(--tc-radius); color: #fff; box-shadow: var(--tc-shadow); }
.tc-fact-panel h3 { margin-top: 0; font-size: 1.65rem; }
.tc-fact-panel dl { margin: 0; }
.tc-fact-panel dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.16); }
.tc-fact-panel dt { color: #bbb4aa; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tc-fact-panel dd { margin: 0; font-weight: 650; }
.tc-fact-panel a { color: #ffe19b; }
.tc-capability-grid { gap: 0; border-top: 1px solid var(--tc-line); border-left: 1px solid var(--tc-line); }
.tc-capability { min-height: 310px; padding: clamp(24px, 3vw, 42px); border-right: 1px solid var(--tc-line); border-bottom: 1px solid var(--tc-line); }
.tc-capability > span { color: #855f08; font-size: .75rem; font-weight: 800; }
.tc-capability h3 { margin: 58px 0 16px; font-size: clamp(1.35rem, 2vw, 1.9rem); letter-spacing: -.025em; }
.tc-capability p { margin: 0; color: #5a544b; font-size: 1rem; line-height: 1.55; }
.tc-map-list { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid rgba(255,255,255,.2); }
.tc-map-list p { margin: 0; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); color: #fff; font-size: clamp(1.1rem, 1.7vw, 1.55rem); }

/* Contact */
.tc-contact-hero,
.tc-policy-hero { position: relative; overflow: hidden; background: var(--tc-coal); color: #fff; }
.tc-contact-hero::before,
.tc-policy-hero::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(120deg, transparent 0 48%, var(--tc-gold) 48% 49%, transparent 49% 100%); background-size: 82px 82px; }
.tc-contact-hero__inner { position: relative; min-height: 520px; padding-block: 120px 72px; display: grid; grid-template-columns: minmax(0,1.7fr) minmax(290px,.7fr); gap: clamp(40px, 8vw, 120px); align-items: end; }
.tc-contact-hero__inner > p { color: #ddd7ce; font-size: 1.15rem; line-height: 1.62; }
.tc-contact-layout { gap: clamp(35px, 7vw, 100px); align-items: start !important; }
.tc-contact-aside { position: sticky; top: 28px; }
.tc-contact-method { padding: 22px 0; border-top: 1px solid var(--tc-line); }
.tc-contact-method > span { display: block; margin-bottom: 7px; color: var(--tc-muted); font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tc-contact-method > a { color: var(--tc-ink); font-size: clamp(1.15rem, 1.8vw, 1.55rem); font-weight: 750; overflow-wrap: anywhere; }
.tc-contact-method > a[href^="mailto:"] { font-size: clamp(.88rem, 1.05vw, 1rem); }
.tc-contact-method p { margin: 0; }
.tc-contact-note { margin-top: 28px; padding: 24px; background: var(--tc-sand); border-left: 5px solid var(--tc-gold-deep); }
.tc-contact-note p { margin-bottom: 0; font-size: .96rem; }
.tc-form-panel { padding: clamp(28px, 5vw, 62px); background: #fff; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); box-shadow: var(--tc-shadow); }
.tc-form-panel h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 3.45rem); letter-spacing: -.045em; }
.tc-form-intro { color: #5d574f; }
.tc-form-privacy { margin: 20px 0 0; color: #675f56; font-size: .82rem; }
.swcf-form { display: grid; gap: 18px; margin-top: 30px; }
.swcf-form .mg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.swcf-form label { display: block; margin-bottom: 7px; color: var(--tc-ink); font-size: .79rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.swcf-form input,
.swcf-form textarea { box-sizing: border-box; width: 100%; border: 1px solid #b9b1a6; border-radius: 9px; background: #fff; color: var(--tc-ink); padding: 13px 14px; font: inherit; font-size: 1rem; }
.swcf-form textarea { min-height: 190px; resize: vertical; }
.swcf-form input:focus,
.swcf-form textarea:focus { border-color: var(--tc-gold-deep); outline: 3px solid rgba(216,165,40,.24); }
.swcf-form button { justify-self: start; border: 2px solid var(--tc-ink); border-radius: 999px; background: var(--tc-ink); color: #fff; padding: .95rem 1.45rem; font: inherit; font-size: .82rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; cursor: pointer; }
.swcf-form button:hover { background: #000; }
.tc-capability-grid--three .tc-capability { min-height: 270px; }

/* Privacy */
.tc-policy-hero__inner { position: relative; min-height: 390px; padding-block: 120px 65px; display: flex; flex-direction: column; justify-content: flex-end; }
.tc-policy-hero__inner > p:last-child { color: #d3ccc1; }
.tc-policy { display: grid; grid-template-columns: minmax(0, 880px); justify-content: center; }
.tc-policy > * { max-width: none !important; }
.tc-policy > p:first-child { font-size: 1.18rem; line-height: 1.65; }
.tc-policy h2 { margin: 54px 0 14px; font-size: clamp(1.7rem, 2.7vw, 2.45rem); letter-spacing: -.035em; }
.tc-policy p,
.tc-policy li { color: #48423b; font-size: 1rem; line-height: 1.72; }
.tc-policy li + li { margin-top: 8px; }
.tc-policy-note { padding: 24px; background: var(--tc-sand); border-left: 5px solid var(--tc-gold-deep); }

/* Progressive enhancement */
.tc-js .tc-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.tc-js .tc-reveal.is-visible { opacity: 1; transform: none; }
.tc-js .tc-hero__panel.tc-reveal { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .tc-proof__grid { grid-template-columns: repeat(2,1fr); }
  .tc-proof__grid > div:nth-child(2) { border-right: 0; }
  .tc-proof__grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(23,21,18,.24); }
  .tc-heading-row { grid-template-columns: 1fr; }
  .tc-capability-grid { flex-wrap: wrap !important; }
  .tc-capability-grid > .wp-block-column { flex-basis: 50% !important; }
  .tc-contact-hero__inner { grid-template-columns: 1fr; }
}

@media (max-width: 781px) {
  .tc-shell { width: min(calc(100% - 36px), 1480px); }
  .tc-header-inner { min-height: 78px; }
  .tc-site-header .wp-block-site-logo img { width: 175px; }
  .tc-site-header .wc-block-customer-account { display: none; }
  .tc-header-tools { gap: 12px; }
  .tc-site-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--tc-coal) !important; color: #fff !important; padding: 28px; }
  .tc-footer-grid { grid-template-columns: 1fr; }
  .tc-footer-meta { flex-direction: column; }
  .tc-hero { min-height: 780px !important; }
  .tc-hero .wp-block-cover__image-background { object-position: 58% 42%; }
  .tc-hero::after { background: linear-gradient(0deg, rgba(11,10,8,.9) 0, rgba(11,10,8,.6) 54%, rgba(11,10,8,.06) 88%); }
  .tc-hero__layout { align-items: flex-end; min-height: 780px; padding-block: 75px 36px; }
  .tc-hero__panel { width: 100%; padding: 25px 22px; backdrop-filter: blur(9px); }
  .tc-hero__panel .tc-display { font-size: clamp(2.45rem, 12vw, 4.25rem); }
  .tc-proof__grid { width: 100%; }
  .tc-proof__grid > div { min-height: 105px; padding: 22px 18px; }
  .tc-proof span { font-size: .7rem; }
  .tc-split { gap: 45px; }
  .tc-cta__inner { align-items: flex-start; flex-direction: column; }
  .tc-page-hero { min-height: 590px; }
  .tc-page-hero__photo { background-position: 57% 35%; }
  .tc-page-hero__content { padding-block: 95px 50px; }
  .tc-contact-hero__inner { min-height: 475px; padding-block: 95px 55px; }
  .tc-contact-aside { position: static; }
  .tc-contact-layout { gap: 55px; }
}

@media (max-width: 560px) {
  .tc-display { font-size: clamp(2.35rem, 13vw, 3.7rem); }
  .tc-proof__grid { grid-template-columns: 1fr; }
  .tc-proof__grid > div { border-right: 0; border-bottom: 1px solid rgba(23,21,18,.24); }
  .tc-proof__grid > div:last-child { border-bottom: 0; }
  .tc-service-grid { display: block; }
  .tc-service-card + .tc-service-card { margin-top: 22px; }
  .tc-capability-grid { display: block; }
  .tc-capability-grid > .wp-block-column { min-height: auto; }
  .tc-map-list { grid-template-columns: 1fr; }
  .swcf-form .mg-form-row { grid-template-columns: 1fr; }
  .tc-form-panel { padding: 25px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .tc-hero .wp-block-cover__image-background,
  .tc-page-hero__photo { transform: none !important; }
  .tc-js .tc-reveal { opacity: 1; transform: none; }
}
