@charset "UTF-8";

/* ==========================================================================
   DESIGN TOKENS
   Edit values here to restyle the site. Your own CSS (below) reads from these.
   The Bootstrap and animation code further down does not use them.
   ========================================================================== */

:root {
  /* color: base */
  --color-white: #fff;
  --color-black: #000;

  /* color: dark surfaces */
  --color-bg: #1a1a1a;          /* page background, menu */
  --color-bg-deep: #161616;     /* slogan band, hover overlay */
  --color-bg-darkest: #101010;  /* header fallback behind photo */

  /* color: text and lines (grays) */
  --color-text-heading-dark: #131313;
  --color-text-body: #414141;
  --color-border-strong: #313131;
  --color-hover-dim: #515151;
  --color-text-muted: #666;
  --color-text-muted-hover: #6a6a6a;
  --color-text-subtle: #999;
  --color-rule: #ccc;
  --color-border-light: #e0e0e0;

  /* color of the hero photo's top edge, used behind the phone status bar */
  --color-photo-edge: #323232;

  /* tile hover: how much the thumbnail blurs behind the overlay */
  --tile-blur: 6px;

  /* type: family */
  --font-body: 'Montserrat', Helvetica, sans-serif;

  /* type: weight */
  --font-weight-thin: 100;
  --font-weight-extralight: 200;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-semibold: 600;

  /* type: size (px = fixed, rel = em, scales with the parent's size) */
  --font-size-2xs: 10px;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-md: 14px;
  --font-size-heading-card: 1.6rem;
  --font-size-rel-50: 0.5em;
  --font-size-rel-60: 0.6em;
  --font-size-rel-70: 0.7em;
  --font-size-rel-80: 0.8em;
  --font-size-rel-100: 1em;
  --font-size-rel-240: 2.4em;
  --font-size-rel-350: 3.5em;

  /* type: card (mobile tile) */
  --font-weight-medium: 500;
  --font-size-card-title: 18px;
  --font-size-card-meta: 13px;
  --tracking-card: 0.13em;

  /* card layout */
  --space-card: 24px;       /* gap between cards and margin from the screen edge */
  --radius-card: 12px;

  /* type: letter-spacing */
  --tracking-xs: 1px;
  --tracking-sm: 2px;
  --tracking-md: 3px;
  --tracking-lg: 4px;
  --tracking-xl: 10px;

  /* type: line-height */
  --line-height-tight: 1.1;
  --line-height-relaxed: 1.8;
}

/* ===== style.css ===== */

/* CSS Document */

/* FOR INDEX PAGE */

html,body {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
font-size: var(--font-size-rel-80);
font-family: var(--font-body) !important;
-webkit-font-smoothing: antialiased !important;
background-color: var(--color-bg) !important;
}

@-moz-document url-prefix() {
#welcome h1 {
     font-weight: var(--font-weight-thin) !important;
  }
a {font-weight: var(--font-weight-thin) !important;}
#headerbg h2 {font-weight: var(--font-weight-thin) !important;}
#menu li {font-weight: var(--font-weight-thin) !important;}
}

a {
	color: var(--color-text-muted) !important;
	-webkit-transition: all .2s linear;
	transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
}

a:hover {
	color: var(--color-white) !important;
	text-decoration: none !important;
}

div h1 {
	font-size: var(--font-size-rel-100);
	color: var(--color-black);
	letter-spacing: var(--tracking-lg);
	text-align: center;
	padding-top: 50px;
	font-weight: var(--font-weight-extralight);
}

div h2 {
	font-size: var(--font-size-rel-60);
	color: var(--color-text-muted);
	letter-spacing: var(--tracking-md);
	text-align: center;
	font-weight: var(--font-weight-extralight);
	margin-bottom: 50px;
}

hr {
	width: 20px;
	margin-bottom: 50px!important;
	height: 1px !important;
	color: var(--color-rule);
	background-color: var(--color-rule);

}

#welcome {
	position: relative;
 font-size: var(--font-size-rel-350);
 margin-top: 100px;
 height: 120px;
 text-align: center;
 top: 50%;
 margin-top: -50px;
 width: 400px;
  	-webkit-transition: all 0.7s ease;
	transition: all 0.7s ease;
	-moz-transition: all 0.7s ease;
	-o-transition: all 0.7s ease;
}

#headerbg {
    height:400px;
    background: url('../assets/mountain.jpg') no-repeat top center var(--color-bg) fixed;
    -webkit-background-size: cover;
	   -moz-background-size: cover;
   	-o-background-size: cover;
   	background-size: cover;
    background-color: var(--color-bg-darkest);  
    color: var(--color-white);
    overflow:hidden;
}

#headerbg h1 {
	letter-spacing: var(--tracking-xl)!important;
	font-size: var(--font-size-rel-50)!important;
	color: var(--color-white)!important;
	padding-top: 0px !important;
 	font-weight: var(--font-weight-light);
}

#headerbg h2 {
	letter-spacing: var(--tracking-sm)!important;
	font-size: var(--font-size-sm) !important;
	color: var(--color-white) !important;
}

#headerbg h3 {
	letter-spacing: var(--tracking-sm)!important;
	font-size: var(--font-size-2xs) !important;
	color: var(--color-white) !important;
 -webkit-transition: all .3s linear;
	transition: all .3s linear;
	-moz-transition: all .3s linear;
	-o-transition: all .3s linear;
}

#headerbg h3:hover {
	color: var(--color-hover-dim) !important;
}

#works {
	width: 100%;
	float: left;
 background-color: var(--color-white);
}

#works img {
	width: 100%;
	position: relative;
	padding: 0px;
	opacity: 5;
-webkit-transition: all .3s linear;
	transition: all .3s linear;
	-moz-transition: all .3s linear;
	-o-transition: all .3s linear;
	z-index: 10;
}

#title {
	background-color: var(--color-white);
	width: 100%;
	height: 100px;
	text-align: center;
	float: left;
}

#title h1 {
	color: var(--color-bg) !important;
	line-height: 60px!important;
	font-size: var(--font-size-md)!important;
	letter-spacing: var(--tracking-lg);
	padding-top: 0px !important;
}

/* ==========================================================================
   LEGACY IDS (#lavoro, #overlayimg, #spec): used only by the locked index.html.
   Delete these id selectors when index.html is retired at launch.
   ========================================================================== */
.tile,
#lavoro {
	text-align: center;
	padding: 0px !important;
	background-color: var(--color-white);
	float: left;
}

.tile-overlay,
#overlayimg {  
background: rgba(22,22,22,0.9);
text-align:center;
opacity:0;
width: 100%;
height: 100%;
float: left;
z-index: 11;
position: absolute;
color: var(--color-white);
-webkit-transition: all 0.2s linear;
transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
transition-delay: 0.1s;
-webkit-transition-delay: 0.1s;
-o-transition-delay: 0.1s;
-moz-transition-delay: 0.1s;
padding-top: 10px;
}

.tile-overlay:hover,
#overlayimg:hover {  
opacity:1;
padding-top: 0px;
}

.tile-overlay h2,
#overlayimg h2 {
	color: var(--color-white) !important;
	font-size: var(--font-size-rel-100) !important;
	margin-bottom: 0px !important;
	margin-top: 0px !important;
}

.tile-overlay h3,
#overlayimg h3 {
	color: var(--color-white) !important;
	font-size: var(--font-size-rel-70) !important;
	border: 2px solid var(--color-white) !important;
	padding: 10px !important;
	width: 120px !important;
	text-align: center !important;
	letter-spacing: var(--tracking-sm) !important;
	margin: 0 auto !important;
}

.tile-overlay h3:hover,
#overlayimg h3:hover {
	background-color: var(--color-white);
	color: var(--color-black) !important;
}

.tile-overlay hr,
#overlayimg hr {
	margin-top: 20px !important;
	margin-bottom: 20px !important;
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	height: 1px!important;
	background-color: var(--color-black) !important;
	color: var(--color-white) !important;
 width: 10px !important;
}

.tile-overlay p,
#overlayimg p {
	letter-spacing: var(--tracking-sm) !important;
	font-size: var(--font-size-rel-60) !important;
}

.tile-info,
#spec {
	height: 146px;
	top: 50%;
	margin-top: -73px !important;
	position: relative;
}

/* ==========================================================================
   ARCHIVAL UNDER CONSTRUCTION LOCK (ADDED OCTOBER 2026)
   ========================================================================== */

/* Freeze and blur container structure */

.under-construction-blur-container {
    width: 100%;
    height: 100%;
    filter: blur(12px) grayscale(35%); /* Soft glass frost layout aesthetic */
    opacity: 0.22;                     /* Clean backdrop dim profile */
    pointer-events: none !important;   /* Disables clicking background anchors */
    user-select: none !important;      /* Disables scraping text elements */
}

/* Freeze the page: only applies when <body class="locked"> is set (index.html) */

body.locked {
    overflow: hidden !important;
    position: relative;
    width: 100%;
    height: 100vh;
}

/* Floating interface lock layer */

.lock-screen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    z-index: 2147483647; /* Sits clean over any parallax properties */
    background: rgba(26, 26, 26, 0.4); /* Tinted to match body background-color */
}

/* Centered interactive callout modal */

.construction-card {
    background: #111112; 
    border: 1px solid #2a2a2e;
    padding: 55px 40px;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.construction-card h1 {
    font-family: var(--font-body) !important;
    font-size: var(--font-size-heading-card) !important;
    font-weight: var(--font-weight-regular) !important;
    color: #ffffff !important;
    letter-spacing: var(--tracking-sm) !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    padding-top: 0px !important;
    text-align: center !important;
}

.construction-card p {
    font-family: var(--font-body) !important;
    font-size: var(--font-size-xs) !important;
    line-height: var(--line-height-relaxed) !important;
    color: #a1a1aa !important;
    letter-spacing: var(--tracking-xs) !important;
    margin-bottom: 35px !important;
    text-transform: none !important;
    text-align: center !important;
}

/* Clean UI download interface button element */

.resume-download-btn {
    display: inline-block;
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    font-family: var(--font-body) !important;
    text-transform: uppercase;
    text-decoration: none !important;
    letter-spacing: var(--tracking-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    padding: 14px 36px;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.resume-download-btn:hover {
    background-color: #e4e4e7 !important;
    color: #1a1a1a !important;
}

.resume-download-btn:active {
    transform: scale(0.98);
}

/* ===== animate.css ===== */

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}

@-webkit-keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-20px);
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}

/* ===== bootstrap.css ===== */

html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

template {
  display: none;
}

a {
  background: transparent;
}

a:active,
a:hover {
  outline: 0;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  margin: .67em 0;
  font-size: 2em;
}

mark {
  color: #000;
  background: #ff0;
}

small {
  font-size: 80%;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sup {
  top: -.5em;
}

sub {
  bottom: -.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  height: 0;
  -moz-box-sizing: content-box;
       box-sizing: content-box;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font: inherit;
  color: inherit;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

input {
  line-height: normal;
}

fieldset {
  padding: .35em .625em .75em;
  margin: 0 2px;
  border: 1px solid #c0c0c0;
}

legend {
  padding: 0;
  border: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

td,
th {
  padding: 0;
}

@media print {
* {
    color: #000 !important;
    text-shadow: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }
a,
  a:visited {
    text-decoration: underline;
  }
a[href]:after {
    content: " (" attr(href) ")";
  }
a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
pre,
  blockquote {
    border: 1px solid #999;

    page-break-inside: avoid;
  }
thead {
    display: table-header-group;
  }
tr,
  img {
    page-break-inside: avoid;
  }
img {
    max-width: 100% !important;
  }
p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
h2,
  h3 {
    page-break-after: avoid;
  }
select {
    background: #fff !important;
  }
}

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 62.5%;

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  background-color: #fff;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

a {
  color: #428bca;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #2a6496;
  text-decoration: underline;
}

a:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

figure {
  margin: 0;
}

img {
  vertical-align: middle;
}

hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eee;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
  font-weight: normal;
  line-height: 1;
  color: #999;
}

h1,
h2,
h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

h1 small,
h2 small,
h3 small {
  font-size: 65%;
}

h4,
h5,
h6 {
  margin-top: 10px;
  margin-bottom: 10px;
}

h4 small,
h5 small,
h6 small {
  font-size: 75%;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 12px;
}

p {
  margin: 0 0 10px;
}

small {
  font-size: 85%;
}

cite {
  font-style: normal;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 10px;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin-bottom: 0;
}

dl {
  margin-top: 0;
  margin-bottom: 20px;
}

dt,
dd {
  line-height: 1.42857143;
}

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

blockquote {
  padding: 10px 20px;
  margin: 0 0 20px;
  font-size: 17.5px;
  border-left: 5px solid #eee;
}

blockquote p:last-child,
blockquote ul:last-child,
blockquote ol:last-child {
  margin-bottom: 0;
}

blockquote footer,
blockquote small {
  display: block;
  font-size: 80%;
  line-height: 1.42857143;
  color: #999;
}

blockquote footer:before,
blockquote small:before {
  content: '\2014 \00A0';
}

blockquote:before,
blockquote:after {
  content: "";
}

address {
  margin-bottom: 20px;
  font-style: normal;
  line-height: 1.42857143;
}

code,
kbd,
pre,
samp {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  white-space: nowrap;
  background-color: #f9f2f4;
  border-radius: 4px;
}

kbd {
  padding: 2px 4px;
  font-size: 90%;
  color: #fff;
  background-color: #333;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
}

pre {
  display: block;
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.42857143;
  color: #333;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
}

pre code {
  padding: 0;
  font-size: inherit;
  color: inherit;
  white-space: pre-wrap;
  background-color: transparent;
  border-radius: 0;
}

.col-md-4,
.col-xs-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-xs-12 {
  float: left;
}

.col-xs-12 {
  width: 100%;
}

@media (min-width: 992px) {
.col-md-4 {
    float: left;
  }
.col-md-4 {
    width: 33.33333333%;
  }
}

table {
  max-width: 100%;
  background-color: transparent;
}

th {
  text-align: left;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 20px;
  font-size: 21px;
  line-height: inherit;
  color: #333;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
}

label {
  display: inline-block;
  margin-bottom: 5px;
  font-weight: bold;
}

output {
  display: block;
  padding-top: 7px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
}

@-ms-viewport {
  width: device-width;
}

/* ===== nprogress.css ===== */

/* ===== canvasmenu.css ===== */

/* CSS Document */

#menu {
	width: 220px !important;
	height: 100%;
	margin: 0px;
	position: fixed;
	background-color: var(--color-bg);
	margin-left: -220px;
	z-index: 1000;
    -webkit-transform: translate(0px, 0px);
    -moz-transform: translate(0px, 0px);
    -o-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    padding: 10px;

}

#menu li {
	padding-top: 10px;
	padding-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: var(--tracking-sm);
	padding-left: 15px;
	font-size: var(--font-size-rel-70) !important;
	text-decoration: none !important;
	
}

#menu li a {
    color: var(--color-text-muted) !important;
    -webkit-transition: all .2s linear;
	transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	text-decoration: none !important;
}

#menu li a:hover {
    color: var(--color-white) !important;
   	text-decoration: none !important;
}

#menu ul {
	margin-top: 10px;
	list-style: none !important;
	text-decoration: none !important;
}

#menu-toggle {
	width: 35px;
	height: 35px;
	background-color: transparent;
	margin-left: 240px;
	margin-top: 20px;
	position: fixed;
	z-index: 1000;
	-webkit-transition: all 0.3s ease-in-out;
 -moz-transition: all 0.3s ease-in-out;
 -o-transition: all 0.3s ease-in-out;
 transition: all 0.3s ease-in-out;
 background-image: url("../assets/menu.png");
 background-repeat: no-repeat;
 background-size: cover;
 background-position: center center;
 opacity: 0.5;
 z-index: 31000;
}

#menu-toggle:hover {
	opacity: 1;
}

#menu-toggle.slide {
	background-image: url("../assets/close.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#menu.slide {
    -webkit-transform: translate(220px, 0px);
    -moz-transform: translate(220px, 0px);
    -o-transform: translate(220px, 0px);
    -ms-transform: translate(220px, 0px);
    transform: translate(220px, 0px);
}

#main {
	height: 100%;
	width: 100%;
	margin-left: 0px;
	-webkit-transform: translate(0px, 0px);
    -moz-transform: translate(0px, 0px);
    -o-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    opacity: 1;

}

#main.slide {
    /* the menu overlaps the page instead of pushing it; the page just dims */
    opacity: 0.5;
}

.iconmenu {
	font-family: 'entypo' !important;
	font-size: var(--font-size-rel-240) !important;
	padding-right: 15px !important;
	color: var(--color-text-muted) !important;
}

#menu li a:hover + .iconmenu {
    color: var(--color-white) !important;
   	text-decoration: none !important;
}

/* ===== responsive.css ===== */

/* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */

@media (min-width:300px) and (max-width:599px) {
#headerbg {
    height: 100% !important;
    background-size: auto !important;
    background-attachment: scroll !important;
}
#headerbg h1 {
    letter-spacing: var(--tracking-lg) !important;
}
#headerbg h2 {
    letter-spacing: var(--tracking-sm) !important;
}
div h1 {
    font-size: var(--font-size-rel-100) !important;
    letter-spacing: var(--tracking-md) !important;
}
div h2 {
    font-size: var(--font-size-rel-60) !important;
    letter-spacing: var(--tracking-xs) !important;
}
#menu li {
    font-size: var(--font-size-rel-70) !important
}
#welcome {
    width: 300px;
}
#menu-toggle {
    margin-left: 230px !important;
    margin-top: 10px !important;
}
.tile-overlay,
#overlayimg {
    display: none !important;
}
}

/* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */

@media (min-width:600px) and (max-width:899px) {
.tile-overlay,
#overlayimg {
    display: none !important;
}
#headerbg {
    background-attachment: scroll !important;
}
}

/* hi-res laptops and desktops */

@media (min-width:1440px) {
#headerbg {
    height: 700px;
}
}

/* ===== site footer ===== */

#site-footer {
  background-color: var(--color-bg);
  clear: both;
  padding: 40px 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-2xs);
  letter-spacing: var(--tracking-sm);
  text-transform: uppercase;
}

/* ===== tile: text case, password field, keyboard focus ===== */
.tile-info {
	text-transform: uppercase;
}
.tile-overlay {
	-webkit-backdrop-filter: blur(var(--tile-blur));
	backdrop-filter: blur(var(--tile-blur));
}
.tile-overlay:focus-within {
	opacity: 1;
	padding-top: 0px;
}
.tile-pass {
	display: flex;
	width: 190px;
	margin: 0 auto;
	border: 2px solid var(--color-white);
	font-size: var(--font-size-rel-70);
	line-height: var(--line-height-tight);
	letter-spacing: var(--tracking-sm);
}
.tile-pass input {
	flex: 1;
	min-width: 0;
	padding: 10px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--color-white);
	font: inherit;
	letter-spacing: inherit;
	text-transform: uppercase;
	text-align: center;
}
.tile-pass input::placeholder {
	color: var(--color-text-subtle);
	opacity: 1;
}
.tile-pass input:focus {
	outline: none;
}
.tile-pass button {
	padding: 0 12px;
	border: 0;
	border-left: 2px solid var(--color-white);
	border-radius: 0;
	background: transparent;
	color: var(--color-white);
	font: inherit;
	letter-spacing: inherit;
	text-transform: uppercase;
	cursor: pointer;
	transition: all .2s linear;
}
.tile-pass button:hover,
.tile-pass button:focus-visible {
	background: var(--color-white);
	color: var(--color-black);
	outline: none;
}
.tile-pass:focus-within {
	outline: 2px solid var(--color-white);
	outline-offset: 3px;
}

/* ===== load and scroll reveal =====
   Elements with class "reveal" start hidden and animate when reveal.js adds "is-in".
   Add "reveal-focus" for the blur-to-sharp version. reveal.js sets --delay per element.
   Speed: change the durations here. Order and timing: see js/reveal.js. */
@keyframes reveal-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes reveal-focus {
  from { opacity: 0; transform: translateY(12px); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.js-reveal .reveal { opacity: 0; }
.js-reveal .reveal.is-in {
  animation: reveal-rise 1.1s cubic-bezier(0.33, 1, 0.68, 1) var(--delay, 0s) both;
}
.js-reveal .reveal-focus.is-in {
  animation-name: reveal-focus;
  animation-duration: 1.8s;
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; }
  .js-reveal .reveal.is-in { animation: none; }
}


/* ===== scroll cue (mobile and tablet only) =====
   Outlined pill with a bouncing dot at the bottom of the hero.
   It sits inside #headerbg, so it scrolls away with the page. */
.scroll-cue {
	display: none;
}
@media (max-width: 899px) {
	/* hero fills the whole screen, including behind Safari's bars (lvh = largest viewport) */
	#headerbg {
		position: relative;
		height: 100vh !important;
		height: 100lvh !important;
		min-height: 480px;
		background-size: cover !important;
		background-position: center top !important;
	}
	.scroll-cue {
		display: block;
		position: absolute;
		left: 50%;
		/* lvh - svh = height of the browser bars, so the cue stays above them */
		bottom: calc(64px + 100lvh - 100svh + env(safe-area-inset-bottom, 0px));
		width: 28px;
		height: 46px;
		margin-left: -14px;
		border: 2px solid var(--color-white);
		border-radius: 20px;
		box-sizing: border-box;
		opacity: 0;
		animation: cue-in 1s ease 3s forwards;
	}
	/* Safari paints the bar areas with the page color. Match it to the top edge of the
	   photo so the status bar blends into the hero instead of showing a dark band. */
	html,
	body {
		background-color: var(--color-photo-edge) !important;
	}
	/* keep the hamburger clear of the status bar when the page draws edge to edge */
	#menu-toggle {
		top: env(safe-area-inset-top, 0px);
	}
	.scroll-cue-dot {
		position: absolute;
		left: 50%;
		top: 8px;
		width: 8px;
		height: 8px;
		margin-left: -4px;
		border-radius: 50%;
		background: var(--color-white);
		animation: cue-bounce 2s cubic-bezier(0.45, 0, 0.55, 1) 3s infinite;
	}
}
@keyframes cue-in {
	to { opacity: 0.85; }
}
/* 1.5s bounce, then a 0.5s pause */
@keyframes cue-bounce {
	0%   { transform: translateY(0); }
	37%  { transform: translateY(18px); }
	75%  { transform: translateY(0); }
	100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
	.scroll-cue { animation: none; opacity: 0.85; }
	.scroll-cue-dot { animation: none; }
}


/* ===== tile as a card (touch devices and screens under 900px) =====
   Same markup as the hover tile. Desktop with a mouse keeps the hover overlay.
   Card: image, then name, role | year, and the action. 24px margin and gap.
   A password card opens the overlay on tap (js/tile.js adds .is-open). */
.tile-card,
.tile-close {
	display: none;
}
/* keeps the "VIEW" button on the desktop overlay at its current weight now that Montserrat 500 loads */
.tile-overlay h3 {
	font-weight: var(--font-weight-regular);
}

@media (max-width: 899px), (hover: none) {
	#works {
		display: grid;
		grid-template-columns: 1fr;
		gap: var(--space-card);
		padding: var(--space-card);
	}
	/* wide touch screens (iPad landscape) keep three across */
	@media (min-width: 900px) {
		#works {
			grid-template-columns: repeat(3, 1fr);
		}
	}
	.tile {
		position: relative;
		float: none !important;
		width: auto !important;
		border: 1px solid var(--color-border-light);
		border-radius: var(--radius-card);
		overflow: hidden;
		background-color: var(--color-white);
	}
	#works .tile > a,
	#works .tile > img {
		display: block;
	}
	#works .tile img {
		width: 100%;
		height: auto;
		aspect-ratio: 391 / 190;
		object-fit: cover;
	}
	/* the hover overlay is off, except the open password overlay below */
	.tile-overlay {
		display: none !important;
	}

	.tile-card {
		display: block;
		padding: var(--space-card);
		text-align: center;
		text-transform: uppercase;
		color: var(--color-text-heading-dark);
	}
	.tile-card-title {
		font-size: var(--font-size-card-title);
		font-weight: var(--font-weight-medium);
		letter-spacing: var(--tracking-card);
		line-height: 1.2;
	}
	.tile-card .tile-card-meta {
		margin: 8px 0 14px;
		font-size: var(--font-size-card-meta);
		font-weight: var(--font-weight-regular);
		letter-spacing: var(--tracking-card);
		line-height: 1.2;
		color: var(--color-text-body);
	}
	.tile-card .tile-card-action,
	.tile-card a.tile-card-action:hover {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
		font-family: var(--font-body);
		font-size: var(--font-size-xs);
		font-weight: var(--font-weight-medium);
		letter-spacing: 0;
		line-height: 1.2;
		text-transform: uppercase;
		text-decoration: none !important;
		color: var(--color-text-heading-dark) !important;
	}
	.tile-card button.tile-card-action {
		cursor: pointer;
	}
	.tile-card .tile-card-action:focus-visible {
		outline: 2px solid var(--color-text-heading-dark);
		outline-offset: 4px;
	}

	/* open password overlay: covers the card */
	.tile.is-open .tile-overlay {
		display: flex !important;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		opacity: 1;
		padding-top: 0;
		z-index: 11;
	}
	.tile.is-open .tile-info {
		height: auto !important;
		top: auto;
		margin-top: 0 !important;
		position: static;
	}
	.tile.is-open .tile-info h2 {
		margin: 0 0 32px !important;
		font-size: var(--font-size-card-title) !important;
		font-weight: var(--font-weight-medium) !important;
		letter-spacing: var(--tracking-card) !important;
		line-height: 1.2;
		color: var(--color-white) !important;
	}
	.tile.is-open .tile-info hr,
	.tile.is-open .tile-info p,
	.tile.is-open .tile-info br {
		display: none !important;
	}
	/* the form already has its own border; skip the extra focus ring when it opens */
	.tile.is-open .tile-pass:focus-within {
		outline: none;
	}
	.tile.is-open .tile-close {
		display: block;
		position: absolute;
		top: var(--space-card);
		right: var(--space-card);
		width: 24px;
		height: 24px;
		padding: 5px;
		border: 0;
		background: none;
		color: var(--color-white);
		cursor: pointer;
	}
	.tile.is-open .tile-close svg {
		display: block;
		width: 14px;
		height: 14px;
	}
	.tile.is-open .tile-close:focus-visible {
		outline: 2px solid var(--color-white);
		outline-offset: 2px;
	}
}
