/* TEN I SEE / readable medieval lettering and engraved gold surfaces.
 * Almendra by Ana Sanfelippo, SIL Open Font License: fonts/Almendra-OFL.txt.
 */
@font-face {
  font-family: "Almendra";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/almendra-regular.ttf") format("truetype");
}
:root {
  --gothic: "Almendra", Georgia, serif;
  --menu-gothic: "Almendra", Georgia, serif;
  --bone: #f2ede3;
  --bone-dim: #c5bcae;
  --gold: #c7a363;
  --gold-light: #e2c58b;
  --line: rgba(199, 163, 99, 0.48);
  --line-pale: rgba(226, 197, 139, 0.24);
}

/* Navigation uses clear letterforms, larger labels and generous hit areas. */
.site-header,
.site-header.is-scrolled {
  border-bottom-color: rgba(199, 163, 99, 0.44);
  background: rgba(13, 11, 8, 0.95);
  box-shadow: 0 1px 0 rgba(226, 197, 139, 0.08);
}
.site-header .nav-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.065em;
  color: var(--bone);
}
.site-header .your-idea-link {
  padding: 10px 16px;
  border-color: var(--gold);
  background: linear-gradient(120deg, rgba(199,163,99,.17), rgba(199,163,99,.05));
  color: var(--gold-light);
}
.site-header .nav-action:hover,
.site-header .nav-action:focus-visible { color: var(--gold-light); }
.menu-links a {
  font-weight: 400;
  font-size: clamp(30px, min(3.7vw, 5.7vh), 58px);
  line-height: 1.15;
  letter-spacing: 0.005em;
}
.menu-object strong { font-weight: 400; }

/* Open letter spacing keeps the medieval forms distinct and easy to read. */
.hero h1.hero-slogan {
  font-size: clamp(56px, 6.6vw, 116px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.005em;
}
.hero-title-line { padding-block: .08em; margin-block: -.08em; }
.hero-title-line:first-child > span { color: var(--bone); }
.hero-title-line:last-child > span { color: var(--gold-light); }
.objects-intro h2,
.mechanism-copy h2,
.manifesto-copy h2,
.footer-invite h2,
.product-index h2,
.series-index-intro h2,
.series-page-intro h2,
.products-page-intro h2 {
  font-size: clamp(34px, 4.4vw, 70px);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.1;
}
.content-page-hero h1,
.products-page .content-page-hero h1,
.series-page .content-page-hero h1,
.brand-page .content-page-hero h1,
.member-account-intro h1,
.auth-editorial h1,
.commerce-page-hero h1,
.checkout-page .commerce-page-hero h1 {
  font-size: clamp(42px, 6.3vw, 100px);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.product-information h1 {
  font-size: clamp(42px, 4.5vw, 72px);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.1;
}
.object-copy h3,
.series-row-head h2,
.series-row-head h3 {
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.005em;
}
.object-slogan,
.product-slogan {
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.4;
  letter-spacing: 0.005em;
}
.products-series-content h2 {
  margin-top: 30px;
  font-size: clamp(44px, 4.7vw, 70px);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.05;
}
.products-series-release a {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.2;
}
.products-series-future strong {
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.005em;
}
.series-card-copy h4,
.series-sibling-nav a {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 400;
  line-height: 1.2;
}
.brand-document h2,
.contact-form-intro h2,
.idea-callout h2 {
  font-size: clamp(30px, 3.7vw, 58px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.005em;
  overflow-wrap: anywhere;
}
.brand-pillars article h2 { font-size: clamp(26px, 2.6vw, 38px); }
.legal-copy h2,
.auth-form-heading h2,
.member-account-content .woocommerce h2,
.member-account-content .woocommerce h3,
.cookie-consent-copy h2,
.cookie-preferences-head h2 {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.18;
}
.footer-wordmark {
  font-size: clamp(52px, 12.5vw, 210px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.005em;
}

/* Subtle etched lines and warm highlights echo the product photography. */
.objects,
.product-view,
.content-page,
.tenisee-products-page {
  background:
    radial-gradient(ellipse at 100% 12%, rgba(199,163,99,.14), transparent 48%),
    repeating-linear-gradient(125deg, rgba(226,197,139,.025) 0 1px, transparent 1px 15px),
    #100e0b;
}
.hero-frame,
.product-frame { border-color: rgba(199,163,99,.5); }
.hero-frame .corner,
.product-frame .corner { color: var(--gold); }
.section-rail { border-color: var(--line); background: rgba(199,163,99,.055); }
.products-page {
  position: relative;
  isolation: isolate;
}

/* Mechanical studies sit in the page margins behind the series panels. */
.products-page::before,
.products-page::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  width: clamp(200px, 26vw, 440px);
  pointer-events: none;
  background: url("series-mechanisms.svg") left top / 100% auto repeat-y;
  opacity: .24;
}

.products-page::before { left: 0; }
.products-page::after {
  right: 0;
  transform: scaleX(-1);
  background-position-y: clamp(160px, 20vw, 340px);
}

@media (max-width: 820px) {
  .products-page::before,
  .products-page::after {
    width: min(36%, 200px);
    opacity: .17;
  }
}

.products-page-body { padding-top: clamp(64px, 6vw, 96px); }
.products-page-intro { gap: clamp(36px, 5vw, 72px); padding-bottom: clamp(44px, 5vw, 72px); }
.products-series-jump {
  border: 1px solid var(--line);
  background: linear-gradient(110deg, rgba(199,163,99,.12), rgba(199,163,99,.025));
}
.products-series-jump a { padding: 22px 24px; font-size: 13px; }
.products-series-jump a span { font-size: 11px; }
.products-series-panel {
  position: relative;
  border-color: rgba(199,163,99,.72);
  box-shadow: 0 22px 72px rgba(0,0,0,.25), 0 0 34px rgba(199,163,99,.055);
}
.products-series-content,
.products-series-panel:nth-child(even) .products-series-content {
  border-color: var(--line);
  background:
    radial-gradient(ellipse at 100% 0, rgba(199,163,99,.18), transparent 62%),
    repeating-linear-gradient(125deg, rgba(226,197,139,.035) 0 1px, transparent 1px 15px),
    #19150f;
}
.products-series-content { padding: clamp(32px, 3.5vw, 56px); }
.products-series-code { font-size: 11px; }
.products-series-description { font-size: 16px; }
.products-series-release > strong { font-size: 11px; }
.products-series-release span,
.products-series-future > div > span,
.products-series-future small { font-size: 10px; line-height: 1.5; letter-spacing: .07em; }
.products-series-future {
  border-color: rgba(199,163,99,.5);
  background: linear-gradient(120deg, rgba(199,163,99,.12), rgba(199,163,99,.025));
}
.products-series-question { border-color: var(--gold); color: var(--gold-light); background: rgba(5,4,5,.3); }
.products-series-enter,
.product-inquiry {
  border-color: var(--gold);
  background: rgba(199,163,99,.1);
  color: var(--gold-light);
  font-size: 12px;
  min-height: 48px;
}
.product-visual,
.series-card,
.contact-form-shell,
.idea-module { border-color: rgba(199,163,99,.65); }
.product-information { padding: 30px; border: 1px solid var(--line); background: linear-gradient(140deg, #211b12, #12100c); }
.product-back { margin-bottom: 36px; font-size: 11px; }
.object-copy { border-top: 1px solid var(--line); background: linear-gradient(135deg, rgba(199,163,99,.12), transparent 75%); }
.product-price-row strong { color: var(--gold-light); }
.product-index nav a,
.footer-nav { border-color: var(--line); }
.site-footer { border-top: 1px solid var(--line); }

@media (max-width: 1100px) and (min-width: 821px) {
  .nav-cluster { gap: 16px; }
  .site-header .nav-action { font-size: 13px; letter-spacing: .035em; }
  .site-header .your-idea-link { padding-inline: 10px; }
}
@media (max-width: 820px) {
  .site-header .nav-action { font-size: 12px; letter-spacing: .04em; }
  .site-header .nav-products,
  .site-header .nav-about,
  .site-header .contact-link { display: none; }
  .site-header .your-idea-link { padding: 8px 10px; }
  .hero h1.hero-slogan { font-size: clamp(34px, 9.7vw, 64px); line-height: 1.08; }
  .menu-links a { font-size: clamp(27px, 6vw, 38px); }
  .products-page .content-page-hero { min-height: 510px; }
  .content-page-hero h1,
  .products-page .content-page-hero h1,
  .series-page .content-page-hero h1,
  .brand-page .content-page-hero h1 { font-size: clamp(36px, 8.9vw, 65px); }
  .products-page-intro h2 { font-size: clamp(32px, 8.2vw, 52px); }
  .products-series-jump a { padding: 18px; }
  .products-series-content,
  .products-series-panel:nth-child(even) .products-series-content { padding: 30px 24px; }
  .products-series-content h2 { font-size: clamp(42px, 10.4vw, 66px); margin-top: 24px; }
  .products-series-release { margin-top: 28px; }
  .products-series-release a { font-size: 30px; }
  .products-series-future { gap: 12px; padding: 14px; }
  .products-series-future > div > span,
  .products-series-future small { font-size: 9px; }
  .products-series-future strong { font-size: 19px; }
  .products-series-actions { margin-top: 10px; }
  .product-information { width: 100%; max-width: none; padding: 24px 20px; }
  .product-information h1 { font-size: clamp(37px, 10vw, 58px); }
  .product-price-row { flex-wrap: wrap; gap: 12px; }
  .brand-document h2,
  .contact-form-intro h2,
  .idea-callout h2 { font-size: clamp(30px, 8vw, 46px); }
  .footer-wordmark { font-size: 12.5vw; }
}
@media (max-width: 520px) {
  .site-header .nav-action { display: flex; font-size: 11.5px; letter-spacing: .015em; }
  .site-header .nav-products,
  .site-header .nav-about,
  .site-header .nav-right .contact-link { display: none; }
  .site-header .nav-right .your-idea-link { min-height: 40px; padding: 0 3px; font-size: 11px; }
  .tenisee-catalog-mode .site-header .nav-right .contact-link { display: flex; }
}

/* Keep footer navigation and supporting text comfortable to read. */
.site-footer .footer-nav {
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.site-footer .footer-bottom,
.site-footer .footer-sigil .mono,
.site-footer .newsletter label,
.site-footer .newsletter button,
.site-footer .form-message {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

@media (max-width: 820px) {
  .site-footer .footer-nav { font-size: 12px; }
  .site-footer .footer-bottom { font-size: 11px; }
}

/* Give the featured product photographs and their captions distinct breathing room. */
.objects-carousel .object-copy {
  margin-top: 14px;
  padding: 24px 28px 28px;
  column-gap: clamp(24px, 3vw, 44px);
  border: 1px solid var(--line);
}
.objects-carousel .object-copy > .mono {
  margin: 0;
  line-height: 1.6;
}
.objects-carousel .object-copy h3 {
  margin-top: 12px;
  line-height: 1.18;
}
.objects-carousel .object-copy > .object-slogan {
  margin-top: 12px;
  line-height: 1.4;
}
.objects-carousel .object-copy dl { margin: 0; }
.objects-carousel .object-commerce {
  margin-top: 22px;
  line-height: 1.6;
}
.objects-carousel .object-controls { margin-top: 24px; }

@media (max-width: 600px) {
  .objects-carousel .object-copy {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 12px;
    padding: 22px 20px 24px;
  }
  .objects-carousel .object-copy > .object-slogan {
    max-width: none;
    font-size: 21px;
  }
  .objects-carousel .object-copy dl {
    grid-column: 1;
    grid-row: auto;
    margin-top: 22px;
  }
  .objects-carousel .object-copy dl div {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 0;
  }
  .objects-carousel .object-commerce {
    grid-column: 1;
    margin-top: 18px;
    padding-top: 0;
    border-top: 0;
  }
}

/* Light the architectural details and engrave the margins in aged gold. */
.hero {
  background-image:
    radial-gradient(ellipse at 79% 51%, rgba(199, 163, 99, .22), transparent 35%),
    linear-gradient(90deg, rgba(5, 4, 5, .4) 0%, rgba(5, 4, 5, .18) 48%, rgba(5, 4, 5, .35) 100%),
    linear-gradient(110deg, rgba(38, 25, 18, .12), transparent 40%, rgba(0, 0, 0, .22) 78%),
    url("generated/hero-atmosphere-gothic-v1.webp");
}

.products-page .content-page-hero {
  --products-corner-size: clamp(48px, 5vw, 76px);
  --products-corner-ink: rgba(199, 163, 99, .62);
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .20), transparent 56%),
    linear-gradient(0deg, rgba(0, 0, 0, .20), transparent 29%),
    radial-gradient(ellipse 28% 35% at 83% 46%, rgba(199, 163, 99, .18), transparent),
    linear-gradient(90deg, rgba(5, 4, 5, .98) 0%, rgba(5, 4, 5, .74) 48%, rgba(5, 4, 5, .66) 58%, rgba(5, 4, 5, .20) 100%),
    url("generated/footer-inner-circle-bg-v1.webp");
  background-position: center, center, center, center, center 44%;
}

.products-page .content-page-hero::before {
  pointer-events: none;
  background:
    radial-gradient(circle at top right,
      transparent 23%, var(--products-corner-ink) 24%, transparent 25%,
      transparent 40%, var(--products-corner-ink) 41%, transparent 42%,
      transparent 61%, var(--products-corner-ink) 62%, transparent 63%)
      top right / var(--products-corner-size) var(--products-corner-size) no-repeat,
    linear-gradient(to left, var(--products-corner-ink), transparent)
      top right / var(--products-corner-size) 1px no-repeat,
    linear-gradient(var(--products-corner-ink), transparent)
      top right / 1px var(--products-corner-size) no-repeat;
}

.products-page::before,
.products-page::after {
  opacity: .48;
  mask-image: linear-gradient(90deg, #000 8px, rgba(0, 0, 0, .46) max(var(--page-pad), calc((100vw - 1280px) / 2)));
}

.site-footer::after {
  background:
    linear-gradient(90deg, transparent 12%, rgba(199, 163, 99, .64) 50%, transparent 88%)
      top center / min(72vw, 780px) 1px no-repeat,
    radial-gradient(ellipse 64% 58px at 63% 0, rgba(199, 163, 99, .18), transparent),
    radial-gradient(ellipse 30% 165px at 100% 0, rgba(199, 163, 99, .26), transparent),
    linear-gradient(transparent 10%, rgba(0, 0, 0, .08) 16% 60%, transparent 75%),
    linear-gradient(90deg, rgba(5, 4, 5, .62) 0%, rgba(5, 4, 5, .2) 48%, rgba(5, 4, 5, .46) 100%),
    linear-gradient(0deg, rgba(5, 4, 5, .96) 0%, rgba(5, 4, 5, .58) 28%, rgba(5, 4, 5, .18) 72%, rgba(5, 4, 5, .5) 100%);
}

@media (max-width: 820px) {
  .hero { background-image: none; }

  .hero-media::after {
    background:
      radial-gradient(ellipse 32% 17% at 96% 79%, rgba(199, 163, 99, .17), transparent),
      linear-gradient(rgba(5, 4, 5, .12), rgba(5, 4, 5, .2)),
      linear-gradient(90deg, rgba(5, 4, 5, .96) 0%, rgba(5, 4, 5, .84) 42%, rgba(5, 4, 5, .42) 72%, rgba(5, 4, 5, .18) 100%),
      linear-gradient(0deg, rgba(5, 4, 5, .62), transparent 42%, rgba(5, 4, 5, .16));
  }

  .products-page .content-page-hero {
    --products-corner-size: 34px;
    --products-corner-ink: rgba(199, 163, 99, .40);
    background-image:
      radial-gradient(ellipse 24% 22% at 99% 23%, rgba(199, 163, 99, .15), transparent),
      radial-gradient(ellipse 30% 19% at 100% 83%, rgba(199, 163, 99, .18), transparent),
      linear-gradient(90deg, rgba(5, 4, 5, .98) 0%, rgba(5, 4, 5, .74) 48%, rgba(5, 4, 5, .32) 100%),
      url("generated/footer-inner-circle-bg-v1.webp");
    background-position: center, center, center, 54% center;
  }

  .products-page::before,
  .products-page::after {
    opacity: .30;
    mask-image: linear-gradient(90deg, #000 4px, rgba(0, 0, 0, .54) var(--page-pad));
  }
}
