/* claude-maintained: safe to rewrite or delete */
/*
  The old ferguslaidlaw.com look (Webflow, 2022–2026), rebuilt as one stylesheet.
  Every value is taken from the CSS Webflow published for the site, so pages built
  by ../build.mjs render the same. Class names match Webflow's, which is why some
  are generic ("div-block-30", "heading-10") — they're kept so the pages line up
  one-to-one with the original.

  Order: base → Webflow layout helpers → site styles → lightbox → breakpoints
  (991px tablet, 767px landscape phone, 479px phone; 1440px / 1920px large).
*/

:root {
  --white: white;
  --black: black;
  --black-2: #333;
  --dark-grey: #9b9b9b;
  --dim-grey: #636363;
  --grey: grey;
}

/* ---------- base ---------- */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; height: 100%; font-family: sans-serif; }
body { min-height: 100%; margin: 0; background-color: #fff; color: #000; font-family: Montserrat, sans-serif; font-size: 16px; font-weight: 200; line-height: 22px; }
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary { display: block; }
[hidden], template { display: none; }
a { background-color: transparent; }
a:active, a:hover { outline: 0; }
b, strong { font-weight: bold; }
small { font-size: 80%; }
sub, sup { vertical-align: baseline; font-size: 75%; line-height: 0; position: relative; }
sup { top: -.5em; }
sub { bottom: -.25em; }
img { border: 0; vertical-align: middle; max-width: 100%; display: inline-block; }
svg:not(:root) { overflow: hidden; }
hr { box-sizing: content-box; height: 0; }
button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; }
button { overflow: visible; }
button, select { text-transform: none; }
button, html input[type="button"], input[type="reset"] { -webkit-appearance: button; cursor: pointer; }
button, [type="button"], [type="reset"] { cursor: pointer; -webkit-appearance: button; border: 0; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
input { line-height: normal; }
textarea { overflow: auto; }
table { border-collapse: collapse; border-spacing: 0; }
td, th { padding: 0; }

h1, h2, h3, h4, h5, h6 { margin-bottom: 10px; font-weight: bold; }
h1 { margin: 20px 0 10px; font-size: 18px; line-height: 44px; }
h2 { margin: 20px 0 30px; font-family: Montserrat, sans-serif; font-size: 44px; font-weight: 400; line-height: 52px; }
h3 { margin: 20px 0 30px; font-family: Montserrat, sans-serif; font-size: 24px; font-weight: 300; line-height: 38px; }
h4 { color: #333; text-align: center; text-transform: uppercase; margin-top: 10px; margin-bottom: 10px; font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 400; line-height: 24px; }
h5 { color: #000; margin-top: 10px; margin-bottom: 10px; font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 400; line-height: 24px; }
h6 { margin-top: 10px; font-size: 12px; line-height: 18px; }
p { color: #000; margin-top: 0; margin-bottom: 20px; font-family: Montserrat, sans-serif; font-size: 16px; font-weight: 200; line-height: 24px; }
a { color: gray; font-family: Montserrat, sans-serif; font-size: 16px; font-weight: 400; line-height: 22px; text-decoration: none; transition: color .2s; display: inline-block; }
a:hover { color: #000; box-shadow: inset 0 -2px #000; }
em { font-style: italic; }
figure { margin: 0 0 10px; }
figcaption { text-align: center; margin-top: 5px; }
blockquote { border-left: 5px solid #e2e2e2; margin: 0 0 10px; padding: 10px 20px; font-size: 18px; line-height: 22px; }
ul, ol { margin-top: 0; margin-bottom: 10px; padding-left: 40px; }
label { margin-bottom: 5px; font-weight: bold; display: block; }

/* ---------- Webflow layout helpers ---------- */

.w-inline-block { max-width: 100%; display: inline-block; }
.w-clearfix:before, .w-clearfix:after,
.w-container:before, .w-container:after,
.w-row:before, .w-row:after,
.w-richtext:before, .w-richtext:after,
.w-nav:before, .w-nav:after { content: " "; grid-area: 1 / 1 / 2 / 2; display: table; }
.w-clearfix:after, .w-container:after, .w-row:after, .w-richtext:after, .w-nav:after { clear: both; }

.w-container { max-width: 940px; margin-left: auto; margin-right: auto; }
.w-container .w-row { margin-left: -10px; margin-right: -10px; }
.w-layout-blockcontainer { max-width: 940px; margin-left: auto; margin-right: auto; display: block; }
.w-row .w-row { margin-left: 0; margin-right: 0; }
.w-col { float: left; width: 100%; min-height: 1px; padding-left: 10px; padding-right: 10px; position: relative; }
.w-col .w-col { padding-left: 0; padding-right: 0; }
.w-col-2 { width: 16.6667%; }
.w-col-3 { width: 25%; }
.w-col-6 { width: 50%; }
.w-col-9 { width: 75%; }

/* Touch devices (class added by the script in each page's head, as Webflow did): no fixed
   backgrounds. iPhones size a fixed "cover" background against the whole page, which made
   the homepage photos appear hugely zoomed in. */
html.w-mod-touch * { background-attachment: scroll !important; }

.w-dyn-empty { background-color: #ddd; padding: 10px; }
.w-dyn-hide, .w-dyn-bind-empty, .w-condition-invisible { display: none !important; }

.w-nav { z-index: 1000; background: #ddd; position: relative; }
.w-nav-brand { float: left; color: #333; text-decoration: none; position: relative; }
.w-nav-link { vertical-align: top; color: #222; text-align: left; margin-left: auto; margin-right: auto; padding: 20px; text-decoration: none; display: inline-block; position: relative; }
.w-nav-menu { float: right; position: relative; }

.w-form { margin: 0 0 15px; }
.w-form-done { text-align: center; background-color: #ddd; padding: 20px; display: none; }
.w-form-fail { background-color: #ffdede; margin-top: 10px; padding: 10px; display: none; }
.w-input { color: #333; vertical-align: middle; background-color: #fff; border: 1px solid #ccc; width: 100%; height: 38px; margin-bottom: 10px; padding: 8px 12px; font-size: 14px; line-height: 1.42857; display: block; }
.w-input::placeholder { color: #999; }
.w-input:focus { border-color: #3898ec; outline: 0; }
textarea.w-input { height: auto; }
.w-button { color: #fff; line-height: inherit; cursor: pointer; background-color: #3898ec; border: 0; border-radius: 0; padding: 9px 15px; text-decoration: none; display: inline-block; }
input.w-button { -webkit-appearance: button; }

/* rich text (project write-ups) */
.w-richtext ol, .w-richtext ul { overflow: hidden; }
.w-richtext figure { max-width: 60%; position: relative; }
.w-richtext figure img { width: 100%; }
.w-richtext figure div { color: transparent; font-size: 0; }
.w-richtext figure.w-richtext-figure-type-image { display: table; }
.w-richtext figure.w-richtext-figure-type-image > div { display: inline-block; }
.w-richtext figure.w-richtext-figure-type-image > figcaption { caption-side: bottom; display: table-caption; }
.w-richtext figure.w-richtext-figure-type-video { width: 60%; height: 0; }
.w-richtext figure.w-richtext-figure-type-video iframe { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.w-richtext figure.w-richtext-figure-type-video > div { width: 100%; }
.w-richtext figure.w-richtext-align-center { clear: both; margin-left: auto; margin-right: auto; }
.w-richtext figure.w-richtext-align-center.w-richtext-figure-type-image > div { max-width: 100%; }
.w-richtext figure.w-richtext-align-fullwidth { text-align: center; clear: both; width: 100%; max-width: 100%; margin-left: auto; margin-right: auto; display: block; }
.w-richtext figure.w-richtext-align-fullwidth > div { padding-bottom: inherit; display: inline-block; }
.w-richtext figure.w-richtext-align-fullwidth > figcaption { display: block; }
.w-richtext table { margin-bottom: 20px; }
.w-richtext th, .w-richtext td { padding: 4px 16px 4px 0; text-align: left; vertical-align: top; }

/* ---------- site ---------- */

/* nav */
.navbar { background-color: transparent; justify-content: space-between; width: 100%; height: auto; display: block; position: static; }
.padding-top { padding-top: 4rem; }
.padding-top-double { padding-top: 4rem; }
.page-padding { align-self: flex-start; margin-left: 2.5rem; margin-right: 2.5rem; }
.flex-horizontal { flex: 1; justify-content: center; align-items: center; width: 100%; display: flex; }
.logo-link.w--current { padding-bottom: 0; transition-property: none; }
.logo-link.w--current:hover { box-shadow: none; }
.logo-image { flex: 1; max-width: 100%; }
.nav-menu-container { float: right; clear: none; flex: 1; justify-content: flex-end; align-items: center; display: flex; position: static; }
.nav-bar-padding { padding-left: 1rem; padding-right: 1rem; }
.nav-bar-padding.no-padding-right { padding-right: 0; }
.link-nav { box-shadow: none; color: gray; letter-spacing: .2em; text-transform: lowercase; margin-right: 0; padding: 0; font-family: Montserrat, sans-serif; font-size: 16px; font-weight: 300; transition: color .2s, box-shadow .2s; position: static; }
.link-nav:hover { box-shadow: none; color: #000; }
.link-nav.w--current { box-shadow: none; color: #000; flex: 0 auto; margin-bottom: 0; margin-left: auto; margin-right: auto; padding: 0; position: static; }

/* home */
.body-3 { background-color: transparent; }
.mushroom-boi { width: 30rem; max-width: none; display: block; }
.arrow { z-index: 1; margin-left: auto; margin-right: auto; display: block; position: static; inset: 49% 0% 0%; }
.section-proposal { background-color: #dcdee0; justify-content: space-between; height: 100vh; padding-left: 0; padding-right: 0; display: flex; position: relative; top: 100vh; }
.section-proposal.main { flex-direction: column; top: 0; }
.wrapper { background-color: #fff; justify-content: space-between; align-items: stretch; width: 100%; display: flex; }
.wrapper.center { flex-direction: column; justify-content: center; padding-left: 5vw; padding-right: 5vw; }
.wrapper.center.form { justify-content: flex-start; min-height: auto; padding-top: 70px; padding-bottom: 70px; }
.column { flex: 1; overflow: hidden; }
.column._100vh { color: #fff; background-color: transparent; flex: none; align-items: flex-start; width: 50%; min-height: 100vh; padding-top: 13vh; padding-left: 7vw; padding-right: 10vw; display: flex; overflow: visible; }
.column._100vh:hover { opacity: 1; background-color: transparent; }
.column.background-image { opacity: 1; cursor: auto; background-position: 50%; background-repeat: no-repeat; background-size: cover; background-attachment: fixed; flex: 1; overflow: visible; }
.project-info { z-index: 20; flex-direction: column; align-items: flex-start; display: flex; position: relative; }
.project-description { color: var(--white); font-size: 18px; }
.project-link { box-shadow: none; color: #fff; text-shadow: none; font-weight: 300; }
.project-link:hover { box-shadow: none; opacity: .5; color: #fff; }

/* footer */
.div-block-27 { background-color: #fafafa; width: 100%; height: auto; padding-left: 5vw; padding-right: 5vw; }
.div-block-26 { flex-direction: column; justify-content: flex-start; align-items: flex-start; width: 90%; padding-top: 90px; padding-bottom: 90px; display: flex; }
.logo-footer { margin-bottom: 20px; margin-left: -3px; padding-left: 0; }
.wrapper-list-links { flex-flow: wrap; justify-content: flex-start; align-items: center; width: 70%; margin-top: 0; margin-bottom: 0; padding-top: 20px; padding-bottom: 20px; display: flex; }
.footer-links { margin-bottom: 20px; margin-right: 20px; font-weight: 300; }
.footer-links:hover { box-shadow: none; }

/* about */
.section-about-new { float: none; width: 100vw; height: auto; position: relative; }
.body-wrap { text-align: left; flex: 1; align-self: flex-start; width: 70%; margin-left: auto; margin-right: auto; }
.heading-9 { margin-top: 0; }
.about-text-container { margin-bottom: 0; }
.paragraph-2 { font-size: 16px; }
.div-block-29 { width: 2.5rem; height: 2.5rem; }
.image-wrap { text-align: left; align-self: flex-start; width: 40%; }
.about-image-container { margin-top: 5px; margin-bottom: 0; }
.flex-horizontal-education { flex: 1; justify-content: flex-start; align-items: center; width: 100%; display: flex; }
.column-2 { padding-left: 0; }
.column-3 { padding-left: 0; }
.body-2 { margin-bottom: 0; font-size: 14px; line-height: 18px; }
.columns, .columns-2 { margin-bottom: 10px; }

/* contact */
.hero { justify-content: center; align-items: flex-end; width: 100%; min-height: 100vh; padding-bottom: 10vh; display: flex; position: fixed; }
.hero.pages { justify-content: center; height: 70vh; }
.wrapper-title { width: 100%; margin-left: 0; margin-right: 0; padding-left: 5vw; padding-right: 5vw; overflow: hidden; }
._w-h1 { padding-right: 10vw; position: relative; overflow: hidden; }
.main-h1 { color: #000; margin-top: 5px; margin-bottom: 5px; font-family: Montserrat, sans-serif; font-size: 50px; font-weight: 100; line-height: 72px; position: relative; }
.wrapper-info { flex-direction: column; justify-content: space-between; align-items: center; padding-top: 20vh; padding-bottom: 20vh; display: flex; }
.wrapper-info.contact { padding-top: 0; padding-bottom: 0; }
.div-block-18 { flex: 0 auto; width: 30vw; margin-right: 10vw; }
.heading-7 { text-align: center; font-family: Montserrat, sans-serif; font-size: 24px; font-weight: 400; }
.wrap-content { width: 60vw; padding-top: 20px; padding-right: 5vw; }
._w-form { min-height: 400px; }
.field { border: 1px solid #fff; border-bottom-color: #bbb; height: 60px; margin-bottom: 45px; padding-left: 0; font-family: Montserrat, sans-serif; font-size: 20px; font-weight: 300; }
.button { background-color: #000; padding: 25px 55px; font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 300; transition: background-color .4s, box-shadow .4s, color .4s; }
.button:hover { color: #000; background-color: #fff; box-shadow: inset 0 0 0 3px #000; }
/* the "Contact." title slides up into view once the page has loaded */
html.js .main-h1[data-reveal] { transform: translate3d(0, 110%, 0); }
html.js .main-h1[data-reveal].is-revealed { transform: translate3d(0, 0, 0); transition: transform 1s cubic-bezier(.87, 0, .13, 1); }

/* project pages */
.richtextdesign { font-size: 8px; }
.back-to-projects { margin-bottom: 30px; display: flex; }
.link-block, .link-block:hover { box-shadow: none; }
.link-block.w--current { font-weight: 100; }
.project-subtitle { color: #000; margin-top: 0; margin-bottom: 0; padding-top: 10px; font-size: 18px; font-weight: 300; }
.team { color: #3a3a3a; margin-top: 0; margin-bottom: 0; padding-top: 10px; font-size: 14px; font-weight: 200; }
.wide-background { background-color: #657580; width: 100vw; height: 100vh; margin-bottom: 10%; }
.wide-background._01 { background-position: 50%; background-size: cover; margin-bottom: 0; }
.div-block-30 { height: 4rem; }
.problem { height: auto; display: flex; }
.solution { height: auto; display: flex; }
.heading-10 { text-align: center; align-self: center; width: 50vw; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; font-size: 24px; font-weight: 500; line-height: 36px; }
.div-block-35 { width: 2.5rem; }
.body-1 { width: 50vw; font-size: 16px; font-weight: 200; line-height: 22px; }
.problemsolution-divider { height: 3rem; }
.solution-column { display: flex; }
.column-5 { align-self: center; }
.column-7 { padding-left: 0; padding-right: 0; }
.problem-and-solution-mobile { height: 3rem; display: none; }
.heading-10-mobile { text-align: center; align-self: center; width: 50vw; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; font-size: 24px; font-weight: 500; line-height: 36px; }
.body-1-mobile { width: 50vw; font-size: 16px; font-weight: 200; line-height: 22px; }
.heading-12 { text-align: center; }
.richtexttest { color: #000; }
.collection-item { min-width: 10rem; padding-top: 10px; padding-bottom: 10px; }
/* Webflow floated the gallery thumbnails, and its resized copies came out exactly the same height
   along each row. The original photos differ by fractions of a pixel, which can snag a float into
   the wrong column, so the rows are laid out with flexbox instead — same positions, no snags. */
.w-dyn-items.w-row { display: flex; flex-wrap: wrap; align-items: flex-start; }
.empty-state { background-color: transparent; }
.next-project { padding: 5vw; }
.alt-next { color: #9b9b9b; margin-bottom: 20px; font-family: Montserrat, sans-serif; font-size: 24px; font-weight: 400; line-height: 60px; }
.big-link { box-shadow: none; color: #000; margin-bottom: 10px; font-family: Montserrat, sans-serif; font-size: 24px; font-weight: 200; line-height: 40px; transition: color .2s; }
.big-link:hover { box-shadow: none; opacity: .5; }

/* 404 */
.utility-page-wrap { justify-content: center; align-items: center; width: 100vw; max-width: 100%; height: 100vh; max-height: 100%; display: flex; }
.utility-page-content { text-align: center; flex-direction: column; width: 260px; display: flex; }

/* ---------- gallery lightbox ---------- */

.lightbox { z-index: 2000; color: #fff; text-align: center; background: rgba(0, 0, 0, .9); opacity: 0; transition: opacity .3s; position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: 100vw; max-height: 100vh; display: block; }
.lightbox-close { cursor: pointer; opacity: .8; background: transparent; border: 0; width: 4em; height: 2.6em; padding: 0; transition: opacity .3s; position: absolute; top: 0; right: 0; }
.lightbox-close:hover, .lightbox-close:focus-visible { opacity: 1; }
.lightbox-close:before, .lightbox-close:after { content: ""; background: #fff; width: 18px; height: 2px; position: absolute; top: 50%; left: 50%; box-shadow: 0 0 2px rgba(0, 0, 0, .4); }
.lightbox-close:before { transform: translate(-50%, -50%) rotate(45deg); }
.lightbox-close:after { transform: translate(-50%, -50%) rotate(-45deg); }
html.lightbox-noscroll { overflow: hidden; }

/* ---------- breakpoints ---------- */

@media screen and (min-width: 768px) {
  .lightbox img { max-width: 96vw; max-height: 96vh; }
}

@media screen and (min-width: 1440px) {
  .mushroom-boi { width: auto; max-width: 30rem; }
  .body-wrap { width: 50vw; }
  .image-wrap { width: 50vw; }
}

@media screen and (min-width: 1920px) {
  .mushroom-boi { width: 50rem; max-width: 100rem; }
}

@media screen and (max-width: 991px) {
  a { margin-bottom: 20px; }
  .w-container { max-width: 728px; }
  .w-layout-blockcontainer { max-width: 728px; }
  .hero { justify-content: flex-start; padding-left: 0; }
  .wrapper-title { width: 100vw; }
  .section-proposal.main { justify-content: flex-start; }
  .main-h1 { font-size: 40px; line-height: 80px; }
  .column._100vh { width: auto; padding-left: 0; padding-right: 0; }
  .project-info { width: 100%; padding: 10vh 5vw; }
  .wrapper { flex-direction: column-reverse; }
  .wrapper.center.form { padding-left: 70px; }
  .wrapper-list-links { flex-direction: column; align-items: flex-start; width: auto; }
  .wrap-content { width: 100%; }
  .div-block-18 { width: auto; }
  .div-block-26 { width: auto; }
  .div-block-27 { padding-left: 5vw; padding-right: 5vw; }
  .big-link { font-size: 24px; line-height: 40px; }
  .padding-top.mobile-hidden { display: none; }
  .link-nav { margin-bottom: 0; }
  .logo-link { margin-bottom: 0; }
}

@media screen and (max-width: 767px) {
  .w-row, .w-container .w-row { margin-left: 0; margin-right: 0; }
  .w-col { width: 100%; left: auto; right: auto; }
  .w-layout-blockcontainer { max-width: none; }
  .w-nav-brand { padding-left: 10px; }
  .hero.pages { text-align: center; padding-left: 40px; }
  .column._100vh { width: 100%; min-height: auto; }
  .column.background-image { flex: 0 auto; width: 100%; }
  .wrapper.center { padding-left: 40px; padding-right: 40px; }
  .wrapper-list-links { flex-direction: column; align-items: flex-start; }
  .navbar { flex-direction: row; justify-content: flex-start; align-items: center; padding-top: 5vh; padding-left: 5vw; padding-right: 5vw; display: block; }
  .body-wrap { width: 90%; }
  .logo-image { width: 100%; }
  .padding-top.mobile-hidden { display: none; }
  .flex-horizontal { flex-flow: column; }
  .logo-link { margin-bottom: auto; padding-left: 0; }
  .logo-link.w--current { align-items: flex-start; margin-bottom: auto; padding-left: 0; display: block; }
  .nav-bar-padding { padding-left: .5rem; padding-right: .5rem; }
  .heading-9 { margin-bottom: 10px; font-size: 18px; line-height: 30px; }
  .image-wrap { width: 90%; }
  .heading-10, .heading-10-mobile { font-size: 20px; line-height: 32px; }
  .link-block { font-size: 12px; }
  .link-nav { margin-top: 0; font-size: 14px; display: inline-block; }
  .link-nav.w--current { font-size: 14px; }
  .paragraph-2 { font-size: 12px; line-height: 20px; }
}

@media screen and (max-width: 479px) {
  .w-container { max-width: none; }
  .w-col { width: 100%; }
  h2 { font-size: 30px; line-height: 40px; }
  p { font-size: 14px; }
  .hero { padding-left: 40px; padding-right: 40px; }
  .hero.pages { text-align: center; }
  .main-h1 { font-size: 30px; line-height: 40px; }
  .column._100vh { height: 100vh; padding: 60px 40px; }
  .column.background-image { flex: 0 auto; width: 100%; }
  .project-info { padding: 0; }
  .wrapper { flex: none; }
  .wrapper.center { padding-left: 0; padding-right: 0; }
  .wrapper.center.form { padding-left: 40px; padding-right: 40px; }
  .wide-background._01 { background-size: cover; background-attachment: scroll; }
  .wrapper-info { flex-direction: column; }
  .wrapper-info.contact { flex-direction: column; }
  .wrap-content, .div-block-18 { width: auto; }
  .alt-next { font-size: 20px; line-height: 40px; }
  .navbar { text-align: center; flex-direction: column; padding-top: 2vh; }
  .div-block-27 { padding-left: 40px; padding-right: 40px; }
  .nav-menu-container { justify-content: center; width: 100%; padding-left: 0; padding-right: 0; }
  .big-link { font-size: 20px; line-height: 20px; }
  .body-wrap { align-self: center; }
  .body-1 { padding: 10px 0; font-size: 14px; display: none; }
  .mushroom-boi { width: 100%; max-width: none; }
  .padding-top { overflow: visible; }
  .flex-horizontal { flex-direction: column; width: 100%; }
  .page-padding { margin-left: 1rem; margin-right: 1rem; }
  .nav-bar-padding { padding-left: .25rem; padding-right: .25rem; }
  .section-header.home { align-items: center; height: 80vh; display: flex; }
  .image-wrap { order: -1; align-self: center; }
  .flex-horizontal-education { flex-direction: column; width: 100%; }
  .heading-10 { padding-top: 10px; padding-bottom: 10px; display: none; }
  .problem-and-solution-mobile { flex-flow: column; height: auto; display: flex; }
  .div-block-34 { height: 2rem; }
  .body-1-mobile { width: auto; padding: 10px 0; font-size: 14px; }
  .heading-10-mobile { width: auto; padding-top: 10px; padding-bottom: 10px; }
  .link-block { font-size: 12px; }
  .link-nav { letter-spacing: .1em; }
  .solution-column { display: none; }
  .problemsolution-divider { display: none; }
}
