@charset "UTF-8";

/*-------------------------
 * Colours
 * Main Red #e2231a
 * Sec Red  #b3272d
 * Body     #707070
 *
-------------------------*/
/*--------------------------------------------------------------
# {{{ Generic
--------------------------------------------------------------*/

/* {{{ Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
  white-space: pre-wrap;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}
/*  }}} */

/* {{{ Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}
/*  }}} */


/*--------------------------------------------------------------
# }}} Generic
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Site styles - cip.fanshawemarketing.ca (CIP passport contest, Fall 2026)
  Structure follows openhouse.fanshawec.ca/www/css/styles.css.
--------------------------------------------------------------*/

/* {{{ Tokens */
:root {
  --fan-red: #e2231a;
  --sec-red: #b3272d;
  --body-grey: #707070;
  --input-border: #c7c7c7;
  --rule-grey: #c7c7c7;
  --bracket-grey: #b5b5b5;
  --content-width: 1200px;
  --column-width: 730px;
}
/* }}} Tokens */

/* {{{ Tags */
body {
  background: #fff;
  color: var(--body-grey);
  font: 16px/1.5 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
}

img { border: 0; padding: 0; width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 { color: #000; font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; text-decoration: none; }
h1 { font-size: 34px; }
h2 { font-size: 34px; font-weight: 500; color: var(--fan-red); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p { margin: 0 0 1em; }
p.lead { font-weight: 700; }
p.fine { font-size: 14px; font-style: italic; }

a, a:visited { color: var(--fan-red); }
a:hover, a:focus { color: var(--sec-red); }

b, strong { font-weight: 700; }

ul { list-style: none; padding-left: 30px; }
ul li { margin: 0 0 8px 0; }

/* Lists with a bold red lead-in instead of a bullet */
ul.leadins { padding-left: 0; margin: 0; }
ul.leadins li { margin: 0 0 20px; }
ul.leadins li::before { content: none; }
ul.leadins li b { color: var(--fan-red); }
ul.leadins.stacked li b { display: block; }

hr.rule { border: 0; border-top: 1px solid var(--rule-grey); height: 0; margin: 50px auto; }
/* }}} Tags */

/* {{{ Buttons */
a.btn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 255px;
  min-height: 70px;
  padding: 12px 28px;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  touch-action: manipulation;
  cursor: pointer;
  border: 0;
  border-radius: 0;
  user-select: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn:focus, .btn:active:focus { outline: 3px solid rgba(0,0,0,0.4); outline-offset: 2px; }
.btn:hover, .btn:focus { color: #fff; text-decoration: none; }

.btn-black, a.btn-black, a.btn-black:visited { color: #fff; background-color: #000; }
.btn-black:hover, .btn-black:focus, a.btn-black:hover { color: #fff; background-color: #333; }

@media only screen and (max-width: 650px) {
  a.btn, .btn { min-width: 0; width: 100%; max-width: 400px; font-size: 18px; padding: 12px 16px; }
}
/* }}} Buttons */

/* {{{ Layout */
.content { width: 100%; max-width: var(--content-width); margin: 0 auto; position: relative; }
.column { width: 100%; max-width: var(--column-width); margin: 0 auto; }

main { padding: 90px 0 0; }
main > section { padding: 0; }

/* Thin grey corner bracket (bottom-right) closing the last content block */
.framed { position: relative; padding: 0 0 60px; }
.framed::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 40px;
  right: -40px;
  bottom: 0;
  border-bottom: 2px solid var(--bracket-grey);
  border-right: 2px solid var(--bracket-grey);
  pointer-events: none;
}

@media only screen and (max-width: 990px) {
  .framed::after { right: 16px; }
}
@media only screen and (max-width: 650px) {
  .column { padding: 0 16px; box-sizing: border-box; }
  main { padding-top: 60px; }
  hr.rule { margin: 40px 16px; }
  h2 { font-size: 26px; }
  .framed { padding-bottom: 50px; }
  .framed::after { width: 60px; height: 30px; right: 16px; }
}
/* }}} Layout */

/* {{{ Header / hero */
header {
  width: 100%;
  background: var(--fan-red) url(/images/hero-bg.webp?v=20260923) center center / cover no-repeat;
  color: #fff;
  padding: 58px 0 90px;
  position: relative;
  overflow: hidden;
}

header .masthead { position: relative; padding: 8px 60px 20px 72px; }
header .logo { display: block; width: 200px; margin: 0 0 30px; }
header h1 {
  max-width: 640px;
  margin: 0;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  color: #fff;
}
header h1 a, header h1 a:visited, header h1 a:hover { color: #fff; text-decoration: none; }

header .bracket { position: absolute; pointer-events: none; }
header .bracket-tl { top: 0; left: 0; width: 40px; height: 82px; border-top: 3px solid #fff; border-left: 3px solid #fff; }
header .bracket-br { bottom: 0; right: 0; width: 40px; height: 65px; border-bottom: 3px solid #fff; border-right: 3px solid #fff; }

header .hero { padding: 70px 0 0; }
header .hero h2 {
  color: #fff;
  font-size: 77px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 60px;
}
header .hero h2.center { text-align: center; }
header .hero h2 .emoji { font-size: 0.85em; }
header .hero p { font-size: 22px; line-height: 1.4; margin: 0 0 1.2em; }
header .hero p.lead { font-size: 24px; font-weight: 700; }
header .hero p.fine { font-size: 16px; font-style: italic; font-weight: 500; }
header .hero p:last-child { margin-bottom: 0; }

@media only screen and (max-width: 990px) {
  header .masthead { margin: 0 16px; }
}
@media only screen and (max-width: 650px) {
  header { background-image: url(/images/hero-bg.webp?v=20260923); padding: 50px 0 70px; }
  header .masthead { padding: 8px 40px 14px 40px; margin: 0; }
  header .logo { width: 150px; margin-bottom: 26px; }
  header h1 { font-size: 24px; line-height: 1.5; }
  header .bracket-tl { width: 26px; height: 60px; }
  header .bracket-br { width: 26px; height: 50px; }
  header .hero { padding-top: 60px; }
  header .hero h2, header .hero h2.center { font-size: 50px; text-align: left; margin-bottom: 40px; }
  header .hero p { font-size: 20px; }
  header .hero p.lead { font-size: 20px; }
  header .hero p.fine { font-size: 15px; }
}
@media only screen and (max-width: 450px) {
  body { overflow-x: hidden; }
}
/* }}} Header / hero */

/* {{{ Two-column text + image blocks */
.split { display: flex; gap: 40px; align-items: flex-start; }
.split .text { flex: 1; min-width: 0; }
.split .image { flex: none; width: 270px; }
.split .image img { width: 100%; height: auto; display: block; }
.split .text .btn { margin-top: 10px; }

@media only screen and (max-width: 650px) {
  .split { flex-direction: column; align-items: stretch; gap: 40px; }
  /* Photo goes full-bleed below the text */
  .split .image { width: auto; margin: 0 -16px; }
  .split .image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
}
/* }}} Two-column text + image blocks */

/* {{{ Sections */
#enter h2 { margin-bottom: 0.4em; }
#enter > p { margin-bottom: 40px; }
#enter form { margin-top: 0; }

#open-house .text p.lead { margin-bottom: 1.2em; }

#interests h2 { margin-bottom: 0.8em; }

#closer-look .text h2 { margin-bottom: 0.8em; }
#closer-look .text p { margin-bottom: 1.8em; }

#not-found { padding-bottom: 60px; }
/* }}} Sections */

/* {{{ Footer */
footer { width: 100%; display: block; background: var(--fan-red); padding: 24px 0; margin-top: 60px; }
footer .content { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
footer .logo { display: block; width: 200px; }
.socialwrap { display: flex; flex-direction: row; align-items: center; gap: 18px; }
.socialwrap a {
  color: #fff;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.socialwrap a:hover { color: #fff; opacity: 0.75; }

@media only screen and (max-width: 650px) {
  footer { margin-top: 40px; }
  footer .content { flex-direction: column; gap: 20px; }
  footer .logo { width: 150px; }
  .socialwrap { gap: 14px; }
}
/* }}} Footer */

/* {{{ Misc. Classes */
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.red { color: var(--fan-red); }
.group:after { content: ""; display: table; clear: both; }
/* }}} Misc. Classes */
