/* =========================
   Author: Angela Wallace
   Design System: AWD (Angela Wallace Design)
   Last Updated: 3/7/26
   Notes: Separation of concerns, validates component portability
========================= */

body {
  margin: 40px;
  padding: var(--frame-pad);     /* fixed 20px frame */
  font-family: var(--font-sans);
  color: var(--color-text);
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 400;
}

hr {
  margin: 40px 0;
}

/* =========================
   TYPOGRAPHY
========================= */

h1, h2, h3, h4, p, .subtitle, .caption {
  margin: 0;
}

h1 {
  font-family: var(--font-serif);
  font-size: 1.875rem;

 }

 h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: auto;

  color: var(--color-accent);
 }

 h3, dt {
  text-transform: uppercase;
  line-height: auto;
  letter-spacing: 0.01em;
  font-weight: bold;
 }

 h3 {
  font-size: 1.875rem;
  border-bottom: 1px solid #000;
  padding: 6px 0;
  margin-bottom: 5px;
 }

 p {
  font-family: var(--font-sans);
  line-height: 1.5625rem;
  margin: 0 0 1.5rem 0;
  font-weight: 300;
 }

/* ========================= */
/* Heading Pattern Page Override */
/* ========================= */

  .project-card .section-heading, 
  .layer-3 .section-heading {
    flex-direction: row;
  }

  .project-card {
    --heading-main-size: 1.75rem;
    --heading-accent-size: 1.6875rem;
  }

/* Tagline *

.tagline {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-optical-sizing: auto;
  font-weight: 300;
  line-height: 1.3;
}*/

.tagline {
  font-size: var(--type-body-lg);
  font-weight: 200;
}

/* =========================
   LOGOS
========================= */

/* LOGO */
.logo {
  width: auto;
  height: 2.1875rem; /* 35px at 16px base */
  display: block;
}

/* =========================
   BUTTONS & LINKS
========================= */
a { color: inherit; }

a {
  color: #ADADAD;
  cursor: pointer;
  /*padding: 5px;*/
}

a:hover {
  color: var(--color-accent);
}

a.is-active {
  color: var(--color-primary);
}

/* PRIMARY BUTTON */
.primary-btn {
  appearance: none;
  background-color: #000;
  border: 0;
  padding: 24px 48px;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  text-transform: uppercase;
}
.primary-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  background-color: #fff;
  color: #000;
}

.primary-btn:hover {
  color: #000;
  background-color: #fff;
  box-shadow: 0 1px 2.4px rgba(0, 0, 0, 0.25);
}

.primary-btn-small {
  border: 0;
    padding: 8px 10px;
    background-color: #000;
    color: white;
    font-family: var(--font-serif);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 10px;
    display: inline-block;
    width: 180px;
    text-align: center;
}

.primary-btn-small:hover {
    background-color: #fff;
    color: #000;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.2));
}

/* TEXT LINK BUTTON */
.link-btn {
  appearance: none;
  background-color: transparent;
  cursor: pointer;
  color: var(--color-accent); 
  font-family: var(--font-sans);
  padding: 0 0 0 5px;
}
/*
.link-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  color: #000;
}
  */

.link-btn:hover {
  color: #000;
}

/* Toggle Switch */
.toggle-switch ul {
  width: 100%;
  display: flex;
  justify-content: end;
  gap: 10px;
}
.toggle-switch li {
  display: inline-block;
  cursor: pointer;
  color: #868686;
  text-transform: uppercase;
  font-size: 14px;
}

.toggle-switch li.active a {
  color: #FA4D7E;
  padding: 5px 10px;
  background: #F2F2F2;
  border-radius: 15px;
}

/* Toggle visibility */
.toggle-wrapper[data-visible="false"] {
  display: none;
}

.toggle-wrapper[data-visible="true"] {
  display: block;
}

/* =========================
   NAVIGATION
========================= */

/* GLOBAL HEADER */
.global-header {
  position: sticky;
  z-index: 10; /* above page content, below overlay */
  background: var(--color-surface);
}

.global-header .header-inner {
  min-height: var(--header-min);
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-direction:row;
  padding: 30px;
  gap: 10px;
}

.designer-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.designer-name a {
  text-decoration: none;
  color: initial;
}

.designer-name p {
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.designer-name p:last-child {
  color:#868686;
}

.global-nav__list {
  display: flex;
  list-style: none;
  gap: 0;
  padding: 0;
  margin: 0;
  justify-content: end;
}

.global-nav__list li + li::before {
  content: "/";
  margin-inline: 15px;
  opacity: 0.4;
}

.global-nav__list li {
  font-size: 14px;
  text-transform: uppercase;
}

.global-nav__list li a {
  text-decoration: none;
}

/* =========================
   CONTENT
========================= */

/* CARDS */

/* List reset */
.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* List items */
.card li {
  margin: 0.15rem 0;
  line-height: 1.5;
}

/*PROJECT SUMMARY (Section 1 w Overview) */

.meta {
  display: grid;
  gap: 8px;
}

.meta-row {
  display: grid;
  grid-template-columns: 120px 1fr;
}

.meta dt {
  font-weight: 600;
}

.meta dd {
  margin: 0;
}

.meta-row:last-child dd {
  font-weight: 700;
}



