/* ==========================================================================
   INTERNSHIP PAGE — CUSTOM STYLES
   File: css/interns-custom.css
   Load this AFTER css/style.css so it can safely override/extend it.
   All rules are scoped under .intern-page so nothing here leaks onto
   the rest of the site, and nothing in style.css/grid.css can break it.
   ========================================================================== */

.intern-page {
  --ip-gold: #BA9C45;
  --ip-gold-dark: #9c8236;
  --ip-black: #14120f;
  --ip-ink: #221f1a;
  --ip-cream: #f6f3ec;
  --ip-line: #e4ded0;
  --ip-white: #ffffff;
  --ip-radius: 16px;
  --ip-shadow: 0 18px 40px rgba(20, 18, 15, 0.09);
  --ip-shadow-hover: 0 22px 50px rgba(20, 18, 15, 0.16);
  font-family: "Lato", Arial, Helvetica, sans-serif;
  color: var(--ip-ink);
  background: var(--ip-white);
  overflow-x: hidden;
}

.intern-page * {
  box-sizing: border-box;
}

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

.ip-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.ip-narrow {
  max-width: 820px;
}

.ip-section {
  padding: 84px 0;
}

.ip-white { background: var(--ip-white); }
.ip-cream { background: var(--ip-cream); }
.ip-black { background: var(--ip-black); }

.ip-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ip-gold);
  margin-bottom: 14px;
}

.ip-kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--ip-gold);
  margin-right: 10px;
  vertical-align: middle;
}

.ip-h2 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
  margin: 0 0 22px;
  color: var(--ip-black);
}

.ip-lead {
  font-size: 18px;
  line-height: 1.75;
  color: #3d3a34;
  margin: 0;
}

.ip-center { text-align: center; }
.ip-center .ip-kicker::before { display: none; }

/* ---------------------------------------------------------------------
   HERO
   --------------------------------------------------------------------- */
.ip-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.ip-hero-media {
  position: absolute;
  inset: 0;
  background-image: url("../images/intern1.jpg");
  background-size: cover;
  background-position: center 30%;
  z-index: -2;
}

.ip-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(20, 18, 15, 0.94) 0%, rgba(20, 18, 15, 0.82) 32%, rgba(20, 18, 15, 0.45) 62%, rgba(20, 18, 15, 0.15) 100%);
  z-index: -1;
}

.ip-hero-inner {
  padding: 150px 24px 110px;
  max-width: 760px;
}

.ip-hero .ip-kicker {
  color: var(--ip-gold);
}

.ip-hero-title {
  font-size: 46px;
  line-height: 1.18;
  font-weight: 900;
  color: #fff;
  margin: 0 0 22px;
  letter-spacing: -0.5px;
}

.ip-hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 0 36px;
}

.ip-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ip-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.ip-btn-gold {
  background: var(--ip-gold);
  color: var(--ip-black);
}

.ip-btn-gold:hover {
  background: var(--ip-black);
  color: var(--ip-gold);
  border-color: var(--ip-gold);
  transform: translateY(-2px);
}

.ip-btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.ip-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.ip-btn i {
  font-size: 14px;
}

/* ---------------------------------------------------------------------
   STATS STRIP (overlaps hero bottom edge)
   --------------------------------------------------------------------- */
.ip-stats-wrap {
  position: relative;
  z-index: 3;
  margin-top: -64px;
}

.ip-stats {
  background: var(--ip-white);
  border-radius: var(--ip-radius);
  box-shadow: var(--ip-shadow);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px 0;
}

.ip-stat {
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid var(--ip-line);
}

.ip-stat:last-child { border-right: none; }

.ip-stat i {
  font-size: 24px;
  color: var(--ip-gold);
  margin-bottom: 10px;
  display: block;
}

.ip-stat-num {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--ip-black);
  line-height: 1.2;
}

.ip-stat-label {
  display: block;
  font-size: 13px;
  color: #6b675e;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 4px;
}

/* ---------------------------------------------------------------------
   WHY COHEN COMMERCIAL
   --------------------------------------------------------------------- */
.ip-why {
  padding-top: 110px;
}

/* ---------------------------------------------------------------------
   WHAT YOU'LL DO — icon card grid
   --------------------------------------------------------------------- */
.ip-do-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.ip-do-card {
  background: var(--ip-white);
  border: 1px solid var(--ip-line);
  border-radius: var(--ip-radius);
  padding: 34px 28px;
  box-shadow: var(--ip-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ip-do-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ip-shadow-hover);
  border-color: var(--ip-gold);
}

.ip-do-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ip-black);
  color: var(--ip-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.ip-do-card:hover .ip-do-icon {
  background: var(--ip-gold);
  color: var(--ip-black);
}

.ip-do-card h4 {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 10px;
  color: var(--ip-black);
}

.ip-do-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #55524a;
  margin: 0;
}

/* ---------------------------------------------------------------------
   GROWTH MATTERS — callout
   --------------------------------------------------------------------- */
.ip-growth {
  position: relative;
}

.ip-growth-box {
  position: relative;
  background: var(--ip-black);
  border-radius: 22px;
  padding: 60px 64px;
  text-align: center;
  overflow: hidden;
}

.ip-growth-box::before {
  content: "\201C";
  position: absolute;
  top: -30px;
  left: 32px;
  font-family: Georgia, serif;
  font-size: 220px;
  color: rgba(186, 156, 69, 0.14);
  line-height: 1;
}

.ip-growth-box p {
  position: relative;
  font-size: 22px;
  line-height: 1.7;
  color: #fff;
  font-weight: 300;
  max-width: 760px;
  margin: 0 auto;
}

.ip-growth-box p strong {
  color: var(--ip-gold);
  font-weight: 900;
}

/* ---------------------------------------------------------------------
   REQUIREMENTS PLACEHOLDER (client to supply copy)
   --------------------------------------------------------------------- */
.ip-requirements-placeholder {
  border: 2px dashed var(--ip-line);
  border-radius: var(--ip-radius);
  padding: 40px;
  text-align: center;
  color: #948f80;
  font-style: italic;
  display: none; /* set to "block" once real content is dropped in below */
}

/* ---------------------------------------------------------------------
   APPLY CTA BANNER
   --------------------------------------------------------------------- */
.ip-cta {
  background: var(--ip-black);
  background-image: radial-gradient(circle at 18% 20%, rgba(186, 156, 69, 0.16), transparent 45%);
  padding: 90px 0;
}

.ip-cta-inner {
  text-align: center;
}

.ip-cta .ip-kicker { color: var(--ip-gold); }

.ip-cta h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 18px;
}

.ip-cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 34px;
}

/* ---------------------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------------------- */
.ip-testimonials {
  scroll-margin-top: 130px;
}

.ip-test-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}

.ip-test-card {
  background: var(--ip-white);
  border-radius: var(--ip-radius);
  padding: 30px 28px 26px;
  box-shadow: var(--ip-shadow);
  border-top: 3px solid var(--ip-gold);
  transition: box-shadow 0.3s ease;
  min-height: 378px;
}

.ip-test-card:hover {
  box-shadow: var(--ip-shadow-hover);
}

.ip-test-quote-icon {
  color: var(--ip-gold);
  font-size: 26px;
  margin-bottom: 12px;
  display: block;
}

.ip-test-text {
  font-size: 15px;
  line-height: 1.7;
  color: #443f36;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ip-test-card.is-expanded .ip-test-text {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.ip-test-toggle {
  background: none;
  border: none;
  padding: 0;
  color: var(--ip-gold-dark);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin-bottom: 18px;
}

.ip-test-toggle:hover {
  color: var(--ip-black);
  text-decoration: underline;
}

.ip-test-footer {
  border-top: 1px solid var(--ip-line);
  padding-top: 14px;
}

.ip-test-name {
  font-weight: 900;
  font-size: 15px;
  color: var(--ip-black);
  display: block;
}

.ip-test-role {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ip-gold-dark);
  background: rgba(186, 156, 69, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .ip-do-grid,
  .ip-test-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ip-hero-title { font-size: 38px; }
  .ip-growth-box { padding: 50px 36px; }
  .ip-growth-box p { font-size: 20px; }
}

@media (max-width: 768px) {
  .ip-section { padding: 60px 0; }
  .ip-why { padding-top: 80px; }
  .ip-hero { min-height: 560px; }
  .ip-hero-inner { padding: 130px 20px 90px; }
  .ip-hero-title { font-size: 30px; }
  .ip-hero-sub { font-size: 16px; }
  .ip-stats { grid-template-columns: repeat(2, 1fr); }
  .ip-stat { border-right: none; border-bottom: 1px solid var(--ip-line); }
  .ip-stat:nth-child(2n) { border-right: none; }
  .ip-do-grid,
  .ip-test-grid { grid-template-columns: 1fr; }
  .ip-h2 { font-size: 27px; }
  .ip-growth-box { padding: 40px 24px; }
  .ip-growth-box p { font-size: 18px; }
  .ip-growth-box::before { font-size: 140px; top: -14px; left: 14px; }
  .ip-cta h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .ip-hero-actions { flex-direction: column; align-items: stretch; }
  .ip-btn { justify-content: center; }
  .ip-stats { grid-template-columns: 1fr; }
  .ip-stat { border-bottom: 1px solid var(--ip-line); }
}
