/*
Theme Name: GANZ
Theme URI: https://www.ganzinternational.com.au/
Author: JPTR Software
Description: Custom theme for the GANZ International rebuild. Compiled from the Light Forward prototype. Range entries and stock are custom post types. Catalogue filters use private taxonomies.
Version: 0.18.0
Requires at least: 6.4
Requires PHP: 8.1
Update URI: https://github.com/jptrsoftware/ganz
Text Domain: ganz
*/

:root {
  --ink: #253145;
  --muted: #606875;
  --orange: #e96220;
  --orange-dark: #ad3d0b;
  --warm: #faf9f6;
  --line: #e6e8e9;
  --ease: cubic-bezier(.2, .7, .2, 1);
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.container { width: calc(100% - 112px); max-width: 1480px; margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 15px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #b84511; outline-offset: 5px; }

.utility { background: var(--warm); border-bottom: 1px solid #edece8; }
.utility-inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 10px; }
.utility-inner > span, .utility a { display: flex; align-items: center; gap: 10px; }
.utility .icon { width: 12px; height: 12px; color: var(--orange-dark); }
.utility i { width: 3px; height: 3px; border-radius: 50%; background: #9c9fa3; }
.utility small { font-size: 9px; color: #6d6e72; }
.utility strong { font-size: 10px; font-weight: 600; }

.header { position: sticky; top: 0; z-index: 30; background: #fffffff2; border-bottom: 1px solid transparent; }
.header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 94px; display: flex; align-items: center; gap: 40px; }
.logo img { height: 65px; width: auto; }
.header nav { display: flex; align-items: center; gap: 29px; margin-left: auto; }
.header nav a { font-size: 12px; position: relative; padding: 10px 0; white-space: nowrap; }
.header nav a[aria-current="page"] { color: var(--orange-dark); font-weight: 700; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 27px; padding: 17px 22px; min-height: 53px; font-size: 12px; font-weight: 600; border-radius: 9px; }
.primary { background: #bf440e; color: #fff; }
.header-cta { padding: 13px 20px; min-height: 45px; }
.menu-toggle { display: none; background: none; border: 0; width: 32px; height: 42px; padding: 4px; }
.menu-toggle span { display: block; height: 1px; background: var(--ink); width: 24px; margin: 6px 0; }

.site-main { min-height: 40vh; padding: 48px 0 80px; }
.site-main h1 { font-size: clamp(36px, 4vw, 64px); letter-spacing: -.05em; line-height: 1.08; margin: 0 0 16px; }
.site-main p { font-size: 14px; line-height: 1.8; color: var(--muted); }

.instagram-feed h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; margin: 0 0 20px; }
.instagram-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.instagram-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--warm); }
.instagram-grid img { width: 100%; height: 100%; object-fit: cover; }
.profile-links { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.profile-links a { font-size: 12px; font-weight: 600; }

.footer { background: var(--warm); padding-top: 55px; }
.footer-top { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; gap: 38px; padding-bottom: 46px; }
.footer-brand p { font-size: 12px; font-weight: 500; margin: 17px 0 11px; }
.footer-brand span { font-size: 10px; color: var(--muted); line-height: 1.8; }
.footer h2 { font-size: 12px; margin: 0 0 21px; }
.footer-top a { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); margin-top: 13px; }
.footer address, .footer-top p { font-style: normal; font-size: 10px; color: var(--muted); line-height: 1.7; margin: 8px 0 17px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #e4e4df; padding: 24px 0; font-size: 11px; color: #616974; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a[aria-current="page"] { color: var(--orange-dark); font-weight: 700; }

@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .header-inner { height: 79px; }
  .header nav { display: none; position: absolute; top: 79px; left: 0; right: 0; background: #fff; padding: 24px; border-bottom: 1px solid var(--line); margin: 0; flex-direction: column; align-items: stretch; }
  .header nav.open { display: flex; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; }
  .header-cta { margin-left: auto; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 36px); }
  .utility a { display: none; }
  .instagram-grid, .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-wrap: wrap; }
}
