:root {
  --paper: #f4f0e8;
  --paper-deep: #e9e3d7;
  --ink: #191916;
  --muted: #66645d;
  --line: rgba(25, 25, 22, .18);
  --white: #fffef9;
  --accent: #f04f2f;
  --acid: #dfff57;
  --blue: #315cff;
  --max: 1440px;
  --shadow: 0 22px 60px rgba(25, 25, 22, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: .055;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--ink); background: var(--acid); }

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 200; padding: 12px 18px; color: #fff; background: var(--ink); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 232, .9);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wordmark { width: max-content; display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand-logo-frame { display: block; padding: 7px 10px; border-radius: 8px; background: #050508; }
.brand-logo { display: block; width: clamp(220px, 17vw, 252px); height: auto; }
.brand-icon { display: none; width: 44px; height: 44px; border-radius: 13px; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 28px; }
.site-nav a, .header-cta { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.site-nav a { padding: 8px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { border-color: currentColor; }
.header-cta { justify-self: end; padding: 11px 17px; color: var(--white); background: var(--ink); border-radius: 100px; }
.menu-button { display: none; border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 8px 13px; font-weight: 700; }

.home-hero { overflow: hidden; padding: clamp(30px, 3.8vw, 58px) 0 0; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .98fr) minmax(460px, .92fr); gap: clamp(44px, 6vw, 94px); align-items: start; }
.home-hero h1 { max-width: 760px; font-size: clamp(52px, 6.25vw, 98px); }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 28px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span:first-child::before { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--accent); content: ""; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.06em; line-height: .95; }
h1 { max-width: 820px; margin-bottom: 30px; font-size: clamp(54px, 7.5vw, 118px); font-weight: 800; }
h1 em, h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-lead { max-width: 620px; margin-bottom: 32px; color: #46453f; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.45; }
.hero-search { display: flex; max-width: 700px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 8px 30px rgba(25, 25, 22, .06); }
.hero-search input { min-width: 0; flex: 1; border: 0; outline: none; padding: 15px 16px; color: var(--ink); background: transparent; }
.hero-search input::placeholder { color: #8c8980; }
.hero-search button, .catalog-search button, .url-loader button { border: 0; border-radius: 8px; padding: 14px 18px; color: var(--white); background: var(--ink); font-weight: 800; cursor: pointer; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 14px 20px; border: 0; border-radius: 100px; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(25,25,22,.14); }
.button-primary { color: var(--ink); background: var(--acid); }
.button-dark { color: var(--white); background: var(--ink); }
.text-link { font-size: 14px; font-weight: 800; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.arrow { display: inline-grid; width: 30px; height: 30px; place-items: center; flex: 0 0 auto; border: 1px solid currentColor; border-radius: 50%; font-style: normal; }

.hero-mosaic { position: relative; min-height: 540px; }
.hero-tile { position: absolute; overflow: hidden; border: 7px solid var(--paper); box-shadow: var(--shadow); text-decoration: none; transition: transform .3s ease; }
.hero-tile:hover { z-index: 10; transform: rotate(0) scale(1.025); }
.hero-tile img { width: 100%; height: 100%; object-fit: cover; }
.hero-tile span { position: absolute; right: 8px; bottom: 8px; z-index: 3; padding: 5px 8px; color: #fff; background: rgba(25,25,22,.8); border-radius: 99px; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.hero-tile-1 { top: 0; left: 0; width: 47%; height: 34%; transform: rotate(-2deg); }
.hero-tile-2 { top: 3%; right: 0; width: 49%; height: 43%; transform: rotate(2deg); }
.hero-tile-3 { top: 36%; left: 5%; width: 41%; height: 29%; transform: rotate(1.5deg); }
.hero-tile-4 { top: 47%; right: 4%; width: 48%; height: 30%; transform: rotate(-2.4deg); }
.hero-tile-5 { bottom: 0; left: 0; width: 39%; height: 31%; transform: rotate(-1deg); }
.hero-tile-6 { right: 17%; bottom: -3%; width: 37%; height: 26%; transform: rotate(3deg); }
.ticker { overflow: hidden; margin-top: 44px; border-top: 1px solid var(--line); background: var(--acid); }
.ticker div { width: max-content; padding: 12px 0; font-size: 12px; font-weight: 900; letter-spacing: .15em; animation: ticker 28s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: clamp(72px, 9vw, 138px) 0; }
.section-intro { background: var(--white); }
.section-heading { margin-bottom: 44px; }
.section-heading h2 { margin: 0; font-size: clamp(42px, 5.4vw, 78px); }
.section-heading > p, .split-heading > p, .row-heading > p { max-width: 520px; color: var(--muted); font-size: 17px; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); align-items: end; gap: 48px; }
.row-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.kicker { margin-bottom: 14px; color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { --tone: #ddd8ca; min-width: 0; }
.category-card:nth-child(5n + 2), .category-card:nth-child(5n + 4) { margin-top: 34px; }
.category-card-link { display: block; text-decoration: none; }
.category-visual { position: relative; overflow: hidden; aspect-ratio: 1 / .82; border-radius: 4px; background: var(--tone); }
.category-visual::after { position: absolute; inset: 0; background: linear-gradient(135deg, transparent 48%, rgba(0,0,0,.12)); content: ""; mix-blend-mode: multiply; }
.category-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.category-card:hover img { transform: scale(1.045); }
.category-number { position: absolute; top: 10px; left: 10px; z-index: 2; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--acid); font-size: 10px; font-weight: 900; }
.category-card-copy { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 17px 2px 0; }
.category-card-copy h3 { margin-bottom: 3px; font-size: clamp(17px, 1.55vw, 23px); letter-spacing: -.035em; line-height: 1.08; }
.category-card-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.category-card-copy .arrow { width: 32px; height: 32px; transition: transform .2s ease; }
.category-card:hover .arrow { transform: rotate(45deg); }

.tone-coral { --tone: #ef6a4d; }
.tone-lime { --tone: #cced55; }
.tone-blue { --tone: #6e8cff; }
.tone-violet { --tone: #9a7eea; }
.tone-orange { --tone: #f49b54; }
.tone-gold { --tone: #e8bd4f; }
.tone-forest { --tone: #5b8263; }
.tone-sky { --tone: #8ccfe7; }
.tone-steel { --tone: #9ba3a6; }
.tone-cyan { --tone: #54c8c8; }
.tone-mint { --tone: #9bd2b0; }
.tone-leaf { --tone: #89a94e; }
.tone-rose { --tone: #e78c9d; }
.tone-blush { --tone: #ebbbb1; }
.tone-sand { --tone: #d6bc8e; }
.tone-electric { --tone: #526af1; }
.tone-navy { --tone: #456176; }
.tone-petal { --tone: #e392b4; }
.tone-moss { --tone: #7e9668; }
.tone-terracotta { --tone: #cf795f; }
.tone-apricot { --tone: #f2b181; }
.tone-iris { --tone: #8c72c7; }
.tone-cosmic { --tone: #5e55a7; }
.tone-magenta { --tone: #d8579c; }
.tone-garden { --tone: #6f9a61; }

.section-featured { background: var(--paper-deep); }
.asset-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.asset-grid--featured { grid-template-columns: repeat(4, 1fr); }
.asset-card { min-width: 0; }
.asset-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 4px; background: #d8d2c7; }
.asset-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.asset-card:hover .asset-media img { transform: scale(1.035); }
.asset-type { position: absolute; top: 10px; right: 10px; z-index: 3; padding: 5px 8px; border-radius: 99px; color: #fff; background: rgba(25,25,22,.76); font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.asset-copy { padding: 14px 2px 0; }
.asset-copy h3 { margin-bottom: 6px; font-size: 15px; letter-spacing: -.02em; line-height: 1.3; }
.asset-copy h3 a { text-decoration: none; }
.asset-copy p { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* Shared portfolio watermark: protects displayed previews without altering source files. */
.asset-media::after,
.result-visual::after,
.hero-tile::after,
.category-visual::before,
.category-cover::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 155%;
  color: rgba(255, 255, 255, .72);
  content: "designermetin · ADOBE STOCK   designermetin · ADOBE STOCK\A designermetin · ADOBE STOCK   designermetin · ADOBE STOCK";
  font-size: clamp(7px, .62vw, 10px);
  font-weight: 900;
  line-height: 6.5;
  letter-spacing: .11em;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .78);
  white-space: pre;
  opacity: .58;
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -50%) rotate(-13deg);
}
.category-cover::before { top: 43%; }
.asset-media::after, .result-visual::after, .hero-tile::after, .category-visual::before, .category-cover::before { display: none; content: none; }
.asset-media img, .result-visual img, .hero-tile img, .category-visual img, .category-cover img { -webkit-user-drag: none; user-select: none; }

.checker-promo { padding-block: clamp(62px, 7vw, 96px); color: #f7f2e8; background: var(--ink); }
.checker-promo-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(380px, .75fr); gap: clamp(44px, 7vw, 100px); align-items: center; }
.checker-promo-copy h2 { max-width: 650px; margin-bottom: 20px; font-size: clamp(44px, 5vw, 72px); }
.checker-promo-copy > p:not(.kicker) { max-width: 540px; color: #bbb8ae; font-size: 17px; }
.checker-promo .button-dark { color: var(--ink); background: var(--acid); }
.mini-checker { overflow: hidden; border: 1px solid #4e4d48; border-radius: 12px; background: #2a2925; box-shadow: 0 40px 90px rgba(0,0,0,.35); transform: rotate(1.4deg); }
.mini-checker-toolbar { display: flex; gap: 7px; align-items: center; padding: 13px 16px; border-bottom: 1px solid #4e4d48; }
.mini-checker-toolbar i { width: 8px; height: 8px; border-radius: 50%; background: #6d6b65; }
.mini-checker-toolbar i:first-child { background: var(--accent); }
.mini-checker-toolbar span { margin-left: auto; color: #a5a29a; font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.mini-checker-canvas { height: min(28vw, 330px); background-color: #24231f; background-image: var(--sample); background-size: 112px; }
.mini-checker-footer { display: flex; justify-content: space-between; padding: 11px 15px; font-size: 11px; }
.mini-checker-footer span { color: #96938c; }

.proof-section { padding-block: 52px; background: var(--accent); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proof-grid div { padding-right: 20px; border-right: 1px solid rgba(25,25,22,.28); }
.proof-grid div:last-child { border: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { font-size: clamp(34px, 4vw, 58px); line-height: 1; letter-spacing: -.05em; }
.proof-grid span { margin-top: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.site-footer { padding: 80px 0 22px; color: #eae6dc; background: #0f0f0d; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .8fr; gap: 70px; padding-bottom: 70px; }
.footer-wordmark { color: #fff; }
.footer-wordmark .brand-logo-frame { padding: 0; background: transparent; }
.footer-wordmark .brand-logo { width: min(280px, 100%); }
.footer-grid p { max-width: 380px; margin: 24px 0 0; color: #8f8d86; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid a { color: #d9d5ca; text-decoration: none; }
.footer-grid a:hover { color: var(--acid); }
.footer-label { margin-bottom: 8px; color: #6f6d67; font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid #2d2d29; color: #77756f; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }

/* Category pages */
.category-hero { --tone: #ddd8ca; padding: 70px 0 80px; background: linear-gradient(115deg, var(--paper) 0 58%, var(--tone) 58%); border-bottom: 1px solid var(--line); }
.category-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .72fr); align-items: center; gap: clamp(50px, 8vw, 130px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.breadcrumbs a { text-underline-offset: 3px; }
.category-hero h1 { max-width: 850px; margin-bottom: 24px; font-size: clamp(56px, 7vw, 104px); }
.category-hero-copy > p:not(.eyebrow) { max-width: 680px; font-size: 20px; color: #4f4d47; }
.category-cover { position: relative; display: block; overflow: hidden; color: #fff; background: var(--ink); text-decoration: none; box-shadow: 30px 35px 0 rgba(255,255,255,.3); transform: rotate(1.2deg); }
.category-cover img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.category-cover > span { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 14px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.category-cover .arrow { width: 25px; height: 25px; }
.asset-index-section { background: var(--white); border-block: 1px solid var(--line); }
.asset-index { margin: 0; padding: 0; list-style: none; counter-reset: assets; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.asset-index li { min-width: 0; counter-increment: assets; border-bottom: 1px solid var(--line); }
.asset-index li:nth-child(odd) { border-right: 1px solid var(--line); }
.asset-index a { display: grid; grid-template-columns: 1fr auto; gap: 18px; min-height: 86px; padding: 18px 20px; align-items: center; text-decoration: none; }
.asset-index a::before { grid-row: 1/3; align-self: start; color: #aaa69c; font-size: 10px; font-weight: 800; content: counter(assets, decimal-leading-zero); }
.asset-index span { display: -webkit-box; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.32; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.asset-index small { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.asset-index a:hover { background: var(--acid); }
.center-action { display: flex; justify-content: center; margin-top: 42px; }
.related-section { background: var(--paper-deep); }
.related-links { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.related-links a { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; min-height: 130px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.related-links a:nth-child(4n) { border-right: 0; }
.related-links span:first-child { font-weight: 800; line-height: 1.15; }
.related-links small { align-self: end; color: var(--muted); }
.related-links .arrow { grid-row: 1/3; grid-column: 2; }
.related-links a:hover { background: var(--white); }

/* About and contact */
.page-hero { padding: clamp(80px, 11vw, 170px) 0; color: #fff; background: var(--blue); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .65fr; gap: 70px; align-items: end; }
.page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(60px, 8vw, 118px); }
.page-hero .kicker { color: var(--acid); }
.page-hero-grid > p { max-width: 560px; margin: 0; color: #dbe2ff; font-size: 21px; }
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(460px, 1fr); gap: clamp(60px, 10vw, 160px); align-items: start; }
.about-story { position: sticky; top: 120px; }
.about-story h2 { margin-bottom: 30px; font-size: clamp(46px, 5.8vw, 80px); }
.about-story p { max-width: 650px; color: var(--muted); font-size: 19px; }
.about-story .button { margin-top: 15px; }
.about-stack { display: grid; gap: 36px; }
.asset-card--compact:nth-child(2) { width: 82%; margin-left: auto; }
.asset-card--compact:nth-child(3) { width: 88%; }
.asset-card--compact .asset-media { aspect-ratio: 1.25; }
.values-section { background: var(--white); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.value-grid article { padding: 28px 34px 15px 0; border-right: 1px solid var(--line); }
.value-grid article:not(:first-child) { padding-left: 34px; }
.value-grid article:last-child { border-right: 0; }
.value-grid span { color: var(--accent); font-size: 11px; font-weight: 900; }
.value-grid h3 { margin: 36px 0 10px; font-size: 26px; letter-spacing: -.04em; }
.value-grid p { color: var(--muted); }
.contact-hero { min-height: calc(100vh - 78px); padding: 90px 0; display: grid; align-items: center; color: #fff; background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 90px; align-items: center; }
.contact-grid h1 { margin-bottom: 30px; color: var(--acid); }
.contact-grid > div:first-child > p:not(.kicker) { max-width: 630px; color: #bbb8af; font-size: 20px; }
.contact-options { border-top: 1px solid #44433f; }
.contact-options a { display: grid; grid-template-columns: 1fr auto; padding: 24px 8px; border-bottom: 1px solid #44433f; text-decoration: none; }
.contact-options a > span:first-child { color: #8f8d86; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.contact-options strong { grid-column: 1; margin-top: 5px; font-size: 21px; }
.contact-options .arrow { grid-column: 2; grid-row: 1/3; align-self: center; }
.contact-options a:hover { color: var(--acid); }

/* Search */
.search-hero { padding: clamp(70px, 9vw, 135px) 0 70px; color: #fff; background: var(--blue); }
.search-hero .kicker { color: var(--acid); }
.search-hero h1 { margin-bottom: 44px; font-size: clamp(60px, 8vw, 112px); }
.catalog-search { display: flex; max-width: 960px; padding: 8px; border-radius: 14px; background: #fff; }
.catalog-search input { min-width: 0; flex: 1; padding: 17px 18px; border: 0; outline: 0; font-size: 19px; }
.catalog-search button { background: var(--ink); padding-inline: 30px; }
.search-filters { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.search-filters label { display: flex; gap: 10px; align-items: center; color: #dce2ff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.search-filters select { min-width: 190px; padding: 10px 32px 10px 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; color: #fff; background: rgba(0,0,0,.14); }
.search-results-section { min-height: 500px; padding: 48px 0 100px; }
.results-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; }
.results-meta p { margin: 0; font-size: 14px; font-weight: 800; }
.text-button { padding: 4px 0; border: 0; border-bottom: 1px solid currentColor; color: inherit; background: transparent; font-weight: 800; cursor: pointer; }
.search-results { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.search-result { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.search-result a { display: flex; min-height: 100%; flex-direction: column; text-decoration: none; }
.result-visual { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--paper-deep); }
.result-visual img { width: 100%; height: 100%; object-fit: cover; }
.result-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #a09b90; font-size: 34px; font-weight: 900; letter-spacing: -.05em; }
.result-copy { display: flex; min-height: 166px; flex-direction: column; padding: 18px; }
.result-copy h2 { margin-bottom: 14px; font-size: 16px; line-height: 1.28; letter-spacing: -.02em; }
.result-copy p { margin-top: auto; margin-bottom: 0; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.search-result:hover { background: var(--acid); }
.search-result:hover img { transform: scale(1.03); }
.result-visual img { transition: transform .3s ease; }
.empty-results { grid-column: 1/-1; padding: 70px 20px; text-align: center; }
.empty-results strong { display: block; margin-bottom: 12px; font-size: 28px; }
.empty-results p { color: var(--muted); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 35px; }
.pagination button { min-width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.pagination button[aria-current="page"] { color: #fff; background: var(--ink); }
.noscript-note { padding: 30px; background: var(--white); }

/* Seamless checker */
.tool-hero { padding: 14px 0 16px; background: var(--acid); }
.tool-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 38px; align-items: center; }
.tool-heading .kicker { margin-bottom: 2px; }
.tool-heading h1 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: .98; }
.tool-heading > p { max-width: 520px; margin: 0; font-size: 15px; line-height: 1.35; }
.tool-section { padding: 12px 0 44px; background: var(--ink); }
.tool-shell { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.tool-panel { padding: 18px; border: 1px solid #45443f; border-radius: 10px; color: #f2eee4; background: #24231f; }
.url-loader { margin-top: 0; }
.url-loader label { display: block; margin-bottom: 8px; color: #aaa79f; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.url-loader > div { display: flex; }
.url-loader input { min-width: 0; flex: 1; padding: 11px; border: 1px solid #4f4d47; border-right: 0; border-radius: 7px 0 0 7px; color: #fff; background: #171714; outline: 0; }
.url-loader button { border-radius: 0 7px 7px 0; color: var(--ink); background: var(--acid); padding: 9px 12px; }
.url-loader small { display: block; margin-top: 7px; color: #79776f; font-size: 9px; }
.controls { display: grid; gap: 14px; margin-top: 20px; }
.controls label { display: grid; grid-template-columns: 1fr auto; gap: 8px; color: #aaa79f; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.controls output { color: #fff; }
.controls input[type="range"] { grid-column: 1/-1; width: 100%; accent-color: var(--acid); }
.color-control { grid-template-columns: 1fr 34px auto !important; align-items: center; }
.color-control input { width: 34px; height: 30px; padding: 0; border: 0; background: transparent; }
.color-control output { font-size: 9px; }
.tool-actions { display: flex; gap: 15px; align-items: center; margin-top: 20px; }
.tool-actions .button { min-height: 42px; padding: 10px 14px; color: var(--ink); background: var(--acid); font-size: 11px; }
.tool-actions .text-button { color: #aaa79f; font-size: 11px; }
.privacy-note { margin: 18px 0 0; color: #77756e; font-size: 9px; }
.privacy-note span { color: #70c06a; }
.checker-stage-wrap { position: relative; overflow: hidden; min-height: clamp(560px, calc(100vh - 190px), 920px); border: 1px solid #45443f; border-radius: 10px; background: #2b2a26; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.checker-stage-wrap:hover, .checker-stage-wrap:focus-visible, .checker-stage-wrap.is-dragging { border-color: var(--acid); outline: 0; box-shadow: inset 0 0 0 2px rgba(223,255,87,.18); }
.checker-stage-wrap.is-dragging { box-shadow: inset 0 0 0 3px var(--acid); }
.checker-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.checker-stage, .checker-stage-empty { position: absolute; inset: 0; }
.checker-stage { background-repeat: repeat; image-rendering: auto; pointer-events: none; }
.checker-stage-empty { display: grid; place-content: center; color: #6f6d66; text-align: center; }
.checker-stage-empty span { font-family: Georgia, serif; font-size: 80px; font-style: italic; line-height: 1; }
.checker-stage-empty strong { margin-top: 15px; color: #aaa79f; font-size: 18px; }
.checker-stage-empty p { margin-top: 6px; font-size: 12px; }
.edge-guides { position: absolute; inset: 0; pointer-events: none; }
.edge-guides i { position: absolute; z-index: 2; display: block; opacity: .55; background: var(--accent); }
.edge-guides i:first-child { top: 0; bottom: 0; left: 50%; width: 1px; }
.edge-guides i:last-child { left: 0; right: 0; top: 50%; height: 1px; }
.tool-guide { padding-block: clamp(72px, 7vw, 102px); background: var(--white); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.guide-grid article { padding: 28px 36px 10px 0; border-right: 1px solid var(--line); }
.guide-grid article:not(:first-child) { padding-left: 36px; }
.guide-grid article:last-child { border: 0; }
.guide-grid span { color: var(--accent); font-family: Georgia, serif; font-size: 28px; font-style: italic; }
.guide-grid h3 { margin: 35px 0 8px; font-size: 24px; letter-spacing: -.03em; }
.guide-grid p { color: var(--muted); }
.tool-portfolio { background: var(--paper-deep); }
.tool-portfolio-inner { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.tool-portfolio h2 { max-width: 850px; margin: 0; font-size: clamp(45px, 6vw, 80px); }

@media (max-width: 1120px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .category-card:nth-child(5n + 2), .category-card:nth-child(5n + 4) { margin-top: 0; }
  .category-card:nth-child(3n + 2) { margin-top: 28px; }
  .asset-grid, .search-results { grid-template-columns: repeat(3, 1fr); }
  .tool-shell { grid-template-columns: 270px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto auto; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 78px; left: 20px; right: 20px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .header-cta { padding: 9px 13px; }
  .hero-grid, .category-hero-grid, .page-hero-grid, .about-grid, .contact-grid, .tool-heading, .checker-promo-grid { grid-template-columns: 1fr; }
  .hero-mosaic { min-height: 560px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card:nth-child(3n + 2) { margin-top: 0; }
  .category-card:nth-child(even) { margin-top: 25px; }
  .asset-grid, .asset-grid--featured { grid-template-columns: repeat(2, 1fr); }
  .split-heading { grid-template-columns: 1fr; gap: 25px; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr .7fr .8fr; gap: 35px; }
  .category-hero { background: linear-gradient(180deg, var(--paper) 0 68%, var(--tone) 68%); }
  .category-cover { max-width: 650px; justify-self: center; }
  .related-links { grid-template-columns: repeat(2, 1fr); }
  .related-links a:nth-child(odd) { border-right: 1px solid var(--line); }
  .related-links a:nth-child(even) { border-right: 0; }
  .about-story { position: static; }
  .about-stack { grid-template-columns: repeat(3, 1fr); }
  .asset-card--compact:nth-child(n) { width: auto; margin: 0; }
  .search-results { grid-template-columns: repeat(2, 1fr); }
  .tool-shell { grid-template-columns: 1fr; }
  .checker-stage-wrap { min-height: 460px; }
  .tool-heading { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 24px), var(--max)); }
  .site-header { position: relative; }
  .header-inner { min-height: 68px; gap: 10px; }
  .site-header .brand-logo-frame { display: none; }
  .site-header .brand-icon { display: block; }
  .site-nav { top: 68px; left: 12px; right: 12px; }
  .header-cta { font-size: 0; }
  .header-cta span { font-size: 15px; }
  h1 { font-size: clamp(48px, 16vw, 74px); }
  .home-hero { padding-top: 30px; }
  .hero-search, .catalog-search { flex-direction: column; }
  .hero-search button, .catalog-search button { width: 100%; }
  .hero-mosaic { min-height: 470px; margin-top: 10px; }
  .hero-tile { border-width: 4px; }
  .hero-tile-1 { width: 52%; }
  .hero-tile-2 { width: 50%; }
  .hero-tile-3 { left: 0; width: 48%; }
  .hero-tile-4 { right: 0; width: 53%; }
  .hero-tile-5 { width: 45%; }
  .hero-tile-6 { right: 3%; width: 48%; }
  .ticker { margin-top: 35px; }
  .section { padding-block: 70px; }
  .section-heading h2 { font-size: 44px; }
  .row-heading { align-items: flex-start; flex-direction: column; }
  .category-grid, .asset-grid, .asset-grid--featured, .search-results { grid-template-columns: 1fr; }
  .category-card:nth-child(even) { margin-top: 0; }
  .category-visual { aspect-ratio: 1.3; }
  .mini-checker-canvas { height: 300px; }
  .proof-grid { grid-template-columns: 1fr; gap: 0; }
  .proof-grid div { padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(25,25,22,.28); }
  .proof-grid div:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .category-hero { padding-top: 46px; }
  .category-hero h1 { font-size: 56px; }
  .category-hero-grid { gap: 55px; }
  .category-cover { box-shadow: 13px 15px 0 rgba(255,255,255,.35); }
  .asset-index { grid-template-columns: 1fr; }
  .asset-index li:nth-child(odd) { border-right: 0; }
  .asset-index a { grid-template-columns: 1fr; }
  .asset-index a::before { grid-row: auto; }
  .related-links { grid-template-columns: 1fr; }
  .related-links a:nth-child(n) { border-right: 0; }
  .page-hero h1, .search-hero h1 { font-size: 56px; }
  .tool-heading h1 { font-size: clamp(34px, 10vw, 44px); }
  .about-stack { grid-template-columns: 1fr; }
  .value-grid, .guide-grid { grid-template-columns: 1fr; }
  .value-grid article, .value-grid article:not(:first-child), .guide-grid article, .guide-grid article:not(:first-child) { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-hero { min-height: auto; }
  .contact-options strong { font-size: 17px; }
  .search-filters { align-items: stretch; flex-direction: column; }
  .search-filters label { display: grid; grid-template-columns: 1fr; }
  .search-filters select { width: 100%; }
  .checker-stage-wrap { min-height: 380px; }
  .tool-portfolio-inner { align-items: flex-start; flex-direction: column; }
}

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

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
