/* Visual system for the six inner pages. */
.inner-page { color: var(--ink); background: #f8faf9; }
.inner-page .container { max-width: 1240px; }
.inner-page .ambient { opacity: .45; }
.inner-page main > section { margin-top: 0; }
.inner-page main > section[id] { scroll-margin-top: 5rem; }

.inner-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 78% 12%, #e3f1ee 0%, transparent 35%), linear-gradient(135deg, #fbfcf9 0%, #eff5f2 100%);
  border-bottom: 1px solid var(--line);
}
.inner-hero::before {
  content: "";
  position: absolute;
  width: 660px;
  height: 660px;
  border: 1px solid rgba(129, 166, 161, .35);
  border-radius: 50%;
  right: -240px;
  top: -360px;
}
.inner-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .8fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-top: clamp(4.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
}
.inner-hero-copy { max-width: 700px; min-width: 0; }
.inner-hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(3.5rem, 5.8vw, 6.1rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.055em;
  margin: 1.25rem 0 1.5rem;
}
.inner-hero h1 em { color: #d96542; font-style: normal; }
.inner-lede { max-width: 595px; color: #4d6067; font-size: clamp(1.04rem, 1.35vw, 1.18rem); line-height: 1.8; }
.inner-hero .home-actions { margin-top: 2rem; }

.inner-feature {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  padding: 2rem;
  border-radius: 1.4rem;
  color: #fff;
  background: radial-gradient(circle at 85% 10%, rgba(79,153,154,.26), transparent 38%), linear-gradient(145deg, #173e48, #102831);
  box-shadow: 0 26px 55px rgba(27, 62, 70, .18);
}
.inner-feature::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  right: -95px;
  bottom: 45px;
  box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.02);
  pointer-events: none;
}
.inner-feature-top, .inner-feature-tags, .inner-feature-content { position: relative; z-index: 1; }
.inner-feature-top { display: flex; align-items: center; gap: .65rem; color: #b6d7d6; font-size: .72rem; letter-spacing: .16em; font-weight: 700; }
.inner-feature-top > span:last-child { margin-left: auto; color: #88adb1; white-space: nowrap; }
.inner-feature-content { max-width: 350px; }
.inner-feature-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.25rem; border-radius: 1rem; color: #f4a585; background: rgba(255,255,255,.08); font-size: 1.45rem; }
.inner-feature-label { color: #abcccf; font-size: .84rem; font-weight: 700; margin-bottom: .6rem; }
.inner-feature h2 { display: block; border: 0; padding: 0; margin: 0 0 .85rem; color: #fff; font-family: Fraunces, Georgia, serif; font-size: clamp(2rem, 2.6vw, 2.45rem); line-height: 1.18; letter-spacing: -.025em; font-weight: 500; }
.inner-feature-content > p:last-child { color: #bed2d5; font-size: .92rem; line-height: 1.6; }
.inner-feature-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.inner-feature-tags span { border: 1px solid rgba(255,255,255,.18); color: #c9dddf; font-size: .73rem; padding: .3rem .6rem; border-radius: 99px; }
.inner-feature-number { display: block; color: #f2a383; font-family: Fraunces, Georgia, serif; font-size: 6.5rem; line-height: 1; letter-spacing: -.075em; }
.inner-feature-screen { height: 160px; overflow: hidden; border-radius: .7rem; border: 1px solid rgba(255,255,255,.2); margin-bottom: 1.25rem; background: #111e20; }
.inner-feature-screen img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }
.inner-feature-projects h2 { font-size: clamp(1.8rem, 2.3vw, 2.25rem); }
.inner-feature-email { display: inline-flex; align-items: center; gap: .5rem; color: #f3b193; font-weight: 700; font-size: .95rem; text-decoration: none; overflow-wrap: anywhere; }
.inner-feature-email:hover { color: #fff; }

.inner-page main > section.container { padding-top: clamp(4rem, 6vw, 6rem); padding-bottom: 1rem; }
.inner-page main > section.cta { padding-top: 4.5rem; padding-bottom: 5.5rem; }
.inner-page .section-header { margin-bottom: 2.3rem; }
.inner-page .section-header h2, .inner-page #skills > h2, .inner-page #certifications > h2 {
  display: block;
  border: 0;
  padding: 0;
  margin: 0 0 .65rem;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.15;
  letter-spacing: -.04em;
  font-weight: 500;
}
.inner-page .section-header h2 i, .inner-page #skills > h2 i, .inner-page #certifications > h2 i { display: none; }
.inner-page #skills > h2, .inner-page #certifications > h2 { margin-bottom: 2rem; }
.inner-page .section-tag { color: #bc5435; font-size: .73rem; letter-spacing: .16em; margin-bottom: .7rem; }
.inner-page .section-intro { color: #617178; max-width: 620px; line-height: 1.75; }

.inner-page .cta-card { border: 0; border-radius: 1.25rem; background: #153743; color: #fff; padding: clamp(2rem, 4vw, 3rem); box-shadow: 0 22px 45px rgba(17,53,64,.16); }
.inner-page .cta-card h2 { display: block; color: #fff; border: 0; padding: 0; margin: 0 0 .5rem; font-family: Fraunces, Georgia, serif; font-size: clamp(2rem, 3vw, 3rem); font-weight: 500; letter-spacing: -.035em; }
.inner-page .cta-card p { color: #bed2d5; max-width: 560px; }
.inner-page .cta-card .primary-action { color: #153743 !important; background: #efad8d; }
.inner-page footer { background: #102e38; color: #bdd2d3; border-top: 0; margin-top: 0; }
.inner-page footer a { color: #fff; }

/* Experience */
.inner-page .experience-grid { gap: 1.1rem; }
.inner-page .exp-card { grid-template-columns: minmax(210px, .7fr) minmax(0, 1.7fr); border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 12px 35px rgba(26,56,61,.05); padding: clamp(1.5rem, 2.6vw, 2.25rem); }
.inner-page .exp-card:first-child { border-color: #bed7d2; background: linear-gradient(110deg, #f3f9f6, #fff 45%); }
.inner-page .exp-badge, .inner-page .exp-utilities .exp-badge, .inner-page .exp-dev .exp-badge, .inner-page .exp-network .exp-badge, .inner-page .exp-finance .exp-badge { width: 48px; height: 48px; border-radius: .8rem; background: #e8f1ee; color: #285b61; font-size: 1.15rem; }
.inner-page .exp-company h3 { font-family: Fraunces, Georgia, serif; font-size: 1.45rem; letter-spacing: -.025em; font-weight: 500; line-height: 1.2; }
.inner-page .exp-company span { color: #b45335; font-weight: 700; }
.inner-page .exp-meta { color: #697d82; }
.inner-page .exp-focus span { color: #36565d; background: #eaf2f0; border-color: #d7e7e3; }
.inner-page .exp-right { gap: 1rem; }
.inner-page .exp-right > p { color: #40565e; font-size: 1.03rem; }
.inner-page .exp-highlights { gap: .45rem; }
.inner-page .exp-highlights p { position: relative; padding-left: 1rem; color: #5b6e75; }
.inner-page .exp-highlights p::before { content: ""; position: absolute; left: 0; top: .72rem; width: 5px; height: 5px; border-radius: 50%; background: #d96542; }
.inner-page .exp-tags span { color: #36565d; background: #f1f6f4; border-color: #dce8e4; font-size: .78rem; padding: .35rem .65rem; }

/* Projects */
.inner-page .highlights { gap: 1rem; }
.inner-page .highlight-card { border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 12px 35px rgba(26,56,61,.05); padding: 1.5rem; }
.inner-page .highlight-icon { width: 48px; height: 48px; flex: 0 0 48px; background: #e8f1ee; color: #285b61; }
.inner-page .highlight-card h3 { color: var(--ink); margin-bottom: .35rem; }
.inner-page .highlight-card p { color: #617178; font-size: .88rem; }
.inner-page .case-editorial { gap: 1.25rem; }
.inner-page .editorial-case { grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr); border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 15px 36px rgba(26,56,61,.06); padding: clamp(1.5rem, 2.6vw, 2.3rem); }
.inner-page .editorial-kicker { color: #b45335; }
.inner-page .editorial-main h3 { font-family: Fraunces, Georgia, serif; color: var(--ink); font-size: clamp(1.9rem, 2.5vw, 2.6rem); letter-spacing: -.03em; font-weight: 500; }
.inner-page .editorial-summary { color: #587077; }
.inner-page .editorial-body { gap: .85rem; }
.inner-page .editorial-body h4 { color: #a94d32; }
.inner-page .editorial-body p { color: #455c63; }
.inner-page .aside-panel { background: #eff5f2; border-color: #dce8e4; }
.inner-page .aside-title { color: var(--ink); }
.inner-page .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inner-page .facts-grid strong { color: #275560; }
.inner-page .case-screenshot { border-color: #dce8e4; }
.inner-page .case-tags span { background: #eff5f2; border-color: #dce8e4; color: #36565d; }
.inner-page .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.inner-page .project-card { display: flex; flex-direction: column; min-height: 250px; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 12px 35px rgba(26,56,61,.05); padding: 1.4rem; }
.inner-page .project-card::after { display: none; }
.inner-page .project-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(26,56,61,.1); }
.inner-page .project-card h4 { color: var(--ink); font-family: Fraunces, Georgia, serif; font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }
.inner-page .project-header p { color: #617178; font-size: .85rem; }
.inner-page .project-icon { color: #285b61; background: #e8f1ee; }
.inner-page .project-tags { margin-top: auto; padding-top: 1rem; }
.inner-page .project-tags span { color: #446168; background: #eff5f2; border-color: #dce8e4; }
.inner-page .project-actions { padding-top: .55rem; }
.inner-page .project-quick, .inner-page .project-card a { border-radius: .65rem; font-size: .78rem; padding: .45rem .7rem; }
.inner-page .project-quick { color: #285b61; background: #eaf2f0; border-color: #d0e0dc; }
.inner-page .project-card a { color: #fff; background: #28535e; border-color: #28535e; }
.inner-page .project-card a:hover { color: #fff; background: #153743; }

/* Education */
.inner-page .edu-layout { gap: 1.15rem; }
.inner-page .edu-row { grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); gap: 1rem; }
.inner-page .edu-node, .inner-page .edu-panel { border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 12px 35px rgba(26,56,61,.05); }
.inner-page .edu-node { padding: 1.7rem; height: 100%; }
.inner-page .edu-node::after { border: 0; border-top: 4px solid #d96542; }
.inner-page .edu-dot { display: none; }
.inner-page .edu-node-body h3 { color: var(--ink); font-family: Fraunces, Georgia, serif; font-size: 1.6rem; font-weight: 500; line-height: 1.3; }
.inner-page .edu-node-body h3 i { display: none; }
.inner-page .edu-level { color: #b45335; }
.inner-page .edu-meta { color: #647981; }
.inner-page .edu-panels { gap: 1rem; }
.inner-page .edu-panel { padding: 1.5rem; }
.inner-page .edu-panel h4 { color: #315b62; }
.inner-page .edu-panel h4 i { color: #d96542; }
.inner-page .edu-panel p, .inner-page .edu-abstract p { color: #566d74; }
.inner-page .edu-link { color: #28535e; background: #eaf2f0; border-color: #d0e0dc; }
.inner-page .module-grid span { color: #49636a; background: #f1f6f4; border-color: #e0ebe7; }

/* Skills and credentials */
.inner-page .skills-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.inner-page .skill-category { border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 12px 35px rgba(26,56,61,.05); padding: 1.7rem; }
.inner-page .skill-category h3 { color: var(--ink); font-family: Fraunces, Georgia, serif; font-size: 1.3rem; font-weight: 500; line-height: 1.3; margin-bottom: 1.3rem; }
.inner-page .skill-category h3 i { color: #d96542; }
.inner-page .skill-list span { color: #36565d; background: #eff5f2; border-color: #dce8e4; font-size: .81rem; }
.inner-page .cert-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: credential; }
.inner-page .cert-list li { counter-increment: credential; display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; border: 1px solid var(--line); border-radius: 1rem; margin: 0; padding: 1.7rem; background: #fff; color: var(--ink); box-shadow: 0 12px 35px rgba(26,56,61,.05); font-family: Fraunces, Georgia, serif; font-size: 1.3rem; line-height: 1.35; }
.inner-page .cert-list li::before { content: "0" counter(credential) " / MICROSOFT"; color: #b45335; font-family: "Space Grotesk", sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .12em; margin-bottom: 2rem; }

/* Contact */
.inner-page .contact-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; }
.inner-page .contact-info h2, .inner-page .contact-form h2 { display: block; border: 0; padding: 0; font-family: Fraunces, Georgia, serif; font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.inner-page .contact-info h2 i, .inner-page .contact-form h2 i { display: none; }
.inner-page .contact-info > p { color: #617178; max-width: 480px; }
.inner-page .contact-card, .inner-page .contact-form { border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 12px 35px rgba(26,56,61,.05); }
.inner-page .contact-card { padding: 1rem 1.15rem; }
.inner-page .contact-card > i { color: #285b61; width: 35px; }
.inner-page .contact-card span { color: #9c563e; }
.inner-page .contact-card a, .inner-page .contact-card p { color: #24444c; }
.inner-page .availability { border: 1px solid #d4e8df; background: #eff7f2; }
.inner-page .availability span { color: #376758; }
.inner-page .contact-form { padding: clamp(1.5rem, 2.5vw, 2.2rem); }
.inner-page .form-direct-email { color: #617178; margin: .4rem 0 1.5rem; }
.inner-page .form-direct-email a { color: #28535e; font-weight: 700; overflow-wrap: anywhere; }
.inner-page .form-note { min-height: 1.5rem; margin-top: .9rem; color: #566d74; }
.inner-page .form-note.form-error { color: #9c3f2c; }
.inner-page .form-note.form-success { color: #376758; font-weight: 700; }
.inner-page .form-fallback { display: inline-flex; align-items: center; gap: .55rem; margin-top: .75rem; color: #28535e; font-weight: 700; }
.inner-page .form-fallback[hidden] { display: none; }
.inner-page .form-field input, .inner-page .form-field textarea { background: #f8faf9; border-color: #dce6e3; }
.inner-page .form-field input:focus, .inner-page .form-field textarea:focus { border-color: #8bb8a9; box-shadow: 0 0 0 3px rgba(84,142,122,.12); }
.inner-page .contact-form .btn-send { border: 0; border-radius: .75rem; color: #fff; background: #183e48; box-shadow: 0 14px 30px rgba(24,62,72,.16); font-family: inherit; font-size: .95rem; cursor: pointer; }

@media (max-width: 1050px) {
  .inner-page .project-grid, .inner-page .skills-grid, .inner-page .cert-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .inner-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .inner-feature { min-height: 370px; }
  .inner-page .editorial-case, .inner-page .edu-row, .inner-page .contact-layout { grid-template-columns: 1fr; }
  .inner-page .exp-card { grid-template-columns: minmax(180px, .6fr) minmax(0, 1.4fr); }
}
@media (max-width: 768px) {
  .inner-hero-grid { padding-top: 3.5rem; padding-bottom: 4rem; }
  .inner-hero h1 { font-size: clamp(3.1rem, 11vw, 4.8rem); }
  .inner-page main > section.container { padding-top: 4rem; }
  .inner-page .exp-card { grid-template-columns: 1fr; }
  .inner-page .project-grid, .inner-page .skills-grid, .inner-page .cert-list { grid-template-columns: 1fr; }
  .inner-page .cert-list li { min-height: 170px; }
  .inner-page .cta-card { align-items: start; }
}
@media (max-width: 480px) {
  .inner-hero h1 { font-size: clamp(2.8rem, 12vw, 3.45rem); }
  .inner-hero .home-actions { flex-direction: column; align-items: stretch; }
  .inner-hero .home-actions a { width: 100%; }
  .inner-feature { padding: 1.5rem; min-height: 360px; }
  .inner-feature h2 { font-size: 1.9rem; }
  .inner-feature-screen { height: 125px; }
  .inner-page .exp-card, .inner-page .editorial-case, .inner-page .skill-category, .inner-page .cert-list li { padding: 1.35rem; }
  .inner-page .facts-grid { grid-template-columns: 1fr 1fr; }
}
