/*
  AWS Partner Office Hours with Ingram Micro

  Brand-led static landing page aligned to the supplied Ingram Micro guide
  and the current ingrammicro.com visual language.

  Core page palette:
  Ingram Micro blue: #1570EF
  White:             #FFFFFF
  Black:             #000000

  AWS artwork retains its supplied brand colors.
*/

:root {
  --blue: #1570ef;
  --white: #ffffff;
  --black: #000000;

  --shell: 1220px;
  --edge: clamp(22px, 4vw, 58px);
  --rule-dark: rgba(0, 0, 0, 0.18);
  --rule-light: rgba(255, 255, 255, 0.34);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.shell {
  width: min(calc(100% - (2 * var(--edge))), var(--shell));
  margin-inline: auto;
}

/* Header --------------------------------------------------- */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule-dark);
}

.header-inner {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

/* Official supplied Ingram Micro artwork, unchanged. */
.logo-link {
  display: block;
  width: 290px;
  min-width: 210px;
  text-decoration: none;
}

.ingram-logo {
  width: 100%;
  height: auto;
}

/*
  AWS stays separate and visually secondary.
  No custom combined mark/lockup is created.
*/
.aws-brand {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 120px;
}

.aws-logo {
  width: 92px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

/* Global type ---------------------------------------------- */

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.04em;
}

h1 {
  max-width: 1120px;
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(3.7rem, 6.15vw, 5.3rem);
  font-weight: 400;
  line-height: 0.98;
}

.headline-line {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.03;
}

.kicker {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.kicker--light {
  color: var(--white);
}

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

.hero {
  background: var(--blue);
  color: var(--white);
}

.hero-inner {
  min-height: 565px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 82px 88px;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 34px;
  font-size: clamp(1.16rem, 1.8vw, 1.42rem);
  line-height: 1.5;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--white);
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-link span {
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 150ms ease;
}

.hero-link:hover span,
.hero-link:focus-visible span {
  transform: translateX(5px);
}

/* Intro ---------------------------------------------------- */

.intro {
  padding-block: 102px 108px;
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(60px, 9vw, 125px);
}

.intro-heading {
  max-width: 560px;
  margin-bottom: 0;
}

.intro-copy {
  padding-top: 4px;
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
}

.intro-copy p {
  margin-bottom: 24px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

/* Schedule ------------------------------------------------- */

.schedule {
  padding-block: 96px 116px;
  background: var(--black);
  color: var(--white);
}

.schedule-title {
  max-width: 780px;
  margin-bottom: 58px;
}

.schedule-title h2 {
  margin-bottom: 0;
  color: var(--white);
}

.office-grid {
  border-top: 1px solid var(--rule-light);
}

.office-block {
  display: grid;
  grid-template-columns: minmax(155px, 0.26fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 100px);
  padding-block: 68px 76px;
  border-bottom: 1px solid var(--rule-light);
}

.office-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.office-number {
  color: var(--blue);
  font-size: clamp(4rem, 7vw, 6.6rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.office-side-label {
  max-width: 160px;
  margin-top: 24px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.office-content h2 {
  max-width: 830px;
  margin-bottom: 24px;
  color: var(--white);
}

.office-description {
  max-width: 820px;
  margin-bottom: 42px;
  color: var(--white);
  font-size: 1.04rem;
}

.session-list {
  border-top: 1px solid var(--rule-light);
}

.session {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 26px;
  min-height: 106px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--rule-light);
  color: var(--white);
  text-decoration: none;
  transition:
    background-color 150ms ease,
    padding-inline 150ms ease;
}

.session:hover,
.session:focus-visible {
  background: var(--blue);
  padding-inline: 20px;
  outline: none;
}

.session-date {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.session-date strong {
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.session-date small {
  margin-top: 7px;
  font-size: 0.78rem;
}

.session-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.session-copy strong {
  font-size: 1.04rem;
  line-height: 1.25;
}

.session-copy span {
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.session-arrow {
  justify-self: end;
  font-size: 2rem;
  line-height: 1;
}

/* Closing -------------------------------------------------- */

.closing {
  background: var(--blue);
  color: var(--white);
  padding-block: 92px 100px;
}

.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
}

.closing-grid h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.closing-grid > p {
  margin-bottom: 7px;
  font-size: 1.05rem;
}

/* Footer --------------------------------------------------- */

.site-footer {
  background: var(--white);
  color: var(--black);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 0.82rem;
}

.footer-inner p {
  margin-bottom: 0;
}

/* Responsive ----------------------------------------------- */

@media (max-width: 1000px) {
  h1 {
    font-size: clamp(3.25rem, 7.2vw, 4.65rem);
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .office-block {
    grid-template-columns: 125px minmax(0, 1fr);
  }

  .closing-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 102px;
    gap: 30px;
  }

  .logo-link {
    width: 245px;
    min-width: 180px;
  }

  .aws-logo {
    width: 78px;
  }

  .hero-inner {
    min-height: 500px;
    padding-block: 68px 74px;
  }

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

  .office-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .office-side {
    flex-direction: row;
    align-items: baseline;
    gap: 26px;
  }

  .office-side-label {
    max-width: none;
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --edge: 20px;
  }

  .header-inner {
    min-height: 92px;
  }

  .logo-link {
    width: 205px;
    min-width: 0;
  }

  .aws-logo {
    width: 64px;
  }

  h1 {
    font-size: clamp(2.55rem, 11.3vw, 3.45rem);
  }

  .headline-line {
    white-space: normal;
  }

  .intro {
    padding-block: 72px 80px;
  }

  .schedule {
    padding-block: 72px 86px;
  }

  .office-block {
    padding-block: 52px 58px;
  }

  .office-number {
    font-size: 4.1rem;
  }

  .session {
    grid-template-columns: 1fr 28px;
    gap: 12px;
    padding-block: 21px;
  }

  .session-date {
    grid-column: 1 / -1;
    padding-bottom: 3px;
  }

  .session-arrow {
    grid-column: 2;
    grid-row: 2;
  }

  .closing {
    padding-block: 72px 80px;
  }

  .footer-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding-block: 27px;
  }
}

/* Legal footer additions — V2 design otherwise unchanged ---------------- */
.footer-company {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-context {
  opacity: 0.66;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.footer-legal a {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  border-color: var(--black);
  outline: none;
}

.footer-legal span {
  opacity: 0.36;
}

@media (max-width: 560px) {
  .footer-inner {
    gap: 18px;
  }

  .footer-legal {
    flex-wrap: wrap;
  }
}
