/* =========================================
   1. ROOT VARIABLES
   Used throughout the website
   ========================================= */
:root {
  --ink: #172321;
  --ink-soft: #24332f;
  --paper: #f7f5ef;
  --paper-deep: #eeece3;
  --white: #fffefa;
  --gold: #b88b3b;
  --gold-light: #e6d3a6;
  --muted: #737a72;
  --line: #dedbd0;
  --serif: "DM Sans", Arial, sans-serif;
  --sans:"Playfair Display", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }



/* =========================================
   2. GENERAL PAGE STYLING
   HTML: <body>
   ========================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background-color: #faf9f6;
    color: #202d3d;
    font-family: Georgia, serif;
}

/* =========================================
   3. NAVBAR
   HTML: <nav class="navbar">
   ========================================= */
.navbar {
    height: 60px;
    padding: 0 8.5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #faf9f6;
    border-bottom: 1px solid #eae8e3;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-name {
    color: #202d3d;
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: bold;
}
.navbar-name span { color: var(--gold); }
.navbar-links {
    display: flex;
    align-items: center;
    gap: 25px;
}
.navbar-links a {
    color: #525966;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: color .3s ease;
}
.navbar-links a:hover { color: var(--gold); }
.connect-btn {
    border: 1px solid #e5e1db;
    padding: 11px 17px;
    border-radius: 30px;
}
.connect-btn span { color: var(--gold); margin-left: 5px; }

/* =========================================
   4. DROPDOWN MENU
   HTML: <div class="dropdown"> inside navbar
   ========================================= */
.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: #faf9f6;
    color: #525966;
    border: 1px solid #e5e1db;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(20, 30, 40, .08);
    z-index: 1001;
    text-align: left;
    overflow: hidden;
}
.dropdown-content a {
    display: block;
    padding: 10px 14px;
    color: #525966;
    white-space: nowrap;
    text-decoration: none;
}
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content { display: block; }
.dropdown-content a:hover { background: #eeeae2; color: #202d3d; }

/* =========================================
   5. HERO SECTION - LEFT CONTENT
   HTML: <section class="hero"> / .hero-content
   ========================================= */
.hero {
    min-height: 395px;
    padding: 75px 8.5% 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.hero-content { flex: 1; max-width: 510px; }
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #92733c;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 2px;
}
.line { width: 20px; height: 1px; background: #b39a67; }
.hero h1 {
    margin: 0 0 17px;
    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 55px);
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: normal;
}
.hero h1 span { color: #956b24; font-style: italic; }
.intro-text { max-width: 430px; color: #566171; font-size: 11px; line-height: 2; }
.hero-buttons { display: flex; align-items: center; gap: 20px; margin-top: 22px; }
.primary-btn {
    display: inline-block;
    padding: 16px 20px;
    background: #24364a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 10px;
    font-weight: bold;
    transition: transform .3s ease;
}
.primary-btn:hover { transform: translateY(-3px); }
.primary-btn span { color: #c6a363; margin-left: 12px; }
.secondary-btn {
    color: #263547;
    text-decoration: none;
    font-size: 10px;
    font-weight: bold;
    border-bottom: 1px solid #ddd8ce;
    padding-bottom: 7px;
}
.secondary-btn span { color: #a27626; margin-left: 5px; }
.hero-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 38px;
    color: #7a8087;
    font-size: 9px;
}
.green-dot { width: 5px; height: 5px; background: #92a17a; border-radius: 50%; }

/* =========================================
   6. HERO GRAPHIC - RIGHT SIDE
   HTML: <div class="hero-graphic">
   ========================================= */
.hero-graphic {
    flex: 1;
    max-width: 400px;
    height: 270px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #eeeeFA, #e5e9f7);
    border: 1px solid #e0e1ef;
    border-radius: 25px;
    overflow: hidden;
}
.orbit { position: absolute; border: 1px solid rgba(120, 122, 170, .25); border-radius: 50%; transform: rotate(-20deg); }
.orbit-one { width: 300px; height: 190px; }
.orbit-two { width: 350px; height: 225px; }
.orbit-three { width: 400px; height: 260px; }
.center-circle {
    width: 150px;
    height: 150px;
    background: #66659a;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.letter { color: #f5f2fa; font-family: Georgia, serif; font-size: 75px; line-height: 1; }
.circle-caption { margin-top: 8px; color: #e4e1f5; font-size: 6px; letter-spacing: 2px; }
.star { position: absolute; color: #8885b6; }
.star-one { top: 85px; left: 160px; font-size: 14px; }
.star-two { top: 85px; right: 55px; font-size: 20px; }
.star-three { bottom: 65px; left: 50px; font-size: 13px; }
.star-four { top: 105px; right: 160px; font-size: 12px; }
.floating-label {
    position: absolute;
    z-index: 3;
    padding: 9px 12px;
    background: white;
    color: #384253;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .04);
    font-size: 8px;
}
.label-one { top: 42px; left: 15px; transform: rotate(-5deg); }
.label-two { bottom: 42px; right: 10px; transform: rotate(5deg); }

/* =========================================
   7. RESPONSIVE NAVBAR AND HERO
   ========================================= */
@media (max-width: 750px) {
    .navbar { padding: 0 5%; }
    .navbar-links { gap: 12px; }
    .navbar-links a { font-size: 9px; }
    .hero { padding: 50px 5%; gap: 25px; }
    .hero h1 { font-size: 40px; }
    .hero-graphic { max-width: 320px; height: 240px; }
}
@media (max-width: 600px) {
    .navbar { height: auto; padding: 15px 5%; flex-direction: column; gap: 15px; }
    .navbar-links { flex-wrap: wrap; justify-content: center; }
    .hero { flex-direction: column; align-items: stretch; }
    .hero-content { max-width: 100%; }
    .hero-graphic { width: 100%; max-width: 100%; }
    .hero h1 { font-size: 42px; }
}

/* =========================================
   5. PROJECT CARDS
   HTML: <section class="cards"><div class="card">
   ========================================= */
/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { background: var(--white); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.project-visual { height: 215px; position: relative; display: grid; place-items: center; overflow: hidden; }
.visual-one { background: #d9ded3; }
.visual-two { background: #e9dfcd; }
.visual-three { background: #d9dce0; }
.visual-label { position: absolute; top: 15px; left: 17px; font-size: 8px; letter-spacing: 1.5px; color: rgba(23,35,33,.65); font-weight: 700; }
.browser-window { width: 65%; height: 125px; background: #fffefa; box-shadow: 0 13px 28px rgba(23,35,33,.12); padding: 10px; transform: rotate(-4deg); }
.browser-dots { color: #bd9a57; font-size: 7px; letter-spacing: 2px; border-bottom: 1px solid #e9e6dd; padding-bottom: 7px; }
.browser-lines { padding: 13px 5px 8px; }
.browser-lines b, .browser-lines i { display: block; height: 5px; background: #293b35; width: 65%; margin-bottom: 6px; }
.browser-lines i { width: 85%; height: 3px; background: #d7d5cb; }
.browser-blocks { display: flex; gap: 6px; }
.browser-blocks span { height: 27px; flex: 1; background: #e8dfca; }
.book-art { width: 120px; height: 140px; background: #243b34; color: #f4ead4; display: flex; flex-direction: column; justify-content: center; padding: 18px; box-shadow: 10px 9px 0 #c2a77b; transform: rotate(5deg); }
.book-art span { font: 700 19px/1.25 var(--serif); }
.book-art i { color: #d9b56e; font-style: normal; margin-top: 10px; }
.journal-art { width: 180px; height: 140px; background: #f7f4ec; padding: 18px; display: flex; flex-direction: column; box-shadow: 0 12px 25px rgba(23,35,33,.12); transform: rotate(-4deg); }
.journal-art span { font: 700 29px var(--serif); color: #35463e; }
.journal-art small { font-size: 7px; letter-spacing: 1.5px; color: var(--gold); margin-top: 4px; }
.journal-art b { color: #758579; margin-top: 12px; letter-spacing: 4px; }
.project-info { padding: 23px 23px 20px; }
.project-info .project-type { margin-top: 0; margin-bottom: 8px; }
.project-info h3 { font-size: 20px; }
.project-bottom { border-top: 1px solid var(--line); margin-top: 19px; padding-top: 13px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 8px; letter-spacing: 1px; font-weight: 700; }
.project-arrow { color: var(--gold); font-size: 18px; }
.next-project-note { margin-top: 28px; color: var(--muted); font-size: 12px; text-align: center; }
.next-project-note span { color: var(--gold); margin-right: 7px; }

/* =========================================
   6. SKILLS SECTION
   HTML: <section class="section section-soft" id="skills">
   ========================================= */
.section-soft {
    background: var(--paper-deep);
}

/* Skills grid layout */
.skill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* Individual skill cards */
.skill-card {
    position: relative;
    background: var(--white);
    border: 1px solid #e2dfd5;
    padding: 27px 25px 24px;
    min-height: 225px;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Skill and project card hover effects */
.skill-card:hover,
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(23, 35, 33, .08);
}

/* Number displayed on skill cards */
.card-number {
    position: absolute;
    top: 21px;
    right: 22px;
    color: #b8b8aa;
    font-size: 10px;
}

/* Icon inside each skill card */
.skill-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    background: #f0eadc;
    color: var(--gold);
    font-size: 21px;
    margin-bottom: 19px;
}

/* Skill, project, achievement and hobby headings */
.skill-card h3,
.project-info h3,
.achievement-card h3,
.hobby-item h3 {
    font: 600 20px var(--serif);
}

/* Descriptions inside cards */
.skill-card p,
.project-info > p:not(.project-type),
.achievement-card p,
.hobby-item p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin-top: 8px;
}

/* Tags and project category labels */
.card-tag,
.project-type {
    display: block;
    color: var(--gold);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-top: 19px;
}

/* =========================================
   7. CURRENTLY LEARNING
   HTML: <div class="currently-learning">
   ========================================= */
.currently-learning {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 27px;
}

/* Currently learning label */
.learning-label {
    font-size: 9px;
    letter-spacing: 1.3px;
    color: var(--muted);
    font-weight: 700;
    margin-right: 7px;
}

/* Individual learning tags */
.currently-learning span:not(.learning-label) {
    background: transparent;
    border: 1px solid #d1cbbb;
    padding: 7px 12px;
    font-size: 10px;
    color: #59645b;
    border-radius: 30px;

}

/* Goals */
.goals-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; }
.goal-quote { background: var(--ink); color: var(--paper); padding: 38px; font: 600 25px/1.5 var(--serif); align-self: start; }
.goal-quote span { display: block; color: var(--gold-light); font: 600 10px var(--sans); letter-spacing: 1px; margin-top: 25px; }
.goal-content h3 { font: 600 20px var(--serif); margin-bottom: 13px; }
.goal-list { list-style: none; }
.goal-list li { position: relative; padding: 9px 0 9px 23px; color: var(--muted); font-size: 14px; border-bottom: 1px solid var(--line); }
.goal-list li::before { content: "✳"; position: absolute; left: 0; color: var(--gold); }
.future-heading { margin-top: 27px; }
.goal-content p { color: var(--muted); font-size: 13px; }


/* Intro ticker */
.intro-strip { background: var(--ink); color: var(--paper); }
.strip-inner { min-height: 65px; display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 10px; font-weight: 700; letter-spacing: 2px; }
.strip-inner i { color: var(--gold); font-style: normal; font-size: 15px; }



/* About */
.about-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 85px; align-items: start; }
.about-lead p { color: var(--muted); font-size: 14px; margin-top: 17px; }
.about-lead .large-copy { color: var(--ink); font: 600 25px/1.55 var(--serif); margin-top: 0; }
.values-panel { background: var(--white); border: 1px solid var(--line); padding: 27px 32px; }
.panel-label { font-size: 9px; letter-spacing: 1.8px; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.value-item { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.value-item:last-child { border-bottom: 0; }
.value-item > span, .journey-list article > span { color: var(--gold); font-size: 11px; font-weight: 700; padding-top: 3px; }
.value-item h3, .journey-list h3 { font: 600 17px var(--serif); }
.value-item p, .journey-list p { color: var(--muted); font-size: 12px; margin-top: 3px; }

/* Marks table */
.marks-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.marks-table { width: 100%; border-collapse: collapse; text-align: left; }
.marks-table th { background: var(--ink); color: var(--paper); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; }
.marks-table th, .marks-table td { padding: 15px 22px; border-bottom: 1px solid var(--line); }
.marks-table td { font-size: 15px; }
.marks-table td:nth-child(2) { color: var(--gold); font-weight: 700; }
.marks-table tbody tr:last-child td { border-bottom: 0; }
.marks-table tbody tr:hover { background: #f7f3e9; }
.table-note { color: var(--muted); font-size: 11px; margin-top: 13px; }

/* Achievements */
.achievement-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.achievement-card { background: var(--white); border: 1px solid #e0dccf; padding: 25px; min-height: 190px; }
.achievement-main { grid-row: span 2; background: var(--ink); color: var(--paper); padding: 34px; }
.achievement-symbol { display: block; font-size: 30px; color: var(--gold-light); margin-bottom: 24px; }
.achievement-main .project-type { color: var(--gold-light); }
.achievement-main h3 { font-size: 29px; margin-top: 10px; }
.achievement-main p:not(.project-type) { color: #bdc5bc; }
.achievement-score { display: block; font: 600 43px var(--serif); color: var(--gold); }
.achievement-score span { font: 400 14px var(--sans); color: var(--muted); }

/* Hobbies */
.hobby-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hobby-item { padding: 25px 23px 28px; border-right: 1px solid var(--line); position: relative; }
.hobby-item:last-child { border-right: 0; }
.hobby-item > span { color: #a9a99b; font-size: 10px; }
.hobby-icon { font-size: 27px; color: var(--gold); margin: 20px 0 13px; }
.hobby-item h3 { font-size: 18px; }


/* Journey */
.journey-layout { display: grid; grid-template-columns: 3fr 3fr; gap: 100px; align-items: center; }
.journey-list article { display: grid; grid-template-columns: 35px 1fr; gap: 15px; padding: 18px 0; border-bottom: 1px solid #3b4943; }
.journey-list article:last-child { border-bottom: 25; }
.journey-list h3 { color: var(--paper); }

.academic-layout h2 em,
.journey-layout h2 em,
.contact-copy h2 em { color: #bda178; }
.dark-copy { color: #68748a; }
.school-facts { border-color: #dcddeb; }
.school-facts span { color: #8178bd; }
.subject-panel {
  background: rgba(255,255,255,.82);
  border: 1px solid #e0e1ef;
  border-radius: 13px;
  box-shadow: 0 10px 30px rgba(53, 62, 91, .045);
}
.subject-panel .panel-label { color: #8178bd; }
.subject-row { border-color: #ececf2; }
.subject-row span { color: #8178bd; }
.subject-row b { color: #34415c; }
.subject-row small { color: #7b8495; }



/* Academic dark section */
.section-dark { background: var(--ink); color: var(--paper); }
.academic-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.academic-layout h2, .journey-layout h2, .contact-copy h2 { font-size: clamp(39px, 4.5vw, 54px); margin-top: 16px; }
.dark-copy { max-width: 430px; color: #b9c1b9; font-size: 13px; line-height: 1.9; margin-top: 22px; }
.school-facts { display: flex; flex-wrap: wrap; gap: 28px; border-top: 1px solid #3b4943; margin-top: 35px; padding-top: 23px; }
.school-facts div { display: flex; flex-direction: column; gap: 5px; }
.school-facts span { color: var(--gold-light); font-size: 8px; letter-spacing: 1.2px; }
.school-facts strong { font: 600 14px var(--serif); }
.subject-panel { background: #21312b; padding: 28px 32px; border: 1px solid #3b4943; }
.subject-panel .panel-label { color: var(--gold); }
.subject-row { display: grid; grid-template-columns: 30px 1fr 1fr; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #3b4943; }
.subject-row:last-child { border-bottom: 0; }
.subject-row span { color: var(--gold); font-size: 12px; }
.subject-row b { font: 600 14px var(--serif); }
.subject-row small { color: #aab5ac; font-size: 13px; text-align: right; }


/* =========================================
   8. CONTACT SECTION
   HTML: <section class="contact" id="contact">
   ========================================= */
.contact {
    min-height: 430px;
    padding: 70px 8.5%;
    background: #f0eff8;
    display: flex;
    align-items: center;
}
.contact-layout {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}
.contact-copy { max-width: 440px; }
.contact-eyebrow {
    color: #8b7fbd;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.contact-copy h2 {
    color: #20334b;
    font: 500 clamp(32px, 4vw, 43px)/1.08 Georgia, serif;
    letter-spacing: -1.5px;
    margin: 0 0 15px;
}
.contact-copy h2 em { color: #8178bd; font-style: italic; }
.contact-copy p {
    max-width: 390px;
    color: #68748a;
    font-size: 10px;
    line-height: 1.9;
}
.contact-mark {
    color: #dedcf0;
    font: 700 75px/1 Georgia, serif;
    margin-top: 22px;
}

.contact-mark span {
    color: #8178bd;
}

.contact-card {
    width: 100%;
    max-width: 500px;
    justify-self: end;
    padding: 24px 20px 18px;
    background: #fff;
    border: 1px solid #e2e1ed;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(48, 53, 85, .07);
}
.contact-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #8178bd;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.6px;
    margin-bottom: 17px;
}
.contact-card-top span:last-child { font-size: 14px; }
.contact-card form {
    display: flex; flex-direction: column; gap: 7px; }
.contact-card label {
    color: #34415c;
    font-size: 8px;
    font-weight: 700;
    margin-top: 2px;
    
}
.contact-card input,
.contact-card select,
.contact-card textarea {
    width: 100%;
    padding: 9px 10px;
    color: #34415c;
    background: #fbfbfe;
    border: 1px solid #dcddec;
    border-radius: 4px;
    font: 8px Arial, sans-serif;
    box-sizing: border-box;
}
.contact-card input, .contact-card select { min-height: 26px; }
.contact-card textarea { min-height: 46px; resize: vertical; }
.contact-card input::placeholder,
.contact-card textarea::placeholder { color: #8991a6; opacity: 1; }
.contact-card select { color: #59647b; }
.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
    outline: 2px solid #c7c2e5;
    border-color: #8178bd;
}
.contact-card button {
    align-self: flex-start;
    margin-top: 4px;
    padding: 10px 12px;
    color: #fff;
    background: #737db4;
    border: 0;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}
.contact-card button:hover { background: #626da7; transform: translateY(-2px); }
.contact-card button span { margin-left: 10px; }
.contact-note { color: #8b91a1; font-size: 6px; margin-top: 8px; }

@media (max-width: 700px) {
    .contact { padding: 55px 6%; }
    .contact-layout { grid-template-columns: 1fr; gap: 30px; }
    .contact-copy { max-width: 100%; }
    .contact-card { justify-self: stretch; max-width: 100%; }
}

/* =========================================
   9. FOOTER
   HTML: <footer class="site-footer">
   ========================================= */
.site-footer {
    color: #263447;
    background-color: #e9e4f3;
    text-align: left;
    padding: 20px 40px 20px 20px;
    border-radius: 0px;

}
.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
}



.section-dark,
.achievement-main,
.goal-quote,
.intro-strip,
.site-footer {
    background: var(--paper);
    color: var(--ink);
}

.subject-panel {
    background: var(--white);
}

.dark-copy,
.subject-row b,
.subject-row small,
.achievement-main h3,
.achievement-main p:not(.project-type) {
    color: var(--ink);
}

/* =====================================================
   10. FINAL TYPOGRAPHY, ALIGNMENT AND RESPONSIVE POLISH
   These overrides keep the existing content and design.
   ===================================================== */

/* Consistent base typography */
html {
    scroll-padding-top: 85px;
}

body {
    font-size: 15px;
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
}

p {
    font-size: 14px;
    line-height: 1.8;
}

/* Main headings */
.hero h1 {
    font-size: clamp(38px, 4.5vw, 54px);
    line-height: 1.14;
}

.section-heading h2,
.academic-layout h2,
.journey-layout h2 {
    font-size: clamp(32px, 3.8vw, 44px);
    line-height: 1.2;
}

.contact-copy h2 {
    font-size: clamp(34px, 3.8vw, 44px);
    line-height: 1.18;
}

/* Paragraphs and supporting text */
.intro-text,
.section-intro,
.about-lead p,
.skill-card p,
.project-info > p:not(.project-type),
.achievement-card p,
.hobby-item p,
.dark-copy,
.goal-content > p {
    font-size: 14px;
    line-height: 1.8;
}

.about-lead .large-copy {
    font-size: clamp(21px, 2.2vw, 25px);
    line-height: 1.5;
}

/* Card and subsection headings */
.skill-card h3,
.project-info h3,
.achievement-card h3,
.hobby-item h3,
.value-item h3,
.journey-list h3,
.goal-content h3 {
    font-size: 18px;
    line-height: 1.4;
}

/* Small labels should remain readable */
.panel-label,
.card-tag,
.project-type,
.learning-label {
    font-size: 10px;
    line-height: 1.5;
}

/* Small labels should remain readable */
.eyebrow{
    font-size: 16px;
    line-height: 1.5;
}

.card-number,
.value-item > span,
.journey-list article > span,
.hobby-item > span {
    font-size: 11px;
}

/* =====================================================
   NAVBAR: KEEP ALL TABS ON THE SAME VERTICAL LINE
   ===================================================== */
.navbar {
    min-height: 66px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar-name {
    flex: 0 0 auto;
    line-height: 1.2;
    white-space: nowrap;
}

.navbar-links {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: clamp(12px, 1.8vw, 24px);
}

.navbar-links > a,
.navbar-links > .dropdown,
.navbar-links .dropbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-height: 40px;
    line-height: 1.2;
    white-space: nowrap;
}

.navbar-links > .dropdown {
    position: relative;
}

.navbar-links a {
    font-size: 12px;
    line-height: 1.2;
}

.navbar-links .connect-btn {
    min-height: 40px;
    padding: 0 15px;
    box-sizing: border-box;
}

.dropdown-content {
    top: calc(100% + 2px);
}

/* General section alignment */
.section-heading {
    margin-bottom: 28px;
}

.section-heading h2 {
    margin-top: 8px;
}

.skill-card,
.project-card,
.achievement-card {
    min-width: 0;
}

.skill-card p,
.project-info p,
.achievement-card p,
.hobby-item p {
    overflow-wrap: break-word;
}

/* Contact: readable form typography and balanced spacing */
.contact {
    padding-top: 72px;
    padding-bottom: 72px;
}

.contact-layout {
    align-items: center;
    gap: clamp(35px, 6vw, 75px);
}

.contact-copy {
    width: 100%;
}

.contact-eyebrow {
    font-size: 10px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.contact-copy p {
    font-size: 14px;
    line-height: 1.8;
}

.contact-card {
    padding: 28px 24px 22px;
}

.contact-card-top {
    font-size: 10px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.contact-card label {
    font-size: 12px;
    line-height: 1.4;
    margin-top: 5px;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.5;
}

.contact-card textarea {
    min-height: 86px;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
    font-size: 12px;
}

.contact-card button {
    min-height: 42px;
    padding: 11px 16px;
    font-size: 12px;
}

.contact-note {
    font-size: 10px;
    line-height: 1.5;
}

/* =====================================================
   TABLET VIEW
   ===================================================== */
@media (min-width: 601px) and (max-width: 950px) {
    .navbar {
        padding-left: 5%;
        padding-right: 5%;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar-name {
        flex: 1 1 100%;
        text-align: center;
    }

    .navbar-links {
        flex: 1 1 100%;
        justify-content: center;
        gap: 10px;
    }

    .navbar-links a {
        font-size: 11px;
    }

    .navbar-links .connect-btn {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
        gap: 28px;
    }

    .about-layout,
    .academic-layout,
    .journey-layout,
    .goals-layout {
        gap: 35px;
    }

    .contact {
        padding-left: 5%;
        padding-right: 5%;
    }

    .contact-layout {
        gap: 30px;
    }
}

/* =====================================================
   MOBILE VIEW
   ===================================================== */
@media (max-width: 700px) {
    html {
        scroll-padding-top: 120px;
    }

    body {
        font-size: 14px;
    }

    .container {
        width: min(100% - 36px, 560px);
    }

    /* Navbar: centered rows, with each tab aligned evenly */
    .navbar {
        min-height: 0;
        height: auto;
        padding: 14px 5%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .navbar-name {
        font-size: 23px;
        align-self: center;
    }

    .navbar-links {
        width: 100%;
        display: flex;
        flex: 0 1 auto;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        column-gap: 15px;
        row-gap: 4px;
    }

    .navbar-links > a,
    .navbar-links > .dropdown,
    .navbar-links .dropbtn {
        min-height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }

    .navbar-links a {
        font-size: 11px;
    }

    .navbar-links .connect-btn {
        min-height: 34px;
        padding: 0 12px;
    }

    .dropdown-content {
        left: 50%;
        transform: translateX(-50%);
        top: 100%;
    }

    /* Hero */
    .hero {
        min-height: 0;
        padding: 48px 5% 38px;
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(34px, 8vw, 40px);
        line-height: 1.15;
    }

    .intro-text {
        font-size: 14px;
    }

    .hero-graphic {
        width: 100%;
        max-width: 100%;
        height: 230px;
    }

    /* Intro strip */
    .strip-inner {
        min-height: 55px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 9px;
        letter-spacing: 1px;
    }

    /* Section headings */
    .section-heading {
        margin-bottom: 22px;
    }

    .section-heading h2,
    .academic-layout h2,
    .journey-layout h2 {
        font-size: clamp(29px, 7vw, 34px);
        line-height: 1.2;
    }

    /* Keep existing content; stack existing columns on narrow screens */
    .about-layout,
    .academic-layout,
    .journey-layout,
    .goals-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .about-lead .large-copy {
        font-size: 21px;
    }

    .skill-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .skill-card {
        padding: 20px 17px;
        min-height: 0;
    }

    .skill-card h3,
    .project-info h3,
    .achievement-card h3,
    .hobby-item h3 {
        font-size: 17px;
    }

    .cards {
        flex-direction: column;
        gap: 15px;
        padding: 0;
    }

    .subject-panel {
        width: 100%;
        padding: 20px;
    }

    .subject-row {
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 7px 10px;
    }

    .subject-row small {
        grid-column: 2;
        text-align: left;
    }

    /* Marks table remains scrollable instead of squeezing text */
    .marks-wrap {
        max-width: 100%;
        overflow-x: auto;
    }

    .marks-table {
        min-width: 420px;
    }

    .marks-table th,
    .marks-table td {
        padding: 11px 13px;
        font-size: 12px;
    }

    .achievement-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .achievement-main {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .achievement-card {
        min-width: 0;
        padding: 20px 16px;
    }

    .achievement-main h3 {
        font-size: 25px;
    }

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

    .hobby-item {
        padding: 20px 14px;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .hobby-item:nth-child(2n) {
        border-right: 0;
    }

    .hobby-item:last-child,
    .hobby-item:nth-last-child(2) {
        border-bottom: 0;
    }

    .goal-quote {
        padding: 25px;
        font-size: 21px;
    }

    /* Contact */
    .contact {
        min-height: 0;
        padding: 48px 5%;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .contact-copy {
        max-width: 100%;
    }

    .contact-copy h2 {
        font-size: clamp(30px, 7vw, 36px);
    }

    .contact-copy p {
        font-size: 14px;
    }

    .contact-mark {
        font-size: 58px;
        margin-top: 14px;
    }

    .contact-card {
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
        padding: 24px 20px 20px;
    }

    .contact-card label {
        font-size: 12px;
    }

    .contact-card input,
    .contact-card select,
    .contact-card textarea {
        min-height: 42px;
        font-size: 14px;
    }

    .contact-card textarea {
        min-height: 90px;
    }

    .contact-card button {
        min-height: 42px;
        font-size: 13px;
    }

    .contact-note {
        font-size: 10px;
    }

    /* Footer */
    .top {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px 20px;
    }

    .site-footer {
        padding: 20px 5%;
    }
}

/* Very small phones */
@media (max-width: 420px) {
    .navbar-links {
        column-gap: 10px;
        row-gap: 3px;
    }

    .navbar-links a {
        font-size: 10px;
    }

    .skill-grid {
        grid-template-columns: 1fr;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
    }

    .achievement-main {
        grid-column: auto;
    }

    .hobby-grid {
        grid-template-columns: 1fr;
    }

    .hobby-item,
    .hobby-item:nth-child(2n) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .hobby-item:last-child {
        border-bottom: 0;
    }

    .contact-card {
        padding: 21px 16px 18px;
    }
}

/* =====================================================
   11. FINAL HOME ALIGNMENT + NAVBAR ALIGNMENT FIX
   Added after all existing rules so these values win.
   No HTML content or section layout is changed.
   ===================================================== */

/* Align the Home section with the same centered page width
   used by the other sections that contain .container. */
.hero {
    width: min(1120px, calc(100% - 48px));
    min-height: 395px;
    margin: 0 auto;
    padding: 75px 0 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    box-sizing: border-box;
}

.hero-content {
    flex: 1 1 510px;
    min-width: 0;
    max-width: 510px;
}

.hero-graphic {
    flex: 0 1 400px;
    width: 100%;
    min-width: 0;
    max-width: 400px;
}

/* Keep every desktop navigation item on one baseline. */
.navbar {
    display: flex;
    align-items: center;
}

.navbar-name {
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.navbar-links {
    display: flex;
    align-items: center;
}

.navbar-links > a,
.navbar-links > .dropdown,
.navbar-links > .dropdown > .dropbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-height: 40px;
    line-height: 1.2;
    vertical-align: middle;
}

.navbar-links > .dropdown {
    position: relative;
}

.navbar-links > .connect-btn {
    padding: 0 15px;
    min-height: 40px;
}

/* Tablet: preserve the centered Home width and allow the navbar
   to use two tidy rows when there is not enough horizontal room. */
@media (min-width: 701px) and (max-width: 950px) {
    .hero {
        width: min(100% - 40px, 820px);
        padding: 55px 0 35px;
        gap: 28px;
    }

    .hero-content {
        flex: 1 1 0;
    }

    .hero-graphic {
        flex: 0 1 340px;
        max-width: 340px;
    }

    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 4px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-name {
        flex: 0 0 100%;
        justify-content: center;
    }

    .navbar-links {
        flex: 0 1 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Mobile: stack the existing Home content without changing it. */
@media (max-width: 700px) {
    .hero {
        width: min(90%, 560px);
        min-height: 0;
        margin: 0 auto;
        padding: 42px 0 36px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 28px;
    }

    .hero-content {
        width: 100%;
        max-width: none;
        flex: 0 1 auto;
    }

    .hero-graphic {
        width: 100%;
        max-width: none;
        height: 230px;
        flex: 0 0 auto;
    }

    .navbar-links > a,
    .navbar-links > .dropdown,
    .navbar-links > .dropdown > .dropbtn {
        min-height: 34px;
    }

    .navbar-links > .connect-btn {
        min-height: 34px;
    }
}

@media (max-width: 420px) {
    .hero {
        width: 90%;
        padding-top: 35px;
        padding-bottom: 30px;
    }

    .hero-graphic {
        height: 210px;
    }
}

/* =====================================================
   12. FINAL NAVBAR ALIGNMENT FIX
   Align navbar content with the 1120px page container.
   All other sections and their styling remain unchanged.
   ===================================================== */
.navbar {
    width: 100%;
    min-height: 66px;
    height: auto;
    margin: 0;
    padding: 0 max(24px, calc((100% - 1120px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
}

.navbar-name {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.2;
}

.navbar-links {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: clamp(12px, 1.6vw, 22px);
    min-width: 0;
}

.navbar-links > a,
.navbar-links > .dropdown,
.navbar-links > .dropdown > .dropbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-height: 40px;
    line-height: 1.2;
    white-space: nowrap;
}

.navbar-links > .dropdown {
    position: relative;
}

.navbar-links > .connect-btn {
    min-height: 40px;
    padding: 0 15px;
    box-sizing: border-box;
}

.dropdown-content {
    top: calc(100% + 2px);
}

/* Tablet: keep the logo and links centered in separate rows. */
@media (min-width: 701px) and (max-width: 950px) {
    .navbar {
        padding: 10px 5%;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 4px;
    }

    .navbar-name {
        flex: 0 0 100%;
        justify-content: center;
    }

    .navbar-links {
        flex: 0 1 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 16px;
    }
}

/* Mobile: centered logo with evenly aligned navigation links. */
@media (max-width: 700px) {
    .navbar {
        width: 100%;
        min-height: 0;
        padding: 14px 5%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .navbar-name {
        justify-content: center;
    }

    .navbar-links {
        width: 100%;
        flex: 0 1 auto;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        column-gap: 15px;
        row-gap: 4px;
    }

    .navbar-links > a,
    .navbar-links > .dropdown,
    .navbar-links > .dropdown > .dropbtn {
        min-height: 34px;
    }

    .navbar-links > .connect-btn {
        min-height: 34px;
        padding: 0 12px;
    }

    .dropdown-content {
        left: 50%;
        transform: translateX(-50%);
        top: 100%;
    }
}

/* Improve readability of small supporting text and labels. */
.navbar-links a,
.primary-btn,
.secondary-btn,
.hero-footer,
.floating-label,
.visual-label,
.journal-art small,
.project-bottom,
.card-tag,
.project-type,
.learning-label,
.currently-learning span:not(.learning-label),
.goal-quote span,
.strip-inner,
.panel-label,

.table-note,
.hobby-item > span,
.school-facts span,
.contact-eyebrow,
.contact-card-top,
.contact-note {
    font-size: 12px;
}

@media (max-width: 700px) {
    .navbar-links a,
    .strip-inner {
        font-size: 12px;
    }
}
.marks-table th{font-size: 16px;}

/* Give each content section a consistent rhythm and keep anchor targets
   clear of the sticky navigation bar. */
html {
    scroll-padding-top: 90px;
}

.section {
    padding-block: clamp(56px, 7vw, 88px);
}

@media (max-width: 700px) {
    html {
        scroll-padding-top: 120px;
    }

    .section {
        padding-block: 54px;
    }
}

/* Align the footer content with the same centered 1120px page width. */
.site-footer {
    width: 100%;
    padding: 36px max(24px, calc((100% - 1120px) / 2));
}

.site-footer .top,
.site-footer .footer-line,
.site-footer .copyright {
    width: min(1120px, 100%);
    margin-inline: auto;
}

.site-footer .top {
    gap: 20px;
    padding-bottom: 22px;
}

.site-footer .footer-line {
    border: 0;
    border-top: 1px solid var(--line);
}

.site-footer .copyright {
    margin-top: 16px;
}

@media (max-width: 700px) {
    .site-footer {
        padding: 28px 5%;
    }

    .site-footer .top {
        align-items: flex-start;
        gap: 12px 20px;
    }
}

/* Color theme matched to the reference portfolio. */
:root {
    --ink: #172536;
    --ink-soft: #243447;
    --paper: #fbfaf7;
    --paper-deep: #f0eef8;
    --white: #ffffff;
    --gold: #8a5b12;
    --gold-light: #d8bd83;
    --muted: #354253;
    --line: #d7dce5;
}

body {
    background: var(--paper);
    color: var(--ink);
}

.navbar {
    background: rgba(251, 250, 247, .96);
    border-bottom-color: rgba(40, 51, 74, .1);
}

.navbar-name,
.navbar-links a,
.dropdown-content,
.dropdown-content a {
    color: var(--ink);
}

.navbar-links a:hover,
.navbar-name span,
.panel-label,
.eyebrow,
.card-tag,
.project-type,
.project-arrow,
.strip-inner i,
.goal-list li::before,
.school-facts span,
.subject-row span,
.achievement-symbol,
.achievement-score,
.hobby-icon,
.contact-eyebrow,
.contact-card-top {
    color: var(--gold);
}

.dropdown-content {
    background: var(--paper);
    border-color: var(--line);
}

.dropdown-content a:hover {
    background: var(--paper-deep);
    color: var(--ink);
}

.hero-content,
.hero h1,
.hero h1 span,
.hero-footer,
.intro-text,
.secondary-btn,
.about-lead p,
.skill-card p,
.project-info > p:not(.project-type),
.achievement-card p,
.hobby-item p,
.goal-list li,
.goal-content > p,
.dark-copy,
.contact-copy p,
.table-note {
    color: var(--muted);
}

.hero h1,
.section-heading h2,
.academic-layout h2,
.journey-layout h2,
.contact-copy h2,
.skill-card h3,
.project-info h3,
.achievement-card h3,
.hobby-item h3,
.value-item h3,
.journey-list h3,
.goal-content h3 {
    color: var(--ink);
}

.hero h1 span,
.section-heading h2 em{
color:var(--gold);
}

.academic-layout h2 em,
.journey-layout h2 em,
.contact-copy h2 em {
    color:#8178bd;}
.primary-btn {
    background: #25364b;
    color: #ffffff;
}

.primary-btn span {
    color: #f0d9a7;
}

.primary-btn:hover {
    background: #d9c69f;
    color: var(--ink);
}

.secondary-btn {
    border-bottom-color: #d7d2ee;
}

.secondary-btn span,
.navbar-name span {
    color: #80530d;
}

.hero-graphic {
    background: linear-gradient(145deg, #eeedf8, #e5edf5);
    border-color: #e2e0f1;
    border-radius: 46% 46% 24px 24px;
}

.orbit {
    border-color: rgba(129, 120, 189, .35);
}

.center-circle {
    background: linear-gradient(145deg, #7770ae, #4e5d83);
    box-shadow: 0 20px 50px rgba(72, 77, 125, .18);
}

.letter,
.floating-label {
    color: #45516b;
}

.letter {
    color: #f5f2ff;
}

.circle-caption {
    color: #e6e3ff;
}

.star {
    color: #8f86c9;
}

.floating-label {
    background: rgba(255, 255, 255, .94);
    border: 1px solid #e5e2f2;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(55, 61, 91, .08);
}

.intro-strip {
    background: #e8e4f2;
    color: var(--ink);
    border-block: 1px solid var(--line);
}

.section-soft,
.contact {
    background: #f0eef8;
}

.values-panel,
.skill-card,
.project-card,
.achievement-card,
.subject-panel,
.contact-card {
    background: var(--white);
    border-color: #d7dce5;
    box-shadow: 0 8px 24px rgba(53, 62, 91, .045);
}

.values-panel,
.skill-card,
.project-card,
.achievement-card,
.subject-panel,
.contact-card {
    border-radius: 12px;
}

.skill-icon {
    background: #f0effa;
    color: #8178bd;
    border-radius: 11px;
}

.skill-card:hover,
.project-card:hover {
    box-shadow: 0 15px 35px rgba(72, 77, 125, .10);
}

.currently-learning span:not(.learning-label) {
    background: var(--white);
    border-color: #e1dff0;
    color: #5f6686;
}

.visual-one { background: #e7edf5; }
.visual-two { background: #f2eade; }
.visual-three { background: #e9e8f5; }
.visual-label { color: rgba(40, 51, 74, .75); }
.browser-window,
.journal-art { background: var(--white); }
.browser-lines b { background: #65749a; }
.browser-blocks span { background: #e8e5f7; }
.book-art { background: #68779a; color: var(--white); box-shadow: 10px 9px 0 #d9d5eb; }
.book-art i { color: #e5ddff; }
.journal-art span { color: #58668a; }
.journal-art small { color: #80530d; }
.journal-art b { color: #8c9bb0; }
.project-bottom { border-color: #ececf2; color: #3d4858; }

.section-dark {
    background: #f0eef8;
    color: var(--ink);
}

.subject-row,
.journey-list article,
.value-item {
    border-color: #e0e3ea;
}

.subject-row b,
.subject-row small,
.journey-list h3,
.journey-list p,
.school-facts strong {
    color: var(--ink);
}

.marks-wrap {
    background: var(--white);
    border-color: var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(53, 62, 91, .035);
}

.marks-table th {
    background: #e9e8f5;
    color: #465271;
}

.marks-table td:nth-child(2) {
    color: #80530d;
}

.marks-table td {
    border-color: #ececf2;
}

.marks-table tbody tr:hover {
    background: #f7f6fc;
}

.achievement-main,
.goal-quote {
    background: #e9e5f5;
    color: var(--ink);
    border: 1px solid #d7d0e9;
}

.achievement-main h3,
.achievement-main p:not(.project-type),
.goal-content h3 {
    color: var(--ink);
}

.achievement-main .project-type,
.achievement-symbol,
.goal-quote span {
    color: #80530d;
}

.achievement-score {
    color: #80530d;
}

.achievement-score span {
    color: var(--muted);
}

.hobby-grid,
.hobby-item {
    border-color: var(--line);
}

.hobby-item > span,
.card-number {
    color: #596273;
}

.goal-list li {
    border-color: #e8e8ef;
}

.contact {
    border-top: 1px solid #e5e3f1;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
    background: #fbfbfe;
    border-color: #e3e3ee;
    color: #34415c;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
    color: #5d6878;
    opacity: 1;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
    border-color: #aaa3d5;
    box-shadow: 0 0 0 3px rgba(129, 120, 189, .12);
}

.contact-card button {
    background: #8178bd;
    color: #ffffff;
}

.contact-card button:hover {
    background: #d9c69f;
    color: var(--ink);
}

.site-footer {
    background: #e8e4f2;
    color: var(--ink);
    border-top: 1px solid var(--line);
}

.footer-message,
.copyright {
    color: var(--muted);
}

.back-to-top {
    color: #80530d;
}

.footer-line {
    border-color: #cfd4df;
}
