/*
Theme Name: Uncut Corners
Theme URI: https://uncutcornersclothing.com
Author: Blackwell Web Works
Author URI: https://blackwellwebworks.com
Description: An editable Coming Soon and Drop 001 preorder theme for Uncut Corners. Includes Gutenberg starter pages, new-page blocks, Concept 3 branding, a built-in favicon and WooCommerce support.
Version: 2.0.0
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: uncut-corners
Tags: e-commerce, custom-logo, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready, block-styles, wide-blocks
*/

:root {
  --uc-ink: #10233a;
  --uc-paper: #f5f0e6;
  --uc-cream: #e8decb;
  --uc-mushroom: #a99b89;
  --uc-olive: #5f6250;
  --uc-charcoal: #292a28;
  --uc-accent: #8a6e4d;
  --uc-white: #fffdf8;
  --uc-border: rgba(16, 35, 58, .18);
  --uc-radius: 2px;
  --uc-serif: Georgia, "Times New Roman", serif;
  --uc-sans: Arial, Helvetica, sans-serif;
  --uc-container: 1240px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--uc-ink);
  background: var(--uc-paper);
  font-family: var(--uc-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  z-index: -1;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.7), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(138,110,77,.08), transparent 26%),
    repeating-linear-gradient(0deg, rgba(16,35,58,.018) 0 1px, transparent 1px 4px);
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--uc-accent); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.uc-container {
  width: min(calc(100% - 40px), var(--uc-container));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 16px;
  left: 12px;
  top: 12px;
  background: var(--uc-white);
  z-index: 100000;
}

.uc-announcement {
  padding: 9px 20px;
  background: var(--uc-ink);
  color: var(--uc-white);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 230, .94);
  border-bottom: 1px solid var(--uc-border);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header { top: 32px; }

.uc-header-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.site-branding { justify-self: center; }
.site-branding img { width: min(330px, 45vw); max-height: 66px; object-fit: contain; }
.site-title {
  margin: 0;
  font: 400 clamp(22px, 3vw, 34px)/1 var(--uc-serif);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.site-description {
  margin: 6px 0 0;
  font-size: 9px;
  letter-spacing: .28em;
  text-align: center;
  text-transform: uppercase;
}

.uc-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px 0;
  color: var(--uc-ink);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 700;
}

.primary-navigation ul,
.uc-header-actions,
.footer-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-navigation a,
.uc-header-actions a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 700;
}

.uc-header-actions {
  justify-self: end;
  gap: 18px;
}

.uc-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  min-height: 18px;
  border-radius: 50%;
  background: var(--uc-ink);
  color: var(--uc-white);
  font-size: 9px;
  margin-left: 4px;
}

.uc-hero-slider {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid var(--uc-border);
  background: #d8cec0;
}

.uc-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 720px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .7s ease, visibility .7s ease;
}

.uc-hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.uc-hero-slide .uc-hero-content {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease .18s, transform .55s ease .18s;
}

.uc-hero-slide.is-active .uc-hero-content {
  opacity: 1;
  transform: translateY(0);
}

.uc-hero-controls {
  position: absolute;
  z-index: 4;
  left: max(28px, calc((100% - var(--uc-container)) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.uc-hero-arrow {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(16, 35, 58, .45);
  border-radius: 50%;
  background: rgba(245, 240, 230, .72);
  color: var(--uc-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.uc-hero-arrow:hover,
.uc-hero-arrow:focus-visible {
  background: var(--uc-ink);
  color: var(--uc-white);
}

.uc-hero-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.uc-hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--uc-ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.uc-hero-dot.is-active {
  background: var(--uc-ink);
}

.uc-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--uc-border);
  background:
    linear-gradient(90deg, rgba(245,240,230,.98) 0%, rgba(245,240,230,.93) 38%, rgba(245,240,230,.42) 58%, rgba(245,240,230,.05) 78%),
    var(--uc-hero-image, linear-gradient(135deg, #ddd2bf, #6e685d));
  background-size: cover;
  background-position: center;
}

.uc-hero::after {
  content: none;
}

.uc-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-block: 96px;
}

.uc-eyebrow {
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 11px;
  font-weight: 700;
}

.uc-hero h1,
.uc-section-title,
.entry-title,
.woocommerce-products-header__title {
  margin: 0;
  font-family: var(--uc-serif);
  font-weight: 400;
  line-height: .98;
  letter-spacing: .025em;
}

.uc-hero h1 { font-size: clamp(64px, 9vw, 128px); max-width: 780px; }
.uc-hero-copy { max-width: 580px; margin: 30px 0; font-size: clamp(17px, 2vw, 22px); }
.uc-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.uc-button,
.wp-block-button__link,
button.button,
a.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid var(--uc-ink);
  border-radius: var(--uc-radius);
  padding: 13px 25px;
  background: var(--uc-ink);
  color: var(--uc-white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
  transition: .25s ease;
}

.uc-button:hover,
.wp-block-button__link:hover,
button.button:hover,
a.button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: transparent;
  color: var(--uc-ink);
}

.uc-button--ghost { background: transparent; color: var(--uc-ink); }
.uc-button--ghost:hover { background: var(--uc-ink); color: var(--uc-white); }

.uc-section { padding: 96px 0; }
.uc-section--tight { padding: 70px 0; }
.uc-section--dark { background: var(--uc-charcoal); color: var(--uc-white); }
.uc-section--cream { background: var(--uc-cream); }

.uc-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}

.uc-section-title { font-size: clamp(42px, 6vw, 76px); }
.uc-section-copy { max-width: 520px; margin: 0; }

.uc-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--uc-border);
  border-left: 1px solid var(--uc-border);
}

.uc-pillar {
  padding: 38px 30px;
  border-right: 1px solid var(--uc-border);
  border-bottom: 1px solid var(--uc-border);
}

.uc-pillar-number {
  display: block;
  margin-bottom: 36px;
  color: var(--uc-accent);
  font-family: var(--uc-serif);
  font-size: 38px;
}

.uc-pillar h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 13px;
}

.uc-collections {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  min-height: 600px;
  gap: 18px;
}

.uc-collection-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: end;
  background:
    linear-gradient(0deg, rgba(20,25,28,.75), transparent 66%),
    var(--uc-card-image, linear-gradient(145deg, #b7a997, #565a52));
  background-size: cover;
  background-position: center;
  color: var(--uc-white);
  text-decoration: none;
}

.uc-collection-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.38);
  transition: .3s ease;
}

.uc-collection-card:hover::before { inset: 8px; }
.uc-collection-content { position: relative; z-index: 2; padding: 34px; }
.uc-collection-content small { text-transform: uppercase; letter-spacing: .18em; font-size: 10px; }
.uc-collection-content h3 { margin: 8px 0 0; font: 400 clamp(34px, 4vw, 62px)/1 var(--uc-serif); }

.uc-drop {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.uc-logo-panel {
  min-height: 560px;
  padding: 70px;
  display: grid;
  place-items: center;
  background: var(--uc-paper);
  border: 1px solid var(--uc-border);
  position: relative;
}

.uc-logo-panel::before,
.uc-logo-panel::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  border-color: var(--uc-ink);
  border-style: solid;
}

.uc-logo-panel::before {
  left: 26px; top: 26px;
  border-width: 2px 0 0 2px;
}
.uc-logo-panel::after {
  right: 26px; bottom: 26px;
  border-width: 0 2px 2px 0;
}

.uc-logo-panel img { width: min(470px, 90%); }

.uc-drop-copy h2 {
  margin: 0 0 24px;
  font: 400 clamp(54px, 7vw, 96px)/.94 var(--uc-serif);
}
.uc-drop-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 32px 0;
}
.uc-drop-meta div {
  border-top: 1px solid currentColor;
  padding-top: 12px;
}
.uc-drop-meta strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
}
.uc-drop-meta span { font-family: var(--uc-serif); font-size: 22px; }

.uc-products-grid,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0 !important;
}

.uc-product-card,
.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

.uc-product-visual {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(145deg, #ddd3c2, #aaa08e);
  overflow: hidden;
}
.uc-product-visual--dark { background: linear-gradient(145deg, #4a4a45, #171817); }
.uc-product-visual--olive { background: linear-gradient(145deg, #8a8b76, #464a3f); }

.uc-shirt-shape {
  width: 58%;
  aspect-ratio: .9 / 1;
  background: var(--uc-white);
  clip-path: polygon(28% 0, 40% 8%, 60% 8%, 72% 0, 100% 18%, 86% 38%, 78% 31%, 78% 100%, 22% 100%, 22% 31%, 14% 38%, 0 18%);
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.2));
}
.uc-shirt-shape.dark { background: #242523; }
.uc-shirt-shape.olive { background: #676958; }

.uc-product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 0;
  font: 400 23px/1.2 var(--uc-serif) !important;
}
.uc-product-card p { margin: 6px 0 0; font-size: 13px; color: rgba(16,35,58,.7); }

.uc-manifesto {
  text-align: center;
  padding-block: 120px;
}
.uc-manifesto blockquote {
  max-width: 980px;
  margin: 0 auto;
  font: 400 clamp(46px, 7vw, 92px)/1.05 var(--uc-serif);
}
.uc-manifesto p {
  margin-top: 32px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
}

.uc-newsletter {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 70px;
  align-items: center;
}
.uc-newsletter h2 { margin: 0; font: 400 clamp(50px, 7vw, 88px)/1 var(--uc-serif); }
.uc-newsletter-form {
  display: flex;
  border-bottom: 1px solid currentColor;
}
.uc-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 16px 0;
  background: transparent;
  color: inherit;
  outline: none;
}
.uc-newsletter-form button {
  border: 0;
  background: transparent;
  color: inherit;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
  font-weight: 700;
}

.site-main { min-height: 50vh; }
.uc-content-area { padding: 88px 0; }
.uc-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; }
.entry-header { margin-bottom: 38px; }
.entry-title { font-size: clamp(48px, 7vw, 90px); }
.entry-meta { margin-top: 16px; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.entry-content > * { max-width: 820px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: var(--uc-container); }
.entry-content > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content h2, .entry-content h3 { font-family: var(--uc-serif); font-weight: 400; line-height: 1.1; }
.entry-content h2 { font-size: clamp(36px, 5vw, 60px); }
.entry-content h3 { font-size: clamp(28px, 4vw, 42px); }

.widget { margin-bottom: 40px; }
.widget-title { font-family: var(--uc-serif); font-weight: 400; font-size: 28px; }
.widget ul { padding-left: 18px; }

.site-footer {
  padding-top: 80px;
  background: var(--uc-ink);
  color: var(--uc-white);
}

.uc-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 60px;
  padding-bottom: 70px;
}

.uc-footer-logo { width: min(430px, 100%); filter: none; }
.uc-footer-copy { max-width: 520px; margin-top: 24px; color: rgba(255,255,255,.72); }
.uc-footer-heading {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
}
.uc-footer-links { list-style: none; padding: 0; margin: 0; }
.uc-footer-links li { margin: 8px 0; }
.uc-footer-links a { color: rgba(255,255,255,.76); text-decoration: none; }
.uc-footer-links a:hover { color: #fff; }

.uc-footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 9px;
}

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { margin-bottom: 24px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.woocommerce ul.products li.product a img { background: #ded4c3; margin-bottom: 18px; }
.woocommerce ul.products li.product .price { color: var(--uc-ink); font-weight: 700; font-size: 14px; }
.woocommerce span.onsale { min-width: auto; min-height: auto; line-height: 1; padding: 10px 12px; border-radius: 0; background: var(--uc-ink); text-transform: uppercase; letter-spacing: .11em; font-size: 9px; }
.woocommerce div.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { width: auto; float: none; }
.woocommerce div.product .product_title { font: 400 clamp(44px, 6vw, 78px)/1 var(--uc-serif); }
.woocommerce div.product p.price { color: var(--uc-ink); font-size: 24px; }
.woocommerce table.shop_table { border-radius: 0; border-color: var(--uc-border); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--uc-accent); background: var(--uc-cream); }

.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 24px 0; border-bottom: 1px solid var(--uc-border); }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea, select {
  width: 100%;
  border: 1px solid var(--uc-border);
  border-radius: 0;
  padding: 13px 14px;
  background: rgba(255,255,255,.4);
  color: var(--uc-ink);
}

@media (max-width: 980px) {
  .uc-header-inner { grid-template-columns: auto 1fr auto; }
  .uc-menu-toggle { display: inline-block; justify-self: start; }
  .site-branding { justify-self: center; }
  .primary-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 24px 20px 30px;
    background: var(--uc-paper);
    border-bottom: 1px solid var(--uc-border);
  }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { align-items: flex-start; flex-direction: column; gap: 16px; }
  .uc-header-actions .uc-account-link { display: none; }
  .uc-pillars { grid-template-columns: repeat(2, 1fr); }
  .uc-collections { grid-template-columns: 1fr 1fr; }
  .uc-collection-card:first-child { grid-column: 1 / -1; }
  .uc-drop, .uc-newsletter { grid-template-columns: 1fr; }
  .uc-products-grid, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce div.product { grid-template-columns: 1fr; }
  .uc-footer-grid { grid-template-columns: 1fr 1fr; }
  .uc-footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .admin-bar .site-header { top: 46px; }
  .uc-container { width: min(calc(100% - 28px), var(--uc-container)); }
  .uc-announcement { font-size: 9px; }
  .uc-header-inner { min-height: 72px; gap: 10px; }
  .site-branding img { width: 210px; max-width: 50vw; }
  .uc-header-actions { gap: 8px; }
  .uc-header-actions .uc-search-link { display: none; }
  .uc-hero-slider, .uc-hero-slide, .uc-hero { min-height: 650px; }
  .uc-hero { background-position: 68% center; }
  .uc-hero-controls { left: 20px; bottom: 22px; }
  .uc-hero-arrow { width: 38px; height: 38px; }
  .uc-hero h1 { font-size: clamp(54px, 17vw, 86px); }
  .uc-section { padding: 68px 0; }
  .uc-section-head { display: block; }
  .uc-section-copy { margin-top: 18px; }
  .uc-pillars, .uc-collections, .uc-products-grid, .woocommerce ul.products, .uc-footer-grid { grid-template-columns: 1fr; }
  .uc-collection-card:first-child { grid-column: auto; }
  .uc-logo-panel { min-height: 420px; padding: 38px; }
  .uc-drop-meta { grid-template-columns: 1fr; }
  .uc-content-grid { grid-template-columns: 1fr; }
  .uc-newsletter-form { display: block; border: 0; }
  .uc-newsletter-form input { border-bottom: 1px solid currentColor; }
  .uc-newsletter-form button { padding: 18px 0; }
  .uc-footer-grid > :first-child { grid-column: auto; }
  .uc-footer-bottom { display: block; }
  .uc-footer-bottom span { display: block; margin-top: 8px; }
}

/* Version 2: editable Coming Soon block homepage */
.uc-header-preorder {
  padding: 10px 14px;
  border: 1px solid var(--uc-ink);
}

.uc-editable-front-page,
.uc-editable-front-page > .wp-block-group,
.uc-block-home {
  margin: 0;
  padding: 0;
  max-width: none;
}

.uc-block-hero-slider {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  margin: 0 !important;
  background: #a99b89;
}

.uc-block-hero-slide {
  position: absolute !important;
  inset: 0;
  width: 100%;
  min-height: 720px;
  margin: 0 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .7s ease, visibility .7s ease;
}

.uc-block-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.uc-block-hero-slide .wp-block-cover__image-background {
  object-position: center;
}

.uc-block-hero-slide .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(20,22,22,.78) 0%, rgba(20,22,22,.56) 40%, rgba(20,22,22,.08) 70%) !important;
  opacity: 1 !important;
}

.uc-block-hero-inner {
  width: min(calc(100% - 40px), var(--uc-container));
  margin-inline: auto !important;
}

.uc-block-hero-copy {
  margin: 0 !important;
  color: var(--uc-white);
}

.uc-block-kicker {
  margin: 0 0 18px !important;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 11px;
  font-weight: 700;
}

.uc-block-hero-title {
  max-width: 700px;
  margin: 0 0 24px !important;
  color: var(--uc-white);
  font: 400 clamp(58px, 8vw, 112px)/.95 var(--uc-serif) !important;
  letter-spacing: .015em;
}

.uc-block-hero-lead {
  max-width: 580px;
  margin: 0 0 28px !important;
  color: rgba(255,255,255,.92);
  font-size: clamp(17px, 2vw, 22px);
}

.uc-block-button .wp-block-button__link {
  border-color: var(--uc-ink);
  background: var(--uc-ink);
  color: var(--uc-white);
}

.uc-block-hero-copy .uc-block-button .wp-block-button__link {
  border-color: var(--uc-white);
  background: var(--uc-white);
  color: var(--uc-ink);
}

.uc-block-hero-copy .uc-block-button .wp-block-button__link:hover {
  background: transparent;
  color: var(--uc-white);
}

.uc-block-button-outline .wp-block-button__link,
.uc-block-dark-outline .wp-block-button__link {
  border-color: currentColor !important;
  background: transparent !important;
}

.uc-block-hero-copy .uc-block-button-outline .wp-block-button__link {
  color: var(--uc-white);
}

.uc-block-slider-controls {
  position: absolute;
  z-index: 5;
  left: max(28px, calc((100% - var(--uc-container)) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.uc-block-slider-arrow {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: rgba(16,35,58,.55);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.uc-block-slider-dots { display: flex; gap: 8px; }
.uc-block-slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
}
.uc-block-slider-dot.is-active { background: #fff; }

.uc-launch-strip {
  margin: 0 !important;
  padding: 24px max(20px, calc((100vw - var(--uc-container)) / 2));
  border-bottom: 1px solid var(--uc-border);
  background: var(--uc-cream);
}

.uc-launch-strip-columns { margin: 0 !important; }
.uc-launch-strip p { margin: 0; font-size: 13px; }
.uc-launch-strip strong { letter-spacing: .12em; font-size: 10px; }

.uc-block-drop {
  margin: 0 !important;
  padding: 108px max(20px, calc((100vw - var(--uc-container)) / 2));
  background: var(--uc-charcoal);
  color: var(--uc-white);
}

.uc-block-drop-columns { gap: 72px; margin: 0 auto !important; }
.uc-block-drop .uc-block-section-title,
.uc-block-drop .uc-block-large-copy { color: var(--uc-white); }
.uc-block-section-title {
  margin: 0 0 24px !important;
  font: 400 clamp(48px, 7vw, 88px)/.98 var(--uc-serif) !important;
}
.uc-block-large-copy { font-size: clamp(18px, 2vw, 22px); }
.uc-block-logo-panel {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  margin: 0 !important;
  padding: 64px;
  border: 1px solid rgba(255,255,255,.28);
  background: #1d1f1e;
  text-align: center;
}
.uc-block-logo-panel::before,
.uc-block-logo-panel::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-color: rgba(255,255,255,.8);
  border-style: solid;
}
.uc-block-logo-panel::before { left: 24px; top: 24px; border-width: 2px 0 0 2px; }
.uc-block-logo-panel::after { right: 24px; bottom: 24px; border-width: 0 2px 2px 0; }
.uc-block-logo-panel figure { margin: 0 !important; }
.uc-block-logo-panel p { margin: 22px 0 0; letter-spacing: .18em; font-size: 10px; }
.uc-block-drop-meta { gap: 20px; margin: 26px 0 !important; }
.uc-block-drop-meta > .wp-block-column { padding-top: 13px; border-top: 1px solid rgba(255,255,255,.32); }
.uc-block-drop-meta p { margin: 0; color: rgba(255,255,255,.78); }
.uc-block-drop-meta strong { color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.uc-block-drop .uc-block-button .wp-block-button__link { border-color: var(--uc-white); background: var(--uc-white); color: var(--uc-ink); }
.uc-block-drop .uc-block-button .wp-block-button__link:hover { background: transparent; color: var(--uc-white); }
.uc-block-edit-note { max-width: 600px; margin-top: 16px !important; color: rgba(255,255,255,.58); font-size: 12px; }

.uc-block-standard {
  margin: 0 !important;
  padding: 100px max(20px, calc((100vw - var(--uc-container)) / 2));
  background: var(--uc-paper);
}
.uc-block-standard > .uc-block-section-title { color: var(--uc-ink); }
.uc-block-value-grid { gap: 0; margin-top: 48px !important; border-top: 1px solid var(--uc-border); border-left: 1px solid var(--uc-border); }
.uc-block-value-card { height: 100%; padding: 34px 28px; border-right: 1px solid var(--uc-border); border-bottom: 1px solid var(--uc-border); }
.uc-block-number { margin: 0 0 38px !important; color: var(--uc-accent); font: 400 38px/1 var(--uc-serif); }
.uc-block-value-card h3 { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .12em; font-family: var(--uc-sans); font-size: 12px; }

.uc-block-manifesto {
  margin: 0 !important;
  padding: 116px 20px;
  background: var(--uc-cream);
}
.uc-block-manifesto blockquote { max-width: 980px; margin: 0 auto 32px; border: 0; }
.uc-block-manifesto blockquote p { margin: 0; font: 400 clamp(48px, 7vw, 92px)/1.02 var(--uc-serif); }
.uc-block-manifesto cite { display: block; margin-top: 28px; letter-spacing: .2em; font-family: var(--uc-sans); font-size: 10px; font-style: normal; }

.uc-block-launch-cta {
  margin: 0 !important;
  padding: 78px max(20px, calc((100vw - var(--uc-container)) / 2));
  background: var(--uc-ink);
  color: var(--uc-white);
}
.uc-block-launch-cta h2 { margin: 0 0 12px; color: #fff; font: 400 clamp(40px, 5vw, 70px)/1 var(--uc-serif); }
.uc-block-launch-cta p { color: rgba(255,255,255,.76); }
.uc-block-launch-cta .uc-block-kicker { color: #fff; }
.uc-block-launch-cta .uc-block-button .wp-block-button__link { border-color: #fff; background: #fff; color: var(--uc-ink); }

/* Inner-page template and default Gutenberg blocks */
.uc-page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--uc-border);
  background: linear-gradient(135deg, var(--uc-paper), var(--uc-cream));
}
.uc-page-hero::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: -45px;
  width: 190px;
  height: 190px;
  border-right: 3px solid rgba(16,35,58,.22);
  border-bottom: 3px solid rgba(16,35,58,.22);
}
.uc-page-kicker { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .2em; font-size: 10px; font-weight: 700; }
.uc-page-hero h1 { max-width: 920px; margin: 0; font: 400 clamp(52px, 8vw, 96px)/.98 var(--uc-serif); }
.uc-page-excerpt { max-width: 760px; font-size: 20px; }
.uc-page-content { padding: 72px 0 96px; }
.uc-page-featured { max-width: 1240px; margin: 0 auto 42px; }
.uc-page-featured img { width: 100%; max-height: 620px; object-fit: cover; }
.uc-page-lead { margin-bottom: 50px !important; color: #354456; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.5; }
.uc-page-card-grid,
.uc-page-feature-grid,
.uc-contact-page-grid { gap: 24px; margin-top: 32px !important; margin-bottom: 62px !important; }
.uc-page-card,
.uc-contact-info-card,
.uc-contact-form-card { height: 100%; padding: 30px; border: 1px solid var(--uc-border); background: rgba(255,255,255,.48); }
.uc-page-logo-image { padding: 45px; border: 1px solid var(--uc-border); background: var(--uc-cream); }
.uc-page-quote { margin: 60px auto 0 !important; padding: 46px; background: var(--uc-ink); color: var(--uc-white); }
.uc-page-quote h2,
.uc-page-quote h3,
.uc-page-quote p { color: var(--uc-white); }
.uc-contact-info-card { background: var(--uc-ink); color: rgba(255,255,255,.75); }
.uc-contact-info-card h2,
.uc-contact-info-card strong { color: #fff; }
.uc-contact-info-card hr { border-color: rgba(255,255,255,.2); }
.uc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.uc-contact-form input,
.uc-contact-form select,
.uc-contact-form textarea { margin-bottom: 14px; }
.uc-form-alert { margin-bottom: 14px; padding: 12px 14px; font-weight: 700; }
.uc-form-alert.success { background: #dff2df; color: #24552b; }
.uc-form-alert.error { background: #f4dddd; color: #762d2d; }
.uc-size-table table { min-width: 720px; }
.uc-footer-launch { text-transform: uppercase; letter-spacing: .17em; font-size: 10px; }
.uc-store-placeholder {
  max-width: 900px;
  margin: 40px auto;
  padding: 58px 34px;
  border: 1px solid var(--uc-border);
  background: var(--uc-cream);
  text-align: center;
}
.uc-store-placeholder h2 { margin: 0 0 14px; font: 400 clamp(42px, 6vw, 72px)/1 var(--uc-serif); }

@media (max-width: 980px) {
  .uc-block-drop-columns { gap: 38px; }
  .uc-block-value-grid { display: grid !important; grid-template-columns: 1fr 1fr; }
  .uc-block-value-grid > .wp-block-column { margin: 0 !important; }
}

@media (max-width: 700px) {
  .uc-header-preorder { padding: 8px 9px; }
  .uc-header-actions > a:not(.uc-header-preorder) { display: none; }
  .uc-block-hero-slider,
  .uc-block-hero-slide { min-height: 650px; }
  .uc-block-hero-slide .wp-block-cover__image-background { object-position: 63% center; }
  .uc-block-hero-slide .wp-block-cover__background { background: linear-gradient(90deg, rgba(20,22,22,.8), rgba(20,22,22,.5)) !important; }
  .uc-block-hero-inner { width: min(calc(100% - 28px), var(--uc-container)); }
  .uc-block-hero-title { font-size: clamp(50px, 16vw, 76px) !important; }
  .uc-block-slider-controls { left: 18px; bottom: 20px; }
  .uc-launch-strip-columns,
  .uc-block-drop-columns,
  .uc-block-launch-cta .wp-block-columns { display: block; }
  .uc-launch-strip-columns > .wp-block-column { margin-bottom: 12px; }
  .uc-block-drop,
  .uc-block-standard { padding-block: 72px; }
  .uc-block-logo-panel { min-height: 390px; padding: 38px; }
  .uc-block-drop-meta,
  .uc-block-value-grid { display: block !important; }
  .uc-block-drop-meta > .wp-block-column { margin-bottom: 18px; }
  .uc-block-value-card { border-left: 1px solid var(--uc-border); }
  .uc-block-launch-cta .wp-block-buttons { justify-content: flex-start; margin-top: 22px; }
  .uc-page-hero { padding: 64px 0 52px; }
  .uc-page-content { padding: 52px 0 70px; }
  .uc-page-card-grid,
  .uc-page-feature-grid,
  .uc-contact-page-grid { display: block; }
  .uc-page-card-grid > .wp-block-column,
  .uc-contact-page-grid > .wp-block-column { margin-bottom: 18px; }
  .uc-page-quote { padding: 30px; }
  .uc-form-row { grid-template-columns: 1fr; gap: 0; }
}

/* Keep both slider slides editable in the WordPress block editor. */
.editor-styles-wrapper .uc-block-hero-slider { min-height: auto !important; overflow: visible; }
.editor-styles-wrapper .uc-block-hero-slide { position: relative !important; inset: auto; min-height: 520px; opacity: 1; visibility: visible; pointer-events: auto; margin-bottom: 18px !important; }
.editor-styles-wrapper .uc-block-hero-title { color: #fff; }
.editor-styles-wrapper .uc-block-hero-lead { color: rgba(255,255,255,.92); }
