/*
Theme Name: ISCoS 2028
Theme URI: https://iscosmeetings2028.org/
Author: Association Services Ltd
Description: Lightweight custom theme for the 67th ISCoS Annual Scientific Meeting, Auckland, New Zealand.
Version: 1.1.0
Text Domain: iscos-2028
*/


/* =========================================================
   BRAND
   ========================================================= */

:root {

  --iscos-black: #101010;
  --iscos-deep: #061524;

  --iscos-gold: #c79a24;
  --iscos-gold-light: #d9b549;

  --iscos-red: #e32b26;

  --iscos-white: #ffffff;

  --iscos-soft: #f5f5f3;
  --iscos-soft-2: #f1f2f2;

  --iscos-text: #242424;
  --iscos-muted: #626262;
  --iscos-line: #dedede;

  --iscos-max: 1320px;

}


/* =========================================================
   RESET
   ========================================================= */

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {

  background: #ffffff;

  color: var(--iscos-text);

  font-family:
    "Avenir Next",
    "Century Gothic",
    "Trebuchet MS",
    Arial,
    Helvetica,
    sans-serif;

  font-size: 17px;
  line-height: 1.7;

  -webkit-font-smoothing: antialiased;

}

body.iscos-modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

a {
  color: inherit;
}

.iscos-home {
  overflow: hidden;
}

.iscos-container,
.iscos-hero-inner {

  width: min(
    calc(100% - 64px),
    var(--iscos-max)
  );

  margin: 0 auto;

}


/* =========================================================
   HERO
   ========================================================= */

.iscos-hero {

  position: relative;

  min-height: 650px;

  display: flex;
  align-items: center;

  color: #ffffff;

  background-image:
    url("https://iscosmeetings2028.org/wp-content/uploads/2026/10/ISCoS-2028-scaled.jpg");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

}

.iscos-hero-overlay {

  position: absolute;
  inset: 0;

  z-index: 1;

  background:

    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.84) 0%,
      rgba(0, 0, 0, 0.66) 31%,
      rgba(0, 0, 0, 0.26) 61%,
      rgba(0, 0, 0, 0.05) 100%
    );

}

.iscos-hero-inner {
  position: relative;
  z-index: 2;
}

.iscos-hero-content {

  max-width: 600px;

  padding:
    70px
    0
    65px;

}

.iscos-hero-logo {

  width: 145px;
  height: 145px;

  object-fit: contain;

  margin-bottom: 24px;

}

.iscos-kicker {

  margin-bottom: 18px;

  color: var(--iscos-gold-light);

  font-size: 16px;

  font-weight: 700;

  letter-spacing: 0.28em;

}

.iscos-hero h1 {

  margin:
    0
    0
    22px;

  color: #ffffff;

  font-size:
    clamp(
      40px,
      4vw,
      64px
    );

  font-weight: 500;

  line-height: 1.08;

  letter-spacing: -0.02em;

}

.iscos-event-details {

  margin-bottom: 30px;

  font-size: 20px;

  line-height: 1.65;

}

.iscos-event-details div:first-child {
  font-weight: 700;
}

.iscos-hero-actions {

  display: flex;

  flex-wrap: wrap;

  gap: 14px;

}


/* =========================================================
   BUTTONS
   ========================================================= */

.iscos-btn {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding:
    13px
    24px;

  border-radius: 4px;

  text-decoration: none;

  font-size: 15px;

  font-weight: 700;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;

}

.iscos-btn:hover {
  transform: translateY(-1px);
}

.iscos-btn-primary {

  background: #ffffff;

  color: #111111;

  border: 1px solid #ffffff;

}

.iscos-btn-primary:hover {

  background: var(--iscos-gold);

  border-color: var(--iscos-gold);

}

.iscos-btn-outline {

  background: transparent;

  color: #ffffff;

  border:
    1px solid
    rgba(255,255,255,0.75);

}

.iscos-btn-outline:hover {

  background: #ffffff;

  border-color: #ffffff;

  color: #111111;

}

.iscos-btn-gold {

  background: var(--iscos-gold);

  color: #111111;

  border:
    1px solid
    var(--iscos-gold);

}

.iscos-btn-gold:hover {

  background: #111111;

  border-color: #111111;

  color: #ffffff;

}


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

.iscos-section-kicker {

  margin-bottom: 12px;

  color: var(--iscos-red);

  font-size: 12px;

  line-height: 1.4;

  font-weight: 700;

  letter-spacing: 0.25em;

}

.iscos-home h2 {

  margin:
    0
    0
    20px;

  color: var(--iscos-black);

  font-size:
    clamp(
      30px,
      3vw,
      42px
    );

  font-weight: 500;

  line-height: 1.2;

  letter-spacing: -0.015em;

}

.iscos-home h3 {

  margin:
    0
    0
    14px;

  font-size: 21px;

  line-height: 1.35;

  font-weight: 600;

}

.iscos-home p {

  margin:
    0
    0
    22px;

}

.iscos-lead {

  max-width: 1050px;

  font-size: 21px;

  line-height: 1.8;

}

.iscos-section-intro {
  max-width: 900px;
}


/* =========================================================
   INTRO
   ========================================================= */

.iscos-intro {

  padding:
    82px
    0
    88px;

}


/* =========================================================
   COMING SOON
   ========================================================= */

.iscos-coming-soon {

  padding:
    82px
    0
    92px;

  background: var(--iscos-soft);

}

.iscos-card-grid {

  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0,1fr)
    );

  gap: 22px;

  margin-top: 38px;

}

.iscos-card {

  position: relative;

  min-height: 280px;

  padding:
    34px
    28px
    30px;

  background: #ffffff;

  border:
    1px solid
    #e5e5e5;

  border-radius: 10px;

  box-shadow:
    0
    10px
    28px
    rgba(0,0,0,0.035);

}

.iscos-card::before {

  content: "";

  position: absolute;

  top: -1px;
  left: 28px;

  width: 48px;
  height: 3px;

  background: var(--iscos-red);

}

.iscos-card-number {

  margin-bottom: 31px;

  color: #9d9d9d;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.17em;

}

.iscos-card p {

  color: #4c4c4c;

  font-size: 15px;

}

.iscos-card-status {

  position: absolute;

  left: 28px;
  bottom: 25px;

  color: var(--iscos-red);

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.13em;

}


/* =========================================================
   UPDATES
   ========================================================= */

.iscos-updates {

  padding:
    72px
    0;

}

.iscos-updates-box {

  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    auto;

  gap: 50px;

  align-items: center;

  padding:
    42px
    48px;

  background:
    linear-gradient(
      135deg,
      #fafafa 0%,
      #f0f1f1 100%
    );

  border:
    1px solid
    #dedede;

  border-radius: 12px;

}

.iscos-updates-box h2 {
  margin-bottom: 14px;
}

.iscos-updates-box p {

  max-width: 820px;

  margin-bottom: 0;

}


/* =========================================================
   CONTACT
   ========================================================= */

.iscos-contact {

  padding:
    65px
    0
    90px;

}

.iscos-contact-grid {

  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap: 22px;

  margin-top: 38px;

}

.iscos-contact-card {

  min-height: 260px;

  padding:
    34px
    38px;

  border:
    1px solid
    #dfdfdf;

  border-radius: 10px;

  background: #ffffff;

  box-shadow:
    0
    10px
    30px
    rgba(0,0,0,0.025);

}

.iscos-contact-label {

  margin-bottom: 10px;

  color: var(--iscos-red);

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.17em;

}

.iscos-contact-card a {

  color: var(--iscos-red);

  text-decoration: none;

  font-weight: 700;

}

.iscos-contact-card span {

  display: inline-block;

  margin-left: 5px;

  font-size: 14px;

}


/* =========================================================
   MODAL
   ========================================================= */

.iscos-modal {

  position: fixed;

  inset: 0;

  z-index: 999999;

  display: none;

  padding: 28px;

  overflow-y: auto;

}

.iscos-modal.is-open {
  display: block;
}

.iscos-modal-backdrop {

  position: fixed;

  inset: 0;

  background:
    rgba(
      4,
      15,
      27,
      0.90
    );

  backdrop-filter: blur(5px);

}

.iscos-modal-panel {

  position: relative;

  z-index: 2;

  width: min(
    1120px,
    calc(100% - 20px)
  );

  margin:
    0
    auto
    30px;

  background: #ffffff;

  border-radius: 18px;

  overflow: hidden;

  box-shadow:
    0
    35px
    90px
    rgba(0,0,0,0.45);

}

.iscos-modal-close {

  position: absolute;

  z-index: 20;

  top: 18px;
  right: 18px;

  width: 54px;
  height: 54px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  border:
    1px solid
    rgba(255,255,255,0.4);

  background:
    rgba(0,0,0,0.35);

  color: #ffffff;

  font-size: 34px;

  line-height: 1;

}

.iscos-modal-close:hover {

  background: var(--iscos-red);

}


/* =========================================================
   MODAL HERO
   ========================================================= */

.iscos-modal-hero {

  position: relative;

  min-height: 330px;

  display: flex;

  align-items: center;

  background-image:
    url("https://iscosmeetings2028.org/wp-content/uploads/2026/10/ISCoS-2028-scaled.jpg");

  background-size: cover;

  background-position: center 50%;

}

.iscos-modal-hero-overlay {

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.78),
      rgba(0,0,0,0.30)
    );

}

.iscos-modal-hero-content {

  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    220px
    1fr;

  align-items: center;

  gap: 35px;

  width: 100%;

  padding:
    45px
    55px;

  color: #ffffff;

}

.iscos-modal-hero-content img {

  width: 210px;

}

.iscos-modal-kicker {

  margin-bottom: 12px;

  color: var(--iscos-gold-light);

  font-size: 14px;

  font-weight: 700;

  letter-spacing: 0.24em;

}

.iscos-modal-hero h2 {

  margin:
    0
    0
    12px;

  color: #ffffff;

  font-size:
    clamp(
      34px,
      4vw,
      54px
    );

  line-height: 1.12;

  font-weight: 500;

}

.iscos-modal-hero p {

  margin: 0;

  font-size: 18px;

}


/* =========================================================
   MODAL BODY
   ========================================================= */

.iscos-modal-body {

  padding:
    52px
    55px
    58px;

}

.iscos-modal-section-label {

  margin-bottom: 12px;

  color: var(--iscos-red);

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 0.20em;

}

.iscos-modal-body > h2 {

  margin:
    0
    0
    20px;

  color: #151515;

  font-size:
    clamp(
      34px,
      4vw,
      48px
    );

  line-height: 1.15;

  font-weight: 500;

}

.iscos-modal-lead {

  max-width: 950px;

  margin-bottom: 34px;

  font-size: 18px;

  line-height: 1.8;

}


/* =========================================================
   EVENT SUMMARY
   ========================================================= */

.iscos-event-summary {

  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap: 20px;

  margin:
    34px
    0
    42px;

}

.iscos-event-summary > div {

  padding:
    25px
    28px;

  background: #f4f4f3;

  border-radius: 10px;

}

.iscos-event-summary span {

  display: block;

  margin-bottom: 7px;

  color: #737373;

  font-size: 13px;

  letter-spacing: 0.10em;

}

.iscos-event-summary strong {

  color: #1d1d1d;

  font-size: 17px;

}


/* =========================================================
   CALENDAR
   ========================================================= */

.iscos-calendar-heading {

  margin-bottom: 20px;

  font-size: 19px;

}

.iscos-calendar-grid {

  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap: 15px;

}

.iscos-calendar-option {

  width: 100%;

  display: flex;

  align-items: center;

  gap: 18px;

  min-height: 98px;

  padding:
    18px
    22px;

  border:
    1px solid
    #d9d9d9;

  border-radius: 10px;

  background: #ffffff;

  color: #191919;

  text-decoration: none;

  text-align: left;

  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;

}

.iscos-calendar-option:hover {

  border-color: var(--iscos-gold);

  transform: translateY(-1px);

  box-shadow:
    0
    8px
    24px
    rgba(0,0,0,0.06);

}

.iscos-calendar-icon {

  flex:
    0
    0
    52px;

  width: 52px;
  height: 52px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 8px;

  background: #f1f2f2;

  color: var(--iscos-red);

  font-weight: 800;

}

.iscos-calendar-option strong,
.iscos-calendar-option span {

  display: block;

}

.iscos-calendar-option strong {

  font-size: 17px;

}

.iscos-calendar-option span {

  margin-top: 2px;

  color: #737373;

  font-size: 14px;

}

.iscos-ics-download {

  margin-top: 22px;

  padding:
    13px
    18px;

  background: transparent;

  border: 0;

  color: var(--iscos-red);

  font-weight: 700;

  text-decoration: underline;

}


/* =========================================================
   INTEREST FORM
   ========================================================= */

.iscos-interest-form {

  position: relative;

  max-width: 100%;

}

.iscos-form-field {

  margin-bottom: 22px;

}

.iscos-form-field label {

  display: block;

  margin-bottom: 8px;

  color: #202020;

  font-weight: 700;

}

.iscos-form-field label span {
  color: var(--iscos-red);
}

.iscos-form-field input {

  width: 100%;

  min-height: 58px;

  padding:
    12px
    15px;

  border:
    1px solid
    #cfd3d6;

  border-radius: 8px;

  background: #ffffff;

  color: #202020;

  outline: none;

}

.iscos-form-field input:focus {

  border-color: var(--iscos-gold);

  box-shadow:
    0
    0
    0
    3px
    rgba(199,154,36,0.13);

}

.iscos-form-row {

  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap: 20px;

}

.iscos-consent-box {

  margin:
    5px
    0
    20px;

  padding:
    22px
    24px;

  background: #f3f4f4;

  border-radius: 10px;

}

.iscos-consent-box label {

  display: flex;

  align-items: flex-start;

  gap: 16px;

  cursor: pointer;

}

.iscos-consent-box input {

  flex:
    0
    0
    23px;

  width: 23px;
  height: 23px;

  margin-top: 3px;

}

.iscos-privacy-note {

  color: #686868;

  font-size: 14px;

  line-height: 1.7;

}

.iscos-form-submit {

  margin-top: 10px;

  min-height: 56px;

  padding:
    14px
    28px;

  border:
    1px solid
    var(--iscos-red);

  background: var(--iscos-red);

  color: #ffffff;

}

.iscos-form-submit:hover {

  background: #111111;

  border-color: #111111;

}

.iscos-form-small {

  margin:
    18px
    0
    0;

  color: #777777;

  font-size: 13px;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

  .iscos-card-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );

  }

  .iscos-updates-box {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

  .iscos-container,
  .iscos-hero-inner {

    width:
      min(
        calc(100% - 36px),
        var(--iscos-max)
      );

  }

  .iscos-hero {

    min-height: 620px;

    background-position:
      60%
      center;

  }

  .iscos-hero-content {
    padding: 50px 0;
  }

  .iscos-hero-logo {

    width: 112px;
    height: 112px;

  }

  .iscos-hero h1 {

    font-size:
      clamp(
        36px,
        10vw,
        50px
      );

  }

  .iscos-card-grid,
  .iscos-contact-grid,
  .iscos-event-summary,
  .iscos-calendar-grid,
  .iscos-form-row {

    grid-template-columns: 1fr;

  }

  .iscos-updates-box {

    padding:
      32px
      26px;

  }

  .iscos-modal {

    padding: 10px;

  }

  .iscos-modal-panel {

    width: 100%;

    border-radius: 13px;

  }

  .iscos-modal-hero {

    min-height: 310px;

  }

  .iscos-modal-hero-content {

    grid-template-columns: 1fr;

    gap: 16px;

    padding:
      45px
      26px
      30px;

  }

  .iscos-modal-hero-content img {

    width: 115px;

  }

  .iscos-modal-body {

    padding:
      35px
      26px
      42px;

  }

  .iscos-modal-close {

    width: 46px;
    height: 46px;

    top: 12px;
    right: 12px;

  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 460px) {

  .iscos-hero-actions {
    display: grid;
  }

  .iscos-btn {
    width: 100%;
  }

}