:root {
  color-scheme: light;
  --canvas: #f5f7fb;
  --ink: #192749;
  --muted: #4d5a71;
  --line: #dbe2ee;
  --accent: #304786;
  font: 16px/1.65 'Segoe UI', system-ui, sans-serif;
  background: var(--canvas);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body, h1, h2, h3 { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .75rem; background: white; z-index: 2; }
.skip:focus { top: 1rem; }
.shell { width: min(75rem, calc(100% - 3rem)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding-block: 1.1rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 750; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; font-size: .9rem; font-weight: 650; }
nav a { text-decoration: none; }
nav a:hover, .footer-inner a:hover { color: var(--accent); text-decoration: underline; }
.hero {
  display: grid;
  grid-template-columns: 1fr .85fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(3rem, 8vw, 7rem);
}
.eyebrow { margin: 0 0 1rem; color: var(--accent); font-size: .75rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; }
h1 { font-size: clamp(3.6rem, 8vw, 7.8rem); font-weight: 750; }
h1 span { color: var(--accent); }
h2 { font-size: clamp(2rem, 4vw, 3.75rem); }
h3 { font-size: clamp(1.75rem, 3.4vw, 3rem); }
.hero-copy > p:not(.eyebrow), .product p, .about > p { max-width: 48ch; color: var(--muted); font-size: 1.05rem; }
.hero-copy > p:not(.eyebrow) { margin-block: 1.5rem; }
.button, .product-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 48px; font-weight: 700; }
.button { padding: .6rem 1rem; border-radius: .5rem; background: var(--ink); color: white; text-decoration: none; }
.button:hover { background: #304786; }
.hero-art {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border-radius: 1rem;
  background: radial-gradient(ellipse at 78% 30%, #34497d, #182128 70%);
  color: #cce8ff;
}
.hero-art img { display: block; width: 100%; max-width: 20rem; height: auto; margin: 1.5rem auto; }
.art-label, .art-caption { font-size: .69rem; letter-spacing: .16em; font-weight: 650; }
.portfolio, .about { padding-block: clamp(2.75rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.product { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.7rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.product-copy { align-self: center; padding: clamp(1.5rem, 4vw, 3.5rem); }
.product-status { display: inline-block; margin-bottom: 1rem; padding: .2rem .65rem; border-radius: 2rem; background: #f9e9df; color: #843816; font-size: .75rem; font-weight: 650; }
.product-link { color: var(--accent); }
.product-art { display: grid; place-items: center; padding: 1rem; background: #1e2932; }
.product-art img { display: block; width: 100%; max-width: 32rem; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; align-items: center; }
.about > p { margin: 0; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) {
  .shell { width: calc(100% - 2rem); }
  .hero, .product, .about { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; }
  .hero-art img { width: min(85%, 18rem); }
}

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.product-small { padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 1rem; background: white; }
.product-small p { margin-block: .7rem .15rem; color: var(--muted); }
.runero { --product-ink: #19594b; --product-tint: #d9eee5; }
.fotomu { --product-ink: #58428a; --product-tint: #ebe3fa; }
.product-small .product-link, .product-page h1 span { color: var(--product-ink); }
.product-page { min-height: 100vh; display: flex; flex-direction: column; }
.product-page main { flex: 1; }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

.catalog-label, .product-small .catalog-label {
  margin: 0 0 .85rem;
  color: var(--product-ink, var(--accent));
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.product-small { background: linear-gradient(150deg, var(--product-tint), #fff 72%); }
.detail-hero { gap: clamp(2rem, 5vw, 4rem); }
.detail-hero .eyebrow { color: var(--product-ink); }
.detail-hero .hero-copy .detail-name {
  margin: 0 0 .7rem;
  color: var(--product-ink);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 750;
}
.detail-hero h1 { font-size: clamp(2.45rem, 5vw, 5.1rem); }
.detail-hero .button { background: var(--product-ink); }
.detail-hero .button:hover { background: var(--ink); }
.detail-art {
  display: grid;
  align-content: space-between;
  min-height: 23rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1rem;
  background: #153c34;
  color: #e8fff7;
}
.fotomu .detail-art { background: #30204d; color: #f1e5ff; }
.detail-art svg { width: 100%; }
.detail-art > span { font-size: 1.15rem; font-weight: 750; }
.detail-art small { font-size: .7rem; letter-spacing: .15em; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.detail-card {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: #fff;
}
.detail-card > span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .25rem .65rem;
  border-radius: 1rem;
  background: var(--product-tint);
  color: var(--product-ink);
  font-weight: 750;
  font-size: .8rem;
}
.detail-card h3 { font-size: clamp(1.25rem, 3vw, 1.8rem); letter-spacing: -.025em; }
.detail-card p { margin-bottom: 0; color: var(--muted); }
.detail-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding: 1.2rem 1.5rem;
  margin-bottom: 3rem;
  border-radius: .75rem;
  background: var(--product-tint);
  color: var(--product-ink);
}
.detail-end p { margin: 0; }
.detail-end a { font-weight: 750; }
@media (max-width: 720px) { .detail-art { min-height: 0; } }
