/* ========================================================================== 
   Grieger Studio — Collections page
   ========================================================================== */

:root {
  --linen: #ede5d9;
  --sandstone: #d8cbbb;
  --charcoal: #252825;
  --charcoal-soft: #4b4d48;
  --eucalyptus: #59644e;
  --focus: #2e5f87;
  --border: rgb(111 96 73 / 0.22);
  --border-soft: rgb(111 96 73 / 0.14);

  --content-max: 1380px;
  --section-gap: clamp(2.2rem, 4.5vw, 4.75rem);
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
}


img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p,
figure,
ul {
  margin: 0;
}

/* h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
} */

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

::selection {
  background: var(--linen);
  color: var(--charcoal);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--charcoal);
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}


/* Hero -------------------------------------------------------------------- */

.collections-hero {
  display: grid;
  grid-template-columns: minmax(19rem, 0.82fr) minmax(30rem, 1.65fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: stretch;
  padding-block: clamp(0.8rem, 2vw, 1.7rem) clamp(2.6rem, 5vw, 5rem);
  border-bottom: 1px solid var(--border);
}

.hero-copy {
  align-self: center;
  max-width: 31rem;
}

.eyebrow {
  margin-bottom: 1.05rem;
  color: var(--charcoal);
  font-size: clamp(0.65rem, 0.25vw + 0.58rem, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.collections-hero h1 {
  font-size: clamp(2.8rem, 4vw, 4rem);
}

.hero-intro {
  max-width: 32rem;
  margin-top: clamp(1.2rem, 2.2vw, 1.8rem);
  color: var(--charcoal-soft);
  font-size: clamp(0.88rem, 0.25vw + 0.82rem, 1rem);
  line-height: 1.75;
}


.hero-media {
  position: unset;
  width: unset;
  transform: unset;

  overflow: hidden;
  min-height: 18.5rem;
  border-radius: 0.38rem;
  background: var(--linen);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 53%;
}


/* Collection anchors ------------------------------------------------------ */

.collection-anchor-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  min-height: 3.8rem;
  border-bottom: 1px solid var(--border);
}

.collection-anchor-nav a {
  padding-block: 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
}

.collection-anchor-nav span {
  width: 1px;
  height: 1rem;
  background: var(--border);
}

.collection-anchor-nav a:hover,
.collection-anchor-nav a:focus-visible {
  color: var(--eucalyptus);
}

/* Collections ------------------------------------------------------------- */

.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-block: var(--section-gap);
}

.collection-column {
  display: grid;
  grid-template-rows: auto minmax(15rem, 1fr) auto auto;
  align-content: start;
  min-width: 0;
}

.collection-column:first-child {
  padding-right: clamp(2rem, 4.2vw, 4.5rem);
}

.collection-column + .collection-column {
  padding-left: clamp(2rem, 4.2vw, 4.5rem);
  border-left: 1px solid var(--border);
}

.collection-heading {
  min-height: 8.2rem;
  margin-bottom: 1.35rem;
}

.collection-heading h2,
.collections-philosophy h2 {
  font-size: clamp(2rem, 2.5vw, 3rem);
}

.collection-heading p {
  max-width: 42rem;
  margin-top: 0.75rem;
  color: var(--charcoal-soft);
  font-size: 0.86rem;
  line-height: 1.7;
}

.collection-panel {
  overflow: hidden;
  min-height: 15.5rem;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  background: rgb(252 250 245 / 0.54);
  transition: border-color 320ms var(--ease-editorial), background-color 320ms var(--ease-editorial), transform 320ms var(--ease-editorial);
}

.collection-panel:hover {
  border-color: rgb(89 100 78 / 0.34);
  background: rgb(252 250 245 / 0.75);
  transform: translateY(-2px);
}

.executive-panel {
  display: grid;
  grid-template-columns: minmax(6.3rem, 0.62fr) minmax(15rem, 1.65fr);
  gap: clamp(1.4rem, 2.5vw, 2.7rem);
  align-items: center;
  padding: clamp(1.45rem, 2.4vw, 2.5rem);
}

.executive-botanical {
  width: min(100%, 7.3rem);
  max-height: 11.5rem;
  justify-self: center;
  object-fit: contain;
}

.executive-panel-copy {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.panel-statement {
  max-width: 18ch;
  margin-bottom: clamp(1.4rem, 2.5vw, 2.2rem);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.7vw, 2rem);
  line-height: 1.32;
}

.guide-panel {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.78fr) minmax(15rem, 1.45fr);
  gap: clamp(1.45rem, 2.8vw, 2.8rem);
  align-items: center;
  padding: clamp(1.15rem, 2vw, 1.75rem);
}

.guide-cover-link {
  display: block;
  align-self: stretch;
  min-height: 13rem;
  overflow: hidden;
  border-radius: 0.24rem;
  background: var(--linen);
  box-shadow: 0 12px 30px rgb(61 47 31 / 0.11);
}

.guide-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 450ms var(--ease-editorial);
}

.guide-cover-link:hover .guide-cover,
.guide-cover-link:focus-visible .guide-cover {
  transform: scale(1.018);
}

.guide-copy h3 {
  font-size: clamp(1.55rem, 1.65vw, 2rem);
}

.guide-copy > p {
  margin-top: 0.75rem;
  color: var(--charcoal-soft);
  font-size: 0.84rem;
  line-height: 1.65;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  margin-top: 1.2rem;
  padding: 0;
  color: var(--charcoal-soft);
  font-size: 0.72rem;
  list-style: none;
}

.guide-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.guide-meta svg {
  width: 0.92rem;
  height: 0.92rem;
  fill: none;
  stroke: var(--olive);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.38rem;
  color: var(--eucalyptus);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link-primary {
  margin-top: 1.2rem;
}

.text-link span {
  font-size: 1rem;
  transition: transform 240ms var(--ease-editorial);
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(0.28rem);
}

.shaping-copy {
  margin-top: 1.35rem;
  color: var(--charcoal-soft);
}

.shaping-label {
  margin-bottom: 0.35rem;
  color: var(--charcoal);
  font-size: 0.72rem;
  font-weight: 600;
}

.shaping-copy p:last-child {
  font-size: 0.72rem;
  line-height: 1.75;
}

.shaping-mobile {
  display: none;
}

.collection-level-link {
  margin-top: 1rem;
  color: var(--olive);
  font-size: 0.66rem;
}

/* Philosophy -------------------------------------------------------------- */

.collections-philosophy {
  display: grid;
  grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.2rem, 4vw, 3.8rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.philosophy-botanical {
  width: 100%;
  max-height: 6.3rem;
  object-fit: contain;
}

.collections-philosophy h2 {
  max-width: 24ch;
}

.collections-philosophy p {
  max-width: 44rem;
  margin-top: 0.55rem;
  color: var(--charcoal-soft);
  font-size: 0.84rem;
  line-height: 1.7;
}

/* Tablet ------------------------------------------------------------------ */

@media (max-width: 1199px) {
  .collections-hero {
    grid-template-columns: minmax(20rem, 1.08fr) minmax(18rem, 0.92fr);
    gap: clamp(2rem, 4vw, 3.8rem);
    padding-bottom: clamp(2.2rem, 4vw, 3.2rem);
  }

  .collections-hero h1 {
    max-width: 14ch;
    font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  }

  .hero-media {
    min-height: 17rem;
  }

  .hero-media img {
    object-position: 78% 52%;
  }

  .collection-anchor-nav {
    display: flex;
  }

  .collections-grid {
    display: block;
    padding-block: 0;
  }

  .collection-column {
    display: block;
    padding-block: clamp(2.4rem, 5vw, 4rem);
    scroll-margin-top: 6.5rem;
  }

  .collection-column:first-child {
    padding-right: 0;
  }

  .collection-column + .collection-column {
    padding-left: 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .collection-heading {
    min-height: 0;
    margin-bottom: 1.2rem;
  }

  .collection-heading h2 {
    font-size: clamp(2rem, 4.2vw, 2.85rem);
  }

  .collection-heading p {
    max-width: 45rem;
  }

  .collection-panel {
    min-height: 0;
  }

  .executive-panel {
    grid-template-columns: minmax(6rem, 0.32fr) minmax(0, 1fr);
    min-height: 14rem;
  }

  .executive-botanical {
    max-height: 9.5rem;
  }

  .panel-statement {
    max-width: 28ch;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
  }

  .guide-panel {
    grid-template-columns: minmax(9.25rem, 0.38fr) minmax(0, 1fr);
    min-height: 15rem;
  }

  .guide-cover-link {
    min-height: 12.75rem;
  }

  .shaping-copy {
    max-width: 48rem;
  }

  .collections-philosophy {
    grid-template-columns: minmax(7rem, 9.5rem) minmax(0, 1fr);
  }
}

/* Mobile navigation and layout ------------------------------------------- */

@media (max-width: 767px) {
  .collections-hero {
    grid-template-columns: minmax(0, 1fr) clamp(7.2rem, 33vw, 10rem);
    gap: clamp(0.95rem, 4vw, 1.5rem);
    align-items: start;
    padding-block: 1rem 1.8rem;
  }

  .hero-copy {
    max-width: none;
  }

  .eyebrow {
    margin-bottom: 0.72rem;
    font-size: 0.61rem;
  }

  .collections-hero h1 {
    max-width: 14ch;
    font-size: clamp(2rem, 8.7vw, 2.85rem);
    line-height: 1.02;
  }

  .hero-intro {
    margin-top: 0.9rem;
    font-size: 0.76rem;
    line-height: 1.65;
  }

  .hero-media {
    min-height: 0;
    aspect-ratio: 1 / 1.08;
    margin-top: 1rem;
  }

  .hero-media img {
    object-position: 82% 50%;
  }

  .collection-anchor-nav {
    min-height: 3.4rem;
    gap: 0.8rem;
  }

  .collection-anchor-nav a {
    padding-block: 0.75rem;
    font-size: 0.66rem;
    text-align: center;
  }

  .collection-column {
    padding-block: 2rem;
    scroll-margin-top: 5rem;
  }

  .collection-heading {
    margin-bottom: 1rem;
  }

  .collection-heading h2 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .collection-heading p {
    margin-top: 0.55rem;
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .executive-panel {
    grid-template-columns: 4.2rem minmax(0, 1fr);
    gap: 1rem;
    min-height: 0;
    padding: 1.15rem;
  }

  .executive-botanical {
    width: 4rem;
    max-height: 7.4rem;
  }

  .panel-statement {
    max-width: 22ch;
    margin-bottom: 0.9rem;
    font-size: clamp(1.16rem, 5vw, 1.42rem);
    line-height: 1.28;
  }

  .guide-panel {
    grid-template-columns: 6.4rem minmax(0, 1fr);
    gap: 1rem;
    min-height: 0;
    padding: 0.9rem;
  }

  .guide-cover-link {
    min-height: 9rem;
  }

  .guide-copy h3 {
    font-size: clamp(1.14rem, 5vw, 1.38rem);
  }

  .guide-copy > p {
    margin-top: 0.48rem;
    font-size: 0.7rem;
    line-height: 1.55;
  }

  .guide-meta {
    gap: 0.5rem 0.85rem;
    margin-top: 0.75rem;
    font-size: 0.63rem;
  }

  .guide-meta svg {
    width: 0.78rem;
    height: 0.78rem;
  }

  .text-link {
    font-size: 0.59rem;
    letter-spacing: 0.075em;
  }

  .text-link-primary {
    margin-top: 0.75rem;
  }

  .shaping-copy {
    margin-top: 0.9rem;
  }

  .shaping-label {
    font-size: 0.67rem;
  }

  .shaping-desktop {
    display: none;
  }

  .shaping-mobile {
    display: block;
  }

  .shaping-copy p:last-child {
    font-size: 0.68rem;
    line-height: 1.65;
  }

  .collection-level-link {
    margin-top: 0.85rem;
  }

  .collections-philosophy {
    grid-template-columns: 5.2rem minmax(0, 1fr);
    gap: 1.25rem;
    padding-block: 1.75rem;
  }

  .philosophy-botanical {
    max-height: 4.5rem;
  }

  .collections-philosophy h2 {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
    line-height: 1.08;
  }

  .collections-philosophy p {
    margin-top: 0.45rem;
    font-size: 0.69rem;
    line-height: 1.55;
  }
}

@media (max-width: 390px) {
  .collections-hero {
    grid-template-columns: minmax(0, 1fr) 6.8rem;
  }

  .collections-hero h1 {
    font-size: clamp(1.85rem, 8.3vw, 2.2rem);
  }

  .hero-intro {
    font-size: 0.7rem;
  }

  .guide-panel {
    grid-template-columns: 5.65rem minmax(0, 1fr);
    gap: 0.8rem;
  }

  .guide-cover-link {
    min-height: 8.2rem;
  }

  .guide-meta {
    display: grid;
    gap: 0.35rem;
  }
}

@media (max-width: 350px) {
  .collections-hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    width: 100%;
    aspect-ratio: 16 / 8;
    margin-top: 0;
  }

  .hero-media img {
    object-position: 74% 58%;
  }

  .collection-anchor-nav {
    gap: 0.55rem;
  }

  .collection-anchor-nav a {
    font-size: 0.61rem;
  }

  .executive-panel,
  .guide-panel {
    grid-template-columns: 1fr;
  }

  .executive-botanical {
    justify-self: start;
  }

  .guide-cover-link {
    width: 8rem;
    min-height: 10.5rem;
  }

  .collections-philosophy {
    grid-template-columns: 1fr;
  }

  .philosophy-botanical {
    width: 6.5rem;
  }
}
