:root {
  color-scheme: light;
  --black: #1d1d1f;
  --gray: #6e6e73;
  --line: #e8e8ed;
  --soft: #f5f5f7;
  --shell: min(1080px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #fff; }
body {
  margin: 0;
  background: #fff;
  color: var(--black);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { margin-bottom: 0; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }

.site-header {
  width: var(--shell);
  height: 64px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.wordmark { font-size: .9rem; font-weight: 650; text-decoration: none; }
.site-header nav, footer nav { display: flex; align-items: center; gap: 24px; }
.site-header nav a, footer nav a { color: #424245; font-size: .8rem; font-weight: 520; text-decoration: none; }
.nav-cta { color: var(--black) !important; font-weight: 620 !important; }

.hero {
  width: var(--shell);
  margin: auto;
  display: block;
  padding: 104px 0 96px;
  text-align: center;
}
.hero-copy { max-width: 760px; margin: auto; }
.avatar {
  width: 72px;
  height: 72px;
  aspect-ratio: 1;
  margin: 0 auto 26px;
  border-radius: 50%;
  object-fit: cover;
  clip-path: circle(50%);
}
.hero h1 { font-size: clamp(3.3rem, 7vw, 5.6rem); font-weight: 700; }
.hero-lead { max-width: 670px; margin: 24px auto 28px; color: var(--gray); font-size: clamp(1.05rem, 1.7vw, 1.22rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.button {
  min-height: 42px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #d2d2d7;
  border-radius: 980px;
  background: #fff;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: var(--soft); }
.button.primary { border-color: var(--black); background: var(--black); color: #fff; }
.button.primary:hover { background: #000; }

.studio-intro {
  max-width: 680px;
  margin: 72px auto 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}
.studio-intro h2 { margin-bottom: 10px; font-size: 1.7rem; font-weight: 650; }
.studio-intro p { margin: 0 auto 14px; color: var(--gray); }
.studio-intro > a { color: #06c; font-size: .86rem; font-weight: 520; text-decoration: none; }

.work { width: var(--shell); margin: auto; padding: 96px 0; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 42px; text-align: center; }
.section-heading h2, .about h2 { font-size: clamp(2.7rem, 5vw, 4.5rem); font-weight: 680; }
.section-heading > p { max-width: 560px; margin: 18px auto 0; color: var(--gray); }

.featured-product {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  overflow: hidden;
  border-radius: 22px;
  background: var(--soft);
}
.featured-art { min-height: 390px; display: grid; place-items: center; padding: 52px; }
.featured-art img { width: min(280px, 82%); filter: drop-shadow(0 18px 25px rgba(0,0,0,.15)); }
.featured-copy { padding: clamp(38px, 5vw, 62px); align-self: center; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 16px; color: var(--gray); font-size: .7rem; font-weight: 520; }
.product-meta strong { color: #424245; font-weight: 620; }
.featured-copy h3 { margin-bottom: 16px; font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 680; }
.featured-copy > p { max-width: 570px; color: var(--gray); }
.featured-copy .product-lead { color: var(--black); font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.featured-copy .actions { justify-content: flex-start; }
.text-link { color: #06c; font-size: .84rem; font-weight: 520; text-decoration: none; }
.product-actions { margin-top: 26px; }

.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 14px; }
.product-card {
  min-height: 310px;
  position: relative;
  grid-column: span 2;
  padding: 28px;
  border-radius: 18px;
  background: var(--soft);
  color: var(--black);
  text-decoration: none;
}
.product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 3; }
.product-card:hover { background: #ededf0; }
.product-card img { width: 76px; height: 76px; margin-bottom: 34px; border-radius: 18px; object-fit: cover; box-shadow: 0 10px 20px rgba(0,0,0,.1); }
.product-card .product-meta { margin-bottom: 12px; }
.product-card h3 { margin-bottom: 9px; font-size: 1.8rem; font-weight: 650; }
.product-card p { max-width: 400px; margin-bottom: 0; color: var(--gray); font-size: .9rem; }
.card-arrow { position: absolute; top: 28px; right: 28px; color: #06c; }

.about {
  width: var(--shell);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 8vw, 100px);
  padding: 104px 0;
  border-top: 1px solid var(--line);
}
.about-copy > p { margin-bottom: 34px; color: #424245; font-size: clamp(1.12rem, 2vw, 1.38rem); }
.principles { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.principles span { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--gray); font-size: .82rem; }
.principles span:nth-child(even) { padding-left: 20px; }

.closing { width: var(--shell); margin: auto; padding: 96px 0; border-top: 1px solid var(--line); text-align: center; }
.closing h2 { max-width: 760px; margin: 0 auto 28px; font-size: clamp(2.8rem, 5.5vw, 4.8rem); font-weight: 680; }
.closing .button { width: auto; color: #06c; }
footer {
  width: var(--shell);
  min-height: 92px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: .76rem;
}
footer strong { color: var(--black); }
footer p { margin: 0; }

@media (max-width: 780px) {
  .featured-product, .about { grid-template-columns: 1fr; }
  .featured-art { min-height: 310px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card, .product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 1; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 28px, 1080px); }
  .site-header { height: 60px; }
  .site-header nav > a:not(.nav-cta) { display: none; }
  .hero { padding: 72px 0; }
  .avatar { width: 64px; height: 64px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 4.5rem); }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .studio-intro { margin-top: 58px; }
  .work { padding: 76px 0; }
  .featured-product { border-radius: 16px; }
  .featured-art { min-height: 270px; padding: 32px; }
  .featured-copy { padding: 30px 22px 36px; }
  .featured-copy h3 { font-size: clamp(2.7rem, 13vw, 3.4rem); }
  .featured-copy .actions { align-items: stretch; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 290px; }
  .about { padding: 78px 0; }
  .principles { grid-template-columns: 1fr; }
  .principles span:nth-child(even) { padding-left: 0; }
  .closing { padding: 76px 0; }
  footer { padding: 25px 0; grid-template-columns: 1fr; }
  footer nav { flex-wrap: wrap; gap: 14px 19px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
