@font-face {
  font-family: "IIC Seal";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../fonts/roboto-900-preloader.ttf") format("truetype");
}

/* IIC Investments overrides */
:root,
[data-theme="home-1"] {
  --theme-heading-font: "Frank Ruhl Libre", "Playfair Display", serif;
  --theme-paragraph-font: "Roboto", sans-serif;
  --theme-imperial-font: "Frank Ruhl Libre", "Playfair Display", serif;
}

.ot-breadcrumb-title .imperial-text {
  font-family: var(--theme-heading-font);
  font-style: normal;
  font-weight: 600;
}

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  font-family: var(--theme-paragraph-font);
}
.ot-header-one .row > [class*="col-"]:first-child {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

.ot-header-one .ot-logo,
.ot-mobile-menu-top .ot-logo {
  display: block;
  width: 460px !important;
  height: 100px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  object-position: left center;
  background: none !important;
  padding: 0;
  border-radius: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.ot-header.header-sticky .ot-logo,
.ot-mobile-menu-top .ot-logo {
  background: none !important;
}

.ot-footer-one .footer-about-widget {
  overflow: visible;
}

.footer-brand-logo {
  display: block;
  width: 100% !important;
  max-width: 460px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
  object-position: left center;
  background: none;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

@media (min-width: 1200px) {
  .ot-header-one .ot-logo {
    width: 540px !important;
    height: 118px !important;
  }
}

@media (max-width: 991px) {
  .ot-header-one .ot-logo,
  .ot-mobile-menu-top .ot-logo {
    width: 360px !important;
    height: 80px !important;
  }
}

@media (max-width: 575px) {
  .ot-header-one .ot-logo,
  .ot-mobile-menu-top .ot-logo {
    width: 300px !important;
    height: 70px !important;
  }
}

.ot-header-one .ot-header-menu > li > a {
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.iicd-lang {
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 99px;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 1399px) {
  .ot-header-one .ot-header-menu > li > a {
    padding: 0.4rem 0.5rem;
    font-size: 0.82rem;
  }
}

.iicd-lang:hover {
  background: #fff;
  color: #1a1a1a;
}

.iicd-prose p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.iicd-prose h3,
.iicd-prose h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.iicd-prose ul,
.iicd-prose ol {
  margin: 0 0 1rem 1.1rem;
}

.iicd-prose li {
  margin-bottom: 0.4rem;
}

.iicd-service-block {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.iicd-service-block-thumb {
  margin: 0;
}

.iicd-service-block-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.iicd-service-block-body {
  padding: 1.15rem 1.35rem 1.4rem;
}

.iicd-service-block-body h4 {
  margin: 0 0 0.55rem;
}

.iicd-service-block-body p {
  margin: 0;
  line-height: 1.65;
}

.iicd-prose figure {
  margin: 1.5rem 0 1.75rem;
}

.iicd-prose figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.iicd-prose figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #5b5b5b;
}

.iicd-prose .iicd-callout {
  margin: 1.5rem 0;
  padding: 1.2rem 1.4rem;
  background: #142929;
  color: #fff;
  border-radius: 12px;
  border-left: 4px solid #98643E;
}

.iicd-prose .iicd-callout p {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.iicd-ceo-photo {
  max-width: 260px;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.iicd-office-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.iicd-office-card h4 {
  margin-bottom: 0.75rem;
}

.amenities-item-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-details-main-thumb img,
.service-details-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-item-thumb img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
}

.ot-banner-title {
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* Selected projects: style--two titles are dark, unreadable on green */
.bg-theme-secondary .amenities-item.style--two .amenities-item-title,
.bg-theme-secondary .amenities-item.style--two .amenities-item-title a,
.ot-cottage-section .amenities-item.style--two .amenities-item-title,
.ot-cottage-section .amenities-item.style--two .amenities-item-title a {
  color: #e8d5a3 !important;
}

.bg-theme-secondary .amenities-item.style--two .amenities-item-content p,
.ot-cottage-section .amenities-item.style--two .amenities-item-content p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.ot-footer-one .single-contact-info .icon i {
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}

/* Hero slider: fixed viewport height so pagination does not jump */
.ot-banner-slider-one {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 100vh;
  overflow: hidden;
}

.ot-banner-slider-one .slick-list,
.ot-banner-slider-one .slick-track,
.ot-banner-slider-one .slick-slide,
.ot-banner-slider-one .slick-slide > div,
.ot-banner-slider-one .banner-item-one {
  height: 100% !important;
}

.ot-banner-slider-one .slick-slide > div {
  display: flex !important;
}

.ot-banner-slider-one .banner-item-one {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
  padding-top: 8.5rem !important;
  padding-bottom: 3.25rem !important;
}

.ot-banner-slider-one .banner-item-one .container {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: auto;
}

.ot-banner-slider-one .banner-item-one .banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ot-banner-slider-one .slick-dots {
  position: absolute !important;
  bottom: 1.75rem !important;
  right: 1.5rem !important;
  left: auto !important;
  width: auto !important;
  transform: none !important;
  z-index: 3;
}

@media (min-width: 1200px) {
  .ot-banner-slider-one .slick-dots {
    right: calc((100% - 1140px) / 2) !important;
  }
}

@media (min-width: 1400px) {
  .ot-banner-slider-one .slick-dots {
    right: calc((100% - 1320px) / 2) !important;
  }
}

/* IIC terminal preloader */
.ot-preloader {
  --iicd-gold: #e9c877;
  --iicd-gold-lite: #fff4d3;
  --iicd-gold-deep: #a07a38;
  --iicd-up: #57d69a;
  --iicd-down: #d9585a;
  --iicd-mono: "Roboto Mono", ui-monospace, "SFMono-Regular", "Consolas", "Menlo", monospace;
  align-items: stretch;
  justify-content: stretch;
  padding: clamp(1.1rem, 3.2vw, 2.6rem);
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background:
    radial-gradient(60% 45% at 50% 42%, rgba(233, 200, 119, 0.09), transparent 70%),
    linear-gradient(180deg, #080b0e, rgba(4, 6, 7, 0) 60%),
    #06080a !important;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.7s cubic-bezier(0.85, 0, 0.15, 1);
}

.ot-preloader.iicd-loader-done {
  clip-path: inset(50% 0 50% 0);
}

/* engineering grid */
.ot-preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(233, 200, 119, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 200, 119, 0.055) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  -webkit-mask: radial-gradient(75% 70% at 50% 45%, #000 30%, transparent 100%);
  mask: radial-gradient(75% 70% at 50% 45%, #000 30%, transparent 100%);
}

/* slow scan sweep */
.ot-preloader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -32%;
  height: 32%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(233, 200, 119, 0.05) 60%, rgba(233, 200, 119, 0.11));
  animation: iicd-term-scan 6.5s linear infinite;
}

.ot-preloader .ot-cube,
.ot-preloader .ot-cube-grid,
.iicd-preloader-caption {
  display: none !important;
}

.iicd-term {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  animation: iicd-term-in 0.7s ease both;
}

.ot-preloader.iicd-loader-done .iicd-term {
  opacity: 0;
  transition: opacity 0.25s linear;
}

.iicd-term-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.iicd-term-brand {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--iicd-gold);
  line-height: 1.2;
}

.iicd-term-brand small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--iicd-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: rgba(232, 230, 225, 0.35);
}

.iicd-term-mono {
  font-family: var(--iicd-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 230, 225, 0.42);
  text-align: right;
}

.iicd-term-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.6vh, 2rem);
}

.iicd-term-chart {
  width: min(100%, 860px);
  height: auto;
  overflow: visible;
}

.iicd-term-grid {
  stroke: rgba(233, 200, 119, 0.13);
  stroke-width: 1;
}

.iicd-term-axis {
  stroke: rgba(233, 200, 119, 0.3);
  stroke-width: 1;
}

.iicd-term-candle { fill: rgba(233, 200, 119, 0.32); }
.iicd-term-candle.is-up { fill: rgba(87, 214, 154, 0.45); }
.iicd-term-candle.is-down { fill: rgba(217, 88, 90, 0.4); }

.iicd-term-trend {
  fill: none;
  stroke: url(#iicdTrendGrad);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(233, 200, 119, 0.5));
}

.iicd-term-halo {
  fill: rgba(233, 200, 119, 0.16);
  animation: iicd-term-pulse 1.8s ease-in-out infinite;
}

.iicd-term-dot {
  fill: var(--iicd-gold-lite);
  filter: drop-shadow(0 0 8px rgba(255, 244, 211, 0.9));
}

.iicd-term-readout {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(1.2rem, 5vw, 4rem);
  flex-wrap: wrap;
  text-align: center;
}

.iicd-term-label {
  font-family: var(--iicd-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 230, 225, 0.4);
  margin-bottom: 0.5rem;
}

.iicd-term-value {
  font-family: var(--iicd-mono);
  font-size: clamp(1.05rem, 2.4vw, 1.8rem);
  letter-spacing: 0.04em;
  color: #f4f1ea;
  font-variant-numeric: tabular-nums;
}

.iicd-term-value.is-gold { color: var(--iicd-gold); }
.iicd-term-value.is-up { color: var(--iicd-up); }

.iicd-term-blocks {
  display: flex;
  gap: 3px;
  width: min(100%, 620px);
}

.iicd-term-blocks i {
  flex: 1;
  height: 10px;
  background: rgba(233, 200, 119, 0.12);
  transition: background 0.16s linear, box-shadow 0.16s linear;
}

.iicd-term-blocks i.is-on {
  background: var(--iicd-gold);
  box-shadow: 0 0 10px rgba(233, 200, 119, 0.6);
}

.iicd-term-status {
  display: flex;
  justify-content: space-between;
  width: min(100%, 620px);
  font-family: var(--iicd-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 230, 225, 0.45);
}

.iicd-term-status b {
  color: var(--iicd-gold);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.iicd-term-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(233, 200, 119, 0.16);
  border-bottom: 1px solid rgba(233, 200, 119, 0.16);
  padding: 0.55rem 0;
}

.iicd-term-ticker-track {
  display: inline-flex;
  gap: 2.4rem;
  white-space: nowrap;
  font-family: var(--iicd-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 230, 225, 0.5);
  animation: iicd-term-marquee 26s linear infinite;
}

.iicd-term-ticker-track b {
  color: var(--iicd-up);
  font-weight: 500;
}

.iicd-term-ticker-track .is-down b { color: var(--iicd-down); }

@keyframes iicd-term-scan {
  to { top: 132%; }
}

@keyframes iicd-term-marquee {
  to { transform: translateX(-50%); }
}

@keyframes iicd-term-pulse {
  0%, 100% { r: 11; opacity: 0.5; }
  50% { r: 17; opacity: 0.12; }
}

@keyframes iicd-term-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  .iicd-term-head { flex-direction: column; gap: 0.5rem; }
  .iicd-term-mono { text-align: left; }
  .iicd-term-ticker { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ot-preloader::after,
  .iicd-term,
  .iicd-term-halo,
  .iicd-term-ticker-track {
    animation: none !important;
  }
}

.iicd-news-card {
  height: 100%;
}

.iicd-news-card .ot-blog-item-one-title a {
  -webkit-line-clamp: 3;
}

.iicd-news-kicker {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  color: #98643e;
  margin-bottom: 0.5rem;
}

.iicd-news-hero {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.iicd-news-aside {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.iicd-news-aside h4 {
  margin-bottom: 1rem;
}

.iicd-news-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.iicd-news-aside li + li {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(20, 41, 41, 0.08);
}

.iicd-news-aside a {
  font-weight: 600;
}

.iicd-news-aside p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.iicd-home-ceo-photo {
  position: relative;
}

.iicd-home-ceo-photo img {
  width: 100%;
  display: block;
}

.iicd-home-ceo-caption {
  position: absolute;
  left: 1.15rem;
  bottom: 1.15rem;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.iicd-home-ceo-caption strong {
  display: block;
  font-family: var(--theme-heading-font);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.iicd-home-ceo-caption span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.88rem;
  opacity: 0.92;
}

.iicd-offices-map-wrap {
  overflow: hidden;
  border-radius: 20px;
  /*! box-shadow: 0 18px 40px rgba(20, 41, 41, 0.28); */
}

.iicd-offices-map {
  display: block;
  width: 100%;
  height: auto;
}

.iicd-office-card {
  position: relative;
  overflow: hidden;
}

.iicd-office-card .iicd-office-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #98643e;
}

.iicd-office-card.is-hq {
  background: #142929;
  color: #f7efe4;
  box-shadow: 0 16px 32px rgba(20, 41, 41, 0.28);
}

.iicd-office-card.is-hq h4,
.iicd-office-card.is-hq a {
  color: #f5c518;
}

.iicd-office-card.is-hq .iicd-office-kicker {
  color: #f5c518;
}

.iicd-office-card.is-hq p {
  color: rgba(247, 239, 228, 0.88);
}

.iicd-council-photo {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.ot-blog-item-one .blog-date-month {
  width: auto;
  height: auto;
  min-width: 4.25rem;
  padding: 0.55rem 0.65rem;
}

.ot-blog-item-one .blog-date-month .blog-month {
  display: none;
}
