/*
==============================================================================
SH - Lenovo Yoga
CONTACT: Nikki
==============================================================================
*/

:root {
  --bg-dark: #4e144a;
  --accent: #7a126b;
  --copy: #4e144a;

  --radius-lg: 2vw;
  --radius-md: 1.1vw;
  --radius-sm: 1vw;

  --pad-x: 10%;
  --pad-y: 7%;
}

/* Fonts */
@font-face {
  font-family: "gothamregular";
  src: url("../fonts/GothamOffice-Regular.otf");
  font-display: swap;
}
@font-face {
  font-family: "gothambold";
  src: url("../fonts/GothamOffice-Bold.otf");
  font-display: swap;
}
@font-face {
  font-family: "obbli";
  src: url("../fonts/OBBLIGATOTrial-Fortissimo.ttf");
  font-display: swap;
}

@font-face {
  font-family: "GeneralSans-Variable";
  src: url("../fonts/GeneralSans-Variable.woff2") format("woff2"),
    url("../fonts/GeneralSans-Variable.woff") format("woff"),
    url("../fonts/GeneralSans-Variable.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GeneralSans-VariableItalic";
  src: url("../fonts/GeneralSans-VariableItalic.woff2") format("woff2"),
    url("../fonts/GeneralSans-VariableItalic.woff") format("woff"),
    url("../fonts/GeneralSans-VariableItalic.ttf") format("truetype");
  font-weight: 200 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lora-Variable";
  src: url("../fonts/Lora-Variable.woff2") format("woff2"),
    url("../fonts/Lora-Variable.woff") format("woff"),
    url("../fonts/Lora-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora-VariableItalic";
  src: url("../fonts/Lora-VariableItalic.woff2") format("woff2"),
    url("../fonts/Lora-VariableItalic.woff") format("woff"),
    url("../fonts/Lora-VariableItalic.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lora-SemiBoldItalic";
  src: url("../fonts/Lora-SemiBoldItalic.woff2") format("woff2"),
    url("../fonts/Lora-SemiBoldItalic.woff") format("woff"),
    url("../fonts/Lora-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* Reset (lightweight) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--copy);
  font-family: "gothamregular", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 100%;
  line-height: 1.4em;
  overflow-y: auto;
  text-align: left;
}

/* Media defaults */
img,
video {
  display: block;
  width: 100%;
  height: auto;
}

/* Typo */
h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}

h1 {
  font-family: "Lora-SemiBoldItalic", serif;
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 64px);
  line-height: 1.2em;
  color: var(--copy);
  margin: 0 0 5vw;
}

h2 {
  font-family: "gothambold", system-ui, sans-serif;
  font-size: clamp(14px, 1.8vw, 26px);
  line-height: 1.5em;
  color: var(--copy);
}

h3 {
  font-family: "gothambold", system-ui, sans-serif;
  font-size: clamp(18px, 3vw, 44px);
  line-height: 1.2em;
  color: var(--copy);
  margin-bottom: 3%;
}

h4 {
  font-family: "gothambold", system-ui, sans-serif;
  font-size: clamp(22px, 3.8vw, 54px);
  line-height: 1.2em;
  color: var(--copy);
  margin-bottom: 3%;
}

h5 {
  font-family: "Lora-SemiBoldItalic", serif;
  font-weight: 400;
  font-size: clamp(40px, 8vw, 110px);
  line-height: 1em;
  color: var(--accent);
  margin: 0 1vw 0 0;
  display: inline-block;
}

p {
  font-size: clamp(13px, 1.1vw, 18px);
  line-height: 1.8em;
  color: var(--copy);
}

.darkCopy {
  color: var(--copy) !important;
  font-size: clamp(16px, 2.5vw, 34px);
  font-family: "gothambold", system-ui, sans-serif;
}

a {
  color: var(--copy);
  text-decoration: none;
  transition: color 250ms;
}

.centered {
  text-align: center !important;
}
.textleft {
  text-align: left !important;
}

span.smlh5 {
  font-family: "Lora-SemiBoldItalic", serif;
  font-size: clamp(18px, 3.5vw, 44px);
  line-height: 1.2em;
  color: var(--copy);
}

div.block {
  display: block;
  width: 100%;
}

span.smlh6 {
  font-family: "Lora-SemiBoldItalic", serif;
  font-size: clamp(16px, 3.2vw, 40px);
  line-height: 1.2em;
  color: var(--copy);
  width: 15%;
  display: inline-block;
  text-align: left;
}

/* Background colors */
.lightpurple {
  background-color: var(--accent);
  background-image: url("../img/SmarterGradient_PALE_Curious_S2.png");
  background-size: cover;
}
.lightpurple2 {
  background-color: var(--accent);
  background-image: url("../img/Pattern_SG-Pale-3-1536x1536.png");
  background-size: cover;
}
.lightpurple3 {
  background-color: var(--accent);
  background-image: url("../img/Pattern_SG-Pale-2_CropA.png");
  background-size: cover;
}
.darkpurple {
  background-color: #1e0013 !important;
}

.lightpurpleFooter {
  background-color: var(--accent);
  background-image: url("../img/background-results.jpg");
  background-size: cover;
}

/* Media styling */
video.landscape {
  border-radius: var(--radius-lg);
}

video.landscape2 {
  border-radius: var(--radius-sm);
}

video.portrait,
img.portrait {
  border-radius: var(--radius-md);
}

/* Size tweaks */
img.quarter {
  width: 80%;
  margin: 2vw auto auto 0;
}
img.quarter2 {
  width: 80%;
  margin: 2vw 0 auto auto;
}
img.half {
  width: 95%;
  margin: 0 5% auto auto;
}
img.half2 {
  width: 95%;
  margin: 0 auto auto 5%;
}

/* Layout */
#content {
  position: relative;
  width: 100%;
  padding: 0;
  text-align: center;
}

/* Grid containers (clean + predictable) */
.gridcontainer,
.gridcontainer2,
.gridcontainer3,
.gridcontainer4 {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  margin: auto;
}

.gridcontainer {
  gap: 0;
  padding: 0;
}
.gridcontainer2 {
  gap: 0;
  padding: 0;
}
.gridcontainer3 {
  gap: 1vw;
  padding: 0;
}
.gridcontainer4 {
  gap: 1vw;
  padding: 0;
}

/* Per-item padding rules (preserve your spacing intent) */
.gridcontainer3 > div {
  padding: 1vw;
  border-radius: var(--radius-sm);
}
.gridcontainer4 > div {
  padding: 1vw 0;
  border-radius: var(--radius-sm);
}

.row {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
  padding: 0;
  clear: both;
}

.col-12 {
  width: 100%;
  display: block;
  padding: var(--pad-y) var(--pad-x);
}

/* Header override */
.header {
  padding: 0;
}

/* Utilities */
.noPadding {
  padding: 0 !important;
}
.noPaddingBottom {
  padding-bottom: 0 !important;
}
.lessPaddingBottom {
  padding-bottom: 5% !important;
}
.noPaddingTop {
  padding-top: 0 !important;
}
.noPaddingLeft {
  padding-left: 0 !important;
}
.morePaddingRight {
  padding-right: 30% !important;
}
.midpadding {
  padding-left: 20%;
  padding-right: 20%;
  padding-top: 0;
}
.marginBottom5 {
  margin-bottom: 5vw;
}
.marginBottom8 {
  margin-bottom: 8vw;
}
.marginBottom10 {
  margin-bottom: 10vw;
}

.mobileHide {
  display: block;
}

/* MOBILE */
@media screen and (max-width: 780px) {
  .col-12 {
    padding: 8% 10%;
    text-align: center;
  }

  .mobileHide {
    display: none !important;
  }

  .noPaddingTop {
    padding-top: 10%;
  }

  .morePaddingRight {
    padding-right: 10% !important;
  }

  .noPaddingLeft {
    padding-left: 10% !important;
  }

  /* Stack grids on mobile */
  .gridcontainer,
  .gridcontainer2,
  .gridcontainer3,
  .gridcontainer4 {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: 1fr;
  }

  .gridcontainer {
    gap: 2vw;
    padding-bottom: 2vw;
  }

  .gridcontainer3 > div {
    padding: 10% 2%;
  }

  .lessPaddingBottom {
    padding-bottom: 1vw !important;
  }
}
