/*
Theme Name: Type & Paper
Description: A font journal for makers.
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.3
License: GPL-2.0-or-later
Text Domain: type-paper
*/


#type-paper-site {
  --tp-paper: light-dark(#f8f5ee, #202722);
  --tp-surface: light-dark(#fffdf8, #29322b);
  --tp-ink: light-dark(#26382e, #f0eadc);
  --tp-muted: light-dark(#666b60, #b8c0b4);
  --tp-line: light-dark(#dcded1, #475146);
  --tp-accent: light-dark(#ac4d32, #efa587);
  --tp-contrast: light-dark(#fffaf0, #202722);
  --tp-forest: light-dark(#233d30, #364d3d);
  --tp-art-cream: light-dark(#f1e9d9, #d9d0bc);
  --tp-art-ink: light-dark(#314637, #293d30);
  --tp-art-pink: light-dark(#e7c2af, #c59e89);
  --tp-art-sage: light-dark(#b9c7b0, #98ab8e);
  --tp-round: 3px;
  --tp-space: 24px;
  --tp-heading: 'DM Serif Display', Georgia, serif;
  color-scheme: light;
  color: var(--tp-ink);
  background: var(--tp-paper);
  font: 400 15px/1.55 'DM Sans', Arial, sans-serif;
  width: 100%;
  min-width: 0;
}
#type-paper-site[data-palette="forest"] { --tp-accent: light-dark(#356847, #a7c99d); }
#type-paper-site * { box-sizing: border-box; }
#type-paper-site [hidden] { display: none !important; }
#type-paper-site h1, #type-paper-site h2, #type-paper-site h3, #type-paper-site p { margin: 0; }
#type-paper-site button, #type-paper-site input { font: inherit; }
#type-paper-site button { color: inherit; }
#type-paper-site button, #type-paper-site a { -webkit-tap-highlight-color: transparent; }
#type-paper-site a { color: inherit; }
#type-paper-site button { border: 0; background: transparent; padding: 0; text-align: left; }
#type-paper-site .tp-wrap { padding-inline: 36px; }
#type-paper-site .tp-announcement { padding: 9px 104px 9px 36px; background: var(--tp-forest); color: var(--tp-art-cream); font-size: 11px; letter-spacing: 1.35px; text-transform: uppercase; }
#type-paper-site .tp-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px; border-bottom: 1px solid var(--tp-line); }
#type-paper-site .tp-brand { display: flex; align-items: center; gap: 12px; }
#type-paper-site .tp-monogram { display: grid; place-items: center; border: 1px solid var(--tp-ink); border-radius: 50%; width: 36px; height: 36px; font: italic 23px/1 Georgia, serif; flex: 0 0 36px; }
#type-paper-site .tp-brand-name { display: block; font: 400 21px/1.1 var(--tp-heading); letter-spacing: .6px; }
#type-paper-site .tp-brand-caption { display: block; margin-top: 4px; font-size: 10px; letter-spacing: 1.25px; text-transform: uppercase; color: var(--tp-muted); }
#type-paper-site .tp-nav { display: flex; align-items: center; gap: 24px; font-size: 12px; }
#type-paper-site .tp-nav button { min-height: 30px; }
#type-paper-site .tp-nav button:hover { color: var(--tp-accent); }
#type-paper-site .tp-nav-season { display: flex; align-items: center; gap: 6px; }
#type-paper-site .tp-nav-season i { width: 14px; height: 14px; }
#type-paper-site .tp-eyebrow { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.8px; color: var(--tp-accent); }
#type-paper-site .tp-hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 32px; padding-block: 39px 42px; }
#type-paper-site .tp-hero h1 { margin-top: 14px; font: 400 clamp(43px, 5.8vw, 70px)/1.01 var(--tp-heading); letter-spacing: -1.6px; }
#type-paper-site .tp-hero h1 em { font-weight: 400; color: var(--tp-accent); }
#type-paper-site .tp-hero-description { max-width: 335px; margin-top: 21px; color: var(--tp-muted); font-size: 14px; line-height: 1.7; }
#type-paper-site .tp-action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 17px; border-radius: var(--tp-round); border: 1px solid var(--tp-ink); font-size: 12px; font-weight: 600; text-decoration: none; }
#type-paper-site .tp-primary { background: var(--tp-ink); color: var(--tp-contrast); border-color: var(--tp-ink); }
#type-paper-site .tp-action:hover { filter: brightness(.93); }
#type-paper-site .tp-action i { width: 15px; height: 15px; }
#type-paper-site .tp-hero .tp-action { margin-top: 26px; }
#type-paper-site .tp-hero-art { position: relative; min-height: 338px; background: var(--tp-art-sage); border-radius: var(--tp-round); isolation: isolate; overflow: hidden; }
#type-paper-site .tp-art-top { position: absolute; inset: 19px 20px auto; display: flex; justify-content: space-between; gap: 10px; font-size: 9px; letter-spacing: 1.6px; color: var(--tp-art-ink); }
#type-paper-site .tp-gift-tag { position: absolute; width: 175px; height: 223px; background: var(--tp-art-cream); color: var(--tp-art-ink); top: 69px; left: 39px; transform: rotate(-9deg); padding: 29px 15px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 6px 12px 17px light-dark(#36553a26, #101b1626); }
#type-paper-site .tp-gift-tag::before { content: ''; position: absolute; top: 10px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--tp-art-sage); }
#type-paper-site .tp-gift-tag::after { content: ''; position: absolute; width: 70px; height: 74px; border: 1px solid var(--tp-art-ink); border-bottom: 0; border-radius: 50% 50% 0 0; top: -53px; left: 78px; transform: rotate(13deg); z-index: -1; opacity: .5; }
#type-paper-site .tp-tag-star { font: 400 21px/1 Georgia, serif; margin-bottom: 10px; }
#type-paper-site .tp-tag-text { text-align: center; font: 400 38px/1.02 var(--tp-heading); }
#type-paper-site .tp-tag-caption { margin-top: 15px; font-size: 8px; letter-spacing: 1.6px; }
#type-paper-site .tp-small-tag { width: 145px; height: 178px; background: var(--tp-forest); color: var(--tp-art-cream); transform: rotate(11deg); top: 119px; left: auto; right: 26px; z-index: 2; }
#type-paper-site .tp-small-tag::before { background: var(--tp-art-sage); }
#type-paper-site .tp-small-tag::after { display: none; }
#type-paper-site .tp-small-tag .tp-tag-text { font: 600 45px/1.03 'Dancing Script', cursive; }
#type-paper-site .tp-art-caption { position: absolute; bottom: 15px; left: 20px; color: var(--tp-art-ink); font-size: 9px; letter-spacing: 1px; }
#type-paper-site .tp-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 19px; }
#type-paper-site .tp-section-heading h2 { margin-top: 5px; font: 400 31px/1.15 var(--tp-heading); letter-spacing: -.5px; }
#type-paper-site .tp-count { font-size: 11px; color: var(--tp-muted); white-space: nowrap; }
#type-paper-site .tp-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 23px; }
#type-paper-site .tp-filter { padding: 6px 12px; border: 1px solid var(--tp-line); border-radius: 24px; font-size: 11px; min-height: 31px; }
#type-paper-site .tp-filter[aria-current="page"], #type-paper-site .tp-filter:hover { background: var(--tp-ink); color: var(--tp-contrast); border-color: var(--tp-ink); }
#type-paper-site .tp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px var(--tp-space); }
#type-paper-site .tp-guide { display: flex; flex-direction: column; min-width: 0; width: 100%; }
#type-paper-site .tp-guide:hover .tp-story-title { color: var(--tp-accent); }
#type-paper-site .tp-art { width: 100%; min-height: 166px; display: flex; position: relative; align-items: center; justify-content: center; flex-direction: column; padding: 19px; border-radius: var(--tp-round); background: var(--tp-art-cream); color: var(--tp-art-ink); overflow: hidden; }
#type-paper-site .tp-art-kicker { position: absolute; top: 13px; left: 15px; font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase; }
#type-paper-site .tp-art-note { margin-top: 9px; font-size: 8px; letter-spacing: 1.7px; }
#type-paper-site .tp-art-holiday { background: var(--tp-forest); color: var(--tp-art-cream); }
#type-paper-site .tp-art-holiday .tp-lettering { font: 400 36px/1.03 var(--tp-heading); text-align: center; }
#type-paper-site .tp-art-newyear .tp-lettering { font: 400 64px/.95 var(--tp-heading); letter-spacing: -3px; }
#type-paper-site .tp-art-retro { background: var(--tp-art-pink); color: var(--tp-art-ink); }
#type-paper-site .tp-art-retro .tp-lettering { font: 700 39px/.97 'Fraunces', Georgia, serif; text-align: center; letter-spacing: -1.7px; }
#type-paper-site .tp-art-wedding { background: var(--tp-art-cream); }
#type-paper-site .tp-art-wedding .tp-lettering { font: 600 34px/1 'Dancing Script', cursive; text-align: center; }
#type-paper-site .tp-art-brand { background: var(--tp-art-sage); }
#type-paper-site .tp-art-brand .tp-lettering { font: 400 35px/1 var(--tp-heading); letter-spacing: 2px; }
#type-paper-site .tp-art-pairings { background: var(--tp-art-pink); }
#type-paper-site .tp-pair-serif { font: 400 37px/1 var(--tp-heading); }
#type-paper-site .tp-pair-script { font: 600 28px/1 'Dancing Script', cursive; margin-top: -6px; }
#type-paper-site .tp-story-category { display: block; margin-top: 13px; font-size: 9px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--tp-accent); }
#type-paper-site .tp-story-title { display: block; margin-top: 5px; font: 400 22px/1.15 var(--tp-heading); letter-spacing: -.3px; transition: color .12s; }
#type-paper-site .tp-story-description { display: block; font-size: 11px; color: var(--tp-muted); line-height: 1.55; margin-top: 8px; }
#type-paper-site .tp-guide-footer { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 13px; font-size: 10px; font-weight: 600; }
#type-paper-site .tp-guide-footer i { width: 14px; height: 14px; }
#type-paper-site .tp-season { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; background: var(--tp-surface); border-block: 1px solid var(--tp-line); margin-top: 37px; padding-block: 25px; }
#type-paper-site .tp-season h2 { font: 400 29px/1.15 var(--tp-heading); margin-top: 5px; }
#type-paper-site .tp-season p { max-width: 460px; font-size: 12px; margin-top: 8px; color: var(--tp-muted); }
#type-paper-site .tp-about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; padding-block: 32px; border-bottom: 1px solid var(--tp-line); }
#type-paper-site .tp-about h2 { font: 400 25px/1.12 var(--tp-heading); max-width: 220px; }
#type-paper-site .tp-about p { color: var(--tp-muted); font-size: 12px; line-height: 1.75; }
#type-paper-site .tp-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 21px; color: var(--tp-muted); font-size: 10px; }
#type-paper-site .tp-footer a { text-underline-offset: 3px; }
#type-paper-site .tp-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-block: 23px; font-size: 11px; color: var(--tp-muted); }
#type-paper-site .tp-article-heading { max-width: 730px; padding-block: 8px 29px; }
#type-paper-site .tp-article-heading h1 { margin-top: 9px; font: 400 clamp(36px, 5vw, 55px)/1.06 var(--tp-heading); letter-spacing: -1px; }
#type-paper-site .tp-article-heading p { max-width: 580px; margin-top: 17px; color: var(--tp-muted); font-size: 14px; line-height: 1.7; }
#type-paper-site .tp-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 225px; gap: 30px; align-items: start; }
#type-paper-site .tp-article-art { min-height: 255px; }
#type-paper-site .tp-article-art .tp-lettering { font-size: clamp(42px, 7vw, 67px); text-align: center; max-width: 95%; overflow-wrap: anywhere; }
#type-paper-site .tp-lettering-editor { display: flex; flex-direction: column; gap: 7px; padding-top: 14px; }
#type-paper-site .tp-lettering-editor label { font-size: 11px; color: var(--tp-muted); }
#type-paper-site .tp-lettering-editor input { width: 100%; border: 1px solid var(--tp-line); padding: 10px 12px; border-radius: var(--tp-round); background: var(--tp-surface); color: var(--tp-ink); font-size: 14px; }
#type-paper-site .tp-article-copy { padding-top: 27px; }
#type-paper-site .tp-article-copy h2 { font: 400 29px/1.15 var(--tp-heading); margin-bottom: 11px; }
#type-paper-site .tp-article-copy p { font-size: 13px; color: var(--tp-muted); line-height: 1.75; }
#type-paper-site .tp-product { padding-block: 22px; border-bottom: 1px solid var(--tp-line); }
#type-paper-site .tp-product-head { display: flex; gap: 15px; align-items: start; }
#type-paper-site .tp-product-number { color: var(--tp-accent); font: 400 28px/1 var(--tp-heading); padding-top: 3px; }
#type-paper-site .tp-product-name { font: 400 25px/1.1 var(--tp-heading); }
#type-paper-site .tp-product-style { font-size: 9px; letter-spacing: 1.3px; text-transform: uppercase; margin-top: 6px; color: var(--tp-muted); }
#type-paper-site .tp-product p { font-size: 12px; line-height: 1.75; color: var(--tp-muted); margin-top: 13px; }
#type-paper-site .tp-product-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--tp-accent); }
#type-paper-site .tp-product-link i { width: 13px; height: 13px; }
#type-paper-site .tp-sidebar { background: var(--tp-surface); padding: 20px; border: 1px solid var(--tp-line); border-radius: var(--tp-round); }
#type-paper-site .tp-sidebar h2 { font: 400 23px/1.1 var(--tp-heading); margin-top: 6px; }
#type-paper-site .tp-sidebar ul { margin: 16px 0 0; padding: 0; list-style: none; }
#type-paper-site .tp-sidebar li { display: flex; gap: 10px; padding-block: 9px; border-bottom: 1px solid var(--tp-line); font-size: 11px; line-height: 1.5; }
#type-paper-site .tp-sidebar li i { width: 13px; height: 13px; flex: 0 0 13px; margin-top: 2px; color: var(--tp-accent); }
#type-paper-site .tp-sidebar .tp-action { margin-top: 20px; width: 100%; font-size: 11px; padding: 10px; }
#type-paper-site .tp-sidebar-note { margin-top: 13px; font-size: 10px; color: var(--tp-muted); line-height: 1.65; }
#type-paper-site .tp-disclosure { margin-top: 27px; border-top: 1px solid var(--tp-line); padding-top: 14px; font-size: 10px; color: var(--tp-muted); line-height: 1.6; }
#type-paper-site .tp-article-back { margin-block: 28px 35px; }
@media (max-width: 760px) {
  #type-paper-site .tp-wrap { padding-inline: 24px; }
  #type-paper-site .tp-announcement { padding-left: 24px; font-size: 9px; }
  #type-paper-site .tp-nav { gap: 15px; font-size: 11px; }
  #type-paper-site .tp-hero { gap: 24px; }
  #type-paper-site .tp-hero-art { min-height: 300px; }
  #type-paper-site .tp-gift-tag { left: 20px; width: 150px; height: 204px; }
  #type-paper-site .tp-small-tag { left: auto; right: 15px; width: 124px; height: 155px; top: 131px; }
  #type-paper-site .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #type-paper-site .tp-article-grid { grid-template-columns: minmax(0, 1fr) 190px; gap: 22px; }
  #type-paper-site .tp-sidebar { padding: 16px; }
}
@media (max-width: 580px) {
  #type-paper-site .tp-wrap { padding-inline: 19px; }
  #type-paper-site .tp-announcement { padding-left: 19px; font-size: 8px; letter-spacing: 1px; min-height: 37px; }
  #type-paper-site .tp-header { flex-wrap: wrap; gap: 17px; padding-block: 22px 16px; }
  #type-paper-site .tp-nav { width: 100%; justify-content: space-between; gap: 10px; }
  #type-paper-site .tp-brand-name { font-size: 21px; }
  #type-paper-site .tp-hero { grid-template-columns: 1fr; gap: 27px; padding-block: 29px 31px; }
  #type-paper-site .tp-hero h1 { font-size: 48px; max-width: 340px; }
  #type-paper-site .tp-hero-description { max-width: none; font-size: 13px; }
  #type-paper-site .tp-hero .tp-action { margin-top: 20px; }
  #type-paper-site .tp-hero-art { min-height: 295px; }
  #type-paper-site .tp-gift-tag { left: 17%; top: 63px; }
  #type-paper-site .tp-small-tag { left: auto; right: 12%; top: 113px; }
  #type-paper-site .tp-section-heading h2 { font-size: 29px; }
  #type-paper-site .tp-season { grid-template-columns: 1fr; gap: 17px; }
  #type-paper-site .tp-season .tp-action { justify-self: start; }
  #type-paper-site .tp-about { grid-template-columns: 1fr; gap: 14px; }
  #type-paper-site .tp-about h2 { max-width: none; }
  #type-paper-site .tp-footer { align-items: start; flex-direction: column; gap: 8px; }
  #type-paper-site .tp-article-grid { grid-template-columns: 1fr; }
  #type-paper-site .tp-sidebar { margin-top: 4px; }
  #type-paper-site .tp-article-heading h1 { font-size: 39px; }
  #type-paper-site .tp-article-art { min-height: 230px; }
  #type-paper-site .tp-lettering-editor input { font-size: 16px; }
}
@media (max-width: 390px) {
  #type-paper-site .tp-grid { grid-template-columns: 1fr; gap: 25px; }
  #type-paper-site .tp-art { min-height: 178px; }
  #type-paper-site .tp-art-kicker { font-size: 9px; }
  #type-paper-site .tp-art-note { font-size: 9px; }
  #type-paper-site .tp-story-title { font-size: 25px; }
  #type-paper-site .tp-story-description { font-size: 12px; }
  #type-paper-site .tp-hero h1 { font-size: 44px; }
  #type-paper-site .tp-gift-tag { left: 17px; width: 142px; height: 200px; }
  #type-paper-site .tp-gift-tag .tp-tag-text { font-size: 32px; }
  #type-paper-site .tp-small-tag { left: auto; right: 16px; width: 112px; height: 154px; top: 116px; }
  #type-paper-site .tp-small-tag .tp-tag-text { font-size: 40px; }
  #type-paper-site .tp-count { white-space: normal; text-align: right; }
}
@media (pointer: coarse) {
  #type-paper-site .tp-nav button, #type-paper-site .tp-filter, #type-paper-site .tp-action, #type-paper-site .tp-breadcrumb button, #type-paper-site .tp-product-link { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { #type-paper-site .tp-story-title { transition: none; } }

html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: #f8f5ee; }
#type-paper-site { min-height: 100vh; }
#type-paper-site a { text-decoration: none; }
#type-paper-site .tp-brand { color: var(--tp-ink); }
#type-paper-site .tp-menu { display: flex; gap: 24px; align-items: center; list-style: none; padding: 0; margin: 0; }
#type-paper-site .tp-nav a { display: inline-flex; align-items: center; min-height: 30px; }
#type-paper-site .tp-nav a:hover { color: var(--tp-accent); }
#type-paper-site .tp-hero-art { display: block; color: var(--tp-art-ink); }
#type-paper-site .tp-guide { text-align: left; color: var(--tp-ink); }
#type-paper-site .tp-lettering { text-align: center; overflow-wrap: anywhere; }
#type-paper-site .tp-art-pairings .tp-lettering { font: 400 35px/1.05 var(--tp-heading); max-width: 90%; }
#type-paper-site .tp-study-note { font-size: 11px; color: var(--tp-muted); margin-top: 10px; line-height: 1.6; }
#type-paper-site .tp-entry-content > * + * { margin-top: 20px; }
#type-paper-site .tp-entry-content h2 { margin-top: 30px; }
#type-paper-site .tp-entry-content h3 { font: 400 25px/1.15 var(--tp-heading); }
#type-paper-site .tp-entry-content ul, #type-paper-site .tp-entry-content ol { padding-left: 22px; color: var(--tp-muted); font-size: 13px; line-height: 1.75; }
#type-paper-site .tp-entry-content a { color: var(--tp-accent); text-decoration: underline; text-underline-offset: 3px; }
#type-paper-site .tp-entry-content .tp-product-link { display: inline-flex; text-decoration: none; }
#type-paper-site .tp-entry-content .tp-disclosure { margin-top: 0; padding-bottom: 15px; border-bottom: 1px solid var(--tp-line); border-top: 0; font-size: 11px; }
#type-paper-site .tp-product .tp-product-style { font-size: 10px; }
#type-paper-site .tp-archive, #type-paper-site .tp-page { padding-top: 36px; padding-bottom: 42px; }
#type-paper-site .tp-page .tp-entry-content { max-width: 740px; }
#type-paper-site .tp-archive h1 { font: 400 38px/1.15 var(--tp-heading); }
#type-paper-site .tp-pagination { margin-top: 32px; }
#type-paper-site .tp-pagination .nav-links { display: flex; gap: 16px; font-size: 13px; }
#type-paper-site .tp-card-image { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; }
#type-paper-site .tp-guide .tp-art { aspect-ratio: 3 / 2; min-height: 0; padding: 0; }
#type-paper-site .tp-empty { padding: 20px 0; }
#type-paper-site .tp-all-guides { margin-top: 28px; }
.tp-skip { position: absolute; left: -10000px; top: auto; z-index: 100000; }
.tp-skip:focus { left: 16px; top: 16px; padding: 12px 18px; background: #fffdf8; color: #26382e; }
@media (max-width: 760px) { #type-paper-site .tp-menu { gap: 15px; } }
@media (max-width: 580px) { #type-paper-site .tp-menu { width: 100%; justify-content: space-between; gap: 10px; } }
@media (pointer: coarse) { #type-paper-site .tp-nav a, #type-paper-site .tp-pagination a { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
