/* icreationrebel.com look: measured from the live site (Astra + Spectra) */
:root {
  --bg: #090c17;
  --fg: #fef9e1;
  --white: #fff;
  --accent: #f7c319;
  --btn-ink: #292929;
  --ink: #1f1f1f;
  --grey: #777;
  --display: "Bebas Neue", sans-serif;
  --text: Afacad, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 20px/30px var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { color: var(--white); font-weight: 700; text-transform: uppercase; margin: 0 0 10px; }
h1 { font-size: 69px; line-height: 1.32; }
h2 { font-size: 30px; line-height: 1.3; }
h3 { font-size: 30px; line-height: 1.44; }
p { margin: 0 0 10px; }
figure { margin: 0; }

.btn {
  display: inline-block; font: 400 19px/26px var(--display); color: var(--btn-ink); background: var(--accent);
  border: 2px solid var(--white); border-radius: 3px; padding: 5px 14px 4px; text-decoration: none; text-transform: uppercase; cursor: pointer;
}
.btn:hover { background: var(--white); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 30; padding: 8px 12px; background: var(--accent); color: var(--btn-ink); }
.skip:focus { top: 8px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 249px; padding: 0 40px 0 60px; }
.logo { flex-shrink: 0; }
.logo img { width: 500px; }
.nav { display: flex; align-items: center; gap: 14px; }
.burger { display: none; }
.menu, .menu:not(:popover-open) { display: flex; position: static; inset: auto; list-style: none; margin: 0; padding: 0; border: 0; background: none; color: inherit; overflow: visible; }
.nav a, .nav .cart { font: 400 25px/1 var(--display); text-transform: uppercase; color: var(--white); text-decoration: none; }
.menu a { display: block; padding: 18px 12px; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--accent); }
.nav .cart { background: none; border: 0; padding: 18px 0 18px 4px; white-space: nowrap; cursor: pointer; }
.nav .cart:hover { color: var(--accent); }
.nav .lang { font-size: 18px; border: 2px solid var(--white); border-radius: 3px; padding: 4px 6px 2px; margin-left: 8px; }
.nav .lang:hover { color: var(--accent); border-color: var(--accent); }

.page { padding: 0 40px; max-width: 1280px; margin: 0 auto; }

/* home */
.hero { display: grid; grid-template-columns: 65% auto; align-items: center; }
.hero-text { display: flex; align-items: center; gap: 7px; padding: 0 0 0 34px; }
.hero-text p { margin: 0; }
.latest, .works { display: grid; grid-template-columns: 1fr 1fr; gap: 0 100px; padding: 75px 0 0; }
.latest .col > h2 { margin-bottom: 55px; }
.latest figure, .works figure { margin-bottom: 70px; }
.latest figure.narrow img { width: 483px; }
.latest figure.tall img { width: 436px; margin-left: auto; }
.latest .col:last-child { padding-top: 0; }
.latest .col:last-child figure:last-child { margin-top: 90px; }
.latest figure:last-child img { width: 540px; }
figcaption { margin-top: 30px; }
figcaption h2, figcaption h3 { margin-bottom: 10px; }
.about-me { display: grid; grid-template-columns: 480px 1fr; gap: 100px; align-items: start; padding: 75px 0 40px; }
.about-me h2 { margin-bottom: 20px; }
.about-me p { margin-bottom: 40px; }

/* artwork, about, shop intros */
.intro { text-align: center; padding: 100px 0 70px; }
.intro h1 { margin: 0 0 20px; }
.works .col:last-child { padding-top: 100px; }
.works figure img { width: 100%; }
.works figure.narrow img { width: 437px; }
.wide img { width: 100%; aspect-ratio: 1187 / 585; object-fit: cover; }
.wide { margin: 0 0 100px; }

.bio { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 40px 0 70px; }
.bio p { margin: 0 0 52px; }
.bio .sign { margin-left: auto; width: 141px; }

/* contact */
.contact-top { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; padding: 100px 0 150px; }
.contact-top h3 { text-align: center; font-size: 27px; padding-top: 0; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-bottom: 60px; }
.contact h2 { margin-bottom: 20px; }
.contact p { font-size: 18px; }
.email { display: flex; align-items: center; gap: 15px; margin-top: 50px; }
.email a { color: var(--fg); text-decoration: none; }
.mail-form { display: grid; gap: 24px; align-content: start; }
.mail-form label { display: grid; font-size: 18px; color: var(--fg); }
.mail-form input, .mail-form textarea { font: inherit; color: var(--fg); background: none; border: 0; border-bottom: 2px solid var(--fg); padding: 8px 0; }
.mail-form .btn { justify-self: start; }
.mail-form .hint { font-size: 16px; margin: -12px 0 0; }

/* commissions */
.commission { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; padding-bottom: 80px; }
.commission ul { padding-left: 1.2em; margin: 0 0 30px; }

/* legal */
.legal { padding: 60px 0 40px; }
.legal h1 { font-size: 32px; line-height: 1.2; font-weight: 600; margin-bottom: 16px; }
.legal h2 { font-size: 26px; margin: 32px 0 16px; }
.legal h3, .legal h4 { font-size: 22px; margin: 24px 0 12px; }
.legal p { margin-bottom: 32px; }
.legal ul { margin: 0 0 32px; padding-left: 40px; }

/* shop: shop-ui tokens; the drawer lives on body, so tokens go there (docs/shop-ui.md) */
body {
  --shop-font: var(--text);
  --shop-font-heading: var(--display);
  --shop-bg: var(--bg);
  --shop-fg: var(--fg);
  --shop-accent: var(--accent);
  --shop-accent-fg: var(--btn-ink);
  --shop-border: #fef9e166;
  --shop-danger: #ff8a8a;
  --shop-radius: 3px;
}
/* our p/h rules reach shop parts too; put the shop look back where they clash */
.shop-root p { margin: 0; }
.shop-root .shop-locker { margin-top: 8px; }
.shop-button { font: 400 22px/1 var(--display); text-transform: uppercase; border: 2px solid var(--white); padding: 8px 22px 6px; }
.shop-button:hover:not(:disabled) { background: var(--white); }
.shop-button:disabled { background: var(--grey); opacity: 1; }

/* shop: grid */
.shop-grid { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 50px 40px; margin: 0 0 40px; }
.shop-card img { aspect-ratio: 1; object-fit: contain; background: #fff1; }
.shop-card-title { font: 700 24px/1.3 var(--text); margin: 18px 0 4px; }
.shop-card-title a { color: var(--white); }
.shop-card-title a:hover { color: var(--accent); text-decoration: none; }
.shop-card .shop-price { color: var(--accent); }
.prints-note { font-size: 18px; text-align: center; }

/* shop: product page, artwork left, buy box right */
.crumbs { font-size: 18px; margin: 20px 0 30px; }
.product .shop-product-view { gap: 24px 60px; }
.product .shop-title { font: 700 40px/1.2 var(--text); margin: 0 0 10px; }
.product .shop-price { color: var(--accent); font-size: 26px; }
.product .shop-options legend { font: 400 22px/1 var(--display); text-transform: uppercase; color: var(--white); }
.product .shop-option { font: 400 20px/1 var(--display); border: 2px solid var(--fg); background: none; }
.product .shop-option:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.product .shop-option[aria-pressed="true"], .product .shop-option[aria-pressed="true"]:hover { background: var(--accent); border-color: var(--white); color: var(--btn-ink); }
.product .shop-option:disabled { opacity: .35; }
.product .shop-thumbs { display: none; }
.product-info { max-width: 820px; padding: 60px 0 40px; }
.product-info h2 { font-size: 26px; margin-top: 20px; }
.attrs { border-collapse: collapse; margin-bottom: 30px; }
.attrs th, .attrs td { text-align: left; padding: 6px 30px 6px 0; border-bottom: 1px solid #fef9e133; }

/* shop: drawer, framed like the footer boxes */
.shop-drawer { font-size: 18px; line-height: 1.4; }
/* full screen on phones, side panel from 40rem */
@media (min-width: 40rem) { .shop-drawer { border-left: 4px solid var(--white); } }
.shop-drawer-head { background: var(--accent); }
.shop-drawer-title { color: var(--ink); font: 400 34px/1 var(--display); }
.shop-close { font: 400 19px/26px var(--display); text-transform: uppercase; color: var(--btn-ink); background: var(--white); border: 0; }
.shop-drawer > .shop-status:not(:empty) { margin: 16px 20px 0; padding: 8px 12px; border: 2px solid var(--accent); color: var(--white); }
.shop-delivery legend { font: 400 20px/1 var(--display); text-transform: uppercase; color: var(--white); }
.shop-total strong { color: var(--accent); }

/* footer */
.foot { padding: 20px 40px 80px; max-width: 1280px; margin: 0 auto; }
.more { display: grid; grid-template-columns: 596px 1fr auto; align-items: center; background: var(--accent); border: 4px solid var(--white); min-height: 281px; margin: 25px 0 50px; padding: 0 14px 0 0; }
.more-brand { text-align: center; }
.more-brand img { width: 406px; margin: 0 auto 30px; }
.more-brand p { font-weight: 700; color: var(--bg); margin: 0; line-height: 1.33; }
.more-brand a { color: var(--white); text-decoration: none; }
.more-text { padding: 30px 0; }
.more-text h2 { color: var(--ink); font-size: 30px; line-height: 1.44; }
.more-text p { color: var(--white); max-width: 372px; margin: 0; }
.more .btn { color: var(--ink); background: var(--accent); border-color: var(--white); }
.more .btn:hover { background: var(--white); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 30; padding: 8px 12px; background: var(--accent); color: var(--btn-ink); }
.skip:focus { top: 8px; }
.love { display: flex; align-items: center; gap: 0; background: var(--grey); border: 4px solid var(--fg); padding: 0 20px 6px 29px; min-height: 133px; }
.love h2 { font-size: 20px; line-height: 1.44; margin: 0; white-space: nowrap; padding: 0 29px 0 4px; }
.love ul { display: flex; flex-wrap: wrap; gap: 12px 19px; list-style: none; margin: 0; padding: 0; }
.legal-links { text-align: center; font-size: 16px; padding-top: 70px; }
.legal-links p { margin: 0; color: var(--white); }
.legal-links a { text-decoration: none; margin: 0 2px; }

/* tablet and phone */
@media (max-width: 1100px) {
  .top { padding: 15px 24px; min-height: 0; }
  .logo { flex-shrink: 1; }
  .logo img { width: min(300px, 100%); }
  .burger { display: block; order: 3; cursor: pointer; width: 40px; height: 34px; padding: 0; border: 0; background: var(--fg); border-radius: 2px; position: relative; }
  .burger span, .burger span::before, .burger span::after { position: absolute; left: 9px; width: 22px; height: 2px; background: var(--bg); content: ""; }
  .burger span { top: 16px; }
  .burger span::before { top: -7px; left: 0; }
  .burger span::after { top: 7px; left: 0; }
  .menu:not(:popover-open) { display: none; }
  .menu:popover-open { display: block; position: fixed; inset: 64px 0 auto 0; width: auto; margin: 0; background: var(--bg); border: 0; border-top: 1px solid #fef9e133; padding: 8px 24px 16px; color: var(--fg); }
  .menu a { padding: 10px 0; }
  .nav { gap: 10px; }
  .nav .lang { margin-left: 0; }
}
@media (max-width: 900px) {
  body { font-size: 18px; line-height: 27px; }
  .page, .foot { padding-left: 24px; padding-right: 24px; }
  h1 { font-size: 42px; }
  h2, h3 { font-size: 24px; }
  .hero { grid-template-columns: 1fr; margin: 0 -24px; text-align: center; }
  .hero-text { flex-direction: column; padding: 40px 24px 0; gap: 16px; }
  .latest, .works, .about-me, .bio, .contact-top, .contact, .commission { grid-template-columns: 1fr; gap: 0; }
  .latest figure img, .latest figure.narrow img, .latest figure.tall img, .latest figure:last-child img, .works figure.narrow img { width: 100%; }
  .latest .col:last-child figure:last-child { margin-top: 0; }
  .works .col:last-child { padding-top: 0; }
  .latest figure, .works figure { margin-bottom: 60px; }
  .about-me img, .bio img:not(.sign) { margin-bottom: 40px; }
  .wide { margin: 0 -24px 60px; }
  .wide figcaption { padding: 0 24px; }
  .intro { padding: 60px 0 40px; }
  .contact-top { padding: 40px 0 60px; }
  .contact-top h3 { margin-bottom: 30px; font-size: 22px; }
  .mail-form { margin-top: 30px; }
  .product .shop-title { font-size: 30px; }
  .more { grid-template-columns: 1fr; text-align: center; padding: 30px 16px; justify-items: center; }
  .more-brand img { width: 100%; max-width: 367px; margin-bottom: 16px; }
  .more-text { padding: 16px 0; }
  .more-text h2 { font-size: 24px; }
  .more-text p { max-width: none; }
  .love { flex-direction: column; padding: 30px 16px; text-align: center; }
  .love h2 { white-space: normal; }
  .love ul { flex-direction: column; align-items: center; }
  .legal-links { padding-top: 50px; }
  .legal ul { padding-left: 24px; }
}
