:root {
  --storm-orange: #fa4616;
  --storm-orange-light: #ffa161;
  --storm-navy: #1a3749;
  --storm-text: #7f7f7f;
  --storm-pale-blue: #97aabb;
  --storm-border: #eaeaea;
  --storm-white: #fff;
  --storm-container: 1230px;
  --storm-container-small: 1150px;
  --storm-gutter: 25px;
  --storm-font: "Neue Helvetica W05", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.storm-header,
.storm-footer {
  color: var(--storm-text);
  font-family: var(--storm-font);
  font-weight: 400;
  line-height: 1.5;
}

.storm-header *,
.storm-header *::before,
.storm-header *::after,
.storm-footer *,
.storm-footer *::before,
.storm-footer *::after {
  box-sizing: border-box;
}

.storm-header a,
.storm-footer a {
  color: inherit;
  text-decoration: none;
}

.storm-header button,
.storm-footer button {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  margin: 0;
  padding: 0;
}

.storm-header :focus-visible,
.storm-footer :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--storm-orange), transparent 35%);
  outline-offset: 4px;
}

.storm-container {
  display: block;
  margin-inline: auto;
  max-width: var(--storm-container);
  padding-inline: var(--storm-gutter);
  width: 100%;
}

.storm-container--small {
  max-width: var(--storm-container-small);
}

.storm-visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Header */
.storm-header {
  background: var(--storm-white);
  position: relative;
  z-index: 40;
}

.storm-header__utility {
  border-bottom: 1px solid var(--storm-border);
  min-height: 48px;
  position: relative;
  z-index: 60;
}

.storm-header__utility-inner {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  min-height: 48px;
}

.storm-header__utility-nav {
  align-items: center;
  display: flex;
  gap: 35px;
}

.storm-header__utility-nav a {
  color: var(--storm-text);
  font-size: 14px;
  transition: color 0.2s ease;
}

.storm-header__utility-nav a:hover {
  color: var(--storm-navy);
}

.storm-header__search-toggle {
  align-items: center;
  background: var(--storm-pale-blue) !important;
  border-radius: 2px;
  color: var(--storm-white) !important;
  display: inline-flex;
  height: 33px;
  justify-content: center;
  margin-left: 35px !important;
  position: relative;
  transition: background-color 0.2s ease;
  width: 33px;
}

.storm-header__search-toggle:hover,
.storm-header__search-toggle.is-active {
  background: var(--storm-orange) !important;
}

.storm-icon {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.9;
  width: 17px;
}

.storm-icon--close {
  display: none;
}

.storm-header__search-toggle.is-active .storm-icon--search {
  display: none;
}

.storm-header__search-toggle.is-active .storm-icon--close {
  display: block;
}

.storm-header__main {
  align-items: center;
  display: flex;
  height: 120px;
  justify-content: space-between;
  position: relative;
  z-index: 60;
}

.storm-header__logo {
  display: block;
  flex: 0 0 auto;
  max-width: 160px;
}

.storm-header__logo img {
  display: block;
  height: 56px;
  width: 160px;
}

.storm-nav {
  align-items: stretch;
  align-self: stretch;
  display: flex;
  gap: 44px;
  justify-content: flex-end;
}

.storm-nav__item,
.storm-nav__link {
  align-items: center;
  color: var(--storm-text) !important;
  display: flex;
  font-size: 16px;
  font-weight: 500;
  height: 120px;
  position: relative;
  transition: color 0.2s ease;
}

.storm-nav__link:hover,
.storm-nav__trigger:hover,
.storm-nav__trigger.is-active {
  color: var(--storm-navy) !important;
}

.storm-nav__trigger {
  align-items: center;
  align-self: stretch;
  display: flex;
  position: relative;
}

.storm-nav__trigger.is-active {
  color: var(--storm-orange) !important;
}

.storm-nav__trigger.is-active::before {
  background: var(--storm-orange);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

.storm-nav__chevron {
  border-bottom: 1.5px solid var(--storm-navy);
  border-right: 1.5px solid var(--storm-navy);
  display: block;
  height: 6px;
  margin-left: 10px;
  margin-top: -4px;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  width: 6px;
}

.storm-nav__trigger.is-active .storm-nav__chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}

.storm-megas {
  left: 0;
  position: absolute;
  right: 0;
  top: 168px;
  z-index: 55;
}

.storm-mega,
.storm-search-panel {
  background: var(--storm-white);
  box-shadow: 0 8px 128px -34px rgba(84, 102, 119, 0.28);
  display: none;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.storm-mega.is-active,
.storm-search-panel.is-active {
  animation: storm-panel-in 0.18s ease both;
  display: block;
}

@keyframes storm-panel-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.storm-mega {
  padding-block: 77px 96px;
}

.storm-mega__grid {
  display: grid;
}

.storm-mega__grid--two {
  gap: 103px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.storm-mega__grid--four {
  column-gap: 40px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 56px;
}

.storm-mega__group--wide {
  grid-column: span 2;
}

.storm-mega__group h2 {
  color: var(--storm-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.storm-mega__links {
  display: grid;
  gap: 8px 35px;
}

.storm-mega__links--columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.storm-mega__links a {
  color: #4c4c4c;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.storm-mega__links a:hover {
  color: var(--storm-orange);
}

.storm-search-panel {
  padding-block: 54px;
}

.storm-search-panel__form input {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(84, 102, 119, 0.35);
  border-radius: 0;
  color: var(--storm-navy);
  font-family: var(--storm-font);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
  padding: 12px 0 16px;
  width: 100%;
}

.storm-search-panel__form input::placeholder {
  color: var(--storm-navy);
  opacity: 1;
}

.storm-search-panel__form input:focus {
  border-color: var(--storm-orange);
  outline: 0;
}

.storm-overlay {
  background: rgba(151, 170, 187, 0.5);
  display: block;
  inset: 168px 0 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.2s linear;
  visibility: hidden;
  z-index: 50;
}

.storm-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.storm-header__burger,
.storm-mobile-menu {
  display: none;
}

/* Footer */
.storm-footer {
  border-top: 1px solid rgba(151, 170, 187, 0.4);
  position: relative;
}

.storm-footer__top {
  padding-top: 116px;
  position: relative;
}

.storm-footer__top::after {
  background-image: url("https://www.storm.ie/assets/images/design/orange_lines_big.png");
  background-size: cover;
  content: "";
  height: 153px;
  pointer-events: none;
  position: absolute;
  right: 25px;
  top: -41px;
  width: 94px;
}

.storm-footer__heading-row {
  align-items: center;
  display: flex;
  margin-bottom: 63px;
}

.storm-footer__heading-row h2 {
  color: var(--storm-navy);
  font-size: 35px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0;
}

.storm-footer__socials {
  display: flex;
  gap: 5px;
  margin-left: 30px;
}

.storm-footer__socials a {
  align-items: center;
  border: 1px solid rgba(84, 102, 119, 0.15);
  border-radius: 2px;
  display: flex;
  height: 31px;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease;
  width: 31px;
}

.storm-footer__socials a:first-child { color: #0e76a8; }
.storm-footer__socials a:last-child { color: #111; }
.storm-footer__socials a:hover { border-color: currentColor; color: var(--storm-orange); }

.storm-footer__socials svg {
  fill: currentColor;
  height: 14px;
  width: 14px;
}

.storm-footer__offices {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.storm-footer__office h3 {
  color: var(--storm-navy);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 20px;
}

.storm-footer__office a {
  color: var(--storm-text);
  display: block;
  font-size: 16px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.storm-footer__office a + a {
  margin-top: 24px;
}

.storm-footer__office a:hover {
  color: #656565;
}

.storm-footer__contact-link {
  color: var(--storm-orange) !important;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 12px;
  margin-top: 21px;
  transition: color 0.2s ease;
}

.storm-footer__contact-link span {
  font-size: 22px;
  font-weight: 400;
  line-height: 0.95;
}

.storm-footer__contact-link:hover {
  color: var(--storm-orange-light) !important;
}

.storm-footer__accreditations {
  align-items: center;
  border-bottom: 1px solid rgba(84, 102, 119, 0.2);
  display: flex;
  justify-content: space-between;
  padding-block: 30px;
}

.storm-footer__accreditations > div {
  max-width: 180px;
}

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

.storm-footer__bottom {
  padding-block: 30px 45px;
}

.storm-footer__bottom-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.storm-footer__bottom p,
.storm-footer__legal a {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

.storm-footer__bottom p {
  color: var(--storm-text);
  flex: 0 0 auto;
}

.storm-footer__legal {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 38px;
  justify-content: flex-end;
  margin-left: 40px;
}

.storm-footer__legal a {
  color: var(--storm-text);
  transition: color 0.2s ease;
}

.storm-footer__legal a:hover {
  color: #4c4c4c;
}

@media (max-width: 1023px) {
  .storm-container {
    max-width: 800px;
  }

  .storm-header__main {
    height: 120px;
  }

  .storm-nav,
  .storm-mega {
    display: none;
  }

  .storm-header__utility,
  .storm-header__main {
    z-index: 86;
  }

  .storm-megas {
    top: 168px;
    z-index: 85;
  }

  .storm-header__burger {
    display: flex;
    flex-direction: column;
    gap: 7px;
    position: absolute;
    right: var(--storm-gutter);
    top: 49px;
    width: 30px;
  }

  .storm-header__burger span {
    background: var(--storm-navy);
    display: block;
    height: 3px;
    margin-left: auto;
    transition: background-color 0.2s ease;
    width: 30px;
  }

  .storm-header__burger span:nth-child(2) {
    width: 20px;
  }

  .storm-header__burger:hover span {
    background: var(--storm-orange);
  }

  .storm-overlay {
    inset: 0;
    z-index: 80;
  }

  .storm-mobile-menu {
    display: block;
    height: 100%;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transform: translateX(100%);
    transition: opacity 0.35s ease, transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    visibility: hidden;
    width: 100%;
    z-index: 90;
  }

  .storm-mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
  }

  .storm-mobile-menu__inner {
    background: var(--storm-white);
    height: 100%;
    margin-left: auto;
    overflow: hidden;
    width: 400px;
  }

  .storm-mobile-menu__close {
    height: 32px;
    position: absolute;
    right: 28px;
    top: 31px;
    width: 32px;
    z-index: 3;
  }

  .storm-mobile-menu__close::before,
  .storm-mobile-menu__close::after {
    background: var(--storm-navy);
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: background-color 0.2s ease;
    width: 27px;
  }

  .storm-mobile-menu__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .storm-mobile-menu__close:hover::before,
  .storm-mobile-menu__close:hover::after {
    background: var(--storm-orange);
  }

  .storm-mobile-nav {
    height: 100%;
    overflow: hidden;
    padding: 123px 32px 40px;
    position: relative;
  }

  .storm-mobile-nav__panel {
    display: flex;
    flex-direction: column;
    inset: 123px 32px 40px;
    opacity: 0;
    overflow-x: hidden;
    overflow-y: auto;
    pointer-events: none;
    position: absolute;
    transform: translateX(120%);
    transition: opacity 0.3s ease, transform 0.6s ease;
    visibility: hidden;
  }

  .storm-mobile-nav__panel.is-current {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
  }

  .storm-mobile-nav__panel.is-past {
    opacity: 0;
    transform: translateX(-120%);
    visibility: hidden;
  }

  .storm-mobile-nav__item,
  .storm-mobile-nav__subitem,
  .storm-mobile-nav__back {
    flex: 0 0 auto;
    text-align: left;
  }

  .storm-mobile-nav__item {
    color: var(--storm-navy) !important;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 29px !important;
    padding-right: 25px !important;
    position: relative;
    transition: color 0.2s ease;
  }

  .storm-mobile-nav__item:hover,
  .storm-mobile-nav__subitem:hover,
  .storm-mobile-nav__back:hover {
    color: var(--storm-orange) !important;
  }

  .storm-mobile-nav__item--next::after {
    border-right: 1.5px solid var(--storm-text);
    border-top: 1.5px solid var(--storm-text);
    content: "";
    height: 7px;
    position: absolute;
    right: 2px;
    top: 9px;
    transform: rotate(45deg);
    width: 7px;
  }

  .storm-mobile-nav__utility {
    border-top: 1px solid var(--storm-border);
    display: flex;
    gap: 32px;
    margin-top: 7px;
    padding-top: 33px;
  }

  .storm-mobile-nav__utility a {
    color: var(--storm-text);
    font-size: 14px;
  }

  .storm-mobile-nav__back {
    border-bottom: 1px solid var(--storm-border) !important;
    color: var(--storm-navy) !important;
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 25px !important;
    padding: 0 0 12px 24px !important;
    position: relative;
  }

  .storm-mobile-nav__back::before {
    border-bottom: 1.5px solid currentColor;
    border-left: 1.5px solid currentColor;
    content: "";
    height: 7px;
    left: 2px;
    position: absolute;
    top: 9px;
    transform: rotate(45deg);
    width: 7px;
  }

  .storm-mobile-nav__subitem {
    color: var(--storm-text) !important;
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 16px;
    transition: color 0.2s ease;
  }

  body.storm-mobile-open {
    overflow: hidden;
  }

  .storm-footer__top {
    padding-top: 110px;
  }

  .storm-footer__offices {
    gap: 40px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .storm-footer__accreditations {
    gap: 30px;
  }

  .storm-footer__bottom {
    padding-block: 90px 45px;
  }

  .storm-footer__bottom-inner {
    flex-direction: column;
  }

  .storm-footer__bottom p {
    margin-bottom: 20px;
  }

  .storm-footer__legal {
    justify-content: flex-start;
    margin-left: 0;
  }
}

@media (max-width: 639px) {
  .storm-header__utility {
    border-bottom: 0;
    height: 0;
    min-height: 0;
    position: static;
  }

  .storm-megas {
    top: 100px;
  }

  .storm-header__utility-inner {
    min-height: 0;
    padding: 0;
  }

  .storm-header__utility-nav {
    display: none;
  }

  .storm-header__search-toggle {
    left: 25px;
    margin: 0 !important;
    position: absolute;
    top: 26px;
    z-index: 62;
  }

  .storm-header__main {
    height: 100px;
    justify-content: center;
    padding-bottom: 25px;
    padding-top: 25px;
    justify-content: space-between;
  }

  .storm-header__logo {
    max-width: 120px;
  }

  .storm-header__logo img {
    height: auto;
    width: 120px;
  }

  .storm-header__burger {
    top: 32px;
  }

  .storm-mobile-menu__inner {
    max-width: 340px;
    width: 100%;
  }

  .storm-footer__top::after {
    height: 121px;
    right: 15px;
    width: 75px;
  }

  .storm-footer__heading-row {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .storm-footer__heading-row h2 {
    font-size: 27px;
  }

  .storm-footer__socials {
    margin-left: 0;
    margin-top: 20px;
  }

  .storm-footer__offices {
    gap: 39px;
    grid-template-columns: 1fr;
  }

  .storm-footer__office h3 {
    font-size: 19px;
    margin-bottom: 13px;
  }

  .storm-footer__office a {
    font-size: 14px;
  }

  .storm-footer__office a + a {
    margin-top: 18px;
  }

  .storm-footer__accreditations > div {
    max-width: min(42%, 160px);
  }

  .storm-footer__bottom p,
  .storm-footer__legal a {
    font-size: 12px;
  }

  .storm-footer__bottom {
    padding: 20px;
  }

  .notifications-container {
    max-width: 125px !important;
  }

  .storm-footer__legal {
    gap: 5px 25px;
  }

  .storm-footer__legal a {
    line-height: 2.4;
  }

  .nav-links {
    gap: 15px;
    font-size: smaller;
  }

  .hero__cta {
    margin: 0px !important;
  }

  .hero__content.full-width {
    width: 100% !important;
  }

}

@media (max-height: 650px) and (max-width: 1023px) {
  .storm-mobile-nav {
    padding-top: 84px;
  }

  .storm-mobile-nav__panel {
    top: 84px;
  }

  .storm-mobile-nav__item {
    margin-bottom: 10px !important;
  }

  .storm-mobile-nav__subitem {
    margin-bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .storm-header *,
  .storm-header *::before,
  .storm-header *::after,
  .storm-footer *,
  .storm-footer *::before,
  .storm-footer *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
