:root {
  --t27-bg: #fff;
  --t27-surface: #f5f7fb;
  --t27-text: #111318;
  --t27-muted: #60656f;
  --t27-accent: #1747ff;
  --t27-accent-text: #fff;
  --t27-border: #dfe2e8;
  --t27-dark: #0f1115;
  --t27-dark-text: #fff;
  --t27-content: 1240px;
  --t27-radius: 0px;
  --t27-header-height: 78px;
  --t27-shadow: 0 22px 70px rgba(16, 24, 40, .10);
  --t27-ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--t27-bg); color: var(--t27-text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--t27-accent); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.t27-container { width: min(calc(100% - 40px), var(--t27-content)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { clip: auto; width: auto; height: auto; top: 12px; left: 12px; z-index: 9999; padding: 10px 14px; background: var(--t27-dark); color: #fff; }

.site-header { height: var(--t27-header-height); display: flex; align-items: center; border-bottom: 1px solid var(--t27-border); background: color-mix(in srgb, var(--t27-bg) 92%, transparent); z-index: 100; transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.t27-sticky-header .site-header { position: sticky; top: 0; }
.site-header--scrolled { box-shadow: 0 10px 34px rgba(16,24,40,.06); backdrop-filter: blur(14px); }
.t27-header-transparent .site-header:not(.site-header--scrolled) { background: transparent; }
.t27-header-dark .site-header { background: var(--t27-dark); color: var(--t27-dark-text); border-color: rgba(255,255,255,.15); }
.site-header__inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.site-branding { min-width: max-content; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: calc(var(--t27-header-height) - 28px); width: auto; }
.site-title, .site-footer__title { font-size: 23px; line-height: 1; font-weight: 800; letter-spacing: -.045em; }
.primary-nav { justify-self: end; }
.primary-menu { list-style: none; display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; }
.primary-menu a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; font-weight: 650; }
.primary-menu .current-menu-item > a, .primary-menu .current_page_item > a { color: var(--t27-accent); }
.site-header__cta { justify-self: end; }
.nav-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--t27-border); color: inherit; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle svg { width: 22px; height: 22px; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 18px; border: 1px solid transparent; border-radius: var(--t27-radius); font-size: 14px; font-weight: 750; transition: transform .18s var(--t27-ease), box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--t27-accent); color: var(--t27-accent-text); box-shadow: 0 10px 24px color-mix(in srgb, var(--t27-accent) 22%, transparent); }
.button--primary:hover { color: var(--t27-accent-text); box-shadow: 0 14px 34px color-mix(in srgb, var(--t27-accent) 32%, transparent); }
.button--outline { border-color: var(--t27-border); background: var(--t27-bg); color: var(--t27-text); }
.button--outline:hover { border-color: var(--t27-text); color: var(--t27-text); }
.button--light { background: #fff; color: #111318; }
.button svg { width: 16px; height: 16px; }

.hero { border-bottom: 1px solid var(--t27-border); overflow: hidden; }
.hero__inner { min-height: clamp(560px, 72vh, 760px); display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); align-items: center; gap: clamp(30px, 5vw, 90px); padding-block: 64px; }
.hero__content { max-width: 650px; }
.eyebrow { margin-bottom: 18px; color: var(--t27-accent); text-transform: uppercase; font-weight: 800; letter-spacing: .14em; font-size: 11px; }
.hero__title { margin: 0; max-width: 700px; font-size: clamp(54px, 7.2vw, 104px); line-height: .91; letter-spacing: -.065em; font-weight: 760; }
.hero__text { max-width: 560px; margin: 28px 0 0; color: var(--t27-muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__visual { min-width: 0; display: flex; justify-content: center; align-items: center; perspective: 1000px; }
.hero__visual img { width: min(100%, 680px); filter: drop-shadow(0 34px 40px rgba(12,27,76,.14)); transform: translateY(0) rotateX(0deg); animation: t27-float 7s ease-in-out infinite; }
.hero--centered .hero__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-block: 86px; }
.hero--centered .hero__content { max-width: 920px; }
.hero--centered .hero__text { margin-inline: auto; }
.hero--centered .hero__actions { justify-content: center; }
.hero--centered .hero__visual { max-width: 760px; }
.hero--minimal .hero__inner { grid-template-columns: 1fr; min-height: 540px; }
.hero--minimal .hero__content { max-width: 980px; }
.hero--minimal .hero__title { font-size: clamp(62px, 9vw, 128px); }
@keyframes t27-float { 0%,100% { transform: translateY(0) rotateX(0deg); } 50% { transform: translateY(-14px) rotateX(1.5deg); } }
.t27-reduce-motion .hero__visual img { animation: none; }
body.t27-reduce-motion *, body.t27-reduce-motion *::before, body.t27-reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }

.feature-strip { border-bottom: 1px solid var(--t27-border); }
.feature-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-strip__grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-strip__grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature-item { min-height: 180px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-content: center; padding: 34px 30px; border-right: 1px solid var(--t27-border); }
.feature-item:first-child { border-left: 1px solid var(--t27-border); }
.feature-item__icon { width: 42px; height: 42px; border: 1px solid var(--t27-border); display: grid; place-items: center; border-radius: 50%; }
.feature-item__icon svg { width: 19px; height: 19px; }
.feature-item h2 { margin: 0 0 7px; font-size: 16px; letter-spacing: -.02em; }
.feature-item p { margin: 0; color: var(--t27-muted); font-size: 13px; line-height: 1.55; }

.section-block { padding-block: clamp(72px, 8vw, 124px); border-bottom: 1px solid var(--t27-border); }
.statement { background: var(--t27-surface); }
.statement__inner { text-align: center; max-width: 880px; }
.statement h2 { margin: 0; font-size: clamp(34px, 4.8vw, 70px); line-height: 1; letter-spacing: -.052em; }
.statement p { max-width: 700px; margin: 24px auto; color: var(--t27-muted); font-size: 18px; }

.about-split__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(50px, 7vw, 110px); align-items: center; }
.about-split__content h2 { margin: 0; font-size: clamp(38px, 4.8vw, 68px); line-height: .98; letter-spacing: -.055em; }
.about-split__content > p { margin: 24px 0; max-width: 600px; color: var(--t27-muted); font-size: 18px; }
.check-list { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--t27-border); }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--t27-border); }
.check-list svg { color: var(--t27-accent); width: 18px; height: 18px; margin-top: 3px; }
.about-split__visual { background: var(--t27-surface); border: 1px solid var(--t27-border); min-height: 500px; overflow: hidden; border-radius: var(--t27-radius); }
.about-split__visual img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; transition: transform .7s var(--t27-ease); }
.about-split__visual:hover img { transform: scale(1.025); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; max-width: 820px; font-size: clamp(38px, 4.8vw, 68px); line-height: .98; letter-spacing: -.052em; }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.content-card { border: 1px solid var(--t27-border); background: var(--t27-bg); min-width: 0; border-radius: var(--t27-radius); overflow: hidden; }
.content-card__media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--t27-surface); border-bottom: 1px solid var(--t27-border); }
.content-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--t27-ease); }
.content-card:hover .content-card__media img { transform: scale(1.035); }
.content-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--t27-surface), var(--t27-bg)); position: relative; overflow: hidden; }
.content-card__placeholder::before { content: ''; position: absolute; width: 58%; height: 58%; background: var(--t27-accent); transform: rotate(28deg) skewY(-12deg); opacity: .95; }
.content-card__placeholder span { position: relative; z-index: 2; font-size: 72px; font-weight: 800; color: #fff; letter-spacing: -.08em; }
.content-card__body { padding: 24px; position: relative; min-height: 238px; }
.content-card h3 { margin: 12px 0 10px; font-size: 26px; line-height: 1.08; letter-spacing: -.035em; }
.content-card p { margin: 0; color: var(--t27-muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--t27-text); font-weight: 750; font-size: 14px; }
.text-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--t27-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.entry-meta a { color: var(--t27-accent); }

.cta-band { background: var(--t27-accent); color: var(--t27-accent-text); }
.cta-band__inner { min-height: 170px; padding-block: 34px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(30px, 3.4vw, 54px); line-height: 1; letter-spacing: -.045em; }
.cta-band p { margin: 0; opacity: .78; max-width: 720px; }

.site-footer { background: var(--t27-dark); color: var(--t27-dark-text); }
.site-footer__grid { padding-block: 68px; display: grid; grid-template-columns: minmax(280px, 1.8fr) repeat(4, minmax(140px, 1fr)); gap: 42px; }
.site-footer__brand p { max-width: 340px; color: color-mix(in srgb, var(--t27-dark-text) 65%, transparent); font-size: 14px; margin-top: 20px; }
.site-footer__widgets:empty { display: none; }
.footer-widget__title { margin: 0 0 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget li { margin: 8px 0; }
.footer-widget a { color: color-mix(in srgb, var(--t27-dark-text) 74%, transparent); font-size: 14px; }
.footer-widget a:hover { color: var(--t27-dark-text); }
.site-footer__bottom { min-height: 72px; border-top: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; gap: 30px; font-size: 12px; color: color-mix(in srgb, var(--t27-dark-text) 64%, transparent); }
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; }
.back-to-top { margin-left: auto; }

.page-shell { padding-block: clamp(70px, 8vw, 120px); min-height: 60vh; }
.archive-header, .entry-header { max-width: 920px; margin-bottom: 56px; }
.archive-header h1, .entry-header h1 { margin: 0; font-size: clamp(48px, 6.4vw, 96px); line-height: .95; letter-spacing: -.06em; }
.archive-description { margin-top: 22px; color: var(--t27-muted); font-size: 18px; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.archive-card { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); border: 1px solid var(--t27-border); min-height: 280px; overflow: hidden; border-radius: var(--t27-radius); }
.archive-card__media { background: var(--t27-surface); min-height: 100%; }
.archive-card__media img { width: 100%; height: 100%; object-fit: cover; }
.archive-card__placeholder { display: block; height: 100%; min-height: 280px; background: linear-gradient(145deg, var(--t27-accent), #0a28b8); }
.archive-card__body { padding: 26px; }
.archive-card h2 { margin: 13px 0; font-size: 30px; line-height: 1.04; letter-spacing: -.035em; }
.archive-card p { color: var(--t27-muted); }
.navigation.pagination { margin-top: 50px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--t27-border); padding-inline: 12px; }
.page-numbers.current { background: var(--t27-accent); color: var(--t27-accent-text); border-color: var(--t27-accent); }
.content-layout { max-width: 980px; }
.content-layout--wide { max-width: var(--t27-content); }
.entry-hero-media { margin: 0 0 54px; }
.entry-hero-media img { width: 100%; max-height: 760px; object-fit: cover; }
.prose { font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.78; }
.prose > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.prose > .alignwide { max-width: 1100px; }
.prose > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.prose h2, .prose h3, .prose h4 { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.05; letter-spacing: -.035em; }
.prose h2 { margin-top: 2em; font-size: clamp(34px, 4vw, 56px); }
.prose h3 { margin-top: 1.8em; font-size: 30px; }
.prose a { color: var(--t27-accent); text-decoration: underline; text-underline-offset: .15em; }
.prose blockquote { border-left: 3px solid var(--t27-accent); padding-left: 28px; font-size: 1.35em; font-style: italic; }
.prose img { border-radius: var(--t27-radius); }
.tag-list { margin-top: 50px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag-list a { border: 1px solid var(--t27-border); padding: 7px 10px; font-size: 12px; }
.post-nav { margin: 60px 0; padding-top: 30px; border-top: 1px solid var(--t27-border); }
.comments-area { margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--t27-border); }
.comment-list { padding-left: 22px; }
.comment-body { border-bottom: 1px solid var(--t27-border); padding: 24px 0; }
.comment-form input:not([type="submit"]), .comment-form textarea, .search-field { width: 100%; border: 1px solid var(--t27-border); background: var(--t27-bg); color: var(--t27-text); padding: 13px 14px; }
.comment-form input[type="submit"] { min-height: 46px; background: var(--t27-accent); color: var(--t27-accent-text); border: 0; padding: 0 18px; font-weight: 700; }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form label { flex: 1; }
.error-404 { padding-block: 60px; }
.error-404 h1 { max-width: 980px; font-size: clamp(58px, 8vw, 120px); line-height: .9; letter-spacing: -.06em; margin: 0; }
.error-404 p { font-size: 20px; color: var(--t27-muted); }
.empty-state { padding: 40px; border: 1px solid var(--t27-border); background: var(--t27-surface); }

.woocommerce .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { border-radius: var(--t27-radius); background: var(--t27-accent); color: var(--t27-accent-text); }
.woocommerce ul.products li.product a img { border-radius: var(--t27-radius); }

@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); }
  .hero__title { font-size: clamp(52px, 7vw, 80px); }
  .feature-item { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1.6fr repeat(2, 1fr); }
  .archive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; justify-self: end; }
  .primary-nav { display: none; position: fixed; inset: var(--t27-header-height) 0 auto 0; max-height: calc(100vh - var(--t27-header-height)); overflow: auto; background: var(--t27-bg); color: var(--t27-text); border-bottom: 1px solid var(--t27-border); padding: 22px 20px 30px; }
  .nav-open .primary-nav { display: block; }
  .nav-open .nav-toggle__open { display: none; }
  .nav-open .nav-toggle__close { display: inline; }
  .primary-menu { width: min(100%, var(--t27-content)); margin-inline: auto; display: block; }
  .primary-menu li { border-bottom: 1px solid var(--t27-border); }
  .primary-menu a { width: 100%; min-height: 54px; font-size: 17px; }
  .hero__inner { grid-template-columns: 1fr; min-height: auto; padding-block: 70px; }
  .hero__content { max-width: 760px; }
  .hero__visual { max-width: 680px; margin-inline: auto; }
  .feature-strip__grid, .feature-strip__grid--3 { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(odd) { border-left: 1px solid var(--t27-border); }
  .about-split__grid { grid-template-columns: 1fr; }
  .about-split__visual { min-height: 420px; }
  .about-split__visual img { min-height: 420px; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band__inner { align-items: flex-start; flex-direction: column; gap: 22px; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .t27-container { width: min(calc(100% - 28px), var(--t27-content)); }
  .hero__inner { gap: 34px; padding-block: 52px; }
  .hero__title { font-size: clamp(46px, 15vw, 70px); }
  .hero__text { margin-top: 22px; font-size: 17px; }
  .hero__actions { width: 100%; }
  .hero__actions .button { flex: 1; }
  .feature-strip__grid, .feature-strip__grid--3, .feature-strip__grid--2 { grid-template-columns: 1fr; }
  .feature-item, .feature-item:first-child, .feature-item:nth-child(odd) { border-left: 1px solid var(--t27-border); }
  .feature-item { min-height: 145px; grid-template-columns: auto 1fr; padding: 26px 20px; }
  .cards-grid { grid-template-columns: 1fr; }
  .about-split__visual, .about-split__visual img { min-height: 320px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__bottom { padding-block: 24px; flex-direction: column; align-items: flex-start; }
  .back-to-top { margin-left: 0; }
  .archive-card { grid-template-columns: 1fr; }
  .archive-card__media { min-height: 240px; }
  .search-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
