/* ==================================================================
   START: Steeleart site styles
   Colours: cream #F4EFE6, stone #EDE5D8, line #E2D8C8,
            gold brown #8A5E26, dark brown #3A2E24, muted #6B5D50
   ================================================================== */
@font-face { font-family: "Didact Gothic"; src: url("/fonts/DidactGothic-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root { --cream: #F4EFE6; --stone: #EDE5D8; --line: #E2D8C8; --gold: #8A5E26; --ink: #3A2E24; --muted: #6B5D50; --pale: #D9CDBB; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Didact Gothic", "Century Gothic", sans-serif; font-size: 17px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 4.2vw, 48px); }
h2 { font-size: clamp(24px, 2.6vw, 30px); }
p { margin: 0 0 1em; }
.wrap { max-width: 1240px; margin-left: auto; margin-right: auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }
.hidden { display: none; }
.small { font-size: 14px; opacity: .8; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 22px; flex-wrap: wrap; }
.logo { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.logo-name { font-size: 25px; letter-spacing: .32em; line-height: 1.1; }
.logo-tag { font-size: 11px; letter-spacing: .42em; color: var(--gold); }
.logo.light .logo-name { color: var(--cream); }
.logo.light .logo-tag { color: var(--pale); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; letter-spacing: .05em; }
.site-nav a { text-decoration: none; padding: 8px 0; }
.site-nav a[aria-current="page"] { border-bottom: 1px solid var(--gold); }
.menu-toggle, .menu-button { display: none; }

/* buttons */
.button { display: inline-flex; align-items: center; min-height: 50px; padding: 0 28px; background: var(--ink); color: var(--cream); text-decoration: none; font: inherit; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--ink); cursor: pointer; }
.button:hover { background: var(--gold); border-color: var(--gold); color: var(--cream); }
.button.outline { background: transparent; color: var(--ink); }
.button.outline:hover { background: var(--ink); color: var(--cream); }
.buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.rule { display: block; width: 64px; height: 1px; background: var(--gold); margin: 18px 0 24px; }
.eyebrow { font-size: 14px; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; margin-bottom: 28px; }

/* sections */
main > section, main > nav, main > article { margin-top: 64px; }
main > p.crumbs { margin-top: 28px; }
.band { background: var(--stone); padding: 72px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark-band { background: #EDE5D8; }
.section-head h1 { margin-bottom: .4em; }
.intro { max-width: 760px; color: var(--ink); }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* home */
.hero { padding-top: 8px; display: flex; flex-wrap: wrap-reverse; gap: 56px; align-items: center; }
.hero-text { flex: 1 1 400px; min-width: 0; }
.hero-text h1 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.25; }
.lead { font-size: 19px; color: var(--muted); }
.hero-image { flex: 1 1 420px; min-width: 0; margin: 0; }
.hero-image img { width: 100%; max-width: 560px; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-image figcaption { font-size: 14px; color: var(--muted); text-align: right; margin-top: 8px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 36px; }
.tile { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.tile-title { font-size: 24px; letter-spacing: .04em; }
.tile-text { font-size: 15px; color: var(--muted); }
.new-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px; }
.new-work { display: flex; gap: 24px; align-items: center; text-decoration: none; }
.new-work img { width: 45%; flex: 0 0 45%; min-width: 0; }
.new-work > span { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.nw-title { font-size: 26px; }
.nw-meta { font-size: 15px; color: var(--muted); }
.nw-text { font-size: 15px; }
.studio { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.studio > img { flex: 1 1 420px; min-width: 0; max-width: 600px; aspect-ratio: 4 / 3; object-fit: cover; }
.studio > div { flex: 1 1 340px; min-width: 0; }
.quote { font-size: 22px; line-height: 1.5; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }

/* grids */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 40px 32px; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.card img { background: #fff; transition: opacity .2s; }
.card:hover img { opacity: .88; }
.card-title { font-size: 19px; }
.card-meta { font-size: 14px; color: var(--muted); margin-top: -6px; }

/* painting page */
.work { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; margin-top: 20px !important; }
.work-image { flex: 1 1 520px; min-width: 0; }
.work-image img { max-height: 88vh; width: auto; max-width: 100%; margin: 0 auto; box-shadow: 0 16px 40px rgba(58, 46, 36, .14); }
.work-text { flex: 1 1 340px; min-width: 0; padding-top: 8px; }
.dict { font-size: 15px; color: var(--muted); letter-spacing: .02em; }
.details { font-size: 16px; letter-spacing: .04em; margin-bottom: .4em; }
.status { font-size: 16px; color: var(--gold); margin-bottom: .4em; }
.prints { font-size: 15px; color: var(--muted); }
.work-text .button { margin-top: 10px; }
.related { margin-top: 24px; font-size: 15px; }
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px; }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.process h2 { margin-bottom: 24px; }
.process-row { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.reel { flex: 0 0 260px; }
.reel video { width: 260px; aspect-ratio: 9 / 16; background: var(--ink); display: block; }
.strip { flex: 1 1 400px; min-width: 0; display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.strip img { width: 240px; flex: 0 0 240px; scroll-snap-align: start; }
.prevnext { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px !important; font-size: 15px; flex-wrap: wrap; }
.prevnext a { text-decoration: none; }

/* galleries */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 32px; align-items: start; }
.gallery.two { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.workshop { margin-bottom: 48px; }

/* about, contact */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.about > div { flex: 1 1 440px; min-width: 0; }
.about > img { flex: 1 1 380px; min-width: 0; max-width: 560px; }
.contact { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact > div { flex: 1 1 380px; min-width: 0; }
.contact-side img { margin-bottom: 20px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.form { display: flex; flex-direction: column; gap: 6px; max-width: 520px; }
.form label { font-size: 15px; margin-top: 10px; }
.form input, .form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #B9A890; background: #FBF8F3; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form .button { margin-top: 18px; align-self: flex-start; }

/* blog */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 36px; }
.post-card { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.post-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.date { font-size: 13px; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.post-title { font-size: 20px; line-height: 1.35; }
.post { max-width: 780px; }
.post h2 { margin-top: 1.6em; }
.post ul { margin: 0 0 1em; padding-left: 1.2em; }
.post figure.wide { margin: 28px 0; }
.post-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 16px; margin: 28px 0; }
.post-gallery img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.post-end { margin-top: 40px; }

/* footer */
.site-footer { background: var(--ink); color: var(--cream); margin-top: 96px; padding: 56px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer-links { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.footer-links a { color: var(--cream); }

/* phones */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .header-inner { padding-top: 18px; padding-bottom: 16px; }
  .logo-name { font-size: 18px; letter-spacing: .26em; }
  .logo-tag { font-size: 9px; letter-spacing: .36em; }
  .menu-button { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; cursor: pointer; }
  .menu-button span { display: block; height: 1px; background: var(--ink); width: 28px; margin-left: auto; }
  .site-nav { display: none; width: 100%; flex-direction: column; gap: 0; padding-top: 8px; }
  .site-nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom: 0; color: var(--gold); }
  .menu-toggle:checked ~ .site-nav { display: flex; }
  main > section, main > nav, main > article { margin-top: 44px; }
  .band { padding: 48px 0; }
  .work { gap: 28px; }
  .work-image img { max-height: none; }
  .new-work img { width: 40%; flex-basis: 40%; }
  .reel, .reel video { width: 100%; flex-basis: 100%; }
  .reel video { max-width: 320px; margin: 0 auto; }
  .strip img { width: 200px; flex-basis: 200px; }
  .site-footer { margin-top: 64px; }
}
/* ==================================================================
   END: Steeleart site styles
   ================================================================== */
