/*
Theme Name: The Office 2026
Theme URI: https://theoffice.co.nz
Author: The Office Ltd
Description: Silver, black and gold block theme for The Office Ltd — agency and advice for business, property and people. Every heading, paragraph, photo, person and testimonial on the home page is editable in the WordPress editor.
Version: 1.0.4
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: theoffice-2026
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .wp-element-button:focus-visible { outline: 2px solid #B8972E; outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Silver and gold touches ---------- */
.to-eyebrow { display: flex; align-items: center; gap: 16px; font-size: 12px !important; line-height: 16px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: #6B6B6B; margin: 0; }
.to-eyebrow::before { content: ""; width: 48px; height: 2px; flex: none; background: linear-gradient(90deg, #9C7C24, #ECD27E 45%, #B8972E 70%, #D9BD62); transform-origin: left center; animation: to-rule 1s cubic-bezier(.2,.7,.2,1) .3s both; }
.to-dark .to-eyebrow, .to-hero .to-eyebrow { color: #A8AAAD; }
.to-hero .to-eyebrow { color: #E4E4E2; font-size: 13px !important; letter-spacing: 4px; }
@keyframes to-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.to-gold { background: linear-gradient(100deg, #B8972E 0%, #F0D98C 40%, #C9A642 62%, #E6CB72 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.to-gold-text { color: #7A6218; }

/* ---------- Header ---------- */
.to-site-header { position: relative; z-index: 20; background: #1C1C1C; color: #F7F7F5; }
.home .to-site-header { position: absolute; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; background: transparent; }
.to-header-inner { padding-block: 20px; gap: 16px 32px; }
.to-logo { position: relative; display: block; width: 86px; height: 70px; flex: none; }
.to-logo svg, .to-logo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.to-logo .to-frame { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: to-frame 3.2s cubic-bezier(.65,0,.35,1) .4s forwards; }
.to-logo .to-the { opacity: 0; animation: to-fade 1.2s ease 2.6s forwards; }
.to-logo .to-office { opacity: 0; transform: translateX(-6%); animation: to-slide 1.6s cubic-bezier(.2,.7,.2,1) 3s forwards; }
/* Then a slow gold light travels round the frame every 12 seconds (header and footer logos). */
.to-logo .to-sheen { stroke-dasharray: 110 890; stroke-dashoffset: 110; opacity: 0; animation: to-sheen 12s linear 5s infinite; }
.to-footer-logo .to-sheen { animation-delay: 2s; }
@keyframes to-sheen { 0% { stroke-dashoffset: 110; opacity: 0; } 6% { opacity: .8; } 58% { opacity: .8; } 64% { stroke-dashoffset: -1000; opacity: 0; } 100% { stroke-dashoffset: -1000; opacity: 0; } }
@keyframes to-frame { to { stroke-dashoffset: 0; } }
@keyframes to-fade { to { opacity: 1; } }
@keyframes to-slide { to { opacity: 1; transform: none; } }
.to-nav { gap: 4px 28px; }
.to-nav p { margin: 0; font-size: 15px; font-weight: 500; }
.to-nav a { color: #F7F7F5; text-decoration: none; display: inline-block; padding: 12px 0; }
.to-nav a:hover { color: #D4B45A; }
.to-site-header .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: #F7F7F5; border-color: #C9CACC; }
.to-site-header .wp-block-button.is-style-outline > .wp-block-button__link:hover { color: #D4B45A; border-color: #D4B45A; }

/* ---------- Phone and tablet menu ---------- */
.to-menu-btn { display: none; }
@media (max-width: 900px) {
  .to-header-inner { padding-block: 16px; }
  .to-logo { width: 74px; height: 60px; order: 0; }
  .to-js .to-site-header .to-nav, .to-js .to-site-header .to-header-inner > .wp-block-buttons { display: none !important; }
  .to-menu-btn { order: 1; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; margin: 0; background: transparent; color: #F7F7F5; border: 1px solid #C9CACC; border-radius: 0; cursor: pointer; }
  .to-menu-btn:hover, .to-menu-btn:focus-visible { color: #D4B45A; border-color: #D4B45A; }
  .to-menu-btn .to-menu-close, .to-site-header.is-open .to-menu-btn .to-menu-open { display: none; }
  .to-site-header.is-open .to-menu-btn .to-menu-close { display: inline; }
  .to-js .to-site-header.is-open { background: #121212; box-shadow: 0 24px 48px rgba(0,0,0,.35); }
  .to-js .to-site-header.is-open .to-nav { display: flex !important; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch !important; gap: 0 !important; margin-top: 8px; border-top: 1px solid #393939; }
  .to-site-header.is-open .to-nav p { font-size: 19px; border-bottom: 1px solid #2A2A2A; }
  .to-site-header.is-open .to-nav a { display: block; padding: 16px 0; }
  .to-js .to-site-header.is-open .to-header-inner > .wp-block-buttons { display: flex !important; order: 4; flex-basis: 100%; padding: 8px 0 12px; }
  .to-site-header.is-open .to-header-inner > .wp-block-buttons .wp-block-button, .to-site-header.is-open .to-header-inner > .wp-block-buttons .wp-block-button__link { width: 100%; }
  /* Without JavaScript the links stay visible, so keep the header out of the photo. */
  html:not(.to-js) .home .to-site-header { position: relative; top: 0; background: #1C1C1C; }
}

/* ---------- Buttons ---------- */
.wp-block-button__link { border-radius: 0 !important; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: #1C1C1C; border: 1px solid #1C1C1C; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #1C1C1C; color: #F7F7F5; }
.to-btn-light > .wp-block-button__link { background: #F7F7F5 !important; color: #1C1C1C !important; border-color: #F7F7F5 !important; }
.to-btn-light > .wp-block-button__link:hover { background: #D4B45A !important; border-color: #D4B45A !important; }
.to-btn-ghost > .wp-block-button__link { background: transparent !important; color: #F7F7F5 !important; border: 1px solid #C9CACC !important; }
.to-btn-ghost > .wp-block-button__link:hover { color: #D4B45A !important; border-color: #D4B45A !important; }

/* ---------- Hero ---------- */
.to-hero.wp-block-cover { padding: 0 !important; overflow: hidden; align-items: stretch; }
.to-hero .wp-block-cover__image-background { animation: to-drift 36s ease-in-out infinite alternate; transform-origin: 60% 55%; }
@keyframes to-drift { from { transform: scale(1); } to { transform: scale(1.07) translateX(-1%); } }
/* Top photo slideshow: the photos in the hero's gallery fade in over Kaiteriteri in turn, with their place names. */
.to-js .to-hero-slides { display: none !important; }
.to-hero .to-hero-slide { opacity: 0; transition: opacity 1.6s ease; object-position: 50% 50%; }
.to-hero .to-hero-slide.is-on { opacity: 1; }
.to-hero .to-hero-slide.is-snap { transition: none; }
.to-hero-place { transition: opacity .5s ease; }
.to-hero-place.is-changing { opacity: 0; }
.to-hero .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(14,14,14,.78) 0%, rgba(14,14,14,.5) 40%, rgba(14,14,14,.08) 78%), linear-gradient(180deg, rgba(14,14,14,.55) 0%, rgba(14,14,14,0) 26%, rgba(14,14,14,0) 70%, rgba(14,14,14,.45) 100%) !important; }
.to-hero .wp-block-cover__inner-container { width: 100%; max-width: 1296px; margin-inline: auto; padding: 150px 24px 26px; display: flex; flex-direction: column; color: #F7F7F5; }
.to-hero-copy { max-width: 660px; margin-top: auto !important; padding-bottom: 56px; display: flex; flex-direction: column; gap: 26px; }
.to-hero-copy > * { margin: 0 !important; }
.to-hero-title { font-size: clamp(48px, 6.2vw, 88px) !important; line-height: 1 !important; letter-spacing: .06em !important; color: #F7F7F5 !important; }
.to-hero-sub { font-size: clamp(22px, 2.4vw, 32px) !important; line-height: 1.3 !important; font-weight: 500; margin-top: -10px !important; }
.to-hero-lead { font-size: 18px !important; line-height: 30px !important; color: #EDEDEB; max-width: 34em; }
.to-hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 0 !important; font-size: 12px; font-weight: 500; letter-spacing: 1px; color: #D9DADB; }
.to-hero-foot p { margin: 0; }
.to-hero-place { display: flex; align-items: center; gap: 12px; }
.to-hero-place::before { content: ""; width: 24px; height: 1px; background: #C9CACC; }
@media (max-width: 700px) {
  .to-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(14,14,14,.6) 0%, rgba(14,14,14,.2) 30%, rgba(14,14,14,.85) 70%) !important; }
  .to-hero .wp-block-cover__inner-container { padding-top: 132px; }
  html:not(.to-js) .to-hero .wp-block-cover__inner-container { padding-top: 48px; }
}

/* ---------- Ticker ---------- */
.to-ticker { background: #121212; border-block: 1px solid #393939; overflow: hidden; padding: 0 !important; }
.to-ticker-track { display: flex; width: max-content; animation: to-tick 45s linear infinite; }
.to-ticker-set { display: flex; align-items: center; gap: 40px; padding: 22px 40px 22px 0; }
.to-ticker p { margin: 0 !important; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: #D9DADB; white-space: nowrap; display: flex; align-items: center; gap: 40px; }
.to-ticker p::after { content: ""; width: 8px; height: 8px; background: #D4B45A; }
.to-ticker:not(.is-ready) { display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 22px 24px !important; }
@keyframes to-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.to-section { padding-block: 112px !important; }
.to-section > * + * { margin-block-start: 48px; }
.to-section-head { display: flex; flex-direction: column; gap: 24px; }
.to-section-head > * { margin: 0 !important; }
.to-dark { background: #1C1C1C; color: #F7F7F5; }
.to-dark p { color: #C9C9C9; }
.to-dark h2, .to-dark h3 { color: #F7F7F5; }
.to-mist { background: #EFEFED; }
.to-lead { font-size: 18px; line-height: 30px; color: #4A4A4A; max-width: 36em; }
.to-dark .to-lead { color: #C9C9C9; }

/* ---------- Photo frames: silver keyline with a gold corner ---------- */
.to-frame-img { position: relative; border: 1px solid #A8AAAD; padding: 12px; margin: 0 !important; }
.to-frame-img::before, .to-frame-img::after { content: ""; position: absolute; top: -1px; left: -1px; background: #D4B45A; z-index: 1; }
.to-frame-img::before { width: 28px; height: 2px; }
.to-frame-img::after { width: 2px; height: 28px; }
.to-frame-img img { display: block; width: 100%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.to-frame-img { overflow: hidden; }

/* ---------- Service tiles ---------- */
.to-tiles { gap: 1px !important; background: #393939; border: 1px solid #393939; }
.to-tiles > .wp-block-column { background: #1C1C1C; padding: 28px; display: flex; flex-direction: column; gap: 20px; margin: 0 !important; }
.to-tiles > .wp-block-column > * { margin: 0 !important; }
.to-tiles .to-frame-img img { aspect-ratio: 4 / 3; object-fit: cover; }
.to-tiles .wp-block-column:hover .to-frame-img img { transform: scale(1.05); }
.to-num { font-size: 14px !important; font-weight: 600; letter-spacing: 2px; color: #D4B45A !important; }
.to-tile-title { font-size: 18px !important; line-height: 26px !important; letter-spacing: 2px !important; text-transform: uppercase; }
.to-tiles p:not(.to-num):not(.to-tile-links) { flex-grow: 1; }
.to-tile-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.to-tile-links a { display: inline-flex; align-items: center; min-height: 44px; color: #F7F7F5 !important; font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid #A8AAAD; }
.to-tile-links a:hover { color: #D4B45A !important; border-color: #D4B45A; }

/* ---------- About ---------- */
.to-figure { font-size: 36px !important; line-height: 44px !important; font-weight: 600; letter-spacing: -.5px; margin: 0 !important; }
.to-silver-rule { height: 1px; border: 0 !important; background: linear-gradient(90deg, rgba(168,170,173,0), #D9DADB 20%, #A8AAAD 50%, #ECECEC 80%, rgba(168,170,173,0)); opacity: 1 !important; margin: 0 !important; width: 100% !important; max-width: none !important; }
.to-facts { list-style: none; padding: 0 !important; margin: 0 !important; border-top: 1px solid #DCDCDA; }
.to-facts li { padding: 16px 0; border-bottom: 1px solid #DCDCDA; }

/* ---------- Numbered list (family office) ---------- */
.to-numbered { list-style: none; padding: 0 !important; margin: 0 !important; border-top: 1px solid #A8AAAD; counter-reset: to-n; }
.to-numbered li { counter-increment: to-n; display: flex; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid #DCDCDA; font-size: 17px; font-weight: 500; }
.to-numbered li::before { content: counter(to-n, decimal-leading-zero); color: #7A6218; font-weight: 600; font-size: 14px; letter-spacing: 2px; }

/* ---------- Moving galleries ---------- */
.to-carousel { position: relative; }
.to-track { display: flex; gap: 24px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.to-track::-webkit-scrollbar { display: none; }
.to-track > * { scroll-snap-align: start; }
/* People: four across on a computer; on smaller screens part of the next card shows. */
.to-people { --per: 4.25; }
@media (max-width: 1100px) { .to-people { --per: 2.4; } }
@media (max-width: 640px) { .to-people { --per: 1.25; } }
.to-people:not(.is-ready) { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.to-people .to-track > .to-person { flex: 0 0 calc((100% - (var(--per) - 1) * 24px) / var(--per)); min-width: 0; }
.to-person { display: flex; flex-direction: column; gap: 6px; margin: 0 !important; }
.to-person > * { margin: 0 !important; }
.to-person .to-frame-img { background: #FAFAF8; margin-bottom: 12px !important; }
.to-person .to-frame-img img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.to-person .to-frame-img { padding: 10px; }
@media (max-width: 640px) {
  .to-person .to-frame-img img { aspect-ratio: 1 / 1; }
  .to-person h3 { font-size: 20px !important; line-height: 28px !important; }
  .to-person > p:not(.to-role) { font-size: 14px; line-height: 24px; }
}
.to-person:hover .to-frame-img img { transform: scale(1.04); }
.to-person h3 { font-size: 22px !important; line-height: 30px !important; }
.to-role { font-size: 12px !important; line-height: 16px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #7A6218; margin-bottom: 12px !important; }
.to-person > p:not(.to-role) { font-size: 15px; line-height: 26px; color: #4A4A4A; }
.to-team-box { background: #1C1C1C; aspect-ratio: 4 / 5; padding: 28px 26px !important; display: flex; flex-direction: column; justify-content: center; margin-bottom: 12px !important; border: 1px solid #A8AAAD; outline: 12px solid #FAFAF8; outline-offset: -13px; }
@media (max-width: 640px) { .to-team-box { aspect-ratio: 1 / 1; padding: 20px 20px !important; } .to-team-box li { padding: 10px 0; font-size: 15px; } }
.to-team-box .to-eyebrow { color: #9A9A9A; font-size: 11px !important; margin-bottom: 14px !important; }
.to-team-box ul { list-style: none; padding: 0; margin: 0; counter-reset: to-t; }
.to-team-box li { counter-increment: to-t; display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid #393939; font-size: 16px; font-weight: 500; color: #F7F7F5; }
.to-team-box li:last-child { border-bottom: 1px solid #393939; }
.to-team-box li::before { content: counter(to-t, decimal-leading-zero); font-size: 12px; font-weight: 600; letter-spacing: 2px; color: #D4B45A; }
.to-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.to-controls[hidden] { display: none; }
.to-controls.to-controls-top { margin-top: 0 !important; margin-bottom: 24px !important; }
@media (max-width: 640px) { .to-dot { width: 20px; } .to-dots { gap: 6px; } }
.to-arrows { display: flex; gap: 10px; margin-left: auto; }
.to-sq { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #A8AAAD; background: transparent; color: inherit; cursor: pointer; border-radius: 0; padding: 0; }
.to-sq:hover { border-color: #D4B45A; color: #D4B45A; }
.to-dots { display: flex; gap: 8px; }
.to-dot { width: 28px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; display: inline-flex; align-items: center; }
.to-dot span { display: block; width: 100%; height: 2px; background: #5A5A5A; transition: background .3s; }
.to-dot[aria-current="true"] span { background: #D4B45A; }

/* ---------- Testimonials ---------- */
.to-quotes .to-track > * { flex: 0 0 100%; min-width: 0; }
.to-quotes:not(.is-ready) > * + * { margin-top: 48px; }
.to-quote-mark { width: 56px; height: 44px; display: block; }
.wp-block-quote.to-quote { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.wp-block-quote.to-quote p { font-size: clamp(19px, 2vw, 24px); line-height: 1.6; color: #F7F7F5 !important; margin: 0 0 28px; }
.wp-block-quote.to-quote cite { display: flex; align-items: center; gap: 14px; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #C9CACC; }
.wp-block-quote.to-quote cite::before { content: ""; width: 32px; height: 1px; background: #A8AAAD; }

/* ---------- Register forms ---------- */
.to-register { display: flex; flex-direction: column; gap: 24px; }
.to-tabs { display: flex; flex-wrap: wrap; gap: 16px; }
.to-tab { flex: 1 1 260px; min-height: 88px; padding: 20px 28px; text-align: left; border: 1px solid #1C1C1C; background: transparent; color: #1C1C1C; border-radius: 0; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.to-tab-t { font-size: 20px; font-weight: 600; }
.to-tab-s { font-size: 15px; color: #4A4A4A; }
.to-tab[aria-pressed="true"] { background: #1C1C1C; color: #F7F7F5; box-shadow: inset 0 -3px 0 #D4B45A; }
.to-tab[aria-pressed="true"] .to-tab-s { color: #C9CACC; }
.to-form, .to-thanks { background: #FFFFFF; border: 1px solid #DCDCDA; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 36px; }
.to-form[hidden] { display: none; }
.to-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.to-form legend, .to-leg { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #6B6B6B; padding: 0; margin: 0 0 14px; }
.to-row { display: flex; flex-wrap: wrap; gap: 20px; }
.to-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: #1C1C1C; flex: 1 1 220px; min-width: 0; }
.to-field input, .to-field select, .to-field textarea { width: 100%; min-height: 48px; border: 1px solid #8E8F91; border-radius: 0; padding: 0 14px; font: inherit; font-size: 16px; color: #1C1C1C; background: #FFFFFF; box-sizing: border-box; }
.to-field textarea { padding: 12px 14px; min-height: 112px; resize: vertical; }
.to-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.to-chip { position: relative; }
.to-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.to-chip span { min-height: 44px; padding: 0 16px; border: 1px solid #8E8F91; background: #FFFFFF; color: #1C1C1C; font-size: 15px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.to-chip span::before { content: ""; width: 8px; height: 8px; border: 1px solid #8E8F91; flex: none; }
.to-chip:hover span { border-color: #1C1C1C; }
.to-chip input:checked + span { background: #1C1C1C; color: #F7F7F5; border-color: #1C1C1C; }
.to-chip input:checked + span::before { background: #D4B45A; border-color: #D4B45A; }
.to-chip input:focus-visible + span { outline: 2px solid #B8972E; outline-offset: 2px; }
.to-check { display: flex; gap: 12px; align-items: center; font-size: 15px; min-height: 44px; cursor: pointer; }
.to-check input { width: 20px; height: 20px; accent-color: #1C1C1C; margin: 0; }
.to-submit { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.to-submit button { min-height: 48px; padding: 0 28px; background: #1C1C1C; color: #F7F7F5; border: 1px solid #1C1C1C; border-radius: 0; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.to-submit button:hover { background: #3A3A3A; }
.to-small { font-size: 14px; line-height: 22px; color: #6B6B6B; margin: 0; }
.to-error { margin: 0; font-size: 15px; font-weight: 500; color: #8A2E1C; }
.to-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.to-thanks h3 { margin: 0; font-size: 28px; line-height: 36px; }
.to-thanks p { margin: 0; color: #4A4A4A; }
.to-thanks svg { width: 56px; height: 56px; }

/* ---------- Footer ---------- */
.to-site-footer { background: #121212; color: #F7F7F5; }
.to-footer-inner { padding-block: 96px 40px !important; }
.to-footer-logo { width: 128px; height: 104px; }
.to-footer-cols { gap: 48px 80px !important; }
.to-footer-cols > * { margin: 0 !important; }
.to-contact p { margin: 0; padding: 16px 0; border-bottom: 1px solid #393939; font-size: 16px; color: #C9C9C9; }
.to-contact p:first-child { border-top: 1px solid #A8AAAD; font-size: 20px; font-weight: 600; color: #F7F7F5; }
.to-contact a, .to-footer-nav a { color: inherit; text-decoration: none; }
.to-contact a:hover, .to-footer-nav a:hover { color: #D4B45A; }
.to-footer-nav p { margin: 0; padding: 10px 0; font-size: 15px; color: #C9C9C9; }
.to-footer-base { border-top: 1px solid #393939; padding-top: 24px; margin-top: 64px !important; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; line-height: 20px; color: #9A9A9A; }
.to-footer-base p { margin: 0; }
.to-footer-base p:first-child { font-weight: 600; letter-spacing: 1px; color: #F7F7F5; }
.to-footer-base .to-privacy-link { margin-left: auto !important; }
@media (max-width: 600px) { .to-footer-base .to-privacy-link { margin-left: 0 !important; } }
.to-footer-base a, .to-small a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.to-footer-base a:hover, .to-footer-base a:focus-visible { color: #D9DADB; }
.to-small a:hover, .to-small a:focus-visible { color: #7A6218; }
.to-dark .to-small a:hover, .to-dark .to-small a:focus-visible { color: #D4B45A; }
.to-site-footer h2 { color: #F7F7F5; margin: 24px 0 0; }

/* ---------- Inner pages ---------- */
.to-page-main { padding-block: 72px 112px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .to-hero .wp-block-cover__image-background, .to-ticker-track, .to-eyebrow::before, .to-logo .to-frame, .to-logo .to-the, .to-logo .to-office { animation: none !important; }
  .to-logo .to-frame { stroke-dashoffset: 0; }
  .to-logo .to-the, .to-logo .to-office { opacity: 1; transform: none; }
  .to-logo .to-sheen, .to-hero .to-hero-slide { display: none; }
  .to-track, .to-frame-img img { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Layout helpers ---------- */
.to-head-row { gap: 24px 80px; }
.to-head-row > .to-section-head { flex: 1 1 420px; min-width: 0; }
.to-head-row > .to-lead { flex: 1 1 360px; min-width: 0; margin: 0 !important; }
.to-footer-cols > .to-footer-brand { flex: 1 1 320px; min-width: 0; }
.to-footer-cols > .to-contact { flex: 1 1 280px; min-width: 0; }
.to-footer-cols > .to-footer-nav { flex: 0 1 200px; min-width: 0; }
.to-about > .wp-block-column > * + *, .to-office-cols > .wp-block-column > * + * { margin-block-start: 28px; }
.to-about .to-small { margin-top: 8px !important; }
.to-testimonials > .to-eyebrow, .to-testimonials > .to-quotes, .to-testimonials > .to-controls { max-width: 1048px !important; }
.to-quotes::before { content: ""; display: block; width: 56px; height: 44px; margin-bottom: 36px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 44'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%239C7C24'/%3E%3Cstop offset='.5' stop-color='%23ECD27E'/%3E%3Cstop offset='1' stop-color='%23B8972E'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M0 44V24C0 10 8 2 22 0l2 6c-9 3-12 8-12 14h10v24zm32 0V24C32 10 40 2 54 0l2 6c-9 3-12 8-12 14h10v24z'/%3E%3C/svg%3E") no-repeat; }
.to-testimonials .to-controls { color: #F7F7F5; }
.to-dark .to-small { color: #9A9A9A; }
.to-section .wp-block-columns { margin-bottom: 0; }
